askbot-dragon 0.7.13 → 0.7.17
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
|
@@ -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:
|
|
15
|
+
style="object-fit: contain;width: calc(100vw - 139px);height: 160px;background-color: black;border-radius: 25px;max-width: 230px;padding: 0 10px"
|
|
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
|
|
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:
|
|
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
|
},
|
|
@@ -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;
|