diff --git a/app.json b/app.json index 465cdcc..3690657 100644 --- a/app.json +++ b/app.json @@ -73,10 +73,10 @@ }, "tabBar": { "custom": true, - "color": "#6e6d6b", - "selectedColor": "#1E88E5", + "color": "#999999", + "selectedColor": "#FF6B35", "borderStyle": "white", - "backgroundColor": "#292929", + "backgroundColor": "#FFFFFF", "list": [ { "pagePath": "pages/index/index", diff --git a/custom-tab-bar/index.js b/custom-tab-bar/index.js index 2c5278e..c0d038c 100644 --- a/custom-tab-bar/index.js +++ b/custom-tab-bar/index.js @@ -1,8 +1,8 @@ Component({ data: { selected: 0, - color: "#6e6d6b", - selectedColor: "#6BA3F0", + color: "#999999", + selectedColor: "#FF6B35", "list": [] }, attached() { diff --git a/custom-tab-bar/index.wxss b/custom-tab-bar/index.wxss index 863a09e..31cf917 100644 --- a/custom-tab-bar/index.wxss +++ b/custom-tab-bar/index.wxss @@ -7,11 +7,12 @@ background: white; display: flex; padding-bottom: env(safe-area-inset-bottom); - background-color: #292929; + background-color: #FFFFFF; + box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05); } .tab-bar-border { - background-color: rgba(0, 0, 0, 0.1); + background-color: rgba(107, 163, 240, 0.2); position: absolute; left: 0; top: 0; diff --git a/pages/index/index.json b/pages/index/index.json index d6a5f31..08f0e86 100644 --- a/pages/index/index.json +++ b/pages/index/index.json @@ -1,3 +1,3 @@ { - "navigationBarTitleText": "银花优选" + "navigationBarTitleText": "仁E森命" } \ No newline at end of file