Browse Source

mod:顶部 调整

panqiuyao 8 months ago
parent
commit
e4eaaa97c0

+ 0 - 5
frontend/src/App.vue

@@ -1,7 +1,5 @@
 
 <template>
-  <div id="app">
-
     <router-view v-slot="{ Component }">
       <keep-alive :include="keepAliveIncludes">
         <component :is="Component" />
@@ -10,9 +8,6 @@
 
     <Login v-model:dialogVisible="useUserInfoStore.loginShow" />
 
-
-
-  </div>
 </template>
 <script setup lang="ts">
 import { useRoute, useRouter } from 'vue-router'

+ 1 - 1
frontend/src/router/index.ts

@@ -5,7 +5,7 @@ import { authGuard } from './plugins/authGuard'
 const routes: RouteRecordRaw[] = [
     {
         path: "/",
-        redirect: "/photography/shot"
+        redirect: "/photography/check"
     },
     {
         path: "/home",

+ 1 - 1
frontend/src/views/Photography/check.vue

@@ -143,7 +143,7 @@ function takePictures() {
 
   background-color: rgba(234, 236, 237, 1);
   width: 100%;
-  min-height: 100vh;
+  min-height: calc(100vh - 30px);
   display: flex;
 }
 .check-page {

+ 1 - 2
frontend/src/views/Photography/shot.vue

@@ -806,8 +806,7 @@ function openPhotographyDetail() {
 .history-section {
         background-color: rgba(234, 236, 237, 1);
         width: 332px;
-        height: 100vh;
-        padding-top: 30px;
+        height: calc(100vh - 30px);
 
         .history-title {
           width: calc(100% - 20px);