askbot-dragon 0.7.12 → 0.7.16

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.12",
3
+ "version": "0.7.16",
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;
@@ -9,12 +9,15 @@
9
9
  @pause="statechanged"
10
10
  /> -->
11
11
  <video
12
- :src="src"
13
12
  controls="controls"
13
+ :raw-controls="true"
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
- :id="msg.keyId"/>
17
+ :id="msg.keyId+'key'">
18
+ <source :src="videoSrc" />
19
+ </video>
20
+ <div id="output"></div>
18
21
  </div>
19
22
  </template>
20
23
  <script>
@@ -23,6 +26,7 @@
23
26
  props: ["msg", "url", "localUrl", "progress"],
24
27
  data() {
25
28
  return {
29
+ videoSrc:''
26
30
  }
27
31
  },
28
32
  watch: {
@@ -35,9 +39,17 @@
35
39
  return this.url == null || this.url === "";
36
40
  },
37
41
  src() {
38
- return (this.url != null && this.url !== '') ? this.url : this.localUrl;
42
+ return this.url ? this.url : this.localUrl;
39
43
  }
40
- }
44
+ },
45
+ mounted() {
46
+ this.$nextTick(()=>{
47
+ this.videoSrc = this.url ? this.url : this.localUrl
48
+ })
49
+
50
+ },
51
+ methods:{
52
+ }
41
53
 
42
54
  }
43
55
  </script>
@@ -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
  },
@@ -1597,7 +1597,7 @@ 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;
@@ -1671,7 +1671,9 @@ export default {
1671
1671
  color: #366AFF;
1672
1672
  }
1673
1673
  }
1674
-
1674
+ /deep/.el-select-dropdown__item.selected{
1675
+ color: #366aff;
1676
+ }
1675
1677
  /deep/.el-upload-list--picture-card{
1676
1678
  .el-upload-list__item{
1677
1679
  width: 74px;
@@ -1892,6 +1894,8 @@ export default {
1892
1894
  display: flex;
1893
1895
  overflow: hidden;
1894
1896
  margin-right: 0;
1897
+ display: flex;
1898
+ align-items:center;
1895
1899
  }
1896
1900
  .el-checkbox__label{
1897
1901
  font-size: 1em;
@@ -1,7 +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
+ <div class="bottom-link" v-if="msg.recommend&&msg.recommend.description"></div>
5
5
  <div v-if="msg.recommend&&msg.recommend.list" class="options-list">
6
6
  <p
7
7
  v-for="(option, index) in msg.recommend.list"