2026-01-09 11:24:40 +08:00
|
|
|
|
<template>
|
2026-02-24 15:22:58 +08:00
|
|
|
|
<view
|
|
|
|
|
|
class="home-container"
|
2026-02-26 09:36:04 +08:00
|
|
|
|
:style="{ paddingTop: statusBarHeight + 54 + 'px' }"
|
2026-02-24 15:22:58 +08:00
|
|
|
|
>
|
2026-02-23 22:36:31 +08:00
|
|
|
|
<!-- 顶部用户信息栏 -->
|
2026-02-26 09:36:04 +08:00
|
|
|
|
<view
|
|
|
|
|
|
class="header-section"
|
|
|
|
|
|
:style="{ paddingTop: statusBarHeight + 4 + 'px' }"
|
|
|
|
|
|
>
|
2026-02-23 22:36:31 +08:00
|
|
|
|
<view class="user-info">
|
|
|
|
|
|
<image
|
|
|
|
|
|
class="user-avatar"
|
|
|
|
|
|
:src="userInfo.avatarUrl || '/static/default-avatar.png'"
|
|
|
|
|
|
mode="aspectFill"
|
|
|
|
|
|
/>
|
|
|
|
|
|
<view class="user-texts">
|
2026-02-24 15:46:42 +08:00
|
|
|
|
<text class="greeting-info">{{ greetingText }}</text>
|
2026-02-25 21:49:36 +08:00
|
|
|
|
<view class="name-row">
|
|
|
|
|
|
<text class="user-name" @tap="handleLogin">
|
|
|
|
|
|
{{ userInfo.nickName || "点击登录" }}
|
|
|
|
|
|
</text>
|
2026-02-28 20:31:45 +08:00
|
|
|
|
<view
|
|
|
|
|
|
class="user-points"
|
|
|
|
|
|
v-if="isLoggedIn"
|
|
|
|
|
|
@tap.stop="showPointsRules"
|
|
|
|
|
|
>
|
2026-02-25 21:49:36 +08:00
|
|
|
|
<text class="points-label">积分</text>
|
|
|
|
|
|
<text class="points-value">{{ userPoints }}</text>
|
2026-02-28 20:31:45 +08:00
|
|
|
|
<uni-icons
|
|
|
|
|
|
type="help"
|
|
|
|
|
|
size="14"
|
|
|
|
|
|
color="#ff5722"
|
|
|
|
|
|
style="margin-left: 4rpx"
|
|
|
|
|
|
/>
|
2026-02-25 21:49:36 +08:00
|
|
|
|
</view>
|
2026-02-25 21:47:42 +08:00
|
|
|
|
</view>
|
2026-02-24 15:22:58 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
2026-02-08 19:07:06 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
|
2026-02-25 23:59:11 +08:00
|
|
|
|
<!-- Lucky Card (New Design) -->
|
|
|
|
|
|
<view class="lucky-card">
|
2026-02-26 10:17:17 +08:00
|
|
|
|
<view class="card-toggle" @tap="toggleCardMode">
|
|
|
|
|
|
<uni-icons
|
|
|
|
|
|
:type="cardMode === 'lucky' ? 'calendar' : 'star'"
|
|
|
|
|
|
size="18"
|
|
|
|
|
|
color="#d81e06"
|
|
|
|
|
|
/>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Lucky Mode -->
|
|
|
|
|
|
<block v-if="cardMode === 'lucky'">
|
|
|
|
|
|
<view class="lucky-left">
|
|
|
|
|
|
<view class="date-group">
|
|
|
|
|
|
<text class="date-val">{{ currentDate.day }}</text>
|
|
|
|
|
|
<view class="date-sub">
|
|
|
|
|
|
<text class="date-month">{{ currentDate.month }}月</text>
|
|
|
|
|
|
<text class="date-year">{{ currentDate.year }}</text>
|
|
|
|
|
|
</view>
|
2026-02-26 10:06:03 +08:00
|
|
|
|
</view>
|
2026-02-24 15:22:58 +08:00
|
|
|
|
</view>
|
2026-02-26 10:17:17 +08:00
|
|
|
|
<view class="lucky-divider"></view>
|
|
|
|
|
|
<view class="lucky-middle">
|
|
|
|
|
|
<view class="lucky-tags">
|
|
|
|
|
|
<text class="tag-yi">宜 {{ lunarDate.yi.split("、")[0] }}</text>
|
|
|
|
|
|
<text class="tag-ji">忌 {{ lunarDate.ji.split("、")[0] }}</text>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<text class="lucky-lunar"
|
|
|
|
|
|
>农历 {{ lunarDate.month }}{{ lunarDate.day }}</text
|
|
|
|
|
|
>
|
2026-02-23 22:36:31 +08:00
|
|
|
|
</view>
|
2026-02-26 10:17:17 +08:00
|
|
|
|
<button class="lucky-btn" @tap="onOpenLucky">
|
|
|
|
|
|
<uni-icons
|
|
|
|
|
|
type="star-filled"
|
|
|
|
|
|
size="16"
|
|
|
|
|
|
color="#fff"
|
|
|
|
|
|
style="margin-right: 4rpx"
|
|
|
|
|
|
/>
|
2026-02-28 09:34:11 +08:00
|
|
|
|
<text>{{
|
2026-02-28 09:45:26 +08:00
|
|
|
|
signInfo.isSignedToday ? "今日好运已开启" : "签到抽取好运"
|
2026-02-28 09:34:11 +08:00
|
|
|
|
}}</text>
|
2026-02-26 10:17:17 +08:00
|
|
|
|
</button>
|
|
|
|
|
|
</block>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Calendar Mode -->
|
|
|
|
|
|
<block v-else>
|
|
|
|
|
|
<view class="calendar-mode">
|
|
|
|
|
|
<view class="sign-header">
|
|
|
|
|
|
<text class="sign-title"
|
|
|
|
|
|
>已连续签到
|
|
|
|
|
|
<text class="highlight">{{ signInfo.continuousDays || 0 }}</text>
|
|
|
|
|
|
天</text
|
|
|
|
|
|
>
|
|
|
|
|
|
<text class="sign-tip">连续7天得大奖</text>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="week-days">
|
|
|
|
|
|
<view
|
|
|
|
|
|
class="day-item"
|
|
|
|
|
|
v-for="(day, index) in weekDays"
|
|
|
|
|
|
:key="index"
|
|
|
|
|
|
:class="{ 'is-today': day.isToday, 'is-signed': day.isSigned }"
|
|
|
|
|
|
>
|
|
|
|
|
|
<text class="day-label">{{ day.label }}</text>
|
|
|
|
|
|
<view class="status-icon">
|
|
|
|
|
|
<uni-icons
|
|
|
|
|
|
v-if="day.isSigned"
|
|
|
|
|
|
type="checkmarkempty"
|
|
|
|
|
|
size="12"
|
|
|
|
|
|
color="#fff"
|
|
|
|
|
|
/>
|
|
|
|
|
|
<uni-icons
|
|
|
|
|
|
v-else-if="day.isToday && !day.isSigned"
|
|
|
|
|
|
type="plus"
|
|
|
|
|
|
size="12"
|
|
|
|
|
|
color="#d81e06"
|
|
|
|
|
|
/>
|
|
|
|
|
|
<text v-else class="dot"></text>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</block>
|
2026-02-25 23:59:11 +08:00
|
|
|
|
</view>
|
2026-01-09 11:24:40 +08:00
|
|
|
|
|
2026-02-28 09:34:11 +08:00
|
|
|
|
<!-- Special Topic Card -->
|
|
|
|
|
|
<view class="special-topic-card" v-if="specialTopic">
|
|
|
|
|
|
<view class="topic-left">
|
|
|
|
|
|
<text class="topic-title">{{ specialTopic.sceneName }}</text>
|
|
|
|
|
|
<text class="topic-subtitle">{{ specialTopic.sceneDesc }}</text>
|
|
|
|
|
|
<text class="topic-blessing">{{ specialTopic.sceneBlessing }}</text>
|
|
|
|
|
|
<button class="topic-btn" @tap="navToSpecial">
|
|
|
|
|
|
{{ specialTopic.btnText }}
|
|
|
|
|
|
<uni-icons type="right" size="12" color="#fff" />
|
|
|
|
|
|
</button>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="topic-right">
|
|
|
|
|
|
<image
|
|
|
|
|
|
class="topic-img"
|
|
|
|
|
|
:src="specialTopic.imageUrl"
|
|
|
|
|
|
mode="aspectFit"
|
|
|
|
|
|
/>
|
|
|
|
|
|
<!-- Decor circles -->
|
|
|
|
|
|
<view class="decor-circle circle-1"></view>
|
|
|
|
|
|
<view class="decor-circle circle-2"></view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
2026-02-25 23:59:11 +08:00
|
|
|
|
<!-- Make Card Scenes -->
|
|
|
|
|
|
<view class="section-container">
|
|
|
|
|
|
<view class="section-header">
|
|
|
|
|
|
<view class="title-left-decor"></view>
|
2026-02-26 09:36:04 +08:00
|
|
|
|
<text class="section-title">贺卡制作</text>
|
2026-02-24 15:22:58 +08:00
|
|
|
|
</view>
|
2026-02-25 23:59:11 +08:00
|
|
|
|
<scroll-view class="scene-scroll" scroll-x="true" show-scrollbar="false">
|
|
|
|
|
|
<view class="scene-list">
|
|
|
|
|
|
<view
|
|
|
|
|
|
class="scene-item"
|
|
|
|
|
|
v-for="(item, index) in sceneList"
|
|
|
|
|
|
:key="index"
|
|
|
|
|
|
@tap="navToMake(item)"
|
|
|
|
|
|
>
|
|
|
|
|
|
<view class="scene-icon-box">
|
|
|
|
|
|
<image :src="item.icon" mode="aspectFit" class="scene-icon" />
|
2026-02-25 15:20:30 +08:00
|
|
|
|
</view>
|
2026-02-25 23:59:11 +08:00
|
|
|
|
<text class="scene-name">{{ item.name }}</text>
|
2026-02-24 15:22:58 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
2026-02-25 23:59:11 +08:00
|
|
|
|
</scroll-view>
|
2026-02-23 22:36:31 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
|
2026-02-25 23:59:11 +08:00
|
|
|
|
<!-- Popular Wallpapers -->
|
|
|
|
|
|
<view class="section-container">
|
2026-02-24 15:22:58 +08:00
|
|
|
|
<view class="section-header">
|
|
|
|
|
|
<view class="title-left-decor"></view>
|
2026-02-26 09:27:00 +08:00
|
|
|
|
<text class="section-title">热门壁纸</text>
|
2026-02-25 23:59:11 +08:00
|
|
|
|
<view class="header-right" @tap="navTo('/pages/wallpaper/index')">
|
2026-02-26 09:59:17 +08:00
|
|
|
|
<view class="more-btn">
|
|
|
|
|
|
<text class="more-text">查看全部</text>
|
|
|
|
|
|
<uni-icons type="right" size="12" color="#ff5722" />
|
|
|
|
|
|
</view>
|
2026-02-24 15:22:58 +08:00
|
|
|
|
</view>
|
2026-02-25 23:59:11 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
<scroll-view
|
|
|
|
|
|
class="wallpaper-scroll"
|
|
|
|
|
|
scroll-x="true"
|
|
|
|
|
|
show-scrollbar="false"
|
|
|
|
|
|
>
|
|
|
|
|
|
<view class="wallpaper-list">
|
|
|
|
|
|
<view
|
|
|
|
|
|
class="wallpaper-item"
|
|
|
|
|
|
v-for="item in wallpaperList"
|
|
|
|
|
|
:key="item.id"
|
|
|
|
|
|
@tap="navToWallpaper(item)"
|
|
|
|
|
|
>
|
|
|
|
|
|
<image
|
2026-02-26 15:14:55 +08:00
|
|
|
|
:src="getThumbUrl(item.imageUrl)"
|
2026-02-25 23:59:11 +08:00
|
|
|
|
mode="aspectFill"
|
|
|
|
|
|
class="wallpaper-img"
|
|
|
|
|
|
/>
|
|
|
|
|
|
<text class="wallpaper-name">{{ item.title }}</text>
|
2026-02-24 15:22:58 +08:00
|
|
|
|
</view>
|
2026-01-22 23:54:56 +08:00
|
|
|
|
</view>
|
2026-02-25 23:59:11 +08:00
|
|
|
|
</scroll-view>
|
2026-01-22 23:54:56 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
|
2026-02-25 23:59:11 +08:00
|
|
|
|
<!-- Trending Avatars -->
|
2026-02-24 15:22:58 +08:00
|
|
|
|
<view class="section-container">
|
|
|
|
|
|
<view class="section-header">
|
|
|
|
|
|
<view class="title-left-decor"></view>
|
2026-02-26 09:27:00 +08:00
|
|
|
|
<text class="section-title">爆款头像</text>
|
2026-02-26 10:30:25 +08:00
|
|
|
|
<view class="header-right" @tap="navTo('/pages/avatar/download')">
|
2026-02-26 09:59:17 +08:00
|
|
|
|
<view class="more-btn">
|
2026-02-26 09:27:00 +08:00
|
|
|
|
<text class="more-text">查看全部</text>
|
2026-02-26 09:59:17 +08:00
|
|
|
|
<uni-icons type="right" size="12" color="#ff5722" />
|
2026-02-26 09:27:00 +08:00
|
|
|
|
</view>
|
2026-02-24 15:22:58 +08:00
|
|
|
|
</view>
|
2026-01-09 11:24:40 +08:00
|
|
|
|
</view>
|
2026-02-25 23:59:11 +08:00
|
|
|
|
<scroll-view class="avatar-scroll" scroll-x="true" show-scrollbar="false">
|
|
|
|
|
|
<view class="avatar-list">
|
|
|
|
|
|
<view
|
|
|
|
|
|
class="avatar-item"
|
|
|
|
|
|
v-for="item in avatarList"
|
|
|
|
|
|
:key="item.id"
|
|
|
|
|
|
@tap="navToAvatar(item)"
|
|
|
|
|
|
>
|
|
|
|
|
|
<image
|
2026-02-26 15:14:55 +08:00
|
|
|
|
:src="getThumbUrl(item.imageUrl)"
|
2026-02-25 23:59:11 +08:00
|
|
|
|
mode="aspectFill"
|
|
|
|
|
|
class="avatar-img"
|
|
|
|
|
|
/>
|
|
|
|
|
|
<text class="avatar-name">{{ item.title }}</text>
|
2026-02-24 15:22:58 +08:00
|
|
|
|
</view>
|
2026-01-09 11:24:40 +08:00
|
|
|
|
</view>
|
2026-02-25 23:59:11 +08:00
|
|
|
|
</scroll-view>
|
2026-01-09 11:24:40 +08:00
|
|
|
|
</view>
|
2026-02-24 15:22:58 +08:00
|
|
|
|
|
|
|
|
|
|
<!-- Floating Share Button -->
|
2026-02-24 17:43:36 +08:00
|
|
|
|
<!-- <button class="float-share-btn" open-type="share">
|
2026-02-24 15:22:58 +08:00
|
|
|
|
<uni-icons type="upload" size="18" color="#d81e06" />
|
|
|
|
|
|
<text>分享今日运势</text>
|
2026-02-24 17:43:36 +08:00
|
|
|
|
</button> -->
|
2026-02-24 15:22:58 +08:00
|
|
|
|
|
2026-02-25 23:42:38 +08:00
|
|
|
|
<!-- <view class="bottom-spacer"></view> -->
|
2026-02-24 16:26:12 +08:00
|
|
|
|
|
|
|
|
|
|
<!-- 登录弹窗 -->
|
2026-02-24 17:32:45 +08:00
|
|
|
|
<LoginPopup />
|
|
|
|
|
|
<!-- 运势抽奖弹窗 -->
|
|
|
|
|
|
<LuckyPopup ref="luckyPopupRef" />
|
2026-02-25 21:47:42 +08:00
|
|
|
|
<RewardAd ref="rewardAdRef" @onReward="handleAdReward" />
|
2026-02-28 20:31:45 +08:00
|
|
|
|
|
|
|
|
|
|
<!-- 积分规则弹窗 -->
|
|
|
|
|
|
<uni-popup ref="rulesPopup" type="center">
|
|
|
|
|
|
<view class="rules-modal">
|
|
|
|
|
|
<view class="rules-header">
|
|
|
|
|
|
<text class="rules-title">积分获取规则</text>
|
|
|
|
|
|
<uni-icons
|
|
|
|
|
|
type="closeempty"
|
|
|
|
|
|
size="20"
|
|
|
|
|
|
color="#999"
|
|
|
|
|
|
@tap="closeRules"
|
|
|
|
|
|
/>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="rules-content">
|
|
|
|
|
|
<view class="rule-item">
|
|
|
|
|
|
<uni-icons type="paperplane-filled" size="18" color="#ff9800" />
|
|
|
|
|
|
<text class="rule-text">分享好友:+10积分 (每日限3次)</text>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="rule-item">
|
|
|
|
|
|
<uni-icons type="person-filled" size="18" color="#ff9800" />
|
|
|
|
|
|
<text class="rule-text">每日登录:+20积分</text>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="rule-item">
|
|
|
|
|
|
<uni-icons type="calendar-filled" size="18" color="#ff9800" />
|
|
|
|
|
|
<text class="rule-text">每日签到:+40积分</text>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="rule-item">
|
|
|
|
|
|
<uni-icons type="videocam-filled" size="18" color="#ff9800" />
|
|
|
|
|
|
<text class="rule-text">观看广告:+50积分</text>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<button class="rules-btn" @tap="closeRules">我知道了</button>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</uni-popup>
|
2026-01-09 11:24:40 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script setup>
|
2026-02-28 09:45:26 +08:00
|
|
|
|
import { ref, computed } from "vue";
|
2026-02-24 15:22:58 +08:00
|
|
|
|
import { getStatusBarHeight } from "@/utils/system";
|
2026-02-26 15:18:15 +08:00
|
|
|
|
import {
|
|
|
|
|
|
onShareAppMessage,
|
|
|
|
|
|
onShareTimeline,
|
|
|
|
|
|
onShow,
|
|
|
|
|
|
onPullDownRefresh,
|
2026-02-28 09:45:26 +08:00
|
|
|
|
onLoad,
|
2026-02-26 15:18:15 +08:00
|
|
|
|
} from "@dcloudio/uni-app";
|
2026-02-23 22:36:31 +08:00
|
|
|
|
import { useUserStore } from "@/stores/user";
|
2026-02-26 15:14:55 +08:00
|
|
|
|
import {
|
|
|
|
|
|
watchAdReward,
|
|
|
|
|
|
getRandomRecommendList,
|
2026-02-28 09:34:11 +08:00
|
|
|
|
getCardSpecialTopic,
|
2026-02-28 23:22:35 +08:00
|
|
|
|
getShareReward,
|
2026-02-26 15:14:55 +08:00
|
|
|
|
} from "@/api/system";
|
2026-02-28 15:21:32 +08:00
|
|
|
|
import { getUserSignInfo, userSignIn, getUserLuckInfo } from "@/api/user";
|
2026-02-26 10:10:27 +08:00
|
|
|
|
import calendar from "@/utils/lunar";
|
2026-02-28 23:22:35 +08:00
|
|
|
|
import { getShareToken } from "@/utils/common.js";
|
2026-01-09 11:24:40 +08:00
|
|
|
|
|
2026-02-24 16:26:12 +08:00
|
|
|
|
import LoginPopup from "@/components/LoginPopup/LoginPopup.vue";
|
2026-02-24 17:32:45 +08:00
|
|
|
|
import LuckyPopup from "@/components/LuckyPopup/LuckyPopup.vue";
|
2026-02-25 21:47:42 +08:00
|
|
|
|
import RewardAd from "@/components/RewardAd/RewardAd.vue";
|
2026-02-24 16:26:12 +08:00
|
|
|
|
|
2026-02-23 22:36:31 +08:00
|
|
|
|
const userStore = useUserStore();
|
2026-02-24 15:22:58 +08:00
|
|
|
|
const statusBarHeight = ref(getStatusBarHeight());
|
2026-02-24 16:26:12 +08:00
|
|
|
|
const loginPopupRef = ref(null);
|
2026-02-24 17:32:45 +08:00
|
|
|
|
const luckyPopupRef = ref(null);
|
2026-02-25 21:47:42 +08:00
|
|
|
|
const rewardAdRef = ref(null);
|
2026-02-28 20:31:45 +08:00
|
|
|
|
const rulesPopup = ref(null);
|
2026-02-24 15:46:42 +08:00
|
|
|
|
const userInfo = computed(() => userStore?.userInfo || {});
|
2026-02-24 17:32:45 +08:00
|
|
|
|
const isLoggedIn = computed(() => !!userStore.userInfo.nickName);
|
2026-02-25 21:47:42 +08:00
|
|
|
|
const userPoints = computed(() => userStore.userInfo.points || 0);
|
2026-02-25 14:50:47 +08:00
|
|
|
|
const signInfo = ref({}); // 用户签到信息
|
2026-02-26 10:17:17 +08:00
|
|
|
|
const cardMode = ref("lucky"); // 'lucky' or 'calendar'
|
|
|
|
|
|
|
|
|
|
|
|
const toggleCardMode = () => {
|
|
|
|
|
|
cardMode.value = cardMode.value === "lucky" ? "calendar" : "lucky";
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
const weekDays = computed(() => {
|
|
|
|
|
|
const now = new Date();
|
|
|
|
|
|
const todayStr =
|
|
|
|
|
|
signInfo.value.today ||
|
|
|
|
|
|
`${now.getFullYear()}-${String(now.getMonth() + 1).padStart(2, "0")}-${String(now.getDate()).padStart(2, "0")}`;
|
|
|
|
|
|
|
|
|
|
|
|
const current = new Date(todayStr);
|
|
|
|
|
|
const day = current.getDay() || 7; // 1 (Mon) - 7 (Sun)
|
|
|
|
|
|
const monday = new Date(current);
|
|
|
|
|
|
monday.setDate(current.getDate() - day + 1);
|
|
|
|
|
|
|
|
|
|
|
|
const days = [];
|
|
|
|
|
|
const labels = ["周一", "周二", "周三", "周四", "周五", "周六", "周日"];
|
|
|
|
|
|
const signedDays = signInfo.value.signedDays || [];
|
|
|
|
|
|
|
|
|
|
|
|
for (let i = 0; i < 7; i++) {
|
|
|
|
|
|
const d = new Date(monday);
|
|
|
|
|
|
d.setDate(monday.getDate() + i);
|
|
|
|
|
|
const y = d.getFullYear();
|
|
|
|
|
|
const m = String(d.getMonth() + 1).padStart(2, "0");
|
|
|
|
|
|
const da = String(d.getDate()).padStart(2, "0");
|
|
|
|
|
|
const dateStr = `${y}-${m}-${da}`;
|
|
|
|
|
|
|
|
|
|
|
|
let isSigned = false;
|
|
|
|
|
|
const isToday = dateStr === todayStr;
|
|
|
|
|
|
|
|
|
|
|
|
if (signedDays.includes(i + 1)) {
|
|
|
|
|
|
isSigned = true;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
days.push({
|
|
|
|
|
|
label: labels[i],
|
|
|
|
|
|
date: dateStr,
|
|
|
|
|
|
isToday,
|
|
|
|
|
|
isSigned,
|
|
|
|
|
|
});
|
|
|
|
|
|
}
|
|
|
|
|
|
return days;
|
|
|
|
|
|
});
|
2026-02-24 17:32:45 +08:00
|
|
|
|
|
2026-02-24 15:46:42 +08:00
|
|
|
|
const greetingText = computed(() => {
|
|
|
|
|
|
const hour = new Date().getHours();
|
|
|
|
|
|
if (hour < 6) return "凌晨好";
|
|
|
|
|
|
if (hour < 9) return "早上好";
|
|
|
|
|
|
if (hour < 12) return "上午好";
|
|
|
|
|
|
if (hour < 14) return "中午好";
|
|
|
|
|
|
if (hour < 17) return "下午好";
|
|
|
|
|
|
if (hour < 19) return "傍晚好";
|
|
|
|
|
|
return "晚上好";
|
|
|
|
|
|
});
|
|
|
|
|
|
|
2026-02-25 21:17:47 +08:00
|
|
|
|
const getThumbUrl = (url) => {
|
2026-02-25 21:37:18 +08:00
|
|
|
|
if (!url) return "";
|
|
|
|
|
|
return `${url}?imageView2/1/w/200/h/200/q/80`;
|
2026-02-25 21:17:47 +08:00
|
|
|
|
};
|
|
|
|
|
|
|
2026-02-24 15:46:42 +08:00
|
|
|
|
const handleLogin = () => {
|
|
|
|
|
|
if (!userInfo.value.nickName) {
|
2026-02-24 17:32:45 +08:00
|
|
|
|
uni.$emit("show-login-popup");
|
2026-02-24 15:46:42 +08:00
|
|
|
|
}
|
|
|
|
|
|
};
|
2026-02-25 23:59:11 +08:00
|
|
|
|
const luckyScore = ref(92);
|
2026-01-22 22:19:41 +08:00
|
|
|
|
|
2026-02-26 10:06:03 +08:00
|
|
|
|
const currentDate = computed(() => {
|
|
|
|
|
|
const now = new Date();
|
|
|
|
|
|
return {
|
|
|
|
|
|
year: now.getFullYear(),
|
|
|
|
|
|
month: now.getMonth() + 1,
|
|
|
|
|
|
day: now.getDate(),
|
|
|
|
|
|
};
|
|
|
|
|
|
});
|
|
|
|
|
|
|
2026-02-26 10:10:27 +08:00
|
|
|
|
// 农历数据
|
|
|
|
|
|
const lunarDate = computed(() => {
|
|
|
|
|
|
const date = new Date();
|
|
|
|
|
|
const lunar = calendar.solar2lunar(date);
|
|
|
|
|
|
return {
|
|
|
|
|
|
year: lunar.lYear,
|
|
|
|
|
|
month: lunar.monthCn,
|
|
|
|
|
|
day: lunar.dayCn,
|
|
|
|
|
|
yi: "团聚、访友、祈福",
|
|
|
|
|
|
ji: "远行、搬家",
|
|
|
|
|
|
};
|
2026-01-22 22:19:41 +08:00
|
|
|
|
});
|
2026-02-24 15:22:58 +08:00
|
|
|
|
|
2026-02-25 23:59:11 +08:00
|
|
|
|
const sceneList = ref([
|
2026-02-27 18:04:30 +08:00
|
|
|
|
{ id: 3, name: "每日问候", icon: "/static/icon/yunshi.png", scene: "daily" },
|
2026-02-25 23:59:11 +08:00
|
|
|
|
{
|
|
|
|
|
|
id: 2,
|
|
|
|
|
|
name: "生日纪念",
|
|
|
|
|
|
icon: "/static/icon/guashi.png",
|
2026-02-26 17:41:32 +08:00
|
|
|
|
scene: "birthday",
|
2026-02-25 23:59:11 +08:00
|
|
|
|
},
|
2026-02-26 17:41:32 +08:00
|
|
|
|
{ id: 4, name: "情感表达", icon: "/static/icon/hongbao.png", scene: "love" },
|
2026-02-27 18:04:30 +08:00
|
|
|
|
{
|
|
|
|
|
|
id: 1,
|
|
|
|
|
|
name: "节日祝福",
|
|
|
|
|
|
icon: "/static/icon/celebrate.png",
|
|
|
|
|
|
scene: "holiday",
|
|
|
|
|
|
},
|
2026-02-25 23:59:11 +08:00
|
|
|
|
]);
|
|
|
|
|
|
|
|
|
|
|
|
const wallpaperList = ref([]);
|
|
|
|
|
|
const avatarList = ref([]);
|
2026-01-28 15:44:30 +08:00
|
|
|
|
|
2026-02-28 09:45:26 +08:00
|
|
|
|
onLoad(() => {
|
2026-02-25 14:50:47 +08:00
|
|
|
|
fetchUserSingInfo(); // 获取用户签到信息
|
2026-02-25 23:59:11 +08:00
|
|
|
|
fetchHomeData();
|
2026-02-28 09:34:11 +08:00
|
|
|
|
fetchSpecialTopic();
|
2026-02-24 15:22:58 +08:00
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
onShow(() => {
|
2026-02-26 15:18:15 +08:00
|
|
|
|
fetchHomeData();
|
|
|
|
|
|
fetchUserSingInfo();
|
2026-02-28 09:34:11 +08:00
|
|
|
|
fetchSpecialTopic();
|
2026-02-26 15:18:15 +08:00
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
onPullDownRefresh(() => {
|
|
|
|
|
|
fetchHomeData();
|
|
|
|
|
|
fetchUserSingInfo();
|
2026-02-28 09:34:11 +08:00
|
|
|
|
fetchSpecialTopic();
|
2026-02-23 22:36:31 +08:00
|
|
|
|
});
|
2026-01-28 15:44:30 +08:00
|
|
|
|
|
2026-02-28 09:34:11 +08:00
|
|
|
|
const specialTopic = ref(null);
|
|
|
|
|
|
|
|
|
|
|
|
const fetchSpecialTopic = async () => {
|
|
|
|
|
|
try {
|
|
|
|
|
|
const res = await getCardSpecialTopic();
|
|
|
|
|
|
if (res && res.sceneName) {
|
|
|
|
|
|
specialTopic.value = res;
|
|
|
|
|
|
} else {
|
|
|
|
|
|
specialTopic.value = null;
|
|
|
|
|
|
}
|
|
|
|
|
|
} catch (e) {
|
|
|
|
|
|
console.error("fetchSpecialTopic error", e);
|
|
|
|
|
|
}
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
const navToSpecial = () => {
|
|
|
|
|
|
if (specialTopic.value && specialTopic.value.scene) {
|
|
|
|
|
|
uni.navigateTo({
|
|
|
|
|
|
url: `/pages/make/index?scene=${specialTopic.value.scene}`,
|
|
|
|
|
|
});
|
|
|
|
|
|
}
|
|
|
|
|
|
};
|
|
|
|
|
|
|
2026-02-25 14:50:47 +08:00
|
|
|
|
const fetchUserSingInfo = async () => {
|
|
|
|
|
|
if (!isLoggedIn.value) return;
|
|
|
|
|
|
const res = await getUserSignInfo();
|
|
|
|
|
|
signInfo.value = res || {};
|
|
|
|
|
|
};
|
|
|
|
|
|
|
2026-02-25 23:59:11 +08:00
|
|
|
|
const fetchHomeData = async () => {
|
2026-02-25 21:17:47 +08:00
|
|
|
|
try {
|
2026-02-25 23:59:11 +08:00
|
|
|
|
const [wallpapers, avatars] = await Promise.all([
|
2026-02-26 15:14:55 +08:00
|
|
|
|
getRandomRecommendList("wallpaper_download"),
|
|
|
|
|
|
getRandomRecommendList("avatar_download"),
|
2026-02-25 23:59:11 +08:00
|
|
|
|
]);
|
|
|
|
|
|
|
|
|
|
|
|
if (wallpapers && Array.isArray(wallpapers)) {
|
2026-02-26 09:27:00 +08:00
|
|
|
|
wallpaperList.value = wallpapers;
|
2026-02-25 23:59:11 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (avatars && Array.isArray(avatars)) {
|
2026-02-26 09:27:00 +08:00
|
|
|
|
avatarList.value = avatars;
|
2026-02-25 21:17:47 +08:00
|
|
|
|
}
|
|
|
|
|
|
} catch (e) {
|
2026-02-25 23:59:11 +08:00
|
|
|
|
console.error("fetchHomeData error", e);
|
2026-02-26 15:18:15 +08:00
|
|
|
|
} finally {
|
|
|
|
|
|
uni.stopPullDownRefresh();
|
2026-02-25 21:17:47 +08:00
|
|
|
|
}
|
2026-01-28 15:44:30 +08:00
|
|
|
|
};
|
|
|
|
|
|
|
2026-02-25 23:59:11 +08:00
|
|
|
|
const navTo = (url) => {
|
|
|
|
|
|
uni.navigateTo({ url });
|
2026-01-28 15:44:30 +08:00
|
|
|
|
};
|
|
|
|
|
|
|
2026-02-25 23:59:11 +08:00
|
|
|
|
const navToMake = (item) => {
|
2026-03-01 22:35:20 +08:00
|
|
|
|
if (item.scene === "daily") {
|
|
|
|
|
|
uni.navigateTo({ url: "/pages/greeting/daily" });
|
|
|
|
|
|
return;
|
|
|
|
|
|
}
|
2026-02-26 17:41:32 +08:00
|
|
|
|
uni.navigateTo({ url: `/pages/make/index?scene=${item.scene}` });
|
2026-02-24 15:22:58 +08:00
|
|
|
|
};
|
|
|
|
|
|
|
2026-02-25 23:59:11 +08:00
|
|
|
|
const navToWallpaper = (item) => {
|
2026-02-26 15:14:55 +08:00
|
|
|
|
const imageUrl = encodeURIComponent(item.imageUrl || "");
|
2026-02-26 10:51:06 +08:00
|
|
|
|
uni.navigateTo({
|
2026-02-26 15:14:55 +08:00
|
|
|
|
url: `/pages/wallpaper/detail?id=${item.id}&imageUrl=${imageUrl}&categoryId=${item.categoryId}`,
|
2026-02-26 10:51:06 +08:00
|
|
|
|
});
|
2026-02-25 23:59:11 +08:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
const navToAvatar = (item) => {
|
2026-02-26 15:14:55 +08:00
|
|
|
|
const query = `recommendId=${item.id || ""}&type=avatar&imageUrl=${encodeURIComponent(item?.imageUrl || "")}`;
|
2026-02-26 09:52:42 +08:00
|
|
|
|
uni.navigateTo({ url: `/pages/avatar/index?${query}` });
|
2026-01-28 15:44:30 +08:00
|
|
|
|
};
|
|
|
|
|
|
|
2026-02-25 15:20:30 +08:00
|
|
|
|
const onOpenLucky = async () => {
|
2026-02-24 17:32:45 +08:00
|
|
|
|
if (!isLoggedIn.value) {
|
|
|
|
|
|
uni.$emit("show-login-popup");
|
|
|
|
|
|
return;
|
|
|
|
|
|
}
|
2026-02-25 15:20:30 +08:00
|
|
|
|
|
|
|
|
|
|
if (signInfo.value.isSignedToday) {
|
2026-02-28 15:21:32 +08:00
|
|
|
|
uni.showLoading({ title: "加载中..." });
|
|
|
|
|
|
try {
|
|
|
|
|
|
const luckRes = await getUserLuckInfo();
|
|
|
|
|
|
luckyPopupRef.value?.open(luckRes, true);
|
|
|
|
|
|
} catch (e) {
|
|
|
|
|
|
console.error(e);
|
|
|
|
|
|
uni.showToast({ title: "获取好运信息失败", icon: "none" });
|
|
|
|
|
|
} finally {
|
|
|
|
|
|
uni.hideLoading();
|
|
|
|
|
|
}
|
2026-02-25 15:20:30 +08:00
|
|
|
|
return;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-28 15:21:32 +08:00
|
|
|
|
uni.showLoading({ title: "开启好运...", mask: true });
|
2026-02-25 15:20:30 +08:00
|
|
|
|
try {
|
|
|
|
|
|
const res = await userSignIn();
|
|
|
|
|
|
if (res && res.success) {
|
|
|
|
|
|
signInfo.value.continuousDays = res.continuousDays;
|
|
|
|
|
|
signInfo.value.isSignedToday = true;
|
|
|
|
|
|
if (typeof res.totalDays === "number") {
|
|
|
|
|
|
signInfo.value.totalDays = res.totalDays;
|
2026-02-25 16:34:35 +08:00
|
|
|
|
}
|
2026-02-25 23:59:11 +08:00
|
|
|
|
fetchUserSingInfo();
|
2026-02-25 15:20:30 +08:00
|
|
|
|
userStore.fetchUserAssets();
|
2026-02-28 15:21:32 +08:00
|
|
|
|
|
|
|
|
|
|
// 获取好运信息
|
|
|
|
|
|
const luckRes = await getUserLuckInfo();
|
|
|
|
|
|
luckyPopupRef.value?.open(luckRes, false);
|
|
|
|
|
|
|
2026-02-28 09:34:11 +08:00
|
|
|
|
uni.showToast({ title: "获取40积分", icon: "none" });
|
2026-02-25 15:20:30 +08:00
|
|
|
|
} else {
|
|
|
|
|
|
uni.showToast({ title: "签到失败", icon: "none" });
|
|
|
|
|
|
}
|
|
|
|
|
|
} catch (e) {
|
|
|
|
|
|
console.error(e);
|
|
|
|
|
|
uni.showToast({ title: "网络错误,请稍后重试", icon: "none" });
|
|
|
|
|
|
} finally {
|
|
|
|
|
|
uni.hideLoading();
|
|
|
|
|
|
}
|
2026-02-23 22:36:31 +08:00
|
|
|
|
};
|
2026-01-28 15:55:26 +08:00
|
|
|
|
|
2026-02-25 21:47:42 +08:00
|
|
|
|
const handleAdReward = async (token) => {
|
|
|
|
|
|
try {
|
|
|
|
|
|
const res = await watchAdReward(token);
|
|
|
|
|
|
if (res) {
|
|
|
|
|
|
uni.showToast({
|
|
|
|
|
|
title: "获得50积分",
|
|
|
|
|
|
icon: "success",
|
|
|
|
|
|
});
|
|
|
|
|
|
await userStore.fetchUserAssets();
|
|
|
|
|
|
}
|
|
|
|
|
|
} catch (e) {
|
|
|
|
|
|
console.error("Reward claim failed", e);
|
|
|
|
|
|
uni.showToast({ title: "奖励发放失败", icon: "none" });
|
|
|
|
|
|
}
|
|
|
|
|
|
};
|
|
|
|
|
|
|
2026-02-28 23:22:35 +08:00
|
|
|
|
onShareAppMessage(async () => {
|
|
|
|
|
|
const shareToken = await getShareToken("index");
|
|
|
|
|
|
getShareReward().then((res) => {
|
|
|
|
|
|
if (isLoggedIn && res && res.success) {
|
|
|
|
|
|
userStore.fetchUserAssets();
|
|
|
|
|
|
}
|
|
|
|
|
|
});
|
2026-02-24 15:22:58 +08:00
|
|
|
|
return {
|
|
|
|
|
|
title: "开启你的2026新春好运!",
|
2026-02-28 23:22:35 +08:00
|
|
|
|
path: "/pages/index/index?shareToken=" + shareToken,
|
2026-02-24 15:22:58 +08:00
|
|
|
|
};
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
onShareTimeline(() => {
|
|
|
|
|
|
return {
|
|
|
|
|
|
title: "开启你的2026新春好运!",
|
|
|
|
|
|
};
|
2026-01-15 08:43:10 +08:00
|
|
|
|
});
|
2026-02-28 20:31:45 +08:00
|
|
|
|
|
|
|
|
|
|
const showPointsRules = () => {
|
|
|
|
|
|
rulesPopup.value.open();
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
const closeRules = () => {
|
|
|
|
|
|
rulesPopup.value.close();
|
|
|
|
|
|
};
|
2026-01-09 11:24:40 +08:00
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
2026-02-23 22:36:31 +08:00
|
|
|
|
.home-container {
|
2026-01-09 11:24:40 +08:00
|
|
|
|
min-height: 100vh;
|
2026-02-24 15:22:58 +08:00
|
|
|
|
background-color: #fbfbf9; /* 柔和的米色背景 */
|
|
|
|
|
|
padding-left: 32rpx;
|
|
|
|
|
|
padding-right: 32rpx;
|
|
|
|
|
|
padding-bottom: 120rpx;
|
2026-01-09 11:24:40 +08:00
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-24 15:22:58 +08:00
|
|
|
|
/* 顶部用户信息 */
|
2026-02-23 22:36:31 +08:00
|
|
|
|
.header-section {
|
2026-02-26 09:30:53 +08:00
|
|
|
|
position: fixed;
|
2026-02-26 09:36:04 +08:00
|
|
|
|
top: 0;
|
|
|
|
|
|
left: 0;
|
|
|
|
|
|
right: 0;
|
2026-02-26 09:30:53 +08:00
|
|
|
|
z-index: 999;
|
2026-02-08 19:07:06 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: space-between;
|
2026-02-23 22:36:31 +08:00
|
|
|
|
align-items: center;
|
2026-02-26 09:36:04 +08:00
|
|
|
|
padding-left: 32rpx;
|
|
|
|
|
|
padding-right: 32rpx;
|
|
|
|
|
|
padding-bottom: 24rpx;
|
|
|
|
|
|
background-color: rgba(251, 251, 249, 0.95);
|
|
|
|
|
|
backdrop-filter: blur(20rpx);
|
2026-02-24 15:22:58 +08:00
|
|
|
|
|
2026-02-23 22:36:31 +08:00
|
|
|
|
.user-info {
|
2026-02-08 19:07:06 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
2026-02-24 15:22:58 +08:00
|
|
|
|
|
2026-02-23 22:36:31 +08:00
|
|
|
|
.user-avatar {
|
2026-02-24 15:30:03 +08:00
|
|
|
|
width: 64rpx;
|
|
|
|
|
|
height: 64rpx;
|
2026-02-23 22:36:31 +08:00
|
|
|
|
border-radius: 50%;
|
2026-02-24 15:30:03 +08:00
|
|
|
|
border: 2rpx solid #fff;
|
2026-02-24 15:22:58 +08:00
|
|
|
|
box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.05);
|
2026-02-24 15:30:03 +08:00
|
|
|
|
margin-right: 16rpx;
|
2026-02-08 19:13:02 +08:00
|
|
|
|
}
|
2026-02-24 15:22:58 +08:00
|
|
|
|
|
2026-02-23 22:36:31 +08:00
|
|
|
|
.user-texts {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
2026-02-24 15:22:58 +08:00
|
|
|
|
|
2026-02-24 15:46:42 +08:00
|
|
|
|
.greeting-info {
|
2026-02-24 15:30:03 +08:00
|
|
|
|
font-size: 20rpx;
|
2026-02-24 15:22:58 +08:00
|
|
|
|
color: #999;
|
2026-02-24 15:30:03 +08:00
|
|
|
|
margin-bottom: 2rpx;
|
2026-02-23 22:36:31 +08:00
|
|
|
|
}
|
2026-02-24 15:22:58 +08:00
|
|
|
|
|
2026-02-25 21:49:36 +08:00
|
|
|
|
.name-row {
|
2026-02-25 21:47:42 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
2026-02-25 21:49:36 +08:00
|
|
|
|
.user-name {
|
|
|
|
|
|
font-size: 26rpx;
|
2026-02-25 21:47:42 +08:00
|
|
|
|
font-weight: bold;
|
2026-02-25 21:49:36 +08:00
|
|
|
|
color: #333;
|
|
|
|
|
|
margin-right: 12rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.user-points {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
background: rgba(255, 152, 0, 0.1);
|
|
|
|
|
|
border: 1rpx solid rgba(255, 152, 0, 0.3);
|
|
|
|
|
|
border-radius: 20rpx;
|
|
|
|
|
|
padding: 2rpx 10rpx;
|
|
|
|
|
|
|
|
|
|
|
|
.points-label {
|
|
|
|
|
|
font-size: 16rpx;
|
|
|
|
|
|
color: #ff9800;
|
|
|
|
|
|
margin-right: 4rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.points-value {
|
|
|
|
|
|
font-size: 20rpx;
|
|
|
|
|
|
color: #ff5722;
|
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
}
|
2026-02-25 21:47:42 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
2026-02-08 19:07:06 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-25 23:59:11 +08:00
|
|
|
|
/* Lucky Card */
|
|
|
|
|
|
.lucky-card {
|
2026-02-24 15:22:58 +08:00
|
|
|
|
width: 100%;
|
2026-02-25 23:59:11 +08:00
|
|
|
|
height: 240rpx;
|
|
|
|
|
|
background: #fff;
|
|
|
|
|
|
border-radius: 32rpx;
|
|
|
|
|
|
padding: 32rpx;
|
2026-02-24 15:22:58 +08:00
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
display: flex;
|
2026-02-25 23:59:11 +08:00
|
|
|
|
align-items: center;
|
2026-02-24 15:22:58 +08:00
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
margin-bottom: 48rpx;
|
2026-02-25 23:59:11 +08:00
|
|
|
|
box-shadow: 0 12rpx 32rpx rgba(216, 30, 6, 0.08);
|
2026-02-26 10:17:17 +08:00
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
|
|
|
|
.card-toggle {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
top: 16rpx;
|
|
|
|
|
|
right: 16rpx;
|
|
|
|
|
|
width: 48rpx;
|
|
|
|
|
|
height: 48rpx;
|
|
|
|
|
|
background: rgba(216, 30, 6, 0.05);
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
z-index: 10;
|
|
|
|
|
|
}
|
2026-02-24 15:22:58 +08:00
|
|
|
|
|
2026-02-25 23:59:11 +08:00
|
|
|
|
.lucky-left {
|
2026-01-15 08:43:10 +08:00
|
|
|
|
display: flex;
|
2026-02-25 23:59:11 +08:00
|
|
|
|
flex-direction: column;
|
2026-02-24 15:22:58 +08:00
|
|
|
|
align-items: flex-start;
|
|
|
|
|
|
|
2026-02-26 10:06:03 +08:00
|
|
|
|
.date-group {
|
2026-02-24 15:22:58 +08:00
|
|
|
|
display: flex;
|
2026-02-25 23:59:11 +08:00
|
|
|
|
align-items: baseline;
|
2026-02-26 10:06:03 +08:00
|
|
|
|
margin-bottom: 8rpx;
|
2026-02-24 15:22:58 +08:00
|
|
|
|
|
2026-02-26 10:06:03 +08:00
|
|
|
|
.date-val {
|
2026-02-25 23:59:11 +08:00
|
|
|
|
font-size: 64rpx;
|
|
|
|
|
|
font-weight: 800;
|
|
|
|
|
|
color: #d81e06;
|
|
|
|
|
|
line-height: 1;
|
2026-02-26 10:06:03 +08:00
|
|
|
|
margin-right: 8rpx;
|
2026-02-24 15:22:58 +08:00
|
|
|
|
}
|
2026-02-26 10:06:03 +08:00
|
|
|
|
|
|
|
|
|
|
.date-sub {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
|
|
|
|
.date-month {
|
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
color: #d81e06;
|
|
|
|
|
|
line-height: 1.2;
|
|
|
|
|
|
}
|
|
|
|
|
|
.date-year {
|
|
|
|
|
|
font-size: 20rpx;
|
|
|
|
|
|
color: #d81e06;
|
|
|
|
|
|
opacity: 0.6;
|
|
|
|
|
|
line-height: 1.2;
|
|
|
|
|
|
}
|
2026-02-24 15:22:58 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
2026-02-25 23:59:11 +08:00
|
|
|
|
}
|
2026-02-24 15:22:58 +08:00
|
|
|
|
|
2026-02-25 23:59:11 +08:00
|
|
|
|
.lucky-divider {
|
|
|
|
|
|
width: 2rpx;
|
|
|
|
|
|
height: 64rpx;
|
|
|
|
|
|
background: #eee;
|
|
|
|
|
|
margin: 0 24rpx;
|
2026-01-09 11:24:40 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-25 23:59:11 +08:00
|
|
|
|
.lucky-middle {
|
|
|
|
|
|
flex: 1;
|
2026-01-22 23:54:56 +08:00
|
|
|
|
display: flex;
|
2026-02-24 15:22:58 +08:00
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
2026-02-25 23:59:11 +08:00
|
|
|
|
.lucky-tags {
|
2026-02-24 15:22:58 +08:00
|
|
|
|
display: flex;
|
2026-02-25 23:59:11 +08:00
|
|
|
|
gap: 12rpx;
|
|
|
|
|
|
margin-bottom: 12rpx;
|
|
|
|
|
|
|
|
|
|
|
|
.tag-yi,
|
|
|
|
|
|
.tag-ji {
|
|
|
|
|
|
background: #f5f5f5;
|
|
|
|
|
|
padding: 4rpx 12rpx;
|
|
|
|
|
|
border-radius: 8rpx;
|
|
|
|
|
|
font-size: 20rpx;
|
|
|
|
|
|
color: #666;
|
2026-02-24 16:26:12 +08:00
|
|
|
|
}
|
2026-02-25 23:59:11 +08:00
|
|
|
|
.tag-yi {
|
|
|
|
|
|
color: #d81e06;
|
|
|
|
|
|
background: rgba(216, 30, 6, 0.05);
|
2026-02-24 15:22:58 +08:00
|
|
|
|
}
|
2026-02-25 23:59:11 +08:00
|
|
|
|
}
|
2026-02-24 15:22:58 +08:00
|
|
|
|
|
2026-02-26 10:10:27 +08:00
|
|
|
|
.lucky-lunar {
|
2026-02-25 23:59:11 +08:00
|
|
|
|
font-size: 22rpx;
|
|
|
|
|
|
color: #999;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2026-02-25 15:20:30 +08:00
|
|
|
|
|
2026-02-25 23:59:11 +08:00
|
|
|
|
.lucky-btn {
|
2026-02-28 09:34:11 +08:00
|
|
|
|
width: 210rpx;
|
2026-02-25 23:59:11 +08:00
|
|
|
|
height: 72rpx;
|
|
|
|
|
|
background: linear-gradient(135deg, #b8860b 0%, #d4a017 100%);
|
|
|
|
|
|
border-radius: 36rpx;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
color: #fff;
|
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
box-shadow: 0 8rpx 16rpx rgba(184, 134, 11, 0.3);
|
|
|
|
|
|
margin: 0;
|
|
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
|
|
border: none;
|
2026-02-24 15:22:58 +08:00
|
|
|
|
}
|
2026-02-23 22:36:31 +08:00
|
|
|
|
}
|
2026-02-26 10:17:17 +08:00
|
|
|
|
|
|
|
|
|
|
.calendar-mode {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
|
|
|
|
.sign-header {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
margin-bottom: 24rpx;
|
|
|
|
|
|
padding-right: 64rpx;
|
|
|
|
|
|
|
|
|
|
|
|
.sign-title {
|
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
|
color: #333;
|
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
|
|
|
|
|
|
.highlight {
|
|
|
|
|
|
color: #d81e06;
|
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
|
margin: 0 4rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.sign-tip {
|
|
|
|
|
|
font-size: 20rpx;
|
|
|
|
|
|
color: #999;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.week-days {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
|
|
|
|
.day-item {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
|
|
|
|
|
|
.day-label {
|
|
|
|
|
|
font-size: 20rpx;
|
|
|
|
|
|
color: #999;
|
|
|
|
|
|
margin-bottom: 12rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.status-icon {
|
|
|
|
|
|
width: 32rpx;
|
|
|
|
|
|
height: 32rpx;
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
background: #f5f5f5;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
|
|
|
|
.dot {
|
|
|
|
|
|
width: 8rpx;
|
|
|
|
|
|
height: 8rpx;
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
background: #ccc;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&.is-today {
|
|
|
|
|
|
.day-label {
|
|
|
|
|
|
color: #d81e06;
|
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
}
|
|
|
|
|
|
.status-icon {
|
|
|
|
|
|
background: rgba(216, 30, 6, 0.1);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
&.is-signed {
|
|
|
|
|
|
.status-icon {
|
|
|
|
|
|
background: #d81e06;
|
|
|
|
|
|
box-shadow: 0 4rpx 8rpx rgba(216, 30, 6, 0.2);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2026-02-23 22:36:31 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-28 09:34:11 +08:00
|
|
|
|
/* Special Topic Card */
|
|
|
|
|
|
.special-topic-card {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
height: 220rpx;
|
|
|
|
|
|
background: linear-gradient(135deg, #fff9f0 0%, #fff3e0 100%);
|
|
|
|
|
|
border-radius: 32rpx;
|
|
|
|
|
|
padding: 32rpx;
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
margin-bottom: 48rpx;
|
|
|
|
|
|
box-shadow: 0 12rpx 32rpx rgba(255, 152, 0, 0.08);
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
|
|
|
|
.topic-left {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
z-index: 2;
|
|
|
|
|
|
|
|
|
|
|
|
.topic-title {
|
|
|
|
|
|
font-size: 36rpx;
|
|
|
|
|
|
font-weight: 800;
|
|
|
|
|
|
color: #d81e06;
|
|
|
|
|
|
margin-bottom: 8rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.topic-subtitle {
|
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
|
color: #d81e06;
|
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
margin-bottom: 12rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.topic-blessing {
|
|
|
|
|
|
font-size: 22rpx;
|
|
|
|
|
|
color: #888;
|
|
|
|
|
|
margin-bottom: 24rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.topic-btn {
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
background: #d81e06;
|
|
|
|
|
|
color: #fff;
|
|
|
|
|
|
font-size: 22rpx;
|
|
|
|
|
|
padding: 10rpx 24rpx;
|
|
|
|
|
|
border-radius: 24rpx;
|
|
|
|
|
|
margin: 0;
|
|
|
|
|
|
line-height: 1.2;
|
|
|
|
|
|
box-shadow: 0 4rpx 12rpx rgba(216, 30, 6, 0.2);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.topic-right {
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
width: 200rpx;
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
|
|
|
|
.topic-img {
|
|
|
|
|
|
width: 160rpx;
|
|
|
|
|
|
height: 160rpx;
|
|
|
|
|
|
z-index: 2;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.decor-circle {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
background: rgba(255, 255, 255, 0.4);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.circle-1 {
|
|
|
|
|
|
width: 120rpx;
|
|
|
|
|
|
height: 120rpx;
|
|
|
|
|
|
right: 20rpx;
|
|
|
|
|
|
top: 10rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.circle-2 {
|
|
|
|
|
|
width: 80rpx;
|
|
|
|
|
|
height: 80rpx;
|
|
|
|
|
|
right: 80rpx;
|
|
|
|
|
|
bottom: 20rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-24 15:22:58 +08:00
|
|
|
|
/* 通用 Section 样式 */
|
|
|
|
|
|
.section-container {
|
2026-02-26 15:01:33 +08:00
|
|
|
|
margin-bottom: 28rpx;
|
2026-02-24 15:22:58 +08:00
|
|
|
|
|
|
|
|
|
|
.section-header {
|
2026-01-22 23:54:56 +08:00
|
|
|
|
display: flex;
|
2026-02-23 22:36:31 +08:00
|
|
|
|
align-items: center;
|
2026-02-24 15:22:58 +08:00
|
|
|
|
margin-bottom: 24rpx;
|
|
|
|
|
|
|
|
|
|
|
|
.title-left-decor {
|
2026-02-25 23:59:11 +08:00
|
|
|
|
width: 8rpx;
|
|
|
|
|
|
height: 32rpx;
|
2026-02-24 15:22:58 +08:00
|
|
|
|
background: #d81e06;
|
|
|
|
|
|
border-radius: 4rpx;
|
2026-02-25 23:59:11 +08:00
|
|
|
|
margin-right: 16rpx;
|
2026-02-24 15:22:58 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.section-title {
|
2026-02-25 23:59:11 +08:00
|
|
|
|
font-size: 34rpx;
|
|
|
|
|
|
font-weight: 800;
|
2026-02-24 15:22:58 +08:00
|
|
|
|
color: #333;
|
|
|
|
|
|
flex: 1;
|
2026-02-25 23:59:11 +08:00
|
|
|
|
letter-spacing: 1rpx;
|
2026-01-22 23:54:56 +08:00
|
|
|
|
}
|
2026-02-24 15:22:58 +08:00
|
|
|
|
|
2026-02-26 09:59:17 +08:00
|
|
|
|
.more-btn {
|
2026-02-23 22:36:31 +08:00
|
|
|
|
display: flex;
|
2026-02-24 15:22:58 +08:00
|
|
|
|
align-items: center;
|
2026-02-26 09:59:17 +08:00
|
|
|
|
background: #ffebee;
|
|
|
|
|
|
padding: 8rpx 20rpx;
|
|
|
|
|
|
border-radius: 24rpx;
|
|
|
|
|
|
transition: all 0.3s;
|
|
|
|
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
|
|
opacity: 0.8;
|
|
|
|
|
|
background: #ffcdd2;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.more-text {
|
|
|
|
|
|
font-size: 22rpx;
|
|
|
|
|
|
color: #ff5722;
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
margin-right: 2rpx;
|
|
|
|
|
|
}
|
2026-01-22 23:54:56 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-25 23:59:11 +08:00
|
|
|
|
/* Scene Scroll */
|
|
|
|
|
|
.scene-scroll {
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
width: 100%;
|
2026-02-24 15:22:58 +08:00
|
|
|
|
|
2026-02-25 23:59:11 +08:00
|
|
|
|
.scene-list {
|
2026-02-23 22:36:31 +08:00
|
|
|
|
display: flex;
|
2026-02-25 23:59:11 +08:00
|
|
|
|
padding-bottom: 24rpx; /* Space for shadow */
|
2026-02-24 15:22:58 +08:00
|
|
|
|
|
2026-02-25 23:59:11 +08:00
|
|
|
|
.scene-item {
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
flex-direction: column;
|
2026-02-24 15:22:58 +08:00
|
|
|
|
align-items: center;
|
2026-02-25 23:59:11 +08:00
|
|
|
|
margin-right: 32rpx;
|
|
|
|
|
|
width: 140rpx;
|
2026-02-24 15:22:58 +08:00
|
|
|
|
|
2026-02-25 23:59:11 +08:00
|
|
|
|
&:last-child {
|
|
|
|
|
|
margin-right: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.scene-icon-box {
|
|
|
|
|
|
width: 120rpx;
|
|
|
|
|
|
height: 120rpx;
|
|
|
|
|
|
background: #fff;
|
|
|
|
|
|
border-radius: 32rpx;
|
2026-02-24 15:30:03 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
2026-02-25 23:59:11 +08:00
|
|
|
|
margin-bottom: 16rpx;
|
|
|
|
|
|
box-shadow: 0 8rpx 24rpx rgba(0, 0, 0, 0.04);
|
|
|
|
|
|
border: 2rpx solid #fff;
|
2026-02-24 15:22:58 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-25 23:59:11 +08:00
|
|
|
|
.scene-icon {
|
|
|
|
|
|
width: 64rpx;
|
|
|
|
|
|
height: 64rpx;
|
2026-02-24 15:30:03 +08:00
|
|
|
|
}
|
2026-01-09 11:24:40 +08:00
|
|
|
|
|
2026-02-25 23:59:11 +08:00
|
|
|
|
.scene-name {
|
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
|
color: #333;
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
}
|
2026-02-23 22:36:31 +08:00
|
|
|
|
}
|
2026-01-23 00:01:31 +08:00
|
|
|
|
}
|
2026-02-24 15:22:58 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-25 23:59:11 +08:00
|
|
|
|
/* Wallpaper Scroll */
|
|
|
|
|
|
.wallpaper-scroll {
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
width: 100%;
|
2026-02-24 15:22:58 +08:00
|
|
|
|
|
2026-02-25 23:59:11 +08:00
|
|
|
|
.wallpaper-list {
|
2026-02-24 15:22:58 +08:00
|
|
|
|
display: flex;
|
2026-02-25 23:59:11 +08:00
|
|
|
|
padding-bottom: 24rpx;
|
2026-02-24 15:22:58 +08:00
|
|
|
|
|
2026-02-25 23:59:11 +08:00
|
|
|
|
.wallpaper-item {
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
flex-direction: column;
|
2026-02-24 15:22:58 +08:00
|
|
|
|
align-items: center;
|
|
|
|
|
|
margin-right: 24rpx;
|
2026-02-25 23:59:11 +08:00
|
|
|
|
width: 200rpx;
|
2026-02-24 15:22:58 +08:00
|
|
|
|
|
2026-02-25 23:59:11 +08:00
|
|
|
|
.wallpaper-img {
|
|
|
|
|
|
width: 200rpx;
|
|
|
|
|
|
height: 320rpx;
|
|
|
|
|
|
border-radius: 24rpx;
|
|
|
|
|
|
margin-bottom: 16rpx;
|
|
|
|
|
|
box-shadow: 0 8rpx 24rpx rgba(0, 0, 0, 0.06);
|
2026-02-23 22:36:31 +08:00
|
|
|
|
}
|
2026-02-25 23:59:11 +08:00
|
|
|
|
|
|
|
|
|
|
.wallpaper-name {
|
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
|
color: #666;
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
white-space: nowrap;
|
2026-02-23 22:36:31 +08:00
|
|
|
|
}
|
2026-02-24 15:22:58 +08:00
|
|
|
|
}
|
2026-02-25 23:59:11 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
2026-02-24 15:22:58 +08:00
|
|
|
|
|
2026-02-25 23:59:11 +08:00
|
|
|
|
/* Avatar Scroll */
|
|
|
|
|
|
.avatar-scroll {
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
width: 100%;
|
2026-02-24 15:22:58 +08:00
|
|
|
|
|
2026-02-25 23:59:11 +08:00
|
|
|
|
.avatar-list {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
padding-bottom: 24rpx;
|
2026-02-24 15:22:58 +08:00
|
|
|
|
|
2026-02-25 23:59:11 +08:00
|
|
|
|
.avatar-item {
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
margin-right: 24rpx;
|
2026-02-26 15:14:55 +08:00
|
|
|
|
width: 160rpx;
|
2026-02-24 15:22:58 +08:00
|
|
|
|
|
2026-02-25 23:59:11 +08:00
|
|
|
|
.avatar-img {
|
2026-02-26 15:14:55 +08:00
|
|
|
|
width: 160rpx;
|
|
|
|
|
|
height: 160rpx;
|
2026-02-25 23:59:11 +08:00
|
|
|
|
border-radius: 32rpx;
|
|
|
|
|
|
margin-bottom: 12rpx;
|
|
|
|
|
|
box-shadow: 0 8rpx 24rpx rgba(0, 0, 0, 0.05);
|
|
|
|
|
|
border: 4rpx solid #fff;
|
2026-02-23 22:36:31 +08:00
|
|
|
|
}
|
2026-02-24 15:22:58 +08:00
|
|
|
|
|
2026-02-25 23:59:11 +08:00
|
|
|
|
.avatar-name {
|
|
|
|
|
|
font-size: 22rpx;
|
|
|
|
|
|
color: #999;
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
white-space: nowrap;
|
2026-02-23 22:36:31 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
2026-02-24 15:22:58 +08:00
|
|
|
|
|
2026-02-25 23:59:11 +08:00
|
|
|
|
.avatar-more-btn {
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
2026-02-26 15:14:55 +08:00
|
|
|
|
width: 160rpx;
|
|
|
|
|
|
height: 160rpx;
|
2026-02-25 23:59:11 +08:00
|
|
|
|
background: #d81e06;
|
|
|
|
|
|
border-radius: 32rpx;
|
|
|
|
|
|
box-shadow: 0 8rpx 24rpx rgba(216, 30, 6, 0.2);
|
|
|
|
|
|
vertical-align: top; /* Align with other inline-flex items */
|
2026-02-25 23:42:38 +08:00
|
|
|
|
|
2026-02-25 23:59:11 +08:00
|
|
|
|
.more-label {
|
2026-02-25 23:42:38 +08:00
|
|
|
|
font-size: 22rpx;
|
2026-02-25 23:59:11 +08:00
|
|
|
|
color: #fff;
|
|
|
|
|
|
margin-top: 8rpx;
|
2026-02-25 23:42:38 +08:00
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
}
|
2026-02-24 15:22:58 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-02-25 23:59:11 +08:00
|
|
|
|
.more-text {
|
2026-02-24 15:22:58 +08:00
|
|
|
|
font-size: 22rpx;
|
2026-02-25 23:59:11 +08:00
|
|
|
|
color: #999;
|
2026-01-15 08:43:10 +08:00
|
|
|
|
}
|
2026-02-28 20:31:45 +08:00
|
|
|
|
|
|
|
|
|
|
/* Rules Modal */
|
|
|
|
|
|
.rules-modal {
|
|
|
|
|
|
width: 600rpx;
|
|
|
|
|
|
background: #fff;
|
|
|
|
|
|
border-radius: 32rpx;
|
|
|
|
|
|
padding: 40rpx;
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
|
|
|
|
.rules-header {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
margin-bottom: 32rpx;
|
|
|
|
|
|
|
|
|
|
|
|
.rules-title {
|
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
color: #333;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.rules-content {
|
|
|
|
|
|
margin-bottom: 40rpx;
|
|
|
|
|
|
|
|
|
|
|
|
.rule-item {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
margin-bottom: 24rpx;
|
|
|
|
|
|
background: #fff9f0;
|
|
|
|
|
|
padding: 20rpx;
|
|
|
|
|
|
border-radius: 16rpx;
|
|
|
|
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.rule-text {
|
|
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
|
color: #333;
|
|
|
|
|
|
margin-left: 16rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.rules-btn {
|
|
|
|
|
|
background: linear-gradient(135deg, #ff9800 0%, #ff5722 100%);
|
|
|
|
|
|
color: #fff;
|
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
border-radius: 40rpx;
|
|
|
|
|
|
height: 80rpx;
|
|
|
|
|
|
line-height: 80rpx;
|
|
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
|
|
border: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2026-01-15 08:43:10 +08:00
|
|
|
|
</style>
|