修改商城和充费跳转

This commit is contained in:
qiaomu 2024-08-14 09:07:37 +08:00
parent 0b568a81e5
commit c266572022
5 changed files with 6 additions and 69 deletions

View File

@ -18,7 +18,6 @@
"pages/qrCode/index", "pages/qrCode/index",
"pages/recharge/index", "pages/recharge/index",
"pages/questions/index", "pages/questions/index",
"pages/editInvoice/index",
"pages/rechargeDetail/index", "pages/rechargeDetail/index",
"pages/agreements/index", "pages/agreements/index",
"pages/updateInvoice/index", "pages/updateInvoice/index",

View File

@ -1,66 +0,0 @@
// pages/editInvoice/index.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
}
})

View File

@ -1,2 +0,0 @@
<!--pages/editInvoice/index.wxml-->
<text>pages/editInvoice/index.wxml</text>

View File

@ -54,6 +54,11 @@ Page({
}, },
jumpToRecharge() { jumpToRecharge() {
const { user } = this.data;
if (!user || !user?.id) {
alertInfo("请先登录")
return;
}
wx.navigateTo({ wx.navigateTo({
url: '/pages/recharge/index', url: '/pages/recharge/index',
}) })

View File

@ -2,6 +2,7 @@
"usingComponents": { "usingComponents": {
"custom-status-bar": "/components/customStatusBar/index", "custom-status-bar": "/components/customStatusBar/index",
"van-icon": "@vant/weapp/icon/index", "van-icon": "@vant/weapp/icon/index",
"van-button": "@vant/weapp/button/index",
"van-image": "@vant/weapp/image/index", "van-image": "@vant/weapp/image/index",
"avatar": "/components/avatar/index", "avatar": "/components/avatar/index",
"van-field": "@vant/weapp/field/index", "van-field": "@vant/weapp/field/index",