diff --git a/web_src/src/App.vue b/web_src/src/App.vue index 103cbe1a..cf778a83 100755 --- a/web_src/src/App.vue +++ b/web_src/src/App.vue @@ -69,7 +69,7 @@ body, background-color: #f0f2f5; color: #333; text-align: center; - padding-top: 0px !important; + padding: 0 20px; } /*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/ diff --git a/web_src/src/components/ChannelEdit.vue b/web_src/src/components/ChannelEdit.vue index 80f116e6..569952cf 100644 --- a/web_src/src/components/ChannelEdit.vue +++ b/web_src/src/components/ChannelEdit.vue @@ -2,9 +2,7 @@
- + @@ -141,7 +141,6 @@ export default { videoComponentList: [], updateLooper: 0, //数据刷新轮训标志 currentDeviceChannelsLenth: 0, - winHeight: window.innerHeight - 200, currentPage: 1, count: 15, total: 0, diff --git a/web_src/src/components/PlatformEdit.vue b/web_src/src/components/PlatformEdit.vue index ec42280a..c2330356 100644 --- a/web_src/src/components/PlatformEdit.vue +++ b/web_src/src/components/PlatformEdit.vue @@ -2,9 +2,7 @@
- @@ -67,7 +67,6 @@ export default { return { recordPlanList: [], searchSrt: "", - winHeight: window.innerHeight - 180, currentPage: 1, count: 15, total: 0, diff --git a/web_src/src/components/StreamProxyEdit.vue b/web_src/src/components/StreamProxyEdit.vue index 2a1441aa..eb041012 100644 --- a/web_src/src/components/StreamProxyEdit.vue +++ b/web_src/src/components/StreamProxyEdit.vue @@ -2,9 +2,7 @@
- @@ -109,7 +109,6 @@ export default { searchSrt: "", channelType: "", online: "", - winHeight: window.innerHeight - 180, currentPage: 1, count: 15, total: 0, diff --git a/web_src/src/layout/index.vue b/web_src/src/layout/index.vue index d6afcf64..d9b13253 100755 --- a/web_src/src/layout/index.vue +++ b/web_src/src/layout/index.vue @@ -4,11 +4,7 @@ - - - - - + diff --git a/web_src/src/main.js b/web_src/src/main.js index 6f7fc25c..7c56f95d 100755 --- a/web_src/src/main.js +++ b/web_src/src/main.js @@ -75,6 +75,7 @@ axios.interceptors.request.use( Vue.prototype.$axios = axios; Vue.prototype.$cookies.config(60 * 30); +Vue.prototype.$tableHeght = window.innerHeight - 170; new Vue({ router: router,