修改bug

This commit is contained in:
yangjun 2023-06-11 20:21:34 +08:00
parent 1909fba604
commit 01c775df36
6 changed files with 23 additions and 12 deletions

View File

@ -59,7 +59,7 @@
<RouterLink :to="{path:'/site/index'}" style="color:white;">{{ projectName }}</RouterLink>
<RouterLink hidden target='_blank' :to="{path:'/site/liveView',query:{ url: 'rtsp://176.139.87.16/axis-media/media.amp' }}">直播测试页rtsp</RouterLink>
<RouterLink hidden target='_blank' :to="{path:'/site/liveFlvView',query:{ url: 'rtsp://176.139.87.16/axis-media/media.amp' }}">直播测试页flv</RouterLink>
<RouterLink hidden target='_blank' :to="{path:'/site/livem3u8View',query:{ url: 'https://bylwcs.nenu.edu.cn:9553/live_hls/yfjxl101s_lbzj.m3u8' }}">直播测试页m3u8</RouterLink>
<RouterLink hidden target='_blank' :to="{path:'/site/livem3u8View',query:{ url: 'https://zxkccx.webvpn.nenu.edu.cn:9553/live_hls/yfjxl101s_lbzj.m3u8' }}">直播测试页m3u8</RouterLink>
<RouterLink hidden target='_blank' :to="{path:'/site/liveRoom',query:{ id: '1139010101' }}">直播测试页正式课堂m3u8</RouterLink>
</span>
<span class="topRight">
@ -71,8 +71,7 @@
<template #overlay>
<a-menu>
<a-menu-item v-if="getUserSf()=='T'">
<!-- <a href="javascript:;">后台管理</a> -->
<RouterLink to="/dashboard/analysis">后台管理</RouterLink>
<RouterLink to="/dashboard/analysis" target="_blank">后台管理</RouterLink>
</a-menu-item>
<a-menu-item>
<a href="javascript:void(0);" @click="userStore?.confirmLoginOut();">安全退出</a>

View File

@ -17,8 +17,9 @@
<span style="position: absolute;top: 4rem;border-radius: 0 10px 10px 0;background: #1c84c6;color: #FFF;padding: 3px 10px 3px 5px;z-index: 2;" v-if="item.dqztpx == 2">{{item.dqzt}}</span>
<span style="position: absolute;top: 4rem;border-radius: 0 10px 10px 0;background-color: rgba(0,0,0,0.46);color: #FFF;padding: 3px 10px 3px 5px;z-index: 2;" v-if="item.dqztpx == 3">{{item.dqzt}}</span>
<div>
<img style="border-radius: 10px 10px 0 0;margin-bottom: 8px;" :class="classFun(index)" v-if="!item.tpmc" src="/resource/img/kc/moren.png" height="170px"/>
<AImage style="border-radius: 10px 10px 0 0;" :class="classFun(index)" v-else :src="getFileAccessHttpUrl(item.tpmc)" :preview="false" :width="'100%'" height="170px"/>
<img style="border-radius: 10px 10px 0 0;margin-bottom: 8px;" :class="classFun(index)" @error="imgOnError($event)" :src="getFileAccessHttpUrl(item.tpmc)" height="170px"/>
<!-- <img style="border-radius: 10px 10px 0 0;margin-bottom: 8px;" :class="classFun(index)" v-if="!item.tpmc" src="/resource/img/kc/moren.png" height="170px"/> -->
<!-- <AImage style="border-radius: 10px 10px 0 0;" :class="classFun(index)" :onerror="'/resource/img/kc/moren.png'" :src="getFileAccessHttpUrl(item.tpmc)" :preview="false" :width="'100%'" height="170px"/> -->
</div>
</div>
@ -72,6 +73,13 @@ function funGkk(jslj){
window.open(jslj,"_blank")
}
}
function imgOnError(event){
console.log(`🚀 ~ file: index.vue:78 ~ imgOnError ~ event:`, event)
let img = event.srcElement; //
img.src = '/resource/img/kc/moren.png'; //data
img.onerror = null; //onerror
}
function classFun(index){
let stylecss = "redImgClass";
if(index%3<1){

View File

@ -1,8 +1,8 @@
<template>
<a-card class="rowGutter" id="kxstkktDom">
<div>
<div style="font-size: 24px;font-weight: bold;">可线上听课课堂</div>
</div>
<template #title>
<span class="titleName">可线上听课课堂</span>
</template>
<a-row class="rowGutter" :gutter="[16, 16]">
<a-col :xs="{ span: 24 }" :sm="{ span: 8 }" :lg="{ span: 6 }" v-for="(item, index) in listData"
:key="index" style="margin-bottom: 0;">
@ -210,6 +210,10 @@ const saveOrUpdate = (params, isUpdate) => {
</script>
<style lang="less" scoped>
.titleName {
font-size: 24px;
font-weight: bold;
}
.yyyClass{
background: #1c84c6;font-weight: 600;color:#fff;border-radius: 5px;line-height: 23px;
}

View File

@ -1,7 +1,7 @@
<template>
<a-row class="rowGutter" id="tkzjDom">
<a-col :xs="{ span: 24 }" :sm="{ span: 12 }" :lg="{ span: 12 }" style="padding: 0 2px 0 0;">
<a-card style="min-height: 390px;">
<a-card style="min-height: 437px;">
<template #title>
<span style="font-size: 24px;font-weight: bold;">听课足迹</span>
<!-- <span style="margin-left: 10px;"><a href="javascript:void(0);" @click="addPingJia">新增评价</a></span> -->
@ -15,7 +15,7 @@
</a-card>
</a-col>
<a-col :xs="{ span: 24 }" :sm="{ span: 12 }" :lg="{ span: 12 }" style="padding: 0 0 0 2px;">
<a-card style="min-height: 390px;">
<a-card style="min-height: 437px;">
<template #title>
<span style="font-size: 24px;font-weight: bold;">评课足迹</span>
<!-- <span style="margin-left: 10px;"><a href="javascript:void(0);" @click="addPingJia">新增评价</a></span> -->

View File

@ -113,7 +113,7 @@
<a-col :xs="{ span: 9 }" :sm="{ span: 1 }" :lg="{ span: 2 }">
<div style="margin: 0 auto;width: fit-content;font-size: 6rem;font-weight: 700;color: #cccccc8c;padding: 29px 0;">
<!-- <RouterLink class="plusButton" to="/dashboard/analysis"><PlusOutlined/></RouterLink> -->
<RouterLink class="plusButton" to="/dashboard/analysis">+</RouterLink>
<RouterLink class="plusButton" to="/dashboard/analysis" target="_blank" >+</RouterLink>
</div>
</a-col>
</a-row>

View File

@ -58,7 +58,7 @@ onMounted(() => {
color: black;
}
.itemLink {
font-size: 16px;
font-size: 18px;
font-weight: bold;
}
</style>