123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199 |
- <template>
- <view>
- <view class="list">
- <view class="item" v-for="item in 2">
- <view class="title">
- <view class="text">车辆管理</view>
- <view class="tip">24</view>
- </view>
- <view class="inner">
- <view class="left">
- <view class="user">
- <image
- src="https://cdn.colorhub.me/OLRn1jRkVXSyDzRLt-5hqPSEhOiCBanlo1pfEgG44dE/rs:fill:280:280:0/g:sm/bG9jYWw6Ly8vM2Iv/NTAvMTliNzNiMDY5/MjQ0YThlMDgyMzE0/MzcyMjg1ZWMxYTJh/YzRiM2I1MC5qcGVn.jpg"
- mode="aspectFill"></image>
- </view>
- </view>
- <view class="right">
- <view class="name">李建中<text>信息化站</text></view>
- <view class="text">
- 在“车辆管理”中“司机出车记录”内新增内容。
- </view>
- <view class="img_box">
- <view class="img" v-for="item in 4">
- <image
- src="https://cdn.colorhub.me/nxoruPZz2k8PIvdAOR7RPo_kI_o87nj9CEksLl_KUSE/rs:fill:280:280:0/g:sm/bG9jYWw6Ly8vNzIv/YWQvZmY2NzYzNWNh/ZGU3NTM1NTA5MzI0/MzAwYmI0M2QzZmNm/MDNkNzJhZC5qcGVn.jpg"
- mode="aspectFill"></image>
- </view>
- </view>
- <view class="time">2021-12-14 08:32:56</view>
- <view class="btn">
- <view class="icon">
- <image src="./icon/btn.png" mode=""></image>
- </view>
- <view class="btn_text" @click="go_all_list()">点击查看全部信息</view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- name: "t-o-news-tab-2",
- data() {
- return {
- };
- },
- methods:{
- go_all_list(){
- uni.navigateTo({
- url:"../../origanization/news/tab_2/all_list/all_list"
- })
- }
- }
- }
- </script>
- <style lang="scss">
- .list {
- box-sizing: border-box;
- padding: 0 25rpx;
- .item {
- margin-bottom: 20rpx;
- width: 700rpx;
- background-color: #FFFFFF;
- border-radius: 20rpx;
- box-sizing: border-box;
- padding: 0 25rpx;
- .title {
- display: flex;
- justify-content: center;
- align-items: center;
- .text {
- text-align: center;
- height: 120rpx;
- line-height: 120rpx;
- font-size: 40rpx;
- font-weight: 700;
- }
- .tip {
- margin-left: 10rpx;
- width: 64rpx;
- height: 30rpx;
- color: red;
- text-align: right;
- font-size: 24rpx;
- background-image: url(./icon/new.png);
- background-size: 43rpx 30rpx;
- background-repeat: no-repeat;
- }
- }
- .inner {
- width: 650rpx;
- display: flex;
- .left {
- .user {
- image {
- width: 90rpx;
- height: 90rpx;
- border-radius: 50%;
- }
- }
- }
- .right {
- margin-left: 20rpx;
- width: 600rpx;
- .name {
- margin-top: 5rpx;
- font-size: 32rpx;
- text {
- margin-left: 20rpx;
- font-size: 26rpx;
- color: #3a3a3a;
- }
- }
- .text {
- width: 550rpx;
- margin-top: 10rpx;
- font-size: 28rpx;
- }
- .img_box {
- margin-top: 20rpx;
- width: 550rpx;
- overflow: hidden;
- .img {
- margin-bottom: 10rpx;
- float: left;
- margin-right: 20rpx;
- image {
- width: 170rpx;
- height: 170rpx;
- border-radius: 10rpx;
- }
- }
- .img:nth-child(3n) {
- margin-right: 0;
- }
- }
- .time {
- font-size: 24rpx;
- color: #999999;
- }
- .btn {
- margin: 20rpx auto;
- width: 400rpx;
- height: 50rpx;
- background-color: #69BBFA;
- border-radius: 50rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- .icon {
- image {
- width: 23rpx;
- height: 24rpx;
-
- display: block;
- }
- }
- .btn_text {
- margin-left: 10rpx;
- font-size: 28rpx;
- color: #FFFFFF;
- }
- }
- }
- }
- }
- }
- </style>
|