askbot-dragon 1.0.21 → 1.0.23
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/README.md +27 -27
- package/babel.config.js +6 -6
- package/dragon.iml +7 -7
- package/package.json +56 -56
- package/public/index.html +43 -43
- package/src/App.vue +31 -31
- package/src/api/index.js +1 -1
- package/src/api/mock.http +2 -2
- package/src/api/requestUrl.js +185 -185
- package/src/assets/js/AliyunlssUtil.js +92 -92
- package/src/assets/js/Base64Util.js +22 -22
- package/src/assets/js/script.js +36 -36
- package/src/assets/less/common.css +6773 -6773
- package/src/assets/less/converSationContainer/common.less +191 -191
- package/src/assets/less/converSationContainer/converSatonContainer.less +493 -493
- package/src/assets/less/iconfont.css +37 -37
- package/src/assets/less/ticketMessage.less +211 -211
- package/src/components/ActionAlertIframe.vue +112 -112
- package/src/components/AiGuide.vue +467 -467
- package/src/components/AnswerDocknowledge.vue +131 -131
- package/src/components/AskIFrame.vue +15 -15
- package/src/components/ConversationContainer.vue +4658 -4658
- package/src/components/FileType.vue +86 -86
- package/src/components/Message.vue +27 -27
- package/src/components/actionSatisfaction.vue +107 -107
- package/src/components/actionSendToBot.vue +62 -62
- package/src/components/answerDissatisfaction.vue +62 -62
- package/src/components/answerRadio.vue +76 -76
- package/src/components/ask-components/DissatisfactionOptions.vue +57 -57
- package/src/components/ask-components/Msgloading.vue +37 -37
- package/src/components/ask-components/SatisfactionV2.vue +15 -15
- package/src/components/askVideo.vue +138 -138
- package/src/components/assetDetails.vue +370 -370
- package/src/components/assetMessage.vue +228 -228
- package/src/components/associationIntention.vue +269 -269
- package/src/components/botActionSatisfactor.vue +68 -68
- package/src/components/chatContent.vue +513 -513
- package/src/components/feedBack.vue +136 -136
- package/src/components/fielListView.vue +346 -346
- package/src/components/file/AliyunOssComponents.vue +108 -108
- package/src/components/formTemplate.vue +3344 -3344
- package/src/components/loadingProcess.vue +164 -164
- package/src/components/message/ActionAlertIframe.vue +112 -112
- package/src/components/message/ShopMessage.vue +164 -164
- package/src/components/message/TextMessage.vue +924 -924
- package/src/components/message/TicketMessage.vue +177 -177
- package/src/components/message/swiper/index.js +4 -4
- package/src/components/message/swiper/ticketSwiper.vue +503 -503
- package/src/components/message/swiper/ticketSwiperItem.vue +61 -61
- package/src/components/msgLoading.vue +231 -231
- package/src/components/myPopup.vue +70 -70
- package/src/components/popup.vue +227 -227
- package/src/components/receiverMessagePlatform.vue +65 -65
- package/src/components/recommend.vue +89 -89
- package/src/components/selector/hOption.vue +20 -20
- package/src/components/selector/hSelector.vue +199 -199
- package/src/components/selector/hWrapper.vue +216 -216
- package/src/components/senderMessagePlatform.vue +50 -50
- package/src/components/source/BotMessage.vue +24 -24
- package/src/components/source/CustomMessage.vue +24 -24
- package/src/components/test.vue +260 -260
- package/src/components/tree.vue +294 -275
- package/src/components/utils/AliyunIssUtil.js +72 -72
- package/src/components/utils/ckeditor.js +155 -155
- package/src/components/utils/ckeditorImageUpload/command.js +109 -109
- package/src/components/utils/ckeditorImageUpload/editing.js +11 -11
- package/src/components/utils/ckeditorImageUpload/plugin-image.js +11 -11
- package/src/components/utils/ckeditorImageUpload/toolbar-ui.js +40 -40
- package/src/components/utils/ckeditorfileUpload/common.js +111 -111
- package/src/components/utils/ckeditorfileUpload/editing.js +11 -11
- package/src/components/utils/ckeditorfileUpload/plugin_file.js +11 -11
- package/src/components/utils/ckeditorfileUpload/toolbar_ui.js +34 -34
- package/src/components/utils/format_date.js +25 -25
- package/src/components/utils/index.js +6 -6
- package/src/components/utils/math_utils.js +29 -29
- package/src/components/voiceComponent.vue +119 -119
- package/src/main.js +60 -60
- package/vue.config.js +47 -47
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="answer-dissatisfaction">
|
|
3
|
-
<p class="satisfaction-reply-text" v-if="msg.content.replyText" v-html="msg.content.replyText"></p>
|
|
4
|
-
<p
|
|
5
|
-
v-for="(option, index) in msg.content.replyOptions"
|
|
6
|
-
class="statisfaction-item"
|
|
7
|
-
:key="index"
|
|
8
|
-
@click="sendDissatisfaction(option,msg.apiKey)">
|
|
9
|
-
{{ option.name }}<i class="arsenal_icon arsenalangle-right-solid"></i>
|
|
10
|
-
</p>
|
|
11
|
-
</div>
|
|
12
|
-
</template>
|
|
13
|
-
|
|
14
|
-
<script>
|
|
15
|
-
export default {
|
|
16
|
-
name: "answerDissatisfaction",
|
|
17
|
-
data(){
|
|
18
|
-
return{
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
props:['msg'],
|
|
23
|
-
methods:{
|
|
24
|
-
sendDissatisfaction(option,apiKey){
|
|
25
|
-
this.$emit('sendDissatisfaction',option,apiKey)
|
|
26
|
-
/*let value = JSON.stringify({
|
|
27
|
-
input: option.name,
|
|
28
|
-
reply_text: option.answer
|
|
29
|
-
});
|
|
30
|
-
this.$emit('sendMessage','USER_ACTION_TO_DISSATISFACTION_V2',value,null,apiKey);*/
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
</script>
|
|
35
|
-
|
|
36
|
-
<style scoped lang="less">
|
|
37
|
-
.answer-dissatisfaction{
|
|
38
|
-
min-width: 100px;
|
|
39
|
-
.satisfaction-reply-text{
|
|
40
|
-
word-wrap: break-word;
|
|
41
|
-
word-break: break-all;
|
|
42
|
-
overflow: hidden;
|
|
43
|
-
padding: 8px 0 10px 0;
|
|
44
|
-
height: auto;
|
|
45
|
-
border-bottom: 1px solid #EEEEEE;
|
|
46
|
-
}
|
|
47
|
-
.statisfaction-item{
|
|
48
|
-
padding: 8px 0;
|
|
49
|
-
height: 25px;
|
|
50
|
-
line-height: 25px;
|
|
51
|
-
background-color: #ffffff;
|
|
52
|
-
color: #366aff;
|
|
53
|
-
cursor:pointer;
|
|
54
|
-
display: flex;
|
|
55
|
-
align-items: center;
|
|
56
|
-
justify-content: space-between;
|
|
57
|
-
}
|
|
58
|
-
.end{
|
|
59
|
-
border-bottom-left-radius: 25px !important;
|
|
60
|
-
border-bottom-right-radius: 25px !important;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
1
|
+
<template>
|
|
2
|
+
<div class="answer-dissatisfaction">
|
|
3
|
+
<p class="satisfaction-reply-text" v-if="msg.content.replyText" v-html="msg.content.replyText"></p>
|
|
4
|
+
<p
|
|
5
|
+
v-for="(option, index) in msg.content.replyOptions"
|
|
6
|
+
class="statisfaction-item"
|
|
7
|
+
:key="index"
|
|
8
|
+
@click="sendDissatisfaction(option,msg.apiKey)">
|
|
9
|
+
{{ option.name }}<i class="arsenal_icon arsenalangle-right-solid"></i>
|
|
10
|
+
</p>
|
|
11
|
+
</div>
|
|
12
|
+
</template>
|
|
13
|
+
|
|
14
|
+
<script>
|
|
15
|
+
export default {
|
|
16
|
+
name: "answerDissatisfaction",
|
|
17
|
+
data(){
|
|
18
|
+
return{
|
|
19
|
+
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
props:['msg'],
|
|
23
|
+
methods:{
|
|
24
|
+
sendDissatisfaction(option,apiKey){
|
|
25
|
+
this.$emit('sendDissatisfaction',option,apiKey)
|
|
26
|
+
/*let value = JSON.stringify({
|
|
27
|
+
input: option.name,
|
|
28
|
+
reply_text: option.answer
|
|
29
|
+
});
|
|
30
|
+
this.$emit('sendMessage','USER_ACTION_TO_DISSATISFACTION_V2',value,null,apiKey);*/
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
</script>
|
|
35
|
+
|
|
36
|
+
<style scoped lang="less">
|
|
37
|
+
.answer-dissatisfaction{
|
|
38
|
+
min-width: 100px;
|
|
39
|
+
.satisfaction-reply-text{
|
|
40
|
+
word-wrap: break-word;
|
|
41
|
+
word-break: break-all;
|
|
42
|
+
overflow: hidden;
|
|
43
|
+
padding: 8px 0 10px 0;
|
|
44
|
+
height: auto;
|
|
45
|
+
border-bottom: 1px solid #EEEEEE;
|
|
46
|
+
}
|
|
47
|
+
.statisfaction-item{
|
|
48
|
+
padding: 8px 0;
|
|
49
|
+
height: 25px;
|
|
50
|
+
line-height: 25px;
|
|
51
|
+
background-color: #ffffff;
|
|
52
|
+
color: #366aff;
|
|
53
|
+
cursor:pointer;
|
|
54
|
+
display: flex;
|
|
55
|
+
align-items: center;
|
|
56
|
+
justify-content: space-between;
|
|
57
|
+
}
|
|
58
|
+
.end{
|
|
59
|
+
border-bottom-left-radius: 25px !important;
|
|
60
|
+
border-bottom-right-radius: 25px !important;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
63
|
</style>
|
|
@@ -1,77 +1,77 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="answer-radio">
|
|
3
|
-
<p class="radio-description" v-html="msg.content.description" v-if="msg.content.description"></p>
|
|
4
|
-
<div class="bottom-link" v-if="msg.content.description"></div>
|
|
5
|
-
<div class="options-list">
|
|
6
|
-
<div
|
|
7
|
-
v-for="(option, index) in msg.content.options"
|
|
8
|
-
class="options-item"
|
|
9
|
-
:class="index!==msg.content.options.length -1?'recommend-item':'last-item'"
|
|
10
|
-
:key="msg.nodeId + '_' + index"
|
|
11
|
-
@click="
|
|
12
|
-
$emit(
|
|
13
|
-
'onRadioClick',msg.id +'_' + index + '_' + option.value + '_' + option.name,option.name, msg.apiKey,msg.actionCategory, msg.msgId?msg.msgId:''
|
|
14
|
-
)">
|
|
15
|
-
{{ option.name }}<i class="arsenal_icon arsenalangle-right-solid"></i>
|
|
16
|
-
</div>
|
|
17
|
-
</div>
|
|
18
|
-
</div>
|
|
19
|
-
</template>
|
|
20
|
-
|
|
21
|
-
<script>
|
|
22
|
-
export default {
|
|
23
|
-
name: "answerRadio",
|
|
24
|
-
data(){
|
|
25
|
-
return{
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
props:['msg']
|
|
30
|
-
}
|
|
31
|
-
</script>
|
|
32
|
-
|
|
33
|
-
<style scoped lang="less">
|
|
34
|
-
#answer-radio{
|
|
35
|
-
.radio-description {
|
|
36
|
-
word-wrap: break-word;
|
|
37
|
-
word-break: break-all;
|
|
38
|
-
overflow: hidden;
|
|
39
|
-
/*padding: 8px 10px 10px 0;*/
|
|
40
|
-
padding-bottom: 10px;
|
|
41
|
-
height: auto;
|
|
42
|
-
/* border-bottom: 1px solid #EEEEEE;*/
|
|
43
|
-
}
|
|
44
|
-
.bottom-link{
|
|
45
|
-
height: 1px;
|
|
46
|
-
background-color:#EEEEEE;
|
|
47
|
-
}
|
|
48
|
-
.options-list{
|
|
49
|
-
padding-top: 4px;
|
|
50
|
-
/* padding-top: 10px;*/
|
|
51
|
-
/*padding-right: 10px;*/
|
|
52
|
-
.options-item{
|
|
53
|
-
height: 25px;
|
|
54
|
-
line-height: 25px;
|
|
55
|
-
background-color: #ffffff;
|
|
56
|
-
color: #366aff;
|
|
57
|
-
cursor:pointer;
|
|
58
|
-
display: flex;
|
|
59
|
-
align-items: center;
|
|
60
|
-
justify-content: space-between;
|
|
61
|
-
i{
|
|
62
|
-
padding-left: 10px;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
.recommend-item{
|
|
66
|
-
padding: 8px 0;
|
|
67
|
-
}
|
|
68
|
-
.last-item{
|
|
69
|
-
padding-top: 8px;
|
|
70
|
-
}
|
|
71
|
-
.end{
|
|
72
|
-
border-bottom-left-radius: 25px !important;
|
|
73
|
-
border-bottom-right-radius: 25px !important;
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|
|
1
|
+
<template>
|
|
2
|
+
<div id="answer-radio">
|
|
3
|
+
<p class="radio-description" v-html="msg.content.description" v-if="msg.content.description"></p>
|
|
4
|
+
<div class="bottom-link" v-if="msg.content.description"></div>
|
|
5
|
+
<div class="options-list">
|
|
6
|
+
<div
|
|
7
|
+
v-for="(option, index) in msg.content.options"
|
|
8
|
+
class="options-item"
|
|
9
|
+
:class="index!==msg.content.options.length -1?'recommend-item':'last-item'"
|
|
10
|
+
:key="msg.nodeId + '_' + index"
|
|
11
|
+
@click="
|
|
12
|
+
$emit(
|
|
13
|
+
'onRadioClick',msg.id +'_' + index + '_' + option.value + '_' + option.name,option.name, msg.apiKey,msg.actionCategory, msg.msgId?msg.msgId:''
|
|
14
|
+
)">
|
|
15
|
+
{{ option.name }}<i class="arsenal_icon arsenalangle-right-solid"></i>
|
|
16
|
+
</div>
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
</template>
|
|
20
|
+
|
|
21
|
+
<script>
|
|
22
|
+
export default {
|
|
23
|
+
name: "answerRadio",
|
|
24
|
+
data(){
|
|
25
|
+
return{
|
|
26
|
+
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
props:['msg']
|
|
30
|
+
}
|
|
31
|
+
</script>
|
|
32
|
+
|
|
33
|
+
<style scoped lang="less">
|
|
34
|
+
#answer-radio{
|
|
35
|
+
.radio-description {
|
|
36
|
+
word-wrap: break-word;
|
|
37
|
+
word-break: break-all;
|
|
38
|
+
overflow: hidden;
|
|
39
|
+
/*padding: 8px 10px 10px 0;*/
|
|
40
|
+
padding-bottom: 10px;
|
|
41
|
+
height: auto;
|
|
42
|
+
/* border-bottom: 1px solid #EEEEEE;*/
|
|
43
|
+
}
|
|
44
|
+
.bottom-link{
|
|
45
|
+
height: 1px;
|
|
46
|
+
background-color:#EEEEEE;
|
|
47
|
+
}
|
|
48
|
+
.options-list{
|
|
49
|
+
padding-top: 4px;
|
|
50
|
+
/* padding-top: 10px;*/
|
|
51
|
+
/*padding-right: 10px;*/
|
|
52
|
+
.options-item{
|
|
53
|
+
height: 25px;
|
|
54
|
+
line-height: 25px;
|
|
55
|
+
background-color: #ffffff;
|
|
56
|
+
color: #366aff;
|
|
57
|
+
cursor:pointer;
|
|
58
|
+
display: flex;
|
|
59
|
+
align-items: center;
|
|
60
|
+
justify-content: space-between;
|
|
61
|
+
i{
|
|
62
|
+
padding-left: 10px;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
.recommend-item{
|
|
66
|
+
padding: 8px 0;
|
|
67
|
+
}
|
|
68
|
+
.last-item{
|
|
69
|
+
padding-top: 8px;
|
|
70
|
+
}
|
|
71
|
+
.end{
|
|
72
|
+
border-bottom-left-radius: 25px !important;
|
|
73
|
+
border-bottom-right-radius: 25px !important;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
77
|
</style>
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<view class="media-body-ps">
|
|
3
|
-
<view class="other" v-html="message.content.replyText"></view>
|
|
4
|
-
<view
|
|
5
|
-
v-for="(reply_option, index) in message.content.replyOptions"
|
|
6
|
-
v-bind:class="[index == message.content.replyOptions.length - 1 ? 'end' : '', 'ps']"
|
|
7
|
-
:key="index"
|
|
8
|
-
:data-name="reply_option.name"
|
|
9
|
-
:data-answer="reply_option.answer"
|
|
10
|
-
@click="onClick(reply_option)" >
|
|
11
|
-
<view :data-name="reply_option.name"
|
|
12
|
-
:data-answer="reply_option.answer">{{ reply_option.name }}
|
|
13
|
-
</view>
|
|
14
|
-
</view>
|
|
15
|
-
</view>
|
|
16
|
-
</template>
|
|
17
|
-
<script>
|
|
18
|
-
export default {
|
|
19
|
-
name:"DissatisfactionOptions",
|
|
20
|
-
props:["message"],
|
|
21
|
-
methods:{
|
|
22
|
-
onClick(option){
|
|
23
|
-
this.$emit('onOption',option);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
</script>
|
|
29
|
-
<style lang='less'>
|
|
30
|
-
.other {
|
|
31
|
-
font-size: 14px;
|
|
32
|
-
word-wrap: break-word;
|
|
33
|
-
word-break: break-all;
|
|
34
|
-
overflow: hidden;
|
|
35
|
-
padding: 8px 20px 8px 15px;
|
|
36
|
-
height: auto;
|
|
37
|
-
}
|
|
38
|
-
.ps {
|
|
39
|
-
padding: 8px 20px 8px 15px;
|
|
40
|
-
height: auto;
|
|
41
|
-
border-top: 1px solid #F4F8FC;
|
|
42
|
-
background-color: #ffffff;
|
|
43
|
-
color: var(--color);
|
|
44
|
-
cursor: pointer;
|
|
45
|
-
font-size: 14px;
|
|
46
|
-
display: flex;
|
|
47
|
-
flex-direction: row;
|
|
48
|
-
justify-content: space-between;
|
|
49
|
-
i{
|
|
50
|
-
margin-left: 20px;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
.end {
|
|
54
|
-
border: 1px solid #F4F8FC;
|
|
55
|
-
border-bottom-left-radius: 32px !important;
|
|
56
|
-
border-bottom-right-radius: 32px !important;
|
|
57
|
-
}
|
|
1
|
+
<template>
|
|
2
|
+
<view class="media-body-ps">
|
|
3
|
+
<view class="other" v-html="message.content.replyText"></view>
|
|
4
|
+
<view
|
|
5
|
+
v-for="(reply_option, index) in message.content.replyOptions"
|
|
6
|
+
v-bind:class="[index == message.content.replyOptions.length - 1 ? 'end' : '', 'ps']"
|
|
7
|
+
:key="index"
|
|
8
|
+
:data-name="reply_option.name"
|
|
9
|
+
:data-answer="reply_option.answer"
|
|
10
|
+
@click="onClick(reply_option)" >
|
|
11
|
+
<view :data-name="reply_option.name"
|
|
12
|
+
:data-answer="reply_option.answer">{{ reply_option.name }}
|
|
13
|
+
</view>
|
|
14
|
+
</view>
|
|
15
|
+
</view>
|
|
16
|
+
</template>
|
|
17
|
+
<script>
|
|
18
|
+
export default {
|
|
19
|
+
name:"DissatisfactionOptions",
|
|
20
|
+
props:["message"],
|
|
21
|
+
methods:{
|
|
22
|
+
onClick(option){
|
|
23
|
+
this.$emit('onOption',option);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
}
|
|
28
|
+
</script>
|
|
29
|
+
<style lang='less'>
|
|
30
|
+
.other {
|
|
31
|
+
font-size: 14px;
|
|
32
|
+
word-wrap: break-word;
|
|
33
|
+
word-break: break-all;
|
|
34
|
+
overflow: hidden;
|
|
35
|
+
padding: 8px 20px 8px 15px;
|
|
36
|
+
height: auto;
|
|
37
|
+
}
|
|
38
|
+
.ps {
|
|
39
|
+
padding: 8px 20px 8px 15px;
|
|
40
|
+
height: auto;
|
|
41
|
+
border-top: 1px solid #F4F8FC;
|
|
42
|
+
background-color: #ffffff;
|
|
43
|
+
color: var(--color);
|
|
44
|
+
cursor: pointer;
|
|
45
|
+
font-size: 14px;
|
|
46
|
+
display: flex;
|
|
47
|
+
flex-direction: row;
|
|
48
|
+
justify-content: space-between;
|
|
49
|
+
i{
|
|
50
|
+
margin-left: 20px;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
.end {
|
|
54
|
+
border: 1px solid #F4F8FC;
|
|
55
|
+
border-bottom-left-radius: 32px !important;
|
|
56
|
+
border-bottom-right-radius: 32px !important;
|
|
57
|
+
}
|
|
58
58
|
</style>
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<view class="media-body-loading">
|
|
3
|
-
<view class="bot_loading">
|
|
4
|
-
<span></span>
|
|
5
|
-
<span></span>
|
|
6
|
-
<span></span>
|
|
7
|
-
<span></span>
|
|
8
|
-
</view>
|
|
9
|
-
</view>
|
|
10
|
-
</template>
|
|
11
|
-
|
|
12
|
-
<script>
|
|
13
|
-
export default {
|
|
14
|
-
data() {
|
|
15
|
-
return {
|
|
16
|
-
name: ''
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
</script>
|
|
21
|
-
|
|
22
|
-
<style lang="less">
|
|
23
|
-
.media-body-loading {
|
|
24
|
-
background-color: #f4f8fc;
|
|
25
|
-
border: 1px solid #f4f8fc;
|
|
26
|
-
word-break: break-word;
|
|
27
|
-
box-shadow: 0px 0px 5px 0px rgba(76, 97, 255, 0.38);
|
|
28
|
-
flex: 1;
|
|
29
|
-
min-height: 30px;
|
|
30
|
-
line-height: 30px;
|
|
31
|
-
border-radius: 32px;
|
|
32
|
-
border-top-left-radius: 0px;
|
|
33
|
-
padding: 8px 15px;
|
|
34
|
-
text-align: left;
|
|
35
|
-
margin-left: 5px;
|
|
36
|
-
}
|
|
37
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<view class="media-body-loading">
|
|
3
|
+
<view class="bot_loading">
|
|
4
|
+
<span></span>
|
|
5
|
+
<span></span>
|
|
6
|
+
<span></span>
|
|
7
|
+
<span></span>
|
|
8
|
+
</view>
|
|
9
|
+
</view>
|
|
10
|
+
</template>
|
|
11
|
+
|
|
12
|
+
<script>
|
|
13
|
+
export default {
|
|
14
|
+
data() {
|
|
15
|
+
return {
|
|
16
|
+
name: ''
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
</script>
|
|
21
|
+
|
|
22
|
+
<style lang="less">
|
|
23
|
+
.media-body-loading {
|
|
24
|
+
background-color: #f4f8fc;
|
|
25
|
+
border: 1px solid #f4f8fc;
|
|
26
|
+
word-break: break-word;
|
|
27
|
+
box-shadow: 0px 0px 5px 0px rgba(76, 97, 255, 0.38);
|
|
28
|
+
flex: 1;
|
|
29
|
+
min-height: 30px;
|
|
30
|
+
line-height: 30px;
|
|
31
|
+
border-radius: 32px;
|
|
32
|
+
border-top-left-radius: 0px;
|
|
33
|
+
padding: 8px 15px;
|
|
34
|
+
text-align: left;
|
|
35
|
+
margin-left: 5px;
|
|
36
|
+
}
|
|
37
|
+
</style>
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<view>
|
|
3
|
-
<view v-html="message.content.input"></view>
|
|
4
|
-
</view>
|
|
5
|
-
</template>
|
|
6
|
-
<script>
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export default {
|
|
10
|
-
name:"SatisfactionV2",
|
|
11
|
-
props:["message"],
|
|
12
|
-
methods:{
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<view>
|
|
3
|
+
<view v-html="message.content.input"></view>
|
|
4
|
+
</view>
|
|
5
|
+
</template>
|
|
6
|
+
<script>
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
export default {
|
|
10
|
+
name:"SatisfactionV2",
|
|
11
|
+
props:["message"],
|
|
12
|
+
methods:{
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
</script>
|