chore:商品分类样式2
This commit is contained in:
@@ -310,14 +310,14 @@
|
||||
<text>{{ showMarketPrice(item) }}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="consult-now-btn-wrap" v-if="item.isinformation == 1 && value.template != 4">
|
||||
<view class="consult-now-btn-wrap" v-if="item.isinformation >= 1">
|
||||
<view class="consult-now-btn" @tap.stop="sendToAIChat(item)">
|
||||
{{ $lang('components-diy.diy-category-item.consultNow') }}
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 风格2/模板4: 右侧+按钮/择规格按钮 -->
|
||||
<view class="right-wrap" v-if="(value.template == 2 || value.template == 4) && showAddCart">
|
||||
<view class="right-wrap" v-if="(value.template == 2 || value.template == 4) && showAddCart && item.isinformation == 0">
|
||||
<block v-if="item.is_virtual">
|
||||
<view class="color-base-bg select-sku" @tap.stop="toDetail(item)">{{ $lang('components-diy.diy-category-item.buyNow') }}</view>
|
||||
</block>
|
||||
@@ -435,13 +435,13 @@
|
||||
<text>{{ showMarketPrice(item) }}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="consult-now-btn-wrap" v-if="item.isinformation == 1 && value.template != 4">
|
||||
<view class="consult-now-btn-wrap" v-if="item.isinformation >= 1">
|
||||
<view class="consult-now-btn" @tap.stop="sendToAIChat(item)">
|
||||
{{ $lang('components-diy.diy-category-item.consultNow') }}
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="right-wrap" v-if="(value.template == 2 || value.template == 4) && showAddCart">
|
||||
<view class="right-wrap" v-if="(value.template == 2 || value.template == 4) && showAddCart && item.isinformation == 0">
|
||||
<block v-if="item.is_virtual">
|
||||
<view class="color-base-bg select-sku" @tap.stop="toDetail(item)">{{ $lang('components-diy.diy-category-item.buyNow') }}</view>
|
||||
</block>
|
||||
|
||||
@@ -198,7 +198,7 @@
|
||||
content-box 为 flex:1 height:0, 把结算栏作为普通子项排在末尾,
|
||||
无论右侧商品列表怎么滚动, 结算栏始终固定显示在底部 -->
|
||||
<view class="cart-box cart-box-template-4"
|
||||
v-if="(value.template == 2 || value.template == 4) && showCartSettlement && storeToken && categoryTree && categoryTree.length">
|
||||
v-if="(value.template == 2 || value.template == 4) && showCartSettlement && storeToken && cartNumber > 0 && categoryTree && categoryTree.length">
|
||||
<view class="left-wrap">
|
||||
<view class="cart-icon" ref="cartIcon" :animation="cartAnimation"
|
||||
@tap.stop="$util.redirectTo('/pages_goods/cart')">
|
||||
|
||||
Reference in New Issue
Block a user