Commit d9beaac5 authored by xiexingan's avatar xiexingan

fix:视频监控

parent 0a595166
...@@ -192,7 +192,7 @@ export default { ...@@ -192,7 +192,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.line-warp { .line-warp {
height:60px; height:105px;
background-image: url(../../imgs/bg-b.png); background-image: url(../../imgs/bg-b.png);
background-size: 100% 100% !important; background-size: 100% 100% !important;
padding: 0 15px; padding: 0 15px;
......
...@@ -660,7 +660,7 @@ export default { ...@@ -660,7 +660,7 @@ export default {
this.videoList.size = 4 this.videoList.size = 4
this.videoButtonSta = 4 this.videoButtonSta = 4
} }
this.colHeight = 'height:' + (755 / this.videoList.size - 3) + 'px' this.colHeight = 'height:' + ((this.currentHeight-95) / this.videoList.size - 3) + 'px'
if (this.videoList.list.length == 10) { if (this.videoList.list.length == 10) {
//勾选中第十个,第九个必然会黑屏,现在写重新加载 //勾选中第十个,第九个必然会黑屏,现在写重新加载
//先把第九个给停掉,然后过一秒后,重新加载 //先把第九个给停掉,然后过一秒后,重新加载
...@@ -773,8 +773,9 @@ export default { ...@@ -773,8 +773,9 @@ export default {
this.videoButtonSta = 4 this.videoButtonSta = 4
} }
if (pd == 1) { if (pd == 1) {
console.log('pd标记如果为1,则证明改变了宫格数量:' + this.colHeight + '---:' + this.videoList.size) // console.log('pd标记如果为1,则证明改变了宫格数量:' + this.colHeight + '---:' + this.videoList.size)
this.colHeight = 'height:' + (755 / this.videoList.size - 3) + 'px' this.colHeight = 'height:' + ((this.currentHeight-95) / this.videoList.size - 3) + 'px'
var arrPd = [] var arrPd = []
//pd标记如果为1,则证明改变了宫格数量 //pd标记如果为1,则证明改变了宫格数量
for (let i = 0; i < this.videoList.signArr.length; i++) { for (let i = 0; i < this.videoList.signArr.length; i++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment