diff --git a/app.json b/app.json index ba4b841..ae1c47a 100644 --- a/app.json +++ b/app.json @@ -52,7 +52,7 @@ { "pagePath": "pages/brandCrisis/index", "iconPath": "/custom-tab-bar/icons/appSearch.png", - "selectedIconPath": "", + "selectedIconPath": "/custom-tab-bar/icons/appSearch.png", "text": "品牌搜索" }, { diff --git a/components/timecomponent/index.js b/components/timecomponent/index.js index 94a16f0..400f913 100644 --- a/components/timecomponent/index.js +++ b/components/timecomponent/index.js @@ -141,6 +141,11 @@ Component({ this.setData({ showDialogs: false, }) + }, + close() { + this.setData({ + show: false + }) } } diff --git a/components/timecomponent/index.wxml b/components/timecomponent/index.wxml index c6ea1a8..c5a933e 100644 --- a/components/timecomponent/index.wxml +++ b/components/timecomponent/index.wxml @@ -2,9 +2,10 @@ {{item}} - + + 收起 diff --git a/components/timecomponent/index.wxss b/components/timecomponent/index.wxss index f304ce9..e3ce262 100644 --- a/components/timecomponent/index.wxss +++ b/components/timecomponent/index.wxss @@ -34,4 +34,13 @@ padding: 15px 0px; color: #909497; text-align: center; +} +.tp-btn { + color: #fff; + background: #1B89FA; + text-align: center; + font-size: 14px; + height: 36px; + line-height: 36px; + font-weight: 500; } \ No newline at end of file diff --git a/custom-tab-bar/index.js b/custom-tab-bar/index.js index 1973403..5f73acf 100644 --- a/custom-tab-bar/index.js +++ b/custom-tab-bar/index.js @@ -19,7 +19,7 @@ Component({ { "pagePath": "pages/brandCrisis/index", "iconPath": "icons/appSearch.png", - "selectedIconPath": "", + "selectedIconPath": "icons/appSearch.png", "text": "", diyClass: 'diy' },