This commit is contained in:
owenchen committed 2026-10-13 17:02:14 +08:00
1 parent 32f237c4bf
commit 8a2adb0a92
18 files changed
+418 -53

No files matched your search

+44
View File
@@ -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>
+43
View File
@@ -0,0 +1,43 @@
<script setup lang="ts">
/**
* 底部导航「多媒体」测试页:先占位,后续接照片/视频/音频。
* 权限暂用 UserOperation(见 routes.ts 的 PAGE_PERMISSIONS);useAuthGuard 兜冷启动直达。
*/
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>
+43
View File
@@ -0,0 +1,43 @@
<script setup lang="ts">
/**
* 底部导航「我的」测试页:先占位,后续接个人资料/设置/关于入口。
* 权限暂用 UserOperation(见 routes.ts 的 PAGE_PERMISSIONS);useAuthGuard 兜冷启动直达。
*/
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>
+43
View File
@@ -0,0 +1,43 @@
<script setup lang="ts">
/**
* 底部导航「共享」测试页:先占位,后续接家庭组/共享管理。
* 权限暂用 UserOperation(见 routes.ts 的 PAGE_PERMISSIONS);useAuthGuard 兜冷启动直达。
*/
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>