fix: mobile 产品详情页属性选项
This commit is contained in:
@@ -57,7 +57,11 @@
|
||||
<ul class="hd clearfix">
|
||||
{volist name="ps.attr_values" id="pv" key="pk"}
|
||||
{assign name="attr_value_type" value=":rgb_or_image($pv.attr_value)" /}
|
||||
{between name="ps.attr_id" value="1,2"}
|
||||
<li class="attr_value tip1 attr_item" data-index="{$pk}">
|
||||
{else/}
|
||||
<li class="attr_value tip1 attr_item_defalut" data-index="{$pk}">
|
||||
{/between}
|
||||
{eq name="attr_value_type" value="IMAGE"}
|
||||
<span class="co-bg"><img src="{$pv.attr_value}" /></span>
|
||||
{elseif condition="$attr_value_type == 'RGB'" /}
|
||||
@@ -223,8 +227,8 @@
|
||||
var index = $(this).data('index');
|
||||
$('.pdetailswiper').hide();
|
||||
$('.pdetailswiper[data-index="' + index + '"]').show();
|
||||
$('.attr_value').removeClass('active');
|
||||
$(this).addClass('active');
|
||||
$('.attr_value').removeClass('attr_item_on');
|
||||
$(this).addClass('attr_item_on');
|
||||
});
|
||||
|
||||
// 提交产品询价查询
|
||||
|
||||
@@ -1500,7 +1500,6 @@ video img {
|
||||
.product_list_title .icon-Double-Arrow {
|
||||
margin-left: 0.15rem;
|
||||
display: inline-block;
|
||||
mar
|
||||
}
|
||||
|
||||
/*产品列表*/
|
||||
|
||||
Reference in New Issue
Block a user