|
@@ -5,10 +5,10 @@
|
|
|
<view class="cart-dot_bx">
|
|
<view class="cart-dot_bx">
|
|
|
<i class="iconfont icongouwuche"></i>
|
|
<i class="iconfont icongouwuche"></i>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="price" v-if="!offPrice">
|
|
|
|
|
|
|
+ <view class="price">
|
|
|
<text v-if="count.bigLength>0">{{count.bigLength}}扎</text>
|
|
<text v-if="count.bigLength>0">{{count.bigLength}}扎</text>
|
|
|
<text v-if="count.smallLength>0">{{count.smallLength}}支</text>
|
|
<text v-if="count.smallLength>0">{{count.smallLength}}支</text>
|
|
|
- <text v-if="selectJobType!='wastage'" style="margin-left:15upx;">¥{{ price }}</text>
|
|
|
|
|
|
|
+ <text v-if="displayTotalPrice==true" style="margin-left:15upx;">¥{{ price }}</text>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="cart-rg_bx" @click="confirmEvent"> 选好了 </view>
|
|
<view class="cart-rg_bx" @click="confirmEvent"> 选好了 </view>
|
|
@@ -23,9 +23,9 @@ export default {
|
|
|
type:String,
|
|
type:String,
|
|
|
default:''
|
|
default:''
|
|
|
},
|
|
},
|
|
|
- offPrice:{
|
|
|
|
|
|
|
+ displayTotalPrice:{
|
|
|
type: Boolean,
|
|
type: Boolean,
|
|
|
- default: false
|
|
|
|
|
|
|
+ default: true
|
|
|
},
|
|
},
|
|
|
price: {
|
|
price: {
|
|
|
type: Number,
|
|
type: Number,
|