index.vue
1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<template>
<view class="message-page">
<view class="page-content">
<view class="hero-card">
<text class="hero-title">消息</text>
<text class="hero-desc">
这里预留给系统通知、预约提醒和支付结果消息。当前先完成 Tab 栏结构,后续再接真实消息数据。
</text>
</view>
<view class="placeholder-card">
<text class="section-title">当前状态</text>
<text class="section-desc">
暂无消息内容,后续可在这里接接口列表、未读计数和消息详情跳转。
</text>
</view>
</view>
<AppTabbar current="message" />
</view>
</template>
<script setup>
import AppTabbar from '@/components/AppTabbar.vue'
</script>
<style lang="less">
.message-page {
min-height: 100vh;
background:
radial-gradient(circle at top left, rgba(166, 121, 57, 0.12), transparent 28%),
linear-gradient(180deg, #fffaf4 0%, #f4f6fb 100%);
.page-content {
padding: 32rpx 24rpx 0;
box-sizing: border-box;
}
.hero-card,
.placeholder-card {
padding: 32rpx;
border-radius: 28rpx;
background: rgba(255, 255, 255, 0.94);
border: 2rpx solid rgba(166, 121, 57, 0.08);
box-shadow: 0 20rpx 60rpx rgba(15, 23, 42, 0.06);
box-sizing: border-box;
}
.hero-title,
.section-title {
display: block;
font-size: 40rpx;
font-weight: 700;
color: #111827;
}
.hero-desc,
.section-desc {
display: block;
margin-top: 16rpx;
font-size: 26rpx;
line-height: 1.8;
color: #6b7280;
}
.placeholder-card {
margin-top: 24rpx;
}
.section-title {
font-size: 30rpx;
}
}
</style>