@ -24,4 +24,14 @@ export function geoCoding(v,city) {
url:`https://bird.ioliu.cn/${v}?url=https://api.map.baidu.com/geocoding/v3/?address=${city}&output=json&ak=FvIYykqgB0i9dbTXWGf79nlyKT996zmj`,
method: "get"
})
}
/**
* 获取首页统计
*/
export function getCityCount() {
return request({
url:"/v1/edu/cityclass/count/",
@ -10,6 +10,14 @@ import request from "@/utils/request";
import {requestGet} from "@/utils/newrequest";
// 视频课附件下载埋点
export function downloadLog(fileId) {
url: `/v1/edu/video/attachment/download/log/${fileId}`,
method: "get",
// 埋点每次进入和离开时间
export function updateVideoCountLog(params) {
@ -143,7 +143,7 @@
<router-link to="/class" :class="$route.meta.active == 'class' ? 'active' : ''">学习班</router-link>
<router-link to="/live" :class="$route.meta.active == 'live' ? 'active' : ''">直播</router-link>
<router-link to="/cityclass" :class="$route.meta.active == 'cityclass' ? 'active' : ''">城市课堂</router-link>
<router-link to="/more" :class="$route.meta.active == 'more' ? 'active' : ''">资源导航</router-link>
<!-- <router-link to="/more" :class="$route.meta.active == 'more' ? 'active' : ''">资源导航</router-link> -->
</div>
@ -271,9 +271,9 @@
<el-menu-item>
<router-link to="/cityclass" @click="drawer = false" class="lfnav-item" :class="$route.meta.active == 'cityclass' ? 'active' : ''"> 城市课堂</router-link>
</el-menu-item>
<!-- <el-menu-item>
<router-link to="/more" @click="drawer = false" class="lfnav-item" :class="$route.meta.active == 'more' ? 'active' : ''">资源导航 </router-link>
</el-menu-item> -->
</el-menu-item-group>
</el-submenu>
@ -326,7 +326,7 @@ const routes = [
name: 'live_play',
component: () => import('@/views/live/live_play.vue'),
meta: {
title: '进入直播 - 直播',
title: '直播 - 帆软学院',
active: 'live',
isMobile: 1,
},
@ -16,9 +16,10 @@
<div class="playbox" v-else>
<div style="margin-top: -2.5rem;" class="playbox" v-else>
<!-- <iframe scrolling="no" border="0" frameborder="0" allowfullscreen="true" :src="'https://live.vhall.com/webinar/inituser/' + live.webinar_id + '?email=' + live.uid + '@vhall.com&name=' + live.liveUserName + '&k=' + live.livekey" width="100%" height="100%"> </iframe> -->
<iframe id="iframe_live" border="0" frameborder="0" allowfullscreen="true" :src="'https://live.polyv.cn/watch/' + live.webinar_id + '?userid=' + live.uid + '&ts=' + live.ts + '&sign=' + live.sign" width="100%" height="100%"> </iframe>
<!-- <iframe border="0" frameborder="0" allowfullscreen="true" :src="'https://live.polyv.cn/watch/' + live.webinar_id + '?userid=' + live.uid + '&ts=' + live.ts + '&sign=' + live.sign" width="100%" height="100%"> </iframe> -->
<iframe border="0" frameborder="0" allowfullscreen="true" :src="live.directAuthUrl" width="100%" height="100%"> </iframe>
</template>
@ -64,13 +65,6 @@ export default {
reslivePlay();
// setTimeout(function() {
// let iframeDocument = document.getElementById("iframe_live").contentWindow;
// console.log("iframeDocument=====", iframeDocument);
// iframeDocument.body.style.backgroundColor = "blue";
// }, 500);
return {
...toRefs(state),
liveid,