From 097cdcd70b1d95f5fc581ea2bedc4faeba8259f2 Mon Sep 17 00:00:00 2001
From: yiming <m13691596795@163.com>
Date: 星期五, 15 三月 2024 18:36:24 +0800
Subject: [PATCH] fix: 购物车的样式

---
 pages/personalCenter/index.js |   33 ++++++++++++++++++++++-----------
 1 files changed, 22 insertions(+), 11 deletions(-)

diff --git a/pages/personalCenter/index.js b/pages/personalCenter/index.js
index 164d8b3..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 = [
@@ -59,7 +59,7 @@
   {
     title: '寤鸿涓庡弽棣�',
     icon: '/static/images/personal/feedback.png',
-    url: '/pages/personalCenter/feedback/index',
+    url: '/pages/personalCenter/feedBack/index',
     type: 'feedback',
   }
 ];
@@ -67,13 +67,13 @@
   {
     title: '鍏充簬鎴戜滑',
     icon: '/static/images/personal/about.png',
-    url: '',
+    url: '/pages/aboutUs/index?types=jsek_aboutUs',
     type: 'aboutUs',
   },
   {
     title: '鑱旂郴鎴戜滑',
     icon: '/static/images/personal/contact.png',
-    url: '',
+    url: '/pages/aboutUs/index?types=jsek_contactUs',
     type: 'contact',
   }
 ];
@@ -105,6 +105,7 @@
    * 鐢熷懡鍛ㄦ湡鍑芥暟--鐩戝惉椤甸潰鍔犺浇
    */
   onLoad(options) {
+    console.log(options);
   },
 
 
@@ -174,11 +175,17 @@
       }
     })
   },
+  //鏁欏笀璁よ瘉
+  toCertification() {
+    wx.navigateTo({
+      url: "/pages/teacherCertification/index",
+    });
+  },
 
   //鐐瑰嚮鐩綍
   toPages(item) {
     console.log(item)
-    let info = item.target.dataset.info
+    let info = item.currentTarget.dataset.info
     if (info.url) {
       wx.navigateTo({
         url: info.url
@@ -204,5 +211,9 @@
       isWhite: e.scrollTop > 50 ? true : false
     })
 
+  },
+  //璺宠浆鍏充簬鎴戜滑鍜岃仈绯绘垜浠�
+  onAboutUS() {
+    console.log(111);
   }
 })
\ No newline at end of file

--
Gitblit v1.9.1