diff --git a/src/miniprogram/app.json b/src/miniprogram/app.json index cc944ed..484885d 100644 --- a/src/miniprogram/app.json +++ b/src/miniprogram/app.json @@ -1,8 +1,10 @@ { "pages": [ "pages/index/index", - "pages/msg/index", - "pages/profile/index" + "pages/msg/msg", + "pages/profile/profile", + "pages/msg 1/msg 1", + "pages/msg 2/msg 2" ], "window": { "backgroundColor": "#FFF", @@ -12,25 +14,26 @@ "navigationBarTextStyle": "black" }, "tabBar": { - "list": [{ - "pagePath": "pages/index/index", - "text": "main", - "iconPath": "images/main.png", - "selectedIconPath": "images/main_on.png" - }, - { - "pagePath": "pages/msg/index", - "text": "msg", - "iconPath": "images/msg.png", - "selectedIconPath": "images/msg_on.png" - }, - { - "pagePath": "pages/profile/index", - "text": "profile", - "iconPath": "images/profile.png", - "selectedIconPath": "images/profile_on.png" - } - ] + "list": [ + { + "pagePath": "pages/index/index", + "text": "main", + "iconPath": "images/main.png", + "selectedIconPath": "images/main_on.png" + }, + { + "pagePath": "pages/msg/msg", + "text": "msg", + "iconPath": "images/msg.png", + "selectedIconPath": "images/msg_on.png" + }, + { + "pagePath": "pages/profile/profile", + "text": "profile", + "iconPath": "images/profile.png", + "selectedIconPath": "images/profile_on.png" + } + ] }, "sitemapLocation": "sitemap.json", "style": "v2" diff --git a/src/miniprogram/pages/index/index.wxml b/src/miniprogram/pages/index/index.wxml index 7d6ccbb..86f1d02 100644 --- a/src/miniprogram/pages/index/index.wxml +++ b/src/miniprogram/pages/index/index.wxml @@ -1,14 +1,16 @@ + + + + + + + - + {{hello}} 这里是家教帮平台,再也不用担心孩子的学习了 - - 创建小组 - 加入小组 - 其他小组 - 我的小组 - > + \ No newline at end of file diff --git a/src/miniprogram/pages/index/index.wxss b/src/miniprogram/pages/index/index.wxss index 82ab862..1423d01 100644 --- a/src/miniprogram/pages/index/index.wxss +++ b/src/miniprogram/pages/index/index.wxss @@ -1,3 +1,21 @@ +.button-wrapper { + display: flex; + justify-content: space-between; /* 将两个按钮分别放置在容器的两端 */ +} +.custom-button { + padding: 10px 20px; + background-color: #007bff; + color: #fff; + border: none; + border-radius: 5px; + font-size: 16px; + cursor: pointer; +} + +.custom-button:hover { + background-color: #0056b3; +} + .cover{ background-color: #f1f1f1; text-align: center;