From 6c2609b9f3212e4e502e1dc4d0d4f1382d8782e8 Mon Sep 17 00:00:00 2001
From: 石广澎 <shiguangpeng@163.com>
Date: 星期四, 11 七月 2024 11:28:14 +0800
Subject: [PATCH] feat(支付): 支付页修改
---
pay/discountpay.vue | 34 +++++++---------------------------
1 files changed, 7 insertions(+), 27 deletions(-)
diff --git a/pay/discountpay.vue b/pay/discountpay.vue
index 413e85b..833672e 100644
--- a/pay/discountpay.vue
+++ b/pay/discountpay.vue
@@ -9,27 +9,7 @@
<text class="u-font-40">.{{money.split(".")[1]}}</text>
</view>
</view>
-
- <!-- <view v-if="discountInfo.shopDiscount!=1&&money*(1-discountInfo.shopDiscount)>=0.01"
- class="bg-fff u-m-h-32 u-m-t-20 u-p-h-32 u-br-10">
- <view class="u-p-v-32 u-flex u-row-between u-border-bottom u-font-30 color-333">
- <view>{{discountInfo.memberGradeName}}涓撳睘鎶樻墸</view>
- <view>-{{ money*(1-discountInfo.shopDiscount).toFixed(2) }}</view>
- </view>
- </view>-->
<view v-if="canUseIntegral||canUseCoupon" class="u-p-h-32 bg-fff u-m-h-32 u-br-10">
-<!-- <view class="u-font-28 u-m-t-32">閫夋嫨浼樻儬鏂瑰紡</view>
- <view v-if="canUseIntegral" class="u-p-v-24 u-border-bottom u-flex u-m-t-10">
- <image class="item-icon" style="align-self: flex-start;position: relative;top: -3rpx;"
- src="/static/integral.png" mode=""></image>
- <view class="u-flex-1 u-m-h-16">
- <view class="u-font-30">绉垎鎶垫墸</view>
- <view class="u-font-24 color-999 u-m-t-20">鍙敤<text style="color: #D31F28;">{{integral}}</text>绉垎
- </view>
- </view>
- <input-number @handleCount="changeInt" :value="canUseInt" :min="0" :max="maxIntegral">
- </input-number>
- </view>-->
<view v-if="canUseCoupon" class="u-flex u-p-v-32">
<image class="item-icon" src="/static/coupon-icon.png" mode=""></image>
<view class="u-font-30 u-flex-1 u-m-h-16">浼樻儬鍒�</view>
@@ -146,19 +126,19 @@
money: 0.00, // 閲戦
integral: 0, // 浣跨敤绉垎
canUseInt: 0, // 鍙敤绉垎
- couponList: [], // 浼樻儬鍒�
- couponShow: false, // 浼樻儬鍒稿脊绐�
- couponInfo: {
- id: '',
- discount: 0,
- thresholdValue: 0
- }, // 浼樻儬鍒稿唴瀹�
payWay: 3, // 5鏀粯瀹� 2寰俊 3閾惰鍗�
isNew: false,
codeShow: false,
smscode: '',
thpinfo: null,
canReset: false,
+ couponShow: false, // 浼樻儬鍒稿脊绐�
+ couponList: [], // 浼樻儬鍒�
+ couponInfo: {
+ id: '',
+ discount: 0,
+ thresholdValue: 0
+ }, // 浼樻儬鍒稿唴瀹�
checkCoupon: {
id: null,
discount: 0,
--
Gitblit v1.9.1