按 6 级尺寸阶梯统一放大图标,避免小而散、提升大气感: - 底部导航 40 -> 48,容器 104 -> 116,标签 22 -> 23 - 首页快捷入口 40 -> 52,容器 96 -> 112、圆角 32 -> 36,标签 22 -> 24 - 首页品牌花标 40 -> 46,牌标容器 72 -> 84 - 今日心语 52 -> 62,提醒 38 -> 46 - 情绪选择 40 -> 50(容器 76),记录 30 -> 36,疗愈内容 34 -> 42 - 健康 Tab 26 -> 32(Tab 76 -> 84),建议项 34 -> 42(容器 84) - 我的设置项 32 -> 40,头像 108 -> 116 - 备孕/关系/亲子勾选 20 -> 24(容器 40 -> 46),会员勾选 18 -> 22 - 咨询师头像 40 -> 50(容器 100),热线 34/36 -> 42,急救工具 44 -> 54 - 空状态与会员锁 72 -> 96,内容详情头图 64 -> 78,登录花瓣与输入框图标同步放大 - 大尺寸图标描边降至 1.6-1.8,小尺寸保持 1.8-2.4,线宽视觉统一 - 文档补充「图标尺寸阶梯」规范 验证:no_emoji 0 问题 / 契约 84 接口 0 偏差 / Vue 20-20 / SCSS 19-19
728 行
15 KiB
Vue
728 行
15 KiB
Vue
<template>
|
||
<view class="hq-page">
|
||
<!-- 品牌头 -->
|
||
<view class="brand">
|
||
<view class="brand-left">
|
||
<view class="brand-mark">
|
||
<hq-icon name="flower" :size="46" :stroke="1.9" color="#FFFFFF" />
|
||
</view>
|
||
<view class="brand-text">
|
||
<text class="brand-name">花期</text>
|
||
<text class="brand-slogan">温柔记录 · 静待花开</text>
|
||
</view>
|
||
</view>
|
||
<view class="brand-avatar" @tap="goMine">
|
||
<text class="brand-avatar-text">{{ avatarText }}</text>
|
||
</view>
|
||
</view>
|
||
|
||
<!-- 问候 -->
|
||
<view class="hello hq-fade-up">
|
||
<text class="hello-text">{{ home.greeting || '你好' }},{{ home.nickname || '亲爱的' }}</text>
|
||
<text class="hello-date">{{ home.date_text || '' }}</text>
|
||
</view>
|
||
|
||
<!-- 周期主卡 -->
|
||
<view class="hero hq-fade-up">
|
||
<view class="hero-top">
|
||
<view class="hero-left">
|
||
<text class="hero-phase">{{ cycle.has_data ? '周期第' : '尚未记录' }}</text>
|
||
<view class="hero-day-row" v-if="cycle.has_data">
|
||
<text class="hero-day">{{ cycle.day }}</text>
|
||
<text class="hero-day-unit">天</text>
|
||
</view>
|
||
<view class="hero-chip" v-if="cycle.has_data">
|
||
<text class="hero-chip-dot" :style="{ backgroundColor: '#FFFFFF' }"></text>
|
||
<text class="hero-chip-text">{{ cycle.phase_text }}</text>
|
||
</view>
|
||
</view>
|
||
|
||
<view class="hero-right">
|
||
<view class="hero-stat" v-if="cycle.has_data">
|
||
<text class="hero-stat-label">下次经期</text>
|
||
<text class="hero-stat-value">{{ cycle.next_start }}</text>
|
||
<text class="hero-stat-sub">{{ cycle.days_to_next > 0 ? '还有 ' + cycle.days_to_next + ' 天' : '预计今天' }}</text>
|
||
</view>
|
||
<view class="hero-stat" v-else>
|
||
<text class="hero-stat-label">开启你的花期</text>
|
||
<text class="hero-stat-sub">记录经期后自动预测</text>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
|
||
<view class="hero-progress" v-if="cycle.has_data">
|
||
<view class="hero-progress-inner" :style="{ width: (cycle.progress || 0) + '%' }"></view>
|
||
</view>
|
||
|
||
<view class="hero-foot" v-if="cycle.has_data">
|
||
<text class="hero-foot-item">排卵日 {{ cycle.ovulation }}</text>
|
||
<text class="hero-foot-item" v-if="cycle.is_fertile">易孕期 · 注意休息</text>
|
||
<text class="hero-foot-item" v-else>周期 {{ cycle.cycle_length }} 天</text>
|
||
</view>
|
||
|
||
<view class="hero-cta" v-if="!cycle.has_data" @tap="goCycle">
|
||
<text class="hero-cta-text">记录第一次经期</text>
|
||
</view>
|
||
</view>
|
||
|
||
<!-- 快捷入口 -->
|
||
<view class="quick">
|
||
<view class="quick-item" v-for="item in quicks" :key="item.label" @tap="go(item)">
|
||
<view class="quick-icon" :style="{ backgroundColor: item.bg }">
|
||
<hq-icon :name="item.icon" :size="52" :stroke="1.85" color="#E8604C" />
|
||
</view>
|
||
<text class="quick-label">{{ item.label }}</text>
|
||
</view>
|
||
</view>
|
||
|
||
<!-- 阶段建议 -->
|
||
<view class="tip-card" v-if="home.phase_tip">
|
||
<view class="tip-head">
|
||
<text class="tip-title">{{ home.phase_tip.title }}</text>
|
||
<text class="tip-tag" v-if="cycle.phase_text">{{ cycle.phase_text }}</text>
|
||
</view>
|
||
<text class="tip-desc">{{ home.phase_tip.desc }}</text>
|
||
</view>
|
||
|
||
<!-- 今日心语 -->
|
||
<view class="hq-section-head">
|
||
<text class="hq-section-title">今日心语</text>
|
||
<text class="hq-section-more" @tap="goMood">情绪花园 ›</text>
|
||
</view>
|
||
<view class="jijing hq-card" v-if="home.jijing" @tap="openJijing">
|
||
<view class="jijing-top">
|
||
<hq-icon :name="jijingIcon" :size="62" :stroke="1.7" color="#E8604C" style="margin-right: 22rpx" />
|
||
<view class="jijing-head">
|
||
<text class="jijing-title">{{ home.jijing.title }}</text>
|
||
<text class="jijing-summary">{{ home.jijing.summary }}</text>
|
||
</view>
|
||
</view>
|
||
<view class="jijing-foot">
|
||
<text class="jijing-read">阅读全文</text>
|
||
<text class="jijing-arrow">›</text>
|
||
</view>
|
||
</view>
|
||
|
||
<!-- 今日提醒 -->
|
||
<view v-if="home.reminders && home.reminders.length">
|
||
<view class="hq-section-head">
|
||
<text class="hq-section-title">今日提醒</text>
|
||
</view>
|
||
<view class="reminder hq-card">
|
||
<view class="reminder-item" v-for="(item, index) in home.reminders" :key="index">
|
||
<hq-icon :name="reminderIcon(item.type)" :size="46" :stroke="1.7" color="#F5A65B" style="margin-right: 22rpx" />
|
||
<view class="reminder-body">
|
||
<text class="reminder-title">{{ item.title }}</text>
|
||
<text class="reminder-desc">{{ item.desc }}</text>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
</view>
|
||
|
||
<!-- 情绪 7 日 -->
|
||
<view class="hq-section-head">
|
||
<text class="hq-section-title">情绪近 7 天</text>
|
||
<text class="hq-section-more">{{ home.mood && home.mood.recorded ? '已记录 ' + home.mood.recorded + ' 天' : '去记录 ›' }}</text>
|
||
</view>
|
||
<view class="hq-card mood-chart" @tap="goMood">
|
||
<view class="mood-bars">
|
||
<view class="mood-bar-wrap" v-for="(d, i) in moodDays" :key="i">
|
||
<view
|
||
class="mood-bar"
|
||
:class="{ 'mood-bar-empty': !d.score }"
|
||
:style="{ height: (d.score ? 20 + d.score * 13 : 12) + 'rpx' }"
|
||
></view>
|
||
<text class="mood-bar-label">{{ d.label }}</text>
|
||
</view>
|
||
</view>
|
||
<view class="mood-foot">
|
||
<text class="mood-foot-text">{{ moodText }}</text>
|
||
</view>
|
||
</view>
|
||
|
||
<!-- 会员引导 -->
|
||
<view class="vip-card" v-if="!isMember" @tap="goMember">
|
||
<view class="vip-left">
|
||
<text class="vip-title">花期会员</text>
|
||
<text class="vip-desc">深度报告 · 精准备孕 · 更多心语主题</text>
|
||
</view>
|
||
<view class="vip-btn">
|
||
<text class="vip-btn-text">了解权益</text>
|
||
</view>
|
||
</view>
|
||
|
||
<view class="footer">
|
||
<text class="footer-text">内容仅供参考,不能替代医疗诊断</text>
|
||
</view>
|
||
|
||
<hq-tabbar current="home" />
|
||
</view>
|
||
</template>
|
||
|
||
<script>
|
||
import api from '@/utils/api.js'
|
||
import store from '@/utils/store.js'
|
||
import { iconForContentType, iconForReminder } from '@/utils/icons.js'
|
||
import hqIcon from '@/components/hq-icon/hq-icon.vue'
|
||
import hqTabbar from '@/components/hq-tabbar/hq-tabbar.vue'
|
||
|
||
export default {
|
||
components: { hqIcon, hqTabbar },
|
||
data() {
|
||
return {
|
||
home: {},
|
||
loading: true,
|
||
quicks: [
|
||
{ label: '记录身体', icon: 'edit', bg: '#FFF1E9', path: '/pages/cycle/index' },
|
||
{ label: '情绪日记', icon: 'moon', bg: '#F1F0FB', path: '/pages/mood/index' },
|
||
{ label: '科学备孕', icon: 'sprout', bg: '#EAF4EE', path: '/pages/prepare/index' },
|
||
{ label: '健康建议', icon: 'bowl', bg: '#FDF6E3', path: '/pages/health/index' },
|
||
{ label: '家人共护', icon: 'users', bg: '#FDECEC', path: '/pages/family/index' },
|
||
{ label: '两性关系', icon: 'heart', bg: '#F3EBFB', path: '/pages/relation/index' },
|
||
{ label: '亲子教育', icon: 'blocks', bg: '#EAF6F6', path: '/pages/parenting/index' },
|
||
{ label: '心理咨询', icon: 'chat-heart', bg: '#F1F4FB', path: '/pages/consult/index' }
|
||
]
|
||
}
|
||
},
|
||
computed: {
|
||
jijingIcon() {
|
||
return iconForContentType((this.home.jijing && this.home.jijing.type) || 'jijing')
|
||
},
|
||
cycle() {
|
||
return this.home.cycle || {}
|
||
},
|
||
isMember() {
|
||
return !!(this.home.member && this.home.member.is_member)
|
||
},
|
||
avatarText() {
|
||
const name = this.home.nickname || (store.user && store.user.nickname) || '花'
|
||
return name.slice(0, 1)
|
||
},
|
||
moodDays() {
|
||
const days = (this.home.mood && this.home.mood.days) || []
|
||
return days.map((d) => {
|
||
const parts = d.date.split('-')
|
||
return Object.assign({}, d, { label: Number(parts[2]) + '日' })
|
||
})
|
||
},
|
||
moodText() {
|
||
const mood = this.home.mood || {}
|
||
if (!mood.recorded) return '还没有情绪记录,今天的心情如何?'
|
||
return '近 7 天记录 ' + mood.recorded + ' 天,情绪均值 ' + mood.avg_score + '/5'
|
||
}
|
||
},
|
||
onShow() {
|
||
if (!store.token) {
|
||
uni.reLaunch({ url: '/pages/login/index' })
|
||
return
|
||
}
|
||
this.loadHome()
|
||
},
|
||
onPullDownRefresh() {
|
||
this.loadHome().finally(() => uni.stopPullDownRefresh())
|
||
},
|
||
methods: {
|
||
async loadHome() {
|
||
try {
|
||
const data = await api.home()
|
||
this.home = data || {}
|
||
if (data && data.nickname) {
|
||
store.setUser({ nickname: data.nickname })
|
||
}
|
||
if (data && data.member) {
|
||
store.setMember(data.member)
|
||
}
|
||
} catch (e) {
|
||
// 错误已在 request 中 toast
|
||
} finally {
|
||
this.loading = false
|
||
}
|
||
},
|
||
reminderIcon(type) {
|
||
return iconForReminder(type)
|
||
},
|
||
go(item) {
|
||
uni.navigateTo({ url: item.path })
|
||
},
|
||
goCycle() {
|
||
uni.reLaunch({ url: '/pages/cycle/index' })
|
||
},
|
||
goMood() {
|
||
uni.reLaunch({ url: '/pages/mood/index' })
|
||
},
|
||
goMine() {
|
||
uni.reLaunch({ url: '/pages/mine/index' })
|
||
},
|
||
goMember() {
|
||
uni.navigateTo({ url: '/pages/member/index' })
|
||
},
|
||
openJijing() {
|
||
const jijing = this.home.jijing
|
||
if (!jijing) return
|
||
uni.navigateTo({ url: '/pages/content/detail?id=' + jijing.id })
|
||
}
|
||
}
|
||
}
|
||
</script>
|
||
|
||
<style lang="scss" scoped>
|
||
.brand {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
padding: 24rpx 0 8rpx;
|
||
}
|
||
|
||
.brand-left {
|
||
display: flex;
|
||
align-items: center;
|
||
}
|
||
|
||
.brand-mark {
|
||
width: 84rpx;
|
||
height: 84rpx;
|
||
border-radius: 28rpx;
|
||
background: linear-gradient(135deg, #F58C7C 0%, #E8604C 100%);
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
box-shadow: 0 10rpx 24rpx rgba(232, 96, 76, 0.24);
|
||
}
|
||
|
||
.brand-text {
|
||
margin-left: 16rpx;
|
||
display: flex;
|
||
flex-direction: column;
|
||
}
|
||
|
||
.brand-name {
|
||
font-size: 38rpx;
|
||
font-weight: 600;
|
||
letter-spacing: 6rpx;
|
||
color: #3E2C27;
|
||
}
|
||
|
||
.brand-slogan {
|
||
font-size: 20rpx;
|
||
color: #B9A79E;
|
||
letter-spacing: 2rpx;
|
||
}
|
||
|
||
.brand-avatar {
|
||
width: 80rpx;
|
||
height: 80rpx;
|
||
border-radius: 50%;
|
||
background-color: #FFFFFF;
|
||
border: 2rpx solid #F5E7DF;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
}
|
||
|
||
.brand-avatar-text {
|
||
font-size: 30rpx;
|
||
color: #E8604C;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.hello {
|
||
padding: 24rpx 0 28rpx;
|
||
display: flex;
|
||
flex-direction: column;
|
||
}
|
||
|
||
.hello-text {
|
||
font-size: 44rpx;
|
||
font-weight: 600;
|
||
color: #3E2C27;
|
||
letter-spacing: 1rpx;
|
||
}
|
||
|
||
.hello-date {
|
||
margin-top: 8rpx;
|
||
font-size: 24rpx;
|
||
color: #8C7367;
|
||
}
|
||
|
||
.hero {
|
||
border-radius: 40rpx;
|
||
padding: 40rpx 36rpx 32rpx;
|
||
background: linear-gradient(135deg, #F58C7C 0%, #E8604C 62%, #D9503C 100%);
|
||
box-shadow: 0 20rpx 48rpx rgba(232, 96, 76, 0.28);
|
||
color: #FFFFFF;
|
||
margin-bottom: 28rpx;
|
||
}
|
||
|
||
.hero-top {
|
||
display: flex;
|
||
align-items: flex-start;
|
||
justify-content: space-between;
|
||
}
|
||
|
||
.hero-left {
|
||
flex: 1;
|
||
}
|
||
|
||
.hero-phase {
|
||
font-size: 24rpx;
|
||
opacity: 0.82;
|
||
letter-spacing: 1rpx;
|
||
}
|
||
|
||
.hero-day-row {
|
||
display: flex;
|
||
align-items: baseline;
|
||
margin-top: 4rpx;
|
||
}
|
||
|
||
.hero-day {
|
||
font-size: 88rpx;
|
||
font-weight: 600;
|
||
line-height: 1.05;
|
||
letter-spacing: 2rpx;
|
||
}
|
||
|
||
.hero-day-unit {
|
||
font-size: 28rpx;
|
||
margin-left: 8rpx;
|
||
opacity: 0.82;
|
||
}
|
||
|
||
.hero-chip {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
margin-top: 12rpx;
|
||
padding: 8rpx 20rpx;
|
||
border-radius: 999rpx;
|
||
background-color: rgba(255, 255, 255, 0.22);
|
||
}
|
||
|
||
.hero-chip-dot {
|
||
width: 10rpx;
|
||
height: 10rpx;
|
||
border-radius: 50%;
|
||
margin-right: 10rpx;
|
||
opacity: 0.9;
|
||
}
|
||
|
||
.hero-chip-text {
|
||
font-size: 22rpx;
|
||
letter-spacing: 1rpx;
|
||
}
|
||
|
||
.hero-right {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: flex-end;
|
||
}
|
||
|
||
.hero-stat {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: flex-end;
|
||
}
|
||
|
||
.hero-stat-label {
|
||
font-size: 22rpx;
|
||
opacity: 0.82;
|
||
}
|
||
|
||
.hero-stat-value {
|
||
font-size: 30rpx;
|
||
font-weight: 500;
|
||
margin-top: 4rpx;
|
||
}
|
||
|
||
.hero-stat-sub {
|
||
font-size: 22rpx;
|
||
opacity: 0.82;
|
||
margin-top: 4rpx;
|
||
}
|
||
|
||
.hero-progress {
|
||
height: 10rpx;
|
||
border-radius: 999rpx;
|
||
background-color: rgba(255, 255, 255, 0.24);
|
||
margin-top: 28rpx;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.hero-progress-inner {
|
||
height: 100%;
|
||
border-radius: 999rpx;
|
||
background-color: #FFFFFF;
|
||
}
|
||
|
||
.hero-foot {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
margin-top: 16rpx;
|
||
}
|
||
|
||
.hero-foot-item {
|
||
font-size: 22rpx;
|
||
opacity: 0.86;
|
||
}
|
||
|
||
.hero-cta {
|
||
margin-top: 24rpx;
|
||
height: 80rpx;
|
||
border-radius: 40rpx;
|
||
background-color: #FFFFFF;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
}
|
||
|
||
.hero-cta-text {
|
||
font-size: 28rpx;
|
||
font-weight: 500;
|
||
color: #E8604C;
|
||
letter-spacing: 1rpx;
|
||
}
|
||
|
||
.quick {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
margin-bottom: 20rpx;
|
||
}
|
||
|
||
.quick-item {
|
||
width: 25%;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
margin-bottom: 20rpx;
|
||
}
|
||
|
||
.quick-icon {
|
||
width: 112rpx;
|
||
height: 112rpx;
|
||
border-radius: 36rpx;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
}
|
||
|
||
.quick-label {
|
||
margin-top: 14rpx;
|
||
font-size: 24rpx;
|
||
color: #8C7367;
|
||
}
|
||
|
||
.tip-card {
|
||
background-color: #FFFFFF;
|
||
border-radius: 32rpx;
|
||
padding: 28rpx 32rpx;
|
||
margin-bottom: 28rpx;
|
||
border: 2rpx solid #F8E7DF;
|
||
box-shadow: 0 10rpx 28rpx rgba(232, 96, 76, 0.06);
|
||
}
|
||
|
||
.tip-head {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
}
|
||
|
||
.tip-title {
|
||
font-size: 30rpx;
|
||
font-weight: 600;
|
||
color: #3E2C27;
|
||
}
|
||
|
||
.tip-tag {
|
||
font-size: 20rpx;
|
||
color: #E8604C;
|
||
background-color: #FFF1E9;
|
||
padding: 6rpx 16rpx;
|
||
border-radius: 999rpx;
|
||
}
|
||
|
||
.tip-desc {
|
||
display: block;
|
||
margin-top: 10rpx;
|
||
font-size: 24rpx;
|
||
color: #8C7367;
|
||
line-height: 1.7;
|
||
}
|
||
|
||
.jijing-top {
|
||
display: flex;
|
||
align-items: flex-start;
|
||
}
|
||
|
||
.jijing-emoji {
|
||
font-size: 52rpx;
|
||
line-height: 1.1;
|
||
margin-right: 20rpx;
|
||
}
|
||
|
||
.jijing-head {
|
||
flex: 1;
|
||
display: flex;
|
||
flex-direction: column;
|
||
}
|
||
|
||
.jijing-title {
|
||
font-size: 30rpx;
|
||
font-weight: 600;
|
||
color: #3E2C27;
|
||
}
|
||
|
||
.jijing-summary {
|
||
margin-top: 8rpx;
|
||
font-size: 24rpx;
|
||
color: #8C7367;
|
||
line-height: 1.7;
|
||
}
|
||
|
||
.jijing-foot {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: flex-end;
|
||
margin-top: 16rpx;
|
||
}
|
||
|
||
.jijing-read {
|
||
font-size: 24rpx;
|
||
color: #E8604C;
|
||
}
|
||
|
||
.jijing-arrow {
|
||
font-size: 28rpx;
|
||
color: #E8604C;
|
||
margin-left: 4rpx;
|
||
}
|
||
|
||
.reminder {
|
||
padding: 8rpx 32rpx;
|
||
}
|
||
|
||
.reminder-item {
|
||
display: flex;
|
||
align-items: center;
|
||
padding: 22rpx 0;
|
||
}
|
||
|
||
.reminder-item + .reminder-item {
|
||
border-top: 2rpx solid #F5E7DF;
|
||
}
|
||
|
||
.reminder-body {
|
||
flex: 1;
|
||
display: flex;
|
||
flex-direction: column;
|
||
}
|
||
|
||
.reminder-title {
|
||
font-size: 28rpx;
|
||
color: #3E2C27;
|
||
}
|
||
|
||
.reminder-desc {
|
||
margin-top: 4rpx;
|
||
font-size: 22rpx;
|
||
color: #8C7367;
|
||
}
|
||
|
||
.mood-chart {
|
||
padding: 32rpx 24rpx 20rpx;
|
||
}
|
||
|
||
.mood-bars {
|
||
display: flex;
|
||
align-items: flex-end;
|
||
justify-content: space-between;
|
||
height: 140rpx;
|
||
padding: 0 8rpx;
|
||
}
|
||
|
||
.mood-bar-wrap {
|
||
flex: 1;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
justify-content: flex-end;
|
||
}
|
||
|
||
.mood-bar {
|
||
width: 28rpx;
|
||
border-radius: 999rpx;
|
||
background: linear-gradient(180deg, #F5A65B 0%, #E8604C 100%);
|
||
}
|
||
|
||
.mood-bar-empty {
|
||
background-color: #F5E7DF;
|
||
}
|
||
|
||
.mood-bar-label {
|
||
margin-top: 10rpx;
|
||
font-size: 20rpx;
|
||
color: #B9A79E;
|
||
}
|
||
|
||
.mood-foot {
|
||
margin-top: 12rpx;
|
||
padding-top: 16rpx;
|
||
border-top: 2rpx solid #F5E7DF;
|
||
text-align: center;
|
||
}
|
||
|
||
.mood-foot-text {
|
||
font-size: 22rpx;
|
||
color: #8C7367;
|
||
}
|
||
|
||
.vip-card {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
padding: 28rpx 32rpx;
|
||
border-radius: 32rpx;
|
||
background: linear-gradient(135deg, #FFF1E0 0%, #FFE3D3 100%);
|
||
border: 2rpx solid #F7DCC8;
|
||
margin-bottom: 24rpx;
|
||
}
|
||
|
||
.vip-left {
|
||
flex: 1;
|
||
display: flex;
|
||
flex-direction: column;
|
||
}
|
||
|
||
.vip-title {
|
||
font-size: 30rpx;
|
||
font-weight: 600;
|
||
color: #A8452F;
|
||
}
|
||
|
||
.vip-desc {
|
||
margin-top: 6rpx;
|
||
font-size: 22rpx;
|
||
color: #B5715B;
|
||
}
|
||
|
||
.vip-btn {
|
||
padding: 14rpx 28rpx;
|
||
border-radius: 999rpx;
|
||
background-color: #FFFFFF;
|
||
}
|
||
|
||
.vip-btn-text {
|
||
font-size: 22rpx;
|
||
color: #C9482F;
|
||
}
|
||
|
||
.footer {
|
||
padding: 16rpx 0 24rpx;
|
||
text-align: center;
|
||
}
|
||
|
||
.footer-text {
|
||
font-size: 20rpx;
|
||
color: #C9B4AA;
|
||
}
|
||
</style>
|