|
@@ -0,0 +1,344 @@
|
|
|
+<template>
|
|
|
+ <div class='infoWrap'>
|
|
|
+ <div class="left">
|
|
|
+ <div class="unread"> <img :src="img.boxicon"
|
|
|
+ alt=""> 未读消息
|
|
|
+ <div class="count">84</div>
|
|
|
+ </div>
|
|
|
+ <div class="read">
|
|
|
+ <img :src="img.bookicon"
|
|
|
+ alt="">
|
|
|
+ 已读消息</div>
|
|
|
+ <div class="recovery">
|
|
|
+ <img :src="img.trashicon"
|
|
|
+ alt="">
|
|
|
+ 回收站</div>
|
|
|
+ </div>
|
|
|
+ <div class="middle">
|
|
|
+ <div class="msgItem">
|
|
|
+ <h6 class="type">审批</h6>
|
|
|
+ <h4 class="name">黄老师 <span class='time'>10:03</span>
|
|
|
+ <div class="dot"></div>
|
|
|
+ </h4>
|
|
|
+ <p class='msg'>那家纯四季花城教学总结爱喝酒收到货就暗示的看见爱上大家超级好吃就撒客户看见爱上当看见那家纯四季花城教学总结爱喝酒收到货就暗示的看见爱上大家超级好吃就撒客户看见爱上当看见</p>
|
|
|
+ </div>
|
|
|
+ <div class="msgItem active">
|
|
|
+ <h6 class="type">审批</h6>
|
|
|
+ <h4 class="name">黄老师 <span class='time'>10:03</span>
|
|
|
+ <div class="dot"></div>
|
|
|
+ </h4>
|
|
|
+ <p class='msg'>那家纯四季花城教学总结爱喝酒收到货就暗示的看见爱上大家超级好吃就撒客户看见爱上当看见那家纯四季花城教学总结爱喝酒收到货就暗示的看见爱上大家超级好吃就撒客户看见爱上当看见</p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="right">
|
|
|
+ <div class="rightWrap">
|
|
|
+ <img src="@/assets/images/base/placehorder-icon.png"
|
|
|
+ class="header"
|
|
|
+ alt="">
|
|
|
+ <div class="info">
|
|
|
+ <h2>黄老师<span>【185****2109】</span></h2>
|
|
|
+ <p class="subMsg">发至 <span class='san'></span> <span style="margin-left:30px">我</span></p>
|
|
|
+ <div class="textWrap">
|
|
|
+ <p>审批事项: 合班</p>
|
|
|
+ <p>开始时间: 2019-09-01 09:00</p>
|
|
|
+ <p>结束时间: 2019-09-01 09:00</p>
|
|
|
+ <p>备注:班人数较少较少班人数较少较少班人数较少较少班人数较少较少班人数较少较少班人数较少较少班人数较少较少班人数较少较少</p>
|
|
|
+ </div>
|
|
|
+ <div class="timeline">
|
|
|
+ <el-timeline>
|
|
|
+ <el-timeline-item placement='center'>
|
|
|
+ <div class='timeMsg'>
|
|
|
+ <p class="name">我</p>
|
|
|
+ <p class='status'>审批中</p>
|
|
|
+ </div>
|
|
|
+ <div slot='dot'>
|
|
|
+ <img class='dot'
|
|
|
+ src="@/assets/images/base/clock.png"
|
|
|
+ alt="">
|
|
|
+ </div>
|
|
|
+ </el-timeline-item>
|
|
|
+ <el-timeline-item placement='center'>
|
|
|
+ <div class='timeMsg'>
|
|
|
+ <p class="name">我</p>
|
|
|
+ <p class='status'>审批中</p>
|
|
|
+ </div>
|
|
|
+ <div slot='dot'>
|
|
|
+ <img class='dot'
|
|
|
+ src="@/assets/images/base/clock.png"
|
|
|
+ alt="">
|
|
|
+ </div>
|
|
|
+ </el-timeline-item>
|
|
|
+ </el-timeline>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="infoFoot">
|
|
|
+ <div class="noBtn">拒绝</div>
|
|
|
+ <div class="yesBtn">同意</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+<script>
|
|
|
+export default {
|
|
|
+ data () {
|
|
|
+ return {
|
|
|
+ img: {
|
|
|
+ bookicon: require('@/assets/images/base/bookicon.png'),
|
|
|
+ Hbookicon: require('@/assets/images/base/bookicon-h.png'),
|
|
|
+ trashicon: require('@/assets/images/base/trashicon.png'),
|
|
|
+ Htrashicon: require('@/assets/images/base/trashicon-h.png'),
|
|
|
+ boxicon: require('@/assets/images/base/boxicon.png'),
|
|
|
+ Hboxicon: require('@/assets/images/base/boxicon-h.png')
|
|
|
+ },
|
|
|
+ activities: [{
|
|
|
+
|
|
|
+ }]
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+</script>
|
|
|
+<style lang="scss">
|
|
|
+.infoWrap {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row;
|
|
|
+ justify-content: flex-start;
|
|
|
+ height: calc(100vh - 266px);
|
|
|
+ overflow: auto;
|
|
|
+ .left {
|
|
|
+ padding-top: 24px;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ align-items: left;
|
|
|
+ > div {
|
|
|
+ height: 26px;
|
|
|
+ line-height: 26px;
|
|
|
+ margin-top: 26px;
|
|
|
+ img {
|
|
|
+ position: relative;
|
|
|
+ top: 6px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .unread {
|
|
|
+ position: relative;
|
|
|
+ img {
|
|
|
+ width: 26px;
|
|
|
+ height: 25px;
|
|
|
+ }
|
|
|
+ .count {
|
|
|
+ position: absolute;
|
|
|
+ width: 38px;
|
|
|
+ height: 23px;
|
|
|
+ background: rgba(20, 146, 138, 0.5);
|
|
|
+ border-radius: 100px;
|
|
|
+ font-size: 12px;
|
|
|
+ line-height: 23px;
|
|
|
+ text-align: center;
|
|
|
+ color: #225551;
|
|
|
+ right: -44px;
|
|
|
+ top: 8px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .read {
|
|
|
+ img {
|
|
|
+ width: 20px;
|
|
|
+ height: 26px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .recovery {
|
|
|
+ img {
|
|
|
+ width: 19px;
|
|
|
+ height: 26px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .middle {
|
|
|
+ width: 390px;
|
|
|
+ margin-left: 76px;
|
|
|
+ padding-top: 50px;
|
|
|
+ overflow: auto;
|
|
|
+ .msgItem {
|
|
|
+ padding: 16px 18px 23px 30px;
|
|
|
+ .type {
|
|
|
+ font-size: 14px;
|
|
|
+ color: #777;
|
|
|
+ font-weight: 400;
|
|
|
+ padding-bottom: 4px;
|
|
|
+ }
|
|
|
+ .name {
|
|
|
+ position: relative;
|
|
|
+ color: #444;
|
|
|
+ font-size: 16px;
|
|
|
+ padding-bottom: 9px;
|
|
|
+ clear: both;
|
|
|
+ .time {
|
|
|
+ font-weight: 400;
|
|
|
+ color: #aaa;
|
|
|
+ float: right;
|
|
|
+ }
|
|
|
+ .dot {
|
|
|
+ width: 7px;
|
|
|
+ height: 7px;
|
|
|
+ background-color: #f97215;
|
|
|
+ border-radius: 50%;
|
|
|
+ position: absolute;
|
|
|
+ left: -13px;
|
|
|
+ top: 4px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .msg {
|
|
|
+ color: #444;
|
|
|
+ font-size: 14px;
|
|
|
+ line-height: 24px;
|
|
|
+ text-overflow: -o-ellipsis-lastline;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ display: -webkit-box;
|
|
|
+ -webkit-line-clamp: 2;
|
|
|
+ -webkit-box-orient: vertical;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .msgItem.active {
|
|
|
+ background-color: #f3f4f8;
|
|
|
+ border-radius: 5px;
|
|
|
+ .msg {
|
|
|
+ color: #aaa;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .right {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ justify-content: space-between;
|
|
|
+ border: 1px solid #e4e8eb;
|
|
|
+ margin-left: 25px;
|
|
|
+ position: relative;
|
|
|
+ overflow: auto;
|
|
|
+ .rightWrap {
|
|
|
+ // overflow: auto;
|
|
|
+ padding: 18px 24px;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row;
|
|
|
+ justify-content: flex-start;
|
|
|
+ width: 570px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ .header {
|
|
|
+ width: 30px;
|
|
|
+ height: 30px;
|
|
|
+ position: relative;
|
|
|
+ top: 7px;
|
|
|
+ border-radius: 50%;
|
|
|
+ margin-right: 12px;
|
|
|
+ }
|
|
|
+ .info {
|
|
|
+ position: relative;
|
|
|
+ h2 {
|
|
|
+ color: #212223;
|
|
|
+ font-size: 16px;
|
|
|
+ margin-bottom: 0px;
|
|
|
+ span {
|
|
|
+ font-size: 12px;
|
|
|
+ color: #444;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .subMsg {
|
|
|
+ position: relative;
|
|
|
+ font-size: 12px;
|
|
|
+ color: #444;
|
|
|
+ margin-bottom: 12px;
|
|
|
+ .san {
|
|
|
+ // margin-left: 110px;
|
|
|
+ float: left;
|
|
|
+ position: absolute;
|
|
|
+ top: 0px;
|
|
|
+ width: 0;
|
|
|
+ height: 0;
|
|
|
+ border-width: 5px;
|
|
|
+ border-style: solid;
|
|
|
+ border-color: transparent #909191 transparent transparent;
|
|
|
+ transform: rotate(180deg); /*顺时针旋转90°*/
|
|
|
+ margin: 0 8px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .textWrap {
|
|
|
+ width: 316px;
|
|
|
+ line-height: 21px;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #212223;
|
|
|
+ margin: 12px 0 34px;
|
|
|
+ }
|
|
|
+ .dot {
|
|
|
+ width: 20px;
|
|
|
+ height: 20px;
|
|
|
+ }
|
|
|
+ .timeMsg {
|
|
|
+ position: relative;
|
|
|
+ top: 5px;
|
|
|
+ margin-left: 20px;
|
|
|
+ .name {
|
|
|
+ font-size: #444;
|
|
|
+ font-size: 16px;
|
|
|
+ margin-bottom: 3px;
|
|
|
+ font-weight: 600;
|
|
|
+ }
|
|
|
+ .status {
|
|
|
+ font-size: 14px;
|
|
|
+ color: #62a070;
|
|
|
+ }
|
|
|
+ .status.waring {
|
|
|
+ color: #f97215;
|
|
|
+ }
|
|
|
+ .status.end {
|
|
|
+ color: #aaaaaa;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .infoFoot {
|
|
|
+ min-height: 60px;
|
|
|
+ height: 60px;
|
|
|
+ line-height: 60px;
|
|
|
+ border-top: 1px solid #e4e8eb;
|
|
|
+ width: 100%;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row;
|
|
|
+ justify-content: flex-start;
|
|
|
+ align-items: center;
|
|
|
+ .noBtn {
|
|
|
+ cursor: pointer;
|
|
|
+ width: 100px;
|
|
|
+ height: 32px;
|
|
|
+ line-height: 32px;
|
|
|
+ color: #444;
|
|
|
+ border-radius: 3px;
|
|
|
+ border: 1px solid rgba(228, 232, 235, 1);
|
|
|
+ text-align: center;
|
|
|
+ margin-left: 70px;
|
|
|
+ }
|
|
|
+ .yesBtn {
|
|
|
+ cursor: pointer;
|
|
|
+ margin-left: 15px;
|
|
|
+ text-align: center;
|
|
|
+ width: 100px;
|
|
|
+ height: 32px;
|
|
|
+ line-height: 32px;
|
|
|
+ background: rgba(249, 114, 21, 1);
|
|
|
+ border-radius: 3px;
|
|
|
+ color: #fff;
|
|
|
+ }
|
|
|
+ // width: 570px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+.el-timeline-item__dot {
|
|
|
+ width: 20px;
|
|
|
+ height: 20px;
|
|
|
+}
|
|
|
+.el-timeline-item {
|
|
|
+ min-height: 80px !important;
|
|
|
+}
|
|
|
+.el-timeline-item__tail {
|
|
|
+ left: 9px !important;
|
|
|
+}
|
|
|
+</style>
|