askbot-dragon 1.5.62-beta → 1.5.63-beta

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": "1.5.62-beta",
3
+ "version": "1.5.63-beta",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -4955,7 +4955,7 @@ export default {
4955
4955
  url:
4956
4956
  'https://guoranopen-zjk.oss-cn-zhangjiakou.aliyuncs.com/2021/08/24/07/35/41221223-c180-4f3f-bdc8-94875b693965/WeChat_20210719215122.mp4',
4957
4957
  videoFlag: false,
4958
- nodownload: true,
4958
+ nodownload: false,
4959
4959
  videoUploadPercent: 0,
4960
4960
  isShowUploadVideo: true,
4961
4961
  recommend: {
@@ -12,16 +12,19 @@
12
12
  /> -->
13
13
  <video
14
14
  controls="controls"
15
- :controlslist="nodownload&&'nodownload'"
15
+ controlslist="nodownload"
16
16
  :raw-controls="true"
17
17
  x5-video-player-type="h5-page"
18
- style="object-fit: contain;width: calc(100vw - 139px);height: 160px;background-color: black;border-radius: 25px;max-width: 230px;padding-left: 10px"
18
+ style="object-fit: contain;width: calc(100vw - 169px);height: 160px;background-color: black;border-radius: 25px;max-width: 200px;padding-left: 10px"
19
19
  preload
20
20
  :poster="videoSrc+'?spm=qipa250&x-oss-process=video/snapshot,t_1000,f_jpg,w_0,h_0,m_fast'"
21
21
  class="video-player vjs-custom-skin"
22
22
  :id="msg.id+'key'">
23
23
  <source :src="videoSrc"/>
24
24
  </video>
25
+ <div v-show="!nodownload" class="dragon-video-download">
26
+ <a :href="msg.content.url" download><span class="el-icon-download"></span></a>
27
+ </div>
25
28
  <div id="output"></div>
26
29
  </div>
27
30
  </template>
@@ -123,6 +126,8 @@
123
126
  video::-webkit-media-controls-mute-button { display: none !important;}
124
127
  #dragon-video{
125
128
  position: relative;
129
+ width: calc(100vw - 109px);
130
+ max-width: 260px;
126
131
  #outputVideo{
127
132
  position: absolute;
128
133
  top: 0px;
@@ -134,6 +139,24 @@ video::-webkit-media-controls-mute-button { display: none !important;}
134
139
  }
135
140
 
136
141
  }
142
+ .dragon-video-download{
143
+ position: absolute;
144
+ width: 40px;
145
+ height: 26px;
146
+ background-color: rgba(54, 106, 255, 0.5);
147
+ border-radius: 13px;
148
+ text-align: center;
149
+ bottom: 0px;
150
+ right: 0;
151
+ a {
152
+ span {
153
+ height: 26px;
154
+ line-height: 26px;
155
+ display: block;
156
+ color: white;
157
+ }
158
+ }
159
+ }
137
160
  }
138
161
 
139
162
  </style>