askbot-dragon 0.7.87 → 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
|
@@ -321,7 +321,6 @@ export default {
|
|
|
321
321
|
<style scoped lang="less">
|
|
322
322
|
.ig-view-cli {
|
|
323
323
|
// background: #fbfcfd;
|
|
324
|
-
font-size: 0.9em;
|
|
325
324
|
border-radius: 5px;
|
|
326
325
|
position: relative;
|
|
327
326
|
.ig-view-example {
|
|
@@ -400,7 +399,7 @@ export default {
|
|
|
400
399
|
}
|
|
401
400
|
.ig-types-tags {
|
|
402
401
|
margin: 0 16px;
|
|
403
|
-
padding: 0 0
|
|
402
|
+
padding: 0 0 6px;
|
|
404
403
|
display: flex;
|
|
405
404
|
justify-content: flex-start;
|
|
406
405
|
flex-wrap: wrap;
|
|
@@ -460,6 +459,7 @@ export default {
|
|
|
460
459
|
border-top: 1px solid #eeeeee;
|
|
461
460
|
.ig-change-list-btn {
|
|
462
461
|
font-weight: 600;
|
|
462
|
+
font-size: 1em;
|
|
463
463
|
color: #366aff;
|
|
464
464
|
cursor: pointer;
|
|
465
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);
|