|
@@ -1,17 +1,23 @@
|
1
|
1
|
<template>
|
2
|
|
- <div class="context">
|
|
2
|
+ <div class="context" :style="{backgroundImage: 'url(' + (coverImgUrl ?BgImage:BgImg) + ')'}" @touchstart='touchStart'
|
|
3
|
+ @touchmove='touchMove'>
|
3
|
4
|
<img class="BannerImage" :src="activity.Banner">
|
4
|
|
- <div :class="isOK?searchs:searchb">
|
5
|
|
- <input placeholder="输入编号或姓名" v-model="q">
|
6
|
|
- <img class="IconSearch" :src="IconSearch" @click="search">
|
7
|
|
- <!-- <i class="iconfont icon-sousuo3 IconSearch"></i> -->
|
|
5
|
+ <div :class="IsOk?onscroll1:onscroll2">
|
|
6
|
+ <div :class="isOK?searchs:searchb">
|
|
7
|
+ <input placeholder="输入编号或姓名" v-model="q">
|
|
8
|
+ <img class="IconSearch" :src="IconSearch" @click="search">
|
|
9
|
+ </div>
|
8
|
10
|
</div>
|
9
|
11
|
<img class="informationimg" :src="activity.Desc">
|
10
|
12
|
<span class="box"></span>
|
11
|
13
|
<div class="VoteListBox">
|
12
|
14
|
<div class="VoteList">
|
13
|
15
|
<van-tabs type="card" @click="finished = false">
|
14
|
|
- <van-tab title="最新上传">
|
|
16
|
+ <van-tab>
|
|
17
|
+ <div slot="title">
|
|
18
|
+ <span v-if="first" :class="active?newly1:newly2">最新上传</span>
|
|
19
|
+ <span v-else :class="active?newlyone:newlytwo">最新上传</span>
|
|
20
|
+ </div>
|
15
|
21
|
<van-list
|
16
|
22
|
v-model="loading"
|
17
|
23
|
:finished="finished"
|
|
@@ -35,6 +41,10 @@
|
35
|
41
|
</van-list>
|
36
|
42
|
</van-tab>
|
37
|
43
|
<van-tab title="TOP50">
|
|
44
|
+ <div slot="title">
|
|
45
|
+ <span v-if="first" :class="active?newly1:newly2">TOP50</span>
|
|
46
|
+ <span v-else :class="active?newlyone:newlytwo">TOP50</span>
|
|
47
|
+ </div>
|
38
|
48
|
<van-list v-model="loading" :finished="finished" finished-text="没有更多了" @load="loadTopList">
|
39
|
49
|
<div class="LatestUpload">
|
40
|
50
|
<div class="LatestUploadList" v-for="(item,index) in topList" :key="index">
|
|
@@ -55,7 +65,7 @@
|
55
|
65
|
</van-tabs>
|
56
|
66
|
</div>
|
57
|
67
|
</div>
|
58
|
|
- <button class="signupBtn" @click="signup">我要报名</button>
|
|
68
|
+ <button :class="signupBtn?'signupBtnOne':'signupBtnTwo'" @click="signup">我要报名</button>
|
59
|
69
|
<toast v-if="show" :url="activity.AfterVote" @close="close" @confirmbtn="tolink"></toast>
|
60
|
70
|
</div>
|
61
|
71
|
</template>
|
|
@@ -64,6 +74,9 @@
|
64
|
74
|
import { createNamespacedHelpers } from "vuex"
|
65
|
75
|
import wxsdk from '../../util/share.js'
|
66
|
76
|
import toast from '../../components/toast.vue'
|
|
77
|
+import BgImg from "../../assets/bgimg.jpg";
|
|
78
|
+import BgImage from "../../assets/yttjbg.png";
|
|
79
|
+// import toast from "../../components/toast.vue";
|
67
|
80
|
|
68
|
81
|
const {
|
69
|
82
|
mapState: mapactivityState,
|
|
@@ -74,10 +87,37 @@ export default {
|
74
|
87
|
name: "lotterylist",
|
75
|
88
|
data() {
|
76
|
89
|
return {
|
77
|
|
- // AudioPlay: ''
|
78
|
|
- isOK:true,
|
79
|
|
- searchs:'searchs',
|
80
|
|
- searchb:'searchb',
|
|
90
|
+ startY:0,//开始触摸的位置
|
|
91
|
+ moveY:0,//滑动时的位置
|
|
92
|
+ endX:0,//结束触摸的位置
|
|
93
|
+ disY:0,//移动距离
|
|
94
|
+ first: false,
|
|
95
|
+ second: false,
|
|
96
|
+ active: true,
|
|
97
|
+ isactive: true,
|
|
98
|
+ newly1: "newly1",
|
|
99
|
+ newly2: "newly2",
|
|
100
|
+ newlyone: "newlyone",
|
|
101
|
+ newlytwo: "newlytwo",
|
|
102
|
+ temp: true,
|
|
103
|
+ signupBtn: true,
|
|
104
|
+ signupBtnOne: "signupBtnOne",
|
|
105
|
+ signupBtnTwo: "signupBtnTwo",
|
|
106
|
+ VoteBtn1: "VoteBtn1",
|
|
107
|
+ VoteBtn2: "VoteBtn2",
|
|
108
|
+ ballot1: "ballot1",
|
|
109
|
+ ballot2: "ballot2",
|
|
110
|
+ coverImgUrl: true,
|
|
111
|
+ isOK: true,
|
|
112
|
+ IsOk: true,
|
|
113
|
+ searchs: "searchs",
|
|
114
|
+ searchb: "searchb",
|
|
115
|
+ onscroll1: "onscroll1",
|
|
116
|
+ onscroll2: "onscroll2",
|
|
117
|
+ ActivePersonnelBox1: "ActivePersonnelBox1",
|
|
118
|
+ ActivePersonnelBox2: "ActivePersonnelBox2",
|
|
119
|
+ BgImg,
|
|
120
|
+ BgImage,
|
81
|
121
|
IconSearch:
|
82
|
122
|
"https://spaceofcheng.oss-cn-beijing.aliyuncs.com/voting/yttj_icon_search.png",
|
83
|
123
|
tab: "",
|
|
@@ -96,6 +136,10 @@ export default {
|
96
|
136
|
},
|
97
|
137
|
mounted() {
|
98
|
138
|
window.addEventListener("scroll", this.handleScroll, true);
|
|
139
|
+
|
|
140
|
+ // var mybody = document.getElementsByTagName('body')[0]
|
|
141
|
+ // mybody.addEventListener("touchstart", this.touchstart);
|
|
142
|
+ // mybody.addEventListener("touchmove", this.touchmove);
|
99
|
143
|
// 监听(绑定)滚轮 滚动事件
|
100
|
144
|
},
|
101
|
145
|
computed: {
|
|
@@ -109,6 +153,17 @@ export default {
|
109
|
153
|
created() {
|
110
|
154
|
this.pageSize = this.$store.state.pageSize
|
111
|
155
|
this.actid = this.$route.params.actid
|
|
156
|
+ if (this.actid == 1) {
|
|
157
|
+ this.coverImgUrl = true;
|
|
158
|
+ this.signupBtn = true;
|
|
159
|
+ this.isOK = true;
|
|
160
|
+ this.first = true;
|
|
161
|
+ } else if (this.actid == 2) {
|
|
162
|
+ this.coverImgUrl = false;
|
|
163
|
+ this.signupBtn = false;
|
|
164
|
+ this.isOK = false;
|
|
165
|
+ this.second = true;
|
|
166
|
+ }
|
112
|
167
|
this.getActivity({
|
113
|
168
|
actid: this.actid,
|
114
|
169
|
}).then((act) => {
|
|
@@ -146,21 +201,41 @@ export default {
|
146
|
201
|
'vote',
|
147
|
202
|
'getMine',
|
148
|
203
|
]),
|
|
204
|
+ qh(t) {
|
|
205
|
+ this.temp = t;
|
|
206
|
+ if (t == true) {
|
|
207
|
+ this.active = true;
|
|
208
|
+ this.isactive = true;
|
|
209
|
+ } else {
|
|
210
|
+ this.active = false;
|
|
211
|
+ this.isactive = false;
|
|
212
|
+ }
|
|
213
|
+ },
|
|
214
|
+
|
149
|
215
|
handleScroll() {
|
150
|
216
|
// 页面滚动距顶部距离
|
151
|
217
|
var scrollTop =
|
152
|
218
|
window.pageYOffset ||
|
153
|
219
|
document.documentElement.scrollTop ||
|
154
|
220
|
document.body.scrollTop;
|
155
|
|
- window.console.log(scrollTop);
|
156
|
|
- if(scrollTop>=280){
|
157
|
|
- this.isOK =false;
|
158
|
|
- }else {
|
159
|
|
- this.isOK=true;
|
160
|
|
- }
|
|
221
|
+ if (scrollTop >= 269) {
|
|
222
|
+ this.IsOk = false;
|
|
223
|
+ } else {
|
|
224
|
+ this.IsOk = true;
|
|
225
|
+ }
|
|
226
|
+ },
|
|
227
|
+
|
|
228
|
+ onLoad() {
|
|
229
|
+ // 异步更新数据
|
|
230
|
+ // setTimeout(() => {
|
|
231
|
+ // for (let i = 0; i < 10; i++) {
|
|
232
|
+ // this.list.push(this.list.length + 1);
|
|
233
|
+ // }
|
|
234
|
+ // // 加载状态结束
|
|
235
|
+ // this.loading = false;
|
161
|
236
|
|
162
|
|
- // var scroll = scrollTop - this.i;
|
163
|
|
- this.i = scrollTop;
|
|
237
|
+ // // var scroll = scrollTop - this.i;
|
|
238
|
+ // this.i = scrollTop;
|
164
|
239
|
|
165
|
240
|
// if (scroll < 0) {
|
166
|
241
|
// this.isFixed =false;
|
|
@@ -171,6 +246,7 @@ export default {
|
171
|
246
|
// }
|
172
|
247
|
// console.log("down");
|
173
|
248
|
// }
|
|
249
|
+ // }
|
174
|
250
|
},
|
175
|
251
|
newlist() {
|
176
|
252
|
return this.getList({
|
|
@@ -265,42 +341,8 @@ export default {
|
265
|
341
|
</script>
|
266
|
342
|
|
267
|
343
|
<style>
|
268
|
|
-.van-tabs--card {
|
269
|
|
- width: 100%;
|
270
|
|
-}
|
271
|
|
-.van-tabs__nav--card {
|
272
|
|
- height: 100%;
|
273
|
|
- border: none;
|
274
|
|
- margin: 0;
|
275
|
|
-}
|
276
|
|
-.van-tabs__wrap {
|
|
344
|
+.van-list {
|
277
|
345
|
width: 100%;
|
278
|
|
- z-index: 0;
|
279
|
|
-}
|
280
|
|
-.van-tabs__nav--card .van-tab.van-tab--active {
|
281
|
|
- background-color: rgba(166, 184, 201, 1);
|
282
|
|
- border-radius: 0.06rem;
|
283
|
|
-}
|
284
|
|
-.van-tabs--card .van-tabs__wrap {
|
285
|
|
- height: 0.4rem;
|
286
|
|
-}
|
287
|
|
-.van-tabs__nav--card .van-tab {
|
288
|
|
- border-right: none;
|
289
|
|
- background-color: rgba(217, 226, 233, 1);
|
290
|
|
- border-radius: 0.06rem;
|
291
|
|
- width: 100%;
|
292
|
|
- margin: 0 0.075rem;
|
293
|
|
- display: flex;
|
294
|
|
- justify-content: center;
|
295
|
|
- align-items: center;
|
296
|
|
-}
|
297
|
|
-.van-ellipsis {
|
298
|
|
- font-size: 0.16rem;
|
299
|
|
- font-family: PingFangSC-Medium;
|
300
|
|
- font-weight: bold;
|
301
|
|
- color: rgba(255, 255, 255, 1);
|
302
|
|
- line-height: 0.22rem;
|
303
|
|
- text-align: center;
|
304
|
346
|
}
|
305
|
347
|
</style>
|
306
|
348
|
|
|
@@ -308,7 +350,7 @@ export default {
|
308
|
350
|
<style lang="scss" scoped>
|
309
|
351
|
.context {
|
310
|
352
|
width: 100%;
|
311
|
|
- background-color: rgba(209, 220, 228, 1);
|
|
353
|
+ // background-color: rgba(209, 220, 228, 1);
|
312
|
354
|
display: flex;
|
313
|
355
|
flex-direction: column;
|
314
|
356
|
justify-content: center;
|
|
@@ -318,84 +360,185 @@ export default {
|
318
|
360
|
width: 100%;
|
319
|
361
|
height: 3.4rem;
|
320
|
362
|
}
|
321
|
|
-.searchb{
|
322
|
|
- width: 93%;
|
|
363
|
+
|
|
364
|
+ .onscroll1 {
|
|
365
|
+ width: 90%;
|
323
|
366
|
height: 0.44rem;
|
324
|
|
- background-color: rgba(201, 214, 224, 1);
|
325
|
|
- border-radius: 6px;
|
326
|
|
- border: 0.01rem solid rgba(255, 255, 255, 1);
|
327
|
|
- display: flex;
|
328
|
|
- flex-direction: row;
|
329
|
|
- justify-content: space-between;
|
330
|
|
- align-items: center;
|
331
|
|
- position: fixed;
|
332
|
|
- top: 0;
|
333
|
|
- left: calc(3.1%);
|
|
367
|
+ position: absolute;
|
|
368
|
+ top: 2.8rem;
|
|
369
|
+ left: calc(5%);
|
334
|
370
|
|
335
|
|
- input {
|
336
|
|
- // padding: 0.11rem 1.2rem 0.11rem 0.13rem;
|
337
|
|
- background-color: rgba(255, 255, 255, 0);
|
338
|
|
- color: rgba(255, 255, 255, 1);
|
339
|
|
- font-size: 0.16rem;
|
340
|
|
- font-family: PingFangSC-Regular;
|
341
|
|
- font-weight: 400;
|
342
|
|
- line-height: 0.22rem;
|
343
|
|
- width: 5rem;
|
344
|
|
- text-indent: 0.1rem;
|
345
|
|
- }
|
346
|
|
- input::-webkit-input-placeholder {
|
347
|
|
- color: rgba(255, 255, 255, 1);
|
348
|
|
- font-size: 0.16rem;
|
349
|
|
- font-family: PingFangSC-Regular;
|
350
|
|
- font-weight: 400;
|
351
|
|
- line-height: 0.22rem;
|
|
371
|
+ .searchb {
|
|
372
|
+ width: 100%;
|
|
373
|
+ height: 100%;
|
|
374
|
+ background-color: rgba(118, 89, 81, 1);
|
|
375
|
+ border-radius: 0.22rem;
|
|
376
|
+ border: 0.01rem solid rgba(255, 255, 255, 1);
|
|
377
|
+ display: flex;
|
|
378
|
+ flex-direction: row;
|
|
379
|
+ justify-content: space-between;
|
|
380
|
+ align-items: center;
|
|
381
|
+
|
|
382
|
+ input {
|
|
383
|
+ // padding: 0.11rem 1.2rem 0.11rem 0.13rem;
|
|
384
|
+ background-color: rgba(255, 255, 255, 0);
|
|
385
|
+ color: rgba(255, 255, 255, 1);
|
|
386
|
+ font-size: 0.16rem;
|
|
387
|
+ font-family: PingFangSC-Regular;
|
|
388
|
+ font-weight: bold;
|
|
389
|
+ line-height: 0.22rem;
|
|
390
|
+ width: 3rem;
|
|
391
|
+ text-indent: 0.14rem;
|
|
392
|
+ }
|
|
393
|
+ input::-webkit-input-placeholder {
|
|
394
|
+ color: rgba(255, 255, 255, 1);
|
|
395
|
+ font-size: 0.16rem;
|
|
396
|
+ font-family: PingFangSC-Regular;
|
|
397
|
+ font-weight: bold;
|
|
398
|
+ line-height: 0.22rem;
|
|
399
|
+ }
|
|
400
|
+ .IconSearch {
|
|
401
|
+ width: 0.2rem;
|
|
402
|
+ height: 0.2rem;
|
|
403
|
+ margin-right: 0.14rem;
|
|
404
|
+ }
|
352
|
405
|
}
|
353
|
|
- .IconSearch {
|
354
|
|
- width: 0.2rem;
|
355
|
|
- height: 0.2rem;
|
356
|
|
- margin-right: 0.1rem;
|
|
406
|
+ }
|
|
407
|
+
|
|
408
|
+ .onscroll2 {
|
|
409
|
+ width: 90%;
|
|
410
|
+ height: 0.44rem;
|
|
411
|
+ position: fixed;
|
|
412
|
+ top: 0.11rem;
|
|
413
|
+ left: calc(5%);
|
|
414
|
+
|
|
415
|
+ .searchb {
|
|
416
|
+ width: 100%;
|
|
417
|
+ height: 100%;
|
|
418
|
+ background-color: rgba(118, 89, 81, 1);
|
|
419
|
+ border-radius: 0.22rem;
|
|
420
|
+ border: 0.01rem solid rgba(255, 255, 255, 1);
|
|
421
|
+ display: flex;
|
|
422
|
+ flex-direction: row;
|
|
423
|
+ justify-content: space-between;
|
|
424
|
+ align-items: center;
|
|
425
|
+
|
|
426
|
+ input {
|
|
427
|
+ // padding: 0.11rem 1.2rem 0.11rem 0.13rem;
|
|
428
|
+ background-color: rgba(255, 255, 255, 0);
|
|
429
|
+ color: rgba(255, 255, 255, 1);
|
|
430
|
+ font-size: 0.16rem;
|
|
431
|
+ font-family: PingFangSC-Regular;
|
|
432
|
+ font-weight: bold;
|
|
433
|
+ line-height: 0.22rem;
|
|
434
|
+ width: 3rem;
|
|
435
|
+ text-indent: 0.14rem;
|
|
436
|
+ }
|
|
437
|
+ input::-webkit-input-placeholder {
|
|
438
|
+ color: rgba(255, 255, 255, 1);
|
|
439
|
+ font-size: 0.16rem;
|
|
440
|
+ font-family: PingFangSC-Regular;
|
|
441
|
+ font-weight: bold;
|
|
442
|
+ line-height: 0.22rem;
|
|
443
|
+ }
|
|
444
|
+ .IconSearch {
|
|
445
|
+ width: 0.2rem;
|
|
446
|
+ height: 0.2rem;
|
|
447
|
+ margin-right: 0.14rem;
|
|
448
|
+ }
|
357
|
449
|
}
|
|
450
|
+ }
|
358
|
451
|
|
359
|
|
-}
|
360
|
|
- .searchs {
|
|
452
|
+ .onscroll1 {
|
361
|
453
|
width: 93%;
|
362
|
454
|
height: 0.44rem;
|
363
|
|
- background-color: rgba(201, 214, 224, 1);
|
364
|
|
- border-radius: 6px;
|
365
|
|
- border: 0.01rem solid rgba(255, 255, 255, 1);
|
366
|
|
- display: flex;
|
367
|
|
- flex-direction: row;
|
368
|
|
- justify-content: space-between;
|
369
|
|
- align-items: center;
|
370
|
455
|
position: absolute;
|
371
|
456
|
top: 2.8rem;
|
372
|
457
|
left: calc(3.1%);
|
373
|
458
|
|
374
|
|
- input {
|
375
|
|
- // padding: 0.11rem 1.2rem 0.11rem 0.13rem;
|
376
|
|
- background-color: rgba(255, 255, 255, 0);
|
377
|
|
- color: rgba(255, 255, 255, 1);
|
378
|
|
- font-size: 0.16rem;
|
379
|
|
- font-family: PingFangSC-Regular;
|
380
|
|
- font-weight: 400;
|
381
|
|
- line-height: 0.22rem;
|
382
|
|
- width: 5rem;
|
383
|
|
- text-indent: 0.1rem;
|
384
|
|
- }
|
385
|
|
- input::-webkit-input-placeholder {
|
386
|
|
- color: rgba(255, 255, 255, 1);
|
387
|
|
- font-size: 0.16rem;
|
388
|
|
- font-family: PingFangSC-Regular;
|
389
|
|
- font-weight: 400;
|
390
|
|
- line-height: 0.22rem;
|
|
459
|
+ .searchs {
|
|
460
|
+ width: 100%;
|
|
461
|
+ height: 100%;
|
|
462
|
+ background-color: rgba(201, 214, 224, 1);
|
|
463
|
+ border-radius: 0.06rem;
|
|
464
|
+ border: 0.01rem solid rgba(255, 255, 255, 1);
|
|
465
|
+ display: flex;
|
|
466
|
+ flex-direction: row;
|
|
467
|
+ justify-content: space-between;
|
|
468
|
+ align-items: center;
|
|
469
|
+
|
|
470
|
+ input {
|
|
471
|
+ // padding: 0.11rem 1.2rem 0.11rem 0.13rem;
|
|
472
|
+ background-color: rgba(255, 255, 255, 0);
|
|
473
|
+ color: rgba(255, 255, 255, 1);
|
|
474
|
+ font-size: 0.16rem;
|
|
475
|
+ font-family: PingFangSC-Regular;
|
|
476
|
+ font-weight: bold;
|
|
477
|
+ line-height: 0.22rem;
|
|
478
|
+ width: 3rem;
|
|
479
|
+ text-indent: 0.1rem;
|
|
480
|
+ }
|
|
481
|
+ input::-webkit-input-placeholder {
|
|
482
|
+ color: rgba(255, 255, 255, 1);
|
|
483
|
+ font-size: 0.16rem;
|
|
484
|
+ font-family: PingFangSC-Regular;
|
|
485
|
+ font-weight: bold;
|
|
486
|
+ line-height: 0.22rem;
|
|
487
|
+ }
|
|
488
|
+
|
|
489
|
+ .IconSearch {
|
|
490
|
+ width: 0.2rem;
|
|
491
|
+ height: 0.2rem;
|
|
492
|
+ margin-right: 0.1rem;
|
|
493
|
+ }
|
391
|
494
|
}
|
|
495
|
+ }
|
|
496
|
+
|
|
497
|
+ .onscroll2 {
|
|
498
|
+ width: 93%;
|
|
499
|
+ height: 0.44rem;
|
|
500
|
+ position: fixed;
|
|
501
|
+ top: 0.11rem;
|
|
502
|
+ left: calc(3.1%);
|
|
503
|
+
|
|
504
|
+ .searchs {
|
|
505
|
+ width: 100%;
|
|
506
|
+ height: 100%;
|
|
507
|
+ background-color: rgba(201, 214, 224, 1);
|
|
508
|
+ border-radius: 0.06rem;
|
|
509
|
+ border: 0.01rem solid rgba(255, 255, 255, 1);
|
|
510
|
+ display: flex;
|
|
511
|
+ flex-direction: row;
|
|
512
|
+ justify-content: space-between;
|
|
513
|
+ align-items: center;
|
|
514
|
+
|
|
515
|
+ input {
|
|
516
|
+ // padding: 0.11rem 1.2rem 0.11rem 0.13rem;
|
|
517
|
+ background-color: rgba(255, 255, 255, 0);
|
|
518
|
+ color: rgba(255, 255, 255, 1);
|
|
519
|
+ font-size: 0.16rem;
|
|
520
|
+ font-family: PingFangSC-Regular;
|
|
521
|
+ font-weight: bold;
|
|
522
|
+ line-height: 0.22rem;
|
|
523
|
+ width: 3rem;
|
|
524
|
+ text-indent: 0.1rem;
|
|
525
|
+ }
|
|
526
|
+ input::-webkit-input-placeholder {
|
|
527
|
+ color: rgba(255, 255, 255, 1);
|
|
528
|
+ font-size: 0.16rem;
|
|
529
|
+ font-family: PingFangSC-Regular;
|
|
530
|
+ font-weight: bold;
|
|
531
|
+ line-height: 0.22rem;
|
|
532
|
+ }
|
392
|
533
|
|
393
|
|
- .IconSearch {
|
394
|
|
- width: 0.2rem;
|
395
|
|
- height: 0.2rem;
|
396
|
|
- margin-right: 0.1rem;
|
|
534
|
+ .IconSearch {
|
|
535
|
+ width: 0.2rem;
|
|
536
|
+ height: 0.2rem;
|
|
537
|
+ margin-right: 0.1rem;
|
|
538
|
+ }
|
397
|
539
|
}
|
398
|
540
|
}
|
|
541
|
+
|
399
|
542
|
.informationimg {
|
400
|
543
|
width: 97%;
|
401
|
544
|
height: 6.24rem;
|
|
@@ -415,11 +558,78 @@ export default {
|
415
|
558
|
display: flex;
|
416
|
559
|
flex-direction: column;
|
417
|
560
|
align-items: center;
|
418
|
|
- margin-bottom: 0.19rem;
|
|
561
|
+ margin-bottom: 1rem;
|
419
|
562
|
|
420
|
563
|
.VoteList {
|
421
|
564
|
margin: 0.26rem 0;
|
422
|
565
|
width: 90%;
|
|
566
|
+ display: flex;
|
|
567
|
+ flex-direction: column;
|
|
568
|
+ align-items: center;
|
|
569
|
+
|
|
570
|
+ .sortlist1 {
|
|
571
|
+ width: 94%;
|
|
572
|
+ display: flex;
|
|
573
|
+ flex-direction: row;
|
|
574
|
+ justify-content: space-between;
|
|
575
|
+
|
|
576
|
+ .newly1 {
|
|
577
|
+ width: 47.5%;
|
|
578
|
+ font-size: 0.16rem;
|
|
579
|
+ font-family: PingFangSC-Medium;
|
|
580
|
+ font-weight: bolder;
|
|
581
|
+ color: rgba(255, 255, 255, 1);
|
|
582
|
+ line-height: 0.22rem;
|
|
583
|
+ background: rgba(166, 184, 201, 1);
|
|
584
|
+ border-radius: 0.06rem;
|
|
585
|
+ text-align: center;
|
|
586
|
+ padding: 0.09rem 0;
|
|
587
|
+ }
|
|
588
|
+ .newly2 {
|
|
589
|
+ width: 47.5%;
|
|
590
|
+ font-size: 0.16rem;
|
|
591
|
+ font-family: PingFangSC-Medium;
|
|
592
|
+ font-weight: bolder;
|
|
593
|
+ color: rgba(255, 255, 255, 1);
|
|
594
|
+ line-height: 0.22rem;
|
|
595
|
+ background: rgba(217, 226, 233, 1);
|
|
596
|
+ border-radius: 0.06rem;
|
|
597
|
+ text-align: center;
|
|
598
|
+ padding: 0.09rem 0;
|
|
599
|
+ }
|
|
600
|
+ }
|
|
601
|
+
|
|
602
|
+ .sortlist2 {
|
|
603
|
+ width: 94%;
|
|
604
|
+ display: flex;
|
|
605
|
+ flex-direction: row;
|
|
606
|
+ justify-content: space-between;
|
|
607
|
+
|
|
608
|
+ .newlyone {
|
|
609
|
+ width: 47.5%;
|
|
610
|
+ font-size: 0.16rem;
|
|
611
|
+ font-family: PingFangSC-Medium;
|
|
612
|
+ font-weight: bolder;
|
|
613
|
+ color: rgba(255, 255, 255, 1);
|
|
614
|
+ line-height: 0.22rem;
|
|
615
|
+ background: rgba(126, 100, 86, 1);
|
|
616
|
+ border-radius: 0.06rem;
|
|
617
|
+ text-align: center;
|
|
618
|
+ padding: 0.09rem 0;
|
|
619
|
+ }
|
|
620
|
+ .newlytwo {
|
|
621
|
+ width: 47.5%;
|
|
622
|
+ font-size: 0.16rem;
|
|
623
|
+ font-family: PingFangSC-Medium;
|
|
624
|
+ font-weight: bolder;
|
|
625
|
+ color: rgba(255, 255, 255, 1);
|
|
626
|
+ line-height: 0.22rem;
|
|
627
|
+ background: rgba(173, 145, 129, 0.62);
|
|
628
|
+ border-radius: 0.06rem;
|
|
629
|
+ text-align: center;
|
|
630
|
+ padding: 0.09rem 0;
|
|
631
|
+ }
|
|
632
|
+ }
|
423
|
633
|
|
424
|
634
|
|
425
|
635
|
|
|
@@ -443,7 +653,7 @@ export default {
|
443
|
653
|
align-items: center;
|
444
|
654
|
position: relative;
|
445
|
655
|
|
446
|
|
- .ActivePersonnelBox {
|
|
656
|
+ .ActivePersonnelBox1 {
|
447
|
657
|
width: 90%;
|
448
|
658
|
height: 1.83rem;
|
449
|
659
|
border-radius: 0.15rem;
|
|
@@ -456,7 +666,21 @@ export default {
|
456
|
666
|
border-radius: 0.1rem;
|
457
|
667
|
}
|
458
|
668
|
}
|
459
|
|
- .ballot {
|
|
669
|
+ .ActivePersonnelBox2 {
|
|
670
|
+ width: 90%;
|
|
671
|
+ height: 1.83rem;
|
|
672
|
+ border-radius: 0.15rem;
|
|
673
|
+ margin-bottom: 0.11rem;
|
|
674
|
+ border: 0.04rem solid rgba(126, 100, 86, 1);
|
|
675
|
+
|
|
676
|
+ img {
|
|
677
|
+ width: 100%;
|
|
678
|
+ height: 100%;
|
|
679
|
+ border-radius: 0.1rem;
|
|
680
|
+ }
|
|
681
|
+ }
|
|
682
|
+
|
|
683
|
+ .ballot1 {
|
460
|
684
|
position: absolute;
|
461
|
685
|
top: 0;
|
462
|
686
|
background: rgba(166, 184, 201, 1);
|
|
@@ -464,7 +688,19 @@ export default {
|
464
|
688
|
padding: 0.02rem 0.12rem;
|
465
|
689
|
font-size: 0.14rem;
|
466
|
690
|
font-family: PingFangSC-Medium;
|
467
|
|
- font-weight: bold;
|
|
691
|
+ font-weight: bolder;
|
|
692
|
+ color: rgba(255, 255, 255, 1);
|
|
693
|
+ line-height: 0.2rem;
|
|
694
|
+ }
|
|
695
|
+ .ballot2 {
|
|
696
|
+ position: absolute;
|
|
697
|
+ top: 0;
|
|
698
|
+ background: rgba(126, 100, 86, 1);
|
|
699
|
+ border-radius: 0 0 0.08rem 0.08rem;
|
|
700
|
+ padding: 0.02rem 0.12rem;
|
|
701
|
+ font-size: 0.14rem;
|
|
702
|
+ font-family: PingFangSC-Medium;
|
|
703
|
+ font-weight: bolder;
|
468
|
704
|
color: rgba(255, 255, 255, 1);
|
469
|
705
|
line-height: 0.2rem;
|
470
|
706
|
}
|
|
@@ -472,13 +708,13 @@ export default {
|
472
|
708
|
.ActivePersonnelName {
|
473
|
709
|
font-size: 0.16rem;
|
474
|
710
|
font-family: PingFangSC-Regular;
|
475
|
|
- font-weight: 400;
|
|
711
|
+ font-weight: bold;
|
476
|
712
|
color: rgba(0, 0, 0, 1);
|
477
|
713
|
line-height: 0.22rem;
|
478
|
714
|
padding-bottom: 0.11rem;
|
479
|
715
|
}
|
480
|
716
|
|
481
|
|
- .VoteBtn {
|
|
717
|
+ .VoteBtn1 {
|
482
|
718
|
width: 56%;
|
483
|
719
|
height: 0.23rem;
|
484
|
720
|
border-radius: 0.25rem;
|
|
@@ -486,7 +722,20 @@ export default {
|
486
|
722
|
border: none;
|
487
|
723
|
font-size: 0.14rem;
|
488
|
724
|
font-family: PingFangSC-Medium;
|
489
|
|
- font-weight: bold;
|
|
725
|
+ font-weight: bolder;
|
|
726
|
+ color: rgba(255, 255, 255, 1);
|
|
727
|
+ line-height: 0.2rem;
|
|
728
|
+ margin-bottom: 0.14rem;
|
|
729
|
+ }
|
|
730
|
+ .VoteBtn2 {
|
|
731
|
+ width: 56%;
|
|
732
|
+ height: 0.23rem;
|
|
733
|
+ border-radius: 0.25rem;
|
|
734
|
+ background-color: rgba(126, 100, 86, 1);
|
|
735
|
+ border: none;
|
|
736
|
+ font-size: 0.14rem;
|
|
737
|
+ font-family: PingFangSC-Medium;
|
|
738
|
+ font-weight: bolder;
|
490
|
739
|
color: rgba(255, 255, 255, 1);
|
491
|
740
|
line-height: 0.2rem;
|
492
|
741
|
margin-bottom: 0.14rem;
|
|
@@ -499,14 +748,14 @@ export default {
|
499
|
748
|
span {
|
500
|
749
|
font-size: 0.12rem;
|
501
|
750
|
font-family: PingFangSC-Medium;
|
502
|
|
- font-weight: bold;
|
|
751
|
+ font-weight: bolder;
|
503
|
752
|
color: rgba(0, 0, 0, 1);
|
504
|
753
|
line-height: 0.17rem;
|
505
|
754
|
}
|
506
|
755
|
p {
|
507
|
756
|
font-size: 0.12rem;
|
508
|
757
|
font-family: PingFangSC-Medium;
|
509
|
|
- font-weight: bold;
|
|
758
|
+ font-weight: bolder;
|
510
|
759
|
color: #f0737e;
|
511
|
760
|
line-height: 0.17rem;
|
512
|
761
|
}
|
|
@@ -515,7 +764,7 @@ export default {
|
515
|
764
|
}
|
516
|
765
|
}
|
517
|
766
|
}
|
518
|
|
- .signupBtn {
|
|
767
|
+ .signupBtnOne {
|
519
|
768
|
width: 91%;
|
520
|
769
|
height: 0.5rem;
|
521
|
770
|
border-radius: 0.25rem;
|
|
@@ -530,6 +779,21 @@ export default {
|
530
|
779
|
bottom: 0.19rem;
|
531
|
780
|
left: calc(4.25%);
|
532
|
781
|
}
|
|
782
|
+ .signupBtnTwo {
|
|
783
|
+ width: 91%;
|
|
784
|
+ height: 0.5rem;
|
|
785
|
+ border-radius: 0.25rem;
|
|
786
|
+ background: rgba(173, 145, 129, 1);
|
|
787
|
+ border: none;
|
|
788
|
+ font-size: 0.2rem;
|
|
789
|
+ font-family: PingFangSC-Medium;
|
|
790
|
+ font-weight: bold;
|
|
791
|
+ color: rgba(255, 255, 255, 1);
|
|
792
|
+ line-height: 0.28rem;
|
|
793
|
+ position: fixed;
|
|
794
|
+ bottom: 0.19rem;
|
|
795
|
+ left: calc(4.25%);
|
|
796
|
+ }
|
533
|
797
|
}
|
534
|
798
|
</style>
|
535
|
799
|
|