From 709c250c349faaec675f13227363e4f54793539b Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@iotlink.com>
Date: 星期四, 06 八月 2020 15:40:27 +0800
Subject: [PATCH] build: 添加app分类脚本
---
src/pages/cameraAccess/index/VideoManage.vue | 21 ++++++++++++++++-----
1 files changed, 16 insertions(+), 5 deletions(-)
diff --git a/src/pages/cameraAccess/index/VideoManage.vue b/src/pages/cameraAccess/index/VideoManage.vue
index 09eb5c2..0cf560d 100644
--- a/src/pages/cameraAccess/index/VideoManage.vue
+++ b/src/pages/cameraAccess/index/VideoManage.vue
@@ -1,6 +1,6 @@
<template>
<div class="s-video-manage">
- <el-tabs v-model="activeName" type="border-card" @tab-click="handleClick">
+ <el-tabs class="video-tab" v-model="activeName" type="border-card" @tab-click="handleClick">
<el-tab-pane
:label="firstLabeName"
name="camera-info"
@@ -231,8 +231,6 @@
height: 100%;
float: right;
box-sizing: border-box;
- padding: 16px;
- background-color: #e9ebf2;
.el-tabs--border-card {
box-shadow: none;
-webkit-box-shadow: none;
@@ -249,7 +247,19 @@
.el-tabs--border-card {
height: 100%;
width: 100%;
+ &.video-tab{
+ &>.el-tabs__header{
+ position: fixed;
+ top:0;
+
+ width:100%;
+ z-index:999;
+ height: 54px;
+ overflow-y: hidden;
+ }
+ }
.el-tabs__header {
+
.is-active {
color: #3d68e1 !important;
}
@@ -278,9 +288,10 @@
}
.el-tabs__content {
width: 100%;
- height: calc(100% - 52px);
+ margin-top: 52px;
+ //height: calc(100% - 52px);
box-sizing: border-box;
- padding: 13px 38px;
+ padding: 13px 0;
}
.el-tab-pane {
width: 100%;
--
Gitblit v1.8.0