shopEvaluate.vue
3.7 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<template>
<view class="page">
<view class="item">
<view class="infobox">
<image src="../../static/cai.png" mode="widthFix" class="left"></image>
<view class="info">
<view class="word">商品名称名称名称商品名称名称名称商品名称名称名称名称</view>
<view class="score">
商品评分:
<view class="num">
<image src="../../static/star.png" mode="widthFix" class="star"></image>
<image src="../../static/star.png" mode="widthFix" class="star"></image>
<image src="../../static/star.png" mode="widthFix" class="star"></image>
<image src="../../static/star.png" mode="widthFix" class="star"></image>
<image src="../../static/nostar.png" mode="widthFix" class="star" style="margin-right: 0;"></image>
</view>
</view>
</view>
</view>
<textarea name="" id="" cols="30" rows="10" class="fill" placeholder="请填写评价内容….."></textarea>
<view class="imgarr"><image src="../../static/add.png" mode="widthFix" class="imagItem"></image></view>
</view>
<view class="item">
<view class="infobox">
<image src="../../static/cai.png" mode="widthFix" class="left"></image>
<view class="info">
<view class="word">商品名称名称名称商品名称名称名称商品名称名称名称名称</view>
<view class="score">
商品评分:
<view class="num">
<image src="../../static/star.png" mode="widthFix" class="star"></image>
<image src="../../static/star.png" mode="widthFix" class="star"></image>
<image src="../../static/star.png" mode="widthFix" class="star"></image>
<image src="../../static/star.png" mode="widthFix" class="star"></image>
<image src="../../static/nostar.png" mode="widthFix" class="star" style="margin-right: 0;"></image>
</view>
</view>
</view>
</view>
<textarea name="" id="" cols="30" rows="10" class="fill" placeholder="请填写评价内容….."></textarea>
<view class="imgarr"><image src="../../static/add.png" mode="widthFix" class="imagItem"></image></view>
</view>
<view class="btnbox">
<view class="submit">发表评价</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {};
},
methods: {}
};
</script>
<style>
.item {
padding: 32rpx;
border-bottom: 16rpx solid #F7F7F7;
box-sizing: border-box;
background: #fff;
margin-bottom: 16rpx;
overflow: hidden;
}
.infobox {
display: flex;
align-items: center;
justify-content: space-between;
}
.left {
width: 140rpx;
}
.info {
width: 530rpx;
}
.word {
font-size: 30rpx;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: rgba(61, 69, 76, 1);
line-height: 40rpx;
}
.score {
margin-top: 22rpx;
display: flex;
align-items: center;
font-size: 28rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: rgba(61, 68, 76, 1);
}
.num {
display: flex;
align-items: center;
}
.star {
width: 32rpx;
margin-right: 24rpx;
}
.fill {
width: 686rpx;
height: 192rpx;
padding: 24rpx;
box-sizing: border-box;
background: rgba(247, 247, 247, 1);
border-radius: 16rpx;
font-size: 28rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: rgba(189, 196, 206, 1);
line-height: 42rpx;
margin-top: 66rpx;
}
.imgarr {
padding: 32rpx 0;
box-sizing: border-box;
}
.imagItem {
width: 160rpx;
margin-right: 16rpx;
}
.btnbox{
padding: 14rpx 32rpx;
box-sizing: border-box;
background: #fff;
}
.submit{
width:686rpx;
height:88rpx;
background:rgba(194,148,69,1);
border-radius:16rpx;
font-size:28rpx;
font-family:PingFangSC-Medium,PingFang SC;
font-weight:500;
color:rgba(255,255,255,1);
display: flex;
align-items: center;
justify-content: center;
}
</style>