Commit 1c1b79fb authored by lshan's avatar lshan

线、面性修改

parent 03696a96
......@@ -15,7 +15,7 @@
>
<TabItem
:tabName="item.name"
:iconName="item.icon"
:iconName="activeTabRouteName === item.routeName ? item.icon : item.icon1"
:active="activeTabRouteName === item.routeName"
/>
</div>
......
......@@ -29,11 +29,6 @@
/>
</div>
</div>
</div>
</div>
<div @click="clickLogout" class="logout-btn flex items-center justify-center fixed">退出登录</div>
......
......@@ -5,12 +5,15 @@ export default [
name: '首页',
routeName: 'Home',
icon: 'icon-shouye-tab-xuanze1',
icon1: 'icon-shouye-tab',
roles: [eRole.user, eRole.staff],
showNotLogin: true,
},
{
name: '聊天',
routeName: 'ChatList',
icon1: 'icon-liaotian',
icon: 'icon-liaotian-dianji',
roles: [eRole.staff, eRole.user],
showNotLogin: true,
......@@ -19,6 +22,7 @@ export default [
name: '贷款',
routeName: 'Loan',
icon: 'icon-daikuan-tab-xuanze',
icon1: 'icon-daikuan-tab',
roles: [eRole.user, eRole.staff],
showNotLogin: true,
},
......@@ -26,6 +30,7 @@ export default [
name: '我的',
routeName: 'Mine',
icon: 'icon-wode-tabdianji',
icon1: 'icon-wode-tab',
roles: [eRole.user, eRole.staff],
showNotLogin: true,
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment