萤石云点击窗口高亮
This commit is contained in:
parent
97fe3ccf00
commit
60108cf5a7
@ -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/'; //杨思瑞本地
|
||||||
|
|||||||
@ -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(所在窗口) 当前窗口是几分屏(1、4、9)
|
// 视频播放数据 视频容器id(所在窗口) 当前窗口是几分屏(1、4、9)
|
||||||
@ -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>
|
||||||
Loading…
x
Reference in New Issue
Block a user