|
|
@@ -0,0 +1,62 @@ |
|
|
|
<template> |
|
|
|
<div class="tb-toolbar-container"> |
|
|
|
<router-link to="/index" class="tab" active-class="active" exact> |
|
|
|
<span class="icon"><van-icon name="chat-o" size="20" /></span> |
|
|
|
<p class="text">消息</p> |
|
|
|
</router-link> |
|
|
|
<router-link to="/document" class="tab" active-class="active"> |
|
|
|
<span class="icon"><van-icon name="notes-o" size="20" /></span> |
|
|
|
<p class="text">文档</p> |
|
|
|
</router-link> |
|
|
|
<router-link to="/workbench" class="tab" active-class="active"> |
|
|
|
<span class="icon"><van-icon name="apps-o" size="20" /></span> |
|
|
|
<p class="text">工作台</p> |
|
|
|
</router-link> |
|
|
|
<router-link to="/addressBook" class="tab" active-class="active"> |
|
|
|
<span class="icon"><van-icon name="manager-o" size="20" /></span> |
|
|
|
<p class="text">通讯录</p> |
|
|
|
</router-link> |
|
|
|
<router-link to="/my" class="tab" active-class="active"> |
|
|
|
<span class="icon"><van-icon name="contact" size="20" /></span> |
|
|
|
<p class="text">我的</p> |
|
|
|
</router-link> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
<script> |
|
|
|
export default { |
|
|
|
name: "", |
|
|
|
}; |
|
|
|
</script> |
|
|
|
<style scoped lang="scss"> |
|
|
|
.tb-toolbar-container { |
|
|
|
box-sizing: border-box; |
|
|
|
display: -webkit-box; |
|
|
|
display: -webkit-flex; |
|
|
|
display: flex; |
|
|
|
left: 0; |
|
|
|
bottom: 0; |
|
|
|
width: 100%; |
|
|
|
z-index: 1001; |
|
|
|
background-color: #fff; |
|
|
|
border-top: 1px solid #e7e7e7; |
|
|
|
border-bottom: 1px solid #f8f8f8; |
|
|
|
-webkit-box-pack: justify; |
|
|
|
justify-content: space-between; |
|
|
|
-webkit-box-align: center; |
|
|
|
align-items: center; |
|
|
|
position: fixed; |
|
|
|
padding: 10px 40px; |
|
|
|
.active { |
|
|
|
} |
|
|
|
.tab { |
|
|
|
color: #5d656b; |
|
|
|
text-align: center; |
|
|
|
&.active { |
|
|
|
color: #1989fa; |
|
|
|
} |
|
|
|
.icon { |
|
|
|
padding-bottom: 3px; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
</style> |