insurance-planning.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603
  1. <template>
  2. <scroll-view class="container" scroll-y>
  3. <!-- 加载状态 -->
  4. <view v-if="loading" class="loading-state">
  5. <text class="loading-icon">🔍</text>
  6. <text class="loading-text">正在分析家庭保险规划...</text>
  7. </view>
  8. <template v-else-if="report">
  9. <!-- 综合评分卡 -->
  10. <view class="score-card">
  11. <view class="score-header">
  12. <text class="score-title">🛡️ 保险规划评分</text>
  13. <text class="score-status" :class="'status-' + report._cssStatus">{{ report.overallStatus }}</text>
  14. </view>
  15. <view class="score-body">
  16. <view class="score-ring">
  17. <view class="score-ring-inner">
  18. <text class="score-value">{{ report.coverageScore }}</text>
  19. <text class="score-max">/100</text>
  20. </view>
  21. </view>
  22. <view class="score-dims">
  23. <view class="dim-row">
  24. <text class="dim-label">身</text>
  25. <view class="dim-bar">
  26. <view class="dim-fill body-fill" :style="'width:' + (report.familyBodyScore || 0) + '%'"></view>
  27. </view>
  28. <text class="dim-value">{{ report.familyBodyScore || 0 }}分</text>
  29. </view>
  30. <view class="dim-row">
  31. <text class="dim-label">心</text>
  32. <view class="dim-bar">
  33. <view class="dim-fill mind-fill" :style="'width:' + (report.familyMindScore || 0) + '%'"></view>
  34. </view>
  35. <text class="dim-value">{{ report.familyMindScore || 0 }}分</text>
  36. </view>
  37. <view class="dim-row">
  38. <text class="dim-label">智</text>
  39. <view class="dim-bar">
  40. <view class="dim-fill wisdom-fill" :style="'width:' + (report.familyWisdomScore || 0) + '%'"></view>
  41. </view>
  42. <text class="dim-value">{{ report.familyWisdomScore || 0 }}分</text>
  43. </view>
  44. </view>
  45. </view>
  46. <!-- 缺口统计 -->
  47. <view class="gap-stats">
  48. <view class="gap-stat high" v-if="report.highPriorityGapCount > 0">
  49. <text class="gap-stat-num">{{ report.highPriorityGapCount }}</text>
  50. <text class="gap-stat-label">高优先级</text>
  51. </view>
  52. <view class="gap-stat medium" v-if="report.mediumPriorityGapCount > 0">
  53. <text class="gap-stat-num">{{ report.mediumPriorityGapCount }}</text>
  54. <text class="gap-stat-label">中优先级</text>
  55. </view>
  56. <view class="gap-stat low" v-if="report.lowPriorityGapCount > 0">
  57. <text class="gap-stat-num">{{ report.lowPriorityGapCount }}</text>
  58. <text class="gap-stat-label">低优先级</text>
  59. </view>
  60. </view>
  61. </view>
  62. <!-- 整体建议 -->
  63. <view class="section">
  64. <view class="recommend-card">
  65. <text class="recommend-title">💡 综合建议</text>
  66. <text class="recommend-text">{{ report.overallRecommendation }}</text>
  67. </view>
  68. </view>
  69. <!-- 成员覆盖卡片 -->
  70. <view class="section" v-if="report.memberCoverages && report.memberCoverages.length > 0">
  71. <view class="section-header">
  72. <text class="section-title">👨‍👩‍👧‍👦 成员覆盖情况</text>
  73. <text class="section-sub">{{ report.memberCount }} 位成员</text>
  74. </view>
  75. <view class="member-list">
  76. <view class="member-card" v-for="m in coverageMembers" :key="m.memberId">
  77. <view class="member-header">
  78. <view class="member-avatar">{{ (m.name || '未知').substring(0, 1) }}</view>
  79. <view class="member-info">
  80. <text class="member-name">{{ m.name || '未知' }}</text>
  81. <text class="member-role">{{ m.familyRole || (m.memberType === 'parent' ? '家长' : '成员') }}</text>
  82. </view>
  83. <view class="member-policy-badge" v-if="m.policyCount > 0">
  84. <text>{{ m.policyCount }}份保单</text>
  85. </view>
  86. <view class="member-policy-badge no-policy" v-else>
  87. <text>暂无保单</text>
  88. </view>
  89. </view>
  90. <!-- 维度得分 -->
  91. <view class="member-dims" v-if="m.bodyScore || m.mindScore || m.wisdomScore">
  92. <view class="member-dim-item">
  93. <text class="mdim-label">身</text>
  94. <text class="mdim-val">{{ m.bodyScore || 0 }}</text>
  95. </view>
  96. <view class="member-dim-item">
  97. <text class="mdim-label">心</text>
  98. <text class="mdim-val">{{ m.mindScore || 0 }}</text>
  99. </view>
  100. <view class="member-dim-item">
  101. <text class="mdim-label">智</text>
  102. <text class="mdim-val">{{ m.wisdomScore || 0 }}</text>
  103. </view>
  104. </view>
  105. <!-- 覆盖状态 -->
  106. <view class="coverage-chips">
  107. <view class="coverage-chip" :class="'chip-' + m._cssMedical" @click="showCoverageTip(m.memberName, 'medical')">
  108. <text>医疗险</text>
  109. <text class="chip-status">{{ getCoverageLabel(m.medicalCoverage) }}</text>
  110. </view>
  111. <view class="coverage-chip" :class="'chip-' + m._cssCriticalIllness" @click="showCoverageTip(m.memberName, 'critical_illness')">
  112. <text>重疾险</text>
  113. <text class="chip-status">{{ getCoverageLabel(m.criticalIllnessCoverage) }}</text>
  114. </view>
  115. <view class="coverage-chip" :class="'chip-' + m._cssAccident" @click="showCoverageTip(m.memberName, 'accident')">
  116. <text>意外险</text>
  117. <text class="chip-status">{{ getCoverageLabel(m.accidentCoverage) }}</text>
  118. </view>
  119. <view class="coverage-chip" v-if="m.educationCoverage && m.educationCoverage !== 'not_applicable'" :class="'chip-' + m._cssEducation">
  120. <text>教育金</text>
  121. <text class="chip-status">{{ getCoverageLabel(m.educationCoverage) }}</text>
  122. </view>
  123. <view class="coverage-chip" v-if="m.mentalHealthCoverage && m.mentalHealthCoverage !== 'not_applicable'" :class="'chip-' + m._cssMental">
  124. <text>心理险</text>
  125. <text class="chip-status">{{ getCoverageLabel(m.mentalHealthCoverage) }}</text>
  126. </view>
  127. </view>
  128. </view>
  129. </view>
  130. </view>
  131. <!-- 缺口列表 -->
  132. <view class="section" v-if="report.gaps && report.gaps.length > 0">
  133. <view class="section-header">
  134. <text class="section-title">⚠️ 保障缺口</text>
  135. <text class="section-sub">共 {{ report.gaps.length }} 项</text>
  136. </view>
  137. <view class="gap-list">
  138. <view class="gap-card" v-for="(g, idx) in report.gaps" :key="idx">
  139. <view class="gap-header">
  140. <view class="gap-priority" :class="'priority-' + g.priority">{{ getPriorityLabel(g.priority) }}</view>
  141. <text class="gap-member">{{ g.memberName }}</text>
  142. <text class="gap-type">{{ g.gapTypeName }}</text>
  143. </view>
  144. <text class="gap-desc">{{ g.gapDescription }}</text>
  145. <view class="gap-products" v-if="g.recommendedTypes && g.recommendedTypes.length > 0">
  146. <text class="gap-products-label">推荐险种:</text>
  147. <text class="gap-products-list">{{ g.recommendedTypes.join(' / ') }}</text>
  148. </view>
  149. <view class="gap-actions">
  150. <button class="gap-add-btn" @click="goToAddPolicy(g)">添加保单</button>
  151. </view>
  152. </view>
  153. </view>
  154. </view>
  155. <!-- 无缺口提示 -->
  156. <view class="section" v-if="report.gaps && report.gaps.length === 0">
  157. <view class="all-covered-card">
  158. <text class="all-covered-icon">✅</text>
  159. <text class="all-covered-title">保险配置完善</text>
  160. <text class="all-covered-desc">您的家庭保险已覆盖主要风险,请定期复审保单有效性。</text>
  161. </view>
  162. </view>
  163. <!-- 保单管理入口 -->
  164. <view class="section">
  165. <view class="action-btn" @click="goToInsuranceList">
  166. <text>📋 管理我的保单</text>
  167. <text class="action-arrow">›</text>
  168. </view>
  169. </view>
  170. </template>
  171. <!-- 无数据 -->
  172. <view v-else class="empty-state">
  173. <text class="empty-icon">🛡️</text>
  174. <text class="empty-title">暂无保险规划数据</text>
  175. <text class="empty-desc">请先加入家庭后再使用此功能</text>
  176. </view>
  177. </scroll-view>
  178. </template>
  179. <script>
  180. import { getInsurancePlanning, ensureFamily } from '../../utils/api'
  181. export default {
  182. data() {
  183. return {
  184. loading: true,
  185. report: null
  186. }
  187. },
  188. computed: {
  189. /** 成员覆盖数据:预计算CSS类名(wxss不支持中文类名,禁止:class方法调用) */
  190. coverageMembers: function() {
  191. var members = this.report && this.report.memberCoverages
  192. if (!members) return []
  193. var self = this
  194. return members.map(function(m) {
  195. m._cssMedical = self._coverageCss(m.medicalCoverage)
  196. m._cssCriticalIllness = self._coverageCss(m.criticalIllnessCoverage)
  197. m._cssAccident = self._coverageCss(m.accidentCoverage)
  198. m._cssEducation = self._coverageCss(m.educationCoverage)
  199. m._cssMental = self._coverageCss(m.mentalHealthCoverage)
  200. return m
  201. })
  202. }
  203. },
  204. onShow() {
  205. this.loadPlanning()
  206. },
  207. methods: {
  208. async loadPlanning() {
  209. var ui = uni.getStorageSync('userInfo') || {}
  210. if (!ui.familyId) {
  211. var result = await ensureFamily()
  212. if (result && result.created) {
  213. this.loadPlanning()
  214. } else {
  215. this.loading = false
  216. }
  217. return
  218. }
  219. this.loading = true
  220. try {
  221. const res = await getInsurancePlanning()
  222. if (res && res.code === 200 && res.data) {
  223. this.report = res.data
  224. // 预计算CSS类名(wxss/wxml不支持中文和特殊字符)
  225. var self = this
  226. this.report._cssStatus = self._overallStatusCss(res.data.overallStatus)
  227. } else {
  228. this.report = null
  229. }
  230. } catch (e) {
  231. console.error('获取保险规划失败', e)
  232. this.report = null
  233. } finally {
  234. this.loading = false
  235. }
  236. },
  237. /** 覆盖等级 → CSS类名 */
  238. _overallStatusCss: function(s) {
  239. var map = { '优秀': 'excellent', '良好': 'good', '一般': 'fair', '较差': 'poor', '差': 'bad' }
  240. return map[s] || 'neutral'
  241. },
  242. _coverageCss: function(level) {
  243. if (level === 'comprehensive' || level === 'adequate') return 'good'
  244. if (level === 'basic') return 'warn'
  245. if (level === 'none') return 'danger'
  246. return 'neutral'
  247. },
  248. getCoverageLabel(level) {
  249. if (level === 'comprehensive') return '完善'
  250. if (level === 'adequate') return '充足'
  251. if (level === 'basic') return '基础'
  252. if (level === 'none') return '缺失'
  253. if (level === 'not_applicable') return '不适用'
  254. return level || '缺失'
  255. },
  256. getPriorityLabel(priority) {
  257. if (priority === 'high') return '高'
  258. if (priority === 'medium') return '中'
  259. return '低'
  260. },
  261. showCoverageTip(name, type) {
  262. var tips = {
  263. medical: '医疗险:覆盖门诊和住院医疗费用,按实际花费报销',
  264. critical_illness: '重疾险:确诊即赔,一次性给付保险金',
  265. accident: '意外险:覆盖意外伤害医疗、身故和伤残'
  266. }
  267. uni.showModal({
  268. title: '险种说明',
  269. content: tips[type] || '',
  270. showCancel: false
  271. })
  272. },
  273. goToAddPolicy(gap) {
  274. uni.navigateTo({
  275. url: '/pages/wealth-sub/insurance-add?gapType=' + gap.gapType + '&memberId=' + gap.memberId
  276. })
  277. },
  278. goToInsuranceList() {
  279. uni.navigateTo({
  280. url: '/pages/wealth-sub/insurance-list'
  281. })
  282. }
  283. }
  284. }
  285. </script>
  286. <style scoped lang="scss">
  287. $c-success-deep: #389E0D; // green-700 成功深档(单页专有)
  288. $c-danger-deep: #CF1322; // red-700 危险深档(单页专有)
  289. $c-warning-deep: #D46B08; // gold-7 警示深档(单页专有)
  290. $c-navy-light: #2D5A8A; // 海军蓝渐变亮端(单页专有)
  291. $c-warning-ink: #78350F; // amber-900 警示极深文字(单页专有)
  292. $c-success-soft: #B7EB8F; // green-200 成功浅档(单页专有)
  293. $c-warning-mid: #FFA940; // gold-6 警示中档(单页专有)
  294. .container {
  295. min-height: 100vh;
  296. background: $app-bg;
  297. padding: 20rpx 30rpx 120rpx;
  298. width: 100%;
  299. box-sizing: border-box;
  300. overflow-x: hidden;
  301. }
  302. /* 加载 */
  303. .loading-state {
  304. display: flex;
  305. flex-direction: column;
  306. align-items: center;
  307. padding: 120rpx 0;
  308. }
  309. .loading-icon { font-size: 64rpx; margin-bottom: 24rpx; }
  310. .loading-text { font-size: 28rpx; color: $facade-text-muted; }
  311. /* 综合评分卡 */
  312. .score-card {
  313. background: linear-gradient(135deg, $accent-navy 0%, $c-navy-light 100%);
  314. border-radius: 24rpx;
  315. padding: 32rpx;
  316. margin-bottom: 24rpx;
  317. color: $app-surface;
  318. }
  319. .score-header {
  320. display: flex;
  321. justify-content: space-between;
  322. align-items: center;
  323. margin-bottom: 24rpx;
  324. }
  325. .score-title { font-size: 30rpx; font-weight: bold; }
  326. .score-status {
  327. font-size: 26rpx;
  328. padding: 6rpx 20rpx;
  329. border-radius: 20rpx;
  330. background: rgba(255,255,255,0.2);
  331. }
  332. .score-body {
  333. display: flex;
  334. align-items: center;
  335. gap: 32rpx;
  336. }
  337. .score-ring {
  338. width: 160rpx;
  339. height: 160rpx;
  340. border-radius: 50%;
  341. border: 8rpx solid rgba(255,255,255,0.3);
  342. display: flex;
  343. align-items: center;
  344. justify-content: center;
  345. flex-shrink: 0;
  346. }
  347. .score-ring-inner { text-align: center; }
  348. .score-value { font-size: 56rpx; font-weight: bold; display: block; }
  349. .score-max { font-size: 24rpx; opacity: 0.7; }
  350. .score-dims { flex: 1; }
  351. .dim-row {
  352. display: flex;
  353. align-items: center;
  354. margin-bottom: 16rpx;
  355. }
  356. .dim-label {
  357. font-size: 26rpx;
  358. width: 36rpx;
  359. color: rgba(255,255,255,0.8);
  360. }
  361. .dim-bar {
  362. flex: 1;
  363. height: 12rpx;
  364. background: rgba(255,255,255,0.2);
  365. border-radius: 6rpx;
  366. margin: 0 12rpx;
  367. overflow: hidden;
  368. }
  369. .dim-fill {
  370. height: 100%;
  371. border-radius: 6rpx;
  372. }
  373. .body-fill { background: $dim-body; }
  374. .mind-fill { background: $dim-mind; }
  375. .wisdom-fill { background: $dim-wisdom; }
  376. .dim-value {
  377. font-size: 24rpx;
  378. width: 70rpx;
  379. text-align: right;
  380. color: rgba(255,255,255,0.9);
  381. }
  382. .gap-stats {
  383. display: flex;
  384. gap: 16rpx;
  385. margin-top: 24rpx;
  386. padding-top: 20rpx;
  387. border-top: 1rpx solid rgba(255,255,255,0.15);
  388. }
  389. .gap-stat {
  390. flex: 1;
  391. background: rgba(255,255,255,0.12);
  392. border-radius: 12rpx;
  393. padding: 12rpx 0;
  394. text-align: center;
  395. }
  396. .gap-stat.high { border-left: 4rpx solid $status-danger-2; }
  397. .gap-stat.medium { border-left: 4rpx solid $c-warning-mid; }
  398. .gap-stat.low { border-left: 4rpx solid $status-success-3; }
  399. .gap-stat-num {
  400. font-size: 36rpx;
  401. font-weight: bold;
  402. display: block;
  403. color: $app-surface;
  404. }
  405. .gap-stat-label { font-size: 22rpx; color: rgba(255,255,255,0.7); }
  406. /* 整体建议 */
  407. .recommend-card {
  408. background: $status-warning-tint;
  409. border-radius: 16rpx;
  410. padding: 24rpx;
  411. border-left: 6rpx solid $status-warning-2;
  412. }
  413. .recommend-title { font-size: 28rpx; font-weight: bold; color: $status-warning-strong; display: block; margin-bottom: 12rpx; }
  414. .recommend-text { font-size: 26rpx; color: $c-warning-ink; line-height: 1.6; }
  415. /* Section */
  416. .section { margin-bottom: 24rpx; }
  417. .section-header {
  418. display: flex;
  419. justify-content: space-between;
  420. align-items: center;
  421. margin-bottom: 16rpx;
  422. }
  423. .section-title { font-size: 30rpx; font-weight: bold; color: $facade-text-strong; }
  424. .section-sub { font-size: 24rpx; color: $facade-text-muted; }
  425. /* 成员卡片 */
  426. .member-list {}
  427. .member-card {
  428. background: $app-surface;
  429. border-radius: 16rpx;
  430. padding: 24rpx;
  431. margin-bottom: 16rpx;
  432. box-shadow: 0 2rpx 12rpx rgba(0,0,0,0.06);
  433. }
  434. .member-header {
  435. display: flex;
  436. align-items: center;
  437. margin-bottom: 16rpx;
  438. }
  439. .member-avatar {
  440. width: 72rpx;
  441. height: 72rpx;
  442. border-radius: 50%;
  443. background: linear-gradient(135deg, $accent-indigo, $accent-indigo-deep);
  444. color: $app-surface;
  445. font-size: 32rpx;
  446. display: flex;
  447. align-items: center;
  448. justify-content: center;
  449. margin-right: 16rpx;
  450. flex-shrink: 0;
  451. }
  452. .member-info { flex: 1; }
  453. .member-name { font-size: 30rpx; font-weight: bold; color: $facade-text-strong; display: block; }
  454. .member-role { font-size: 24rpx; color: $facade-text-muted; }
  455. .member-policy-badge {
  456. font-size: 22rpx;
  457. background: $status-success-soft-2;
  458. color: $status-success-text;
  459. padding: 6rpx 16rpx;
  460. border-radius: 20rpx;
  461. }
  462. .member-policy-badge.no-policy {
  463. background: $status-danger-tint-2;
  464. color: $status-danger-deep;
  465. }
  466. .member-dims {
  467. display: flex;
  468. gap: 24rpx;
  469. margin-bottom: 16rpx;
  470. padding: 12rpx 0;
  471. border-top: 1rpx solid $facade-fill-2;
  472. border-bottom: 1rpx solid $facade-fill-2;
  473. }
  474. .member-dim-item { text-align: center; flex: 1; }
  475. .mdim-label { font-size: 22rpx; color: $facade-text-muted; display: block; }
  476. .mdim-val { font-size: 32rpx; font-weight: bold; color: $facade-text-strong; }
  477. /* 覆盖状态芯片 */
  478. .coverage-chips {
  479. display: flex;
  480. flex-wrap: wrap;
  481. gap: 12rpx;
  482. }
  483. .coverage-chip {
  484. display: flex;
  485. align-items: center;
  486. gap: 8rpx;
  487. padding: 8rpx 16rpx;
  488. border-radius: 20rpx;
  489. font-size: 24rpx;
  490. background: $facade-fill;
  491. color: $facade-text-body;
  492. }
  493. .coverage-chip.chip-good { background: $status-success-soft-2; color: $status-success-text; }
  494. .coverage-chip.chip-warn { background: $brand-primary-tint-2; color: $c-warning-deep; }
  495. .coverage-chip.chip-danger { background: $status-danger-tint-3; color: $c-danger-deep; }
  496. .chip-status { font-size: 22rpx; }
  497. /* 缺口列表 */
  498. .gap-list {}
  499. .gap-card {
  500. background: $app-surface;
  501. border-radius: 16rpx;
  502. padding: 24rpx;
  503. margin-bottom: 16rpx;
  504. box-shadow: 0 2rpx 12rpx rgba(0,0,0,0.06);
  505. border-left: 6rpx solid;
  506. }
  507. .gap-card[style*="priority-high"] { border-left-color: $status-danger-2; }
  508. .gap-header {
  509. display: flex;
  510. align-items: center;
  511. margin-bottom: 12rpx;
  512. gap: 12rpx;
  513. }
  514. .gap-priority {
  515. font-size: 22rpx;
  516. padding: 4rpx 12rpx;
  517. border-radius: 8rpx;
  518. }
  519. .gap-priority.priority-high { background: $status-danger-tint-3; color: $c-danger-deep; }
  520. .gap-priority.priority-medium { background: $brand-primary-tint-2; color: $c-warning-deep; }
  521. .gap-priority.priority-low { background: $status-success-tint-3; color: $c-success-deep; }
  522. .gap-member { font-size: 28rpx; font-weight: bold; color: $facade-text-strong; }
  523. .gap-type { font-size: 26rpx; color: $facade-text-body; }
  524. .gap-desc {
  525. font-size: 26rpx;
  526. color: $facade-text-deep;
  527. line-height: 1.5;
  528. display: block;
  529. margin-bottom: 12rpx;
  530. }
  531. .gap-products { margin-bottom: 12rpx; }
  532. .gap-products-label { font-size: 24rpx; color: $facade-text-muted; }
  533. .gap-products-list { font-size: 24rpx; color: $status-warning-2; font-weight: 500; }
  534. .gap-actions { display: flex; justify-content: flex-end; }
  535. .gap-add-btn {
  536. font-size: 24rpx;
  537. background: $brand-primary;
  538. color: $app-surface;
  539. padding: 10rpx 28rpx;
  540. border-radius: 24rpx;
  541. line-height: 1.5;
  542. }
  543. /* 全覆盖 */
  544. .all-covered-card {
  545. background: $status-success-tint-3;
  546. border-radius: 16rpx;
  547. padding: 40rpx;
  548. text-align: center;
  549. border: 2rpx solid $c-success-soft;
  550. }
  551. .all-covered-icon { font-size: 64rpx; display: block; margin-bottom: 16rpx; }
  552. .all-covered-title { font-size: 30rpx; font-weight: bold; color: $c-success-deep; display: block; margin-bottom: 12rpx; }
  553. .all-covered-desc { font-size: 26rpx; color: $status-success-3; }
  554. /* 保单管理入口 */
  555. .action-btn {
  556. display: flex;
  557. justify-content: space-between;
  558. align-items: center;
  559. background: $app-surface;
  560. border-radius: 16rpx;
  561. padding: 28rpx 30rpx;
  562. font-size: 28rpx;
  563. color: $facade-text-strong;
  564. box-shadow: 0 2rpx 12rpx rgba(0,0,0,0.06);
  565. }
  566. .action-arrow { color: $facade-text-ghost; font-size: 32rpx; }
  567. /* 空状态 */
  568. .empty-state {
  569. display: flex;
  570. flex-direction: column;
  571. align-items: center;
  572. padding: 120rpx 0;
  573. }
  574. .empty-icon { font-size: 80rpx; margin-bottom: 24rpx; }
  575. .empty-title { font-size: 32rpx; font-weight: bold; color: $facade-text-strong; margin-bottom: 12rpx; }
  576. .empty-desc { font-size: 26rpx; color: $facade-text-muted; }
  577. </style>