diff --git a/.vscode/settings.json b/.vscode/settings.json index d44c4b7..b9f7917 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -29,5 +29,12 @@ "pages.json": "jsonc", // pages.json 可以写注释 "manifest.json": "jsonc" // manifest.json 可以写注释 }, - "cSpell.words": ["Tabbar"] + "cSpell.words": [ + "commitlint", + "dcloudio", + "refresherrefresh", + "scrolltolower", + "tabbar", + "WechatMiniprogram" + ] } diff --git a/src/pages.json b/src/pages.json index b0f0bfa..fb319ad 100644 --- a/src/pages.json +++ b/src/pages.json @@ -7,13 +7,19 @@ } }, { - "path": "pages/my/index", + "path": "pages/throughout/index", "style": { - "navigationBarTitleText": "我的", + "navigationBarTitleText": "通屏+下拉刷新+自定义导航栏", "enablePullDownRefresh": true, "backgroundColor": "#23c09c", // 这个背景色要与页面的.top-section的背景图差不多,这样下拉刷新看起来才比较协调 "navigationStyle": "custom" } + }, + { + "path": "pages/my/index", + "style": { + "navigationBarTitleText": "我的" + } } ], "globalStyle": { @@ -29,12 +35,26 @@ } }, "tabBar": { + "color": "#7A7E83", + "selectedColor": "#3cc51f", + "backgroundColor": "#ffffff", + "borderStyle": "black", + "height": "50px", + "fontSize": "10px", + "iconWidth": "24px", + "spacing": "3px", "list": [ { - "pagePath": "pages/index/index" + "pagePath": "pages/index/index", + "iconPath": "static/tab-icons/extui.png", + "selectedIconPath": "static/tab-icons/extuiHL.png", + "text": "首页" }, { - "pagePath": "pages/my/index" + "pagePath": "pages/throughout/index", + "iconPath": "static/tab-icons/template.png", + "selectedIconPath": "static/tab-icons/templateHL.png", + "text": "通屏" } ] }, diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index e506977..b9c4255 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -17,8 +17,8 @@