koishi-plugin-rocom 1.0.18 → 1.0.24
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/lib/announcement-service.d.ts +21 -0
- package/lib/announcement-service.js +63 -0
- package/lib/async-control.d.ts +3 -0
- package/lib/async-control.js +48 -0
- package/lib/atlas-service.js +1 -1
- package/lib/client.d.ts +58 -7
- package/lib/client.js +282 -127
- package/lib/commands/egg.js +66 -4
- package/lib/commands/merchant.d.ts +105 -0
- package/lib/commands/merchant.js +600 -182
- package/lib/commands/query.d.ts +18 -0
- package/lib/commands/query.js +585 -145
- package/lib/commands/ranking.d.ts +2 -0
- package/lib/commands/ranking.js +31 -0
- package/lib/commands/share-code.d.ts +2 -0
- package/lib/commands/share-code.js +111 -0
- package/lib/commands/tools.js +48 -60
- package/lib/commands/wiki.js +1 -1
- package/lib/egg-service.d.ts +82 -8
- package/lib/egg-service.js +235 -19
- package/lib/element-colors.d.ts +3 -0
- package/lib/element-colors.js +34 -0
- package/lib/icon-metrics.d.ts +32 -0
- package/lib/icon-metrics.js +255 -0
- package/lib/img//345/274/202/350/211/262.png +0 -0
- package/lib/img//347/202/253/345/275/251.png +0 -0
- package/lib/index.d.ts +10 -0
- package/lib/index.js +11857 -175
- package/lib/merchant-catalog.d.ts +47 -0
- package/lib/merchant-catalog.js +193 -0
- package/lib/merchant-clock.d.ts +22 -0
- package/lib/merchant-clock.js +95 -0
- package/lib/merchant-price-log.d.ts +63 -0
- package/lib/merchant-price-log.js +187 -0
- package/lib/merchant-service.d.ts +38 -0
- package/lib/merchant-service.js +216 -0
- package/lib/permissions.d.ts +16 -0
- package/lib/permissions.js +66 -0
- package/lib/pet-data-service.d.ts +13 -0
- package/lib/pet-data-service.js +117 -10
- package/lib/pet-size.d.ts +13 -0
- package/lib/pet-size.js +54 -0
- package/lib/player-service.d.ts +37 -0
- package/lib/player-service.js +201 -0
- package/lib/ranking-service.d.ts +46 -0
- package/lib/ranking-service.js +137 -0
- package/lib/render-templates/announcement/detail.html +8 -0
- package/lib/render-templates/announcement/list.html +5 -0
- package/lib/render-templates/announcement/style.css +1 -0
- package/lib/render-templates/home/style.css +15 -14
- package/lib/render-templates/home-pets/index.html +80 -0
- package/lib/render-templates/home-pets/style.css +338 -0
- package/lib/render-templates/pet-detail-classic/index.html +151 -0
- package/lib/render-templates/pet-detail-classic/style.css +503 -0
- package/lib/render-templates/pet-detail-classic/texture2D/a_title.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D/bg.jpg +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D/footer.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D/icon.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D/img_head.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D/jinhua_bg.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D/level_icon.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D/line.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D/mask_bar.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D/pet_bg.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D/pet_rocom.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D/pet_rocom_bg.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D/poro_bar.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D/right_jinhua.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D/skill_bg.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D/skill_mask.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D/star.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D/star_1.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D/star_8.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D/star_9.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D/table.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D/tags.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D/title.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D/top_bg.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D/xuancai_overlay.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D/yise_overlay.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D/ys_bar.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247/10.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247/11.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247/12.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247/13.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247/14.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247/15.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247/16.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247/17.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247/18.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247/19.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247/2.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247/20.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247/23.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247/3.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247/4.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247/5.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247/6.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247/8.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247/9.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247//345/205/211.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247//345/206/260.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247//345/234/260.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247//345/271/273.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247//345/271/275.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247//346/201/266.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247//346/227/240.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247//346/231/256/351/200/232.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247//346/234/272/346/242/260.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247//346/255/246.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247//346/257/222.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247//346/260/264.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247//347/201/253.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247//347/224/265.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247//347/277/274.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247//350/215/211.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247//350/220/214.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247//350/231/253.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//345/261/236/346/200/247//351/276/231.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//350/241/200/350/204/211/1.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//350/241/200/350/204/211/10.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//350/241/200/350/204/211/11.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//350/241/200/350/204/211/12.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//350/241/200/350/204/211/13.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//350/241/200/350/204/211/14.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//350/241/200/350/204/211/15.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//350/241/200/350/204/211/16.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//350/241/200/350/204/211/17.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//350/241/200/350/204/211/18.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//350/241/200/350/204/211/19.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//350/241/200/350/204/211/2.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//350/241/200/350/204/211/21.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//350/241/200/350/204/211/23.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//350/241/200/350/204/211/24.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//350/241/200/350/204/211/3.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//350/241/200/350/204/211/4.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//350/241/200/350/204/211/5.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//350/241/200/350/204/211/6.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//350/241/200/350/204/211/7.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//350/241/200/350/204/211/8.png +0 -0
- package/lib/render-templates/pet-detail-classic/texture2D//350/241/200/350/204/211/9.png +0 -0
- package/lib/render-templates/pet-ranking/index.html +99 -0
- package/lib/render-templates/pet-ranking/style.css +338 -0
- package/lib/render-templates/player-search/index.html +7 -0
- package/lib/render-templates/searcheggs/index.html +1 -1
- package/lib/render-templates/searcheggs/size.html +70 -68
- package/lib/render-templates/share-code-classic/assets/eit-logo.png +0 -0
- package/lib/render-templates/share-code-classic/assets/img_xingxingdi.png +0 -0
- package/lib/render-templates/share-code-classic/assets/roco_icon.png +0 -0
- package/lib/render-templates/share-code-classic/assets//345/255/227/344/275/223/Rocofontblack-Regular .ttf +0 -0
- package/lib/render-templates/share-code-classic/assets//345/256/240/347/211/251/345/261/236/346/200/247//345/205/211.png +0 -0
- package/lib/render-templates/share-code-classic/assets//345/256/240/347/211/251/345/261/236/346/200/247//345/206/260.png +0 -0
- package/lib/render-templates/share-code-classic/assets//345/256/240/347/211/251/345/261/236/346/200/247//345/234/260.png +0 -0
- package/lib/render-templates/share-code-classic/assets//345/256/240/347/211/251/345/261/236/346/200/247//345/271/273.png +0 -0
- package/lib/render-templates/share-code-classic/assets//345/256/240/347/211/251/345/261/236/346/200/247//345/271/275.png +0 -0
- package/lib/render-templates/share-code-classic/assets//345/256/240/347/211/251/345/261/236/346/200/247//346/201/266.png +0 -0
- package/lib/render-templates/share-code-classic/assets//345/256/240/347/211/251/345/261/236/346/200/247//346/227/240.png +0 -0
- package/lib/render-templates/share-code-classic/assets//345/256/240/347/211/251/345/261/236/346/200/247//346/231/256/351/200/232.png +0 -0
- package/lib/render-templates/share-code-classic/assets//345/256/240/347/211/251/345/261/236/346/200/247//346/234/272/346/242/260.png +0 -0
- package/lib/render-templates/share-code-classic/assets//345/256/240/347/211/251/345/261/236/346/200/247//346/255/246.png +0 -0
- package/lib/render-templates/share-code-classic/assets//345/256/240/347/211/251/345/261/236/346/200/247//346/257/222.png +0 -0
- package/lib/render-templates/share-code-classic/assets//345/256/240/347/211/251/345/261/236/346/200/247//346/260/264.png +0 -0
- package/lib/render-templates/share-code-classic/assets//345/256/240/347/211/251/345/261/236/346/200/247//347/201/253.png +0 -0
- package/lib/render-templates/share-code-classic/assets//345/256/240/347/211/251/345/261/236/346/200/247//347/224/265.png +0 -0
- package/lib/render-templates/share-code-classic/assets//345/256/240/347/211/251/345/261/236/346/200/247//347/277/274.png +0 -0
- package/lib/render-templates/share-code-classic/assets//345/256/240/347/211/251/345/261/236/346/200/247//350/215/211.png +0 -0
- package/lib/render-templates/share-code-classic/assets//345/256/240/347/211/251/345/261/236/346/200/247//350/220/214.png +0 -0
- package/lib/render-templates/share-code-classic/assets//345/256/240/347/211/251/345/261/236/346/200/247//350/231/253.png +0 -0
- package/lib/render-templates/share-code-classic/assets//345/256/240/347/211/251/345/261/236/346/200/247//351/276/231.png +0 -0
- package/lib/render-templates/share-code-classic/assets//347/201/253/346/274/206/345/215/260.png +0 -0
- package/lib/render-templates/share-code-classic/assets//347/253/213/347/273/230/350/203/214/346/231/257/346/241/206.png +0 -0
- package/lib/render-templates/share-code-classic/assets//350/241/200/350/204/211//345/205/211.png +0 -0
- package/lib/render-templates/share-code-classic/assets//350/241/200/350/204/211//345/206/260.png +0 -0
- package/lib/render-templates/share-code-classic/assets//350/241/200/350/204/211//345/234/260.png +0 -0
- package/lib/render-templates/share-code-classic/assets//350/241/200/350/204/211//345/245/207/345/274/202.png +0 -0
- package/lib/render-templates/share-code-classic/assets//350/241/200/350/204/211//345/271/273.png +0 -0
- package/lib/render-templates/share-code-classic/assets//350/241/200/350/204/211//345/271/275.png +0 -0
- package/lib/render-templates/share-code-classic/assets//350/241/200/350/204/211//346/201/266.png +0 -0
- package/lib/render-templates/share-code-classic/assets//350/241/200/350/204/211//346/231/256/351/200/232.png +0 -0
- package/lib/render-templates/share-code-classic/assets//350/241/200/350/204/211//346/234/272/346/242/260.png +0 -0
- package/lib/render-templates/share-code-classic/assets//350/241/200/350/204/211//346/255/246.png +0 -0
- package/lib/render-templates/share-code-classic/assets//350/241/200/350/204/211//346/257/222.png +0 -0
- package/lib/render-templates/share-code-classic/assets//350/241/200/350/204/211//346/260/264.png +0 -0
- package/lib/render-templates/share-code-classic/assets//350/241/200/350/204/211//346/261/241/346/237/223.png +0 -0
- package/lib/render-templates/share-code-classic/assets//350/241/200/350/204/211//347/201/253.png +0 -0
- package/lib/render-templates/share-code-classic/assets//350/241/200/350/204/211//347/224/265.png +0 -0
- package/lib/render-templates/share-code-classic/assets//350/241/200/350/204/211//347/277/274.png +0 -0
- package/lib/render-templates/share-code-classic/assets//350/241/200/350/204/211//350/215/211.png +0 -0
- package/lib/render-templates/share-code-classic/assets//350/241/200/350/204/211//350/220/214.png +0 -0
- package/lib/render-templates/share-code-classic/assets//350/241/200/350/204/211//350/231/253.png +0 -0
- package/lib/render-templates/share-code-classic/assets//350/241/200/350/204/211//351/246/226/351/242/206.png +0 -0
- package/lib/render-templates/share-code-classic/assets//350/241/200/350/204/211//351/276/231.png +0 -0
- package/lib/render-templates/share-code-classic/index.html +119 -0
- package/lib/render-templates/share-code-classic/style.css +646 -0
- package/lib/render-templates/share-code-team/index.html +105 -0
- package/lib/render-templates/share-code-team/style.css +345 -0
- package/lib/render-templates/yuanxing-shangren/merchant.html +479 -461
- package/lib/render-templates/yuanxing-shangren/today.html +407 -461
- package/lib/render.d.ts +18 -2
- package/lib/render.js +138 -39
- package/lib/send-image.d.ts +1 -1
- package/lib/send-image.js +22 -1
- package/lib/share-code-service.d.ts +68 -0
- package/lib/share-code-service.js +257 -0
- package/lib/subscription-runner.d.ts +6 -0
- package/lib/subscription-runner.js +21 -0
- package/lib/subscription-send.d.ts +4 -2
- package/lib/subscription-send.js +45 -20
- package/lib/ttf/rocom_origin.ttf +0 -0
- package/lib/types.d.ts +14 -1
- package/lib/user.d.ts +11 -0
- package/lib/wiki-catalog.js +1 -1
- package/lib/wiki-service.js +1 -1
- package/package.json +5 -1
- package/readme.md +125 -124
- package/lib/ttf/rocom_skill_origin.ttf +0 -0
|
@@ -1,461 +1,407 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="zh-CN">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<meta name="viewport" content="width=
|
|
6
|
-
<title>今日远行商人</title>
|
|
7
|
-
<style>
|
|
8
|
-
@font-face {
|
|
9
|
-
font-family: 'RocoName';
|
|
10
|
-
src: url('{{_res_path}}ttf/dundun.xHd_Ee5-.woff2') format('woff2');
|
|
11
|
-
font-weight: normal; font-style: normal;
|
|
12
|
-
}
|
|
13
|
-
@font-face {
|
|
14
|
-
font-family: 'RocoProduct';
|
|
15
|
-
src: url('{{_res_path}}ttf/造字工房启黑体.ttf') format('truetype');
|
|
16
|
-
font-weight: normal; font-style: normal;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
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
|
-
position: absolute;
|
|
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
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
font-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
-webkit-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
position:
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
</
|
|
370
|
-
</
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
<
|
|
397
|
-
|
|
398
|
-
<
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
</
|
|
408
|
-
|
|
409
|
-
<div id="container" class="page">
|
|
410
|
-
<img class="title-bg" src="{{_res_path}}render/yuanxing-shangren/img/标题.png" alt="标题">
|
|
411
|
-
|
|
412
|
-
<div class="time-group">
|
|
413
|
-
<span class="time-date">{{dateStr}}</span>
|
|
414
|
-
<span class="time-range">08:00-24:00</span>
|
|
415
|
-
</div>
|
|
416
|
-
|
|
417
|
-
{{if goods && goods.length > 0}}
|
|
418
|
-
{{each goods item}}
|
|
419
|
-
<div class="goods-card{{if item.isEnded}} ended{{/if}}" style="top: {{item.top}}px">
|
|
420
|
-
<div class="goods-card-bg"></div>
|
|
421
|
-
<div class="goods-name-wrap">
|
|
422
|
-
<span class="goods-name-shadow">{{item.goods_name}}</span>
|
|
423
|
-
<span class="goods-name">{{item.goods_name}}</span>
|
|
424
|
-
</div>
|
|
425
|
-
<div class="num-badge">
|
|
426
|
-
<img class="num-badge-bg" src="{{_res_path}}render/yuanxing-shangren/img/编号背景框.png" alt="">
|
|
427
|
-
<div class="num-badge-text">{{item.num}}</div>
|
|
428
|
-
</div>
|
|
429
|
-
<div class="goods-img-wrap">
|
|
430
|
-
<img class="goods-img" src="{{item.iconUrl}}" alt="{{item.goods_name}}">
|
|
431
|
-
{{if item.isHot}}<img class="hot-badge" src="{{_res_path}}render/yuanxing-shangren/img/热销.png" alt="热销">{{/if}}
|
|
432
|
-
</div>
|
|
433
|
-
<div class="price-group">
|
|
434
|
-
<img class="coin-icon" src="{{_res_path}}render/yuanxing-shangren/img/coin.png" alt="coin">
|
|
435
|
-
<div class="price-inner">
|
|
436
|
-
<span class="price-value-wrap">
|
|
437
|
-
<span class="price-shadow">{{item.price}}</span>
|
|
438
|
-
<span class="price-value">{{item.price}}</span>
|
|
439
|
-
</span>
|
|
440
|
-
<span class="price-sep" data-text="/">/</span>
|
|
441
|
-
<span class="price-unit" data-text="个">个</span>
|
|
442
|
-
</div>
|
|
443
|
-
</div>
|
|
444
|
-
<div class="limit-area">
|
|
445
|
-
<div class="limit-btn"></div>
|
|
446
|
-
<div class="limit-text">{{item.remainingStr}}</div>
|
|
447
|
-
</div>
|
|
448
|
-
</div>
|
|
449
|
-
{{/each}}
|
|
450
|
-
{{else}}
|
|
451
|
-
<div class="goods-card goods-card-empty" style="top: 592px">
|
|
452
|
-
<div class="goods-card-bg"></div>
|
|
453
|
-
<div class="goods-empty-text">暂无商品</div>
|
|
454
|
-
</div>
|
|
455
|
-
{{/if}}
|
|
456
|
-
|
|
457
|
-
<img class="bottom-img" src="{{_res_path}}render/yuanxing-shangren/img/底部信息框.png" alt="底部信息框" style="top: {{bottomFrameTop}}px">
|
|
458
|
-
</div>
|
|
459
|
-
|
|
460
|
-
</body>
|
|
461
|
-
</html>
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="zh-CN">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width={{renderWidth}}, initial-scale=1">
|
|
6
|
+
<title>今日远行商人</title>
|
|
7
|
+
<style>
|
|
8
|
+
@font-face {
|
|
9
|
+
font-family: 'RocoName';
|
|
10
|
+
src: url('{{_res_path}}ttf/dundun.xHd_Ee5-.woff2') format('woff2');
|
|
11
|
+
font-weight: normal; font-style: normal;
|
|
12
|
+
}
|
|
13
|
+
@font-face {
|
|
14
|
+
font-family: 'RocoProduct';
|
|
15
|
+
src: url('{{_res_path}}ttf/造字工房启黑体.ttf') format('truetype');
|
|
16
|
+
font-weight: normal; font-style: normal;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
20
|
+
|
|
21
|
+
:root {
|
|
22
|
+
--render-scale: {{renderScale}};
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
html,
|
|
26
|
+
body {
|
|
27
|
+
width: {{renderWidth}}px;
|
|
28
|
+
min-height: {{renderHeight}}px;
|
|
29
|
+
background: #f4eee0;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
body {
|
|
33
|
+
-webkit-font-smoothing: antialiased;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.page {
|
|
37
|
+
position: relative;
|
|
38
|
+
width: {{renderWidth}}px;
|
|
39
|
+
height: {{renderHeight}}px;
|
|
40
|
+
background: #f4eee0;
|
|
41
|
+
overflow: hidden;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.page-canvas {
|
|
45
|
+
position: absolute;
|
|
46
|
+
left: 0;
|
|
47
|
+
top: 0;
|
|
48
|
+
width: {{renderBaseWidth}}px;
|
|
49
|
+
height: {{renderBaseHeight}}px;
|
|
50
|
+
zoom: {{renderZoom}};
|
|
51
|
+
overflow: visible;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.title-bg {
|
|
55
|
+
position: absolute;
|
|
56
|
+
left: 5px;
|
|
57
|
+
top: 5.25px;
|
|
58
|
+
width: 260.25px;
|
|
59
|
+
height: 133.75px;
|
|
60
|
+
object-fit: contain;
|
|
61
|
+
z-index: 2;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.time-group {
|
|
65
|
+
position: absolute;
|
|
66
|
+
left: 93px;
|
|
67
|
+
top: 111.75px;
|
|
68
|
+
display: flex;
|
|
69
|
+
align-items: flex-end;
|
|
70
|
+
gap: 0;
|
|
71
|
+
z-index: 3;
|
|
72
|
+
overflow: visible;
|
|
73
|
+
}
|
|
74
|
+
.time-date {
|
|
75
|
+
font-family: 'RocoProduct', sans-serif;
|
|
76
|
+
font-size: 8px;
|
|
77
|
+
color: #817873;
|
|
78
|
+
letter-spacing: -0.05em;
|
|
79
|
+
line-height: 1;
|
|
80
|
+
filter: url(#timeStroke10);
|
|
81
|
+
overflow: visible;
|
|
82
|
+
position: relative;
|
|
83
|
+
left: -7.5px;
|
|
84
|
+
z-index: 2;
|
|
85
|
+
}
|
|
86
|
+
.time-range {
|
|
87
|
+
font-family: 'RocoProduct', sans-serif;
|
|
88
|
+
font-size: 12.5px;
|
|
89
|
+
color: #f0c946;
|
|
90
|
+
letter-spacing: -0.05em;
|
|
91
|
+
line-height: 1;
|
|
92
|
+
filter: url(#timeStroke10);
|
|
93
|
+
overflow: visible;
|
|
94
|
+
position: relative;
|
|
95
|
+
z-index: 1;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/* ── 一轮一行 ─────────────────────────────────────────── */
|
|
99
|
+
.round-row {
|
|
100
|
+
position: absolute;
|
|
101
|
+
left: 5px;
|
|
102
|
+
width: 260.75px;
|
|
103
|
+
height: 92px;
|
|
104
|
+
overflow: visible;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.round-row-bg {
|
|
108
|
+
position: absolute;
|
|
109
|
+
left: 0; top: 0;
|
|
110
|
+
width: 260.75px;
|
|
111
|
+
height: 92px;
|
|
112
|
+
border-radius: 3.75px;
|
|
113
|
+
background: #cec8bc;
|
|
114
|
+
}
|
|
115
|
+
.round-row.is-current .round-row-bg {
|
|
116
|
+
background: #d9d3c6;
|
|
117
|
+
box-shadow: 0 0 0 1.5px #f0c946;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.round-tab {
|
|
121
|
+
position: absolute;
|
|
122
|
+
left: 0; top: 0;
|
|
123
|
+
width: 38px;
|
|
124
|
+
height: 92px;
|
|
125
|
+
border-radius: 3.75px 0 0 3.75px;
|
|
126
|
+
background: #b3aa9d;
|
|
127
|
+
display: flex;
|
|
128
|
+
flex-direction: column;
|
|
129
|
+
align-items: center;
|
|
130
|
+
justify-content: center;
|
|
131
|
+
z-index: 1;
|
|
132
|
+
}
|
|
133
|
+
.round-row.is-current .round-tab {
|
|
134
|
+
background: #f0c946;
|
|
135
|
+
}
|
|
136
|
+
.round-tab-label {
|
|
137
|
+
font-family: 'RocoProduct', sans-serif;
|
|
138
|
+
font-size: 11px;
|
|
139
|
+
line-height: 1;
|
|
140
|
+
color: #fdf7e9;
|
|
141
|
+
letter-spacing: -0.02em;
|
|
142
|
+
white-space: nowrap;
|
|
143
|
+
}
|
|
144
|
+
.round-row.is-current .round-tab-label {
|
|
145
|
+
color: #3f3832;
|
|
146
|
+
}
|
|
147
|
+
.round-tab-time {
|
|
148
|
+
font-family: 'RocoName', sans-serif;
|
|
149
|
+
font-size: 7.5px;
|
|
150
|
+
line-height: 1;
|
|
151
|
+
color: #ece4d6;
|
|
152
|
+
margin-top: 3.5px;
|
|
153
|
+
white-space: nowrap;
|
|
154
|
+
}
|
|
155
|
+
.round-row.is-current .round-tab-time {
|
|
156
|
+
color: #6d5c1f;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.round-items {
|
|
160
|
+
position: absolute;
|
|
161
|
+
left: 38px; top: 0;
|
|
162
|
+
width: 222.75px;
|
|
163
|
+
height: 92px;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.item-cell {
|
|
167
|
+
position: absolute;
|
|
168
|
+
top: 0;
|
|
169
|
+
width: 44.55px;
|
|
170
|
+
height: 92px;
|
|
171
|
+
}
|
|
172
|
+
.item-cell.ended {
|
|
173
|
+
opacity: 0.5;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.item-icon-wrap {
|
|
177
|
+
position: absolute;
|
|
178
|
+
overflow: visible;
|
|
179
|
+
}
|
|
180
|
+
.item-icon {
|
|
181
|
+
width: 100%;
|
|
182
|
+
height: 100%;
|
|
183
|
+
object-fit: contain;
|
|
184
|
+
filter: url(#imgStroke11);
|
|
185
|
+
overflow: visible;
|
|
186
|
+
}
|
|
187
|
+
.item-hot-badge {
|
|
188
|
+
position: absolute;
|
|
189
|
+
top: 0;
|
|
190
|
+
right: 0;
|
|
191
|
+
width: 38%;
|
|
192
|
+
height: 38%;
|
|
193
|
+
z-index: 2;
|
|
194
|
+
object-fit: contain;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.item-name-wrap {
|
|
198
|
+
position: absolute;
|
|
199
|
+
left: 0; top: 45px;
|
|
200
|
+
width: 100%;
|
|
201
|
+
height: 18px;
|
|
202
|
+
display: flex;
|
|
203
|
+
align-items: center;
|
|
204
|
+
justify-content: center;
|
|
205
|
+
overflow: visible;
|
|
206
|
+
}
|
|
207
|
+
.item-name-box {
|
|
208
|
+
position: relative;
|
|
209
|
+
max-width: 100%;
|
|
210
|
+
}
|
|
211
|
+
.item-name-shadow {
|
|
212
|
+
position: absolute;
|
|
213
|
+
left: 0.5px; top: 1px;
|
|
214
|
+
width: 100%;
|
|
215
|
+
font-family: 'RocoProduct', sans-serif;
|
|
216
|
+
font-size: 8.5px;
|
|
217
|
+
line-height: 9.5px;
|
|
218
|
+
color: #f4eee0;
|
|
219
|
+
text-align: center;
|
|
220
|
+
word-break: break-all;
|
|
221
|
+
pointer-events: none;
|
|
222
|
+
filter: url(#imgStrokeName);
|
|
223
|
+
overflow: visible;
|
|
224
|
+
}
|
|
225
|
+
.item-name {
|
|
226
|
+
position: relative;
|
|
227
|
+
display: block;
|
|
228
|
+
width: 100%;
|
|
229
|
+
font-family: 'RocoProduct', sans-serif;
|
|
230
|
+
font-size: 8.5px;
|
|
231
|
+
line-height: 9.5px;
|
|
232
|
+
color: #3f3832;
|
|
233
|
+
text-align: center;
|
|
234
|
+
word-break: break-all;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.item-price {
|
|
238
|
+
position: absolute;
|
|
239
|
+
left: 0; top: 64px;
|
|
240
|
+
width: 100%;
|
|
241
|
+
height: 12px;
|
|
242
|
+
display: flex;
|
|
243
|
+
align-items: center;
|
|
244
|
+
justify-content: center;
|
|
245
|
+
gap: 1px;
|
|
246
|
+
overflow: visible;
|
|
247
|
+
}
|
|
248
|
+
.item-coin {
|
|
249
|
+
width: 9.5px;
|
|
250
|
+
height: 9.5px;
|
|
251
|
+
object-fit: contain;
|
|
252
|
+
filter: url(#imgStrokeName);
|
|
253
|
+
}
|
|
254
|
+
.item-price-value {
|
|
255
|
+
font-family: 'RocoName', sans-serif;
|
|
256
|
+
font-size: 10.5px;
|
|
257
|
+
line-height: 1;
|
|
258
|
+
letter-spacing: -0.08em;
|
|
259
|
+
background: linear-gradient(to bottom, #d07338, #dd9036);
|
|
260
|
+
-webkit-background-clip: text;
|
|
261
|
+
-webkit-text-fill-color: transparent;
|
|
262
|
+
background-clip: text;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.item-limit {
|
|
266
|
+
position: absolute;
|
|
267
|
+
left: 0; top: 77px;
|
|
268
|
+
width: 100%;
|
|
269
|
+
height: 10px;
|
|
270
|
+
display: flex;
|
|
271
|
+
align-items: center;
|
|
272
|
+
justify-content: center;
|
|
273
|
+
font-family: 'RocoName', sans-serif;
|
|
274
|
+
font-size: 7px;
|
|
275
|
+
line-height: 1;
|
|
276
|
+
color: #878070;
|
|
277
|
+
letter-spacing: -0.04em;
|
|
278
|
+
white-space: nowrap;
|
|
279
|
+
overflow: visible;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.round-row-empty {
|
|
283
|
+
display: flex;
|
|
284
|
+
align-items: center;
|
|
285
|
+
justify-content: center;
|
|
286
|
+
}
|
|
287
|
+
.round-empty-text {
|
|
288
|
+
position: relative;
|
|
289
|
+
z-index: 1;
|
|
290
|
+
font-family: 'RocoProduct', sans-serif;
|
|
291
|
+
font-size: 16px;
|
|
292
|
+
color: #878070;
|
|
293
|
+
text-align: center;
|
|
294
|
+
letter-spacing: 1px;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
.bottom-img {
|
|
298
|
+
position: absolute;
|
|
299
|
+
left: 0;
|
|
300
|
+
width: 270px;
|
|
301
|
+
height: 40px;
|
|
302
|
+
object-fit: contain;
|
|
303
|
+
z-index: 2;
|
|
304
|
+
}
|
|
305
|
+
</style>
|
|
306
|
+
</head>
|
|
307
|
+
<body>
|
|
308
|
+
|
|
309
|
+
<svg style="position:absolute;width:0;height:0;">
|
|
310
|
+
<defs>
|
|
311
|
+
<filter id="imgStroke11" x="-10%" y="-10%" width="120%" height="120%"
|
|
312
|
+
color-interpolation-filters="sRGB">
|
|
313
|
+
<feFlood flood-color="#f4eee0" result="color"/>
|
|
314
|
+
<feMorphology in="SourceAlpha" operator="dilate" radius="{{renderStroke11}}" result="dilated"/>
|
|
315
|
+
<feComposite in="color" in2="dilated" operator="in" result="outline"/>
|
|
316
|
+
<feOffset in="outline" dx="{{renderOffset3}}" dy="{{renderOffset3}}" result="offset"/>
|
|
317
|
+
<feMerge>
|
|
318
|
+
<feMergeNode in="offset"/>
|
|
319
|
+
<feMergeNode in="SourceGraphic"/>
|
|
320
|
+
</feMerge>
|
|
321
|
+
</filter>
|
|
322
|
+
<filter id="imgStroke11NoOffset" x="-10%" y="-10%" width="120%" height="120%"
|
|
323
|
+
color-interpolation-filters="sRGB">
|
|
324
|
+
<feFlood flood-color="#f4eee0" result="color"/>
|
|
325
|
+
<feMorphology in="SourceAlpha" operator="dilate" radius="{{renderStroke11}}" result="dilated"/>
|
|
326
|
+
<feComposite in="color" in2="dilated" operator="in" result="outline"/>
|
|
327
|
+
<feMerge>
|
|
328
|
+
<feMergeNode in="outline"/>
|
|
329
|
+
<feMergeNode in="SourceGraphic"/>
|
|
330
|
+
</feMerge>
|
|
331
|
+
</filter>
|
|
332
|
+
<filter id="imgStrokeName" x="-10%" y="-10%" width="120%" height="120%"
|
|
333
|
+
color-interpolation-filters="sRGB">
|
|
334
|
+
<feFlood flood-color="#f4eee0" result="color"/>
|
|
335
|
+
<feMorphology in="SourceAlpha" operator="dilate" radius="{{renderStrokeName}}" result="dilated"/>
|
|
336
|
+
<feComposite in="color" in2="dilated" operator="in" result="outline"/>
|
|
337
|
+
<feMerge>
|
|
338
|
+
<feMergeNode in="outline"/>
|
|
339
|
+
<feMergeNode in="SourceGraphic"/>
|
|
340
|
+
</feMerge>
|
|
341
|
+
</filter>
|
|
342
|
+
<filter id="timeStroke10" x="-10%" y="-10%" width="120%" height="120%"
|
|
343
|
+
color-interpolation-filters="sRGB">
|
|
344
|
+
<feFlood flood-color="#3f3832" result="color"/>
|
|
345
|
+
<feMorphology in="SourceAlpha" operator="dilate" radius="{{renderStroke10}}" result="dilated"/>
|
|
346
|
+
<feComposite in="color" in2="dilated" operator="in" result="outline"/>
|
|
347
|
+
<feMerge>
|
|
348
|
+
<feMergeNode in="outline"/>
|
|
349
|
+
<feMergeNode in="SourceGraphic"/>
|
|
350
|
+
</feMerge>
|
|
351
|
+
</filter>
|
|
352
|
+
</defs>
|
|
353
|
+
</svg>
|
|
354
|
+
|
|
355
|
+
<div id="container" class="page">
|
|
356
|
+
<div class="page-canvas">
|
|
357
|
+
<img class="title-bg" src="{{_res_path}}render-templates/yuanxing-shangren/img/标题.png" alt="标题">
|
|
358
|
+
|
|
359
|
+
<div class="time-group">
|
|
360
|
+
<span class="time-date">{{dateStr}}</span>
|
|
361
|
+
<span class="time-range">08:00-24:00</span>
|
|
362
|
+
</div>
|
|
363
|
+
|
|
364
|
+
{{if rows && rows.length > 0}}
|
|
365
|
+
{{each rows row}}
|
|
366
|
+
<div class="round-row{{if row.isCurrent}} is-current{{/if}}" style="top: calc({{row.top}}px * var(--render-scale))">
|
|
367
|
+
<div class="round-row-bg"></div>
|
|
368
|
+
<div class="round-tab">
|
|
369
|
+
<div class="round-tab-label">{{row.label}}</div>
|
|
370
|
+
<div class="round-tab-time">{{row.timeLabel}}</div>
|
|
371
|
+
</div>
|
|
372
|
+
<div class="round-items">
|
|
373
|
+
{{each row.items item index}}
|
|
374
|
+
<div class="item-cell{{if item.isEnded}} ended{{/if}}" style="left: {{index * row.cellWidth}}px; width: {{row.cellWidth}}px">
|
|
375
|
+
<div class="item-icon-wrap" style="left: {{(row.cellWidth - row.iconSize) / 2}}px; top: {{4 + (40 - row.iconSize) / 2}}px; width: {{row.iconSize}}px; height: {{row.iconSize}}px">
|
|
376
|
+
<img class="item-icon" src="{{item.iconUrl}}" alt="{{item.goods_name}}" style="transform: translate({{item.iconOffsetX}}px, {{item.iconOffsetY}}px) scale({{item.iconScale}})">
|
|
377
|
+
{{if item.isHot}}<img class="item-hot-badge" src="{{_res_path}}render-templates/yuanxing-shangren/img/热销.png" alt="热销">{{/if}}
|
|
378
|
+
</div>
|
|
379
|
+
<div class="item-name-wrap">
|
|
380
|
+
<div class="item-name-box">
|
|
381
|
+
<span class="item-name-shadow">{{item.goods_name}}</span>
|
|
382
|
+
<span class="item-name">{{item.goods_name}}</span>
|
|
383
|
+
</div>
|
|
384
|
+
</div>
|
|
385
|
+
<div class="item-price">
|
|
386
|
+
<img class="item-coin" src="{{_res_path}}render-templates/yuanxing-shangren/img/coin.png" alt="coin">
|
|
387
|
+
<span class="item-price-value">{{item.price}}</span>
|
|
388
|
+
</div>
|
|
389
|
+
{{if item.limit}}<div class="item-limit">限购{{item.limit}}</div>{{/if}}
|
|
390
|
+
</div>
|
|
391
|
+
{{/each}}
|
|
392
|
+
</div>
|
|
393
|
+
</div>
|
|
394
|
+
{{/each}}
|
|
395
|
+
{{else}}
|
|
396
|
+
<div class="round-row round-row-empty" style="top: calc({{startTop}}px * var(--render-scale))">
|
|
397
|
+
<div class="round-row-bg"></div>
|
|
398
|
+
<div class="round-empty-text">今日暂无商品</div>
|
|
399
|
+
</div>
|
|
400
|
+
{{/if}}
|
|
401
|
+
|
|
402
|
+
<img class="bottom-img" src="{{_res_path}}render-templates/yuanxing-shangren/img/底部信息框.png" alt="底部信息框" style="top: calc({{bottomFrameTop}}px * var(--render-scale))">
|
|
403
|
+
</div>
|
|
404
|
+
</div>
|
|
405
|
+
|
|
406
|
+
</body>
|
|
407
|
+
</html>
|