1
litian
2024-04-17 eeaef4fa1a06616e41ae8013c95e99bb3895aac5
pages/cart/paymentPage/index.js
@@ -11,6 +11,8 @@
   * 页面的初始数据
   */
  data: {
    loading: true,
    hidden: true,
    myOrderOrderNumber: [],
    orderNumber: null,
    navBarHeight: '',
@@ -131,7 +133,10 @@
      this.setData({
        productList: res.saleMethodLinks,
        // type: item.orderSaleMethod.type == 'createProductItemSaleMethod' ? 'item' : 'product'
        loading: false,
        hidden: false,
      })
    })
  },
  getDataList() {
@@ -180,6 +185,7 @@
          app.MG.store.makeWeChatPay(resOrderNum).then(payRes => {
            console.log(payRes, 'payRes');
            const payVal = JSON.parse(payRes);
            console.log(payVal);
            wx.requestPayment({
              "appId": payVal.appId,
              "timeStamp": payVal.timeStamp,