parent
9fd762a5fd
commit
655c79c60a
@ -0,0 +1,114 @@
|
||||
<template>
|
||||
<div class="message-processing-style">
|
||||
<a-icon type="bell" class="title-icon-style"></a-icon>
|
||||
<div class="left-bar-style">
|
||||
<div class="icon-container-style" :style="{backgroundColor:selectedType === 'notice'?'#cccccc':null}"
|
||||
@click="leftBarClick('notice')">
|
||||
<my-icon type="icon-talk" class="icon-style"></my-icon>
|
||||
<div class="name-style">消息</div>
|
||||
</div>
|
||||
<div class="icon-container-style" :style="{backgroundColor:selectedType === 'mailList'?'#cccccc':null}"
|
||||
@click="leftBarClick('mailList')">
|
||||
<my-icon type="icon-mailList" class="icon-style" style="font-size: 30px;color:#31a8fa"></my-icon>
|
||||
<div class="name-style">通讯录</div>
|
||||
</div>
|
||||
<div class="icon-container-style" :style="{backgroundColor:selectedType === 'file'?'#cccccc':null}"
|
||||
@click="leftBarClick('file')">
|
||||
<my-icon type="icon-folder" class="icon-style" style="font-size: 30px"></my-icon>
|
||||
<div class="name-style">文件</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="content-style">
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {Icon} from 'ant-design-vue';
|
||||
export default {
|
||||
name: "MessageProcessMain",
|
||||
data:function(){
|
||||
return{
|
||||
selectedType:'notice'
|
||||
}
|
||||
},
|
||||
methods:{
|
||||
leftBarClick:function(id){
|
||||
this.selectedType = id;
|
||||
}
|
||||
},
|
||||
components:{
|
||||
AIcon:Icon,
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
/deep/.ant-modal-header{
|
||||
padding-left: 35px;
|
||||
}
|
||||
.message-processing-style{
|
||||
width: 100%;
|
||||
display: flex;
|
||||
height: 500px;
|
||||
/*position: relative;*/
|
||||
.title-icon-style{
|
||||
position: absolute;
|
||||
font-size: 20px;
|
||||
color: white;
|
||||
top: 10px;
|
||||
left: 27px;
|
||||
}
|
||||
.left-bar-style{
|
||||
display: flex;
|
||||
padding-top: 10px;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
align-content: center;
|
||||
width: 65px;
|
||||
height: 100%;
|
||||
background-color: #F8F9FB;
|
||||
border-bottom-left-radius: 14px;
|
||||
border-right: 1px solid #e5e5e5;
|
||||
.icon-container-style{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-content: center;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
justify-items: center;
|
||||
width: 45px;
|
||||
height: 50px;
|
||||
margin-bottom: 10px;
|
||||
cursor: pointer;
|
||||
.icon-style{
|
||||
font-size: 25px;
|
||||
color:#31a8fa;
|
||||
}
|
||||
.name-style{
|
||||
width: 100%;
|
||||
font-size: 12px;
|
||||
text-align: center;
|
||||
color:#221815;
|
||||
}
|
||||
&:hover{
|
||||
background-color: #eee;
|
||||
}
|
||||
&:nth-last-of-type(1){
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
.content-style{
|
||||
width: calc(100% - 66px);
|
||||
height: 100%;
|
||||
position: relative;
|
||||
.bar-style{
|
||||
position: absolute;
|
||||
width:100px;
|
||||
height: 32px;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
Loading…
Reference in new issue