askbot-dragon 0.7.2 → 0.7.6
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/components/answerDissatisfaction.vue +1 -0
- package/src/components/answerRadio.vue +1 -1
- package/src/components/associationIntention.vue +1 -1
- package/src/components/formTemplate.vue +6 -7
- package/src/components/message/TicketMessage.vue +5 -4
- package/src/components/voiceComponent.vue +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="answer-radio">
|
|
3
|
-
<p class="radio-description" v-html="msg.content.description"></p>
|
|
3
|
+
<p class="radio-description" v-html="msg.content.description" v-if="msg.content.description"></p>
|
|
4
4
|
<div class="options-list">
|
|
5
5
|
<div
|
|
6
6
|
v-for="(option, index) in msg.content.options"
|
|
@@ -1631,7 +1631,7 @@ export default {
|
|
|
1631
1631
|
}
|
|
1632
1632
|
}
|
|
1633
1633
|
.pcFormClass{
|
|
1634
|
-
|
|
1634
|
+
width: 400px;
|
|
1635
1635
|
margin: 0 auto;
|
|
1636
1636
|
.field-item{
|
|
1637
1637
|
padding: 8px 0;
|
|
@@ -1710,9 +1710,8 @@ export default {
|
|
|
1710
1710
|
}
|
|
1711
1711
|
.remPhoneClassForm{
|
|
1712
1712
|
.mobileFormClass{
|
|
1713
|
-
|
|
1713
|
+
width: calc(100vw - 120px);
|
|
1714
1714
|
.form-field-item{
|
|
1715
|
-
/* border-bottom: 1px solid #ebebeb;*/
|
|
1716
1715
|
.form-field-item-value{
|
|
1717
1716
|
/deep/.van-cell{
|
|
1718
1717
|
flex-direction: column;
|
|
@@ -1808,24 +1807,24 @@ export default {
|
|
|
1808
1807
|
}
|
|
1809
1808
|
/deep/.van-radio-group--horizontal{
|
|
1810
1809
|
.van-radio{
|
|
1811
|
-
min-width:
|
|
1810
|
+
min-width: 100px;
|
|
1812
1811
|
max-width: 260px;
|
|
1813
1812
|
flex: none;
|
|
1814
1813
|
}
|
|
1815
1814
|
.van-radio--horizontal{
|
|
1816
1815
|
padding: 0.3rem 0;
|
|
1817
|
-
margin-right:
|
|
1816
|
+
margin-right: 6px;
|
|
1818
1817
|
}
|
|
1819
1818
|
}
|
|
1820
1819
|
/deep/.van-checkbox-group--horizontal{
|
|
1821
1820
|
.van-checkbox{
|
|
1822
|
-
min-width:
|
|
1821
|
+
min-width: 100px;
|
|
1823
1822
|
max-width: 260px;
|
|
1824
1823
|
flex: none;
|
|
1825
1824
|
}
|
|
1826
1825
|
.van-checkbox--horizontal{
|
|
1827
1826
|
padding: 0.3rem 0;
|
|
1828
|
-
margin-right:
|
|
1827
|
+
margin-right: 6px;
|
|
1829
1828
|
}
|
|
1830
1829
|
}
|
|
1831
1830
|
/deep/.van-button--info{
|
|
@@ -24,17 +24,17 @@
|
|
|
24
24
|
<div v-html="itemss" class="singleItem" v-for="(itemss,inde) in items.list" :key="inde"></div>
|
|
25
25
|
</div>
|
|
26
26
|
<div class="doubleClass" v-else-if="items.type==='DOUBLE'">
|
|
27
|
-
<div class="doubleItem" v-for="(itemss,
|
|
27
|
+
<div class="doubleItem" v-for="(itemss,index) in items.list" :key="'__'+index" v-html="itemss">
|
|
28
28
|
</div>
|
|
29
29
|
</div>
|
|
30
30
|
<div class="tripleClass" v-else-if="items.type==='TRIPLE'">
|
|
31
|
-
<div v-html="itemss" class="tripleItem" v-for="(itemss,
|
|
31
|
+
<div v-html="itemss" class="tripleItem" v-for="(itemss,index) in items.list" :key="'___'+index"></div>
|
|
32
32
|
</div>
|
|
33
33
|
</div>
|
|
34
34
|
</div>
|
|
35
35
|
<div class="button-list">
|
|
36
|
-
<div v-for="(items,
|
|
37
|
-
<div @click="btnClick(items)" class="buttonClassItem">
|
|
36
|
+
<div v-for="(items,index) in item.content.buttonList" :key="'____'+index" class="button-item">
|
|
37
|
+
<div @click.stop="btnClick(items)" class="buttonClassItem">
|
|
38
38
|
<span class="btn-name">{{items.name}}</span>
|
|
39
39
|
</div>
|
|
40
40
|
</div>
|
|
@@ -123,6 +123,7 @@
|
|
|
123
123
|
},
|
|
124
124
|
btnClick(items){
|
|
125
125
|
items.apiKey=this.content.apiKey
|
|
126
|
+
console.debug('card_template')
|
|
126
127
|
this.$emit('btnClick',items,this.content.apiKey)
|
|
127
128
|
},
|
|
128
129
|
|