石广澎
2024-09-20 3b3e5a8f392623f273c5eda0a5bb975ceb922d1a
pay/scanpay.vue
@@ -83,6 +83,7 @@
        </view>
      </block>
      <button class="pay-it" @click="pay">付款</button>
      <view v-if="bordShow" style="height: 470rpx"></view>
      <!-- 数字键盘 -->
      <u-popup zIndex="500" :show="bordShow" :overlay="false" @close="bordShow = false">
        <key-bord @changeMoney="changeMoney" :num.sync="money" @close="bordShow = false" @pay="pay"></key-bord>
@@ -420,7 +421,7 @@
        params: {
          applyPayWayStr: this.payWay,
          cusid: this.shopInfo.id,
          money: Number(this.money * 100),
          money: (this.money * 100).toFixed(0),
        }
      }).then(res => {
        this.couponList = res
@@ -456,6 +457,8 @@
      // 金额 this.money
      uni.showLoading()
      const params = {
        money: (this.money * 100).toFixed(0),
        shopId: this.shopInfo.id,
        payWay: this.payWay,
        buyerNote: this.buyerNote,
        score: 0,
@@ -465,8 +468,6 @@
        params.activityQrcodeId = this.activityQrcodeId
      }
      if (this.cid) {
        params.money = Number(this.money * 100)
        params.shopId = this.shopInfo.id
        params.cid = this.cid
      }
      //生成订单
@@ -751,7 +752,7 @@
.coupon-list {
  box-sizing: border-box;
  height: calc(80vh - 44px);
  height: calc(60vh - 44px);
}