mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-02-23 21:36:38 +08:00
优化代码
This commit is contained in:
parent
3c9a8e7481
commit
5975bfa813
@ -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'
|
||||
});
|
||||
},
|
||||
// 设置
|
||||
|
||||
@ -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() {
|
||||
},
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user