|
@@ -213,21 +213,6 @@ export default {
|
213
|
213
|
memberid: memberid,
|
214
|
214
|
openid: this.user
|
215
|
215
|
}).then(() => {
|
216
|
|
- const newlist = this.newList.map(x => {
|
217
|
|
- if (x.MemberId == memberid) {
|
218
|
|
- x.Vote = x.Vote + 1;
|
219
|
|
- }
|
220
|
|
- return x;
|
221
|
|
- });
|
222
|
|
- this.newList = newlist;
|
223
|
|
- const toplist = this.topList.map(x => {
|
224
|
|
- if (x.MemberId == memberid) {
|
225
|
|
- x.Vote = x.Vote + 1;
|
226
|
|
- }
|
227
|
|
- return x;
|
228
|
|
- });
|
229
|
|
- this.topList = toplist;
|
230
|
|
-
|
231
|
216
|
if (this.activity.AfterVote) {
|
232
|
217
|
this.$dialog
|
233
|
218
|
.alert({ title: "投票成功", message: "恭喜您获得一次抽奖机会!" })
|
|
@@ -547,14 +532,14 @@ export default {
|
547
|
532
|
font-size: 0.16rem;
|
548
|
533
|
font-weight: bolder;
|
549
|
534
|
color: rgba(255, 255, 255, 1);
|
550
|
|
- background: rgba(126,100,86,1);
|
|
535
|
+ background: rgba(173,145,129,0.62);
|
551
|
536
|
line-height: 0.22rem;
|
552
|
537
|
border-radius: 0.06rem;
|
553
|
538
|
text-align: center;
|
554
|
539
|
padding: 0.09rem 0;
|
555
|
540
|
|
556
|
541
|
&.active {
|
557
|
|
- background: rgba(173,145,129,0.62);
|
|
542
|
+ background: rgba(126,100,86,1);
|
558
|
543
|
}
|
559
|
544
|
}
|
560
|
545
|
|