Ver Fonte

feat:复写vuetify css属性

zhengnaiwen_citu há 1 ano atrás
pai
commit
e51f4fde82
3 ficheiros alterados com 16 adições e 1 exclusões
  1. 6 1
      index.html
  2. 9 0
      pnpm-lock.yaml
  3. 1 0
      src/views/login/index.vue

+ 6 - 1
index.html

@@ -7,10 +7,15 @@
   <meta name="viewport" content="width=device-width, initial-scale=1.0" />
   <title>%VITE_APP_TITLE%</title>
 </head>
-
 <body>
   <div id="app"></div>
   <script type="module" src="/src/main.js"></script>
 </body>
+<style>
+/* 复写vuetify css属性 */
+html {
+  overflow: auto;
+}
+</style>
 
 </html>

+ 9 - 0
pnpm-lock.yaml

@@ -11,6 +11,9 @@ importers:
       '@mdi/font':
         specifier: 7.0.96
         version: 7.0.96
+      js-cookie:
+        specifier: ^3.0.5
+        version: 3.0.5
       pinia:
         specifier: ^2.1.7
         version: 2.1.7(vue@3.4.25)
@@ -783,6 +786,10 @@ packages:
   isexe@2.0.0:
     resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==}
 
+  js-cookie@3.0.5:
+    resolution: {integrity: sha512-cEiJEAEoIbWfCZYKWhVwFuvPX1gETRYPw6LlaTKoxD3s2AkXzkCjnp6h0V77ozyqj0jakteJ4YqDJT830+lVGw==}
+    engines: {node: '>=14'}
+
   js-yaml@4.1.0:
     resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==}
     hasBin: true
@@ -1967,6 +1974,8 @@ snapshots:
 
   isexe@2.0.0: {}
 
+  js-cookie@3.0.5: {}
+
   js-yaml@4.1.0:
     dependencies:
       argparse: 2.0.1

+ 1 - 0
src/views/login/index.vue

@@ -73,6 +73,7 @@ const handleLogin = () => {
   width: 100%;
   height: 100%;
   background-image: url('https://www.menduner.com/images/userfiles/92d7e4a755e2428b94aab3636d5047f3/images/recruitment/adImages/2018/11/1920x940.jpg');
+  background-size: cover;
 }
 .login-content {
   position: absolute;