askbot-dragon 1.6.26-beta → 1.6.28-beta
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
|
@@ -142,6 +142,7 @@ export default {
|
|
|
142
142
|
this.upload(file).then(res => {
|
|
143
143
|
this.appenNode('img', "img" + index + uid, res.default)
|
|
144
144
|
this.deleteNode("div" + index + uid)
|
|
145
|
+
this.$emit("input", this.$refs.editorContent.innerHTML)
|
|
145
146
|
})
|
|
146
147
|
},
|
|
147
148
|
upload (file) {
|
|
@@ -184,6 +185,7 @@ export default {
|
|
|
184
185
|
url: res.default
|
|
185
186
|
}
|
|
186
187
|
})
|
|
188
|
+
this.$emit("input", this.$refs.editorContent.innerHTML)
|
|
187
189
|
})
|
|
188
190
|
},
|
|
189
191
|
|
|
@@ -1,25 +1,21 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="message_list-welcome-m">
|
|
3
|
-
<div class="mlwm-title">{{ msgContent.title }}</div>
|
|
4
|
-
<div class="mlwm-des">
|
|
3
|
+
<div class="mlwm-title" v-if="msgContent.enableTitle">{{ msgContent.title }}</div>
|
|
4
|
+
<div class="mlwm-des" v-if="msgContent.enableDescription">
|
|
5
5
|
<span class="mlwm-des-pre">{{ msgContent.description }}</span>
|
|
6
|
-
<div class="mlwm-des-after" v-if="false">
|
|
7
|
-
<span class="mlwm-des-after-cir"></span>
|
|
8
|
-
<span class="mlwm-des-after-text">可以试着这样问我:</span>
|
|
9
|
-
</div>
|
|
10
6
|
</div>
|
|
11
|
-
<div class="mlwm-msg-type">
|
|
7
|
+
<div class="mlwm-msg-type" v-if="msgContent.enableRadioBtn">
|
|
12
8
|
<div v-for="(item, itemIndex) in msgContent.items"
|
|
13
9
|
:key="item.id"
|
|
14
10
|
:class="['mmt-cell', 'mmt-cell-' + itemIndex]"
|
|
15
11
|
@click="clickFun(item)"
|
|
16
12
|
>
|
|
17
|
-
<div class="mmt-cell-img">
|
|
13
|
+
<div class="mmt-cell-img" v-if="msgContent.enableRadioIcon && item.icon">
|
|
18
14
|
<img :src="item.icon" alt="" srcset="">
|
|
19
15
|
</div>
|
|
20
16
|
<div class="mmt-cell-des">
|
|
21
|
-
<span class="mmt-cell-des-title">{{item.title}}</span>
|
|
22
|
-
<span class="mmt-cell-des-detail">{{item.description}}</span>
|
|
17
|
+
<span class="mmt-cell-des-title" v-if="msgContent.enableRadioTitle">{{item.title}}</span>
|
|
18
|
+
<span class="mmt-cell-des-detail" v-if="msgContent.enableRadioDesc">{{item.description}}</span>
|
|
23
19
|
</div>
|
|
24
20
|
</div>
|
|
25
21
|
</div>
|