diff --git a/yshop-drink-uniapp-vue3/pages/components/pages/coupons/coupons.vue b/yshop-drink-uniapp-vue3/pages/components/pages/coupons/coupons.vue index 9ed43ea..f0407c7 100644 --- a/yshop-drink-uniapp-vue3/pages/components/pages/coupons/coupons.vue +++ b/yshop-drink-uniapp-vue3/pages/components/pages/coupons/coupons.vue @@ -8,8 +8,7 @@ - - + @@ -58,7 +57,7 @@ - + - + {{ coupon.title }} @@ -113,12 +112,6 @@ 适用店铺:{{coupon.shopName}} - - - - - - @@ -229,9 +222,9 @@ const getCoupons = async(type) => { console.log('tabs.value:',tabs.value[type].title) //tabs.value[type].page++; } -const openDetailModal = (coupon,index) => { +const openDetailModal = (couponData,index) => { couponIndex.value = index; - coupon.value = coupon + coupon.value = couponData detailModalVisible.value = true } const useCouponWith = (coupon) => { @@ -289,40 +282,21 @@ page { .exchange-box { flex-shrink: 0; - height: 200rpx; + height: 100rpx; background-color: #ffffff; - display: flex; - flex-direction: column; + display: flex; align-items: center; justify-content: center; .input-box { - display: flex; - align-items: stretch; width: 70%; - flex-shrink: 0; - input { - flex: 1; - height: 80rpx; - border: 1rpx solid #eee; - border-right: 0; - border-radius: 8rpx 0 0 8rpx; - // padding: 20rpx; - font-size: $font-size-base; - color: $text-color-base; - } - button { - border-radius: 0 8rpx 8rpx 0; - display: flex; - align-items: center; - } } } .tabbar { flex-shrink: 0; width: 100%; - height: 120rpx; + height: 80rpx; display: flex; align-items: center; justify-content: center; @@ -438,23 +412,6 @@ page { display: flex; align-items: center; } - .store { - font-weight: 500; - } - .buddha { - width: 70rpx; - height: 70rpx; - border-radius: 10rpx; - margin-right: 10rpx; - } - .entrance { - color: $uv-info; - border: solid 2rpx $uv-info; - line-height: 48rpx; - padding: 0 30rpx; - background: none; - border-radius: 15px; - } } .ticket { display: flex; @@ -523,16 +480,6 @@ page { margin-left: 20rpx; } } - .right_log { - text-align: center; - width: 30%; - padding: 80rpx 0rpx; - background-color: white;//rgb(255, 245, 244); - border-radius: 20rpx; - - align-items: center; - - } } }