Browse Source

支付

yxb
skx 1 year ago
parent
commit
26a3c25f10
2 changed files with 8 additions and 8 deletions
  1. 6
    6
      pages/index/index.vue
  2. 2
    2
      subpackage/orders/order_payment.vue

+ 6
- 6
pages/index/index.vue View File

@@ -89,12 +89,12 @@
</view>
<view class="text">基础信息变更</view>
</view>
<view class="item-box" @click="test">
<!-- <view class="item-box" @click="test">
<view class="item item-7">
<image :src="fileURL + 'image/index/item-7.png'" mode="aspectFill" />
</view>
<view class="text">测试</view>
</view>
</view> -->
<view class="item-box" @click="$util.navTo(`/pages/service/service`,true)">
<view class="item item-8">
<image :src="fileURL + 'image/index/item-more.png'" mode="aspectFill" />
@@ -380,7 +380,7 @@
});

};
//轮播跳转
const test = () => {
// let options = {
@@ -396,17 +396,17 @@
// method: "POST", //提交方式(默认POST)
// showLoading: true, //是否显示加载中(默认显示)
// };
// //调用方式
// request("25", options).then((res) => {
// console.log(res);
// })
// .catch((err) => {
// console.log(err);
// });
uni.navigateTo({
url: "/subpackage/orders/payment/payment?token=445dff5be89c4dcaa89386d1c390930a&openId=0e716af635634d749a981524cc6146a5&orderId=20231016175113823159477&qdOrderNo=20231016175113823159477"
url: "/subpackage/orders/payment/payment?token=445dff5be89c4dcaa89386d1c390930a&openId=0e716af635634d749a981524cc6146a5&orderId=20230922185454016794294"
})
};


+ 2
- 2
subpackage/orders/order_payment.vue View File

@@ -61,7 +61,7 @@
CardBillPlaceOrder,
CardBillPayStatus,
wechatPayConfigId,
aliPayConfigId,
aliPayConfigIdTwo,
obtainUserId,
getOpenidApi,
orderDetail
@@ -106,7 +106,7 @@
const optionsUser = {
type: 2,
data: {
payConfigId: aliPayConfigId,
payConfigId: aliPayConfigIdTwo,
code: res.authCode
},
method: "POST",

Loading…
Cancel
Save