{include file="include/head-seo" /} {include file="include/head" /}
{include file="include/top_back1" /}
$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'; //echo $attrValue."==". mb_strlen($attrValue,'gb2312'); if (mb_strlen($attrValue,'gb2312') == 2 && strlen($attrValue) ==2) { $colorType = 2; }else{ $colorType = ''; } //判断为颜色色值RGB if($colorType == 1){ echo '
    • '; } elseif($colorType == 2){ //echo $attrValue."
      =="; print_r($productColor);
                                      $colorValue = $productColor[$attrValue];
                                      if(isset($productColor[$attrValue])) {
                                          if($attrValue == 'GD'||$attrValue == 'GR'||$attrValue == 'SV'||$attrValue == 'RG'||$attrValue == 'CO'||$attrValue == 'WD'){
                                              echo '
    • '; } else{ echo '
    • '; } } //echo $firstClass.'+'.$attrValue.'+'.$colorValue; die; // echo '
    • '; } else{ echo '
    • '.strtoupper($attrValue).'
    • '; } } else{ echo '
    • '.$attrValue.'
    • '; } } echo "
"; } } else{ ?>
    1): ?> $value): if(is_array($value)) { ?>
  • 型号
  • $value): ?>

', '', $detail['ld_md_content']); ?>
{include file="include/bottom1" /}