index.vue 1.65 KB
<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>