fjrcloud-community-app/pages/index/guest.vue

102 lines
2.1 KiB
Vue
Raw Normal View History

2026-04-22 20:57:53 +08:00
<template>
<s-layout title="访客管理" navbar="custom">
<view class="guest-page">
<!-- 自定义导航栏 -->
<view class="navbar">
<view class="navbar-content">
<text class="navbar-title">访客管理</text>
</view>
</view>
<!-- 空状态内容区 -->
<view class="empty-state">
<!-- 空状态图标 -->
<view class="empty-icon">
<image
class="icon-img"
src="/static/img/guest.png"
mode="aspectFit"
/>
</view>
<!-- 提示文字 -->
<text class="empty-text">功能开发中敬请期待...</text>
</view>
</view>
</s-layout>
</template>
<script setup>
import sheep from '@/sheep';
// 页面无需逻辑处理
</script>
<style lang="scss" scoped>
/* 页面容器 */
.guest-page {
min-height: 100vh;
background: linear-gradient(180deg, #FFF5F0 0%, #FFFFFF 30%);
padding-bottom: 120rpx;
}
/* 导航栏 */
.navbar {
width: 100%;
height: 88rpx;
background-color: transparent;
display: flex;
align-items: center;
justify-content: center;
padding-top: env(safe-area-inset-top);
.navbar-content {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.navbar-title {
font-size: 34rpx;
font-weight: 500;
color: #333333;
letter-spacing: 1rpx;
}
}
/* 空状态容器 */
.empty-state {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin-top: 200rpx;
/* 空状态图标 */
.empty-icon {
width: 400rpx;
height: 300rpx;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 40rpx;
.icon-img {
width: 100%;
height: 100%;
}
}
/* 提示文字 */
.empty-text {
font-size: 28rpx;
color: #999999;
text-align: center;
line-height: 1.6;
letter-spacing: 0.5rpx;
}
}
</style>