Skip to content

Commit

Permalink
rm video
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhouYixun committed Aug 8, 2024
1 parent 83ede29 commit 89effa6
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 18 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,24 +31,23 @@
"vue-draggable-next": "2.0.1",
"vue-i18n": "^9.2.0-beta.34",
"vue-router": "4.0.10",
"vue3-video-play": "^1.3.1-beta.6",
"vuex": "4.0.2"
},
"devDependencies": {
"@vitejs/plugin-vue": "1.9.0",
"@vue/compiler-sfc": "3.2.14",
"vite": "2.5.10",
"vue-eslint-parser": "^9.0.2",
"@typescript-eslint/eslint-plugin": "^5.40.0",
"@typescript-eslint/parser": "^5.40.0",
"@vitejs/plugin-vue": "1.9.0",
"@vue/compiler-sfc": "3.2.14",
"eslint": "^8.25.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^3.5.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vue": "^9.6.0",
"husky": "^7.0.4",
"prettier": "^2.7.1",
"husky": "^7.0.4"
"vite": "2.5.10",
"vue-eslint-parser": "^9.0.2"
}
}
22 changes: 11 additions & 11 deletions src/views/ResultDetail.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<script setup>
import { useRoute, useRouter } from 'vue-router';
import { nextTick, onMounted, onUnmounted, ref, reactive } from 'vue';
import 'vue3-video-play/dist/style.css';
import { videoPlay } from 'vue3-video-play';
//import 'vue3-video-play/dist/style.css';
//import { videoPlay } from 'vue3-video-play';
import * as echarts from 'echarts/core';
import {
TitleComponent,
Expand Down Expand Up @@ -48,11 +48,11 @@ const done = ref(false);
const stepLoading = ref(false);
const type = ref('log');
const recordUrl = ref('');
const videoOptions = reactive({
width: '48%',
height: 'auto',
controlBtns: ['audioTrack', 'quality', 'volume', 'fullScreen', 'speedRate'],
});
// const videoOptions = reactive({
// width: '48%',
// height: 'auto',
// controlBtns: ['audioTrack', 'quality', 'volume', 'fullScreen', 'speedRate'],
// });
let page = 1;
let resizeFun;
let resizeChart;
Expand Down Expand Up @@ -654,7 +654,7 @@ onUnmounted(() => {
name="record"
>
<div v-if="recordUrl.length > 0" class="flex-center">
<video-play v-bind="videoOptions" :src="recordUrl" />
<!-- <video-play v-bind="videoOptions" :src="recordUrl" /> -->
</div>
<el-empty
v-else
Expand All @@ -671,7 +671,7 @@ onUnmounted(() => {

<style scoped lang="less">
// 勿删,用于video-play组件样式穿透
.d-player-wrap {
border-radius: 1.5rem;
}
// .d-player-wrap {
// border-radius: 1.5rem;
// }
</style>

0 comments on commit 89effa6

Please sign in to comment.