From bfee44c01a3f5f6de96c9dfa1e12cef4700eaf5b Mon Sep 17 00:00:00 2001 From: shikeying <pxzsky@163.com> Date: 星期二, 11 四月 2023 20:18:12 +0800 Subject: [PATCH] 测试引入的组件列表,修改响应参数 --- src/layout/index.vue | 61 ++++++++++++++++++++++++++++++ 1 files changed, 61 insertions(+), 0 deletions(-) diff --git a/src/layout/index.vue b/src/layout/index.vue index 65d45ae..0a47150 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -108,4 +108,65 @@ .mobile .fixed-header { width: 100%; } + + // mike, 2023-04-11 + .noselect { + -webkit-touch-callout: none; /* iOS Safari */ + -webkit-user-select: none; /* Chrome/Safari/Opera */ + -khtml-user-select: none; /* Konqueror */ + -moz-user-select: none; /* Firefox */ + -ms-user-select: none; /* Internet Explorer/Edge */ + user-select: none; /* Non-prefixed version, currently not supported by any browser */ + } + .main { + max-width: 1200px; + margin-left: auto; + margin-right: auto; + padding-left: 25px; + } + + .app-main { + width: 100%; + display: flex; + } + + .base-container { + /*50 = navbar */ + flex: 1; + height: calc(100vh - 198px); + border-radius:10px; + overflow: auto; + scrollbar-width: none; /* Firefox */ + -ms-overflow-style: none; /* IE 10+ */ + &::-webkit-scrollbar { + display: none; /* Chrome Safari */ + } + .box-card{ + .el-card__body{ + padding-top: 0; + .el-form-item--small.el-form-item{ + margin-top: 20px; + margin-bottom: 0; + } + .el-form-item--mini.el-form-item{ + margin-top: 20px; + margin-bottom: 0; + } + } + } + } + + .sidebar-box { + margin: 0 20px 0 0 ; + .box-card{ + min-height: 300px; + max-height: calc(100vh - 198px); + overflow: auto; + scrollbar-width: none; /* Firefox */ + -ms-overflow-style: none; /* IE 10+ */ + &::-webkit-scrollbar { + display: none; /* Chrome Safari */ + } + } + } </style> -- Gitblit v1.9.1