askbot-dragon 0.7.9 → 0.7.13
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 +1 -1
- package/src/assets/less/converSationContainer/common.less +2 -2
- package/src/components/answerRadio.vue +6 -1
- package/src/components/feedBack.vue +7 -6
- package/src/components/formTemplate.vue +22 -19
- package/src/components/msgLoading.vue +1 -1
- package/src/components/recommend.vue +8 -4
- package/src/components/voiceComponent.vue +4 -2
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="answer-radio">
|
|
3
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>
|
|
4
5
|
<div class="options-list">
|
|
5
6
|
<div
|
|
6
7
|
v-for="(option, index) in msg.content.options"
|
|
@@ -38,7 +39,11 @@ export default {
|
|
|
38
39
|
/*padding: 8px 10px 10px 0;*/
|
|
39
40
|
padding-bottom: 10px;
|
|
40
41
|
height: auto;
|
|
41
|
-
|
|
42
|
+
/* border-bottom: 1px solid #EEEEEE;*/
|
|
43
|
+
}
|
|
44
|
+
.bottom-link{
|
|
45
|
+
height: 1px;
|
|
46
|
+
background-color:#EEEEEE;
|
|
42
47
|
}
|
|
43
48
|
.options-list{
|
|
44
49
|
padding-top: 4px;
|
|
@@ -81,7 +81,6 @@ name: "feedBack",
|
|
|
81
81
|
|
|
82
82
|
<style scoped lang="less">
|
|
83
83
|
#feedBack{
|
|
84
|
-
padding-left: 10px;
|
|
85
84
|
.feed-commen{
|
|
86
85
|
margin-right: 8px;
|
|
87
86
|
}
|
|
@@ -108,10 +107,11 @@ name: "feedBack",
|
|
|
108
107
|
}
|
|
109
108
|
.phoneClass{
|
|
110
109
|
width: 100vw;
|
|
111
|
-
text-align:
|
|
112
|
-
margin: 0 auto
|
|
110
|
+
text-align: left;
|
|
111
|
+
/*margin: 0 auto;*/
|
|
113
112
|
line-height: 34px;
|
|
114
113
|
height: 56px;
|
|
114
|
+
padding-left: 20px;
|
|
115
115
|
.el-button{
|
|
116
116
|
min-width: 60px;
|
|
117
117
|
height: 31px;
|
|
@@ -121,9 +121,10 @@ name: "feedBack",
|
|
|
121
121
|
.companyClass{
|
|
122
122
|
/* min-width: 300px;*/
|
|
123
123
|
width: 370px;
|
|
124
|
-
text-align:
|
|
125
|
-
margin: 0 auto
|
|
126
|
-
line-height:
|
|
124
|
+
text-align: left;
|
|
125
|
+
/*margin: 0 auto;*/
|
|
126
|
+
line-height: 34px;
|
|
127
|
+
padding-left: 20px;
|
|
127
128
|
.el-button{
|
|
128
129
|
min-width: 60px;
|
|
129
130
|
height: 32px;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
<div class="titleName" >
|
|
5
5
|
{{formShow.form.name}}
|
|
6
6
|
</div>
|
|
7
|
+
<div class="title-link"></div>
|
|
7
8
|
<div class="pcFormClass" v-if="isCompany">
|
|
8
9
|
<div v-for="(item) in formShow.form.formFieldRelation"
|
|
9
10
|
:key="item.formField.id"
|
|
@@ -180,13 +181,6 @@
|
|
|
180
181
|
</div>
|
|
181
182
|
</div>
|
|
182
183
|
</div>
|
|
183
|
-
<div class="form-link"></div>
|
|
184
|
-
<div class="form-submit-btn">
|
|
185
|
-
<el-button style="border-color: #366aff;color: white;background-color: #366aff" round class="submitClass" size="small" @click="submitClick" :disabled="disableds">
|
|
186
|
-
<i class="el-icon-check" v-if="!disableds"></i>
|
|
187
|
-
{{submitValue}}
|
|
188
|
-
</el-button>
|
|
189
|
-
</div>
|
|
190
184
|
</div>
|
|
191
185
|
<div class="mobileFormClass" v-else style="padding: 10px 0;" :class="{notClick:disableds === true}">
|
|
192
186
|
<div v-for="(item,index) in formFieldRelation"
|
|
@@ -424,19 +418,25 @@
|
|
|
424
418
|
</div>
|
|
425
419
|
</div>
|
|
426
420
|
</div>
|
|
427
|
-
<div class="form-link"></div>
|
|
428
|
-
<div class="form-submit-btn">
|
|
429
|
-
<van-button round type="info" class="submitClass" @click="submitClick" :disabled="disableds">
|
|
430
|
-
<i class="el-icon-check" v-if="!disableds"></i>
|
|
431
|
-
{{submitValue}}
|
|
432
|
-
</van-button>
|
|
433
|
-
</div>
|
|
434
421
|
<van-popup v-model="fileUpload" :close-on-click-overlay="false">
|
|
435
422
|
<div style="background-color: black;height: 100px;width: 100px;display: flex;justify-content: center;align-items: center" >
|
|
436
423
|
<van-loading type="spinner"/>
|
|
437
424
|
</div>
|
|
438
425
|
</van-popup>
|
|
439
426
|
</div>
|
|
427
|
+
<div class="bottom-link"></div>
|
|
428
|
+
<div class="form-submit-btn" v-if="isCompany">
|
|
429
|
+
<el-button style="border-color: #366aff;color: white;background-color: #366aff" round class="submitClass" size="small" @click="submitClick" :disabled="disableds">
|
|
430
|
+
<i class="el-icon-check" v-if="!disableds"></i>
|
|
431
|
+
{{submitValue}}
|
|
432
|
+
</el-button>
|
|
433
|
+
</div>
|
|
434
|
+
<div class="form-submit-btn" v-else>
|
|
435
|
+
<van-button round type="info" class="submitClass" @click="submitClick" :disabled="disableds">
|
|
436
|
+
<i class="el-icon-check" v-if="!disableds"></i>
|
|
437
|
+
{{submitValue}}
|
|
438
|
+
</van-button>
|
|
439
|
+
</div>
|
|
440
440
|
</div>
|
|
441
441
|
<el-dialog :visible.sync="dialogVisible">
|
|
442
442
|
<img width="100%" :src="dialogImageUrl" alt="">
|
|
@@ -1597,16 +1597,19 @@ export default {
|
|
|
1597
1597
|
.titleName{
|
|
1598
1598
|
font-size: 1em;
|
|
1599
1599
|
text-align: center;
|
|
1600
|
-
padding: 10px
|
|
1600
|
+
padding-bottom: 10px;
|
|
1601
1601
|
display: flex;
|
|
1602
1602
|
align-items: center;
|
|
1603
1603
|
justify-content: center;
|
|
1604
|
-
|
|
1604
|
+
/* border-bottom: 1px solid #EEEEEE;*/
|
|
1605
1605
|
}
|
|
1606
|
-
.
|
|
1606
|
+
.title-link{
|
|
1607
|
+
height: 1px;
|
|
1608
|
+
background-color: #EEEEEE;
|
|
1609
|
+
}
|
|
1610
|
+
.bottom-link{
|
|
1607
1611
|
margin-top: 14px;
|
|
1608
1612
|
height: 1px;
|
|
1609
|
-
width: 100%;
|
|
1610
1613
|
background-color: #EEEEEE;
|
|
1611
1614
|
}
|
|
1612
1615
|
.form-submit-btn{
|
|
@@ -1714,7 +1717,7 @@ export default {
|
|
|
1714
1717
|
}
|
|
1715
1718
|
.remPhoneClassForm{
|
|
1716
1719
|
.mobileFormClass{
|
|
1717
|
-
width: calc(100vw -
|
|
1720
|
+
width: calc(100vw - 110px);
|
|
1718
1721
|
.form-field-item{
|
|
1719
1722
|
.form-field-item-value{
|
|
1720
1723
|
/deep/.van-cell{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="media-body-loadings">
|
|
3
|
-
<svg viewBox="0 0 120 120" width="
|
|
3
|
+
<svg viewBox="0 0 120 120" width="24px" height="24px" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
4
4
|
<g id="circle" class="g-circles g-circles--v1">
|
|
5
5
|
<circle id="12" transform="translate(35, 16.698730) rotate(-30) translate(-35, -16.698730) " cx="35" cy="16.6987298" r="10"></circle>
|
|
6
6
|
<circle id="11" transform="translate(16.698730, 35) rotate(-60) translate(-16.698730, -35) " cx="16.6987298" cy="35" r="10"></circle>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="text-recommed-intent">
|
|
3
3
|
<p class="intent-des" v-if="msg.recommend&&msg.recommend.description" v-html="msg.recommend.description"></p>
|
|
4
|
+
<div class="bottom-link" v-if="msg.recommend&&msg.recommend.description"></div>
|
|
4
5
|
<div v-if="msg.recommend&&msg.recommend.list" class="options-list">
|
|
5
6
|
<p
|
|
6
7
|
v-for="(option, index) in msg.recommend.list"
|
|
@@ -46,17 +47,20 @@ export default {
|
|
|
46
47
|
word-wrap: break-word;
|
|
47
48
|
word-break: break-all;
|
|
48
49
|
overflow: hidden;
|
|
49
|
-
padding:
|
|
50
|
+
padding: 8px 0;
|
|
50
51
|
height: auto;
|
|
51
|
-
border-bottom: 1px solid #EEEEEE
|
|
52
|
+
/*border-bottom: 1px solid #EEEEEE;*/
|
|
52
53
|
color: #A9B3C6;
|
|
53
54
|
font-size: 13px;
|
|
54
55
|
background-color: white;
|
|
55
56
|
}
|
|
57
|
+
.bottom-link{
|
|
58
|
+
height: 1px;
|
|
59
|
+
background-color:#EEEEEE;
|
|
60
|
+
}
|
|
56
61
|
.options-list{
|
|
57
62
|
padding-top: 4px;
|
|
58
|
-
|
|
59
|
-
/*padding-right: 10px;*/
|
|
63
|
+
min-width: 120px;
|
|
60
64
|
.options-item{
|
|
61
65
|
|
|
62
66
|
height: 25px;
|
|
@@ -77,14 +77,14 @@ export default {
|
|
|
77
77
|
top: 50px;
|
|
78
78
|
i{
|
|
79
79
|
color: #366aff;
|
|
80
|
-
font-size:
|
|
80
|
+
font-size: 30px;
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
.voice-tip{
|
|
85
85
|
width: 100%;
|
|
86
86
|
position: absolute;
|
|
87
|
-
top: -
|
|
87
|
+
top: -40px;
|
|
88
88
|
display: flex;
|
|
89
89
|
align-items: center;
|
|
90
90
|
justify-content: center;
|
|
@@ -106,9 +106,11 @@ export default {
|
|
|
106
106
|
display: flex;
|
|
107
107
|
align-items: center;
|
|
108
108
|
justify-content: center;
|
|
109
|
+
transition: all 0.3s;
|
|
109
110
|
i{
|
|
110
111
|
font-size: 24px;
|
|
111
112
|
color: #999999;
|
|
113
|
+
transition: all 0.3s;
|
|
112
114
|
}
|
|
113
115
|
}
|
|
114
116
|
}
|