mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 22:10:49 +00:00
improve: 商品title
This commit is contained in:
parent
62a302443e
commit
53ac7b1b8f
@ -29,7 +29,7 @@
|
||||
</view>
|
||||
<view class='text'>
|
||||
<view class='acea-row row-between-wrapper'>
|
||||
<view class='name line1'>{{item.productInfo.store_name}}</view>
|
||||
<view class='name line2'>{{item.productInfo.store_name}}</view>
|
||||
<view class='num'>x {{item.cart_num}}</view>
|
||||
</view>
|
||||
<view class='attr line1' v-if="item.productInfo.attrInfo">{{item.productInfo.attrInfo.suk}}
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
<image :src='item.image'></image>
|
||||
</view>
|
||||
<view class='text acea-row row-column-around'>
|
||||
<view class='name line1'>{{item.title}}</view>
|
||||
<view class='name line2'>{{item.title}}</view>
|
||||
<view class='money font-color'>{{$t(`¥`)}}
|
||||
<text class='num font-color'>{{item.price}}</text>
|
||||
<text class="y_money">{{$t(`¥`)}}{{item.ot_price}}</text>
|
||||
|
||||
@ -1166,32 +1166,24 @@
|
||||
},
|
||||
cancelOrder() {
|
||||
let self = this
|
||||
uni.showModal({
|
||||
title: this.$t(`提示`),
|
||||
content: this.$t(`确认取消该订单`),
|
||||
success: function(res) {
|
||||
if (res.confirm) {
|
||||
orderCancel(self.orderInfo.order_id)
|
||||
.then((data) => {
|
||||
// #ifndef MP
|
||||
self.$util.Tips({
|
||||
title: data.msg
|
||||
}, {
|
||||
tab: 3
|
||||
})
|
||||
// #endif
|
||||
// #ifdef MP
|
||||
self.$util.Tips({
|
||||
title: data.msg
|
||||
}, '/pages/goods/order_list/index');
|
||||
// #endif
|
||||
})
|
||||
.catch(() => {
|
||||
self.getOrderInfo();
|
||||
});
|
||||
} else if (res.cancel) {}
|
||||
}
|
||||
});
|
||||
orderCancel(self.orderInfo.order_id)
|
||||
.then((data) => {
|
||||
// #ifndef MP
|
||||
self.$util.Tips({
|
||||
title: data.msg
|
||||
}, {
|
||||
tab: 3
|
||||
})
|
||||
// #endif
|
||||
// #ifdef MP
|
||||
self.$util.Tips({
|
||||
title: data.msg
|
||||
}, '/pages/goods/order_list/index');
|
||||
// #endif
|
||||
})
|
||||
.catch(() => {
|
||||
self.getOrderInfo();
|
||||
});
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user