Merge branch 'dev-yjl' into 'shenzhen-dev'

萤石云点击窗口高亮

See merge request !137
This commit is contained in:
袁晶琳 2023-04-06 18:01:27 +08:00
commit 3d92a98c96
4 changed files with 28 additions and 26 deletions

View File

@ -41,8 +41,8 @@ if (process.env.NODE_ENV == 'development') {
// axios.defaults.baseURL = 'http://192.168.34.117:6023/' // 杨杰本地 // axios.defaults.baseURL = 'http://192.168.34.117:6023/' // 杨杰本地
// axios.defaults.baseURL = 'http://139.9.66.234:6324/' // 河南春笋 // axios.defaults.baseURL = 'http://139.9.66.234:6324/' // 河南春笋
axios.defaults.baseURL ='http://124.71.67.160:8088/' //中建四局线上 // axios.defaults.baseURL ='http://124.71.67.160:8088/' //中建四局线上
// axios.defaults.baseURL ='http://182.90.224.147:100/' //演示平台/ axios.defaults.baseURL ='http://182.90.224.147:100/' //演示平台/
// axios.defaults.baseURL = 'http://192.168.34.125:6023/' //杨意本地 http/1.1 // axios.defaults.baseURL = 'http://192.168.34.125:6023/' //杨意本地 http/1.1
// axios.defaults.baseURL ='http://47.97.202.104:6023/' //金林湾线上旧 // axios.defaults.baseURL ='http://47.97.202.104:6023/' //金林湾线上旧
// axios.defaults.baseURL = 'http://192.168.34.231:6023/'; //杨思瑞本地 // axios.defaults.baseURL = 'http://192.168.34.231:6023/'; //杨思瑞本地

View File

@ -5,9 +5,7 @@
<vue-scroll> <vue-scroll>
<div class="box" v-for="(item, index) in progressData" :key="index"> <div class="box" v-for="(item, index) in progressData" :key="index">
<p class="title">{{ item.taskName }}</p> <p class="title">{{ item.taskName }}</p>
<div class="line" v-show="progressData.length != index + 1">
-------
</div>
<div class="imgStyle"> <div class="imgStyle">
<img <img
:src=" :src="
@ -22,6 +20,9 @@
<p class="timeText">开始时间{{ item.startDate }}</p> <p class="timeText">开始时间{{ item.startDate }}</p>
<p class="timeText">结束时间{{ item.finishDate }}</p> <p class="timeText">结束时间{{ item.finishDate }}</p>
<div class="line" v-show="progressData.length != index + 1">
-------
</div>
</div> </div>
</vue-scroll> </vue-scroll>
<!-- <div class="box"> <!-- <div class="box">
@ -107,14 +108,19 @@ export default {
.box { .box {
text-align: center; text-align: center;
margin-right: 6%; margin-right: 2%;
display: inline-block; display: inline-block;
margin-top: 35px; margin-top: 35px;
margin-left: 2%; margin-left: 2%;
width: 170px;
} }
.title { .title {
font-size: 14px; font-size: 14px;
position: relative; position: relative;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
width: 140px;
} }
.title::before { .title::before {
position: absolute; position: absolute;
@ -126,7 +132,7 @@ export default {
margin: 20px; margin: 20px;
width: 100px; width: 100px;
height: 70px; height: 70px;
margin-left: 55px; // margin-left: 55px;
// width: 20%; // width: 20%;
// height:20%; // height:20%;
img { img {
@ -143,7 +149,7 @@ export default {
.line { .line {
top: 50%; top: 50%;
position: absolute; position: absolute;
margin-left: 250px; margin-left: 160px;
color: #465161; color: #465161;
} }
} }

View File

@ -122,7 +122,7 @@ export default {
} }
} }
.centerBox { .centerBox {
width: 60%; width: 48%;
height: 100%; height: 100%;
margin-right: 15px; margin-right: 15px;
.centerTop { .centerTop {

View File

@ -22,9 +22,8 @@
<div <div
:id="'video-cover' + item" :id="'video-cover' + item"
class="video-cover" class="video-cover"
:class="Istrue== true? 'login-box-focus':''" @click="btnStyle(item)"
@mouseenter="mouseenterName()" :class="{ 'btnCss': btnIndex == item }"
@mouseleave="mouseleaveName()"
></div> ></div>
<div :id="'video-container' + item"></div> <div :id="'video-container' + item"></div>
</div> </div>
@ -91,7 +90,7 @@ export default {
devList: [], devList: [],
demoList: [], demoList: [],
indextest: 0, indextest: 0,
Istrue: false, btnIndex: 0
} }
}, },
created() { }, created() { },
@ -113,7 +112,7 @@ export default {
var index = this.devList.findIndex((item) => item.url == a[0].url) var index = this.devList.findIndex((item) => item.url == a[0].url)
let devs = [] let devs = []
devs.push(this.devList[index]) devs.push(this.devList[index])
console.log('块的点击事件', devs) console.log('块的点击事件1', devs)
this.ysyBtn(devs, this.indextest, this.select) this.ysyBtn(devs, this.indextest, this.select)
} }
@ -133,6 +132,7 @@ export default {
this.select = value this.select = value
this.selectVideoFirst = 1 this.selectVideoFirst = 1
this.devList.forEach((item, index) => { this.devList.forEach((item, index) => {
console.log('item数据', item);
// item.player.stop() // item.player.stop()
if (value == 1) { if (value == 1) {
item.player.reSize( item.player.reSize(
@ -150,7 +150,6 @@ export default {
this.$refs.videoBox.offsetHeight / 3 this.$refs.videoBox.offsetHeight / 3
) )
} }
console.log('==========')
}) })
} }
// video // video
@ -162,17 +161,15 @@ export default {
}) })
}, },
methods: { methods: {
mouseenterName() { //
this.Istrue = true; btnStyle(item) {
}, this.btnIndex = item
mouseleaveName() {
this.Istrue = false;
}, },
pieceClick(item) { pieceClick(item) {
this.indextest = item this.indextest = item
// let devs = [] // let devs = []
// devs.push(this.devList[item - 1]) // devs.push(this.devList[item - 1])
console.log('块的点击事件', item) console.log('块的点击事件2', item)
// this.ysyBtn(devs,item+1,this.select) // this.ysyBtn(devs,item+1,this.select)
}, },
// id 149 // id 149
@ -180,7 +177,7 @@ export default {
item.forEach((item2, index) => { item.forEach((item2, index) => {
let container; let container;
console.log('块的点击事件', indeBtn) console.log('块的点击事件3', indeBtn)
if (indeBtn == 0) { if (indeBtn == 0) {
container = `video-container${index + 1}`; container = `video-container${index + 1}`;
} else { } else {
@ -300,10 +297,6 @@ export default {
.video-active { .video-active {
border: 0.125rem solid rgb(255, 133, 62) !important; border: 0.125rem solid rgb(255, 133, 62) !important;
} }
.login-box-focus{
// border: 4px solid red;
}
.rect { .rect {
width: 1.625rem; width: 1.625rem;
@ -493,4 +486,7 @@ export default {
.videoItem.active { .videoItem.active {
background: #fff !important; background: #fff !important;
} }
.btnCss {
border: 2px solid orange;
}
</style> </style>