style:关联产品样式不从
This commit is contained in:
@@ -110,7 +110,16 @@
|
||||
</ul>
|
||||
</div>
|
||||
<!-- 产品图片-->
|
||||
<div class="goods_des img-responsives" id="goods_details_Content1">{$product.detail|raw}</div>
|
||||
<div class="goods_des img-responsives" id="description-tab">{$product.detail|raw}</div>
|
||||
<!-- 关联产品-->
|
||||
<div class="glcplist" id="related-tab" style="display: none;">
|
||||
<div class="glcpitem" >
|
||||
<img src="indeximg/i560-800-1.png" src="glcpimg" />
|
||||
<span class="glt1" style="margin-top: 0.68rem;color: #333;font-size: 0.58rem;">98系列
|
||||
多盘位DAS桌面阵列存储系统</span>
|
||||
<span class="glt2">ORICO-9858RU3</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 弹窗-->
|
||||
<div class="marsk-container-detail">
|
||||
<div class="popup-quick">
|
||||
@@ -196,7 +205,20 @@
|
||||
$('.business-close').click(function() {
|
||||
$('.marsk-container-detail').hide()
|
||||
})
|
||||
|
||||
// 产品描述和关联产品切换
|
||||
$('.cpa li').on('click', function() {
|
||||
$(this).siblings().removeClass('active');
|
||||
$(this).addClass('active');
|
||||
const targetTab = $(this).data('tab');
|
||||
$('.tab-pane').hide();
|
||||
if (targetTab === 'description') {
|
||||
$('#description-tab').show();
|
||||
$('#related-tab').hide();
|
||||
} else if (targetTab === 'related') {
|
||||
$('#related-tab').show();
|
||||
$('#description-tab').hide();
|
||||
}
|
||||
});
|
||||
// 根据颜色切换图册
|
||||
$('.attr_type').find('.attr_value').click(function() {
|
||||
var index = $(this).data('index');
|
||||
|
||||
Reference in New Issue
Block a user