ow
This commit is contained in:
1 parent
32f237c4bf
commit
8a2adb0a92
18 files changed
+418
-53
No files matched your search
@@ -0,0 +1,44 @@
|
||||
<script setup lang="ts">
|
||||
/**
|
||||
* 底部导航「文件」测试页:先占位,后续接相册/文件功能。
|
||||
* 权限暂用 UserOperation(见 routes.ts 的 PAGE_PERMISSIONS);nav-guard 在 reLaunch 时做路由级校验,
|
||||
* 这里再挂一次 useAuthGuard 兜冷启动直达(地址栏 / file、分享链接不经过导航 API)。
|
||||
*/
|
||||
import { useAuthGuard } from "@/composables";
|
||||
|
||||
useAuthGuard();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<app-page nav-title="文件" :show-nav-back="false" :show-tabbar="true">
|
||||
<view class="tab-page">
|
||||
<text class="tab-page__title">
|
||||
文件
|
||||
</text>
|
||||
<text class="tab-page__hint">
|
||||
测试页,功能待接入
|
||||
</text>
|
||||
</view>
|
||||
</app-page>
|
||||
</template>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.tab-page {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 120rpx 40rpx;
|
||||
}
|
||||
|
||||
.tab-page__title {
|
||||
font-size: 40rpx;
|
||||
font-weight: 600;
|
||||
color: $u-main-color;
|
||||
}
|
||||
|
||||
.tab-page__hint {
|
||||
margin-top: 16rpx;
|
||||
font-size: 26rpx;
|
||||
color: $u-tips-color;
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user