2023-3-18
This commit is contained in:
@@ -309,7 +309,11 @@
|
||||
this.couponList = data.couponHistoryDetailList;
|
||||
|
||||
if (this.couponList.length > 0) {
|
||||
|
||||
this.coupon = this.couponList[0].coupon
|
||||
this.couponId = this.couponList[0].couponId;
|
||||
this.memberCouponId = this.couponList[0].id;
|
||||
|
||||
}
|
||||
|
||||
this.memberReceiveAddressList = data.memberReceiveAddressListaddress;
|
||||
@@ -357,7 +361,7 @@
|
||||
this.payType = type;
|
||||
},
|
||||
async submit() {
|
||||
console.log('dubmit')
|
||||
console.log('submit')
|
||||
let data;
|
||||
if (!this.addressId) {
|
||||
this.$api.msg('请选择收货地址');
|
||||
@@ -414,6 +418,9 @@
|
||||
};
|
||||
}
|
||||
params.source = this.getSource();
|
||||
|
||||
console.log('params',params)
|
||||
|
||||
data = await Api.apiCall('post', Api.order.bookOrder, params);
|
||||
}
|
||||
// 购物车
|
||||
|
||||
@@ -444,6 +444,7 @@
|
||||
page {
|
||||
background: $page-color-base;
|
||||
padding-bottom: 100upx;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.address-section {
|
||||
@@ -504,7 +505,8 @@
|
||||
.goods-section {
|
||||
margin-top: 16upx;
|
||||
background: #fff;
|
||||
padding-bottom: 150px;
|
||||
padding-bottom: 1px;
|
||||
margin-bottom: 350px;
|
||||
|
||||
.g-header {
|
||||
display: flex;
|
||||
@@ -546,6 +548,7 @@
|
||||
}
|
||||
|
||||
.title {
|
||||
margin-top: 10px;
|
||||
font-size: 30upx;
|
||||
color: $font-color-dark;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user