askbot-dragon 0.7.8 → 0.7.12
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/ConversationContainer.vue +1 -1
- package/src/components/feedBack.vue +7 -6
- package/src/components/formTemplate.vue +33 -18
- 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
|
@@ -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="">
|
|
@@ -609,10 +609,12 @@ export default {
|
|
|
609
609
|
if(this.disable===true)
|
|
610
610
|
{
|
|
611
611
|
this.disableds=true
|
|
612
|
+
this.submitValue = '已提交'
|
|
612
613
|
}
|
|
613
614
|
else
|
|
614
615
|
{
|
|
615
616
|
this.disableds=false
|
|
617
|
+
this.submitValue = '提交'
|
|
616
618
|
}
|
|
617
619
|
},
|
|
618
620
|
beforeMount() {
|
|
@@ -1148,6 +1150,7 @@ export default {
|
|
|
1148
1150
|
}
|
|
1149
1151
|
this.$emit('submitClick',this.formShow)
|
|
1150
1152
|
this.disableds = true
|
|
1153
|
+
this.submitValue = '已提交'
|
|
1151
1154
|
},
|
|
1152
1155
|
//日期的点击事件
|
|
1153
1156
|
dateClick(id) {
|
|
@@ -1598,12 +1601,15 @@ export default {
|
|
|
1598
1601
|
display: flex;
|
|
1599
1602
|
align-items: center;
|
|
1600
1603
|
justify-content: center;
|
|
1601
|
-
|
|
1604
|
+
/* border-bottom: 1px solid #EEEEEE;*/
|
|
1605
|
+
}
|
|
1606
|
+
.title-link{
|
|
1607
|
+
height: 1px;
|
|
1608
|
+
background-color: #EEEEEE;
|
|
1602
1609
|
}
|
|
1603
|
-
.
|
|
1610
|
+
.bottom-link{
|
|
1604
1611
|
margin-top: 14px;
|
|
1605
1612
|
height: 1px;
|
|
1606
|
-
width: 100%;
|
|
1607
1613
|
background-color: #EEEEEE;
|
|
1608
1614
|
}
|
|
1609
1615
|
.form-submit-btn{
|
|
@@ -1641,6 +1647,12 @@ export default {
|
|
|
1641
1647
|
background-color: transparent!important;
|
|
1642
1648
|
border-radius: 9px!important;
|
|
1643
1649
|
}
|
|
1650
|
+
/deep/.el-textarea__inner{
|
|
1651
|
+
border-color: #E0E6F7!important;
|
|
1652
|
+
background-color: transparent!important;
|
|
1653
|
+
border-radius: 9px!important;
|
|
1654
|
+
padding: 9px 15px!important;
|
|
1655
|
+
}
|
|
1644
1656
|
/deep/.el-upload--picture-card{
|
|
1645
1657
|
background-color: #FFFFFF;
|
|
1646
1658
|
border: 1px solid #E0E6F7;
|
|
@@ -1705,7 +1717,7 @@ export default {
|
|
|
1705
1717
|
}
|
|
1706
1718
|
.remPhoneClassForm{
|
|
1707
1719
|
.mobileFormClass{
|
|
1708
|
-
width: calc(100vw -
|
|
1720
|
+
width: calc(100vw - 110px);
|
|
1709
1721
|
.form-field-item{
|
|
1710
1722
|
.form-field-item-value{
|
|
1711
1723
|
/deep/.van-cell{
|
|
@@ -1844,6 +1856,9 @@ export default {
|
|
|
1844
1856
|
/deep/.van-field__control{
|
|
1845
1857
|
min-height: 40px;
|
|
1846
1858
|
}
|
|
1859
|
+
/deep/textarea{
|
|
1860
|
+
padding: 7px 0;
|
|
1861
|
+
}
|
|
1847
1862
|
/deep/.van-dropdown-menu__bar{
|
|
1848
1863
|
box-shadow: none!important;
|
|
1849
1864
|
}
|
|
@@ -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"></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;
|
|
@@ -84,7 +84,7 @@ export default {
|
|
|
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;
|
|
@@ -94,7 +94,7 @@ export default {
|
|
|
94
94
|
.close-voice{
|
|
95
95
|
width: 100%;
|
|
96
96
|
position: absolute;
|
|
97
|
-
top: -
|
|
97
|
+
top: -35px;
|
|
98
98
|
display: flex;
|
|
99
99
|
align-items: center;
|
|
100
100
|
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
|
}
|