@alu008/test_yuanqikaixiang 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/App.vue +294 -0
  2. package/Local/en.json +3 -0
  3. package/Local/indian.json +3 -0
  4. package/Local/zh-Hans.json +3 -0
  5. package/Local/zh-Hant.json +3 -0
  6. package/README.md +1 -0
  7. package/androidPrivacy.json +28 -0
  8. package/components/ball/ball.vue +230 -0
  9. package/components/cardDetails/cardDetails.vue +273 -0
  10. package/components/confirmModal/confirmModal.vue +125 -0
  11. package/components/fillInfo/fillInfo.vue +255 -0
  12. package/components/header/header.vue +92 -0
  13. package/components/selectAddress/selectAddress.vue +156 -0
  14. package/components/signDetail/signDetail.vue +33 -0
  15. package/components/skeleton/skeleton.vue +62 -0
  16. package/index.html +20 -0
  17. package/index.template.html +35 -0
  18. package/jsconfig.json +9 -0
  19. package/main.js +48 -0
  20. package/manifest.json +159 -0
  21. package/package.json +14 -0
  22. package/pages/index/index.vue +5421 -0
  23. package/pages.json +173 -0
  24. package/project.config.json +25 -0
  25. package/project.private.config.json +14 -0
  26. package/static/fonts/Alibaba-PuHuiTi-Bold.ttf +0 -0
  27. package/static/fonts/Alibaba-PuHuiTi-Medium.ttf +0 -0
  28. package/static/fonts/Alibaba-PuHuiTi-Regular.ttf +0 -0
  29. package/static/fonts/fxlh.ttf +0 -0
  30. package/static/img/R.png +0 -0
  31. package/static/img/SR.png +0 -0
  32. package/static/img/SSR.png +0 -0
  33. package/static/img/bottomBgc1.png +0 -0
  34. package/static/img/centerBgc.png +0 -0
  35. package/static/img/goldBgc.png +0 -0
  36. package/static/img/goldText.png +0 -0
  37. package/static/img/home/calendar/bgc0.png +0 -0
  38. package/static/img/home/calendar/bgc1.png +0 -0
  39. package/static/img/home/calendar/bgc2.png +0 -0
  40. package/static/img/home/calendar/bgc3.png +0 -0
  41. package/static/img/home/calendar/progress0.png +0 -0
  42. package/static/img/home/calendar/progress1.png +0 -0
  43. package/static/img/home/calendar/progress2.png +0 -0
  44. package/static/img/home/calendar/progress3.png +0 -0
  45. package/static/img/kuang.gif +0 -0
  46. package/static/img/luckyBgc.png +0 -0
  47. package/static/img/lucyText.png +0 -0
  48. package/static/img/top_Bgc.png +0 -0
  49. package/subpackages/article/article.vue +64 -0
  50. package/subpackages/confirmSendLogistics/confirmSendLogistics.vue +1035 -0
  51. package/subpackages/coupon/coupon.vue +276 -0
  52. package/subpackages/fragment/fragment.vue +1592 -0
  53. package/subpackages/myAddress/myAddress.vue +656 -0
  54. package/subpackages/myCards/myCards.vue +1250 -0
  55. package/subpackages/myOrder/myOrder.vue +779 -0
  56. package/subpackages/myOrderDetail/myOrderDetail.vue +659 -0
  57. package/subpackages/poster/poster.vue +130 -0
  58. package/subpackages/selectCoupon/selectCoupon.vue +251 -0
  59. package/subpackages/sendLogistics/sendLogistics.vue +1097 -0
  60. package/subpackages/vote/vote.vue +877 -0
  61. package/uni.promisify.adaptor.js +10 -0
  62. package/uni.scss +114 -0
  63. package/uni_modules/qf-image-cropper/changelog.md +72 -0
  64. package/uni_modules/qf-image-cropper/components/qf-image-cropper/qf-image-cropper.render.js +855 -0
  65. package/uni_modules/qf-image-cropper/components/qf-image-cropper/qf-image-cropper.vue +749 -0
  66. package/uni_modules/qf-image-cropper/components/qf-image-cropper/qf-image-cropper.wxs +727 -0
  67. package/uni_modules/qf-image-cropper/package.json +81 -0
  68. package/uni_modules/qf-image-cropper/readme.md +97 -0
  69. package/uni_modules/uni-data-select/changelog.md +51 -0
  70. package/uni_modules/uni-data-select/components/uni-data-select/uni-data-select.vue +837 -0
  71. package/uni_modules/uni-data-select/package.json +106 -0
  72. package/uni_modules/uni-data-select/readme.md +8 -0
  73. package/uni_modules/uni-icons/changelog.md +44 -0
  74. package/uni_modules/uni-icons/components/uni-icons/uni-icons.uvue +91 -0
  75. package/uni_modules/uni-icons/components/uni-icons/uni-icons.vue +110 -0
  76. package/uni_modules/uni-icons/components/uni-icons/uniicons.css +664 -0
  77. package/uni_modules/uni-icons/components/uni-icons/uniicons.ttf +0 -0
  78. package/uni_modules/uni-icons/components/uni-icons/uniicons_file.ts +664 -0
  79. package/uni_modules/uni-icons/components/uni-icons/uniicons_file_vue.js +649 -0
  80. package/uni_modules/uni-icons/package.json +111 -0
  81. package/uni_modules/uni-icons/readme.md +8 -0
  82. package/uni_modules/uni-load-more/changelog.md +23 -0
  83. package/uni_modules/uni-load-more/components/uni-load-more/i18n/en.json +5 -0
  84. package/uni_modules/uni-load-more/components/uni-load-more/i18n/index.js +8 -0
  85. package/uni_modules/uni-load-more/components/uni-load-more/i18n/zh-Hans.json +5 -0
  86. package/uni_modules/uni-load-more/components/uni-load-more/i18n/zh-Hant.json +5 -0
  87. package/uni_modules/uni-load-more/components/uni-load-more/uni-load-more.vue +404 -0
  88. package/uni_modules/uni-load-more/package.json +105 -0
  89. package/uni_modules/uni-load-more/readme.md +14 -0
  90. package/uni_modules/uni-scss/changelog.md +8 -0
  91. package/uni_modules/uni-scss/index.scss +1 -0
  92. package/uni_modules/uni-scss/package.json +82 -0
  93. package/uni_modules/uni-scss/readme.md +4 -0
  94. package/uni_modules/uni-scss/styles/index.scss +7 -0
  95. package/uni_modules/uni-scss/styles/setting/_border.scss +3 -0
  96. package/uni_modules/uni-scss/styles/setting/_color.scss +66 -0
  97. package/uni_modules/uni-scss/styles/setting/_radius.scss +55 -0
  98. package/uni_modules/uni-scss/styles/setting/_space.scss +56 -0
  99. package/uni_modules/uni-scss/styles/setting/_styles.scss +167 -0
  100. package/uni_modules/uni-scss/styles/setting/_text.scss +24 -0
  101. package/uni_modules/uni-scss/styles/setting/_variables.scss +146 -0
  102. package/uni_modules/uni-scss/styles/tools/functions.scss +19 -0
  103. package/uni_modules/uni-scss/theme.scss +31 -0
  104. package/uni_modules/uni-scss/variables.scss +62 -0
  105. package/utils/addressData.js +6042 -0
  106. package/utils/api.js +160 -0
  107. package/utils/fetch.js +548 -0
  108. package/utils/index.js +994 -0
  109. package/utils/navigator.js +17 -0
  110. package/utils/request.js +162 -0
@@ -0,0 +1,877 @@
1
+ <template>
2
+ <view class="orderContent">
3
+ <u-sticky bgColor="transparent">
4
+ <Header title=""></Header>
5
+ <view style="padding: 6px">
6
+ <view>
7
+ <input v-model="search" type="text" />
8
+ <view @click="search">search</view>
9
+ </view>
10
+ </view>
11
+ </u-sticky>
12
+
13
+ <view class="voteList">
14
+ <view
15
+ @click="toVote(value)"
16
+ v-if="voteList.length > 0 && !isFirstLoading"
17
+ v-for="(value, index) in voteList"
18
+ :key="value.id"
19
+ hover-class="hoverActive"
20
+ class="item"
21
+ >
22
+ <view
23
+ :style="{
24
+ width: '200rpx',
25
+ height: '200rpx',
26
+ backgroundImage: 'url(' + formateUrl(value.coverImage) + ')',
27
+ }"
28
+ class="bgcCenter image"
29
+ >
30
+ <!-- <view class="count">x{{ item.item.itemNum }}</view> -->
31
+ </view>
32
+ <view>
33
+ <view style="display: flex; justify-content: space-between">
34
+ <view>
35
+ <view class="over name">{{ value.name }}</view>
36
+ <view>已获得助力值</view>
37
+ </view>
38
+
39
+ <view> 去助力 </view>
40
+ </view>
41
+
42
+ <view>
43
+ {{ value.currentValue }}
44
+ </view>
45
+ </view>
46
+ </view>
47
+ </view>
48
+
49
+ <u-popup
50
+ @close="showLuckyActivity = false"
51
+ :show="showLuckyActivity"
52
+ mode="bottom"
53
+ :round="32"
54
+ :safeAreaInsetBottom="false"
55
+ >
56
+ <view
57
+ v-if="showLuckyActivity"
58
+ @touchmove.stop.prevent
59
+ class="luckyActivityPopup bgcCenter"
60
+ >
61
+ <!-- <scroll-view class="details" scroll-y>
62
+ <view class="list">
63
+ <view
64
+ v-for="value in taskList"
65
+ :key="value.id"
66
+ class="item bgcCenter"
67
+ @click="
68
+ value.schedule.state == 'ScheduleState_Enable'
69
+ ? claimTask(value)
70
+ : clickTask(value)
71
+ "
72
+ >
73
+ <view class="content">
74
+ <image
75
+ style="width: 45rpx; height: 45rpx; border-radius: 6rpx"
76
+ :src="formateUrl(value.coverImage)"
77
+ mode="scaleToFill"
78
+ />
79
+ <view class="title">
80
+ <view>
81
+ {{ value.name }}
82
+ </view>
83
+ <view style="font-size: 22rpx" v-if="value.detail">{{
84
+ value.detail
85
+ }}</view>
86
+ <view
87
+ style="align-items: center"
88
+ v-if="value.platformTaskType == 'PlatformTaskType_Pay'"
89
+ >
90
+ <text style="display: flex; font-size: 30rpx">
91
+ ¥{{ JSON.parse(value.platformTaskParams).discountPrice }}
92
+ </text>
93
+ <text
94
+ style="
95
+ text-decoration: line-through;
96
+ font-size: 18rpx;
97
+ color: #616161;
98
+ "
99
+ >&nbsp;¥{{
100
+ JSON.parse(value.platformTaskParams).price
101
+ }}</text
102
+ >
103
+ </view>
104
+ </view>
105
+ <view class="awards">
106
+ <view
107
+ v-for="(item, index) in value.award"
108
+ :key="index"
109
+ class="award"
110
+ >
111
+ <view class="subtitle"
112
+ >{{ item.mgtvLevelLLimit > 0 ? "额外" : "" }}领取{{
113
+ item.item.itemName
114
+ }}</view
115
+ ><view class="count">+{{ item.item.itemNum }}</view>
116
+ </view>
117
+ </view>
118
+ </view>
119
+ <view
120
+ v-if="value.schedule.state == 'ScheduleState_Disenable'"
121
+ class="actionBtn"
122
+ >
123
+ {{ value.buttonContent }}
124
+ </view>
125
+ <view
126
+ v-else-if="value.schedule.state == 'ScheduleState_Enable'"
127
+ class="claim"
128
+ >
129
+ 立即领取
130
+ </view>
131
+ <view
132
+ v-else-if="value.schedule.state == 'ScheduleState_Finished'"
133
+ class="actionBtn isfinished"
134
+ >
135
+ {{ value.completedButtonContent }}
136
+ </view>
137
+ </view>
138
+ </view>
139
+ </scroll-view> -->
140
+
141
+ <view>
142
+ <input
143
+ @blur="countChange(value, $event.detail.value)"
144
+ @input="countChange(value, $event.detail.value, 'input')"
145
+ type="number"
146
+ v-model="num"
147
+ />
148
+
149
+ <view>当前可用阻力值:{{ balance }}</view>
150
+
151
+ <view @click="sureVote">确定</view>
152
+ </view>
153
+ </view>
154
+ </u-popup>
155
+
156
+ <u-popup
157
+ @close="showGachaReward = false"
158
+ :show="showGachaReward && recordItem.length > 0"
159
+ mode="center"
160
+ :round="32"
161
+ :safeAreaInsetBottom="false"
162
+ >
163
+ <view
164
+ @touchmove.stop.prevent
165
+ v-if="showGachaReward && recordItem.length > 0"
166
+ class="GachaReward bgcCenter"
167
+ >
168
+ <view class="title">
169
+ {{
170
+ recordItem[rewardSwpierIndex].item.itemType == "ItemType_Void_Url"
171
+ ? ""
172
+ : "恭喜你获得"
173
+ }}
174
+ </view>
175
+ <view
176
+ v-if="
177
+ recordItem[rewardSwpierIndex].item.itemType == 'ItemType_Void_Url'
178
+ "
179
+ class="count"
180
+ ><text class="over" style="max-width: 580rpx; display: inline-block"
181
+ >前往{{ recordItem[rewardSwpierIndex].item.itemName }}</text
182
+ >
183
+ </view>
184
+ <view v-else class="count"
185
+ ><text
186
+ class="over"
187
+ style="max-width: 380rpx; display: inline-block"
188
+ >{{ recordItem[rewardSwpierIndex].item.itemName }}</text
189
+ >
190
+ <!-- recordItem[rewardSwpierIndex].item.itemNum -->
191
+ <text style="display: inline-block"
192
+ >奖品{{ recordItem[rewardSwpierIndex].item.itemNum }}份{{
193
+ recordItem[rewardSwpierIndex].multiple >= 2
194
+ ? "x" + recordItem[rewardSwpierIndex].multiple
195
+ : ""
196
+ }}</text
197
+ ></view
198
+ >
199
+ <view class="rewards">
200
+ <!-- <view v-if="previewItem" class="toImg" id="toImg">
201
+ <img
202
+ :src="formateUrl(previewItem.item.itemCoverThumb)"
203
+ alt=""
204
+ crossorigin="anonymous"
205
+ />
206
+
207
+ <view class="avatar over">
208
+ {{
209
+ nickName.length > 7 ? nickName.slice(0, 7) + "..." : nickName
210
+ }}
211
+ </view>
212
+ </view> -->
213
+ <view
214
+ style="
215
+ width: 100%;
216
+ height: 360rpx;
217
+ margin: auto;
218
+ border-radius: 24rpx;
219
+ "
220
+ >
221
+ <swiper
222
+ @change="swiperChange"
223
+ class="swiper"
224
+ :autoplay="recordItem.length > 1"
225
+ circular
226
+ :indicator-dots="recordItem.length > 1"
227
+ indicator-color="rgba(255, 255, 255, .5)"
228
+ indicator-active-color="#4D75FF"
229
+ >
230
+ <swiper-item v-for="(value, index) in recordItem" :key="index">
231
+ <!-- 给个字段显示双倍, 显示下载 合成头像和名字-->
232
+ <view
233
+ class="image bgcCenter"
234
+ :style="{
235
+ backgroundImage:
236
+ 'url(' + formateUrl(value.item.itemCoverThumb) + ')',
237
+
238
+ backgroundSize:
239
+ value.item.itemType == 'ItemType_Goods_GreetingCard'
240
+ ? 'contain'
241
+ : 'cover',
242
+ }"
243
+ >
244
+ <!-- <view
245
+ v-if="value.multiple && value.multiple == 2"
246
+ class="nultiple bgcCenter"
247
+ ></view> -->
248
+ <!-- <view
249
+ v-if="
250
+ !honery &&
251
+ value.item.itemType == 'ItemType_Goods_GreetingCard'
252
+ "
253
+ class="actions"
254
+ >
255
+ <view @click="toImg(value, 2)" class="action">
256
+ <view style="width: 48rpx; height: 48rpx"
257
+ ><image
258
+ src="https://img.shinemang.com/static/img/share.png"
259
+ mode="scaleToFill"
260
+ /></view>
261
+ <view>分享</view>
262
+ </view>
263
+ <view @click="toImg(value, 1)" class="action">
264
+ <view style="width: 48rpx; height: 48rpx"
265
+ ><image
266
+ src="https://img.shinemang.com/static/img/save.png"
267
+ mode="scaleToFill"
268
+ /></view>
269
+ <view>保存</view></view
270
+ >
271
+ </view> -->
272
+ </view>
273
+ </swiper-item>
274
+ </swiper>
275
+ </view>
276
+
277
+ <view class="btn">
278
+ <view class="bgcCenter accept" @click="showGachaReward = false">
279
+ </view>
280
+ <!-- <view
281
+ :style="{
282
+ marginLeft: '30rpx',
283
+ }"
284
+ v-if="recordHasCanDecompose"
285
+ class="bgcCenter toExchange"
286
+ @click="((showGachaReward = false), toExchange(0))"
287
+ >
288
+ </view> -->
289
+ <view
290
+ v-if="recordToBackpack"
291
+ class="bgcCenter toUse"
292
+ @click="((showGachaReward = false), toUse(recordItem))"
293
+ :style="{
294
+ marginLeft: '30rpx',
295
+ }"
296
+ >
297
+ 查看奖励
298
+ </view>
299
+ <view
300
+ class="bgcCenter toUse"
301
+ @click="((showGachaReward = false), toJump(recordJumpUrl))"
302
+ :style="{
303
+ marginLeft: '30rpx',
304
+ }"
305
+ v-if="recordHasJumpHttps"
306
+ >
307
+ 立即前往
308
+ </view>
309
+ </view>
310
+ <!-- <view> 分解后,礼品将对换为xx好运值用于解锁隐藏大奖 </view> -->
311
+ </view>
312
+ </view>
313
+ </u-popup>
314
+ </view>
315
+ </template>
316
+
317
+ <script>
318
+ import {
319
+ fetchVoteList,
320
+ fetchTaskList,
321
+ fetchClickTask,
322
+ fetchAcceptTask,
323
+ fetchBanlance,
324
+ fetchVote,
325
+ } from "@/utils/fetch";
326
+ import {
327
+ formateServerUrl,
328
+ reportMessage,
329
+ jumpUrl,
330
+ getDecievedModel,
331
+ isPositiveInteger,
332
+ } from "@/utils";
333
+ import Header from "@/components/header/header.vue";
334
+ export default {
335
+ data() {
336
+ return {
337
+ pageNo: 1,
338
+ pageSize: 10,
339
+ voteList: [],
340
+ isFirstLoading: true,
341
+ hasMore: true,
342
+ search: "",
343
+ showLuckyActivity: false,
344
+ taskList: [],
345
+ voteValue: "",
346
+ showGachaReward: false,
347
+ rewardSwpierIndex: 0,
348
+ balance: 0,
349
+ num: 0,
350
+ recordItem: [],
351
+ };
352
+ },
353
+ components: {
354
+ Header,
355
+ // login,
356
+ },
357
+ watch: {
358
+ showGachaReward(val) {
359
+ if (val) {
360
+ // this.openPoupon();
361
+ } else {
362
+ this.recordItem = [];
363
+ this.rewardSwpierIndex = 0;
364
+ // this.closePoupon();
365
+ }
366
+ },
367
+ },
368
+ onLoad(options) {
369
+ this.getVoteList();
370
+ this.getBalance();
371
+ },
372
+ computed: {},
373
+ methods: {
374
+ countChange(value, count, type) {
375
+ if (type) {
376
+ if (!count || !isPositiveInteger(count)) {
377
+ } else {
378
+ if (Number(count) > Number(this.balance)) {
379
+ this.$nextTick(() => {
380
+ this.num = this.balance;
381
+ });
382
+ }
383
+ }
384
+
385
+ return;
386
+ }
387
+
388
+ if (!count || !isPositiveInteger(count)) {
389
+ // this.$nextTick(() => {
390
+ // this.list[index].selectCount = 1;
391
+ // });
392
+ } else {
393
+ if (Number(count) > Number(this.balance)) {
394
+ this.$nextTick(() => {
395
+ this.num = this.balance;
396
+ });
397
+ } else if (Number(count) < 1) {
398
+ this.$nextTick(() => {
399
+ this.num = 1;
400
+ });
401
+ } else {
402
+ this.$nextTick(() => {
403
+ this.num = Number(count);
404
+ });
405
+ }
406
+ }
407
+ },
408
+ sureVote() {
409
+ if (!this.num || this.num == 0) {
410
+ return
411
+ }
412
+ if (this.balance == 0) {
413
+ uni.showToast({
414
+ title: "助力值不足",
415
+ icon: "none",
416
+ });
417
+ return;
418
+ }
419
+ fetchVote({
420
+ artist_id: this.voteValue.id,
421
+ point: this.num,
422
+ }).then((res) => {
423
+ uni.showToast({
424
+ title: "助力成功",
425
+ icon: "none",
426
+ });
427
+ this.pageNo = 1;
428
+ this.getVoteList();
429
+ this.getBalance();
430
+ });
431
+ },
432
+ getBalance() {
433
+ fetchBanlance({
434
+ type: ["BalanceType_VotePoint"],
435
+ }).then((res) => {
436
+ this.balance = res.dict["5"];
437
+ });
438
+ },
439
+ toVote(value) {
440
+ this.voteValue = value;
441
+ fetchTaskList({
442
+ key: [],
443
+ type: [],
444
+ }).then((res) => {
445
+ this.taskList = res.list;
446
+ this.showLuckyActivity = true;
447
+ });
448
+ },
449
+ clickTask(value) {
450
+ reportMessage(`点击去完成任务-${value.name}${value.detail}`);
451
+
452
+ if (value.platformTaskType == "PlatformTaskType_Share") {
453
+ this.taskShareInfo = value;
454
+ if (this.honery) {
455
+ MgtvApi.showShareMenus(
456
+ {
457
+ title: "【好礼到账】集好运赢入场券", // 分享标题
458
+ desc: "马上集好运,100%有礼!", // 分享描述
459
+ shareUrl: this.taskShareInfo.platformTaskParams, // 分享链接
460
+ shareIcon: "https://img.shinemang.com/static/horse.png",
461
+ },
462
+ (resp) => {},
463
+ );
464
+
465
+ MgtvApi.showShare();
466
+ setTimeout(() => {
467
+ // this.acceptShare();
468
+ }, 3000);
469
+ } else {
470
+ this.showTaskShare = true;
471
+ }
472
+ } else {
473
+ const platform_id = getDecievedModel();
474
+ fetchClickTask({
475
+ id: value.id,
476
+ platform_id: platform_id,
477
+ }).then((res) => {
478
+ if (value.platformTaskType == "PlatformTaskType_Pay") {
479
+ this.taskShareInfo = value;
480
+ if (res.productId) {
481
+ // this.payTask(res.productId);
482
+ }
483
+ } else {
484
+ this.getTaskList();
485
+ if (value.platformTaskType == "PlatformTaskType_Jump") {
486
+ if (isMTVapp()) {
487
+ if (value.platformTaskParams) {
488
+ jumpUrl(value.platformTaskParams);
489
+ }
490
+ } else {
491
+ window.location.href = value.platformTaskParams;
492
+ }
493
+ }
494
+ }
495
+ });
496
+ }
497
+ },
498
+ // 领取
499
+ claimTask(value) {
500
+ fetchAcceptTask({
501
+ id: value.id,
502
+ }).then((res) => {
503
+ this.recordItem = res.award;
504
+ this.showGachaReward = true;
505
+ uni.showToast({
506
+ title: "领取成功",
507
+ icon: "none",
508
+ });
509
+ this.getTaskList();
510
+ // this.fetchList();
511
+ });
512
+ },
513
+ getTaskList() {
514
+ fetchTaskList({
515
+ key: [],
516
+ type: [],
517
+ }).then((res) => {
518
+ this.taskList = res.list;
519
+ });
520
+ },
521
+ copy(id) {
522
+ uni.setClipboardData({
523
+ data: id,
524
+ success: function () {
525
+ uni.showToast({
526
+ title: "复制成功",
527
+ icon: "none",
528
+ });
529
+ },
530
+ });
531
+ },
532
+ getVoteList() {
533
+ fetchVoteList({
534
+ page: this.pageNo,
535
+ page_size: this.pageSize,
536
+ name: this.search,
537
+ }).then((res) => {
538
+ this.voteList =
539
+ this.pageNo == 1 ? res.list : this.voteList.concat(res.list);
540
+ if (res.list && res.list.length < this.pageSize) {
541
+ this.hasMore = false;
542
+ } else {
543
+ this.hasMore = true;
544
+ }
545
+ this.isFirstLoading = false;
546
+ });
547
+ },
548
+
549
+ formateUrl(url) {
550
+ return formateServerUrl(url);
551
+ },
552
+ },
553
+ onShow() {
554
+ // const refreshOrder = uni.getStorageSync("refreshOrder");
555
+ // if (refreshOrder && refreshOrder == 1) {
556
+ // this.pageNo = 1;
557
+ // this.getOrderList();
558
+ // uni.removeStorageSync("refreshOrder");
559
+ // }
560
+ },
561
+ onShareAppMessage() {},
562
+ onShareTimeline() {},
563
+
564
+ onReachBottom() {
565
+ if (this.hasMore) {
566
+ this.pageNo++;
567
+
568
+ this.getVoteList();
569
+ }
570
+ },
571
+ };
572
+ </script>
573
+
574
+ <style lang="less" scoped>
575
+ .GachaReward {
576
+ width: 621rpx;
577
+ height: 853rpx;
578
+ text-align: center;
579
+ background-color: transparent;
580
+ background-image: url("https://img.shinemang.com/static/img/rewardBgc.png");
581
+ // -100 -100
582
+ .toImg {
583
+ position: fixed;
584
+ top: 10000px;
585
+ right: 10000px;
586
+ width: 750rpx;
587
+ height: 1333rpx;
588
+ z-index: -2;
589
+ // height: 100vw;
590
+ > img {
591
+ width: 750rpx;
592
+ height: 1333rpx;
593
+ }
594
+ .avatar {
595
+ position: absolute;
596
+ top: 15.5%;
597
+ left: 20%;
598
+ text-align: left;
599
+ font-size: 45rpx;
600
+ font-family: "fxlh";
601
+ // width: 350rpx;
602
+ }
603
+ }
604
+ /deep/.uni-swiper-wrapper {
605
+ // overflow: unset !important;
606
+ border-radius: 24rpx;
607
+ }
608
+ /deep/ uni-swiper-item {
609
+ // overflow: unset !important;
610
+ border-radius: 24rpx;
611
+ }
612
+
613
+ /deep/.uni-swiper-dots {
614
+ bottom: 0rpx !important;
615
+ }
616
+ /deep/.uni-swiper-dot {
617
+ height: 10rpx !important;
618
+ border-radius: 5rpx !important;
619
+ }
620
+ /deep/.uni-swiper-dot-active {
621
+ width: 32rpx !important;
622
+ border-radius: 5rpx !important;
623
+ }
624
+ .title {
625
+ color: #550d01;
626
+ font-family: "AlibabaPuHuiTiBold";
627
+ font-size: 35rpx;
628
+ margin-top: 167rpx;
629
+ height: 46rpx;
630
+ }
631
+ .swiper {
632
+ width: 100%;
633
+ height: 388rpx;
634
+ margin-top: 25rpx;
635
+ }
636
+ .count {
637
+ font-size: 43.5rpx;
638
+ color: #ffffff;
639
+ font-family: "fxlh";
640
+ display: flex;
641
+ align-items: center;
642
+ margin-top: -10rpx;
643
+ justify-content: center;
644
+ }
645
+
646
+ .image {
647
+ width: 360rpx;
648
+ height: 360rpx;
649
+ background-color: transparent;
650
+ // margin-top: 35rpx;
651
+ margin: auto;
652
+ border-radius: 24rpx;
653
+ position: relative;
654
+ image {
655
+ width: 360rpx;
656
+ height: 360rpx;
657
+ border-radius: 24rpx;
658
+ }
659
+ }
660
+ .actions {
661
+ position: absolute;
662
+ right: -90rpx;
663
+ bottom: 0;
664
+ .action {
665
+ font-size: 20rpx;
666
+ color: #550d01;
667
+ font-family: "AlibabaPuHuiTiMedium";
668
+ text-align: center;
669
+
670
+ &:first-child {
671
+ margin-bottom: 10rpx;
672
+ }
673
+
674
+ image {
675
+ width: 48rpx;
676
+ height: 48rpx;
677
+ }
678
+ image {
679
+ }
680
+ }
681
+ }
682
+
683
+ .nultiple {
684
+ background-color: transparent;
685
+ background-image: url("https://img.shinemang.com/static/img/v9.png");
686
+ position: absolute;
687
+ left: -110rpx;
688
+ bottom: 30rpx;
689
+ width: 225rpx;
690
+ height: 114rpx;
691
+ }
692
+ .btn {
693
+ margin-top: 86rpx;
694
+ display: flex;
695
+ align-items: center;
696
+ justify-content: center;
697
+ > view {
698
+ background-color: transparent;
699
+ width: 259rpx;
700
+ height: 77rpx;
701
+ &:first-child {
702
+ margin-left: 0rpx !important;
703
+ }
704
+ &.accept {
705
+ background-image: url("https://img.shinemang.com/static/img/accept.png");
706
+ }
707
+ &.toExchange {
708
+ background-image: url("https://img.shinemang.com/static/img/deCompose.png");
709
+ }
710
+
711
+ &.toUse {
712
+ background-image: url("https://img.shinemang.com/static/img/claim.png");
713
+ line-height: 66rpx;
714
+ font-size: 32rpx;
715
+ font-family: "fxlh";
716
+ color: #fff;
717
+ &.isSigned {
718
+ background-image: url("https://img.shinemang.com/static/img/claim1.png");
719
+ }
720
+ }
721
+ }
722
+ }
723
+ }
724
+ page {
725
+ min-height: 100vh;
726
+ background-color: #f6f6f6 !important;
727
+ }
728
+ .orderContent {
729
+ /deep/ .u-sticky__content {
730
+ background-color: #f6f6f6 !important;
731
+ }
732
+ .noData {
733
+ text-align: center;
734
+ margin-top: 48rpx;
735
+ color: #999999;
736
+ font-size: 28rpx;
737
+ image {
738
+ width: 370rpx;
739
+ height: 368rpx;
740
+ }
741
+ view {
742
+ margin-top: -10rpx;
743
+ }
744
+
745
+ .toShop {
746
+ width: 322rpx;
747
+ height: 80rpx;
748
+ background: #7c66ff;
749
+ border-radius: 864rpx 864rpx 864rpx 864rpx;
750
+ display: flex;
751
+ align-items: center;
752
+ justify-content: center;
753
+ color: #fff;
754
+ font-size: 32rpx;
755
+ margin: auto;
756
+ margin-top: 40rpx;
757
+ line-height: 80rpx;
758
+ }
759
+ }
760
+
761
+ .voteList {
762
+ padding: 24rpx 32rpx;
763
+ padding-top: 16rpx;
764
+
765
+ overflow-y: scroll;
766
+
767
+ // padding-bottom: 0;
768
+ .item {
769
+ width: 100%;
770
+ height: 345rpx;
771
+ background: #fff;
772
+ padding: 0rpx 24rpx;
773
+ margin-bottom: 16rpx;
774
+
775
+ border-bottom: 1rpx dashed #f6f6f6;
776
+ display: flex;
777
+ &:last-child {
778
+ margin-bottom: 32rpx;
779
+ }
780
+
781
+ border-radius: 24rpx;
782
+ }
783
+ }
784
+ }
785
+ .luckyActivityPopup {
786
+ width: 100%;
787
+ height: 1039rpx;
788
+ padding-top: 166rpx;
789
+ background-color: transparent;
790
+ background-image: url("https://img.shinemang.com/static/img/avtivityBgc.png");
791
+ .details {
792
+ width: 100%;
793
+ height: 832rpx;
794
+ .list {
795
+ .item {
796
+ width: 732rpx;
797
+ height: 138rpx;
798
+ display: flex;
799
+ align-items: center;
800
+ padding: 0 32rpx;
801
+ background-color: transparent;
802
+ justify-content: space-between;
803
+ margin-bottom: 5rpx;
804
+ background-image: url("https://img.shinemang.com/static/img/rect.png");
805
+ .content {
806
+ display: flex;
807
+ align-items: center;
808
+ font-family: "AlibabaPuHuiTiMedium";
809
+
810
+ .title {
811
+ color: #070707;
812
+
813
+ font-size: 26rpx;
814
+ margin-left: 16rpx;
815
+ margin-right: 19rpx;
816
+ font-family: "AlibabaPuHuiTiBold";
817
+ width: 260rpx;
818
+ // display: flex;
819
+ // align-items: center;
820
+ view {
821
+ display: flex;
822
+ align-items: center;
823
+ align-items: flex-end;
824
+ // align-items: center;
825
+ }
826
+ }
827
+ .award {
828
+ display: flex;
829
+ align-items: center;
830
+ justify-content: flex-end;
831
+ }
832
+ .subtitle {
833
+ color: #616161;
834
+ font-size: 22rpx;
835
+ }
836
+ .count {
837
+ color: #d20e0e;
838
+ font-size: 22rpx;
839
+
840
+ margin-left: 4rpx;
841
+ }
842
+ }
843
+ .actionBtn {
844
+ width: 136rpx;
845
+ height: 48rpx;
846
+ background: #ffd144;
847
+ border-radius: 32rpx 32rpx 32rpx 32rpx;
848
+ border: 4rpx solid #ffffff;
849
+ display: flex;
850
+ align-items: center;
851
+ justify-content: center;
852
+ font-size: 22rpx;
853
+ font-family: "fxlh";
854
+ &.isfinished {
855
+ background: rgb(255, 154, 150);
856
+ }
857
+ }
858
+ .claim {
859
+ width: 136rpx;
860
+ display: flex;
861
+ align-items: center;
862
+ justify-content: center;
863
+ height: 48rpx;
864
+ background: #3453ee;
865
+ // box-shadow: inset 8rpx 8rpx 8rpx 0rpx rgba(107,6,0,0.2);
866
+ border-radius: 24rpx;
867
+ font-size: 22rpx;
868
+ border: 4rpx solid #ffffff;
869
+ color: #fff;
870
+
871
+ font-family: "fxlh";
872
+ }
873
+ }
874
+ }
875
+ }
876
+ }
877
+ </style>