Browse Source

update DP-1334 解决部分浏览器视频全屏卡顿问题

pull/5/head
Wangwei 2 years ago
parent
commit
9afe22c075
  1. 10
      public/index.html
  2. 2
      public/js/ckplayerX2/ckplayer.min.js
  3. 4
      src/assets/css/m.css
  4. 1
      src/components/AvatarDropDown.vue
  5. 2
      src/components/Header.vue
  6. 5
      src/views/class/play.vue
  7. 3061
      src/views/video/guide/finebi.vue
  8. 3020
      src/views/video/guide/finereport.vue
  9. 3037
      src/views/video/guide/finereportGuide2023.vue
  10. 3106
      src/views/video/guide/jiandaoyun.vue
  11. 13
      src/views/video/play.vue

10
public/index.html

@ -265,6 +265,16 @@
</li> </li>
</ul> </ul>
<!-- <script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?f4d7d83c565e698bd7cedfe9c6297055";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script> -->
<script> <script>
var _hmt = _hmt || []; var _hmt = _hmt || [];
(function(c, l, a, r, i, t, y) { (function(c, l, a, r, i, t, y) {

2
public/js/ckplayerX2/ckplayer.min.js vendored

File diff suppressed because one or more lines are too long

4
src/assets/css/m.css

@ -53,7 +53,11 @@
.m-db-800 { .m-db-800 {
display: block !important; display: block !important;
} }
.msg-box {
width: 100% !important;
}
} }
:root { :root {
--van-red: #0082fc; --van-red: #0082fc;
} }

1
src/components/AvatarDropDown.vue

@ -59,7 +59,6 @@ export default {
const res = await getUserInfoShequ(state.uid); const res = await getUserInfoShequ(state.uid);
if (res.code === 200) { if (res.code === 200) {
state.user = res.data; state.user = res.data;
console.log(state.user);
} }
}; };
resGetUserInfoShequ(); resGetUserInfoShequ();

2
src/components/Header.vue

@ -38,7 +38,7 @@
</div> </div>
<nav class="infomation"> <nav class="infomation">
<el-dropdown v-if="com_user_token" class="personal" placement="bottom-end" popper-class="new-dropdown" show-timeout="0"> <el-dropdown v-if="com_user_token" class="personal" placement="bottom-end" popper-class="new-dropdown" :show-timeout="0">
<span class="el-dropdown-link"> <span class="el-dropdown-link">
<el-avatar :src="avatarUrl + uid" :size="32" fit="cover" icon="el-icon-user-solid"></el-avatar> <el-avatar :src="avatarUrl + uid" :size="32" fit="cover" icon="el-icon-user-solid"></el-avatar>
<i class="el-icon-arrow-down el-icon--right"></i> <i class="el-icon-arrow-down el-icon--right"></i>

5
src/views/class/play.vue

@ -4,7 +4,8 @@
<div v-if="!com_user_token"> <div v-if="!com_user_token">
<el-empty :image-size="200" description=" ">无权限查看当前页面需要 <a :href="com_login_url" class="col008">登录</a></el-empty> <el-empty :image-size="200" description=" ">无权限查看当前页面需要 <a :href="com_login_url" class="col008">登录</a></el-empty>
</div> </div>
<div v-if="isAuth"> <div v-if="isAuth && com_user_token">
>
<div class="main"> <div class="main">
<div class="videoBox flex-2"> <div class="videoBox flex-2">
<div class="viewtil" style="min-height:8%"> <div class="viewtil" style="min-height:8%">
@ -387,7 +388,7 @@ export default {
onMounted(() => { onMounted(() => {
var new_element = document.createElement("script"); var new_element = document.createElement("script");
new_element.setAttribute("type", "text/javascript"); new_element.setAttribute("type", "text/javascript");
new_element.setAttribute("src", "/js/ckplayerX2/ckplayer.min.js"); new_element.setAttribute("src", "/js/ckplayerX2/ckplayer.min.js?v=2.1");
document.body.appendChild(new_element); document.body.appendChild(new_element);
// //

3061
src/views/video/guide/finebi.vue

File diff suppressed because it is too large Load Diff

3020
src/views/video/guide/finereport.vue

File diff suppressed because it is too large Load Diff

3037
src/views/video/guide/finereportGuide2023.vue

File diff suppressed because it is too large Load Diff

3106
src/views/video/guide/jiandaoyun.vue

File diff suppressed because it is too large Load Diff

13
src/views/video/play.vue

@ -393,7 +393,7 @@ export default {
onMounted(() => { onMounted(() => {
var new_element = document.createElement("script"); var new_element = document.createElement("script");
new_element.setAttribute("type", "text/javascript"); new_element.setAttribute("type", "text/javascript");
new_element.setAttribute("src", "/js/ckplayerX2/ckplayer.min.js"); new_element.setAttribute("src", "/js/ckplayerX2/ckplayer.min.js?v=2.1");
document.body.appendChild(new_element); document.body.appendChild(new_element);
// //
@ -853,3 +853,14 @@ body {
} }
} }
</style> </style>
<style type="text/css">
video::-internal-media-controls-download-button {
display: none;
}
video::-webkit-media-controls-enclosure {
overflow: hidden;
}
video::-webkit-media-controls-panel {
width: calc(100% + 30px);
}
</style>

Loading…
Cancel
Save