Browse Source

Merge branch 'sit' of http://120.46.155.214:3000/xiaodai2022/accout-vue3-ui into sit

snow 2 years ago
parent
commit
31da83d065
2 changed files with 23 additions and 16 deletions
  1. BIN
      src/assets/welcome.jpg
  2. 23 16
      src/views/welcome/index.vue

BIN
src/assets/welcome.jpg


+ 23 - 16
src/views/welcome/index.vue

@@ -1,6 +1,7 @@
 <script setup lang="ts">
 // import { watch, h } from "vue";
-import emptyGif from "/@/assets/welcome.gif?component";
+// import emptyGif from "/@/assets/welcome.gif?component";
+import emptyGif from "/@/assets/welcome.jpg?component";
 // import { useRoute } from "vue-router";
 // import { ElMessageBox } from "element-plus";
 // import { useCompany } from "/@/hooks/core/useCompany";
@@ -34,8 +35,8 @@ import emptyGif from "/@/assets/welcome.gif?component";
 
 <template>
   <div class="welcome">
-    <div class="welcome-title">欢迎登录,采销平台结算平台</div>
-    <img :src="emptyGif" style="width: 55%; margin: -30px auto 0 auto" />
+    <!-- <div class="welcome-title">欢迎登录,采销平台结算平台</div> -->
+    <img :src="emptyGif" />
   </div>
 </template>
 
@@ -53,31 +54,37 @@ import emptyGif from "/@/assets/welcome.gif?component";
 .emptyGif {
   display: block;
   width: 100%;
+  height: 100%;
   margin: 0 auto;
+  padding: 0 0 0 0;
 }
 
 .welcome {
-  background-color: #e3e3e3;
+  // background-color: #e3e3e3;
   min-height: calc(100vh - 48px);
   width: 100%;
-  // display: flex;
-  padding: 0 6% 0 0;
+  height: calc(100vh - 48px);
+  display: flex;
+  padding: 0 0 0 0;
+  // padding: 0 6% 0 0;
   text-align: center;
   // align-items: flex-start ;
-  .welcome-title {
-    vertical-align: top;
-    padding: 0;
-    margin: 8% 0 0 18px;
-    color: #97a8be;
-    display: inline-block;
-    height: 130px;
-    line-height: 130px;
-    font-size: 50px;
-  }
+  // .welcome-title {
+  //   vertical-align: top;
+  //   padding: 0;
+  //   margin: 8% 0 0 18px;
+  //   color: #97a8be;
+  //   display: inline-block;
+  //   height: 130px;
+  //   line-height: 130px;
+  //   font-size: 50px;
+  // }
   //center;
   img {
     display: block;
     flex: 1;
+    padding: 0 0 0 0;
+    margin: 0 0 0 0;
   }
 }
 </style>