askbot-dragon 0.7.7 → 0.7.11

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "askbot-dragon",
3
- "version": "0.7.7",
3
+ "version": "0.7.11",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -76,8 +76,8 @@ textarea::-ms-input-placeholder {
76
76
  }
77
77
 
78
78
  textarea {
79
- color: @system_fontcolor_general !important;
80
- font-size: 14px;
79
+ /* color: @system_fontcolor_general !important;
80
+ font-size: 14px;*/
81
81
  font-family: "微软雅黑";
82
82
  }
83
83
 
@@ -477,7 +477,7 @@ export default {
477
477
  }
478
478
  },
479
479
  width: 0,
480
- required: true,
480
+ required: false,
481
481
  value: null,
482
482
  },
483
483
  {
@@ -72,7 +72,7 @@ export default {
72
72
  word-wrap: break-word;
73
73
  word-break: break-all;
74
74
  overflow: hidden;
75
- padding: 8px 0 10px 0;
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{
@@ -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
  }
@@ -94,7 +93,6 @@ name: "feedBack",
94
93
  }
95
94
  }
96
95
  .feed-check-button{
97
- background: #FFFFFF;
98
96
  /deep/.el-button{
99
97
  border: 1px solid #BBCDFF;
100
98
  color: #366aff;
@@ -109,10 +107,11 @@ name: "feedBack",
109
107
  }
110
108
  .phoneClass{
111
109
  width: 100vw;
112
- text-align: center;
113
- margin: 0 auto;
110
+ text-align: left;
111
+ /*margin: 0 auto;*/
114
112
  line-height: 34px;
115
113
  height: 56px;
114
+ padding-left: 20px;
116
115
  .el-button{
117
116
  min-width: 60px;
118
117
  height: 31px;
@@ -122,9 +121,10 @@ name: "feedBack",
122
121
  .companyClass{
123
122
  /* min-width: 300px;*/
124
123
  width: 370px;
125
- text-align: center;
126
- margin: 0 auto;
127
- line-height: 56px;
124
+ text-align: left;
125
+ /*margin: 0 auto;*/
126
+ line-height: 34px;
127
+ padding-left: 20px;
128
128
  .el-button{
129
129
  min-width: 60px;
130
130
  height: 32px;
@@ -183,7 +183,7 @@
183
183
  <div class="form-link"></div>
184
184
  <div class="form-submit-btn">
185
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>
186
+ <i class="el-icon-check" v-if="!disableds"></i>
187
187
  {{submitValue}}
188
188
  </el-button>
189
189
  </div>
@@ -427,7 +427,7 @@
427
427
  <div class="form-link"></div>
428
428
  <div class="form-submit-btn">
429
429
  <van-button round type="info" class="submitClass" @click="submitClick" :disabled="disableds">
430
- <i class="el-icon-check" v-if="disableds"></i>
430
+ <i class="el-icon-check" v-if="!disableds"></i>
431
431
  {{submitValue}}
432
432
  </van-button>
433
433
  </div>
@@ -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) {
@@ -1641,6 +1644,12 @@ export default {
1641
1644
  background-color: transparent!important;
1642
1645
  border-radius: 9px!important;
1643
1646
  }
1647
+ /deep/.el-textarea__inner{
1648
+ border-color: #E0E6F7!important;
1649
+ background-color: transparent!important;
1650
+ border-radius: 9px!important;
1651
+ padding: 9px 15px!important;
1652
+ }
1644
1653
  /deep/.el-upload--picture-card{
1645
1654
  background-color: #FFFFFF;
1646
1655
  border: 1px solid #E0E6F7;
@@ -1844,6 +1853,9 @@ export default {
1844
1853
  /deep/.van-field__control{
1845
1854
  min-height: 40px;
1846
1855
  }
1856
+ /deep/textarea{
1857
+ padding: 7px 0;
1858
+ }
1847
1859
  /deep/.van-dropdown-menu__bar{
1848
1860
  box-shadow: none!important;
1849
1861
  }
@@ -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($event,items)" class="buttonClassItem">
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(e,items){
125
- e.stopPropagation(); //表示阻止向父元素冒泡
125
+ btnClick(items){
126
126
  items.apiKey=this.content.apiKey
127
- console.debug('card_template',items)
128
- this.$emit('btnClick',items,this.content.apiKey)
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(){
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div class="media-body-loadings">
3
- <svg viewBox="0 0 120 120" width="30px" height="30px" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
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>
@@ -46,7 +46,7 @@ export default {
46
46
  word-wrap: break-word;
47
47
  word-break: break-all;
48
48
  overflow: hidden;
49
- padding: 10px 0;
49
+ padding: 6px 0;
50
50
  height: auto;
51
51
  border-bottom: 1px solid #EEEEEE;
52
52
  color: #A9B3C6;
@@ -55,8 +55,7 @@ export default {
55
55
  }
56
56
  .options-list{
57
57
  padding-top: 4px;
58
- /*padding-top: 8px;*/
59
- /*padding-right: 10px;*/
58
+ min-width: 120px;
60
59
  .options-item{
61
60
 
62
61
  height: 25px;
@@ -77,14 +77,14 @@ export default {
77
77
  top: 50px;
78
78
  i{
79
79
  color: #366aff;
80
- font-size: 30px;
80
+ font-size: 26px;
81
81
  }
82
82
  }
83
83
  }
84
84
  .voice-tip{
85
85
  width: 100%;
86
86
  position: absolute;
87
- top: -30px;
87
+ top: -35px;
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: -20px;
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
  }