增加app下载,支付失败优化
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
// APP
|
||||
// const ROOTPATH1 = "https://dj-api.hnsiyao.cn/czg/"; //
|
||||
// const ROOTPATH = "https://dj-api.hnsiyao.cn/czg/"; //后台服务域名
|
||||
// const ROOTPATH2 = "https://dj-h5.hnsiyao.cn"; //后台服务域名
|
||||
const ROOTPATH1 = "https://dj-api.hnsiyao.cn/czg/"; //
|
||||
const ROOTPATH = "https://dj-api.hnsiyao.cn/czg/"; //后台服务域名
|
||||
const ROOTPATH2 = "https://dj-h5.hnsiyao.cn"; //后台服务域名
|
||||
|
||||
// const ROOTPATH1 = "https://video.hnsiyao.cn/czg/"; //
|
||||
// const ROOTPATH = "https://video.hnsiyao.cn/czg/"; //后台服务域名
|
||||
// const ROOTPATH2 = "https://video-h5.hnsiyao.cn"; //后台服务域名
|
||||
|
||||
// h5
|
||||
const ROOTPATH1 = "https://web.hnsiyao.cn/czg/"; //
|
||||
const ROOTPATH = "https://web.hnsiyao.cn/czg/"; //后台服务域名
|
||||
const ROOTPATH2 = "https://dj-h5.hnsiyao.cn"; //后台服务域名
|
||||
// const ROOTPATH1 = "https://web.hnsiyao.cn/czg/"; //
|
||||
// const ROOTPATH = "https://web.hnsiyao.cn/czg/"; //后台服务域名
|
||||
// const ROOTPATH2 = "https://dj-h5.hnsiyao.cn"; //后台服务域名
|
||||
|
||||
// const ROOTPATH1 = "https://web-api.hnsiyao.cn/czg/"; //
|
||||
// const ROOTPATH = "https://web-api.hnsiyao.cn/czg/"; //后台服务域名
|
||||
|
||||
@@ -810,10 +810,19 @@
|
||||
console.log('nvue payType=' + paytype);
|
||||
httpsRequest.getT("/app/wuyou/payOrder/" + this.ordersId + '?payType=' + paytype, {}).then(ret => {
|
||||
// plus.runtime.openURL(ret.data.h5Url)
|
||||
|
||||
uni.navigateTo({
|
||||
url: '/pages/pays/pays?ordersId=' + this.ordersId + '&url=' + ret.data.h5Url
|
||||
});
|
||||
if(ret.code == 0 ) {
|
||||
uni.hideLoading()
|
||||
uni.navigateTo({
|
||||
url: '/pages/pays/pays?ordersId=' + this.ordersId + '&url=' + ret.data.h5Url
|
||||
});
|
||||
} else {
|
||||
uni.hideLoading()
|
||||
uni.showToast({
|
||||
icon: res.msg,
|
||||
title: '支付失败!'
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
// uni.navigateTo({
|
||||
// url: '/pages/index/webView?ordersId='+this.ordersId+'url=' + ret.data.h5Url
|
||||
|
||||
@@ -194,6 +194,16 @@
|
||||
我的团队
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="isAndroid"
|
||||
class="tool-box-content-item flex align-center justify-center flex-wrap"
|
||||
@click="goNav('/pages/login/appEq')">
|
||||
<view class="tool-box-content-item-img" style="display: flex;align-items: center;justify-content: center;">
|
||||
<image src="../../static/images/me/xiazai.png" mode="" style="height: 45rpx;width: 45rpx;"></image>
|
||||
</view>
|
||||
<view class="tool-box-content-item-txt">
|
||||
APP下载
|
||||
</view>
|
||||
</view>
|
||||
<view class="tool-box-content-item flex align-center justify-center flex-wrap" @click="goMsg()">
|
||||
<view class="tool-box-content-item-img">
|
||||
<image src="../../static/images/me/vkf.png" mode=""></image>
|
||||
@@ -302,6 +312,7 @@
|
||||
isWxIosPay: true, //微信下是否显示支付功能
|
||||
userInfo:$cache_user.userInfo|| {},
|
||||
isShowMoneyPay: true,
|
||||
isAndroid: false,
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
@@ -315,10 +326,10 @@
|
||||
},
|
||||
onShow() {
|
||||
|
||||
const systemInfo = uni.getSystemInfoSync();
|
||||
const isIOS = /iOS/.test(systemInfo.platform);
|
||||
if (isIOS) {
|
||||
this.isBack = true
|
||||
if ( uni.getSystemInfoSync().platform == 'android' ) {
|
||||
// #ifdef H5
|
||||
this.isAndroid= true
|
||||
// #endif
|
||||
}
|
||||
this.isWxIosPay = uni.getStorageSync('isWxIosPay')
|
||||
this.kmPaySel = this.$queue.getData('kmPaySel');
|
||||
|
||||
BIN
static/images/me/dd795d6bae0782ada7fafc8ee4b748e.png
Normal file
BIN
static/images/me/dd795d6bae0782ada7fafc8ee4b748e.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.7 KiB |
BIN
static/images/me/xiazai.png
Normal file
BIN
static/images/me/xiazai.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.3 KiB |
Reference in New Issue
Block a user