123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520 |
- <template>
- <view>
- <view class="tab_box">
- <view class="tab_list">
- <view class="item" :class="active===1?'active':''" @click="clickTab(1)">
- <view class="icon">
- <image src="./icon/icon_1.png" mode=""></image>
- </view>
- <view class="title">闭环管理</view>
- <view class="tips">项目进度管理</view>
- </view>
- <view class="item" :class="active===2?'active':''" @click="clickTab(2)">
- <view class="icon">
- <image src="./icon/icon_2.png" mode=""></image>
- </view>
- <view class="title">记录合集</view>
- <view class="tips">全部消息一览</view>
- </view>
- <view class="item" :class="active===3?'active':''" @click="clickTab(3)">
- <view class="icon">
- <image src="./icon/icon_3.png" mode=""></image>
- </view>
- <view class="title">我的记录</view>
- <view class="tips">记录日志一览</view>
- </view>
- </view>
- </view>
-
- <view class="line"></view>
-
- <view v-if="active === 1" class="list-box">
- <view class="list">
-
- <view class="item">
- <view class="item_l">
- <view class="day">12月</view>
- <view class="month">07</view>
- <view class="name">杨海军</view>
- </view>
- <view class="item_r">
- <view class="inner">名称:车辆申请记录</view>
- <view class="inner">
- <text class="inner_title">申请用车科室:</text>
- <text class="inner_content">信息化站</text>
- </view>
- <view class="inner">
- <text class="inner_title">申请车辆:</text>
- <text class="inner_content">福特-宁AJT326</text>
- </view>
- <view class="icon"></view>
- </view>
- </view>
-
- <view class="item">
- <view class="item_l" style="background-color: #E74C3C;">
- <view class="day">12月</view>
- <view class="month">05</view>
- <view class="name">杨海军</view>
- </view>
- <view class="item_r">
- <view class="inner">名称:车辆申请记录</view>
- <view class="inner">
- <text class="inner_title">申请用车科室:</text>
- <text class="inner_content">信息化站</text>
- </view>
- <view class="inner">
- <text class="inner_title">申请车辆:</text>
- <text class="inner_content">福特-宁AJT326</text>
- </view>
- <view class="icon"></view>
- </view>
- </view>
-
- <view class="item">
- <view class="item_l">
- <view class="day">11月</view>
- <view class="month">05</view>
- <view class="name">杨海军</view>
- </view>
- <view class="item_r">
- <view class="inner">名称:机房检查</view>
- <view class="inner">
- <text class="inner_title">负责人:</text>
- <text class="inner_content">马明君</text>
- </view>
- <view class="icon"></view>
- </view>
- </view>
-
- </view>
- </view>
- <view v-if="active === 2">
- <view class="section">
- <view class="section_title">公共:</view>
- <view class="section_content">
- <view class="list">
- <view class="item">
- <view class="left">宁东运营</view>
- <view class="right">
- <view class="name">宁东运营</view>
- <view class="inner">
- <view class="inner_left">
- <view class="inner_icon">
- <uni-icons type="star" color="#A2A4A6" size="16"></uni-icons>
- </view>
- <view class="inner_text">
- 在“车辆管理”中“计划派车情况”.....
- </view>
- </view>
- <view class="inner_time">
- 33分钟前
- </view>
- </view>
- </view>
- <view class="icon_badge">
- <uni-badge text="3" type="error" size="small"></uni-badge>
- </view>
- </view>
-
- </view>
- </view>
- </view>
- <view class="section">
- <view class="section_title" style="padding-top: 22rpx;">机关部室:</view>
- <view class="section_content">
- <view class="list">
- <view class="item">
- <view class="left">综采三队</view>
- <view class="right">
- <view class="name">综采三队</view>
- <view class="inner">
- <view class="inner_left">
- <view class="inner_icon">
- <uni-icons type="star" color="#A2A4A6" size="16"></uni-icons>
- </view>
- <view class="inner_text">
- 测试内容
- </view>
- </view>
- <view class="inner_time">
- 33分钟前
- </view>
- </view>
- </view>
- <view class="icon_badge">
- <uni-badge text="2" type="error" size="small"></uni-badge>
- </view>
- </view>
- <view class="item">
- <view class="left">综采二队</view>
- <view class="right">
- <view class="name">综采二队</view>
- <view class="inner">
- <view class="inner_left">
- <view class="inner_icon">
- <uni-icons type="star" color="#A2A4A6" size="16"></uni-icons>
- </view>
- <view class="inner_text">
- 测试内容
- </view>
- </view>
- <view class="inner_time">
- 昨天
- </view>
- </view>
- </view>
- <view class="icon_badge">
- <uni-badge text="2" type="error" size="small"></uni-badge>
- </view>
- </view>
-
- </view>
- </view>
- </view>
- </view>
- <view v-if="active === 3" class="list-box">
- <view class="list">
- <view class="item">
- <view class="item_l">
- <view class="day">06</view>
- <view class="month">05月</view>
- <view class="name">测试</view>
- </view>
- <view class="item_r">
- <view class="inner">名称:车辆审批记录</view>
- <view class="inner">
- <text class="inner_title">是否有车:</text>
- <text class="inner_content">有</text>
- </view>
- <view class="icon"></view>
- </view>
- </view>
-
- <view class="item">
- <view class="item_l">
- <view class="day">06</view>
- <view class="month">05月</view>
- <view class="name">测试</view>
- </view>
- <view class="item_r">
- <view class="inner">名称:管理日报</view>
- <view class="inner">
- <text class="inner_title">状态:</text>
- <text class="inner_content">正常</text>
- </view>
- <view class="icon"></view>
- </view>
- </view>
-
- </view>
- </view>
-
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- active:1,
-
- };
- },
- methods:{
- clickTab(active){
- this.active = active
- }
- }
- }
- </script>
- <style lang="scss">
- .tab_box{
- height: 219rpx;
- .tab_list{
- padding-top: 33rpx;
- display: flex;
- justify-content: space-between;
- .item{
- width: 230rpx;
- text-align: center;
- .icon{
- image{
- transition: 1s;
- width: 70rpx;
- height: 70rpx;
- }
- }
- .title{
- transition: 1s;
- height: 34rpx;
- font-size: 25rpx;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #BDC3C7;
- line-height: 34rpx;
- }
- .tips{
- transition: 1s;
- height: 29rpx;
- font-size: 21rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #A2A4A6;
- line-height: 29rpx;
- }
- }
- .active{
- .icon{
- image{
- width: 90rpx;
- height: 90rpx;
- }
- }
- .title{
- height: 42rpx;
- font-size: 29rpx;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #2C3E50;
- line-height: 42rpx;
- }
- .tips{
- height: 34rpx;
- font-size: 25rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #A2A4A6;
- line-height: 34rpx;
- }
- }
- }
- }
-
- .line{
- width: 100%;
- height: 22rpx;
- background-color: #f0f0f0;
- }
-
- .list-box{
- background-color: #f6f6f6;
- box-sizing: border-box;
- padding-top: 19rpx;
- padding-left: 24rpx;
- padding-right: 24rpx;
- .list{
- .item{
- margin-bottom: 21rpx;
- background-color: #fff;
- display: flex;
- height: 175rpx;
- border-radius: 10rpx;
-
- .item_l{
- box-sizing: border-box;
- padding-top: 10rpx;
- padding-left: 22rpx;
- padding-right: 12rpx;
- width: 171rpx;
- height: 175rpx;
- background: #3498DB;
- border-radius: 10rpx;
- .day{
- height: 68rpx;
- font-size: 48rpx;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #FFFFFF;
- line-height: 68rpx;
- }
- .month{
- text-align: right;
- height: 44rpx;
- font-size: 31rpx;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #FFFFFF;
- line-height: 44rpx;
- }
- .name{
- text-align: center;
- height: 47rpx;
- font-size: 33rpx;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #FFFFFF;
- line-height: 47rpx;
- }
- }
- .item_r{
- position: relative;
- width: 531rpx;
- box-sizing: border-box;
- padding-top: 14rpx;
- margin-left: 12rpx;
-
- display: flex;
- align-items: center;
- flex-wrap: wrap;
- .inner{
- width: 500rpx;
- margin-bottom: 12rpx;
- height: 42rpx;
- font-size: 29rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #2C3E50;
- line-height: 42rpx;
-
- .inner_title{
-
- }
- .inner_content{
- color: #E74C3C;
- }
- }
- .inner:last-child{
- margin-bottom: 0;
- background-color: red;
- }
- .icon{
- position: absolute;
- top: 0;
- right: 24rpx;
- width: 40rpx;
- height: 51rpx;
- background-image: url(icon/list1.png);
- background-size: cover;
- background-repeat: no-repeat;
- }
- }
- }
- }
-
-
-
- }
- .section{
- .section_title{
-
- background-color: #f0f0f0;
- padding-bottom: 22rpx;
- padding-left: 24rpx;
- padding-right: 24rpx;
- font-size: 29rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #A2A4A6;
- }
- .section_content{
- box-sizing: border-box;
- padding: 25rpx 0rpx;
- .list{
- padding-left: 25rpx;
- padding-right: 25rpx;
- .item{
- margin-bottom: 20rpx;
- width: 700rpx;
- border: 1rpx solid #f3f3f3;
- border-radius: 10rpx;
-
- box-sizing: border-box;
- padding: 15rpx 20rpx;
-
- box-shadow: rgba(62,57,107,0.3) 0px 6rpx 16rpx 0px;
-
- display: flex;
- align-items: center;
-
- position: relative;
-
- border-right: 14rpx solid #009fe8;
- .left{
- width: 100rpx;
- height: 100rpx;
- border-radius: 50%;
- background-color: #009fe8;
-
- font-size: 29rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #fff;
-
- box-sizing: border-box;
- padding: 20rpx;
-
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .right{
- width: 520rpx;
- margin-left: 20rpx;
- .name{
- width: 500rpx;
- font-size: 29rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 600;
- color: #333;
- }
- .inner{
- margin-top: 5rpx;
- display: flex;
- align-items: center;
- justify-content: space-between;
-
- .inner_left{
- width: 400rpx;
- display: flex;
- align-items: center;
- .inner_icon{
- width: 40rpx;
- height: 40rpx;
- line-height: 40rpx;
- }
- .inner_text{
- margin-left: 4rpx;
- margin-top: 4rpx;
- height: 40rpx;
- line-height: 40rpx;
- font-size: 24rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- color: #A2A4A6;
-
- overflow: hidden;
- text-overflow:ellipsis;
- white-space: nowrap;
- }
- }
- .inner_time{
- width: 120rpx;
- height: 40rpx;
- line-height: 40rpx;
- text-align: right;
- font-size: 18rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- color: #A2A4A6;
- }
- }
- }
- .icon_badge{
- position: absolute;
- top: 20rpx;
- right: 20rpx;
-
-
- }
- }
- }
- }
- }
- </style>
|