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

  • Product Model
$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 '
    • '.strtoupper($attrValue).'
    • '; } } else{ echo '
    • '.$attrValue.'
    • '; } } echo "
"; } } else{ if($images){ $firstKeys = array_keys($proimages); $firstElement = array_shift($firstKeys); if(!$firstElement == 0){ echo "
Color
    "; } foreach ($proimages as $k => $imgclrs): //echo "
    =="; print_r($imgclrs);die;
                                            if(is_array($imgclrs)){
                                                $b = $k;
                                                $c = $imgclrs[0]['image_color'];            //背景图片色块
                                                $colorName = mb_substr($b,-2,2);   
             
                                            }
                                            else{
                                                $c = '';
                                            }
    
                                            
                                        ?>
                                            
            
            
                                                
";?>
{volist name="purchase_links" id="vo" key="k"} {if condition="!empty($vo.link)"} {$vo.platform} {/if} {/volist}
Send Inquiry
Related Products
Related Download
$dlclrs): ?>
{include file="include/bottom" /}