evaluate.vue
2.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<template>
<view class="conetnt">
<view class="outerBox">
<view class="item" v-for="(item,index) in list" :key="index">
<view class="userBox">
<view class="" style="display: flex;align-items: center;">
<image :src="item.userIMG" mode="" class="userImg"></image>
<text style="padding-left: 20rpx;">{{item.name}}</text>
</view>
<view class="time">
{{item.time}}
</view>
</view>
<view class="detail">
<image src="../../static/ic_23@2x.png" mode=""></image>
<text style="padding-left: 30rpx;">{{item.detail}}</text>
</view>
<view class="contentTEXT">
{{item.content}}
</view>
<view class="imgBox">
<view class="" v-for="(items,indexs) in item.imgList" :key="indexs" style="margin-right: 6rpx;">
<image :src="items" mode="" ></image>
</view>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
list: [{
userIMG: '../../static/ic_1@2x.png',
name: '张**',
time: '2021-12-12',
detail: '海蓝色,256G',
content: '伏尔泰在不经意间这样说过,不经巨大的困难,不会有伟大的事业。带着这句话,我们还要更加慎重的审视这个问题: 这种事实对本人来说意义重大,相信对这个世界也是有一定意义的。',
imgList: ['../../static/ic_21@2x.png', '../../static/ic_21@2x.png']
}, {
userIMG: '../../static/ic_1@2x.png',
name: '张**',
time: '2021-12-12',
detail: '海蓝色,256G',
content: '伏尔泰在不经意间这样说过,不经巨大的困难,不会有伟大的事业。带着这句话,我们还要更加慎重的审视这个问题: 这种事实对本人来说意义重大,相信对这个世界也是有一定意义的。',
imgList: ['../../static/ic_21@2x.png','../../static/ic_21@2x.png']
}]
}
}
}
</script>
<style>
.content {
padding: 0 32rpx;
box-sizing: border-box;
}
.item {
padding: 32rpx;
box-sizing: border-box;
border-bottom: 2rpx solid #ebedf0;
}
.userBox {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 28rpx;
}
.userImg {
width: 60rpx;
border-radius: 50%;
height: 60rpx;
}
.time {
font-size: 24rpx;
color: #C8C9CC;
}
.detail {
font-size: 20rpx;
color: #646566;
margin-top: 30rpx;
}
.contentTEXT {
margin-top: 30rpx;
font-size: 26rpx;
color: #323233;
}
.detail image {
width: 20rpx;
height: 20rpx;
}
.imgBox {
margin-top: 20rpx;
display: flex;
}
.imgBox image {
width: 136rpx;
height: 136rpx;
border-radius: 8rpx;
}
</style>