Explorar el Código

修复问题、样式优化

lsx hace 2 años
padre
commit
a6f6c5bce1

+ 1 - 1
src/components/pay-popup/pay-popup.vue

@@ -150,7 +150,7 @@
 
 			toCoupon() {
 				uni.navigateTo({
-					url: `/packageGoods/coupon/index?couponId=${ this.payInfo.couponId }&boxId=${ this.payInfo.boxId }&ticketId=${ this.payInfo.ticketId }`
+					url: `/packageGoods/coupon/index?channelId=${ this.payInfo.channelId }&couponId=${ this.payInfo.couponId }&boxId=${ this.payInfo.boxId }&ticketId=${ this.payInfo.ticketId }`
 				})
 			},
 

+ 3 - 1
src/packageGoods/coupon/index.vue

@@ -80,7 +80,7 @@
 				isActive: undefined,
 				backOn: "https://mp-public-1310078123.cos.ap-shanghai.myqcloud.com/v2/coupon_bkg2.png",
 				backOff: "https://mp-public-1310078123.cos.ap-shanghai.myqcloud.com/v2/coupon_bkg1.png",
-
+				channelId: '',
 			};
 		},
 		onShow() {
@@ -94,6 +94,7 @@
 				this.ticketId = opthios.ticketId
 			}
 			if (opthios.couponId) {
+				this.channelId = opthios.channelId
 				this.couponId = opthios.couponId
 				this.radiovalue1 = opthios.couponId
 			}
@@ -160,6 +161,7 @@
 						let page = pages[pages.length - 2]
 						let payInfo = {
 							...res.data,
+							channelId: this.channelId,
 							picUrl: env.filePublic + res.data.picUrl.split(',')[0],
 							couponDiscount: res.data && res.data.couponList && res.data.couponList.length &&
 								res

+ 1 - 1
src/packageGoods/promoters/index.vue

@@ -142,7 +142,7 @@
 
 		&-list {
 			margin-top: 110rpx;
-
+			padding-bottom: 200rpx;
 
 			&-item {
 				justify-content: space-between;