修改小程序使用优惠券bug
parent
0b2bf1faf1
commit
cebde87682
|
@ -18,8 +18,6 @@
|
|||
"path": "pages/tabbar/cart/cartList",
|
||||
"style": {
|
||||
"navigationBarTitleText": "购物车",
|
||||
"navigationStyle": "custom",
|
||||
|
||||
"navigationBarBackgroundColor": "#fff"
|
||||
|
||||
}
|
||||
|
@ -720,7 +718,7 @@
|
|||
]
|
||||
}
|
||||
],
|
||||
"globalStyle": {
|
||||
"globalStyle": {
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTitleText": "Lili商城",
|
||||
"titleColor": "#303133",
|
||||
|
|
|
@ -69,6 +69,10 @@ export default {
|
|||
routerVal: "", //上级传参
|
||||
};
|
||||
},
|
||||
onLoad(options){
|
||||
this.routerVal = options
|
||||
|
||||
},
|
||||
watch: {
|
||||
current(val) {
|
||||
console.log(this.$store.state.cantUseCoupons);
|
||||
|
@ -114,10 +118,11 @@ export default {
|
|||
</script>
|
||||
<style scoped lang="scss">
|
||||
.desc {
|
||||
height: 100%;
|
||||
height: 220rpx;
|
||||
flex: 2;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
justify-content: space-around;
|
||||
}
|
||||
.end-time,
|
||||
.reason {
|
||||
|
@ -204,14 +209,14 @@ export default {
|
|||
align-items: center;
|
||||
width: 450rpx;
|
||||
font-size: $font-sm;
|
||||
height: 100%;
|
||||
height: 220rpx;
|
||||
background-color: #ffffff;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
> view:nth-child(1) {
|
||||
color: #666666;
|
||||
margin-left: 20rpx;
|
||||
line-height: 3em;
|
||||
|
||||
> view:nth-child(1) {
|
||||
color: #ff6262;
|
||||
font-size: 30rpx;
|
||||
|
|
|
@ -150,7 +150,7 @@
|
|||
<u-row>
|
||||
<u-col :span="9">优惠金额</u-col>
|
||||
<u-col :span="3" textAlign="right" v-if=" orderMessage.priceDetailDTO.couponPrice">
|
||||
-¥{{ orderMessage.priceDetailDTO.couponPrice | unitPrice }}</u-col>
|
||||
<span class="main-color"> -¥{{ orderMessage.priceDetailDTO.couponPrice | unitPrice }}</span></u-col>
|
||||
<u-col :span="3" textAlign="right" v-else>0.00</u-col>
|
||||
</u-row>
|
||||
</div>
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
<template>
|
||||
<div class="wrapper">
|
||||
<u-navbar :isBack="false" title="购物车"></u-navbar>
|
||||
|
||||
<!-- 空白页-->
|
||||
<view v-if="cartDetail.cartList == '' || cartDetail.cartList == [] || !cartDetail" class="empty">
|
||||
<image src="/static/emptyCart.png" mode="aspectFit"></image>
|
||||
|
|
Loading…
Reference in New Issue