页脚导航
This commit is contained in:
3
app.json
3
app.json
@@ -1,9 +1,8 @@
|
||||
{
|
||||
"pages": [
|
||||
"pages/index/index",
|
||||
"pages/task/index",
|
||||
"pages/logs/logs",
|
||||
"pages/myself/index",
|
||||
"pages/task/index",
|
||||
"pages/message/index",
|
||||
"pages/taskDetail/index"
|
||||
],
|
||||
|
||||
@@ -33,7 +33,7 @@ Component({
|
||||
'iconList[0]': 'check-rectangle-filled',
|
||||
})
|
||||
wx.redirectTo({
|
||||
url: '../index/index'
|
||||
url: '../task/index'
|
||||
})
|
||||
}
|
||||
if (cur == 2){
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<!--pages/component/foot-tab.wxml-->
|
||||
<t-tab-bar bindchange="onChange">
|
||||
<t-tab-bar-item value="1" icon="{{iconList[0]}}">清单</t-tab-bar-item>
|
||||
<t-tab-bar-item value="2" icon="{{iconList[1]}}">今日任务</t-tab-bar-item>
|
||||
<t-tab-bar-item badge-props="{{message}}" value="3" icon="{{iconList[2]}}">消息</t-tab-bar-item>
|
||||
<t-tab-bar-item value="4" icon="{{iconList[3]}}">我的</t-tab-bar-item>
|
||||
<t-tab-bar-item value="1" icon="{{iconList[0]}}">任务清单</t-tab-bar-item>
|
||||
<t-tab-bar-item value="2" icon="{{iconList[1]}}">纪念日</t-tab-bar-item>
|
||||
<t-tab-bar-item badge-props="{{message}}" value="3" icon="{{iconList[2]}}">微习惯</t-tab-bar-item>
|
||||
<t-tab-bar-item value="4" icon="{{iconList[3]}}">个人中心</t-tab-bar-item>
|
||||
</t-tab-bar>
|
||||
|
||||
Reference in New Issue
Block a user