优化代码

This commit is contained in:
java110 2021-11-26 11:27:24 +08:00
parent 3c9a8e7481
commit 5975bfa813
3 changed files with 7 additions and 4 deletions

View File

@ -190,7 +190,7 @@
return;
}
this.vc.navigateTo({
url: './myMenu?pageSign=myAssets'
url: '/pages/my/myMenu?pageSign=myAssets'
});
},
//
@ -204,7 +204,7 @@
return;
}
this.vc.navigateTo({
url: './myMenu?pageSign=myServices'
url: '/pages/my/myMenu?pageSign=myServices'
});
},
//

View File

@ -1,7 +1,6 @@
<template>
<view>
<view class="cu-list menu margin-top">
<block v-if="pageSign == 'myAssets'">
<view class="cu-item arrow" @click="viewOwner()">
<view class="content">
@ -100,6 +99,7 @@
props: {},
onLoad: function(options) {
this.pageSign = options.pageSign;
console.log(options,"123")
},
onShow: function() {
},

View File

@ -62,8 +62,9 @@
// pages/payParkingFee/payParkingFee.js
const context = require("../../context/Java110Context.js");
const constant = context.constant;
// #ifdef H5
const WexinPayFactory = require('../../factory/WexinPayFactory.js');
// #endif
import {
getTempCarFeeOrder,
toPayTempCarFee
@ -133,6 +134,7 @@
toPayTempCarFee(_objData)
.then(_data=>{
if (_data.code == '0') {
// #ifdef H5
WexinPayFactory.wexinPay(_data, function() {
uni.showToast({
title: "支付成功",
@ -142,6 +144,7 @@
delta:1
});
});
// #endif
wx.hideLoading();
return;
}