修改首页针对鞍钢项目显示问题显示

This commit is contained in:
Vce 2024-04-18 20:08:20 +08:00
parent c23af29edf
commit 0edc5ff500
2 changed files with 20 additions and 10 deletions

View File

@ -21,17 +21,10 @@ NODE_ENV = 'development'
# 七参数标准版(测试平台)
# VITE_API_URL = 'http://182.90.224.237:15551'
# agjt
<<<<<<< HEAD
VITE_API_URL = 'http://47.93.215.234:9809'
# VITE_API_URL = 'http://jxj.zhgdyun.com:19812'
# 苏立信
# VITE_API_URL = 'http://101.43.164.214:11111'
# VITE_API_URL = 'http://jxj.zhgdyun.com:19812'
=======
# VITE_API_URL = 'http://47.93.215.234:9809'
VITE_API_URL = 'http://jxj.zhgdyun.com:19812'
# 苏立信
VITE_API_URL = 'http://101.43.164.214:11111'
>>>>>>> adb597104743c33e779739348f354f57365aa8db
# 上传
VITE_ULD_API_URL = 'http://192.168.34.155:8012/onlinePreview?url='

View File

@ -1,7 +1,18 @@
<template>
<div class="leftTop">
<Card title="项目展示">
<div class="top-tab">
<div class="top-tab" v-if="COMPANY === 'agjt'">
<div
class="tab-box"
:style="boxStyle(item)"
v-for="(item, index) in topText2"
:key="item.id"
@click="activeBtn(item, index)"
>
{{ item.title }}
</div>
</div>
<div class="top-tab" v-else>
<div
class="tab-box"
:style="boxStyle(item)"
@ -69,6 +80,7 @@ import { ElMessage } from "element-plus";
import { editProjectInfo, eidtProjectShowConfig, queryBySnData } from "@/api/modules/projectOverview";
import { selectLiveVideoListApi } from "@/api/modules/video";
import ckplayerComp from "./ckplayerComp.vue";
import { COMPANY } from "@/config/config";
const store = GlobalStore();
const videoList = ref([] as any);
@ -106,11 +118,16 @@ const showChangeImg = ref(false as any);
//
const showChangeVideo = ref(false as any);
let topText = ref([
let topText2 = ref([
{ id: 1, title: "现场视频", isActive: true },
{ id: 2, title: "宣传视频", isActive: false },
{ id: 3, title: "效果图", isActive: false }
]);
let topText = ref([
// { id: 1, title: "", isActive: true },
{ id: 2, title: "宣传视频", isActive: false },
{ id: 3, title: "效果图", isActive: false }
]);
const getVideoList = async () => {
let res: any = await selectLiveVideoListApi({
projectSn: store.sn