bigShotsDetails.vue
5.2 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
<template>
<view class="bigShotsDetails">
<view class="bigShotsDetails-1">
<qxcplayer class="qxcplayer-style" ref="qxcplayerRef"></qxcplayer>
<view class="bigShotsDetails-1-c">视频专辑:行测</view>
</view>
<view class="bigShotsDetails-2">
<view class="bigShotsDetails-2-1">
共<text style="color: #2D81FF;">20</text>条评价
</view>
<view class="bigShotsDetails-2-2">
<view class="bigShotsDetails-2-2-i" v-for="(item, index) in 10" :key="index">
<image class="bigShotsDetails-2-2-i-l" src="@/static/images/tx.png" mode="widthFix"></image>
<view class="bigShotsDetails-2-2-i-r">
<view class="bigShotsDetails-2-2-i-r-1">
<view class="bigShotsDetails-2-2-i-r-1-l">栾珍</view>
<view class="bigShotsDetails-2-2-i-r-1-r">2023-12-10</view>
</view>
<view class="bigShotsDetails-2-2-i-r-2">
老师讲的很仔细,可能第一册比较简单吧,没有很多 的语法知识,不过我也学到很多,这就是积累的过程, 谢谢老师
</view>
</view>
</view>
</view>
</view>
<view class="bigShotsDetails-3-c">
<view class="bigShotsDetails-3">
<view class="bigShotsDetails-3-l">
<view class="bigShotsDetails-3-l-1">
<input class="bigShotsDetails-3-l-1-in" type="text" placeholder="请输入"/>
</view>
<view class="bigShotsDetails-3-l-2">
发布
</view>
</view>
<view class="bigShotsDetails-3-r">
<view class="bigShotsDetails-3-r-i">
<image class="bigShotsDetails-3-r-i-i" src="@/static/imagesV2/icon47.png" mode="widthFix"></image>
<text>0</text>
</view>
<view class="bigShotsDetails-3-r-i">
<image class="bigShotsDetails-3-r-i-i" src="@/static/imagesV2/icon48.png" mode="widthFix"></image>
<text>0</text>
</view>
</view>
</view>
</view>
</view>
</template>
<script>
import qxcplayer from "@/components/qxcplayer/qxcplayer.vue"
export default {
components: {
qxcplayer
},
destroyed() {
// 销毁
this.$refs.qxcplayerRef.destory()
},
data() {
return {
};
},
onReachBottom() {
debugger
},
mounted() {
this.$refs.qxcplayerRef.initData({
token: 'fb08f60a1b9b32e4ba80|0|1705377109|3743-4262|6021|e7wDu4613bceC0R25|200|',
env: 'product',
name: 'qxcname',
})
}
}
</script>
<style lang="scss" scoped>
.bigShotsDetails{
.bigShotsDetails-1{
background-color: #fff;
position: sticky;
top: 0;
.bigShotsDetails-1-c{
padding: 30rpx;
font-size: 30rpx;
color: #000000;
font-weight: bold;
}
}
.bigShotsDetails-2{
padding: 0 30rpx;
margin-top: 19rpx;
background-color: #FFFFFF;
.bigShotsDetails-2-1{
font-size: 30rpx;
color: #000000;
font-weight: bold;
padding: 30rpx 0;
}
.bigShotsDetails-2-2{
padding-bottom: calc(env(safe-area-inset-bottom) + 120rpx);
.bigShotsDetails-2-2-i{
display: flex;
padding-bottom: 30rpx;
border-bottom: 1rpx solid #F3F3F7;
margin-bottom: 30rpx;
&:last-child{
border-bottom: none;
}
.bigShotsDetails-2-2-i-l{
height: 48rpx;
width: 48rpx;
border-radius: 100%;
flex-shrink: 0;
}
.bigShotsDetails-2-2-i-r{
margin-left: 20rpx;
flex-grow: 1;
.bigShotsDetails-2-2-i-r-1{
line-height: 48rpx;
display: flex;
justify-content: space-between;
.bigShotsDetails-2-2-i-r-1-l{
font-size: 26rpx;
color: #323232;
}
.bigShotsDetails-2-2-i-r-1-r{
font-size: 24rpx;
color: #979797;
}
}
.bigShotsDetails-2-2-i-r-2{
font-size: 26rpx;
color: #323232;
line-height: 39rpx;
margin-top: 20rpx;
}
}
}
}
}
.bigShotsDetails-3-c{
padding-bottom: env(safe-area-inset-bottom);
background-color: #fff;
position: fixed;
bottom: 0;
box-shadow: 0px 0px 24px 0px rgba(0,0,0,0.1);
width: 100%;
.bigShotsDetails-3{
height: 120rpx;
box-sizing: border-box;
display: flex;
align-items: center;
padding: 0 30rpx;
.bigShotsDetails-3-l{
display: flex;
align-items: center;
.bigShotsDetails-3-l-1{
height: 68rpx;
background-color: #F6F6F6;
border-radius: 200rpx;
flex-grow: 1;
display: flex;
align-items: center;
padding: 0 33rpx;
.bigShotsDetails-3-l-1-in{
font-size: 28rpx;
}
}
.bigShotsDetails-3-l-2{
height: 56rpx;
background-color: #2D81FF;
border-radius: 200rpx;
font-size: 28rpx;
color: #fff;
line-height: 56rpx;
padding: 0 23rpx;
flex-shrink: 0;
margin-left: 20rpx;
}
}
.bigShotsDetails-3-r{
margin-left: 30rpx;
display: flex;
.bigShotsDetails-3-r-i{
display: flex;
align-items: center;
font-size: 26rpx;
color: #979797;
line-height: 1.4;
position: relative;
&:first-child{
padding-right: 20rpx;
margin-right: 18rpx;
&:before{
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
content: '';
height: 18rpx;
border-right: #E6E6E6 solid 1rpx;
}
}
.bigShotsDetails-3-r-i-i{
height: 40rpx;
width: 40rpx;
margin-right: 12rpx;
}
}
}
}
}
}
</style>