southnote-sdk 1.0.2 → 1.0.4
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.
- package/app.js +1 -1
- package/app.json +2 -1
- package/assets/file/badwords-compressed.js +1 -1
- package/assets/file/rules.js +1 -1
- package/assets/images/icons/hg1.png +0 -0
- package/assets/images/icons/hg2.png +0 -0
- package/assets/images/icons/hg3.png +0 -0
- package/assets/images/icons/medal-1.png +0 -0
- package/assets/images/icons/medal-2.png +0 -0
- package/assets/images/icons/medal-3.png +0 -0
- package/components/bottomSheet/bottomSheet.js +1 -1
- package/components/bottomSheet/bottomSheet.wxml +4 -4
- package/components/experience-item/experience-item.js +1 -1
- package/components/experience-item/experience-item.json +3 -1
- package/components/experience-item/experience-item.wxml +6 -1
- package/components/experience-item/experience-item.wxss +19 -0
- package/components/grid-item/grid-item.js +1 -1
- package/components/post-item/post-item.js +1 -1
- package/components/wiki-renderer/wiki-renderer.js +1 -1
- package/components/wiki-tabs/wiki-tabs.js +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/pages/addGame/addGame.js +1 -1
- package/pages/addSubject/addSubject.js +1 -1
- package/pages/commonLogin/commonLogin.js +1 -1
- package/pages/copyOfficial/copyOfficial.js +1 -1
- package/pages/demo/demo.js +1 -1
- package/pages/game/game.js +1 -1
- package/pages/game/game.wxml +14 -125
- package/pages/game/game.wxss +28 -249
- package/pages/lottery-winners/lottery-winners.js +1 -1
- package/pages/officialWebview/officialWebview.js +1 -1
- package/pages/playerRank/playerRank.js +1 -0
- package/pages/playerRank/playerRank.json +6 -0
- package/pages/playerRank/playerRank.wxml +83 -0
- package/pages/playerRank/playerRank.wxss +276 -0
- package/pages/post/post.js +1 -1
- package/pages/post-editor/post-editor.js +1 -1
- package/pages/postDialog/postDialog.js +1 -1
- package/pages/report-category/reporst-category.js +1 -1
- package/pages/report-category/report-category.js +1 -1
- package/pages/report-form/report-form.js +1 -1
- package/pages/sevenDaySignDetail/sevenDaySignDetail.js +1 -1
- package/pages/topic/topic.js +1 -1
- package/pages/webview/webview.js +1 -1
- package/pages/wheelActivivty/wheelActivivty.js +1 -1
- package/pages/wiki/wiki.js +1 -1
- package/pages/wiki/wiki.json +11 -6
- package/pages/wiki/wiki.wxml +200 -20
- package/pages/wiki/wiki.wxss +326 -0
- package/request/JKRequest.js +1 -1
- package/services/home.js +1 -1
- package/towxml/style/theme/light.wxss +1 -1
- package/utils/aes.js +1 -1
- package/utils/auth.js +1 -1
- package/utils/base64.js +1 -1
- package/utils/compressImage.js +1 -1
- package/utils/exp.js +1 -1
- package/utils/formatPost.js +1 -1
- package/utils/parseContent.js +1 -1
- package/utils/query-select.js +1 -1
- package/utils/sensitive.js +1 -1
- package/utils/sign.js +1 -0
package/pages/game/game.wxss
CHANGED
|
@@ -116,101 +116,6 @@
|
|
|
116
116
|
margin-right: 6rpx;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
/* banner */
|
|
120
|
-
.banner-section {
|
|
121
|
-
display: flex;
|
|
122
|
-
justify-content: center;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
.banner-scroll {
|
|
126
|
-
width: 100%;
|
|
127
|
-
white-space: nowrap;
|
|
128
|
-
box-sizing: border-box;
|
|
129
|
-
/* 删掉 display: flex 和 flex-wrap */
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.banner-item {
|
|
133
|
-
display: inline-block;
|
|
134
|
-
width: 300rpx;
|
|
135
|
-
height: 533rpx;
|
|
136
|
-
margin-right: 10rpx;
|
|
137
|
-
border-radius: 10rpx;
|
|
138
|
-
overflow: hidden;
|
|
139
|
-
vertical-align: top; /* 防止底部对齐产生的间隙 */
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
.banner-swiper {
|
|
144
|
-
width: 95vw;
|
|
145
|
-
height: 53.44vw;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.banner-img {
|
|
149
|
-
width: 100%;
|
|
150
|
-
height: 100%;
|
|
151
|
-
border-radius: 20rpx;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.banner-video-wrapper {
|
|
155
|
-
position: relative;
|
|
156
|
-
width: 100%;
|
|
157
|
-
height: 100%;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
.banner-video {
|
|
161
|
-
width: 100%;
|
|
162
|
-
height: 100%;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.video-poster-wrapper {
|
|
166
|
-
position: relative;
|
|
167
|
-
width: 100%;
|
|
168
|
-
height: 100%;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.play-btn {
|
|
172
|
-
position: absolute;
|
|
173
|
-
left: 50%;
|
|
174
|
-
top: 50%;
|
|
175
|
-
transform: translate(-50%, -50%);
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
/* 播放按钮圆形背景 */
|
|
179
|
-
.custom-play-btn {
|
|
180
|
-
width: 100rpx;
|
|
181
|
-
height: 100rpx;
|
|
182
|
-
border-radius: 50%;
|
|
183
|
-
background-color: rgba(41, 41, 41, 0.8);
|
|
184
|
-
position: absolute;
|
|
185
|
-
top: 50%;
|
|
186
|
-
left: 50%;
|
|
187
|
-
transform: translate(-50%, -50%);
|
|
188
|
-
display: flex;
|
|
189
|
-
justify-content: center;
|
|
190
|
-
align-items: center;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
/* 三角形播放符号 */
|
|
194
|
-
.custom-play-btn::after {
|
|
195
|
-
position: relative;
|
|
196
|
-
left: 5rpx;
|
|
197
|
-
content: '';
|
|
198
|
-
display: block;
|
|
199
|
-
width: 40rpx;
|
|
200
|
-
/* 三角形宽度加大 */
|
|
201
|
-
height: 40rpx;
|
|
202
|
-
/* 三角形高度加大 */
|
|
203
|
-
background-color: rgba(200, 200, 200, 1);
|
|
204
|
-
clip-path: polygon(0 0, 100% 50%, 0 100%);
|
|
205
|
-
/* 完全居中三角形 */
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
119
|
/* tabs */
|
|
215
120
|
.tabs {
|
|
216
121
|
display: flex;
|
|
@@ -235,108 +140,6 @@
|
|
|
235
140
|
font-size: 28rpx;
|
|
236
141
|
}
|
|
237
142
|
|
|
238
|
-
/* 简介 */
|
|
239
|
-
/* 简介部分整体 */
|
|
240
|
-
.intro-section {
|
|
241
|
-
padding: 30rpx;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
/* 更新时间与下载按钮 */
|
|
245
|
-
.download-info {
|
|
246
|
-
margin-bottom: 20rpx;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
.update-time {
|
|
250
|
-
font-size: 26rpx;
|
|
251
|
-
color: #666;
|
|
252
|
-
margin-bottom: 10rpx;
|
|
253
|
-
text-align: right;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
.download-buttons {
|
|
257
|
-
display: flex;
|
|
258
|
-
flex-direction: column;
|
|
259
|
-
gap: 20rpx;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
.btn {
|
|
263
|
-
height: 50rpx;
|
|
264
|
-
line-height: 50rpx;
|
|
265
|
-
border-radius: 50rpx;
|
|
266
|
-
padding: 16rpx 0;
|
|
267
|
-
font-size: 28rpx;
|
|
268
|
-
text-align: center;
|
|
269
|
-
border: none;
|
|
270
|
-
color: #fff;
|
|
271
|
-
background-color: #002fa7;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
/* 灰色卡片 */
|
|
276
|
-
.info-card {
|
|
277
|
-
background-color: #f5f5f5;
|
|
278
|
-
border-radius: 16rpx;
|
|
279
|
-
padding: 20rpx;
|
|
280
|
-
margin-top: 20rpx;
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
.row {
|
|
284
|
-
display: flex;
|
|
285
|
-
position: relative;
|
|
286
|
-
flex-direction: column;
|
|
287
|
-
margin-bottom: 16rpx;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
.label {
|
|
291
|
-
color: #9e9e9e;
|
|
292
|
-
font-size: 26rpx;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
.value {
|
|
296
|
-
color: #333;
|
|
297
|
-
font-size: 30rpx;
|
|
298
|
-
display: flex;
|
|
299
|
-
align-items: center;
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
.age-icon {
|
|
303
|
-
position: absolute;
|
|
304
|
-
right: 0;
|
|
305
|
-
top: 0;
|
|
306
|
-
width: 60rpx;
|
|
307
|
-
height: 80rpx;
|
|
308
|
-
margin-left: 10rpx;
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
/* 游戏简介卡片 */
|
|
312
|
-
.intro-card {
|
|
313
|
-
background-color: #f5f5f5;
|
|
314
|
-
border-radius: 16rpx;
|
|
315
|
-
padding: 20rpx;
|
|
316
|
-
margin-top: 20rpx;
|
|
317
|
-
box-shadow: 0 4rpx 10rpx rgba(0, 0, 0, 0.05);
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
.intro-title {
|
|
321
|
-
font-size: 26rpx;
|
|
322
|
-
font-weight: bold;
|
|
323
|
-
color: #9e9e9e;
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
.intro-text {
|
|
327
|
-
font-size: 26rpx;
|
|
328
|
-
color: #000000;
|
|
329
|
-
line-height: 1.8;
|
|
330
|
-
white-space: pre-wrap;
|
|
331
|
-
word-break: break-word;
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
.line-break {
|
|
336
|
-
height: 10rpx;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
|
|
340
143
|
/* 版规部分 */
|
|
341
144
|
.rules-section {
|
|
342
145
|
padding: 20rpx;
|
|
@@ -412,8 +215,6 @@
|
|
|
412
215
|
margin-left: 10rpx;
|
|
413
216
|
}
|
|
414
217
|
|
|
415
|
-
|
|
416
|
-
|
|
417
218
|
.rule-desc {
|
|
418
219
|
margin-left: 40rpx;
|
|
419
220
|
color: #666;
|
|
@@ -445,10 +246,8 @@
|
|
|
445
246
|
color: #999;
|
|
446
247
|
font-size: 28rpx;
|
|
447
248
|
/* margin: 20rpx 0; */
|
|
448
|
-
|
|
449
249
|
}
|
|
450
250
|
|
|
451
|
-
|
|
452
251
|
.empty-block {
|
|
453
252
|
display: flex;
|
|
454
253
|
flex-direction: column;
|
|
@@ -459,6 +258,16 @@
|
|
|
459
258
|
/* 上下留点空间更好看 */
|
|
460
259
|
}
|
|
461
260
|
|
|
261
|
+
.logout-btn {
|
|
262
|
+
margin: 60rpx 30rpx 0;
|
|
263
|
+
background: #002fa7;
|
|
264
|
+
color: #fff;
|
|
265
|
+
text-align: center;
|
|
266
|
+
font-size: 32rpx;
|
|
267
|
+
padding: 28rpx 0;
|
|
268
|
+
border-radius: 16rpx;
|
|
269
|
+
}
|
|
270
|
+
|
|
462
271
|
.empty-img {
|
|
463
272
|
width: 100px;
|
|
464
273
|
/* 可根据你的图片实际大小调整 */
|
|
@@ -509,10 +318,6 @@
|
|
|
509
318
|
background-color: rgba(0, 0, 0, 0.1);
|
|
510
319
|
}
|
|
511
320
|
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
321
|
.activity-name {
|
|
517
322
|
padding-left: 10px;
|
|
518
323
|
height: 30px;
|
|
@@ -526,7 +331,6 @@
|
|
|
526
331
|
color: #666;
|
|
527
332
|
}
|
|
528
333
|
|
|
529
|
-
|
|
530
334
|
/* 右上角“未签到”标签 */
|
|
531
335
|
.sign-tag {
|
|
532
336
|
position: absolute;
|
|
@@ -539,12 +343,6 @@
|
|
|
539
343
|
border-bottom-left-radius: 12rpx;
|
|
540
344
|
}
|
|
541
345
|
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
346
|
.custom-sheet-wrapper {
|
|
549
347
|
position: fixed;
|
|
550
348
|
left: 0;
|
|
@@ -578,7 +376,6 @@
|
|
|
578
376
|
display: flex;
|
|
579
377
|
flex-direction: column;
|
|
580
378
|
align-items: center;
|
|
581
|
-
|
|
582
379
|
}
|
|
583
380
|
|
|
584
381
|
.icon-wrapper {
|
|
@@ -640,41 +437,6 @@
|
|
|
640
437
|
/* z-index: 999; */
|
|
641
438
|
}
|
|
642
439
|
|
|
643
|
-
|
|
644
|
-
.banner-wrapper {
|
|
645
|
-
/* position: relative; */
|
|
646
|
-
display: flex;
|
|
647
|
-
align-items: center;
|
|
648
|
-
}
|
|
649
|
-
|
|
650
|
-
.arrow {
|
|
651
|
-
/* position: absolute;
|
|
652
|
-
top: 320rpx; */
|
|
653
|
-
/* top: 50%;
|
|
654
|
-
transform: translateY(-50%); */
|
|
655
|
-
/* width: 60rpx;
|
|
656
|
-
height: 60rpx; */
|
|
657
|
-
/* border-radius: 50%; */
|
|
658
|
-
/* background: rgba(0, 0, 0, 0.45); */
|
|
659
|
-
/* color: #fff;
|
|
660
|
-
font-size: 80rpx;
|
|
661
|
-
text-align: center;
|
|
662
|
-
line-height: 60rpx;
|
|
663
|
-
z-index: 10; */
|
|
664
|
-
}
|
|
665
|
-
|
|
666
|
-
.arrow-left {
|
|
667
|
-
flex-shrink: 0;
|
|
668
|
-
margin-right: -30px; /* 叠在 swiper 上 */
|
|
669
|
-
z-index: 10;
|
|
670
|
-
}
|
|
671
|
-
|
|
672
|
-
.arrow-right {
|
|
673
|
-
flex-shrink: 0;
|
|
674
|
-
margin-left: -30px;
|
|
675
|
-
z-index: 10;
|
|
676
|
-
}
|
|
677
|
-
|
|
678
440
|
.manager-list.horizontal {
|
|
679
441
|
display: flex;
|
|
680
442
|
flex-direction: row;
|
|
@@ -704,4 +466,21 @@
|
|
|
704
466
|
.empty-text {
|
|
705
467
|
font-size: 14px;
|
|
706
468
|
color: #999;
|
|
707
|
-
}
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
.rank-entry {
|
|
472
|
+
width: 160rpx;
|
|
473
|
+
height: 50rpx;
|
|
474
|
+
line-height: 50rpx;
|
|
475
|
+
text-align: center;
|
|
476
|
+
border-radius: 10rpx;
|
|
477
|
+
color: #002fa7;
|
|
478
|
+
border: 1px solid #002fa7;
|
|
479
|
+
font-size: 24rpx;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
.rule-list-wrapper {
|
|
483
|
+
background-color: #f5f5f5;
|
|
484
|
+
padding: 15px;
|
|
485
|
+
border-radius: 8px;
|
|
486
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x3ee3e6,_0x16ed07){const _0x2f1031=_0x335f,_0x4c47bc=_0x3ee3e6();while(!![]){try{const _0x33d669=-parseInt(_0x2f1031(0x1e8))/0x1+-parseInt(_0x2f1031(0x1eb))/0x2+-parseInt(_0x2f1031(0x1e5))/0x3*(-parseInt(_0x2f1031(0x1f5))/0x4)+-parseInt(_0x2f1031(0x1fa))/0x5*(parseInt(_0x2f1031(0x1ea))/0x6)+parseInt(_0x2f1031(0x1f1))/0x7*(parseInt(_0x2f1031(0x1fe))/0x8)+parseInt(_0x2f1031(0x1e9))/0x9*(-parseInt(_0x2f1031(0x1fc))/0xa)+-parseInt(_0x2f1031(0x1e4))/0xb*(-parseInt(_0x2f1031(0x1f8))/0xc);if(_0x33d669===_0x16ed07)break;else _0x4c47bc['push'](_0x4c47bc['shift']());}catch(_0x2a052a){_0x4c47bc['push'](_0x4c47bc['shift']());}}}(_0x19b7,0xe0919));function _0x335f(_0x41979c,_0x29668d){_0x41979c=_0x41979c-0x1e4;const _0x19b771=_0x19b7();let _0x335fb5=_0x19b771[_0x41979c];if(_0x335f['bBSyVK']===undefined){var _0x1a4a67=function(_0xb4a028){const _0x3129cf='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x173b4f='',_0x487330='';for(let _0x3c1d5e=0x0,_0x1d5674,_0x1e8cfd,_0x427c32=0x0;_0x1e8cfd=_0xb4a028['charAt'](_0x427c32++);~_0x1e8cfd&&(_0x1d5674=_0x3c1d5e%0x4?_0x1d5674*0x40+_0x1e8cfd:_0x1e8cfd,_0x3c1d5e++%0x4)?_0x173b4f+=String['fromCharCode'](0xff&_0x1d5674>>(-0x2*_0x3c1d5e&0x6)):0x0){_0x1e8cfd=_0x3129cf['indexOf'](_0x1e8cfd);}for(let _0x5cc75f=0x0,_0x1bb507=_0x173b4f['length'];_0x5cc75f<_0x1bb507;_0x5cc75f++){_0x487330+='%'+('00'+_0x173b4f['charCodeAt'](_0x5cc75f)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x487330);};_0x335f['YlAyyy']=_0x1a4a67,_0x335f['DuZJWM']={},_0x335f['bBSyVK']=!![];}const _0x23e5e7=_0x19b771[0x0],_0x22f9e4=_0x41979c+_0x23e5e7,_0x20e375=_0x335f['DuZJWM'][_0x22f9e4];return!_0x20e375?(_0x335fb5=_0x335f['YlAyyy'](_0x335fb5),_0x335f['DuZJWM'][_0x22f9e4]=_0x335fb5):_0x335fb5=_0x20e375,_0x335fb5;}import{queryLotteryWinners}from'../../services/home';function _0x19b7(){const _0x4e88cb=['DufsEMm','mZGWodaYmungEevfva','D21lC1q','C2v0rgf0yq','BMf2AwDHDgvuBW','nZjbyKz1z0m','Ahr0Chm6lY93D3CUC291DgHUB3rLlMnU','z2v0u3rVCMfNzvn5BMm','ndGYnduYotj6AhDYEKS','AxnbCNjHEq','nZq3nda3mhn2wvPwDa','BM9Uzq','mtbOCufAre8','DxnLCL9Pza','ohDzBenoqW','mtfrz3rWue8','mtK3mZDMAhvlrfi','zgf0yq','zxjYB3i','mti3mZm0nwfzCwHUuW','mJyXmtCXA3Lere5t','nNDYuhPmrq','mtKZmtCXme5PCg5ZqW','6i635y+w5lIT5Aww5zcn5y2v5AsX6lsL','C2HVD1rVyxn0','v0rMDNm','Cg9ZDa'];_0x19b7=function(){return _0x4e88cb;};return _0x19b7();}Page({'data':{'post':{},'winners':[],'isWinner':![],'isAuthor':![],'defaultAvatar':'../../assets/images/icons/header_placeholder.png'},'onLoad'(_0x52a89b){const _0x293aa7=_0x335f;if(!_0x52a89b[_0x293aa7(0x1ef)])return;const _0x1e0cae=JSON['parse'](decodeURIComponent(_0x52a89b[_0x293aa7(0x1ef)]));this['setData']({'post':_0x1e0cae}),this['fetchWinners'](_0x1e0cae['id']);},async 'fetchWinners'(_0x26ce01){const _0x3e69fa=_0x335f,_0x7bbea2={'JpkPY':function(_0x10ad67,_0x32e1f5){return _0x10ad67(_0x32e1f5);},'pTUHm':function(_0x314aad,_0x31fcea){return _0x314aad===_0x31fcea;},'wmKsT':_0x3e69fa(0x1ec),'WDfvs':_0x3e69fa(0x1fb)};try{const _0x18f7f4=await _0x7bbea2['JpkPY'](queryLotteryWinners,_0x26ce01),_0x15d0d6=Array[_0x3e69fa(0x1f9)](_0x18f7f4?.[_0x3e69fa(0x1e6)]?.['winners'])?_0x18f7f4?.['data']?.['winners']:[],_0x5a2d28=wx[_0x3e69fa(0x1f7)]('appuid'),_0x4fc52f=_0x7bbea2['pTUHm'](_0x5a2d28,this[_0x3e69fa(0x1e6)][_0x3e69fa(0x1ef)][_0x3e69fa(0x1fd)]);let _0x2c8c52=![];!_0x4fc52f&&(_0x2c8c52=_0x15d0d6['some'](_0x36d700=>String(_0x36d700['id'])===String(_0x5a2d28))),this[_0x3e69fa(0x1f3)]({'winners':_0x15d0d6,'isAuthor':_0x4fc52f,'isWinner':_0x2c8c52});}catch(_0x627687){console[_0x3e69fa(0x1e7)](_0x3e69fa(0x1ec),_0x627687),wx[_0x3e69fa(0x1ed)]({'title':_0x7bbea2[_0x3e69fa(0x1f2)],'icon':_0x7bbea2[_0x3e69fa(0x1ee)]});}},'onAddressTap'(){const _0x1f3abb=_0x335f,_0x2b1a58={'uARzc':function(_0xcf41a9,_0x443ca0){return _0xcf41a9(_0x443ca0);},'JDvBa':_0x1f3abb(0x1f6)};wx[_0x1f3abb(0x1f4)]({'url':'../copyOfficial/copyOfficial?url='+_0x2b1a58[_0x1f3abb(0x1f0)](encodeURIComponent,_0x2b1a58['JDvBa'])});}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x565647,_0x40ab8c){var _0x206631=_0x40d7,_0x380b20=_0x565647();while(!![]){try{var _0x4a37a2=parseInt(_0x206631(0xba))/0x1+-parseInt(_0x206631(0xc1))/0x2*(-parseInt(_0x206631(0xbd))/0x3)+parseInt(_0x206631(0xc5))/0x4+parseInt(_0x206631(0xbe))/0x5+-parseInt(_0x206631(0xc3))/0x6+-parseInt(_0x206631(0xc0))/0x7+parseInt(_0x206631(0xbc))/0x8*(parseInt(_0x206631(0xbb))/0x9);if(_0x4a37a2===_0x40ab8c)break;else _0x380b20['push'](_0x380b20['shift']());}catch(_0x2d18e4){_0x380b20['push'](_0x380b20['shift']());}}}(_0x1eff,0x3c503),Page({'data':{'url':''},'onLoad'(_0x4d7450){var _0x568f95=_0x40d7,_0x1363fa={'YfMWA':function(_0x23abb8,_0x39f37b){return _0x23abb8(_0x39f37b);}};_0x4d7450[_0x568f95(0xbf)]&&this[_0x568f95(0xc2)]({'url':_0x1363fa[_0x568f95(0xc4)](decodeURIComponent,_0x4d7450[_0x568f95(0xbf)])});}}));function _0x40d7(_0x210f21,_0x1af4a4){_0x210f21=_0x210f21-0xba;var _0x1eff85=_0x1eff();var _0x40d71d=_0x1eff85[_0x210f21];if(_0x40d7['nAxOHv']===undefined){var _0xa95971=function(_0x4ea167){var _0x531061='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x3aacd1='',_0x37365a='';for(var _0xd9b58d=0x0,_0xf7746a,_0x22e2c4,_0x33aa5d=0x0;_0x22e2c4=_0x4ea167['charAt'](_0x33aa5d++);~_0x22e2c4&&(_0xf7746a=_0xd9b58d%0x4?_0xf7746a*0x40+_0x22e2c4:_0x22e2c4,_0xd9b58d++%0x4)?_0x3aacd1+=String['fromCharCode'](0xff&_0xf7746a>>(-0x2*_0xd9b58d&0x6)):0x0){_0x22e2c4=_0x531061['indexOf'](_0x22e2c4);}for(var _0x4f9032=0x0,_0x24b2be=_0x3aacd1['length'];_0x4f9032<_0x24b2be;_0x4f9032++){_0x37365a+='%'+('00'+_0x3aacd1['charCodeAt'](_0x4f9032)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x37365a);};_0x40d7['TQbYNn']=_0xa95971,_0x40d7['tyNEJD']={},_0x40d7['nAxOHv']=!![];}var _0x480f0e=_0x1eff85[0x0],_0x19520d=_0x210f21+_0x480f0e,_0x2e42de=_0x40d7['tyNEJD'][_0x19520d];return!_0x2e42de?(_0x40d71d=_0x40d7['TQbYNn'](_0x40d71d),_0x40d7['tyNEJD'][_0x19520d]=_0x40d71d):_0x40d71d=_0x2e42de,_0x40d71d;}function _0x1eff(){var _0x40d985=['ogz0s0f3Aq','mti3ohfnuvbstW','nde2ndC1EK91Egvh','DxjS','mJiXmJe0n2DyC1vpEa','mJeYthrJuvPj','C2v0rgf0yq','odKWmJH4AvLOz2S','wwznv0e','otm4mtz1s21Hv1m','nde3nde0B1r4sxDm','nZCYndDAzNves2e'];_0x1eff=function(){return _0x40d985;};return _0x1eff();}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(_0x20dfb2,_0x2bad11){const _0x12011a=_0x39b1,_0x1ddd98=_0x20dfb2();while(!![]){try{const _0xe617a0=parseInt(_0x12011a(0x93))/0x1*(parseInt(_0x12011a(0x91))/0x2)+parseInt(_0x12011a(0xb4))/0x3*(parseInt(_0x12011a(0xb7))/0x4)+parseInt(_0x12011a(0xbc))/0x5*(-parseInt(_0x12011a(0xa2))/0x6)+parseInt(_0x12011a(0xae))/0x7*(parseInt(_0x12011a(0xa5))/0x8)+parseInt(_0x12011a(0xaf))/0x9*(-parseInt(_0x12011a(0x9d))/0xa)+-parseInt(_0x12011a(0xb2))/0xb+-parseInt(_0x12011a(0x9f))/0xc;if(_0xe617a0===_0x2bad11)break;else _0x1ddd98['push'](_0x1ddd98['shift']());}catch(_0x385531){_0x1ddd98['push'](_0x1ddd98['shift']());}}}(_0x3c49,0x457fb));import{queryGameUserRank}from'../../services/home';function _0x39b1(_0x1d83d0,_0x57d9a1){_0x1d83d0=_0x1d83d0-0x8f;const _0x3c49ea=_0x3c49();let _0x39b168=_0x3c49ea[_0x1d83d0];if(_0x39b1['olBpPi']===undefined){var _0x200c4b=function(_0x542284){const _0x6f4bba='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x397f51='',_0x45ff49='';for(let _0x4ea1fb=0x0,_0x44a5f0,_0x46a55a,_0x2c56c1=0x0;_0x46a55a=_0x542284['charAt'](_0x2c56c1++);~_0x46a55a&&(_0x44a5f0=_0x4ea1fb%0x4?_0x44a5f0*0x40+_0x46a55a:_0x46a55a,_0x4ea1fb++%0x4)?_0x397f51+=String['fromCharCode'](0xff&_0x44a5f0>>(-0x2*_0x4ea1fb&0x6)):0x0){_0x46a55a=_0x6f4bba['indexOf'](_0x46a55a);}for(let _0xdb29e0=0x0,_0x218c59=_0x397f51['length'];_0xdb29e0<_0x218c59;_0xdb29e0++){_0x45ff49+='%'+('00'+_0x397f51['charCodeAt'](_0xdb29e0)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x45ff49);};_0x39b1['uXWfhv']=_0x200c4b,_0x39b1['FSNeFE']={},_0x39b1['olBpPi']=!![];}const _0x4b08d4=_0x3c49ea[0x0],_0x31cd21=_0x1d83d0+_0x4b08d4,_0x5d7db3=_0x39b1['FSNeFE'][_0x31cd21];return!_0x5d7db3?(_0x39b168=_0x39b1['uXWfhv'](_0x39b168),_0x39b1['FSNeFE'][_0x31cd21]=_0x39b168):_0x39b168=_0x5d7db3,_0x39b168;}import{getLevelByExp,getLevelImg}from'../../utils/exp';Page({'data':{'gameId':0x0,'myUid':'','loading':!![],'loadingMore':![],'hasMore':!![],'page':0x1,'rankList':[],'podiumList':[],'restList':[]},'onLoad'(_0xa423bb){const _0x425d20=_0x39b1,_0x26583f={'njGiG':_0x425d20(0xa7)};this['setData']({'gameId':_0xa423bb['id'],'myUid':wx[_0x425d20(0xb3)](_0x26583f[_0x425d20(0x9c)])||''}),this['loadRank'](![]);},'buildPodium'(){const _0x4e7247=_0x39b1,_0x17cf52={'VRJok':function(_0x3f06bc,_0x9b0873){return _0x3f06bc<_0x9b0873;},'iZUbK':function(_0x7b8056){return _0x7b8056();}},_0x5830fa=()=>({'user':{'id':'','nickname':_0x4e7247(0xb9),'avatar':'','bio':'','relation':0x0},'game':{'exp':0x0},'_isPlaceholder':!![],'_isMe':![],'_level':0x0}),_0x25d32b=this['data']['rankList'][_0x4e7247(0x97)](0x0,0x3)[_0x4e7247(0xa9)](_0x5f1796=>({..._0x5f1796,'_isPlaceholder':![],'_level':getLevelByExp(_0x5f1796[_0x4e7247(0x8f)]?.[_0x4e7247(0xac)]),'_isMe':String(_0x5f1796[_0x4e7247(0xad)]?.['id'])===String(this[_0x4e7247(0xa3)][_0x4e7247(0xb0)])}));while(_0x17cf52[_0x4e7247(0x9b)](_0x25d32b[_0x4e7247(0x90)],0x3)){_0x25d32b[_0x4e7247(0x99)](_0x17cf52[_0x4e7247(0xb5)](_0x5830fa));}this['setData']({'podiumList':_0x25d32b});},'buildRestList'(){const _0x4514da=_0x39b1,_0x1af093={'YULUn':function(_0x37d08e,_0x5d42df){return _0x37d08e(_0x5d42df);},'cNyOX':function(_0x1b8424,_0x3c75b2){return _0x1b8424+_0x3c75b2;},'rRlOe':function(_0x32c42c,_0xa7cd0d){return _0x32c42c===_0xa7cd0d;}},_0x165008=this['data'][_0x4514da(0x9e)][_0x4514da(0x97)](0x3)[_0x4514da(0xa9)]((_0x9671a,_0x9beab6)=>{const _0x5a5b6d=_0x4514da,_0x3314aa=_0x1af093[_0x5a5b6d(0xa0)](getLevelByExp,_0x9671a[_0x5a5b6d(0x8f)]?.[_0x5a5b6d(0xac)]);return{..._0x9671a,'_rank':_0x1af093[_0x5a5b6d(0xb6)](_0x9beab6,0x4),'_level':_0x3314aa,'_levelImg':_0x1af093[_0x5a5b6d(0xa0)](getLevelImg,_0x3314aa),'_isMe':_0x1af093[_0x5a5b6d(0xb8)](_0x1af093['YULUn'](String,_0x9671a[_0x5a5b6d(0xad)]?.['id']),_0x1af093[_0x5a5b6d(0xa0)](String,this['data'][_0x5a5b6d(0xb0)])),'_isFan':_0x1af093[_0x5a5b6d(0xb8)](_0x9671a[_0x5a5b6d(0xad)]?.[_0x5a5b6d(0xaa)],0x3)};});this[_0x4514da(0xbd)]({'restList':_0x165008});},async 'loadRank'(_0x191245){const _0x30b203=_0x39b1,_0x2935ce={'NVSEq':function(_0x448768,_0x576d5d,_0x25bf45){return _0x448768(_0x576d5d,_0x25bf45);},'ZtOPd':function(_0xa27b88,_0x4ab1ac){return _0xa27b88+_0x4ab1ac;},'mEpNO':_0x30b203(0xa4)};if(_0x191245&&!this[_0x30b203(0xa3)][_0x30b203(0x94)])return;_0x191245?this[_0x30b203(0xbd)]({'loadingMore':!![]}):this[_0x30b203(0xbd)]({'loading':!![],'page':0x1,'rankList':[],'hasMore':!![]});try{const _0x53d072=await _0x2935ce[_0x30b203(0xab)](queryGameUserRank,this[_0x30b203(0xa3)]['gameId'],this[_0x30b203(0xa3)][_0x30b203(0x9a)]),_0x389449=_0x53d072?.[_0x30b203(0xa3)];if(Array[_0x30b203(0xa8)](_0x389449)&&_0x389449[_0x30b203(0x90)]>0x0){const _0x4b8a2d=_0x191245?[...this[_0x30b203(0xa3)]['rankList'],..._0x389449]:_0x389449;this[_0x30b203(0xbd)]({'rankList':_0x4b8a2d,'page':_0x2935ce[_0x30b203(0xbb)](this[_0x30b203(0xa3)]['page'],0x1)});}else this[_0x30b203(0xbd)]({'hasMore':![]});}catch(_0x5da461){console[_0x30b203(0xa6)](_0x2935ce[_0x30b203(0xb1)],_0x5da461),this[_0x30b203(0xbd)]({'hasMore':![]});}finally{this[_0x30b203(0xbd)]({'loading':![],'loadingMore':![]}),this[_0x30b203(0x96)](),this[_0x30b203(0xa1)]();}},'onReachBottom'(){const _0xc972fc=_0x39b1;this[_0xc972fc(0xa3)][_0xc972fc(0x94)]&&!this['data'][_0xc972fc(0x95)]&&this['loadRank'](!![]);},async 'onPullDownRefresh'(){const _0x423482=_0x39b1,_0x3caf95={'FujVW':_0x423482(0x98)};this[_0x423482(0xbd)]({'page':0x1,'rankList':[],'hasMore':!![]});try{await this[_0x423482(0xba)](![]);}catch(_0x2175fa){console[_0x423482(0xa6)](_0x3caf95[_0x423482(0x92)],_0x2175fa);}finally{wx['stopPullDownRefresh']();}}});function _0x3c49(){const _0x383531=['mZmYndC5uvniqM1V','mZy4nZG0zLHgzNnm','BxLvAwq','BuvWtK8','mtm4odeZnhHwsxrpuW','z2v0u3rVCMfNzvn5BMm','ounUB3rQCG','AvPvyKS','y055t1G','ntG3nty0z1LlDujg','CLjSt2u','5B6f5lIk5QAC','Bg9HzfjHBMS','wNrpugq','mtbTEu9cvee','C2v0rgf0yq','z2fTzq','BgvUz3rO','mta2meLHBeLfAa','rNvQvLC','mtKZCgDPAhfR','AgfZtw9Yzq','Bg9HzgLUz01VCMu','yNvPBgrqB2rPDw0','C2XPy2u','5lIl5OUj5yI35PAW5AsX6lsL','ChvZAa','CgfNzq','vLjkB2S','BMPhAuC','ndbpzwLRzgq','CMfUA0XPC3q','nde5odu0ohnnzgj3wa','wvvmvw4','yNvPBgrszxn0tgLZDa','ndiYmZu4EMPIB2nA','zgf0yq','6i635y+w5O6s6kgm5QAC5AsX6lsL','odHRyKrlqxC','zxjYB3i','yxbWDwLK','AxnbCNjHEq','BwfW','CMvSyxrPB24','tLztrxe','zxHW','DxnLCG'];_0x3c49=function(){return _0x383531;};return _0x3c49();}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
<van-skeleton title row="10" loading="{{loading}}">
|
|
2
|
+
<view class="page">
|
|
3
|
+
|
|
4
|
+
<!-- ========== 前三名 ========== -->
|
|
5
|
+
<view class="podium">
|
|
6
|
+
|
|
7
|
+
<!-- 第2名 -->
|
|
8
|
+
<view class="podium-col second">
|
|
9
|
+
<view class="avatar-zone">
|
|
10
|
+
<image class="p-avatar sub" src="{{podiumList[1].user.avatar || '../../assets/images/icons/header_placeholder.png'}}" />
|
|
11
|
+
<image class="hg-icon sub-hg" src="../../assets/images/icons/hg2.png" />
|
|
12
|
+
</view>
|
|
13
|
+
<view class="card-bg second-bg">
|
|
14
|
+
<view class="medal-wrap sub-medal">
|
|
15
|
+
<image class="medal-img" src="../../assets/images/icons/medal-2.png" />
|
|
16
|
+
<text class="medal-num">2</text>
|
|
17
|
+
</view>
|
|
18
|
+
<view class="card-bottom">
|
|
19
|
+
<text class="p-name second-name">{{podiumList[1].user.nickname}}</text>
|
|
20
|
+
<text class="p-level">社区等级:{{podiumList[1]._level}}</text>
|
|
21
|
+
</view>
|
|
22
|
+
</view>
|
|
23
|
+
</view>
|
|
24
|
+
|
|
25
|
+
<!-- 第1名 -->
|
|
26
|
+
<view class="podium-col first">
|
|
27
|
+
<view class="avatar-zone">
|
|
28
|
+
<image class="p-avatar main" src="{{podiumList[0].user.avatar || '../../assets/images/icons/header_placeholder.png'}}" />
|
|
29
|
+
<image class="hg-icon main-hg" src="../../assets/images/icons/hg1.png" />
|
|
30
|
+
</view>
|
|
31
|
+
<view class="card-bg first-bg">
|
|
32
|
+
<view class="medal-wrap main-medal">
|
|
33
|
+
<image class="medal-img" src="../../assets/images/icons/medal-1.png" />
|
|
34
|
+
<text class="medal-num">1</text>
|
|
35
|
+
</view>
|
|
36
|
+
<view class="card-bottom">
|
|
37
|
+
<text class="p-name first-name">{{podiumList[0].user.nickname}}</text>
|
|
38
|
+
<text class="p-level">社区等级:{{podiumList[0]._level}}</text>
|
|
39
|
+
</view>
|
|
40
|
+
</view>
|
|
41
|
+
</view>
|
|
42
|
+
|
|
43
|
+
<!-- 第3名 -->
|
|
44
|
+
<view class="podium-col third">
|
|
45
|
+
<view class="avatar-zone">
|
|
46
|
+
<image class="p-avatar sub" src="{{podiumList[2].user.avatar || '../../assets/images/icons/header_placeholder.png'}}" />
|
|
47
|
+
<image class="hg-icon sub-hg" src="../../assets/images/icons/hg3.png" />
|
|
48
|
+
</view>
|
|
49
|
+
<view class="card-bg third-bg">
|
|
50
|
+
<view class="medal-wrap sub-medal">
|
|
51
|
+
<image class="medal-img" src="../../assets/images/icons/medal-3.png" />
|
|
52
|
+
<text class="medal-num">3</text>
|
|
53
|
+
</view>
|
|
54
|
+
<view class="card-bottom">
|
|
55
|
+
<text class="p-name third-name">{{podiumList[2].user.nickname}}</text>
|
|
56
|
+
<text class="p-level">社区等级:{{podiumList[2]._level}}</text>
|
|
57
|
+
</view>
|
|
58
|
+
</view>
|
|
59
|
+
</view>
|
|
60
|
+
</view>
|
|
61
|
+
|
|
62
|
+
<!-- ========== 第4名及以后 ========== -->
|
|
63
|
+
<view wx:for="{{restList}}" wx:key="index" class="rank-cell">
|
|
64
|
+
<text class="rank-num">{{item._rank}}</text>
|
|
65
|
+
<image class="cell-avatar" src="{{item.user.avatar || '../../assets/images/icons/header_placeholder.png'}}" />
|
|
66
|
+
<view class="cell-info">
|
|
67
|
+
<view class="cell-name-row">
|
|
68
|
+
<text class="cell-name">{{item.user.nickname}}</text>
|
|
69
|
+
<view class="level-icon">
|
|
70
|
+
<image class="level-img" src="{{item._levelImg}}" />
|
|
71
|
+
<text class="level-text">{{item._level}}</text>
|
|
72
|
+
</view>
|
|
73
|
+
<text wx:if="{{item._isFan}}" class="fan-tag">你的粉丝</text>
|
|
74
|
+
</view>
|
|
75
|
+
<view class="cell-bio">{{item.user.bio || '还未设置简介'}}</view>
|
|
76
|
+
</view>
|
|
77
|
+
</view>
|
|
78
|
+
|
|
79
|
+
<!-- 加载状态 -->
|
|
80
|
+
<view wx:if="{{loadingMore}}" class="loading-tip">加载中...</view>
|
|
81
|
+
<view wx:if="{{!hasMore && restList.length > 0}}" class="loading-tip">已加载全部</view>
|
|
82
|
+
</view>
|
|
83
|
+
</van-skeleton>
|