feat:对接工单模块接口

This commit is contained in:
zjc
2025-01-01 12:59:32 +08:00
parent d2c0db5270
commit 0742c6fa93
19 changed files with 616 additions and 772 deletions

View File

@@ -33,15 +33,15 @@
<script setup>
import primary from '@/assets/images/item-primary.png'
import error from '@/assets/images/item-error.png'
import { getVideoListApi } from '@/api/home'
import { getVideoListApi, postRefreshApi } from '@/api/home'
import Hls from 'hls.js'
let list = ref(2)
let list = ref([])
const getRefs = (el) => {
if (el) {
const hls = new Hls()
hls.loadSource('https://test-streams.mux.dev/x36xhzz/x36xhzz.m3u8')
hls.loadSource('http://36.138.38.16:6106/live/042f4987808b444aa96c1e8bc6e3ad2a/hls.m3u8')
hls.attachMedia(el)
hls.on(Hls.Events.MANIFEST_PARSED, () => {
el.play()
@@ -52,6 +52,7 @@
let res = await getVideoListApi({
businessVideoDisplayPosition: ''
})
list.value = res.data
}
onMounted(() => {
getVideoList()

View File

@@ -12,7 +12,7 @@
>
{{ item.name }}
</li>
<el-dropdown v-if="navLeft.length > 3" trigger="click" @command="handleCommand">
<!-- <el-dropdown v-if="navLeft.length > 3" trigger="click" @command="handleCommand">
<li
class="nav-left-item"
:style="{
@@ -29,7 +29,7 @@
</el-dropdown-item>
</el-dropdown-menu>
</template>
</el-dropdown>
</el-dropdown> -->
</ul>
<div class="title">
<span>{{ title }}</span>
@@ -280,6 +280,7 @@
& > span {
font-size: vw(48);
font-weight: 800;
font-family: 'MicrosoftYaHeiBold';
color: transparent;
letter-spacing: vw(10);
-webkit-background-clip: text;