index.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854
  1. <template>
  2. <view class="flex-col justify-start home-container">
  3. <view class="container-bg"></view>
  4. <cu-custom bgColor="#fff"><view slot="content" style="color: #FFFFFF">UU睡眠</view></cu-custom>
  5. <view class="flex-col home-module space-y-20">
  6. <!-- no device added -->
  7. <view v-if="!deviceAdded">
  8. <view class="flex-col items-start home-header space-y-10">
  9. <text class="home-header-title">欢迎回来!</text>
  10. <text class="font_3 text_3 home-header-subtitle">我是小云,您的健康智慧管家。</text>
  11. </view>
  12. <view class="flex-row items-center home_add_devive space-x-10">
  13. <image
  14. class="image_4"
  15. src="../../static/home/homeIconAdd.png"
  16. />
  17. <text class="text_5">添加设备</text>
  18. </view>
  19. <view class="home-ad flex-col group_5 space-y-40">
  20. <view class="flex-col home-header space-y-6">
  21. <view class="flex-row items-center space-x-8">
  22. <text class="font_4 text_8">UU AI智能睡眠监测仪</text>
  23. <view class="flex-row items-center section_7">
  24. <text class="font_5 text_9">去看看</text>
  25. <image
  26. class="shrink-0 image_9"
  27. src="../../static/home/homeIconGO.png"
  28. />
  29. </view>
  30. </view>
  31. <view class="flex-row items-center space-x-10">
  32. <text class="font_5 text_3 text_10">AI时代,全家人的睡眠健康顾问</text>
  33. </view>
  34. </view>
  35. </view>
  36. <view class="flex-col">
  37. <view class="flex-col group_5">
  38. <view class="flex-col home_blank_heart">
  39. <view class="flex-row items-center group_7 space-x-4">
  40. <image
  41. class="image_6"
  42. src="../../static/home/homeIconHeart.png"
  43. />
  44. <text class="font_1 text_9">心率</text>
  45. </view>
  46. <view class="flex-row justify-end items-start">
  47. <view class="section_5 view"></view>
  48. <text class="font_3 text_10">--</text>
  49. </view>
  50. <view class="flex-col group_8">
  51. <text class="self-start font_4 text_11">次/分</text>
  52. <view class="shrink-0 self-end section_5"></view>
  53. </view>
  54. </view>
  55. <view class="flex-col home_blank_breath">
  56. <view class="flex-row items-center group_10 space-x-4">
  57. <image
  58. class="image_7"
  59. src="../../static/home/homeIconBreath.png"
  60. />
  61. <text class="font_1 text_12">呼吸</text>
  62. </view>
  63. <view class="flex-row justify-end items-start">
  64. <view class="section_5 view_2"></view>
  65. <text class="font_3 text_13">--</text>
  66. </view>
  67. <view class="flex-col group_8">
  68. <text class="self-start font_4 text_11">次/分</text>
  69. <view class="shrink-0 self-end section_5"></view>
  70. </view>
  71. </view>
  72. </view>
  73. <view class="flex-row items-center home_blank_alert space-x-16">
  74. <image
  75. class="image_8"
  76. src="../../static/home/homeIconGift.png"
  77. />
  78. <view class="flex-col items-start flex-auto space-y-4">
  79. <text class="font_5">昨晚您的睡眠质量很好</text>
  80. <text class="font_5">暂时没有预警信息</text>
  81. </view>
  82. </view>
  83. </view>
  84. </view>
  85. <!-- device added -->
  86. <view v-if="deviceAdded" class="flex-col">
  87. <view class="flex-col items-start home-header space-y-10">
  88. <text class="home-header-title">欢迎回来!</text>
  89. <text class="font_3 text_3 home-header-subtitle">我是小云,您的健康智慧管家。</text>
  90. </view>
  91. <!-- home device -->
  92. <view class="flex-col home-device space-y-15">
  93. <view class="flex-row home-device-header">
  94. <view class="flex-row justify-between flex-auto equal-division">
  95. <view class="flex-row equal-division-item space-x-4">
  96. <text class="font_3 text_5">场景</text>
  97. <text class="font_3">老人房</text>
  98. </view>
  99. <view class="flex-row equal-division-item space-x-14">
  100. <view class="flex-row space-x-4">
  101. <image class="shrink-0 image_6" src="../../static/home/homeIconWifi.png" />
  102. <text class="font_3">在线</text>
  103. </view>
  104. <view class="flex-row items-center space-x-6">
  105. <text class="font_3 text_6">45%</text>
  106. <image class="shrink-0 image_7" src="../../static/home/homeIconPower.png" />
  107. </view>
  108. </view>
  109. </view>
  110. <view class="flex-row items-center section_5 space-x-4">
  111. <image class="shrink-0 image_8" src="../../static/home/homeIconChange.png"/>
  112. <text class="font_3">切换</text>
  113. </view>
  114. </view>
  115. <view class="flex-row justify-center self-center home-device-status space-x-8">
  116. <text class="font_4 text_7">当前状态</text>
  117. <text class="font_4">在床</text>
  118. </view>
  119. <view>
  120. <uni-steps :options="list1" :active="active" />
  121. </view>
  122. <view class="flex-row self-center items-center home-device-setting">
  123. <image
  124. class="shrink-0 image_8"
  125. src="../../static/home/homeIconSet.png"
  126. />
  127. <text>设置目标</text>
  128. </view>
  129. </view>
  130. <view class="home-report flex-col group_5 space-y-40">
  131. <view class="flex-col home-header space-y-6">
  132. <view class="flex-row items-center space-x-8">
  133. <text class="font_4 text_8">睡眠报告</text>
  134. <view class="flex-row items-center section_7">
  135. <text class="font_5 text_9">去看看</text>
  136. <image
  137. class="shrink-0 image_9"
  138. src="../../static/home/homeIconGO.png"
  139. />
  140. </view>
  141. </view>
  142. <view class="flex-row items-center space-x-10">
  143. <text class="font_5 text_3 text_10">小云已为您生成最后一份睡眠报告</text>
  144. <text class="font_5 text_3 text_11">2021-08-24</text>
  145. </view>
  146. </view>
  147. </view>
  148. <view class="flex-col space-y-40 home-data">
  149. <view class="flex-row group_6 equal-division">
  150. <view class="flex-row group_7 space-x-6 home-data-item equal-division-item">
  151. <view class="flex-col shrink-0 self-stretch group_9 space-y-20">
  152. <view class="flex-row items-center space-x-4">
  153. <image
  154. class="shrink-0 image_10"
  155. src="../../static/home/homeIconHeart.png"
  156. />
  157. <text class="font_1">心率</text>
  158. </view>
  159. <text class="self-center font_6">73</text>
  160. </view>
  161. <text class="self-start font_7 text_14">次/分</text>
  162. </view>
  163. <view class="flex-row justify-center group_8 space-x-6 home-data-item equal-division-item">
  164. <view class="flex-col space-y-20">
  165. <view class="flex-row space-x-4">
  166. <image
  167. class="shrink-0 image_4"
  168. src="../../static/home/homeIconBreath.png"
  169. />
  170. <text class="font_1 text_12">呼吸</text>
  171. </view>
  172. <text class="self-center font_6 text_13">24</text>
  173. </view>
  174. <text class="self-start font_7 text_15">次/分</text>
  175. </view>
  176. </view>
  177. </view>
  178. <view class="flex-col home-alert space-y-4">
  179. <view @click="jumpToAlertSetting" class="flex-row items-center space-x-4 home-alert-header">
  180. <image
  181. class="image_10"
  182. src="../../static/home/homeIconHeart.png"
  183. />
  184. <text class="font_1">实时预警</text>
  185. </view>
  186. <view @click="handleAlertSetting" class="flex-col home-alert-list">
  187. <view class="flex-row justify-between items-center list-item" :key="i" v-for="(item, i) in list_alerts">
  188. <view class="flex-row items-center space-x-6">
  189. <image
  190. class="shrink-0 image_11"
  191. src="../../static/home/homeIconAlert.png"
  192. />
  193. <text class="font_8">心率警报</text>
  194. <text class="font_9 text_16">2:25</text>
  195. </view>
  196. <view class="flex-row items-baseline space-x-4">
  197. <text class="font_10">102</text>
  198. <text class="font_8">次/分</text>
  199. </view>
  200. </view>
  201. </view>
  202. </view>
  203. </view>
  204. </view>
  205. <!-- <tab-bar currentPage="home" /> -->
  206. </view>
  207. </template>
  208. <script>
  209. export default {
  210. data() {
  211. return {
  212. deviceAdded: true,
  213. list_alerts: [null, null],
  214. active: 4,
  215. list1: [{
  216. title: '昨日就寝 11:24PM'
  217. }, {
  218. title: '就寝目标 11:00PM'
  219. }, {
  220. title: '起床目标 7:00AM'
  221. }, {
  222. title: '今日起床 7:14AM'
  223. }]
  224. };
  225. },
  226. created() {
  227. },
  228. computed: {
  229. },
  230. methods: {
  231. handleAlertSetting() {
  232. uni.navigateTo({
  233. url: "/pages/alertSetting/alertSetting"
  234. });
  235. }
  236. }
  237. };
  238. </script>
  239. <style lang="scss" scoped>
  240. .equal-division {
  241. .equal-division-item {
  242. padding: 0.25rem 0.38rem 0;
  243. flex: 1 1 10.81rem;
  244. }
  245. }
  246. .home_add_devive {
  247. margin-right: 1.25rem;
  248. margin: 1rem;
  249. padding: 3.75rem 0;
  250. background-color: #0233c699;
  251. border-radius: 1rem;
  252. backdrop-filter: blur(0.63rem);
  253. width: 20.94rem;
  254. .image_4 {
  255. margin-left: 6.38rem;
  256. width: 1.5rem;
  257. height: 1.5rem;
  258. }
  259. .text_5 {
  260. color: #ffffff;
  261. font-size: 1.5rem;
  262. font-family: PingFangSC;
  263. line-height: 1.38rem;
  264. }
  265. }
  266. .space-x-10 {
  267. & > view:not(:first-child),
  268. & > text:not(:first-child),
  269. & > image:not(:first-child) {
  270. margin-left: 0.63rem;
  271. }
  272. }
  273. .home_ad {
  274. margin-left: 2.25rem;
  275. background: url(../../static/home/homeBg2.png);
  276. background-repeat: no-repeat;
  277. background-size: contain;
  278. .text_6 {
  279. padding: 0.13rem 0;
  280. color: #ffffff;
  281. font-size: 1rem;
  282. font-family: PingFangSC;
  283. line-height: 0.94rem;
  284. }
  285. .section_4 {
  286. padding: 0.13rem 0.38rem;
  287. background-image: linear-gradient(90deg, #2c25f799 0%, #061599 100%);
  288. border-radius: 0.44rem;
  289. width: 2.88rem;
  290. height: 0.88rem;
  291. .font_2 {
  292. font-size: 0.69rem;
  293. font-family: PingFangSC;
  294. line-height: 0.63rem;
  295. color: #ffffff;
  296. }
  297. .text_7 {
  298. font-size: 0.63rem;
  299. line-height: 0.56rem;
  300. }
  301. .image_5 {
  302. width: 0.19rem;
  303. height: 0.31rem;
  304. }
  305. }
  306. }
  307. .space-x-6 {
  308. & > view:not(:first-child),
  309. & > text:not(:first-child),
  310. & > image:not(:first-child) {
  311. margin-left: 0.38rem;
  312. }
  313. }
  314. .group_5 {
  315. padding-left: 1rem;
  316. padding-right: 1rem;
  317. .font_2 {
  318. font-size: 0.69rem;
  319. font-family: PingFangSC;
  320. line-height: 0.63rem;
  321. color: #ffffff;
  322. }
  323. .text_8 {
  324. font-size: 0.63rem;
  325. line-height: 0.59rem;
  326. opacity: 0.6;
  327. }
  328. .home_blank_heart {
  329. margin-top: 1rem;
  330. opacity: 1;
  331. border-radius: 16px;
  332. background: linear-gradient(180deg, rgba(52, 26, 75, 1) 0%, rgba(22, 125, 242, 1) 100%);
  333. backdrop-filter: blur(20px);
  334. padding:1rem 0rem 2rem 1rem;
  335. .group_7 {
  336. padding-bottom: 1.13rem;
  337. .image_6 {
  338. width: 1.13rem;
  339. height: 0.88rem;
  340. }
  341. .text_9 {
  342. line-height: 1.03rem;
  343. }
  344. }
  345. .view {
  346. margin-right: -20.13rem;
  347. }
  348. .text_10 {
  349. margin-right: 18.75rem;
  350. margin-top: 1rem;
  351. }
  352. }
  353. .home_blank_breath {
  354. margin-top: 1rem;
  355. opacity: 1;
  356. border-radius: 16px;
  357. background: linear-gradient(180deg, rgba(52, 26, 75, 1) 0%, rgba(22, 125, 242, 1) 100%);
  358. backdrop-filter: blur(20px);
  359. padding:1rem 0rem 2rem 1rem;
  360. .group_10 {
  361. padding-bottom: 1.25rem;
  362. .image_7 {
  363. width: 1.13rem;
  364. height: 1.06rem;
  365. }
  366. .text_12 {
  367. line-height: 1rem;
  368. }
  369. }
  370. .view_2 {
  371. margin-right: -20rem;
  372. }
  373. .text_13 {
  374. margin-right: 18.63rem;
  375. margin-top: 1rem;
  376. }
  377. }
  378. .space-x-4 {
  379. & > view:not(:first-child),
  380. & > text:not(:first-child),
  381. & > image:not(:first-child) {
  382. margin-left: 0.25rem;
  383. }
  384. }
  385. .font_1 {
  386. font-size: 1.13rem;
  387. font-family: PingFangSC;
  388. line-height: 1.06rem;
  389. color: #ffffff;
  390. }
  391. .section_5 {
  392. background-color: #ffffff1a;
  393. width: 15.94rem;
  394. height: 0.063rem;
  395. }
  396. .font_3 {
  397. font-size: 2.5rem;
  398. font-family: PingFangSC;
  399. line-height: 0.19rem;
  400. color: #ffffff;
  401. }
  402. .group_8 {
  403. margin-top: 1.38rem;
  404. padding-left: 0.63rem;
  405. .font_4 {
  406. font-size: 0.69rem;
  407. font-family: PingFangSC;
  408. line-height: 0.63rem;
  409. color: #ffffff80;
  410. }
  411. .text_11 {
  412. font-size: 0.75rem;
  413. line-height: 0.69rem;
  414. }
  415. }
  416. }
  417. .home_blank_alert {
  418. margin: 1rem 1.25rem 0;
  419. padding: 0.94rem;
  420. background-color: #02299ecc;
  421. border-radius: 1rem;
  422. .image_8 {
  423. width: 7.06rem;
  424. height: 4.94rem;
  425. }
  426. .space-y-4 {
  427. & > view:not(:first-child),
  428. & > text:not(:first-child),
  429. & > image:not(:first-child) {
  430. margin-top: 0.25rem;
  431. }
  432. .font_5 {
  433. font-size: 0.88rem;
  434. font-family: PingFangSC;
  435. line-height: 1.06rem;
  436. color: #167df2;
  437. }
  438. }
  439. }
  440. .space-x-16 {
  441. & > view:not(:first-child),
  442. & > text:not(:first-child),
  443. & > image:not(:first-child) {
  444. margin-left: 1rem;
  445. }
  446. }
  447. .container-bg {
  448. position: fixed;
  449. left: -130px;
  450. top: -130px;
  451. width: 480px;
  452. height: 344px;
  453. opacity: 1;
  454. overflow: hidden;
  455. border-radius: 63px;
  456. -webkit-transform: rotate(-315deg);
  457. transform: rotate(-315deg);
  458. background: linear-gradient(90deg, rgba(86, 17, 247, 0.5) 0%, #4d9efa 100%);
  459. }
  460. .home-container {
  461. padding-bottom: 2rem;
  462. background-color: #000000;
  463. width: 100%;
  464. overflow-y: auto;
  465. overflow-x: hidden;
  466. height: 100%;
  467. .home-module {
  468. padding: 1.75rem 0 3.38rem;
  469. overflow-y: auto;
  470. z-index: 100;
  471. .home-header {
  472. padding: 0 1.25rem;
  473. .home-header-title {
  474. color: #ffffff;
  475. font-size: 1.25rem;
  476. font-family: PingFangSC;
  477. line-height: 1.16rem;
  478. }
  479. .text_8 {
  480. color: #ffffff;
  481. opacity: 1;
  482. }
  483. .text_3 {
  484. opacity: 0.6;
  485. }
  486. .home-header-subtitle {
  487. line-height: 0.72rem;
  488. }
  489. .space-x-10 {
  490. & > view:not(:first-child),
  491. & > text:not(:first-child),
  492. & > image:not(:first-child) {
  493. margin-left: 0.63rem;
  494. }
  495. .text_10 {
  496. line-height: 0.59rem;
  497. }
  498. .text_11 {
  499. line-height: 0.47rem;
  500. }
  501. }
  502. }
  503. .space-y-10 {
  504. & > view:not(:first-child),
  505. & > text:not(:first-child),
  506. & > image:not(:first-child) {
  507. margin-top: 0.63rem;
  508. }
  509. }
  510. .home-device {
  511. margin: 1rem 1.25rem;
  512. padding-bottom: 2rem;
  513. background-color: #0233c699;
  514. border-radius: 1rem;
  515. backdrop-filter: blur(0.63rem);
  516. .home-device-setting {
  517. width: 70px;
  518. height: 20px;
  519. opacity: 1;
  520. border-radius: 7px;
  521. background: linear-gradient(90deg, rgba(255, 35, 247, 1) 0%, rgba(91, 30, 154, 1) 100%);
  522. .image_8 {
  523. width: 10px;
  524. height: 10px;
  525. }
  526. font-size: 10px;
  527. font-weight: 400;
  528. line-height: 10px;
  529. color: rgba(255, 255, 255, 1);
  530. padding: 0.3rem;
  531. }
  532. .home-device-header {
  533. background-color: #ffffff33;
  534. border-radius: 1rem 1rem 0px 0px;
  535. .equal-division {
  536. padding: 0 1rem;
  537. .equal-division-item {
  538. padding: 0.38rem 0;
  539. .text_5 {
  540. opacity: 0.5;
  541. }
  542. }
  543. .space-x-14 {
  544. & > view:not(:first-child),
  545. & > text:not(:first-child),
  546. & > image:not(:first-child) {
  547. margin-left: 0.88rem;
  548. }
  549. }
  550. }
  551. .section_5 {
  552. padding: 0.38rem 0.5rem;
  553. background-image: linear-gradient(90deg, #2c25f799 0%, #061599 100%);
  554. border-radius: 0px 1rem 0px 0px;
  555. height: 1.5rem;
  556. .image_8 {
  557. width: 0.75rem;
  558. height: 0.75rem;
  559. }
  560. }
  561. }
  562. .home-device-status {
  563. padding: 0.25rem 0 0.25rem 0.25rem;
  564. background-color: #ffffff33;
  565. border-radius: 0.75rem;
  566. width: 7.88rem;
  567. .text_7 {
  568. opacity: 0.4;
  569. }
  570. }
  571. }
  572. .space-y-15 {
  573. & > view:not(:first-child),
  574. & > text:not(:first-child),
  575. & > image:not(:first-child) {
  576. margin-top: 0.94rem;
  577. }
  578. }
  579. .font_3 {
  580. font-size: 0.75rem;
  581. font-family: PingFangSC;
  582. line-height: 0.69rem;
  583. color: #ffffff;
  584. }
  585. .home-report {
  586. margin: 0 1.25rem;
  587. padding: 1rem 0;
  588. background-image: url(../../static/home/homeReportBg.png);
  589. background-size: contain;
  590. background-repeat: no-repeat;
  591. .space-y-6 {
  592. & > view:not(:first-child),
  593. & > text:not(:first-child),
  594. & > image:not(:first-child) {
  595. margin-top: 0.38rem;
  596. }
  597. }
  598. }
  599. .home-ad {
  600. margin: 0 1.25rem;
  601. padding: 1rem 0;
  602. background-image: url(../../static/home/homeBg2.png);
  603. background-size: contain;
  604. background-repeat: no-repeat;
  605. .space-y-6 {
  606. & > view:not(:first-child),
  607. & > text:not(:first-child),
  608. & > image:not(:first-child) {
  609. margin-top: 0.38rem;
  610. }
  611. }
  612. }
  613. .home-data {
  614. margin: 0rem 1.25rem;
  615. padding: 1rem 0rem;
  616. .home-data-item {
  617. padding: 1rem 0rem;
  618. margin: 0 0.3rem;
  619. opacity: 1;
  620. border-radius: 16px;
  621. background: linear-gradient(180deg, rgba(52, 26, 75, 0.65) 0%, rgba(22, 125, 242, 1) 100%);
  622. backdrop-filter: blur(20px);
  623. }
  624. }
  625. .group_6 {
  626. overflow-x: hidden;
  627. width: 100%;
  628. .group_7 {
  629. overflow-x: hidden;
  630. width: 10rem;
  631. .group_9 {
  632. margin-left: 2.25rem;
  633. }
  634. .text_14 {
  635. margin-top: 3.5rem;
  636. }
  637. }
  638. .group_8 {
  639. width: 10rem;
  640. .text_15 {
  641. margin-top: 3.63rem;
  642. }
  643. }
  644. .font_6 {
  645. font-size: 3rem;
  646. font-family: PingFangSC;
  647. line-height: 2.19rem;
  648. color: #ffffff;
  649. }
  650. .font_7 {
  651. font-size: 0.75rem;
  652. font-family: PingFangSC;
  653. line-height: 0.69rem;
  654. color: #ffffff80;
  655. }
  656. }
  657. .space-y-40 {
  658. & > view:not(:first-child),
  659. & > text:not(:first-child),
  660. & > image:not(:first-child) {
  661. margin-top: 2.5rem;
  662. }
  663. }
  664. .space-x-8 {
  665. & > view:not(:first-child),
  666. & > text:not(:first-child),
  667. & > image:not(:first-child) {
  668. margin-left: 0.5rem;
  669. }
  670. .text_8 {
  671. padding: 0.13rem 0;
  672. }
  673. .section_7 {
  674. padding: 0.13rem 0.38rem;
  675. background-image: linear-gradient(90deg, #ff23f7 0%, #5b1e9a 100%);
  676. border-radius: 0.44rem;
  677. height: 0.88rem;
  678. .text_9 {
  679. line-height: 0.56rem;
  680. }
  681. .image_9 {
  682. width: 0.19rem;
  683. height: 0.31rem;
  684. }
  685. }
  686. }
  687. .font_4 {
  688. font-size: 1rem;
  689. font-family: PingFangSC;
  690. line-height: 0.94rem;
  691. color: #ffffff;
  692. }
  693. .font_5 {
  694. font-size: 0.63rem;
  695. font-family: PingFangSC;
  696. color: #ffffff;
  697. }
  698. .space-x-6 {
  699. & > view:not(:first-child),
  700. & > text:not(:first-child),
  701. & > image:not(:first-child) {
  702. margin-left: 0.38rem;
  703. }
  704. .text_6 {
  705. line-height: 0.56rem;
  706. }
  707. .image_7 {
  708. width: 1.31rem;
  709. height: 0.69rem;
  710. }
  711. .image_11 {
  712. width: 1.13rem;
  713. height: 0.94rem;
  714. }
  715. .font_9 {
  716. font-size: 0.88rem;
  717. font-family: PingFangSC;
  718. line-height: 0.69rem;
  719. color: #167df2;
  720. }
  721. .text_16 {
  722. line-height: 0.63rem;
  723. }
  724. }
  725. .space-x-4 {
  726. & > view:not(:first-child),
  727. & > text:not(:first-child),
  728. & > image:not(:first-child) {
  729. margin-left: 0.25rem;
  730. }
  731. .image_6 {
  732. width: 0.94rem;
  733. height: 0.75rem;
  734. }
  735. .image_10 {
  736. width: 1.13rem;
  737. height: 0.88rem;
  738. }
  739. .font_1 {
  740. font-size: 1.13rem;
  741. font-family: PingFangSC;
  742. line-height: 1.03rem;
  743. color: #ffffff;
  744. }
  745. .image_4 {
  746. width: 1.13rem;
  747. height: 1.06rem;
  748. }
  749. .text_12 {
  750. line-height: 1rem;
  751. }
  752. .font_10 {
  753. font-size: 1.13rem;
  754. font-family: PingFangSC;
  755. line-height: 0.81rem;
  756. color: #ff465a;
  757. }
  758. }
  759. .home-alert {
  760. margin: 0 1.25rem;
  761. padding: 1rem 0.88rem 0.13rem;
  762. background-color: #0233c6cc;
  763. border-radius: 1rem;
  764. .home-alert-header {
  765. }
  766. .home-alert-list {
  767. .list-item {
  768. padding: 0.88rem 0;
  769. border-bottom: solid 0.063rem #ffffff1a;
  770. }
  771. }
  772. }
  773. .space-y-4 {
  774. & > view:not(:first-child),
  775. & > text:not(:first-child),
  776. & > image:not(:first-child) {
  777. margin-top: 0.25rem;
  778. }
  779. }
  780. .font_8 {
  781. font-size: 0.88rem;
  782. font-family: PingFangSC;
  783. line-height: 0.81rem;
  784. color: #ffffff;
  785. }
  786. }
  787. .space-y-20 {
  788. & > view:not(:first-child),
  789. & > text:not(:first-child),
  790. & > image:not(:first-child) {
  791. margin-top: 1.25rem;
  792. }
  793. .text_13 {
  794. line-height: 2.16rem;
  795. }
  796. }
  797. }
  798. </style>