koishi-plugin-rocom 1.0.1

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 (157) hide show
  1. package/lib/client.d.ts +53 -0
  2. package/lib/client.js +473 -0
  3. package/lib/commands/account.d.ts +5 -0
  4. package/lib/commands/account.js +205 -0
  5. package/lib/commands/admin.d.ts +2 -0
  6. package/lib/commands/admin.js +117 -0
  7. package/lib/commands/egg.d.ts +2 -0
  8. package/lib/commands/egg.js +196 -0
  9. package/lib/commands/merchant.d.ts +2 -0
  10. package/lib/commands/merchant.js +242 -0
  11. package/lib/commands/query.d.ts +2 -0
  12. package/lib/commands/query.js +1264 -0
  13. package/lib/commands/wiki.d.ts +2 -0
  14. package/lib/commands/wiki.js +11 -0
  15. package/lib/egg-service.d.ts +229 -0
  16. package/lib/egg-service.js +705 -0
  17. package/lib/index.d.ts +24 -0
  18. package/lib/index.js +3746 -0
  19. package/lib/render-templates/bind-list/index.html +51 -0
  20. package/lib/render-templates/bind-list/style.css +178 -0
  21. package/lib/render-templates/exchange-hall/css/_@astro-renderers.0KDkAyVb.css +1 -0
  22. package/lib/render-templates/exchange-hall/css/index.B3tv56V6.css +1 -0
  23. package/lib/render-templates/exchange-hall/css/index.D2LGPudy.css +1 -0
  24. package/lib/render-templates/exchange-hall/extracted.css +393 -0
  25. package/lib/render-templates/exchange-hall/index.html +99 -0
  26. package/lib/render-templates/exchange-hall/style.css +267 -0
  27. package/lib/render-templates/friendship/index.html +58 -0
  28. package/lib/render-templates/friendship/style.css +182 -0
  29. package/lib/render-templates/home/data/home_item_list.json +122 -0
  30. package/lib/render-templates/home/img/home_icon/100604.png +0 -0
  31. package/lib/render-templates/home/img/home_icon/100604_1.png +0 -0
  32. package/lib/render-templates/home/img/home_icon/100604_2.png +0 -0
  33. package/lib/render-templates/home/img/home_icon/100605.png +0 -0
  34. package/lib/render-templates/home/img/home_icon/100605_1.png +0 -0
  35. package/lib/render-templates/home/img/home_icon/100605_2.png +0 -0
  36. package/lib/render-templates/home/img/home_icon/100606.png +0 -0
  37. package/lib/render-templates/home/img/home_icon/100606_1.png +0 -0
  38. package/lib/render-templates/home/img/home_icon/100606_2.png +0 -0
  39. package/lib/render-templates/home/img/home_icon/100607.png +0 -0
  40. package/lib/render-templates/home/img/home_icon/100607_1.png +0 -0
  41. package/lib/render-templates/home/img/home_icon/100607_2.png +0 -0
  42. package/lib/render-templates/home/img/home_icon/100608.png +0 -0
  43. package/lib/render-templates/home/img/home_icon/100608_1.png +0 -0
  44. package/lib/render-templates/home/img/home_icon/100608_2.png +0 -0
  45. package/lib/render-templates/home/img/home_icon/100622.png +0 -0
  46. package/lib/render-templates/home/img/home_icon/100622_1.png +0 -0
  47. package/lib/render-templates/home/img/home_icon/100622_2.png +0 -0
  48. package/lib/render-templates/home/img/home_icon/100623.png +0 -0
  49. package/lib/render-templates/home/img/home_icon/100623_1.png +0 -0
  50. package/lib/render-templates/home/img/home_icon/100623_2.png +0 -0
  51. package/lib/render-templates/home/img/home_icon/100624.png +0 -0
  52. package/lib/render-templates/home/img/home_icon/100624_1.png +0 -0
  53. package/lib/render-templates/home/img/home_icon/100624_2.png +0 -0
  54. package/lib/render-templates/home/img/home_icon/100627.png +0 -0
  55. package/lib/render-templates/home/img/home_icon/100627_1.png +0 -0
  56. package/lib/render-templates/home/img/home_icon/100627_2.png +0 -0
  57. package/lib/render-templates/home/img/home_icon/100684.png +0 -0
  58. package/lib/render-templates/home/img/home_icon/100684_1.png +0 -0
  59. package/lib/render-templates/home/img/home_icon/100684_2.png +0 -0
  60. package/lib/render-templates/home/img/home_icon/100686.png +0 -0
  61. package/lib/render-templates/home/img/home_icon/100686_1.png +0 -0
  62. package/lib/render-templates/home/img/home_icon/100686_2.png +0 -0
  63. package/lib/render-templates/home/img/home_icon/100687.png +0 -0
  64. package/lib/render-templates/home/img/home_icon/100687_1.png +0 -0
  65. package/lib/render-templates/home/img/home_icon/100687_2.png +0 -0
  66. package/lib/render-templates/home/img/home_icon/100689.png +0 -0
  67. package/lib/render-templates/home/img/home_icon/100689_1.png +0 -0
  68. package/lib/render-templates/home/img/home_icon/100689_2.png +0 -0
  69. package/lib/render-templates/home/img/home_icon/100690.png +0 -0
  70. package/lib/render-templates/home/img/home_icon/100690_1.png +0 -0
  71. package/lib/render-templates/home/img/home_icon/100690_2.png +0 -0
  72. package/lib/render-templates/home/img/home_icon/100691.png +0 -0
  73. package/lib/render-templates/home/img/home_icon/100691_1.png +0 -0
  74. package/lib/render-templates/home/img/home_icon/100691_2.png +0 -0
  75. package/lib/render-templates/home/img/home_icon/100692.png +0 -0
  76. package/lib/render-templates/home/img/home_icon/100692_1.png +0 -0
  77. package/lib/render-templates/home/img/home_icon/100692_2.png +0 -0
  78. package/lib/render-templates/home/img/home_icon/100693.png +0 -0
  79. package/lib/render-templates/home/img/home_icon/100693_1.png +0 -0
  80. package/lib/render-templates/home/img/home_icon/100693_2.png +0 -0
  81. package/lib/render-templates/home/img/home_icon/100694.png +0 -0
  82. package/lib/render-templates/home/img/home_icon/100694_1.png +0 -0
  83. package/lib/render-templates/home/img/home_icon/100694_2.png +0 -0
  84. package/lib/render-templates/home/img/home_icon/100706.png +0 -0
  85. package/lib/render-templates/home/img/home_icon/100706_1.png +0 -0
  86. package/lib/render-templates/home/img/home_icon/100706_2.png +0 -0
  87. package/lib/render-templates/home/img/home_icon/100751.png +0 -0
  88. package/lib/render-templates/home/img/home_icon/100751_1.png +0 -0
  89. package/lib/render-templates/home/img/home_icon/100751_2.png +0 -0
  90. package/lib/render-templates/home/img/home_icon/100755.png +0 -0
  91. package/lib/render-templates/home/img/home_icon/100755_1.png +0 -0
  92. package/lib/render-templates/home/img/home_icon/100755_2.png +0 -0
  93. package/lib/render-templates/home/img/home_icon/100762.png +0 -0
  94. package/lib/render-templates/home/img/home_icon/100762_1.png +0 -0
  95. package/lib/render-templates/home/img/home_icon/100762_2.png +0 -0
  96. package/lib/render-templates/home/img/home_icon/100764.png +0 -0
  97. package/lib/render-templates/home/img/home_icon/100764_1.png +0 -0
  98. package/lib/render-templates/home/img/home_icon/100764_2.png +0 -0
  99. package/lib/render-templates/home/img/home_icon/100869.png +0 -0
  100. package/lib/render-templates/home/img/home_icon/100869_1.png +0 -0
  101. package/lib/render-templates/home/img/home_icon/100869_2.png +0 -0
  102. package/lib/render-templates/home/img/img_HomeVisit_Icon1.png +0 -0
  103. package/lib/render-templates/home/img/img_LevelReward_Bg2.png +0 -0
  104. package/lib/render-templates/home/index.html +139 -0
  105. package/lib/render-templates/home/style.css +537 -0
  106. package/lib/render-templates/ingame-shop/index.html +87 -0
  107. package/lib/render-templates/ingame-shop/style.css +220 -0
  108. package/lib/render-templates/inspect/index.html +47 -0
  109. package/lib/render-templates/inspect/style.css +149 -0
  110. package/lib/render-templates/lineup/index.html +77 -0
  111. package/lib/render-templates/lineup/style.css +255 -0
  112. package/lib/render-templates/lineup-detail/index.html +63 -0
  113. package/lib/render-templates/lineup-detail/style.css +218 -0
  114. package/lib/render-templates/menu/index.html +36 -0
  115. package/lib/render-templates/menu/style.css +126 -0
  116. package/lib/render-templates/package/index.html +115 -0
  117. package/lib/render-templates/package/style.css +352 -0
  118. package/lib/render-templates/personal-card/index.html +292 -0
  119. package/lib/render-templates/personal-card/style.css +2114 -0
  120. package/lib/render-templates/pet-wiki/index.html +118 -0
  121. package/lib/render-templates/pet-wiki/style.css +382 -0
  122. package/lib/render-templates/player-search/index.html +60 -0
  123. package/lib/render-templates/player-search/style.css +192 -0
  124. package/lib/render-templates/record/index.html +86 -0
  125. package/lib/render-templates/record/style.css +322 -0
  126. package/lib/render-templates/searcheggs/Pets.json +104328 -0
  127. package/lib/render-templates/searcheggs/candidates.html +52 -0
  128. package/lib/render-templates/searcheggs/eggs.py +599 -0
  129. package/lib/render-templates/searcheggs/index.html +198 -0
  130. package/lib/render-templates/searcheggs/pair.html +81 -0
  131. package/lib/render-templates/searcheggs/size.html +82 -0
  132. package/lib/render-templates/searcheggs/style.css +586 -0
  133. package/lib/render-templates/searcheggs/want.html +63 -0
  134. package/lib/render-templates/skill-wiki/index.html +68 -0
  135. package/lib/render-templates/skill-wiki/style.css +182 -0
  136. package/lib/render-templates/student/index.html +95 -0
  137. package/lib/render-templates/student/style.css +255 -0
  138. package/lib/render-templates/student-perks/index.html +78 -0
  139. package/lib/render-templates/student-perks/style.css +238 -0
  140. package/lib/render-templates/student-state/index.html +52 -0
  141. package/lib/render-templates/student-state/style.css +157 -0
  142. package/lib/render-templates/yuanxing-shangren/index.html +371 -0
  143. package/lib/render-templates/yuanxing-shangren/style.css +371 -0
  144. package/lib/render.d.ts +11 -0
  145. package/lib/render.js +226 -0
  146. package/lib/role-token.d.ts +27 -0
  147. package/lib/role-token.js +137 -0
  148. package/lib/send-image.d.ts +3 -0
  149. package/lib/send-image.js +135 -0
  150. package/lib/subscription-send.d.ts +8 -0
  151. package/lib/subscription-send.js +48 -0
  152. package/lib/types.d.ts +32 -0
  153. package/lib/types.js +2 -0
  154. package/lib/user.d.ts +67 -0
  155. package/lib/user.js +176 -0
  156. package/package.json +58 -0
  157. package/readme.md +575 -0
@@ -0,0 +1,255 @@
1
+ @font-face {
2
+ font-family: 'Mianfeiziti';
3
+ src: url('../../ttf/dundun.xHd_Ee5-.woff2') format('woff2'),
4
+ url('../../ttf/fzlant.D5FI9Et0.ttf') format('truetype');
5
+ font-display: swap;
6
+ }
7
+
8
+ :root {
9
+ --bg-primary: rgba(30, 26, 22, 0.9);
10
+ --card-bg: rgba(245, 238, 224, 0.95);
11
+ --text-primary: #f4eee1;
12
+ --text-secondary: #a8a69f;
13
+ --accent-color: #ffc966;
14
+ }
15
+
16
+ html, body {
17
+ margin: 0;
18
+ padding: 30px;
19
+ background: url("../../img/bg.C8CUoi7I.jpg") no-repeat center top;
20
+ background-size: cover;
21
+ font-size: 100px;
22
+ font-family: 'Mianfeiziti', system-ui, -apple-system, sans-serif;
23
+ }
24
+
25
+ .lineup-page {
26
+ max-width: 14.8rem;
27
+ margin: 0 auto;
28
+ padding: 0 0.2rem; /* 左右各保留 20px 与内部卡片的安全距离 */
29
+ box-sizing: border-box;
30
+ }
31
+
32
+ /* ====== Header ====== */
33
+ .lineup-header {
34
+ display: flex;
35
+ align-items: center;
36
+ justify-content: space-between;
37
+ margin-bottom: 0.3rem;
38
+ padding-bottom: 0.2rem;
39
+ border-bottom: 2px solid var(--accent-color);
40
+ }
41
+
42
+ .header-title {
43
+ font-size: 0.32rem;
44
+ font-weight: bold;
45
+ color: var(--accent-color);
46
+ letter-spacing: 2px;
47
+ }
48
+
49
+ .header-subtitle {
50
+ font-size: 0.18rem;
51
+ color: var(--text-secondary);
52
+ opacity: 0.8;
53
+ }
54
+
55
+ /* ====== Lineup Grid ====== */
56
+ .lineup-grid {
57
+ display: grid;
58
+ grid-template-columns: repeat(2, minmax(0, 1fr));
59
+ gap: 0.24rem;
60
+ }
61
+
62
+ .lineup-card {
63
+ background: var(--card-bg);
64
+ border-radius: 0.12rem;
65
+ padding: 0.24rem;
66
+ position: relative;
67
+ overflow: hidden;
68
+ }
69
+
70
+ /* Card Header */
71
+ .card-header {
72
+ display: flex;
73
+ justify-content: space-between;
74
+ align-items: center;
75
+ margin-bottom: 0.15rem;
76
+ }
77
+
78
+ .lineup-name {
79
+ font-size: 0.18rem;
80
+ font-weight: bold;
81
+ color: #272727;
82
+ display: flex;
83
+ align-items: center;
84
+ gap: 0.08rem;
85
+ }
86
+
87
+ .lineup-icon {
88
+ font-size: 0.2rem;
89
+ }
90
+
91
+ .lineup-tags {
92
+ display: flex;
93
+ gap: 0.05rem;
94
+ }
95
+
96
+ .tag {
97
+ background: rgba(0, 0, 0, 0.1);
98
+ color: #666;
99
+ font-size: 0.12rem;
100
+ padding: 0.03rem 0.08rem;
101
+ border-radius: 0.04rem;
102
+ }
103
+
104
+ /* Pet List */
105
+ .pet-list {
106
+ display: grid;
107
+ grid-template-columns: repeat(6, minmax(0, 1fr));
108
+ gap: 0.08rem;
109
+ margin-bottom: 0.15rem;
110
+ align-items: start;
111
+ }
112
+
113
+ .pet-card {
114
+ display: flex;
115
+ flex-direction: column;
116
+ align-items: center;
117
+ gap: 0.04rem;
118
+ background: rgba(0, 0, 0, 0.05);
119
+ border-radius: 0.06rem;
120
+ padding: 0.05rem 0.04rem;
121
+ min-width: 0;
122
+ }
123
+
124
+ .pet-avatar {
125
+ width: 0.7rem;
126
+ height: 0.7rem;
127
+ border-radius: 0.06rem;
128
+ overflow: visible;
129
+ flex-shrink: 0;
130
+ display: flex;
131
+ align-items: center;
132
+ justify-content: center;
133
+ }
134
+
135
+ .pet-avatar img {
136
+ width: 100%;
137
+ height: 100%;
138
+ object-fit: contain;
139
+ }
140
+
141
+ .pet-info {
142
+ display: flex;
143
+ flex-direction: column;
144
+ align-items: center;
145
+ gap: 0.03rem;
146
+ width: 100%;
147
+ }
148
+
149
+ .pet-name {
150
+ font-size: 0.11rem;
151
+ color: #272727;
152
+ font-weight: 500;
153
+ text-align: center;
154
+ white-space: nowrap;
155
+ overflow: hidden;
156
+ text-overflow: ellipsis;
157
+ width: 100%;
158
+ }
159
+
160
+ .skill-list {
161
+ display: grid;
162
+ grid-template-columns: repeat(4, 0.16rem);
163
+ gap: 0.02rem;
164
+ justify-content: center;
165
+ }
166
+
167
+ .skill-icon {
168
+ width: 0.16rem;
169
+ height: 0.16rem;
170
+ border-radius: 0.02rem;
171
+ border: 1px solid rgba(0, 0, 0, 0.1);
172
+ }
173
+
174
+ /* Card Footer */
175
+ .card-footer {
176
+ display: flex;
177
+ justify-content: space-between;
178
+ align-items: center;
179
+ padding-top: 0.15rem;
180
+ border-top: 1px solid rgba(0, 0, 0, 0.1);
181
+ }
182
+
183
+ .author-info {
184
+ display: flex;
185
+ align-items: center;
186
+ gap: 0.08rem;
187
+ }
188
+
189
+ .author-avatar {
190
+ width: 0.28rem;
191
+ height: 0.28rem;
192
+ border-radius: 50%;
193
+ }
194
+
195
+ .author-details {
196
+ display: flex;
197
+ flex-direction: column;
198
+ gap: 0.02rem;
199
+ }
200
+
201
+ .author-name {
202
+ font-size: 0.14rem;
203
+ color: #272727;
204
+ }
205
+
206
+ .author-likes {
207
+ font-size: 0.12rem;
208
+ color: #666;
209
+ }
210
+
211
+ .lineup-code-box {
212
+ display: flex;
213
+ flex-direction: column;
214
+ align-items: flex-end;
215
+ gap: 0.02rem;
216
+ }
217
+
218
+ .lineup-code-label {
219
+ font-size: 0.1rem;
220
+ color: #999;
221
+ }
222
+
223
+ .lineup-code {
224
+ font-size: 0.13rem;
225
+ color: #272727;
226
+ font-family: monospace;
227
+ background: rgba(0, 0, 0, 0.05);
228
+ padding: 0.03rem 0.06rem;
229
+ border-radius: 0.04rem;
230
+ }
231
+
232
+ /* ====== Footer ====== */
233
+ .pagination-footer {
234
+ display: flex;
235
+ flex-direction: column;
236
+ align-items: center;
237
+ justify-content: center;
238
+ margin-top: 0.3rem;
239
+ margin-bottom: 0.1rem;
240
+ padding-top: 0.2rem;
241
+ border-top: 1px solid rgba(255, 255, 255, 0.1);
242
+ gap: 0.05rem;
243
+ }
244
+
245
+ .pagination-text {
246
+ font-family: 'Mianfeiziti', system-ui;
247
+ color: var(--text-primary);
248
+ font-size: 0.18rem;
249
+ }
250
+
251
+ .pagination-hint {
252
+ font-family: 'Mianfeiziti', system-ui;
253
+ color: var(--text-secondary);
254
+ font-size: 0.14rem;
255
+ }
@@ -0,0 +1,63 @@
1
+ <!DOCTYPE html>
2
+ <html lang="zh-CN">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=800, initial-scale=1">
6
+ <link rel="stylesheet" href="{{_res_path}}render/lineup-detail/style.css">
7
+ </head>
8
+ <body>
9
+ <div class="lineup-detail-page">
10
+ <div class="detail-header">
11
+ <div class="detail-title">阵容详情</div>
12
+ <div class="detail-close">×</div>
13
+ </div>
14
+
15
+ <div class="lineup-info">
16
+ <div class="lineup-name-section">
17
+ <span class="lineup-icon">🔥</span>
18
+ <span class="lineup-name">{{lineup.name}}</span>
19
+ <div class="lineup-tags">
20
+ {{each lineup.tags tag}}
21
+ <span class="tag">{{tag}}</span>
22
+ {{/each}}
23
+ </div>
24
+ </div>
25
+ </div>
26
+
27
+ <div class="pet-detail-list">
28
+ {{each lineup.pets pet}}
29
+ <div class="pet-detail-item">
30
+ <div class="pet-detail-avatar">
31
+ <img src="{{pet.pet_img_url}}" onerror="this.src='{{fallbackPetImage}}'">
32
+ {{if pet.bloodline}}
33
+ <div class="bloodline-badge">
34
+ <img src="{{pet.bloodline_icon}}" alt="">
35
+ </div>
36
+ {{/if}}
37
+ </div>
38
+ <div class="pet-detail-name">{{pet.pet_name}}</div>
39
+ <div class="pet-detail-skills">
40
+ {{each pet.skills skill}}
41
+ <img class="skill-detail-icon" src="{{skill}}" alt="">
42
+ {{/each}}
43
+ </div>
44
+ </div>
45
+ {{/each}}
46
+ </div>
47
+
48
+ <div class="detail-footer">
49
+ <div class="author-info">
50
+ <img class="author-avatar" src="{{lineup.author_avatar}}" onerror="this.src='data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 24 24\' fill=\'%23333\'%3E%3Ccircle cx=\'12\' cy=\'12\' r=\'12\'/%3E%3C/svg%3E'">
51
+ <div class="author-details">
52
+ <span class="author-name">{{lineup.author_name}}</span>
53
+ <span class="author-likes">👍 {{lineup.likes}}</span>
54
+ </div>
55
+ </div>
56
+ <div class="lineup-code-section">
57
+ <span class="code-label">阵容码:</span>
58
+ <span class="code-value">{{lineup.lineup_code}}</span>
59
+ </div>
60
+ </div>
61
+ </div>
62
+ </body>
63
+ </html>
@@ -0,0 +1,218 @@
1
+ @font-face {
2
+ font-family: 'Mianfeiziti';
3
+ src: url('../../ttf/dundun.xHd_Ee5-.woff2') format('woff2'),
4
+ url('../../ttf/fzlant.D5FI9Et0.ttf') format('truetype');
5
+ font-display: swap;
6
+ }
7
+
8
+ :root {
9
+ --bg-primary: rgba(30, 26, 22, 0.9);
10
+ --card-bg: rgba(245, 238, 224, 0.95);
11
+ --text-primary: #f4eee1;
12
+ --text-secondary: #a8a69f;
13
+ --accent-color: #ffc966;
14
+ }
15
+
16
+ html, body {
17
+ margin: 0;
18
+ padding: 25px;
19
+ background: transparent;
20
+ font-size: 100px;
21
+ font-family: 'Mianfeiziti', system-ui, -apple-system, sans-serif;
22
+ }
23
+
24
+ .lineup-detail-page {
25
+ width: 8rem;
26
+ background: var(--card-bg);
27
+ border-radius: 0.12rem;
28
+ padding: 0.25rem;
29
+ margin: 0 auto;
30
+ }
31
+
32
+ /* ====== Header ====== */
33
+ .detail-header {
34
+ display: flex;
35
+ justify-content: space-between;
36
+ align-items: center;
37
+ margin-bottom: 0.2rem;
38
+ padding-bottom: 0.15rem;
39
+ border-bottom: 2px solid rgba(0, 0, 0, 0.1);
40
+ }
41
+
42
+ .detail-title {
43
+ font-size: 0.24rem;
44
+ font-weight: bold;
45
+ color: #272727;
46
+ letter-spacing: 2px;
47
+ }
48
+
49
+ .detail-close {
50
+ font-size: 0.24rem;
51
+ color: #999;
52
+ cursor: pointer;
53
+ }
54
+
55
+ /* ====== Lineup Info ====== */
56
+ .lineup-info {
57
+ margin-bottom: 0.25rem;
58
+ }
59
+
60
+ .lineup-name-section {
61
+ display: flex;
62
+ align-items: center;
63
+ gap: 0.08rem;
64
+ flex-wrap: wrap;
65
+ }
66
+
67
+ .lineup-name {
68
+ font-size: 0.2rem;
69
+ font-weight: bold;
70
+ color: #272727;
71
+ }
72
+
73
+ .lineup-icon {
74
+ font-size: 0.22rem;
75
+ }
76
+
77
+ .lineup-tags {
78
+ display: flex;
79
+ gap: 0.05rem;
80
+ margin-left: 0.1rem;
81
+ }
82
+
83
+ .tag {
84
+ background: rgba(0, 0, 0, 0.1);
85
+ color: #666;
86
+ font-size: 0.12rem;
87
+ padding: 0.03rem 0.08rem;
88
+ border-radius: 0.04rem;
89
+ }
90
+
91
+ /* ====== Pet Detail List ====== */
92
+ .pet-detail-list {
93
+ display: flex;
94
+ flex-direction: column;
95
+ gap: 0.15rem;
96
+ margin-bottom: 0.25rem;
97
+ }
98
+
99
+ .pet-detail-item {
100
+ display: flex;
101
+ align-items: center;
102
+ gap: 0.15rem;
103
+ padding: 0.12rem;
104
+ background: rgba(0, 0, 0, 0.05);
105
+ border-radius: 0.08rem;
106
+ }
107
+
108
+ .pet-detail-avatar {
109
+ position: relative;
110
+ width: 0.7rem;
111
+ height: 0.7rem;
112
+ border-radius: 50%;
113
+ overflow: hidden;
114
+ flex-shrink: 0;
115
+ }
116
+
117
+ .pet-detail-avatar img {
118
+ width: 100%;
119
+ height: 100%;
120
+ object-fit: cover;
121
+ }
122
+
123
+ .bloodline-badge {
124
+ position: absolute;
125
+ bottom: -0.05rem;
126
+ right: -0.05rem;
127
+ width: 0.28rem;
128
+ height: 0.28rem;
129
+ background: var(--card-bg);
130
+ border-radius: 50%;
131
+ border: 1px solid rgba(0, 0, 0, 0.2);
132
+ padding: 0.02rem;
133
+ }
134
+
135
+ .bloodline-badge img {
136
+ width: 100%;
137
+ height: 100%;
138
+ object-fit: contain;
139
+ }
140
+
141
+ .pet-detail-name {
142
+ width: 1.2rem;
143
+ font-size: 0.16rem;
144
+ font-weight: 500;
145
+ color: #272727;
146
+ }
147
+
148
+ .pet-detail-skills {
149
+ flex: 1;
150
+ display: flex;
151
+ gap: 0.05rem;
152
+ flex-wrap: wrap;
153
+ }
154
+
155
+ .skill-detail-icon {
156
+ width: 0.3rem;
157
+ height: 0.3rem;
158
+ border-radius: 0.05rem;
159
+ border: 1px solid rgba(0, 0, 0, 0.15);
160
+ }
161
+
162
+ /* ====== Footer ====== */
163
+ .detail-footer {
164
+ display: flex;
165
+ justify-content: space-between;
166
+ align-items: center;
167
+ padding-top: 0.2rem;
168
+ border-top: 1px solid rgba(0, 0, 0, 0.1);
169
+ }
170
+
171
+ .author-info {
172
+ display: flex;
173
+ align-items: center;
174
+ gap: 0.1rem;
175
+ }
176
+
177
+ .author-avatar {
178
+ width: 0.35rem;
179
+ height: 0.35rem;
180
+ border-radius: 50%;
181
+ }
182
+
183
+ .author-details {
184
+ display: flex;
185
+ flex-direction: column;
186
+ gap: 0.03rem;
187
+ }
188
+
189
+ .author-name {
190
+ font-size: 0.15rem;
191
+ color: #272727;
192
+ font-weight: 500;
193
+ }
194
+
195
+ .author-likes {
196
+ font-size: 0.13rem;
197
+ color: #666;
198
+ }
199
+
200
+ .lineup-code-section {
201
+ display: flex;
202
+ align-items: center;
203
+ gap: 0.08rem;
204
+ }
205
+
206
+ .code-label {
207
+ font-size: 0.13rem;
208
+ color: #666;
209
+ }
210
+
211
+ .code-value {
212
+ font-size: 0.14rem;
213
+ color: #272727;
214
+ font-family: monospace;
215
+ background: rgba(0, 0, 0, 0.05);
216
+ padding: 0.05rem 0.1rem;
217
+ border-radius: 0.04rem;
218
+ }
@@ -0,0 +1,36 @@
1
+ <!DOCTYPE html>
2
+ <html lang="zh-CN">
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=800, initial-scale=1">
6
+ <title>{{pageTitle}}</title>
7
+ <link rel="stylesheet" href="{{_res_path}}render/menu/style.css">
8
+ </head>
9
+ <body class="page-out-client">
10
+ <div class="menu-cont page-section-main">
11
+ <img class="xiaoluoke-overlay" src="{{_res_path}}img/小洛克.png" onerror="this.style.display='none'">
12
+ <div class="menu-page">
13
+ <div class="header-center">
14
+ <div class="page-title">{{pageTitle}}</div>
15
+ <div class="page-subtitle">{{pageSubtitle}}</div>
16
+ </div>
17
+ <main class="menu-content">
18
+ {{each menuGroups group}}
19
+ <div class="menu-group">
20
+ <div class="group-title">{{group.groupTitle}}</div>
21
+ <div class="group-items">
22
+ {{each group.menuItems item}}
23
+ <div class="menu-item">
24
+ <div class="menu-item-cmd">{{item.cmd}}</div>
25
+ <div class="menu-item-desc">{{item.desc}}</div>
26
+ </div>
27
+ {{/each}}
28
+ </div>
29
+ </div>
30
+ {{/each}}
31
+ </main>
32
+ <div class="footer">AstrBot &amp; WeGame Locke Kingdom Plugin</div>
33
+ </div>
34
+ </div>
35
+ </body>
36
+ </html>
@@ -0,0 +1,126 @@
1
+ @font-face {
2
+ font-family: 'mianfeiziti';
3
+ src: url('../../ttf/HYWenHei-85W-1.ttf') format('truetype');
4
+ font-display: swap;
5
+ }
6
+
7
+ :root {
8
+ --helper-font-family-mianfeiziti: 'mianfeiziti', system-ui, "calibri", "Roboto", verdana, "PingFang SC", sans-serif;
9
+ }
10
+
11
+ body {
12
+ margin: 0;
13
+ padding: 30px;
14
+ background-color: #FAF6ED;
15
+ display: inline-block;
16
+ font-family: var(--helper-font-family-mianfeiziti);
17
+ }
18
+
19
+ .menu-cont {
20
+ width: 780px;
21
+ background: url("../../img/ercode-bg.D1ccSQKH.png") no-repeat center center;
22
+ background-size: 100% 100%;
23
+ position: relative;
24
+ padding: 40px 50px;
25
+ box-sizing: border-box;
26
+ }
27
+
28
+ .menu-cont::before {
29
+ content: "";
30
+ position: absolute;
31
+ inset: 0;
32
+ background: rgba(28, 22, 18, 0.18);
33
+ z-index: 1;
34
+ pointer-events: none;
35
+ }
36
+
37
+ .xiaoluoke-overlay {
38
+ position: absolute;
39
+ bottom: -15px;
40
+ right: -30px;
41
+ width: 320px;
42
+ opacity: 0.15;
43
+ z-index: 2;
44
+ pointer-events: none;
45
+ }
46
+
47
+ .menu-page {
48
+ position: relative;
49
+ z-index: 3;
50
+ }
51
+
52
+ .header-center {
53
+ text-align: center;
54
+ margin-bottom: 30px;
55
+ border-bottom: 2px dashed rgba(160, 140, 110, 0.4);
56
+ padding-bottom: 15px;
57
+ }
58
+
59
+ .page-title {
60
+ color: #ffc65f;
61
+ font-size: 38px;
62
+ font-weight: bold;
63
+ text-shadow: 0 2px 4px rgba(0,0,0,0.5);
64
+ -webkit-text-stroke: 1.5px #d4842b;
65
+ letter-spacing: 2px;
66
+ }
67
+
68
+ .page-subtitle {
69
+ color: #9e8e76;
70
+ font-size: 16px;
71
+ margin-top: 6px;
72
+ }
73
+
74
+ .menu-content {
75
+ display: flex;
76
+ flex-direction: column;
77
+ gap: 25px;
78
+ }
79
+
80
+ .group-title {
81
+ font-size: 22px;
82
+ font-weight: bold;
83
+ color: #c97926;
84
+ margin-bottom: 15px;
85
+ padding-left: 12px;
86
+ border-left: 5px solid #ffc65f;
87
+ }
88
+
89
+ .group-items {
90
+ display: grid;
91
+ grid-template-columns: repeat(2, 1fr);
92
+ gap: 15px;
93
+ }
94
+
95
+ .menu-item {
96
+ width: 100%;
97
+ min-height: 85px;
98
+ background: url("../../img/player-bg.png") no-repeat center center;
99
+ background-size: 100% 100%;
100
+ display: flex;
101
+ flex-direction: column;
102
+ justify-content: center;
103
+ padding: 12px 50px 12px 25px;
104
+ box-sizing: border-box;
105
+ }
106
+
107
+ .menu-item-cmd {
108
+ font-size: 22px;
109
+ font-weight: bold;
110
+ color: #5a3e1b;
111
+ margin-bottom: 8px;
112
+ line-height: 1.2;
113
+ }
114
+
115
+ .menu-item-desc {
116
+ font-size: 16px;
117
+ color: #8c7a61;
118
+ line-height: 1.3;
119
+ }
120
+
121
+ .footer {
122
+ margin-top: 30px;
123
+ text-align: center;
124
+ font-size: 14px;
125
+ color: #bfae95;
126
+ }