askbot-dragon 0.7.7 → 0.7.8
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
|
@@ -72,7 +72,7 @@ export default {
|
|
|
72
72
|
word-wrap: break-word;
|
|
73
73
|
word-break: break-all;
|
|
74
74
|
overflow: hidden;
|
|
75
|
-
padding:
|
|
75
|
+
padding: 0px 0 10px 0;
|
|
76
76
|
height: auto;
|
|
77
77
|
/* border-bottom: 1px solid #EEEEEE;*/
|
|
78
78
|
}
|
|
@@ -91,7 +91,6 @@ export default {
|
|
|
91
91
|
cursor:pointer;
|
|
92
92
|
display: flex;
|
|
93
93
|
align-items: center;
|
|
94
|
-
justify-content: space-between;
|
|
95
94
|
justify-content: center;
|
|
96
95
|
}
|
|
97
96
|
.statisfaction-item:first-child{
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
</div>
|
|
35
35
|
<div class="button-list">
|
|
36
36
|
<div v-for="(items,index) in item.content.buttonList" :key="'____'+index" class="button-item">
|
|
37
|
-
<div @click="btnClick(
|
|
37
|
+
<div @click="btnClick(items)" class="buttonClassItem">
|
|
38
38
|
<span class="btn-name">{{items.name}}</span>
|
|
39
39
|
</div>
|
|
40
40
|
</div>
|
|
@@ -102,6 +102,7 @@
|
|
|
102
102
|
swiper:false,
|
|
103
103
|
text:[],
|
|
104
104
|
textarea:[],
|
|
105
|
+
onoff:true
|
|
105
106
|
}
|
|
106
107
|
},
|
|
107
108
|
created() {
|
|
@@ -121,11 +122,20 @@
|
|
|
121
122
|
slideLoadOn() {
|
|
122
123
|
this.$refs.swiper.slideOn();
|
|
123
124
|
},
|
|
124
|
-
btnClick(
|
|
125
|
-
e.stopPropagation(); //表示阻止向父元素冒泡
|
|
125
|
+
btnClick(items){
|
|
126
126
|
items.apiKey=this.content.apiKey
|
|
127
|
-
|
|
128
|
-
|
|
127
|
+
let that = this;
|
|
128
|
+
if (that.onoff) {
|
|
129
|
+
that.onoff = false;
|
|
130
|
+
console.debug('card_template',items)
|
|
131
|
+
this.$emit('btnClick',items,this.content.apiKey)
|
|
132
|
+
setTimeout(function () {
|
|
133
|
+
that.onoff = true;
|
|
134
|
+
}, 600)
|
|
135
|
+
} else {
|
|
136
|
+
//如果一直走else分支可能是你没有在页面的data下面挂载onoff:true,不然一直都会走else
|
|
137
|
+
console.debug("请稍后点击")
|
|
138
|
+
}
|
|
129
139
|
},
|
|
130
140
|
|
|
131
141
|
isIosOrIsAndroid(){
|