From 222dd08ee99bcc13127242a7284bb8a9e41aceef Mon Sep 17 00:00:00 2001
From: Lx <935448346@qq.com>
Date: Wed, 16 Apr 2025 17:41:03 +0800
Subject: [PATCH] 0416-2
---
newPages/messageCenter/index.vue | 1 +
newPages/my/index.vue | 4 +-
newPages/newIndex/index.vue | 760 +++++++++++++++----------------
pages.json | 64 ++-
4 files changed, 407 insertions(+), 422 deletions(-)
diff --git a/newPages/messageCenter/index.vue b/newPages/messageCenter/index.vue
index f2b76d2..7ac05ae 100644
--- a/newPages/messageCenter/index.vue
+++ b/newPages/messageCenter/index.vue
@@ -195,6 +195,7 @@
flex-direction: column;
padding: 0 20rpx;
box-sizing: border-box;
+
}
}
.messageItem {
diff --git a/newPages/my/index.vue b/newPages/my/index.vue
index ca01322..3163a2e 100644
--- a/newPages/my/index.vue
+++ b/newPages/my/index.vue
@@ -175,7 +175,9 @@ export default {
},
onShow() {
if (getToken()) {
- // this.findSelfInfo()
+ this.selfInfoLocal = getLocalUserInfo()
+ this.getUserInfo()
+ this.systemInfo()
}
},
diff --git a/newPages/newIndex/index.vue b/newPages/newIndex/index.vue
index 9ee4dc6..3c5cb17 100644
--- a/newPages/newIndex/index.vue
+++ b/newPages/newIndex/index.vue
@@ -1,230 +1,212 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
- 优质驾校
-
- 查看更多
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+ 优质驾校
+
+ 查看更多
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+ .itemContent {
+ padding: 30rpx 0;
+ display: flex;
+ flex-direction: column;
+ row-gap: 20rpx;
+ margin-bottom: 200rpx;
+ }
+
+ .top_ {
+ //padding-top: 200rpx;
+ }
+
\ No newline at end of file
diff --git a/pages.json b/pages.json
index 3860350..e97db4a 100644
--- a/pages.json
+++ b/pages.json
@@ -32,7 +32,7 @@
"navigationStyle": "custom"
}
},
-
+
{
"path": "newPages/orderList/index",
"style": {
@@ -41,8 +41,8 @@
"navigationStyle": "custom"
}
},
-
-
+
+
{
"path": "newPages/courseList/index",
"style": {
@@ -51,7 +51,7 @@
"navigationStyle": "custom"
}
},
-
+
{
"path": "newPages/my/index",
"style": {
@@ -60,7 +60,7 @@
"navigationStyle": "custom"
}
},
-
+
{
"path": "newPages/schoolDetail/index",
"style": {
@@ -69,9 +69,9 @@
"navigationStyle": "custom"
}
},
-
-
-
+
+
+
{
"path": "newPages/schoolList/index",
"style": {
@@ -80,7 +80,7 @@
"navigationStyle": "custom"
}
},
-
+
{
"path": "newPages/messageCenter/index",
"style": {
@@ -99,11 +99,9 @@
}
],
- "subPackages": [
- {
+ "subPackages": [{
"root": "pagesA",
- "pages": [
- {
+ "pages": [{
"path": "appointmentAdd/index",
"style": {
"enablePullDownRefresh": true,
@@ -194,28 +192,28 @@
]
},
{
- "root": "uni_modules",
- "name": "modules",
- "pages": []
+ "root": "uni_modules",
+ "name": "modules",
+ "pages": []
}
],
"tabBar": {
- "list": [
- {
- "pagePath": "newPages/newIndex/index",
- "text": "首页",
- "iconPath": "static/imgs/homeone.png",
- "selectedIconPath": "static/imgs/hometwo.png"
- },
- {
- "pagePath": "newPages/my/index",
- "text": "我的",
- "iconPath": "static/imgs/myone.png",
- "selectedIconPath": "static/imgs/mytwo.png"
- }
- ]
- },
-
+ "color": "#999999", // 未选中时的文字颜色(默认灰色)
+ "selectedColor": "#2c78f5", // 选中时的文字颜色(示例蓝色)
+ "list": [{
+ "pagePath": "newPages/newIndex/index",
+ "text": "首页",
+ "iconPath": "static/imgs/homeone.png",
+ "selectedIconPath": "static/imgs/hometwo.png"
+ },
+ {
+ "pagePath": "newPages/my/index",
+ "text": "我的",
+ "iconPath": "static/imgs/myone.png",
+ "selectedIconPath": "static/imgs/mytwo.png"
+ }
+ ]
+ },
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
@@ -223,4 +221,4 @@
"backgroundColor": "#F8F8F8"
},
"uniIdRouter": {}
-}
+}
\ No newline at end of file