koishi-plugin-dew-bot 1.0.188
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/html/css/body.css +287 -0
- package/lib/html/css/equip.css +115 -0
- package/lib/html/css/skill.css +75 -0
- package/lib/html/css/talent.css +58 -0
- package/lib/html/page/body.html +96 -0
- package/lib/html/page/equip.html +98 -0
- package/lib/html/page/mini_texas.html +493 -0
- package/lib/html/page/skill.html +76 -0
- package/lib/html/page/talent.html +76 -0
- package/lib/html/res/avatar.jpg +0 -0
- package/lib/html/res/body/box.png +0 -0
- package/lib/html/res/body/share/test.png +0 -0
- package/lib/html/res/body/title/test.png +0 -0
- package/lib/html/res/body/title/test1.png +0 -0
- package/lib/html/res/equip/equip_border.png +0 -0
- package/lib/html/res/equip/icon/none.png +0 -0
- package/lib/html/res/equip/icon/test.png +0 -0
- package/lib/html/res/equip/quality/0.png +0 -0
- package/lib/html/res/equip/quality/1.png +0 -0
- package/lib/html/res/equip/quality/2.png +0 -0
- package/lib/html/res/equip/quality/3.png +0 -0
- package/lib/html/res/equip/quality/4.png +0 -0
- package/lib/html/res/equip/quality/5.png +0 -0
- package/lib/html/res/equip/quality/6.png +0 -0
- package/lib/html/res/equip/quality/7.png +0 -0
- package/lib/html/res/equip/quality/8.png +0 -0
- package/lib/html/res/equip/quality/9.png +0 -0
- package/lib/html/res/font/cn.ttf +0 -0
- package/lib/html/res/font/xiaomai.ttf +0 -0
- package/lib/html/res/mini/chip/chip0.png +0 -0
- package/lib/html/res/mini/chip/chip1.png +0 -0
- package/lib/html/res/mini/chip/chip2.png +0 -0
- package/lib/html/res/mini/chip/chip3.png +0 -0
- package/lib/html/res/mini/chip/chip4.png +0 -0
- package/lib/html/res/mini/chip/chip5.png +0 -0
- package/lib/html/res/mini/poker/backPoker.png +0 -0
- package/lib/html/res/mini/poker/poker_0_10.png +0 -0
- package/lib/html/res/mini/poker/poker_0_11.png +0 -0
- package/lib/html/res/mini/poker/poker_0_12.png +0 -0
- package/lib/html/res/mini/poker/poker_0_13.png +0 -0
- package/lib/html/res/mini/poker/poker_0_14.png +0 -0
- package/lib/html/res/mini/poker/poker_0_2.png +0 -0
- package/lib/html/res/mini/poker/poker_0_3.png +0 -0
- package/lib/html/res/mini/poker/poker_0_4.png +0 -0
- package/lib/html/res/mini/poker/poker_0_5.png +0 -0
- package/lib/html/res/mini/poker/poker_0_6.png +0 -0
- package/lib/html/res/mini/poker/poker_0_7.png +0 -0
- package/lib/html/res/mini/poker/poker_0_8.png +0 -0
- package/lib/html/res/mini/poker/poker_0_9.png +0 -0
- package/lib/html/res/mini/poker/poker_1_10.png +0 -0
- package/lib/html/res/mini/poker/poker_1_11.png +0 -0
- package/lib/html/res/mini/poker/poker_1_12.png +0 -0
- package/lib/html/res/mini/poker/poker_1_13.png +0 -0
- package/lib/html/res/mini/poker/poker_1_14.png +0 -0
- package/lib/html/res/mini/poker/poker_1_2.png +0 -0
- package/lib/html/res/mini/poker/poker_1_3.png +0 -0
- package/lib/html/res/mini/poker/poker_1_4.png +0 -0
- package/lib/html/res/mini/poker/poker_1_5.png +0 -0
- package/lib/html/res/mini/poker/poker_1_6.png +0 -0
- package/lib/html/res/mini/poker/poker_1_7.png +0 -0
- package/lib/html/res/mini/poker/poker_1_8.png +0 -0
- package/lib/html/res/mini/poker/poker_1_9.png +0 -0
- package/lib/html/res/mini/poker/poker_2_10.png +0 -0
- package/lib/html/res/mini/poker/poker_2_11.png +0 -0
- package/lib/html/res/mini/poker/poker_2_12.png +0 -0
- package/lib/html/res/mini/poker/poker_2_13.png +0 -0
- package/lib/html/res/mini/poker/poker_2_14.png +0 -0
- package/lib/html/res/mini/poker/poker_2_2.png +0 -0
- package/lib/html/res/mini/poker/poker_2_3.png +0 -0
- package/lib/html/res/mini/poker/poker_2_4.png +0 -0
- package/lib/html/res/mini/poker/poker_2_5.png +0 -0
- package/lib/html/res/mini/poker/poker_2_6.png +0 -0
- package/lib/html/res/mini/poker/poker_2_7.png +0 -0
- package/lib/html/res/mini/poker/poker_2_8.png +0 -0
- package/lib/html/res/mini/poker/poker_2_9.png +0 -0
- package/lib/html/res/mini/poker/poker_3_10.png +0 -0
- package/lib/html/res/mini/poker/poker_3_11.png +0 -0
- package/lib/html/res/mini/poker/poker_3_12.png +0 -0
- package/lib/html/res/mini/poker/poker_3_13.png +0 -0
- package/lib/html/res/mini/poker/poker_3_14.png +0 -0
- package/lib/html/res/mini/poker/poker_3_2.png +0 -0
- package/lib/html/res/mini/poker/poker_3_3.png +0 -0
- package/lib/html/res/mini/poker/poker_3_4.png +0 -0
- package/lib/html/res/mini/poker/poker_3_5.png +0 -0
- package/lib/html/res/mini/poker/poker_3_6.png +0 -0
- package/lib/html/res/mini/poker/poker_3_7.png +0 -0
- package/lib/html/res/mini/poker/poker_3_8.png +0 -0
- package/lib/html/res/mini/poker/poker_3_9.png +0 -0
- package/lib/html/res/mini/texas/bg.jpg +0 -0
- package/lib/html/res/mini/texas/win.png +0 -0
- package/lib/html/res/quality/test.png +0 -0
- package/lib/html/res/skill/att/dark.png +0 -0
- package/lib/html/res/skill/att/divine.png +0 -0
- package/lib/html/res/skill/att/earth.png +0 -0
- package/lib/html/res/skill/att/fire.png +0 -0
- package/lib/html/res/skill/att/light.png +0 -0
- package/lib/html/res/skill/att/spell.png +0 -0
- package/lib/html/res/skill/att/trap.png +0 -0
- package/lib/html/res/skill/att/water.png +0 -0
- package/lib/html/res/skill/att/wind.png +0 -0
- package/lib/html/res/skill/frame/0.jpg +0 -0
- package/lib/html/res/skill/frame/1.jpg +0 -0
- package/lib/html/res/skill/frame/2.jpg +0 -0
- package/lib/html/res/skill/frame/3.jpg +0 -0
- package/lib/html/res/skill/frame/4.jpg +0 -0
- package/lib/html/res/skill/frame/5.jpg +0 -0
- package/lib/html/res/skill/frame/6.jpg +0 -0
- package/lib/html/res/skill/frame/7.jpg +0 -0
- package/lib/html/res/skill/frame/8.jpg +0 -0
- package/lib/html/res/skill/frame/9.jpg +0 -0
- package/lib/html/res/skill/star/level.png +0 -0
- package/lib/html/res/skill/star/rank.png +0 -0
- package/lib/html/res/skill/test.jpg +0 -0
- package/lib/html/res/vue2.js +11 -0
- package/lib/index.js +46 -0
- package/lib/inits.js +43 -0
- package/lib/msgCsl.js +97 -0
- package/lib/plugin/console.js +17 -0
- package/lib/plugin/messageQueue.js +134 -0
- package/lib/plugin/puppeteer.js +81 -0
- package/lib/plugin/rateLimiter.js +104 -0
- package/lib/plugin/server.js +206 -0
- package/lib/plugin/serverHandel/handel_base.js +27 -0
- package/lib/plugin/serverHandel/image.js +19 -0
- package/lib/plugin/serverHandel/none.js +15 -0
- package/lib/plugin/serverHandel/text.js +20 -0
- package/lib/plugin/sessions.js +33 -0
- package/lib/shared/IBody.js +2 -0
- package/lib/shared/IMassage.js +9 -0
- package/lib/shared/MsgMessage.js +4 -0
- package/lib/shared/PtlMessage.js +4 -0
- package/lib/shared/PtlTest.js +4 -0
- package/lib/shared/base.js +2 -0
- package/lib/shared/face/index.js +47 -0
- package/lib/shared/serviceProto.js +328 -0
- package/package.json +36 -0
- package/readme.md +9 -0
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
body {
|
|
2
|
+
margin: 0;
|
|
3
|
+
padding: 0;
|
|
4
|
+
width: 368px;
|
|
5
|
+
height: 624px;
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
position: relative;
|
|
8
|
+
background-color: #F8F3EF;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
#app {
|
|
12
|
+
position: relative;
|
|
13
|
+
width: 100%;
|
|
14
|
+
height: 100%;
|
|
15
|
+
background-color: #F6F0E5;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.bg-ui {
|
|
19
|
+
position: absolute;
|
|
20
|
+
top: 0;
|
|
21
|
+
left: 0;
|
|
22
|
+
width: 100%;
|
|
23
|
+
height: 100%;
|
|
24
|
+
z-index: 1;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.body-show {
|
|
28
|
+
position: absolute;
|
|
29
|
+
top: 100px;
|
|
30
|
+
right: 10px;
|
|
31
|
+
width: 200px;
|
|
32
|
+
height: 300px;
|
|
33
|
+
rotate: 3deg;
|
|
34
|
+
z-index: 2;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.content {
|
|
38
|
+
position: relative;
|
|
39
|
+
top: 0;
|
|
40
|
+
left: 0;
|
|
41
|
+
z-index: 3;
|
|
42
|
+
height: 100%;
|
|
43
|
+
width: 100%;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.title {
|
|
47
|
+
font-size: 33px;
|
|
48
|
+
font-weight: bold;
|
|
49
|
+
color: #49453a;
|
|
50
|
+
text-align: center;
|
|
51
|
+
letter-spacing: 2px;
|
|
52
|
+
text-shadow: 1px 1px 2px #aaa;
|
|
53
|
+
margin: 0 auto;
|
|
54
|
+
width: 100vw;
|
|
55
|
+
display: flex;
|
|
56
|
+
justify-content: center;
|
|
57
|
+
align-items: center;
|
|
58
|
+
opacity: 0.8;
|
|
59
|
+
text-shadow: 1px 1px 2px #757575;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.title span {
|
|
63
|
+
font-size: 12px;
|
|
64
|
+
font-weight: bold;
|
|
65
|
+
color: #49453a;
|
|
66
|
+
text-align: center;
|
|
67
|
+
height: 20px;
|
|
68
|
+
display: flex;
|
|
69
|
+
align-items: center;
|
|
70
|
+
opacity: 0.7;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.title-box {
|
|
74
|
+
width: 368px;
|
|
75
|
+
display: flex;
|
|
76
|
+
justify-content: center;
|
|
77
|
+
align-items: center;
|
|
78
|
+
padding-top: 28px;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
.total-power {
|
|
84
|
+
font-weight: bold;
|
|
85
|
+
margin: 5px 0 0 0;
|
|
86
|
+
display: inline-block;
|
|
87
|
+
padding-right: 3px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.total-title {
|
|
91
|
+
background: #514f40;
|
|
92
|
+
color: #fff;
|
|
93
|
+
font-weight: bold;
|
|
94
|
+
font-size: 16px;
|
|
95
|
+
padding: 0 2px;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.power-value {
|
|
99
|
+
color: #d9534f;
|
|
100
|
+
font-size: 17px;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.attribute {
|
|
104
|
+
display: flex;
|
|
105
|
+
flex-direction: column;
|
|
106
|
+
align-items: flex-start;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.progress-bar {
|
|
110
|
+
width: 100%;
|
|
111
|
+
margin: 0 auto;
|
|
112
|
+
height: 10px;
|
|
113
|
+
background-color: #c7c3b8;
|
|
114
|
+
position: relative;
|
|
115
|
+
opacity: 0.9;
|
|
116
|
+
border-radius: 5px;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.progress {
|
|
120
|
+
height: 100%;
|
|
121
|
+
background-color: #6d695e;
|
|
122
|
+
opacity: 0.8;
|
|
123
|
+
border-radius: 5px;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.value {
|
|
127
|
+
text-align: right;
|
|
128
|
+
font-size: 15px;
|
|
129
|
+
opacity: 0.9;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.key {
|
|
133
|
+
font-weight: bold;
|
|
134
|
+
font-size: 12px;
|
|
135
|
+
opacity: 0.8;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.attribute-item {
|
|
139
|
+
width: 100%;
|
|
140
|
+
display: flex;
|
|
141
|
+
justify-content: space-between;
|
|
142
|
+
align-items: center;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.w-0 {
|
|
146
|
+
width: 100%;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.w-1 {
|
|
150
|
+
width: 97%;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.w-2 {
|
|
154
|
+
width: 96%;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.w-3 {
|
|
158
|
+
width: 95%;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.w-4 {
|
|
162
|
+
width: 94%;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.w-5 {
|
|
166
|
+
width: 93%;
|
|
167
|
+
}
|
|
168
|
+
.slot-1 {
|
|
169
|
+
position: absolute;
|
|
170
|
+
top: 93px;
|
|
171
|
+
left: 37px;
|
|
172
|
+
width: 94px;
|
|
173
|
+
height: 19px;
|
|
174
|
+
rotate: 357deg;
|
|
175
|
+
display: flex;
|
|
176
|
+
align-items: center;
|
|
177
|
+
/* 垂直居中 */
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.slot-1-text {
|
|
181
|
+
font-size: 14px;
|
|
182
|
+
font-weight: bold;
|
|
183
|
+
color: #2e261c;
|
|
184
|
+
opacity: 0.7;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.slot-2 {
|
|
188
|
+
position: absolute;
|
|
189
|
+
bottom: 30px;
|
|
190
|
+
left: 41px;
|
|
191
|
+
width: 141px;
|
|
192
|
+
height: 24px;
|
|
193
|
+
align-items: center;
|
|
194
|
+
text-align: left;
|
|
195
|
+
rotate: 353deg;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.slot-2-text {
|
|
199
|
+
font-size: 18px;
|
|
200
|
+
font-weight: bold;
|
|
201
|
+
color: #514d44;
|
|
202
|
+
line-height: 22px;
|
|
203
|
+
letter-spacing: -1px;
|
|
204
|
+
opacity: 0.8;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.slot-3 {
|
|
208
|
+
position: absolute;
|
|
209
|
+
top: 131px;
|
|
210
|
+
left: 13px;
|
|
211
|
+
width: 141px;
|
|
212
|
+
height: 35px;
|
|
213
|
+
display: flex;
|
|
214
|
+
align-items: center;
|
|
215
|
+
text-align: right;
|
|
216
|
+
justify-content: flex-end;
|
|
217
|
+
border-bottom: 1px solid #524f4796;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.slot-3-text {
|
|
221
|
+
font-size: 24px;
|
|
222
|
+
font-weight: bold;
|
|
223
|
+
color: #514d41;
|
|
224
|
+
letter-spacing: -1px;
|
|
225
|
+
white-space: nowrap;
|
|
226
|
+
overflow: hidden;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.slot-4 {
|
|
230
|
+
color: #333;
|
|
231
|
+
position: absolute;
|
|
232
|
+
top: 160px;
|
|
233
|
+
left: 13px;
|
|
234
|
+
width: 141px;
|
|
235
|
+
font-weight: bold;
|
|
236
|
+
}
|
|
237
|
+
.solt-5 {
|
|
238
|
+
position: absolute;
|
|
239
|
+
top: 339px;
|
|
240
|
+
right: 16px;
|
|
241
|
+
rotate: 3deg;
|
|
242
|
+
width: 205px;
|
|
243
|
+
display: flex;
|
|
244
|
+
justify-content: center;
|
|
245
|
+
opacity: 0.8;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.solt-5 img {
|
|
249
|
+
max-width: 80%;
|
|
250
|
+
margin: 0;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.solt-6 {
|
|
254
|
+
position: absolute;
|
|
255
|
+
right: 15px;
|
|
256
|
+
top: 405px;
|
|
257
|
+
font-weight: bold;
|
|
258
|
+
width: 54%;
|
|
259
|
+
}
|
|
260
|
+
.solt-7 {
|
|
261
|
+
position: absolute;
|
|
262
|
+
right: 19px;
|
|
263
|
+
bottom: 76px;
|
|
264
|
+
font-weight: bold;
|
|
265
|
+
width: 336px;
|
|
266
|
+
font-size: 14px;
|
|
267
|
+
display: flex;
|
|
268
|
+
flex-wrap: wrap;
|
|
269
|
+
overflow: hidden;
|
|
270
|
+
height: 39px;
|
|
271
|
+
}
|
|
272
|
+
.solt-7 span {
|
|
273
|
+
background: #1e90ff;
|
|
274
|
+
color: #fffbf4d1;
|
|
275
|
+
border-radius: 4px;
|
|
276
|
+
font-size: 12px;
|
|
277
|
+
margin: 1px 2px;
|
|
278
|
+
padding: 0 2px;
|
|
279
|
+
text-align: center;
|
|
280
|
+
display: flex;
|
|
281
|
+
height: 21px;
|
|
282
|
+
align-items: center;
|
|
283
|
+
justify-content: center;
|
|
284
|
+
}
|
|
285
|
+
.solt-6 .power-value {
|
|
286
|
+
color: #6d695e;
|
|
287
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
body {
|
|
2
|
+
margin: 0;
|
|
3
|
+
padding: 0;
|
|
4
|
+
width: 400px;
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
position: relative;
|
|
7
|
+
background-color: #F8F3EF;
|
|
8
|
+
min-height: 400px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
#app {
|
|
12
|
+
width: 95%;
|
|
13
|
+
border: 2px solid rgba(0, 0, 0, 0.2);
|
|
14
|
+
background-color: #F6F0E5;
|
|
15
|
+
border-radius: 5px;
|
|
16
|
+
margin: 10px auto;
|
|
17
|
+
padding-top: 10px;
|
|
18
|
+
padding-bottom: 10px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.equip-iconBox {
|
|
22
|
+
/* 居中 */
|
|
23
|
+
display: flex;
|
|
24
|
+
justify-content: center;
|
|
25
|
+
align-items: center;
|
|
26
|
+
position: relative;
|
|
27
|
+
height: 150px;
|
|
28
|
+
/* 上下边距 */
|
|
29
|
+
margin-bottom: 10px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.equip-icon-border {
|
|
33
|
+
width: 140px;
|
|
34
|
+
height: 140px;
|
|
35
|
+
position: absolute;
|
|
36
|
+
z-index: 1;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.equip-icon-quality {
|
|
40
|
+
width: 140px;
|
|
41
|
+
height: 140px;
|
|
42
|
+
position: absolute;
|
|
43
|
+
border-radius: 50%;
|
|
44
|
+
background: #3e455647;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.equip-icon {
|
|
48
|
+
width: 100px;
|
|
49
|
+
height: 100px;
|
|
50
|
+
/* 绝对居中 */
|
|
51
|
+
position: absolute;
|
|
52
|
+
top: 50%;
|
|
53
|
+
left: 50%;
|
|
54
|
+
transform: translate(-50%, -50%);
|
|
55
|
+
border-radius: 50%;
|
|
56
|
+
/* 边框 */
|
|
57
|
+
border: 2px solid rgb(255 247 247 / 100%);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.equip-baseInfo {
|
|
61
|
+
height: 100%;
|
|
62
|
+
margin-left: 30px;
|
|
63
|
+
margin-right: 30px;
|
|
64
|
+
color: #3e4556;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.quality {
|
|
68
|
+
color: #FFAF52;
|
|
69
|
+
font-size: 24px;
|
|
70
|
+
letter-spacing: 9px;
|
|
71
|
+
text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.25);
|
|
72
|
+
display: flex;
|
|
73
|
+
justify-content: space-around;
|
|
74
|
+
width: 100%;
|
|
75
|
+
align-items: center;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.equip-name {
|
|
79
|
+
text-align: center;
|
|
80
|
+
color: #50371D;
|
|
81
|
+
font-weight: bold;
|
|
82
|
+
font-size: 24px;
|
|
83
|
+
font-family: cursive;
|
|
84
|
+
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.attribute {
|
|
88
|
+
background: #FFAF52;
|
|
89
|
+
border-radius: 5px;
|
|
90
|
+
color: white;
|
|
91
|
+
padding: 6px 10px;
|
|
92
|
+
margin-top: 10px;
|
|
93
|
+
font-size: 16px;
|
|
94
|
+
font-weight: bold;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.attribute div {
|
|
98
|
+
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.info-box {
|
|
102
|
+
margin-top: 10px;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.info-box-title {
|
|
106
|
+
font-size: 14px;
|
|
107
|
+
font-weight: bold;
|
|
108
|
+
color: #3E4556;
|
|
109
|
+
margin-bottom: 5px;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.info-box-content {
|
|
113
|
+
font-size: 14px;
|
|
114
|
+
color: #3E4556;
|
|
115
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
.filter {
|
|
2
|
+
filter: drop-shadow(rgba(0, 0, 0, 0.5) 4px 2.5px 6px);
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
body {
|
|
6
|
+
margin: 0;
|
|
7
|
+
padding: 0;
|
|
8
|
+
width: 406.5px;
|
|
9
|
+
height: 593.5px;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
position: relative;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.pos {
|
|
15
|
+
position: absolute;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.card-frame {
|
|
19
|
+
width: 406.5px;
|
|
20
|
+
height: 593.5px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.card-name {
|
|
24
|
+
position: absolute;
|
|
25
|
+
top: 31px;
|
|
26
|
+
left: 37.5px;
|
|
27
|
+
font-size: 23px;
|
|
28
|
+
font-weight: bold;
|
|
29
|
+
color: #ffffff;
|
|
30
|
+
text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.descArea {
|
|
34
|
+
width: 349.5px;
|
|
35
|
+
height: 112.5px;
|
|
36
|
+
bottom: 34.5px;
|
|
37
|
+
left: 28.5px;
|
|
38
|
+
overflow: hidden;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.content {
|
|
42
|
+
display: flex;
|
|
43
|
+
justify-content: flex-start;
|
|
44
|
+
align-items: center;
|
|
45
|
+
width: 100%;
|
|
46
|
+
flex-direction: row;
|
|
47
|
+
position: relative;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.text-content {
|
|
51
|
+
font-size: 12px;
|
|
52
|
+
word-break: break-all;
|
|
53
|
+
white-space: normal;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.inline-icon {
|
|
57
|
+
display: inline-block;
|
|
58
|
+
vertical-align: top;
|
|
59
|
+
width: 15px;
|
|
60
|
+
height: 15px;
|
|
61
|
+
filter: drop-shadow(rgba(0, 0, 0, 0.5) 2px 1px 3px);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.pos[style*="width: 687px"] {
|
|
65
|
+
width: 343.5px !important;
|
|
66
|
+
overflow: hidden;
|
|
67
|
+
}
|
|
68
|
+
.bold{
|
|
69
|
+
font-weight: bold;
|
|
70
|
+
}
|
|
71
|
+
.split-line {
|
|
72
|
+
border-top: 1px solid #666;
|
|
73
|
+
margin: 1px 0;
|
|
74
|
+
width: 100%;
|
|
75
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
.filter {
|
|
2
|
+
filter: drop-shadow(rgba(0, 0, 0, 0.5) 4px 2.5px 6px);
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
body {
|
|
6
|
+
margin: 0;
|
|
7
|
+
padding: 0;
|
|
8
|
+
width: 406.5px;
|
|
9
|
+
height: 593.5px;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
position: relative;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.pos {
|
|
15
|
+
position: absolute;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.card-frame {
|
|
19
|
+
width: 406.5px;
|
|
20
|
+
height: 593.5px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.card-name {
|
|
24
|
+
position: absolute;
|
|
25
|
+
top: 32px;
|
|
26
|
+
left: 37.5px;
|
|
27
|
+
font-size: 21px;
|
|
28
|
+
font-weight: bold;
|
|
29
|
+
color: #ffffff;
|
|
30
|
+
text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.content {
|
|
34
|
+
display: flex;
|
|
35
|
+
justify-content: flex-start;
|
|
36
|
+
align-items: center;
|
|
37
|
+
width: 100%;
|
|
38
|
+
flex-direction: row;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.text-content {
|
|
42
|
+
font-size: 10px;
|
|
43
|
+
word-break: break-all;
|
|
44
|
+
white-space: normal;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.inline-icon {
|
|
48
|
+
display: inline-block;
|
|
49
|
+
vertical-align: top;
|
|
50
|
+
width: 15px;
|
|
51
|
+
height: 15px;
|
|
52
|
+
filter: drop-shadow(rgba(0, 0, 0, 0.5) 2px 1px 3px);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.pos[style*="width: 687px"] {
|
|
56
|
+
width: 343.5px !important;
|
|
57
|
+
overflow: hidden;
|
|
58
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="UTF-8">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
7
|
+
<title>角色属性</title>
|
|
8
|
+
<script src="../res/vue2.js"></script>
|
|
9
|
+
<link rel="stylesheet" href="../css/body.css">
|
|
10
|
+
</head>
|
|
11
|
+
|
|
12
|
+
<body>
|
|
13
|
+
<div id="app">
|
|
14
|
+
<img class="bg-ui" src="../res/body/box.png">
|
|
15
|
+
<img class="body-show" :src="data.show" onerror="this.onerror=null; this.src='../res/body/share/test.png'">
|
|
16
|
+
<div class="content">
|
|
17
|
+
<div class="title-box">
|
|
18
|
+
<h1 class="title"><span>◆</span> {{data.title}} <span>◆</span></h1>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="slot-1">
|
|
21
|
+
<span class="slot-1-text">UID {{data.id}}</span>
|
|
22
|
+
</div>
|
|
23
|
+
<div class="slot-2">
|
|
24
|
+
<span class="slot-2-text">未开·基因锁</span>
|
|
25
|
+
</div>
|
|
26
|
+
<div class="slot-3">
|
|
27
|
+
<span class="slot-3-text">{{data.nickName}}</span>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="slot-4">
|
|
30
|
+
<div class="total-power">
|
|
31
|
+
<span class="total-title">战力</span>
|
|
32
|
+
<span class="power-value">{{data.power}}</span>
|
|
33
|
+
</div>
|
|
34
|
+
<div v-for="(attribute, index) in data.attributes" :class="'attribute w-' + (index > 5 ? 5 : index)">
|
|
35
|
+
<div class="attribute-item">
|
|
36
|
+
<span class="key">{{attribute.key}}</span>
|
|
37
|
+
<span class="value">{{attribute.val.toFixed(2)}}{{attribute.Percents ? '%' : ''}}</span>
|
|
38
|
+
</div>
|
|
39
|
+
<div class="progress-bar">
|
|
40
|
+
<div class="progress"
|
|
41
|
+
:style="'width: ' + (attribute.val > 0 ? (Math.min(attribute.val / attribute.max, 1) * 100) : 0) + '%;'">
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
<div class="solt-5">
|
|
47
|
+
<img src="../res/body/title/test.png">
|
|
48
|
+
</div>
|
|
49
|
+
<div class="solt-6">
|
|
50
|
+
<div class="total-power">
|
|
51
|
+
<span class="total-title">Lv.等级</span>
|
|
52
|
+
<span class="power-value">{{data.level}}</span>
|
|
53
|
+
</div>
|
|
54
|
+
<div class="attribute w-5">
|
|
55
|
+
<div class="attribute-item">
|
|
56
|
+
<span class="key">生命值</span>
|
|
57
|
+
<span class="value">{{data.hp[0].toFixed(2)}}/{{data.hp[1].toFixed(2)}}</span>
|
|
58
|
+
</div>
|
|
59
|
+
<div class="progress-bar">
|
|
60
|
+
<div class="progress"
|
|
61
|
+
:style="'width: ' + (data.hp[0] > 0 ? (Math.min(data.hp[0] / data.hp[1], 1) * 100) : 0) + '%; background-color: #ce0303;'">
|
|
62
|
+
</div>
|
|
63
|
+
</div>
|
|
64
|
+
<div class="attribute-item">
|
|
65
|
+
<span class="key">经验值</span>
|
|
66
|
+
<span class="value">{{data.exp[0].toFixed(2)}}/{{data.exp[1].toFixed(2)}}</span>
|
|
67
|
+
</div>
|
|
68
|
+
<div class="progress-bar">
|
|
69
|
+
<div class="progress"
|
|
70
|
+
:style="'width: ' + (data.exp[0] > 0 ? (Math.min(data.exp[0] / data.exp[1], 1) * 100) : 0) + '%; background-color: #2196F3;'">
|
|
71
|
+
</div>
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
74
|
+
</div>
|
|
75
|
+
<div class="solt-7">
|
|
76
|
+
<span v-for="talent in data.talent">{{talent}}</span>
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
79
|
+
</div>
|
|
80
|
+
<script>
|
|
81
|
+
let data = {title:"宿主档案",show:"",power:400,id:"035",nickName:"匿名",level:1,attributes:[{key:"物理攻击",val:10,max:10,Percents:false}],hp:[100,100],exp:[0,10],talent:['???']};
|
|
82
|
+
new Vue({
|
|
83
|
+
el: '#app',
|
|
84
|
+
data: {
|
|
85
|
+
data: data
|
|
86
|
+
},
|
|
87
|
+
mounted() {
|
|
88
|
+
this.data = data;
|
|
89
|
+
},
|
|
90
|
+
methods: {
|
|
91
|
+
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
</script>
|
|
95
|
+
|
|
96
|
+
</body>
|