|
|
@@ -120,7 +120,7 @@
|
|
|
</view>
|
|
|
<view class="info-line">
|
|
|
<text class="item-type">{{ s.property }}</text>
|
|
|
- <text class="item-count">{{ `${s.bigNum}/${s.smallNum}` }}</text>
|
|
|
+ <text class="item-count"><text v-if="s.bigNum>0">{{s.bigNum}}扎*{{s.unitPrice}}</text> <text v-if="s.smallNum>0" style="margin-left:10rpx;">{{s.smallNum}}支*{{s.smallUnitPrice}}</text></text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -129,7 +129,7 @@
|
|
|
<view class="operate-view" ></view>
|
|
|
<view class="describe-view">
|
|
|
<!--共{{ detailInfo.productStat.kind}}种, 共{{ detailInfo.productStat.bigNum }}扎{{detailInfo.productStat.smallNun}}支,合计 ¥<text class="price">{{ detailInfo.productStat.totalPrice }}</text>-->
|
|
|
- 共{{ detailInfo.productStat.kind}}种, 共{{ detailInfo.productStat.bigNum }}扎{{detailInfo.productStat.smallNun}}支,合计 ¥<text class="price">{{ userPrice.toFixed(2) }}</text>
|
|
|
+ 共{{ detailInfo.productStat.kind}}种,共{{ detailInfo.productStat.bigNum }}扎{{detailInfo.productStat.smallNun}}支,合计 ¥<text class="price">{{ userPrice.toFixed(2) }}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -360,7 +360,7 @@ export default {
|
|
|
id: this.option.id
|
|
|
});
|
|
|
this.detailInfo = res.data;
|
|
|
- console.log(this.detailInfo)
|
|
|
+ this.userPrice = 0
|
|
|
this.detailInfo.product.forEach(ele=>{
|
|
|
console.log(ele)
|
|
|
if(ele.userPrice>0){
|