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