{include file="include/head-seo" /} {include file="include/head" /} {include file="include/head-product" /}
    $itm) { if($km == 0) { $firstimage = $itm; echo '
  • '; } else{ echo '
  • '; } } } else{ if(isset($images['image_url']) && is_array($images['image_url'])) { foreach ($images['image_url'] as $k => $img){ if($k == 0) { $firstimage = $img;} echo '
  • '; } } else{ foreach ($images as $k => $img){ if($k == 0) { $firstimage = $img['image_url']; echo '
  • '; } else{ echo '
  • '; } } } } ?>

  • 型号
*******"; print_r($attributes); if(is_array($attributes) && sizeof($attributes)){ foreach($attributes as $ka => $attrList){ echo "
".$ka."
"; $isColor = false; if(strtolower($ka) == 'color' || $ka == '颜色' || $ka == '色彩') { echo "
    "; $isColor = true; } else{ echo "
      "; } $colorType = ''; foreach($attrList as $kl => $attrValue){ $firstClass = " attr_item ".($kl ==0 ? "on" : ""); if($isColor){ //判断颜色属性取值【中文文字、色值、色块图英文名称】 $firstChar = substr($attrValue, 0, 1); $colorFile = 'https://cc.f2b211.com/static/colors/' .strtolower($attrValue). '.png'; if($kl == 0){ //判断为颜色色值RGB if($firstChar == '#'){ $colorType = 1; } elseif(strlen($attrValue) ==2){ $colorType = 2; } //判断颜色色块图片是否存在 elseif(https_request($colorFile)){ $colorType = 3; } } //判断为颜色色值RGB if($colorType == 1){ echo '
    • '; } elseif($colorType == 2){ if(isset($productColor[strtoupper($attrValue)])) { if($attrValue == 'GD'||$attrValue == 'GR'||$attrValue == 'SV'||$attrValue == 'RG'||$attrValue == 'CO'||$attrValue == 'WD'){ echo '
    • '; } else{ echo '
    • '; } }else{ echo '
    • '; } } //判断颜色色块图片是否存在 elseif($colorType == 3){ ?>
    • '.strtoupper($attrValue).''; } } else{ echo '
    • '.$attrValue.'
    • '; } } echo "
"; } } else{ //echo "
=="; print_r($images);  die;   
                                if($images){     
                                        $firstKeys = array_keys($proimages);
                                        $firstElement = array_shift($firstKeys);
                                        
                                        if(!$firstElement == 0){
                                                echo "
颜色
    "; } foreach ($proimages as $k => $imgclrs): if(!isset($imgclrs['product_id'])) { $b = $k; $c = $imgclrs[0]['image_color']; //背景图片色块 $colorName = mb_substr($b,-2,2); if (!$c == '') { ?>
";?>
{volist name="purchase_links" id="vo"} {if condition="trim($vo.link) != ''"} {$vo.platform} {/if} {/volist}
关联产品
相关下载
$dlclrs): ?>

评论

{$count}条评论

{volist name = 'list' id = 'user'}

{$user.auctionSku}

{$user.displayUserNick} {$user.rateDate}

{$user.rateContent}

{if condition="$user['pics'] eq null"} {else/}
    {volist name="user['pics']" id='vv'}
  • {/volist}
{/if}
{/volist} {$page}
{include file="include/bottom2023" /}