From b445789b2ed0ab3b70291ff0bebc09c73aac7207 Mon Sep 17 00:00:00 2001
From: ZZJ <zzjdsg2300@163.com>
Date: 星期四, 16 十二月 2021 10:04:04 +0800
Subject: [PATCH] 自适应
---
public/index.html | 33 +++++++++++++++++++++++++++------
1 files changed, 27 insertions(+), 6 deletions(-)
diff --git a/public/index.html b/public/index.html
index dfcc87a..1bc2029 100644
--- a/public/index.html
+++ b/public/index.html
@@ -4,12 +4,15 @@
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
- <meta name="viewport" content="width=device-width,initial-scale=1.0" />
- <link rel="icon" type="image/png" href="<%= htmlWebpackPlugin.options.faviconPath%>" sizes="32x32" />
+ <!-- <meta name="viewport" content="width=device-width,initial-scale=1.0" /> -->
+
+ <link rel="stylesheet" href="/public//css/globalVariable.css">
+ <link rel="icon" type="image/png" href="<%= BASE_URL %>favicon.png" sizes="32x32" />
<link rel="stylesheet" href="/fonts/alibaba/iconfont.css">
<title><%= htmlWebpackPlugin.options.title %></title>
<style>
+
html,
body {
font-family: "Avenir", Helvetica, Arial, sans-serif;
@@ -61,10 +64,15 @@
color: #909399;
}
+ /* 鍏ㄥ眬鍙橀噺 */
+ :root {
+ --colorCard:#4E94FF;
+ }
+
/* reset */
html {
color: #000;
- background: #fff;
+ /* background: #fff; */
}
body,
@@ -223,7 +231,7 @@
}
.window {
- z-index: 10 !important;
+ z-index: 1001 !important;
}
.el-card__body {
@@ -367,9 +375,9 @@
cursor: pointer;
}
- /* .flex-box{
+ .flex-box{
display: flex;
- } */
+ }
.el-button--primary {
color: #FFFFFF;
background-color: #3D68E1 !important;
@@ -408,6 +416,13 @@
visibility: hidden;
}
+ /* 鍨傜洿鏂瑰悜灞呬腑dialog妗� */
+ .el-dialog {
+ margin: 0 auto !important;
+ top: 50%;
+ transform: translateY(-50%);
+ }
+
.form-tip {
color: #999;
position: relative;
@@ -433,6 +448,12 @@
text-align: center;
border: 0px solid transparent;
}
+
+ ::-webkit-scrollbar {
+ width: 6px;
+ height: 6px;
+ background-color: #f5f5f5;
+ }
</style>
</head>
--
Gitblit v1.8.0