Просмотр исходного кода

优化:登录界面增加返回功能

haiyang 1 неделя назад
Родитель
Сommit
d376c310f7
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      src/pages-fg/login/login.vue

+ 2 - 0
src/pages-fg/login/login.vue

@@ -1,4 +1,5 @@
 <script lang="ts" setup>
+import CustomNavigationBar from '@/components/CustomNavigationBar.vue'
 import { useTokenStore } from '@/store/token'
 import { isPageTabbar } from '@/tabbar/store'
 import { getImageUrl } from '@/utils/imageUtil'
@@ -65,6 +66,7 @@ async function doLogin() {
 
 <template>
     <view class="login-container">
+        <CustomNavigationBar :is-shadow="false" title="" background-color="transparent" />
         <!-- Logo区域 -->
         <view class="logo-section">
             <image class="logo" :src="getImageUrl('@img/index/logo.jpg')" mode="aspectFit" />