123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- <template>
- <view class="content">
- <view class="item" v-for="item in 3">
- <view class="title">
- <view class="left">队部</view>
- <view class="right">扣分:0.03</view>
- </view>
- <view class="time">
- <view class="icon"></view>
- <view class="text">2021-03-01 08:47:40</view>
- </view>
- <view class="inner">
- <view class="item">
- <view class="label">问题描述:</view>
- <view class="text">在训练时,没有提前检查装备,不能确保完好。</view>
- </view>
- <view class="item">
- <view class="label">解决建议:</view>
- <view class="text">在训练时,没有提前检查装备,确保装备完好。</view>
- </view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- };
- }
- }
- </script>
- <style lang="scss">
- page{
- background-color: #F1F1F1;
- }
- .content{
- width: 749rpx;
-
- box-sizing: border-box;
- padding: 24rpx;
- }
- .item{
- margin-bottom: 20rpx;
- background-color: #FFFFFF;
- border-radius: 8px;
- overflow: hidden;
-
- .title{
- line-height: 80rpx;
- border-left: 8rpx solid #E54E3A;
- border-bottom: 1px solid #eee;
-
- display: flex;
- justify-content: space-between;
- .left{
- padding-left: 20rpx;
- }
- .right{
- margin-right: 20rpx;
- color: #BE5853;
- }
- }
- .time{
- height: 80rpx;
- display: flex;
- align-items: center;
-
- box-sizing: border-box;
- padding: 0 20rpx;
- .icon{
- width: 40rpx;
- height: 40rpx;
- background-image: url(./icon/time.png);
- background-size: cover;
- background-repeat: no-repeat;
- }
- .text{
- margin-left: 10rpx;
- }
- }
- .inner{
- width: 700rpx;
- box-sizing: border-box;
- padding: 0 20rpx 40rpx;
- .item{
- display: flex;
- .label{
- width: 220rpx;
- }
- .text{
- width: 480rpx;
- }
- }
- }
- }
- </style>
|