koishi-plugin-rocom 1.0.12 → 1.0.13
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/client.d.ts +17 -1
- package/lib/client.js +121 -21
- package/lib/commands/merchant.js +340 -89
- package/lib/commands/query.js +22 -6
- package/lib/index.d.ts +4 -0
- package/lib/index.js +480 -122
- package/lib/render-templates/home/img/rocomuid/a_title.png +0 -0
- package/lib/render-templates/home/img/rocomuid/banner_bg.png +0 -0
- package/lib/render-templates/home/img/rocomuid/bg.jpg +0 -0
- package/lib/render-templates/home/img/rocomuid/img_head.png +0 -0
- package/lib/render-templates/home/img/rocomuid/jindu_bar.png +0 -0
- package/lib/render-templates/home/img/rocomuid/jindu_tc.png +0 -0
- package/lib/render-templates/home/img/rocomuid/level_icon.png +0 -0
- package/lib/render-templates/home/img/rocomuid/pet_bg.png +0 -0
- package/lib/render-templates/home/img/rocomuid/plant_bg.png +0 -0
- package/lib/render-templates/home/img/rocomuid/star_1.png +0 -0
- package/lib/render-templates/home/img/rocomuid/star_8.png +0 -0
- package/lib/render-templates/home/img/rocomuid/star_9.png +0 -0
- package/lib/render-templates/home/img/rocomuid/title_fg.png +0 -0
- package/lib/render-templates/home/img/rocomuid/top_bg.png +0 -0
- package/lib/render-templates/home/img/rocomuid/touxiang_mask.png +0 -0
- package/lib/render-templates/home/index.html +81 -97
- package/lib/render-templates/home/style.css +316 -375
- package/lib/render-templates/yuanxing-shangren/CHANGELOG.md +138 -0
- package/lib/render-templates/yuanxing-shangren/README.md +86 -0
- package/lib/render-templates/yuanxing-shangren/img/coin.png +0 -0
- package/lib/render-templates/yuanxing-shangren/img//345/272/225/351/203/250/344/277/241/346/201/257/346/241/206.png +0 -0
- package/lib/render-templates/yuanxing-shangren/img//346/240/207/351/242/230.png +0 -0
- package/lib/render-templates/yuanxing-shangren/img//347/203/255/351/224/200.png +0 -0
- package/lib/render-templates/yuanxing-shangren/img//347/274/226/345/217/267/350/203/214/346/231/257/346/241/206.png +0 -0
- package/lib/render-templates/yuanxing-shangren/index.html +198 -170
- package/lib/render-templates/yuanxing-shangren/index.html.backup +356 -0
- package/lib/render-templates/yuanxing-shangren/merchant.html +461 -0
- package/lib/render-templates/yuanxing-shangren/style.css +201 -256
- package/lib/render-templates/yuanxing-shangren/today.html +461 -0
- package/lib/render-templates/yuanxing-shangren/today.style.css +366 -0
- package/lib/render.js +11 -4
- package/lib/subscription-send.js +4 -5
- package/lib/ttf/rocom_skill_origin.ttf +0 -0
- package/lib/ttf//351/200/240/345/255/227/345/267/245/346/210/277/345/220/257/351/273/221/344/275/223.ttf +0 -0
- package/lib/types.d.ts +4 -0
- package/package.json +1 -1
|
@@ -4,534 +4,475 @@
|
|
|
4
4
|
font-display: swap;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
+
@font-face {
|
|
8
|
+
font-family: "rocom-skill";
|
|
9
|
+
src: url("../../ttf/rocom_skill_origin.ttf") format("truetype");
|
|
10
|
+
font-display: swap;
|
|
11
|
+
}
|
|
12
|
+
|
|
7
13
|
* {
|
|
8
14
|
box-sizing: border-box;
|
|
9
15
|
}
|
|
10
16
|
|
|
11
17
|
html,
|
|
12
|
-
body {
|
|
13
|
-
margin: 0;
|
|
14
|
-
padding:
|
|
15
|
-
display: inline-block;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
body {
|
|
19
|
+
margin: 0;
|
|
20
|
+
padding: 0;
|
|
21
|
+
display: inline-block;
|
|
22
|
+
width: fit-content;
|
|
23
|
+
min-width: 0;
|
|
24
|
+
height: auto;
|
|
25
|
+
min-height: 0;
|
|
26
|
+
background: transparent;
|
|
27
|
+
color: #ffffff;
|
|
28
|
+
font-family: "rocom-home", "Microsoft YaHei", "PingFang SC", sans-serif;
|
|
29
|
+
}
|
|
20
30
|
|
|
21
31
|
.home-page {
|
|
22
32
|
position: relative;
|
|
23
|
-
width:
|
|
24
|
-
min-height:
|
|
33
|
+
width: 1000px;
|
|
34
|
+
min-height: 760px;
|
|
25
35
|
overflow: hidden;
|
|
26
|
-
|
|
27
|
-
background:
|
|
28
|
-
linear-gradient(rgba(38, 29, 18, 0.10), rgba(38, 29, 18, 0.10)),
|
|
29
|
-
url("../../img/ercode-bg.D1ccSQKH.png") center / cover no-repeat;
|
|
30
|
-
box-shadow: 0 26px 58px rgba(76, 55, 32, 0.18);
|
|
36
|
+
padding-bottom: 72px;
|
|
37
|
+
background: #efe6d2;
|
|
31
38
|
}
|
|
32
39
|
|
|
33
|
-
.page-bg {
|
|
40
|
+
.page-bg-img {
|
|
34
41
|
position: absolute;
|
|
35
|
-
inset: 0;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
42
|
+
inset: 0 auto auto 0;
|
|
43
|
+
z-index: 0;
|
|
44
|
+
width: 1000px;
|
|
45
|
+
min-height: 100%;
|
|
46
|
+
object-fit: cover;
|
|
47
|
+
object-position: top center;
|
|
39
48
|
pointer-events: none;
|
|
40
49
|
}
|
|
41
50
|
|
|
42
|
-
.home-
|
|
43
|
-
.profile-strip,
|
|
44
|
-
.summary-strip,
|
|
45
|
-
.content-grid {
|
|
51
|
+
.home-top {
|
|
46
52
|
position: relative;
|
|
47
53
|
z-index: 1;
|
|
54
|
+
height: 228px;
|
|
48
55
|
}
|
|
49
56
|
|
|
50
|
-
.
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
+
.top-bg,
|
|
58
|
+
.title-fg {
|
|
59
|
+
position: absolute;
|
|
60
|
+
left: 0;
|
|
61
|
+
top: 0;
|
|
62
|
+
width: 1000px;
|
|
63
|
+
pointer-events: none;
|
|
57
64
|
}
|
|
58
65
|
|
|
59
|
-
.
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
color: #10100e;
|
|
63
|
-
font-size: 46px;
|
|
64
|
-
line-height: 1;
|
|
65
|
-
letter-spacing: 4px;
|
|
66
|
-
text-shadow: 0 3px 0 rgba(255, 255, 255, 0.22);
|
|
66
|
+
.top-bg {
|
|
67
|
+
height: 250px;
|
|
68
|
+
object-fit: cover;
|
|
67
69
|
}
|
|
68
70
|
|
|
69
|
-
.
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
z-index: 1;
|
|
73
|
-
text-align: center;
|
|
74
|
-
color: rgba(255, 228, 152, 0.24);
|
|
75
|
-
font-size: 120px;
|
|
76
|
-
line-height: 1.1;
|
|
77
|
-
letter-spacing: 8px;
|
|
78
|
-
white-space: nowrap;
|
|
71
|
+
.title-fg {
|
|
72
|
+
height: 210px;
|
|
73
|
+
object-fit: contain;
|
|
79
74
|
}
|
|
80
75
|
|
|
81
|
-
.
|
|
76
|
+
.avatar-wrap {
|
|
82
77
|
position: absolute;
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
font-size: 15px;
|
|
91
|
-
line-height: 1;
|
|
92
|
-
box-shadow: inset 0 -2px 0 rgba(141, 94, 30, 0.08);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.profile-strip {
|
|
96
|
-
display: flex;
|
|
97
|
-
align-items: center;
|
|
98
|
-
gap: 22px;
|
|
99
|
-
margin: 28px 44px 0;
|
|
100
|
-
padding: 24px 30px;
|
|
101
|
-
border-radius: 24px;
|
|
102
|
-
background: rgba(250, 247, 238, 0.78);
|
|
103
|
-
border: 1px solid rgba(143, 113, 73, 0.16);
|
|
104
|
-
box-shadow: 0 12px 26px rgba(88, 64, 38, 0.08);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.home-icon {
|
|
108
|
-
flex: none;
|
|
109
|
-
width: 86px;
|
|
110
|
-
height: 86px;
|
|
111
|
-
object-fit: contain;
|
|
112
|
-
filter: drop-shadow(0 8px 10px rgba(88, 67, 38, 0.16));
|
|
78
|
+
left: 31px;
|
|
79
|
+
top: 14px;
|
|
80
|
+
width: 152px;
|
|
81
|
+
height: 152px;
|
|
82
|
+
overflow: hidden;
|
|
83
|
+
border-radius: 50%;
|
|
84
|
+
filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.22));
|
|
113
85
|
}
|
|
114
86
|
|
|
115
|
-
.
|
|
116
|
-
|
|
87
|
+
.avatar-img {
|
|
88
|
+
width: 152px;
|
|
89
|
+
height: 152px;
|
|
90
|
+
object-fit: cover;
|
|
117
91
|
}
|
|
118
92
|
|
|
119
|
-
.home-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
93
|
+
.home-profile {
|
|
94
|
+
position: absolute;
|
|
95
|
+
left: 200px;
|
|
96
|
+
top: 70px;
|
|
97
|
+
right: 130px;
|
|
98
|
+
text-shadow: none;
|
|
124
99
|
}
|
|
125
100
|
|
|
126
101
|
.home-owner {
|
|
127
|
-
max-width: 620px;
|
|
128
102
|
overflow: hidden;
|
|
129
|
-
color: #
|
|
130
|
-
font-
|
|
131
|
-
|
|
103
|
+
color: #ffffff;
|
|
104
|
+
font-family: "rocom-skill", "rocom-home", "Microsoft YaHei", sans-serif;
|
|
105
|
+
font-size: 46px;
|
|
106
|
+
font-weight: 400;
|
|
107
|
+
line-height: 1;
|
|
132
108
|
text-overflow: ellipsis;
|
|
133
109
|
white-space: nowrap;
|
|
134
110
|
}
|
|
135
111
|
|
|
136
|
-
.uid
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
font-
|
|
112
|
+
.home-uid {
|
|
113
|
+
margin-top: 11px;
|
|
114
|
+
color: #ffffff;
|
|
115
|
+
font-family: "rocom-skill", "rocom-home", "Microsoft YaHei", sans-serif;
|
|
116
|
+
font-size: 38px;
|
|
117
|
+
font-weight: 400;
|
|
142
118
|
line-height: 1;
|
|
143
|
-
box-shadow: inset 0 -2px 0 rgba(141, 94, 30, 0.12);
|
|
144
119
|
}
|
|
145
120
|
|
|
146
|
-
.
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
121
|
+
.update-time {
|
|
122
|
+
position: absolute;
|
|
123
|
+
right: 28px;
|
|
124
|
+
top: 18px;
|
|
125
|
+
padding: 7px 14px;
|
|
126
|
+
border-radius: 999px;
|
|
127
|
+
background: rgba(255, 255, 255, 0.23);
|
|
128
|
+
color: #ffffff;
|
|
129
|
+
font-size: 15px;
|
|
130
|
+
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.28);
|
|
150
131
|
}
|
|
151
132
|
|
|
152
|
-
.
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
margin: 20px 44px 0;
|
|
133
|
+
.home-banner {
|
|
134
|
+
position: relative;
|
|
135
|
+
z-index: 1;
|
|
136
|
+
height: 161px;
|
|
157
137
|
}
|
|
158
138
|
|
|
159
|
-
.
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
139
|
+
.banner-bg {
|
|
140
|
+
position: absolute;
|
|
141
|
+
inset: 0;
|
|
142
|
+
width: 1000px;
|
|
143
|
+
height: 161px;
|
|
164
144
|
}
|
|
165
145
|
|
|
166
|
-
.
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
146
|
+
.banner-item {
|
|
147
|
+
position: absolute;
|
|
148
|
+
top: 38px;
|
|
149
|
+
width: 170px;
|
|
150
|
+
text-align: center;
|
|
170
151
|
}
|
|
171
152
|
|
|
172
|
-
.
|
|
173
|
-
|
|
174
|
-
|
|
153
|
+
.banner-item-0 {
|
|
154
|
+
left: 134px;
|
|
155
|
+
top: 38px;
|
|
175
156
|
}
|
|
176
157
|
|
|
177
|
-
.
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
font-size: 28px;
|
|
181
|
-
line-height: 1.1;
|
|
182
|
-
white-space: nowrap;
|
|
158
|
+
.banner-item-1 {
|
|
159
|
+
left: 322px;
|
|
160
|
+
top: 38px;
|
|
183
161
|
}
|
|
184
162
|
|
|
185
|
-
.
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
gap: 22px;
|
|
189
|
-
align-items: start;
|
|
190
|
-
margin: 22px 44px 0;
|
|
163
|
+
.banner-item-2 {
|
|
164
|
+
left: 511px;
|
|
165
|
+
top: 38px;
|
|
191
166
|
}
|
|
192
167
|
|
|
193
|
-
.
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
gap: 14px;
|
|
197
|
-
align-items: start;
|
|
168
|
+
.banner-item-3 {
|
|
169
|
+
left: 701px;
|
|
170
|
+
top: 38px;
|
|
198
171
|
}
|
|
199
172
|
|
|
200
|
-
.
|
|
201
|
-
|
|
202
|
-
|
|
173
|
+
.banner-value {
|
|
174
|
+
overflow: hidden;
|
|
175
|
+
color: #000000;
|
|
176
|
+
font-family: "rocom-skill", "rocom-home", "Microsoft YaHei", sans-serif;
|
|
177
|
+
font-size: 42px;
|
|
178
|
+
line-height: 1;
|
|
179
|
+
text-overflow: ellipsis;
|
|
180
|
+
white-space: nowrap;
|
|
203
181
|
}
|
|
204
182
|
|
|
205
|
-
.
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
gap: 14px;
|
|
210
|
-
margin-bottom: 16px;
|
|
183
|
+
.home-content {
|
|
184
|
+
position: relative;
|
|
185
|
+
z-index: 1;
|
|
186
|
+
padding-top: 28px;
|
|
211
187
|
}
|
|
212
188
|
|
|
213
|
-
.
|
|
214
|
-
|
|
215
|
-
font-size: 14px;
|
|
189
|
+
.section-block {
|
|
190
|
+
margin-top: 22px;
|
|
216
191
|
}
|
|
217
192
|
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
line-height: 1.1;
|
|
193
|
+
.section-title {
|
|
194
|
+
position: relative;
|
|
195
|
+
height: 60px;
|
|
196
|
+
margin-left: 48px;
|
|
223
197
|
}
|
|
224
198
|
|
|
225
|
-
.
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
199
|
+
.section-title img {
|
|
200
|
+
position: absolute;
|
|
201
|
+
left: 0;
|
|
202
|
+
top: 0;
|
|
203
|
+
width: 312px;
|
|
204
|
+
height: 60px;
|
|
231
205
|
}
|
|
232
206
|
|
|
233
|
-
.
|
|
234
|
-
|
|
207
|
+
.section-title span {
|
|
208
|
+
position: absolute;
|
|
209
|
+
left: 66px;
|
|
210
|
+
top: 10px;
|
|
211
|
+
font-family: "rocom-skill", "rocom-home", "Microsoft YaHei", sans-serif;
|
|
212
|
+
font-size: 28px;
|
|
213
|
+
line-height: 1;
|
|
214
|
+
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
|
|
235
215
|
}
|
|
236
216
|
|
|
237
|
-
.guard-
|
|
238
|
-
display:
|
|
217
|
+
.guard-row {
|
|
218
|
+
display: flex;
|
|
239
219
|
align-items: center;
|
|
240
220
|
flex-wrap: wrap;
|
|
241
|
-
gap:
|
|
242
|
-
|
|
243
|
-
padding:
|
|
244
|
-
border-radius:
|
|
245
|
-
background: rgba(
|
|
246
|
-
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
.guard-inline-label {
|
|
250
|
-
color: #8c7354;
|
|
251
|
-
font-size: 15px;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
.guard-inline-name {
|
|
255
|
-
max-width: 160px;
|
|
256
|
-
overflow: hidden;
|
|
257
|
-
color: #33271a;
|
|
258
|
-
font-size: 18px;
|
|
259
|
-
text-overflow: ellipsis;
|
|
260
|
-
white-space: nowrap;
|
|
221
|
+
gap: 10px;
|
|
222
|
+
margin: 16px 46px 0;
|
|
223
|
+
padding: 12px 18px;
|
|
224
|
+
border-radius: 18px;
|
|
225
|
+
background: rgba(42, 93, 16, 0.62);
|
|
226
|
+
font-size: 22px;
|
|
261
227
|
}
|
|
262
228
|
|
|
263
|
-
.guard-
|
|
264
|
-
color: #
|
|
265
|
-
font-
|
|
229
|
+
.guard-row strong {
|
|
230
|
+
color: #ffff00;
|
|
231
|
+
font-weight: 400;
|
|
266
232
|
}
|
|
267
233
|
|
|
268
|
-
.
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
border-radius: 999px;
|
|
272
|
-
background: #ffc65f;
|
|
273
|
-
color: #4a2d0b;
|
|
274
|
-
text-align: center;
|
|
275
|
-
font-size: 19px;
|
|
276
|
-
box-shadow: inset 0 -2px 0 rgba(141, 94, 30, 0.14);
|
|
234
|
+
.guard-row em {
|
|
235
|
+
font-style: normal;
|
|
236
|
+
color: #ffffff;
|
|
277
237
|
}
|
|
278
238
|
|
|
279
|
-
.
|
|
239
|
+
.pet-grid {
|
|
280
240
|
display: grid;
|
|
281
|
-
grid-template-columns: repeat(2,
|
|
282
|
-
|
|
241
|
+
grid-template-columns: repeat(2, 486px);
|
|
242
|
+
justify-content: center;
|
|
243
|
+
gap: 0;
|
|
244
|
+
margin-top: 20px;
|
|
283
245
|
}
|
|
284
246
|
|
|
285
|
-
.plot-card,
|
|
286
247
|
.pet-card {
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
248
|
+
position: relative;
|
|
249
|
+
width: 486px;
|
|
250
|
+
height: 192px;
|
|
290
251
|
}
|
|
291
252
|
|
|
292
|
-
.
|
|
293
|
-
|
|
294
|
-
|
|
253
|
+
.card-bg {
|
|
254
|
+
position: absolute;
|
|
255
|
+
inset: 0;
|
|
256
|
+
width: 100%;
|
|
257
|
+
height: 100%;
|
|
295
258
|
}
|
|
296
259
|
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
.pet-avatar-box {
|
|
263
|
+
position: absolute;
|
|
264
|
+
left: 24px;
|
|
265
|
+
top: 28px;
|
|
266
|
+
width: 150px;
|
|
267
|
+
height: 150px;
|
|
304
268
|
}
|
|
305
269
|
|
|
306
|
-
.
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
margin-top: 10px;
|
|
270
|
+
.pet-avatar {
|
|
271
|
+
width: 150px;
|
|
272
|
+
height: 150px;
|
|
273
|
+
object-fit: contain;
|
|
311
274
|
}
|
|
312
275
|
|
|
313
|
-
.
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
276
|
+
.pet-star {
|
|
277
|
+
position: absolute;
|
|
278
|
+
left: -3px;
|
|
279
|
+
top: -30px;
|
|
280
|
+
width: 70px;
|
|
281
|
+
height: 70px;
|
|
318
282
|
object-fit: contain;
|
|
319
283
|
}
|
|
320
284
|
|
|
321
|
-
.empty
|
|
285
|
+
.pet-empty,
|
|
286
|
+
.plant-empty {
|
|
322
287
|
display: grid;
|
|
323
288
|
place-items: center;
|
|
324
289
|
border-radius: 16px;
|
|
325
|
-
background: rgba(
|
|
326
|
-
color: rgba(
|
|
327
|
-
font-size:
|
|
290
|
+
background: rgba(255, 255, 255, 0.18);
|
|
291
|
+
color: rgba(255, 255, 255, 0.72);
|
|
292
|
+
font-size: 22px;
|
|
328
293
|
}
|
|
329
294
|
|
|
330
|
-
.
|
|
331
|
-
|
|
295
|
+
.level-badge {
|
|
296
|
+
position: absolute;
|
|
297
|
+
left: 38px;
|
|
298
|
+
top: 97px;
|
|
299
|
+
width: 82px;
|
|
300
|
+
height: 48px;
|
|
301
|
+
transform: rotate(10deg);
|
|
332
302
|
}
|
|
333
303
|
|
|
334
|
-
.
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
color: #33271a;
|
|
338
|
-
text-overflow: ellipsis;
|
|
339
|
-
white-space: nowrap;
|
|
304
|
+
.level-badge img {
|
|
305
|
+
width: 74px;
|
|
306
|
+
height: 39px;
|
|
340
307
|
}
|
|
341
308
|
|
|
342
|
-
.
|
|
343
|
-
|
|
309
|
+
.level-badge span {
|
|
310
|
+
position: absolute;
|
|
311
|
+
left: 0;
|
|
312
|
+
top: 9px;
|
|
313
|
+
width: 74px;
|
|
314
|
+
text-align: center;
|
|
315
|
+
color: #ffffff;
|
|
316
|
+
font-size: 22px;
|
|
317
|
+
line-height: 1;
|
|
344
318
|
}
|
|
345
319
|
|
|
346
|
-
.
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
320
|
+
.pet-info {
|
|
321
|
+
position: absolute;
|
|
322
|
+
left: 166px;
|
|
323
|
+
top: 36px;
|
|
324
|
+
width: 286px;
|
|
350
325
|
}
|
|
351
326
|
|
|
352
|
-
.
|
|
353
|
-
|
|
327
|
+
.pet-name,
|
|
328
|
+
.plant-name {
|
|
329
|
+
overflow: hidden;
|
|
330
|
+
color: #ffff00;
|
|
331
|
+
text-overflow: ellipsis;
|
|
332
|
+
white-space: nowrap;
|
|
354
333
|
}
|
|
355
334
|
|
|
356
|
-
.
|
|
357
|
-
|
|
335
|
+
.pet-name {
|
|
336
|
+
font-family: "rocom-skill", "rocom-home", "Microsoft YaHei", sans-serif;
|
|
337
|
+
font-size: 28px;
|
|
338
|
+
line-height: 1.1;
|
|
358
339
|
}
|
|
359
340
|
|
|
360
|
-
.
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
341
|
+
.pet-status,
|
|
342
|
+
.pet-note {
|
|
343
|
+
overflow: hidden;
|
|
344
|
+
color: #ffffff;
|
|
345
|
+
text-overflow: ellipsis;
|
|
346
|
+
white-space: nowrap;
|
|
364
347
|
}
|
|
365
348
|
|
|
366
|
-
.
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
349
|
+
.pet-status {
|
|
350
|
+
margin-top: 12px;
|
|
351
|
+
font-family: "rocom-skill", "rocom-home", "Microsoft YaHei", sans-serif;
|
|
352
|
+
font-size: 28px;
|
|
353
|
+
line-height: 1;
|
|
371
354
|
}
|
|
372
355
|
|
|
373
|
-
.
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
background: rgba(255, 198, 95, 0.22);
|
|
378
|
-
color: #795f3f;
|
|
379
|
-
font-size: 13px;
|
|
356
|
+
.pet-note {
|
|
357
|
+
margin-top: 8px;
|
|
358
|
+
font-family: "rocom-skill", "rocom-home", "Microsoft YaHei", sans-serif;
|
|
359
|
+
font-size: 22px;
|
|
380
360
|
}
|
|
381
361
|
|
|
382
|
-
.progress-
|
|
383
|
-
|
|
384
|
-
|
|
362
|
+
.progress-line,
|
|
363
|
+
.plant-progress {
|
|
364
|
+
position: relative;
|
|
385
365
|
overflow: hidden;
|
|
366
|
+
height: 13px;
|
|
367
|
+
margin-top: 10px;
|
|
386
368
|
border-radius: 999px;
|
|
387
|
-
background: rgba(143, 113, 73, 0.12);
|
|
388
369
|
}
|
|
389
370
|
|
|
390
|
-
.progress-
|
|
391
|
-
|
|
392
|
-
min-width: 4%;
|
|
393
|
-
max-width: 100%;
|
|
394
|
-
border-radius: inherit;
|
|
395
|
-
background: linear-gradient(90deg, #83c665, #ffc65f);
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
.pet-grid {
|
|
399
|
-
display: grid;
|
|
400
|
-
gap: 12px;
|
|
371
|
+
.progress-line {
|
|
372
|
+
width: 270px;
|
|
401
373
|
}
|
|
402
374
|
|
|
403
|
-
.
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
.pet-card {
|
|
412
|
-
display: flex;
|
|
413
|
-
align-items: center;
|
|
414
|
-
min-height: 122px;
|
|
415
|
-
gap: 14px;
|
|
416
|
-
padding: 13px 14px;
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
.pet-card.status-ready {
|
|
420
|
-
border-color: rgba(65, 162, 83, 0.30);
|
|
421
|
-
background:
|
|
422
|
-
linear-gradient(90deg, rgba(101, 196, 101, 0.20), rgba(255, 255, 255, 0.70)),
|
|
423
|
-
rgba(255, 255, 255, 0.62);
|
|
375
|
+
.progress-track,
|
|
376
|
+
.progress-bar {
|
|
377
|
+
position: absolute;
|
|
378
|
+
left: 0;
|
|
379
|
+
top: 0;
|
|
380
|
+
height: 13px;
|
|
424
381
|
}
|
|
425
382
|
|
|
426
|
-
.
|
|
427
|
-
|
|
428
|
-
background:
|
|
429
|
-
linear-gradient(90deg, rgba(255, 180, 78, 0.20), rgba(255, 255, 255, 0.68)),
|
|
430
|
-
rgba(255, 255, 255, 0.62);
|
|
383
|
+
.progress-track {
|
|
384
|
+
width: 100%;
|
|
431
385
|
}
|
|
432
386
|
|
|
433
|
-
.
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
rgba(255, 255, 255, 0.62);
|
|
387
|
+
.progress-bar {
|
|
388
|
+
max-width: 100%;
|
|
389
|
+
object-fit: cover;
|
|
390
|
+
object-position: left center;
|
|
438
391
|
}
|
|
439
392
|
|
|
440
|
-
.
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
393
|
+
.plant-grid {
|
|
394
|
+
display: grid;
|
|
395
|
+
grid-template-columns: repeat(3, 306px);
|
|
396
|
+
justify-content: center;
|
|
397
|
+
gap: 0;
|
|
398
|
+
margin-top: 20px;
|
|
445
399
|
}
|
|
446
400
|
|
|
447
|
-
.
|
|
401
|
+
.plant-card {
|
|
448
402
|
position: relative;
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
height: 82px;
|
|
403
|
+
width: 306px;
|
|
404
|
+
height: 148px;
|
|
452
405
|
}
|
|
453
406
|
|
|
454
|
-
.
|
|
455
|
-
|
|
456
|
-
|
|
407
|
+
.plant-icon {
|
|
408
|
+
position: absolute;
|
|
409
|
+
left: 17px;
|
|
410
|
+
top: 19px;
|
|
411
|
+
width: 105px;
|
|
412
|
+
height: 105px;
|
|
457
413
|
object-fit: contain;
|
|
458
|
-
border-radius: 20px;
|
|
459
|
-
background: #fff7e6;
|
|
460
|
-
border: 2px solid rgba(255, 198, 95, 0.32);
|
|
461
414
|
}
|
|
462
415
|
|
|
463
|
-
.
|
|
416
|
+
.plant-info {
|
|
464
417
|
position: absolute;
|
|
465
|
-
left:
|
|
466
|
-
top:
|
|
467
|
-
|
|
468
|
-
padding: 3px 8px;
|
|
469
|
-
border-radius: 999px;
|
|
470
|
-
background: #f1b84d;
|
|
471
|
-
color: #ffffff;
|
|
472
|
-
font-size: 14px;
|
|
473
|
-
text-align: center;
|
|
474
|
-
box-shadow: 0 3px 8px rgba(124, 86, 27, 0.18);
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
.pet-info {
|
|
478
|
-
min-width: 0;
|
|
479
|
-
flex: 1;
|
|
480
|
-
}
|
|
481
|
-
|
|
482
|
-
.pet-name {
|
|
483
|
-
font-size: 24px;
|
|
418
|
+
left: 131px;
|
|
419
|
+
top: 24px;
|
|
420
|
+
width: 150px;
|
|
484
421
|
}
|
|
485
422
|
|
|
486
|
-
.
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
margin-top: 8px;
|
|
423
|
+
.plant-name {
|
|
424
|
+
font-family: "rocom-skill", "rocom-home", "Microsoft YaHei", sans-serif;
|
|
425
|
+
font-size: 25px;
|
|
426
|
+
line-height: 1.1;
|
|
491
427
|
}
|
|
492
428
|
|
|
493
|
-
.
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
box-shadow: 0 3px 8px rgba(111, 80, 42, 0.14);
|
|
429
|
+
.plant-state,
|
|
430
|
+
.plant-time {
|
|
431
|
+
color: #ffffff;
|
|
432
|
+
font-family: "rocom-skill", "rocom-home", "Microsoft YaHei", sans-serif;
|
|
433
|
+
font-size: 22px;
|
|
434
|
+
line-height: 1;
|
|
500
435
|
}
|
|
501
436
|
|
|
502
|
-
.
|
|
503
|
-
|
|
437
|
+
.plant-state {
|
|
438
|
+
margin-top: 16px;
|
|
504
439
|
}
|
|
505
440
|
|
|
506
|
-
.
|
|
507
|
-
|
|
441
|
+
.plant-time {
|
|
442
|
+
font-size: 18px;
|
|
443
|
+
margin-top: 8px;
|
|
508
444
|
}
|
|
509
445
|
|
|
510
|
-
.
|
|
511
|
-
|
|
446
|
+
.state-ready {
|
|
447
|
+
color: #67d737;
|
|
448
|
+
font-size: 35px;
|
|
512
449
|
}
|
|
513
450
|
|
|
514
|
-
.status-guard {
|
|
515
|
-
background: linear-gradient(135deg, #387fae, #72b5d5);
|
|
516
|
-
}
|
|
517
451
|
|
|
518
|
-
.
|
|
452
|
+
.plant-progress {
|
|
453
|
+
width: 147px;
|
|
519
454
|
margin-top: 8px;
|
|
520
|
-
color: #806f58;
|
|
521
|
-
font-size: 16px;
|
|
522
|
-
line-height: 1.32;
|
|
523
455
|
}
|
|
524
456
|
|
|
525
457
|
.empty-state {
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
place-items: center;
|
|
529
|
-
padding: 16px;
|
|
458
|
+
margin: 20px 46px 0;
|
|
459
|
+
padding: 32px;
|
|
530
460
|
border-radius: 18px;
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
color: #8b7a62;
|
|
461
|
+
background: rgba(42, 93, 16, 0.58);
|
|
462
|
+
color: #ffffff;
|
|
534
463
|
text-align: center;
|
|
535
|
-
font-size:
|
|
536
|
-
|
|
464
|
+
font-size: 28px;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.home-footer {
|
|
468
|
+
position: absolute;
|
|
469
|
+
z-index: 1;
|
|
470
|
+
left: 0;
|
|
471
|
+
bottom: 15px;
|
|
472
|
+
width: 1000px;
|
|
473
|
+
color: rgba(255, 255, 255, 0.82);
|
|
474
|
+
text-align: center;
|
|
475
|
+
font-size: 18px;
|
|
476
|
+
letter-spacing: 1px;
|
|
477
|
+
text-shadow: 0 2px 5px rgba(0, 0, 0, 0.32);
|
|
537
478
|
}
|