Browse Source

fix(tabbar): 调整样式和移除图标路径

EvilDragon 6 months ago
parent
commit
3bc72d3226
1 changed files with 4 additions and 9 deletions
  1. 4 9
      src/pages.json

+ 4 - 9
src/pages.json

@@ -18,22 +18,17 @@
     "selectedColor": "#018d71",
     "backgroundColor": "#F8F8F8",
     "borderStyle": "black",
-    "height": "50px",
     "fontSize": "10px",
     "iconWidth": "24px",
     "spacing": "3px",
+    "custom": true,
+    "height": "0px",
     "list": [
       {
-        "iconPath": "static/tabbar/home.png",
-        "selectedIconPath": "static/tabbar/homeHL.png",
-        "pagePath": "pages/index/index",
-        "text": "首页"
+        "pagePath": "pages/index/index"
       },
       {
-        "iconPath": "static/tabbar/example.png",
-        "selectedIconPath": "static/tabbar/exampleHL.png",
-        "pagePath": "pages/about/about",
-        "text": "关于"
+        "pagePath": "pages/about/about"
       }
     ]
   },