|
@@ -8,7 +8,7 @@
|
|
|
<text class="txt big">{{ showIndexOfMoney }} </text>
|
|
|
<text class="txt sm">{{ smallMoney }} </text>
|
|
|
</view>
|
|
|
- <view class="floor-item-act" v-if="product.activeStatus == 1">
|
|
|
+ <view class="floor-item-act" v-if="product.activeStatus == 1 && product.ladderList.length>0">
|
|
|
<text class="tag tag-01">促销</text>
|
|
|
<view class="tag tag-02" @click.stop="clickPopupShow()">活动价</view>
|
|
|
</view>
|
|
@@ -20,7 +20,7 @@
|
|
|
<view class="tui-scrollview-box">
|
|
|
<view class="ladder-main clearfix">
|
|
|
<view class="ladder-item">
|
|
|
- <view class="ladder-item-td">起订量</view>
|
|
|
+ <view class="ladder-item-td">购买数</view>
|
|
|
<view class="ladder-item-td">价格</view>
|
|
|
</view>
|
|
|
<view
|
|
@@ -178,8 +178,10 @@ export default {
|
|
|
console.log('this.smallMoney',this.smallMoney)
|
|
|
},
|
|
|
clickPopupShow(type) {
|
|
|
- this.popupShow = true
|
|
|
- this.promotionType = type
|
|
|
+ if(this.product.ladderList.length>0){
|
|
|
+ this.popupShow = true
|
|
|
+ this.promotionType = type
|
|
|
+ }
|
|
|
},
|
|
|
hidePopup() {
|
|
|
this.popupShow = false
|
|
@@ -226,7 +228,6 @@ export default {
|
|
|
box-sizing: border-box;
|
|
|
.ladder-main {
|
|
|
width: 100%;
|
|
|
- min-height: 240rpx;
|
|
|
border: 1px solid rgba(225, 86, 22, 0.3);
|
|
|
border-radius: 10rpx;
|
|
|
.ladder-item {
|