石广澎
2024-07-11 6c2609b9f3212e4e502e1dc4d0d4f1382d8782e8
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,