askbot-dragon 0.7.11 → 0.7.15

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.11",
3
+ "version": "0.7.15",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -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
- border-bottom: 1px solid #EEEEEE;
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;
@@ -12,7 +12,7 @@
12
12
  :src="src"
13
13
  controls="controls"
14
14
  x5-video-player-type="h5-page"
15
- style="object-fit: contain;width: calc(100vw - 139px);height: 160px;background-color: black;border-radius: 17px;max-width: 230px;"
15
+ style="object-fit: contain;width: calc(100vw - 139px);height: 160px;background-color: black;border-radius: 25px;max-width: 230px;"
16
16
  class="video-player vjs-custom-skin"
17
17
  :id="msg.keyId"/>
18
18
  </div>
@@ -22,7 +22,7 @@
22
22
  <!-- LPY 原生宽度适配有bug,弃用 -->
23
23
  <img
24
24
  :src="msg.content.url"
25
- style="height: auto; width: calc(100vw - 137px);border-radius: 17px;max-width: 230px"
25
+ style="height: auto; width: calc(100vw - 137px);border-radius: 25px;max-width: 230px"
26
26
  @click="onImageClick(msg.content.url)"
27
27
  class="img-class"
28
28
  />
@@ -52,7 +52,7 @@
52
52
  const regex = new RegExp("<img", "gi");
53
53
  return html.replace(
54
54
  regex,
55
- "<img style='max-width: 230px;' onclick='imageOnClick(this)'"
55
+ "<img style='max-width: 230px;border-radius: 25px;' onclick='imageOnClick(this)'"
56
56
  );
57
57
  },
58
58
  },
@@ -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 0;
1600
+ padding-bottom: 10px;
1601
1601
  display: flex;
1602
1602
  align-items: center;
1603
1603
  justify-content: center;
1604
- border-bottom: 1px solid #EEEEEE;
1604
+ /* border-bottom: 1px solid #EEEEEE;*/
1605
+ }
1606
+ .title-link{
1607
+ height: 1px;
1608
+ background-color: #EEEEEE;
1605
1609
  }
1606
- .form-link{
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{
@@ -1668,7 +1671,9 @@ export default {
1668
1671
  color: #366AFF;
1669
1672
  }
1670
1673
  }
1671
-
1674
+ /deep/.el-select-dropdown__item.selected{
1675
+ color: #366aff;
1676
+ }
1672
1677
  /deep/.el-upload-list--picture-card{
1673
1678
  .el-upload-list__item{
1674
1679
  width: 74px;
@@ -1714,7 +1719,7 @@ export default {
1714
1719
  }
1715
1720
  .remPhoneClassForm{
1716
1721
  .mobileFormClass{
1717
- width: calc(100vw - 120px);
1722
+ width: calc(100vw - 110px);
1718
1723
  .form-field-item{
1719
1724
  .form-field-item-value{
1720
1725
  /deep/.van-cell{
@@ -1889,6 +1894,8 @@ export default {
1889
1894
  display: flex;
1890
1895
  overflow: hidden;
1891
1896
  margin-right: 0;
1897
+ display: flex;
1898
+ align-items:center;
1892
1899
  }
1893
1900
  .el-checkbox__label{
1894
1901
  font-size: 1em;
@@ -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,13 +47,17 @@ export default {
46
47
  word-wrap: break-word;
47
48
  word-break: break-all;
48
49
  overflow: hidden;
49
- padding: 6px 0;
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
63
  min-width: 120px;
@@ -77,14 +77,14 @@ export default {
77
77
  top: 50px;
78
78
  i{
79
79
  color: #366aff;
80
- font-size: 26px;
80
+ font-size: 30px;
81
81
  }
82
82
  }
83
83
  }
84
84
  .voice-tip{
85
85
  width: 100%;
86
86
  position: absolute;
87
- top: -35px;
87
+ top: -40px;
88
88
  display: flex;
89
89
  align-items: center;
90
90
  justify-content: center;