Pārlūkot izejas kodu

feat: 登录页视频背景保护色

qinlaiqiao 3 gadi atpakaļ
vecāks
revīzija
5d36795a40
2 mainītis faili ar 2 papildinājumiem un 33 dzēšanām
  1. 0 31
      src/views/HelloWorld.vue
  2. 2 2
      src/views/login/Login.vue

+ 0 - 31
src/views/HelloWorld.vue

@@ -1,31 +0,0 @@
-<script setup lang="ts">
-import {ref} from 'vue'
-
-defineProps<{ msg: string }>()
-
-const count = ref(0)
-
-</script>
-
-<template>
-  <h1>{{ msg }}</h1>
-  <el-button type="primary">这是一个按钮</el-button>
-</template>
-
-<style scoped>
-a {
-  color: #42b983;
-}
-
-label {
-  margin: 0 0.5em;
-  font-weight: bold;
-}
-
-code {
-  background-color: #eee;
-  padding: 2px 4px;
-  border-radius: 4px;
-  color: #304455;
-}
-</style>

+ 2 - 2
src/views/login/Login.vue

@@ -102,10 +102,10 @@ const {
 
 .login-page {
   @apply w-full h-full overflow-hidden;
-  //background-color: #011531;
+  background-color: #011531;
 
   .video-bg {
-    @apply fixed -z-10 right-0 bottom-0 min-w-full min-h-full h-auto w-auto object-fill;
+    @apply fixed z-0 right-0 bottom-0 min-w-full min-h-full h-auto w-auto object-fill;
     filter: brightness(0.45);
   }