= '结构胶'; $sortlink = '/jiegoujiao/'; $link = '/jiegoujiao/73.html'; $httpurl = 'https://www.kaimiwo.com'; $doc_name1 = html_entity_decode('ITW得复康Devcon MA216规格书', ENT_QUOTES, 'UTF-8'); $doc_type1 = html_entity_decode('TDS / SDS', ENT_QUOTES, 'UTF-8'); $doc_file1 = html_entity_decode('/static/upload/file/MA216.pdf', ENT_QUOTES, 'UTF-8'); $doc_name2 = html_entity_decode('', ENT_QUOTES, 'UTF-8'); $doc_type2 = html_entity_decode('', ENT_QUOTES, 'UTF-8'); $doc_file2 = html_entity_decode('', ENT_QUOTES, 'UTF-8'); $doc_name3 = html_entity_decode('', ENT_QUOTES, 'UTF-8'); $doc_type3 = html_entity_decode('', ENT_QUOTES, 'UTF-8'); $doc_file3 = html_entity_decode('', ENT_QUOTES, 'UTF-8'); $faq_q1 = 'MA216 是什么类型胶水?'; $faq_a1 = 'ITW 得复康 Devcon MA216 是一款低卤素可返工双组份丙烯酸酯结构胶,10:1 混合,3~4 分钟操作,拉伸强度 9.0~11.0 MPa,延伸率 100~120%,通过温循和湿热老化验证,适用于金属与塑料异质结构粘接。'; $faq_q2 = 'MA216 和 MA2060 有什么区别?'; $faq_a2 = '两款产品的化学体系、混合比、操作时间、拉伸剪切强度、延伸率、硬度、Tg、离子污染物限值、包装规格和保质期完全一致,可能属于同系列不同渠道编号。如需确认具体差异可联系 ITW 技术支持(86-0512-63488388)。'; $faq_q3 = 'MA216 能粘接哪些材料?耐温表现如何?'; $faq_a3 = '适配 ABS、PC、不锈钢、碳钢、铝合金、FRP、聚氨酯等基材。Tg 75℃,60℃ 高温下 Al6061/PC/ABS 剪切保持 4.0~7.0 MPa,80℃ 下保持 2.0~5.0 MPa,PC 喷墨玻璃复合粘接 6.0~8.0 MPa。'; // 空标题跳过 if (empty($title)) return; // ========== 面包屑 ========== $breadcrumb = [ '@context' => 'https://schema.org', '@type' => 'BreadcrumbList', 'itemListElement' => [ ['@type'=>'ListItem', 'position'=>1, 'name'=>'首页', 'item'=>$httpurl.'/'], ['@type'=>'ListItem', 'position'=>2, 'name'=>$sortname, 'item'=>$httpurl.$sortlink], ['@type'=>'ListItem', 'position'=>3, 'name'=>$title, 'item'=>$httpurl.$link], ] ]; // ========== 产品 ========== $sku_val = !empty(trim($model)) ? trim($model) : 'KMW-' . trim('73'); $product = [ '@context' => 'https://schema.org', '@type' => 'Product', 'name' => $title, 'image' => [$httpurl . $ico], 'description' => $desc, 'sku' => $sku_val, 'mpn' => $sku_val, 'brand' => ['@type'=>'Brand', 'name'=>$brand], 'manufacturer'=> ['@type'=>'Organization', 'name'=>$brand], ]; // PDF 文档(强力过滤:文件路径必须包含合法扩展名) $docs = []; if (preg_match('/\.\w{2,4}$/', trim($doc_file1))) $docs[] = ['@type'=>'PropertyValue', 'name'=>trim($doc_type1) ?: 'Document', 'value'=>trim($doc_name1) ?: trim($doc_type1), 'description'=>$httpurl.trim($doc_file1)]; if (preg_match('/\.\w{2,4}$/', trim($doc_file2))) $docs[] = ['@type'=>'PropertyValue', 'name'=>trim($doc_type2) ?: 'Document', 'value'=>trim($doc_name2) ?: trim($doc_type2), 'description'=>$httpurl.trim($doc_file2)]; if (preg_match('/\.\w{2,4}$/', trim($doc_file3))) $docs[] = ['@type'=>'PropertyValue', 'name'=>trim($doc_type3) ?: 'Document', 'value'=>trim($doc_name3) ?: trim($doc_type3), 'description'=>$httpurl.trim($doc_file3)]; if (!empty($docs)) $product['additionalProperty'] = $docs; $currentYear = date('Y'); $nextYear = $currentYear + 1; $product['offers'] = [ '@type' => 'Offer', 'url' => $httpurl . $link, 'priceCurrency' => 'CNY', 'validFrom' => $currentYear . '-01-01', 'priceValidUntil'=> $nextYear . '-12-31', 'availability' => 'https://schema.org/InStock', 'itemCondition' => 'https://schema.org/NewCondition', 'seller' => ['@type'=>'Organization', 'name'=>'凯米沃 ChemVault'], 'hasMerchantReturnPolicy' => [ '@type' => 'MerchantReturnPolicy', 'applicableCountry' => 'CN', 'returnPolicyCategory' => 'https://schema.org/MerchantReturnFiniteReturnWindow', 'merchantReturnDays' => 7, 'returnMethod' => 'https://schema.org/ReturnByMail' ], 'shippingDetails' => [ '@type' => 'OfferShippingDetails', 'shippingRate' => [ '@type' => 'MonetaryAmount', 'value' => '0.00', 'currency' => 'CNY' ], 'shippingDestination' => [ '@type' => 'DefinedRegion', 'addressCountry' => 'CN' ] ] ]; if (preg_match('/^[\d]+(\.\d+)?$/', trim($price)) && floatval($price) > 0) { $product['offers']['price'] = trim($price); } else { $product['offers']['price'] = '0.00'; } // ========== FAQ ========== $faqs = []; if (strlen(trim($faq_q1)) > 0) $faqs[] = ['@type'=>'Question', 'name'=>$faq_q1, 'acceptedAnswer'=>['@type'=>'Answer', 'text'=>$faq_a1]]; if (strlen(trim($faq_q2)) > 0) $faqs[] = ['@type'=>'Question', 'name'=>$faq_q2, 'acceptedAnswer'=>['@type'=>'Answer', 'text'=>$faq_a2]]; if (strlen(trim($faq_q3)) > 0) $faqs[] = ['@type'=>'Question', 'name'=>$faq_q3, 'acceptedAnswer'=>['@type'=>'Answer', 'text'=>$faq_a3]]; // ========== 输出(双引号字符串,\n 会正确解析为换行)========== echo '\n"; echo '\n"; if (!empty($faqs)) { echo '\n"; } ?>

添加微信

微信二维码

18127052850