answerDetails.vue
5.1 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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
<template>
<view class="answerDetails">
<view class="answerDetails-c">
<view class="myQuestion-2-i-1">
<view class="myQuestion-2-i-1-l">
<image class="myQuestion-2-i-1-l-i" src="@/static/images/tx.png" mode="widthFix"></image>
</view>
<view class="myQuestion-2-i-1-r">
<view class="myQuestion-2-i-1-r-1">李晋心</view>
<view class="myQuestion-2-i-1-r-2">2023-12-10发布</view>
</view>
</view>
<view class="myQuestion-2-i-2">
老师你好请问工商管理专业的应届生可以报考工商管理
内的二级专业吗?比如说会计学,旅游管理?
</view>
<view class="myQuestion-2-i-5"></view>
<view class="myQuestion-2-i-4">
<u--image
v-for="(item, index) in []"
:key="index"
radius="15rpx"
height="145rpx"
width="145rpx"
@click.native="seeImg(index)"
:src="item"></u--image>
</view>
<view class="myQuestion-2-i-3">
<view class="myQuestion-2-i-3-c">
<view class="myQuestion-2-i-3-c-1">
<view class="myQuestion-2-i-3-c-1-l">
<image class="myQuestion-2-i-3-c-1-l-i" src="@/static/images/tx.png" mode="widthFix"></image>
<text class="myQuestion-2-i-3-c-1-l-t">程菲老师回复</text>
</view>
<view class="myQuestion-2-i-3-c-1-r">2023-12-10</view>
</view>
<view class="myQuestion-2-i-3-c-2">
同学你好,这个问题问的好,你说的这些都是不可以报的!
</view>
<view style="margin-top: 28rpx;">
<VoicePlayback />
</view>
<u-empty
mode="data"
text="暂无回复"
icon="/static/imagesV2/icon43.png"
>
</u-empty>
</view>
</view>
</view>
<view class="answerDetails-b">
<view class="answerDetails-b-c">
<view class="answerDetails-b-c-l">
<view class="answerDetails-b-c-l-1">请对本次答复</view>
<view class="answerDetails-b-c-l-2">评分</view>
</view>
<view class="answerDetails-b-c-r">
<u-rate :count="5" v-model="score" size="20"></u-rate>
<view class="answerDetails-b-c-r-c">提交</view>
</view>
</view>
</view>
</view>
</template>
<script>
import VoicePlayback from "./components/VoicePlayback/index.vue"
export default {
components: {
VoicePlayback
},
data() {
return {
score: 5
}
},
methods: {
}
}
</script>
<style lang="scss" scoped>
.answerDetails{
padding: 20rpx 25rpx;
.answerDetails-b{
position: fixed;
left: 0;
width: 100%;
bottom: 0;
width: 100%;
padding-bottom: calc(env(safe-area-inset-bottom));
background: #FFFFFF;
.answerDetails-b-c{
height: 120rpx;
display: flex;
align-items: center;
padding: 0 24rpx;
.answerDetails-b-c-l{
text-align: center;
position: relative;
padding-right: 29rpx;
flex-shrink: 0;
&:before{
content: '';
position: absolute;
height: 58rpx;
border-left: #E6E6E6 solid 1rpx;
right: 0;
top: 50%;
transform: translateY(-50%);
}
.answerDetails-b-c-l-1{
font-size: 24rpx;
color: #979797;
}
.answerDetails-b-c-l-2{
font-size: 26rpx;
color: #323232;
margin-top: 5rpx;
}
}
.answerDetails-b-c-r{
flex-grow: 1;
display: flex;
justify-content: space-between;
padding-left: 65rpx;
.answerDetails-b-c-r-c{
height: 88rpx;
line-height: 88rpx;
color: #FFFFFF;
padding: 0 55rpx;
background: #2D81FF;
border-radius: 200rpx;
}
}
}
}
.answerDetails-c{
padding: 30rpx;
background-color: #FFFFFF;
box-sizing: border-box;
.myQuestion-2-i-1{
display: flex;
align-items: center;
.myQuestion-2-i-1-l{
.myQuestion-2-i-1-l-i{
height: 60rpx;
width: 60rpx;
border-radius: 100%;
}
}
.myQuestion-2-i-1-r{
margin-left: 30rpx;
.myQuestion-2-i-1-r-1{
font-size: 26rpx;
color: #323232;
font-weight: bold;
}
.myQuestion-2-i-1-r-2{
font-size: 24rpx;
color: #979797;
margin-top: 5rpx;
}
}
}
.myQuestion-2-i-2{
line-height: 39rpx;
color: #323232;
font-size: 26rpx;
margin: 30rpx 0;
}
.myQuestion-2-i-3{
padding-top: 33rpx;
.myQuestion-2-i-3-c{
border-radius: 20rpx;
background: #F5F6F8;
padding: 30rpx;
.myQuestion-2-i-3-c-1{
display: flex;
justify-content: space-between;
align-items: center;
.myQuestion-2-i-3-c-1-l{
display: flex;
align-items: center;
.myQuestion-2-i-3-c-1-l-i{
height: 48rpx;
width: 48rpx;
border-radius: 200rpx;
}
.myQuestion-2-i-3-c-1-l-t{
font-size: 26rpx;
margin-left: 19rpx;
color: #323232;
}
}
.myQuestion-2-i-3-c-1-r{
font-size: 24rpx;
color: #979797;
}
}
.myQuestion-2-i-3-c-2{
line-height: 39rpx;
font-size: 26rpx;
color: #323232;
margin-top: 28rpx;
}
}
}
.myQuestion-2-i-4{
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-row-gap: 20rpx;
grid-column-gap: 20rpx;
margin-top: 30rpx;
}
.myQuestion-2-i-5{
border-top: 1rpx #F3F3F7 dashed;
margin: 20rpx 0;
}
}
}
</style>