From cd98c69ff835643f518337ee9ab532885c647efb Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期五, 15 三月 2024 18:48:39 +0800 Subject: [PATCH] 合并代码 --- pages/personalCenter/index.js | 20 +++++++++++++------- 1 files changed, 13 insertions(+), 7 deletions(-) diff --git a/pages/personalCenter/index.js b/pages/personalCenter/index.js index e7c8ee7..7b52b27 100644 --- a/pages/personalCenter/index.js +++ b/pages/personalCenter/index.js @@ -15,7 +15,7 @@ { title: '鎴戠殑璇佷功', icon: '/static/images/personal/certificate.png', - url: '/pages/personalCenter/certificate/index', + url: '', type: 'certificate', }, { @@ -37,16 +37,16 @@ type: 'sampleBook', }, { - title: '鍑轰功鐢宠', - icon: '/static/images/personal/chushu.png', - url: '/pages/personalCenter/publishBooks/index', - type: 'publishBooks', - }, - { title: '鎴戠殑涓婁紶', icon: '/static/images/personal/upload.png', url: '', type: 'upload', + }, + { + title: '鍑轰功鐢宠', + icon: '/static/images/personal/chushu.png', + url: '/pages/personalCenter/publishBooks/index', + type: 'publishBooks', } ]; const moreMenu = [ @@ -175,6 +175,12 @@ } }) }, + //鏁欏笀璁よ瘉 + toCertification() { + wx.navigateTo({ + url: "/pages/teacherCertification/index", + }); + }, //鐐瑰嚮鐩綍 toPages(item) { -- Gitblit v1.9.1