商品数量修改
This commit is contained in:
@@ -52,14 +52,14 @@
|
||||
<view class="title"> {{ listinfo.name }} </view>
|
||||
<view class="list_item" v-for="(item,index) in listinfo.details" :key="item.id">
|
||||
<view class="left">
|
||||
<image class="img" :src="item.coverImg" mode="aspectFill"/>
|
||||
<image class="img" :src="item.coverImg || item.productImg || ''" mode="aspectFill"/>
|
||||
<view class="center">
|
||||
<text class="center_title"> {{item.name}} </text>
|
||||
<text class="type"> {{ item.skuName}} </text>
|
||||
<text class="num"> X{{ item.totalNumber}} </text>
|
||||
<text class="center_title"> {{item.name || item.productName || "" }} </text>
|
||||
<text class="type"> {{ item.skuName || item.productSkuName || ""}} </text>
|
||||
<text class="num"> X{{ item.totalNumber || item.num}} </text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="price"> ¥{{ item.totalAmount}} </view>
|
||||
<view class="price"> ¥{{ item.totalAmount || item.priceAmount || 0}} </view>
|
||||
</view>
|
||||
<!-- <view class="favorable" v-for="(item,index) in favorable" :key="index">
|
||||
<view class="favorable_left">
|
||||
@@ -122,7 +122,7 @@
|
||||
<view class="pay-info-wrap">
|
||||
<view class="info-wrap flex-between">
|
||||
<view class="close" @click="ispws = false">
|
||||
<u-icon name="close" color="#999999" size="28"></u-icon>
|
||||
<u-icon name="close" color="#999999" size="40"></u-icon>
|
||||
</view>
|
||||
<text class="title">请输入支付密码</text>
|
||||
<view></view>
|
||||
@@ -242,6 +242,9 @@
|
||||
switch (msg.type) {
|
||||
case 'createOrder':
|
||||
this.listinfoid = msg.data.id
|
||||
console.log(msg)
|
||||
this.listinfo.details = msg.data.detailList;
|
||||
this.listinfo.payAmount = msg.data.amount;
|
||||
uni.$off('getMessage')
|
||||
this.orderorderInfo(1)
|
||||
break;
|
||||
@@ -968,7 +971,7 @@
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
.info-wrap{
|
||||
padding: 30rpx;
|
||||
padding: 64rpx 30rpx 30rpx 30rpx;
|
||||
box-sizing: border-box;
|
||||
.title{
|
||||
align-self: center;
|
||||
|
||||
Reference in New Issue
Block a user