askbot-dragon 0.7.85 → 0.7.88
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/package.json
CHANGED
|
@@ -342,15 +342,15 @@ export default {
|
|
|
342
342
|
flex-wrap: wrap;
|
|
343
343
|
padding: 4px 8px;
|
|
344
344
|
.ig-types-f-cell {
|
|
345
|
-
height:
|
|
346
|
-
line-height:
|
|
347
|
-
padding: 0
|
|
345
|
+
height: 1.8em;
|
|
346
|
+
line-height: 1.8em;
|
|
347
|
+
padding: 0 12px;
|
|
348
348
|
margin-left: 5px;
|
|
349
349
|
margin-right: 5px;
|
|
350
350
|
margin-top: 4px;
|
|
351
351
|
background: #ffffff;
|
|
352
352
|
border: 1px solid #e0e6f7;
|
|
353
|
-
border-radius:
|
|
353
|
+
border-radius: 1em;
|
|
354
354
|
color: #a3adc6;
|
|
355
355
|
cursor: pointer;
|
|
356
356
|
overflow: hidden;
|
|
@@ -377,14 +377,14 @@ export default {
|
|
|
377
377
|
justify-content: flex-start;
|
|
378
378
|
flex-wrap: wrap;
|
|
379
379
|
margin: 0px 16px 4px;
|
|
380
|
-
border-bottom: solid
|
|
380
|
+
border-bottom: solid 1px #e0e6f7;
|
|
381
381
|
.ig-types-s-cell {
|
|
382
|
-
height: 2.
|
|
383
|
-
line-height: 2.
|
|
382
|
+
height: 2.2em;
|
|
383
|
+
line-height: 2.2em;
|
|
384
384
|
margin-right: 18px;
|
|
385
385
|
color: #b2c2d8;
|
|
386
386
|
cursor: pointer;
|
|
387
|
-
margin-bottom: -
|
|
387
|
+
margin-bottom: -1px;
|
|
388
388
|
overflow: hidden;
|
|
389
389
|
text-overflow: ellipsis;
|
|
390
390
|
white-space: nowrap;
|
|
@@ -405,11 +405,10 @@ export default {
|
|
|
405
405
|
flex-wrap: wrap;
|
|
406
406
|
.ig-types-tags-cell {
|
|
407
407
|
line-height: 1.4em;
|
|
408
|
-
padding:
|
|
408
|
+
padding: 2px 8px;
|
|
409
409
|
margin-right: 6px;
|
|
410
410
|
margin-top: 4px;
|
|
411
411
|
color: #366aff;
|
|
412
|
-
font-weight: 500;
|
|
413
412
|
background: #ffffff;
|
|
414
413
|
border: 1px solid #a1b9ff;
|
|
415
414
|
border-radius: 5px;
|
|
@@ -452,15 +451,15 @@ export default {
|
|
|
452
451
|
}
|
|
453
452
|
}
|
|
454
453
|
.ig-change-list {
|
|
455
|
-
padding:
|
|
454
|
+
padding: 8px 0;
|
|
456
455
|
margin-top: 4px;
|
|
457
456
|
display: flex;
|
|
458
457
|
flex-direction: column;
|
|
459
458
|
align-items: center;
|
|
460
|
-
border-top:
|
|
459
|
+
border-top: 1px solid #eeeeee;
|
|
461
460
|
.ig-change-list-btn {
|
|
462
461
|
font-weight: 600;
|
|
463
|
-
font-size:
|
|
462
|
+
font-size: 1em;
|
|
464
463
|
color: #366aff;
|
|
465
464
|
cursor: pointer;
|
|
466
465
|
}
|
|
@@ -60,11 +60,119 @@
|
|
|
60
60
|
},
|
|
61
61
|
methods:{
|
|
62
62
|
// 将匹配结果替换表情图片
|
|
63
|
-
emotion
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
63
|
+
emotion(res) {
|
|
64
|
+
let word = res.replace(/#|;/gi, "");
|
|
65
|
+
const list = [
|
|
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
|
+
let index = list.indexOf(word);
|
|
173
|
+
return `<img height="20px" src="https://guoranim.oss-cn-beijing.aliyuncs.com/emoji/${
|
|
174
|
+
index + 1
|
|
175
|
+
}.png" align="middle">`;
|
|
68
176
|
},
|
|
69
177
|
onRadioClickReco(id, name, apikey) {
|
|
70
178
|
this.$emit("onRadioClick", id, name, apikey);
|