koishi-plugin-dew-bot 1.0.204 → 1.0.208

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 (48) hide show
  1. package/{lib → dist}/html/css/body.css +286 -286
  2. package/{lib → dist}/html/css/panel_common.css +3 -0
  3. package/{lib → dist}/html/page/panel_common.html +1 -1
  4. package/{lib → dist}/html/res/font/cn.ttf +0 -0
  5. package/{lib → dist}/html/res/font/xiaomai.ttf +0 -0
  6. package/{lib → dist}/html/res/vue2.js +10 -10
  7. package/dist/index.js +18 -0
  8. package/{lib → dist}/inits.js +6 -19
  9. package/{lib → dist}/plugin/messageQueue.js +9 -7
  10. package/{lib → dist}/plugin/puppeteer.js +4 -6
  11. package/{lib → dist}/plugin/server.js +49 -36
  12. package/{lib → dist}/plugin/serverHandel/handel_base.js +11 -6
  13. package/{lib → dist}/plugin/serverHandel/image.js +4 -5
  14. package/{lib → dist}/plugin/serverHandel/text.js +3 -1
  15. package/{lib → dist}/plugin/sessions.js +2 -0
  16. package/dist/shared/bot/AnalysisClass/class_battleLog.js +104 -0
  17. package/dist/shared/bot/AnalysisClass/class_skillDetail.js +152 -0
  18. package/{lib/shared → dist/shared/bot}/PtlMessage.js +3 -1
  19. package/dist/shared/bot/analysisMsg.js +62 -0
  20. package/{lib/shared → dist/shared/bot}/serviceProto.js +141 -196
  21. package/dist/shared/face/index.js +22 -0
  22. package/package.json +4 -4
  23. package/lib/face/enums.js +0 -204
  24. package/lib/face/index.js +0 -10
  25. package/lib/html/temp/ranking_qxkox4jmz1j.html +0 -84
  26. package/lib/index.js +0 -56
  27. package/lib/msgCsl.js +0 -95
  28. package/lib/plugin/console.js +0 -17
  29. package/lib/plugin/rateLimiter.js +0 -104
  30. package/lib/shared/IBody.js +0 -2
  31. package/lib/shared/IMassage.js +0 -9
  32. package/lib/shared/MsgMessage.js +0 -4
  33. package/lib/shared/PtlSys.js +0 -4
  34. package/lib/shared/PtlTest.js +0 -4
  35. package/lib/shared/face/base.js +0 -2
  36. package/lib/shared/face/enums.js +0 -204
  37. package/lib/shared/face/index.js +0 -10
  38. /package/{lib → dist}/html/css/ranking.css +0 -0
  39. /package/{lib → dist}/html/page/body.html +0 -0
  40. /package/{lib → dist}/html/page/ranking.html +0 -0
  41. /package/{lib → dist}/html/res/avatar.jpg +0 -0
  42. /package/{lib → dist}/html/res/body/box.png +0 -0
  43. /package/{lib → dist}/html/res/body/share/test.png +0 -0
  44. /package/{lib → dist}/html/res/body/title/test.png +0 -0
  45. /package/{lib → dist}/html/res/body/title/test1.png +0 -0
  46. /package/{lib → dist}/plugin/serverHandel/none.js +0 -0
  47. /package/{lib/face/base.js → dist/shared/bot/MsgMessage.js} +0 -0
  48. /package/{lib/shared → dist/shared/bot/protocols}/base.js +0 -0
@@ -1,287 +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;
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
287
  }
@@ -95,5 +95,8 @@ body {
95
95
  border-left: 3px solid #4a8a4a;
96
96
  position: relative;
97
97
  box-sizing: border-box;
98
+ img{
99
+ width:100%
100
+ }
98
101
  }
99
102
 
@@ -20,7 +20,7 @@
20
20
  <div class="item-properties">
21
21
  <div v-for="(item, idx) in data.list" :key="idx" class="attr-item">
22
22
  <div class="attr-key">{{ item.key }}</div>
23
- <div class="attr-value">{{ item.val }}</div>
23
+ <div class="attr-value" v-html="item.val"></div>
24
24
  </div>
25
25
  </div>
26
26
  </div>
Binary file