xiaoxin vor 1 Jahr
Ursprung
Commit
dbe1ce284d
2 geänderte Dateien mit 5 neuen und 2 gelöschten Zeilen
  1. 4 1
      pages/index/shop/confirmOrder.vue
  2. 1 1
      pages/order/takefood.vue

+ 4 - 1
pages/index/shop/confirmOrder.vue

@@ -206,6 +206,9 @@
 					>
 						<view>
 							<view>{{ item.couponName }}</view>
+							<view>
+								{{ item.shopId == 0 ? '平台优惠券' : '商家优惠券' }}
+							</view>
 							<view>有效期至{{ item.expirationTime }}</view>
 						</view>
 						<view class="text-sm text-bold">
@@ -848,7 +851,7 @@ export default {
 			this.$Request.get('/app/coupon/selectUserCouponList', data).then((res) => {
 				if (res.code == 0) {
 					this.couponList = res.data.list
-					// console.log(this.couponList,'this.couponList',this.coupon)
+					console.log(this.couponList, 'this.couponList', this.coupon)
 					if (this.coupon) {
 						let activityExists = this.couponList.some((item) => item.couponId === this.coupon.couponId)
 						if (!activityExists) {

+ 1 - 1
pages/order/takefood.vue

@@ -199,7 +199,7 @@
 					</view>
 				</view>
 
-				<view v-if="dataDet.successFlag == 1">
+				<view v-if="dataDet.deliveryImgs">
 					<view class="tosend_cont_infor_le" style="margin-bottom: 20rpx">配送图片</view>
 					<img
 						v-for="(item, index) in dataDet.deliveryImgs.split(',')"