{include file="include/head-seo" /} {include file="include/head" /}
{include file="include/top" /}
$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/uploads/color/' .strtolower($attrValue). '.jpg'; //判断为颜色色值RGB //if($firstChar == '#'){ // $colorType = 1; //} if(strlen($attrValue) ==2){ $colorType = 2; } //判断颜色色块图片是否存在 //elseif(https_request($colorFile)){ // $colorType = 3; //} //判断为颜色色值RGB /*if($colorType == 1){ echo '
    • '; }*/ if($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 '
    • '.$attrValue.'
    • '; } } else{ echo '
    • '.$attrValue.'
    • '; } } echo "
"; } } else{ ?>
    1)): ?> $value): if(is_array($value)): ?>
  • Model
  • $value): ?>
', '', $detail['ld_md_content']); ?>
{include file="include/bottom" /}