时空网前端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

4016 lines
64 KiB

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. /*
  2. ColorUi for uniApp v2.1.6 | by 文晓港 2019-05-31 10:44:24
  3. 仅供学习交流如作它用所承受的法律责任一概与作者无关
  4. *使用ColorUi开发扩展与插件时请注明基于ColorUi开发
  5. QQ交流群240787041
  6. */
  7. /* ==================
  8. 初始化
  9. ==================== */
  10. body {
  11. background-color: #fff;
  12. font-size: 28upx;
  13. color: #333333;
  14. font-family: Helvetica Neue, Helvetica, sans-serif;
  15. }
  16. view,
  17. scroll-view,
  18. swiper,
  19. button,
  20. input,
  21. textarea,
  22. label,
  23. navigator,
  24. image {
  25. box-sizing: border-box;
  26. }
  27. .round {
  28. border-radius: 5000upx;
  29. }
  30. .radius {
  31. border-radius: 6upx;
  32. }
  33. /* ==================
  34. 图片
  35. ==================== */
  36. image {
  37. max-width: 100%;
  38. display: inline-block;
  39. position: relative;
  40. z-index: 0;
  41. }
  42. image.loading::before {
  43. content: "";
  44. background-color: #f5f5f5;
  45. display: block;
  46. position: absolute;
  47. width: 100%;
  48. height: 100%;
  49. z-index: -2;
  50. }
  51. image.loading::after {
  52. content: "\e7f1";
  53. font-family: "cuIcon";
  54. position: absolute;
  55. top: 0;
  56. left: 0;
  57. width: 32upx;
  58. height: 32upx;
  59. line-height: 32upx;
  60. right: 0;
  61. bottom: 0;
  62. z-index: -1;
  63. font-size: 32upx;
  64. margin: auto;
  65. color: #ccc;
  66. -webkit-animation: cuIcon-spin 2s infinite linear;
  67. animation: cuIcon-spin 2s infinite linear;
  68. display: block;
  69. }
  70. .response {
  71. width: 100%;
  72. }
  73. /* ==================
  74. 开关
  75. ==================== */
  76. switch,
  77. checkbox,
  78. radio {
  79. position: relative;
  80. }
  81. switch::after,
  82. switch::before {
  83. font-family: "cuIcon";
  84. content: "\e645";
  85. position: absolute;
  86. color: #ffffff !important;
  87. top: 0%;
  88. left: 0upx;
  89. font-size: 26upx;
  90. line-height: 26px;
  91. width: 50%;
  92. text-align: center;
  93. pointer-events: none;
  94. transform: scale(0, 0);
  95. transition: all 0.3s ease-in-out 0s;
  96. z-index: 9;
  97. bottom: 0;
  98. height: 26px;
  99. margin: auto;
  100. }
  101. switch::before {
  102. content: "\e646";
  103. right: 0;
  104. transform: scale(1, 1);
  105. left: auto;
  106. }
  107. switch[checked]::after,
  108. switch.checked::after {
  109. transform: scale(1, 1);
  110. }
  111. switch[checked]::before,
  112. switch.checked::before {
  113. transform: scale(0, 0);
  114. }
  115. /* #ifndef MP-ALIPAY */
  116. radio::before,
  117. checkbox::before {
  118. font-family: "cuIcon";
  119. content: "\e645";
  120. position: absolute;
  121. color: #ffffff !important;
  122. top: 50%;
  123. margin-top: -8px;
  124. right: 5px;
  125. font-size: 32upx;
  126. line-height: 16px;
  127. pointer-events: none;
  128. transform: scale(1, 1);
  129. transition: all 0.3s ease-in-out 0s;
  130. z-index: 9;
  131. }
  132. radio .wx-radio-input,
  133. checkbox .wx-checkbox-input,
  134. radio .uni-radio-input,
  135. checkbox .uni-checkbox-input {
  136. margin: 0;
  137. width: 24px;
  138. height: 24px;
  139. }
  140. checkbox.round .wx-checkbox-input,
  141. checkbox.round .uni-checkbox-input {
  142. border-radius: 100upx;
  143. }
  144. /* #endif */
  145. switch[checked]::before {
  146. transform: scale(0, 0);
  147. }
  148. switch .wx-switch-input,
  149. switch .uni-switch-input {
  150. border: none;
  151. padding: 0 24px;
  152. width: 48px;
  153. height: 26px;
  154. margin: 0;
  155. border-radius: 100upx;
  156. }
  157. switch .wx-switch-input:not([class*="bg-"]),
  158. switch .uni-switch-input:not([class*="bg-"]) {
  159. background: #8799a3 !important;
  160. }
  161. switch .wx-switch-input::after,
  162. switch .uni-switch-input::after {
  163. margin: auto;
  164. width: 26px;
  165. height: 26px;
  166. border-radius: 100upx;
  167. left: 0upx;
  168. top: 0upx;
  169. bottom: 0upx;
  170. position: absolute;
  171. transform: scale(0.9, 0.9);
  172. transition: all 0.1s ease-in-out 0s;
  173. }
  174. switch .wx-switch-input.wx-switch-input-checked::after,
  175. switch .uni-switch-input.uni-switch-input-checked::after {
  176. margin: auto;
  177. left: 22px;
  178. box-shadow: none;
  179. transform: scale(0.9, 0.9);
  180. }
  181. radio-group {
  182. display: inline-block;
  183. }
  184. switch.radius .wx-switch-input::after,
  185. switch.radius .wx-switch-input,
  186. switch.radius .wx-switch-input::before,
  187. switch.radius .uni-switch-input::after,
  188. switch.radius .uni-switch-input,
  189. switch.radius .uni-switch-input::before {
  190. border-radius: 10upx;
  191. }
  192. switch .wx-switch-input::before,
  193. radio.radio::before,
  194. checkbox .wx-checkbox-input::before,
  195. radio .wx-radio-input::before,
  196. switch .uni-switch-input::before,
  197. radio.radio::before,
  198. checkbox .uni-checkbox-input::before,
  199. radio .uni-radio-input::before {
  200. display: none;
  201. }
  202. radio.radio[checked]::after,
  203. radio.radio .uni-radio-input-checked::after {
  204. content: "";
  205. background-color: transparent;
  206. display: block;
  207. position: absolute;
  208. width: 8px;
  209. height: 8px;
  210. z-index: 999;
  211. top: 0upx;
  212. left: 0upx;
  213. right: 0;
  214. bottom: 0;
  215. margin: auto;
  216. border-radius: 200upx;
  217. /* #ifndef MP */
  218. border: 7px solid #ffffff !important;
  219. /* #endif */
  220. /* #ifdef MP */
  221. border: 8px solid #ffffff !important;
  222. /* #endif */
  223. }
  224. .switch-sex::after {
  225. content: "\e71c";
  226. }
  227. .switch-sex::before {
  228. content: "\e71a";
  229. }
  230. .switch-sex .wx-switch-input,
  231. .switch-sex .uni-switch-input {
  232. background: #e54d42 !important;
  233. border-color: #e54d42 !important;
  234. }
  235. .switch-sex[checked] .wx-switch-input,
  236. .switch-sex.checked .uni-switch-input {
  237. background: #0081ff !important;
  238. border-color: #0081ff !important;
  239. }
  240. switch.red[checked] .wx-switch-input.wx-switch-input-checked,
  241. checkbox.red[checked] .wx-checkbox-input,
  242. radio.red[checked] .wx-radio-input,
  243. switch.red.checked .uni-switch-input.uni-switch-input-checked,
  244. checkbox.red.checked .uni-checkbox-input,
  245. radio.red.checked .uni-radio-input {
  246. background-color: #e54d42 !important;
  247. border-color: #e54d42 !important;
  248. color: #ffffff !important;
  249. }
  250. switch.orange[checked] .wx-switch-input,
  251. checkbox.orange[checked] .wx-checkbox-input,
  252. radio.orange[checked] .wx-radio-input,
  253. switch.orange.checked .uni-switch-input,
  254. checkbox.orange.checked .uni-checkbox-input,
  255. radio.orange.checked .uni-radio-input {
  256. background-color: #f37b1d !important;
  257. border-color: #f37b1d !important;
  258. color: #ffffff !important;
  259. }
  260. switch.yellow[checked] .wx-switch-input,
  261. checkbox.yellow[checked] .wx-checkbox-input,
  262. radio.yellow[checked] .wx-radio-input,
  263. switch.yellow.checked .uni-switch-input,
  264. checkbox.yellow.checked .uni-checkbox-input,
  265. radio.yellow.checked .uni-radio-input {
  266. background-color: #fbbd08 !important;
  267. border-color: #fbbd08 !important;
  268. color: #333333 !important;
  269. }
  270. switch.olive[checked] .wx-switch-input,
  271. checkbox.olive[checked] .wx-checkbox-input,
  272. radio.olive[checked] .wx-radio-input,
  273. switch.olive.checked .uni-switch-input,
  274. checkbox.olive.checked .uni-checkbox-input,
  275. radio.olive.checked .uni-radio-input {
  276. background-color: #8dc63f !important;
  277. border-color: #8dc63f !important;
  278. color: #ffffff !important;
  279. }
  280. switch.green[checked] .wx-switch-input,
  281. switch[checked] .wx-switch-input,
  282. checkbox.green[checked] .wx-checkbox-input,
  283. checkbox[checked] .wx-checkbox-input,
  284. radio.green[checked] .wx-radio-input,
  285. radio[checked] .wx-radio-input,
  286. switch.green.checked .uni-switch-input,
  287. switch.checked .uni-switch-input,
  288. checkbox.green.checked .uni-checkbox-input,
  289. checkbox.checked .uni-checkbox-input,
  290. radio.green.checked .uni-radio-input,
  291. radio.checked .uni-radio-input {
  292. /* background-color: #39b54a !important;
  293. border-color: #39b54a !important; */
  294. color: #ffffff !important;
  295. /* border-color: #39B54A !important; */
  296. }
  297. switch.cyan[checked] .wx-switch-input,
  298. checkbox.cyan[checked] .wx-checkbox-input,
  299. radio.cyan[checked] .wx-radio-input,
  300. switch.cyan.checked .uni-switch-input,
  301. checkbox.cyan.checked .uni-checkbox-input,
  302. radio.cyan.checked .uni-radio-input {
  303. background-color: #1cbbb4 !important;
  304. border-color: #1cbbb4 !important;
  305. color: #ffffff !important;
  306. }
  307. switch.blue[checked] .wx-switch-input,
  308. checkbox.blue[checked] .wx-checkbox-input,
  309. radio.blue[checked] .wx-radio-input,
  310. switch.blue.checked .uni-switch-input,
  311. checkbox.blue.checked .uni-checkbox-input,
  312. radio.blue.checked .uni-radio-input {
  313. background-color: #0081ff !important;
  314. border-color: #0081ff !important;
  315. color: #ffffff !important;
  316. }
  317. switch.purple[checked] .wx-switch-input,
  318. checkbox.purple[checked] .wx-checkbox-input,
  319. radio.purple[checked] .wx-radio-input,
  320. switch.purple.checked .uni-switch-input,
  321. checkbox.purple.checked .uni-checkbox-input,
  322. radio.purple.checked .uni-radio-input {
  323. background-color: #6739b6 !important;
  324. border-color: #6739b6 !important;
  325. color: #ffffff !important;
  326. }
  327. switch.mauve[checked] .wx-switch-input,
  328. checkbox.mauve[checked] .wx-checkbox-input,
  329. radio.mauve[checked] .wx-radio-input,
  330. switch.mauve.checked .uni-switch-input,
  331. checkbox.mauve.checked .uni-checkbox-input,
  332. radio.mauve.checked .uni-radio-input {
  333. background-color: #9c26b0 !important;
  334. border-color: #9c26b0 !important;
  335. color: #ffffff !important;
  336. }
  337. switch.pink[checked] .wx-switch-input,
  338. checkbox.pink[checked] .wx-checkbox-input,
  339. radio.pink[checked] .wx-radio-input,
  340. switch.pink.checked .uni-switch-input,
  341. checkbox.pink.checked .uni-checkbox-input,
  342. radio.pink.checked .uni-radio-input {
  343. background-color: #e03997 !important;
  344. border-color: #e03997 !important;
  345. color: #ffffff !important;
  346. }
  347. switch.brown[checked] .wx-switch-input,
  348. checkbox.brown[checked] .wx-checkbox-input,
  349. radio.brown[checked] .wx-radio-input,
  350. switch.brown.checked .uni-switch-input,
  351. checkbox.brown.checked .uni-checkbox-input,
  352. radio.brown.checked .uni-radio-input {
  353. background-color: #a5673f !important;
  354. border-color: #a5673f !important;
  355. color: #ffffff !important;
  356. }
  357. switch.grey[checked] .wx-switch-input,
  358. checkbox.grey[checked] .wx-checkbox-input,
  359. radio.grey[checked] .wx-radio-input,
  360. switch.grey.checked .uni-switch-input,
  361. checkbox.grey.checked .uni-checkbox-input,
  362. radio.grey.checked .uni-radio-input {
  363. background-color: #8799a3 !important;
  364. border-color: #8799a3 !important;
  365. color: #ffffff !important;
  366. }
  367. switch.gray[checked] .wx-switch-input,
  368. checkbox.gray[checked] .wx-checkbox-input,
  369. radio.gray[checked] .wx-radio-input,
  370. switch.gray.checked .uni-switch-input,
  371. checkbox.gray.checked .uni-checkbox-input,
  372. radio.gray.checked .uni-radio-input {
  373. background-color: #f0f0f0 !important;
  374. border-color: #f0f0f0 !important;
  375. color: #333333 !important;
  376. }
  377. switch.black[checked] .wx-switch-input,
  378. checkbox.black[checked] .wx-checkbox-input,
  379. radio.black[checked] .wx-radio-input,
  380. switch.black.checked .uni-switch-input,
  381. checkbox.black.checked .uni-checkbox-input,
  382. radio.black.checked .uni-radio-input {
  383. background-color: #333333 !important;
  384. border-color: #333333 !important;
  385. color: #ffffff !important;
  386. }
  387. switch.white[checked] .wx-switch-input,
  388. checkbox.white[checked] .wx-checkbox-input,
  389. radio.white[checked] .wx-radio-input,
  390. switch.white.checked .uni-switch-input,
  391. checkbox.white.checked .uni-checkbox-input,
  392. radio.white.checked .uni-radio-input {
  393. background-color: #ffffff !important;
  394. border-color: #ffffff !important;
  395. color: #333333 !important;
  396. }
  397. /* ==================
  398. 边框
  399. ==================== */
  400. /* -- 实线 -- */
  401. .solid,
  402. .solid-top,
  403. .solid-top1,
  404. .solid-right,
  405. .solid-bottom,
  406. .solid-left,
  407. .solids,
  408. .solids-top,
  409. .solids-right,
  410. .solids-bottom,
  411. .solids-left,
  412. .dashed,
  413. .dashed-top,
  414. .dashed-right,
  415. .dashed-bottom,
  416. .dashed-left {
  417. position: relative;
  418. }
  419. .solid::after,
  420. .solid-top::after,
  421. .solid-top1::after,
  422. .solid-right::after,
  423. .solid-bottom::after,
  424. .solid-left::after,
  425. .solids::after,
  426. .solids-top::after,
  427. .solids-right::after,
  428. .solids-bottom::after,
  429. .solids-left::after,
  430. .dashed::after,
  431. .dashed-top::after,
  432. .dashed-right::after,
  433. .dashed-bottom::after,
  434. .dashed-left::after {
  435. content: " ";
  436. width: 200%;
  437. height: 200%;
  438. position: absolute;
  439. top: 0;
  440. left: 0;
  441. border-radius: inherit;
  442. transform: scale(0.5);
  443. transform-origin: 0 0;
  444. pointer-events: none;
  445. box-sizing: border-box;
  446. }
  447. .solid::after {
  448. border: 1upx solid rgba(0, 0, 0, 0.1);
  449. }
  450. .solid-top::after {
  451. left: 24upx;
  452. width: calc(200% - 114upx);
  453. border-top: 1upx solid rgba(0, 0, 0, 0.1);
  454. }
  455. .solid-top1::after {
  456. border-top: 1upx solid rgba(0, 0, 0, 0.1);
  457. }
  458. .solid-right::after {
  459. border-right: 1upx solid rgba(0, 0, 0, 0.1);
  460. }
  461. .solid-bottom::after {
  462. left: 30upx;
  463. width: calc(200% - 120upx);
  464. border-bottom: 1upx solid rgba(0, 0, 0, 0.1);
  465. }
  466. .solid-left::after {
  467. border-left: 1upx solid rgba(0, 0, 0, 0.1);
  468. }
  469. .solids::after {
  470. border: 8upx solid #eee;
  471. }
  472. .solids-top::after {
  473. border-top: 8upx solid #eee;
  474. }
  475. .solids-right::after {
  476. border-right: 8upx solid #eee;
  477. }
  478. .solids-bottom::after {
  479. border-bottom: 8upx solid #eee;
  480. }
  481. .solids-left::after {
  482. border-left: 8upx solid #eee;
  483. }
  484. /* -- 虚线 -- */
  485. .dashed::after {
  486. border: 1upx dashed #ddd;
  487. }
  488. .dashed-top::after {
  489. border-top: 1upx dashed #ddd;
  490. }
  491. .dashed-right::after {
  492. border-right: 1upx dashed #ddd;
  493. }
  494. .dashed-bottom::after {
  495. border-bottom: 1upx dashed #ddd;
  496. }
  497. .dashed-left::after {
  498. border-left: 1upx dashed #ddd;
  499. }
  500. /* -- 阴影 -- */
  501. .shadow[class*='white'] {
  502. --ShadowSize: 0 1upx 6upx;
  503. }
  504. .shadow-lg {
  505. --ShadowSize: 0upx 40upx 100upx 0upx;
  506. }
  507. .shadow-warp {
  508. position: relative;
  509. box-shadow: 0 0 10upx rgba(0, 0, 0, 0.1);
  510. }
  511. .shadow-warp:before,
  512. .shadow-warp:after {
  513. position: absolute;
  514. content: "";
  515. top: 20upx;
  516. bottom: 30upx;
  517. left: 20upx;
  518. width: 50%;
  519. box-shadow: 0 30upx 20upx rgba(0, 0, 0, 0.2);
  520. transform: rotate(-3deg);
  521. z-index: -1;
  522. }
  523. .shadow-warp:after {
  524. right: 20upx;
  525. left: auto;
  526. transform: rotate(3deg);
  527. }
  528. .shadow-blur {
  529. position: relative;
  530. }
  531. .shadow-blur::before {
  532. content: "";
  533. display: block;
  534. background: inherit;
  535. filter: blur(10upx);
  536. position: absolute;
  537. width: 100%;
  538. height: 100%;
  539. top: 10upx;
  540. left: 10upx;
  541. z-index: -1;
  542. opacity: 0.4;
  543. transform-origin: 0 0;
  544. border-radius: inherit;
  545. transform: scale(1, 1);
  546. }
  547. /* ==================
  548. 按钮
  549. ==================== */
  550. .cu-btn {
  551. position: relative;
  552. border: 0upx;
  553. display: inline-flex;
  554. align-items: center;
  555. justify-content: center;
  556. box-sizing: border-box;
  557. padding: 0 30upx;
  558. font-size: 28upx;
  559. height: 60upx;
  560. line-height: 1;
  561. text-align: center;
  562. text-decoration: none;
  563. overflow: visible;
  564. margin-left: initial;
  565. transform: translate(0upx, 0upx);
  566. margin-right: initial;
  567. }
  568. .cu-btn::after {
  569. display: none;
  570. }
  571. .cu-btn:not([class*="bg-"]) {
  572. background-color: #f0f0f0;
  573. }
  574. .cu-btn[class*="line"] {
  575. background-color: transparent;
  576. }
  577. .cu-btn[class*="line"]::after {
  578. content: " ";
  579. display: block;
  580. width: 200%;
  581. height: 200%;
  582. position: absolute;
  583. top: 0;
  584. left: 0;
  585. border: 1upx solid currentColor;
  586. transform: scale(0.5);
  587. transform-origin: 0 0;
  588. box-sizing: border-box;
  589. border-radius: 12upx;
  590. z-index: 1;
  591. pointer-events: none;
  592. }
  593. .cu-btn.round[class*="line"]::after {
  594. border-radius: 1000upx;
  595. }
  596. .cu-btn[class*="lines"]::after {
  597. border: 6upx solid currentColor;
  598. }
  599. .cu-btn[class*="bg-"]::after {
  600. display: none;
  601. }
  602. .cu-btn.sm {
  603. padding: 0 20upx;
  604. font-size: 20upx;
  605. height: 48upx;
  606. }
  607. .cu-btn.lg {
  608. padding: 0 40upx;
  609. font-size: 32upx;
  610. height: 80upx;
  611. }
  612. .cu-btn.cuIcon.sm {
  613. width: 48upx;
  614. height: 48upx;
  615. }
  616. .cu-btn.cuIcon {
  617. width: 64upx;
  618. height: 64upx;
  619. border-radius: 500upx;
  620. padding: 0;
  621. }
  622. button.cuIcon.lg {
  623. width: 80upx;
  624. height: 80upx;
  625. }
  626. .cu-btn.shadow-blur::before {
  627. top: 4upx;
  628. left: 4upx;
  629. filter: blur(6upx);
  630. opacity: 0.6;
  631. }
  632. .cu-btn.button-hover {
  633. transform: translate(1upx, 1upx);
  634. }
  635. .block {
  636. display: block;
  637. }
  638. .cu-btn.block {
  639. display: flex;
  640. }
  641. .cu-btn[disabled] {
  642. opacity: 0.6;
  643. color: #ffffff;
  644. }
  645. /* ==================
  646. 徽章
  647. ==================== */
  648. .cu-tag {
  649. font-size: 24upx;
  650. vertical-align: middle;
  651. position: relative;
  652. display: inline-flex;
  653. align-items: center;
  654. justify-content: center;
  655. box-sizing: border-box;
  656. padding: 0upx 16upx;
  657. height: 48upx;
  658. font-family: Helvetica Neue, Helvetica, sans-serif;
  659. white-space: nowrap;
  660. }
  661. .cu-tag:not([class*="bg"]):not([class*="line"]) {
  662. background-color: #f1f1f1;
  663. }
  664. .cu-tag[class*="line-"]::after {
  665. content: " ";
  666. width: 200%;
  667. height: 200%;
  668. position: absolute;
  669. top: 0;
  670. left: 0;
  671. border: 1upx solid currentColor;
  672. transform: scale(0.5);
  673. transform-origin: 0 0;
  674. box-sizing: border-box;
  675. border-radius: inherit;
  676. z-index: 1;
  677. pointer-events: none;
  678. }
  679. .cu-tag.radius[class*="line"]::after {
  680. border-radius: 12upx;
  681. }
  682. .cu-tag.round[class*="line"]::after {
  683. border-radius: 1000upx;
  684. }
  685. .cu-tag[class*="line-"]::after {
  686. border-radius: 0;
  687. }
  688. .cu-tag+.cu-tag {
  689. margin-left: 10upx;
  690. }
  691. .cu-tag.sm {
  692. font-size: 20upx;
  693. padding: 0upx 12upx;
  694. height: 32upx;
  695. }
  696. .cu-capsule {
  697. display: inline-flex;
  698. vertical-align: middle;
  699. }
  700. .cu-capsule+.cu-capsule {
  701. margin-left: 10upx;
  702. }
  703. .cu-capsule .cu-tag {
  704. margin: 0;
  705. }
  706. .cu-capsule .cu-tag[class*="line-"]:last-child::after {
  707. border-left: 0upx solid transparent;
  708. }
  709. .cu-capsule .cu-tag[class*="line-"]:first-child::after {
  710. border-right: 0upx solid transparent;
  711. }
  712. .cu-capsule.radius .cu-tag:first-child {
  713. border-top-left-radius: 6upx;
  714. border-bottom-left-radius: 6upx;
  715. }
  716. .cu-capsule.radius .cu-tag:last-child::after,
  717. .cu-capsule.radius .cu-tag[class*="line-"] {
  718. border-top-right-radius: 12upx;
  719. border-bottom-right-radius: 12upx;
  720. }
  721. .cu-capsule.round .cu-tag:first-child {
  722. border-top-left-radius: 200upx;
  723. border-bottom-left-radius: 200upx;
  724. text-indent: 4upx;
  725. }
  726. .cu-capsule.round .cu-tag:last-child::after,
  727. .cu-capsule.round .cu-tag:last-child {
  728. border-top-right-radius: 200upx;
  729. border-bottom-right-radius: 200upx;
  730. text-indent: -4upx;
  731. }
  732. .cu-tag.badge {
  733. border-radius: 16upx;
  734. position: absolute;
  735. top: -10upx;
  736. left: -10upx;
  737. font-size: 28upx;
  738. padding: 22upx;
  739. height: 40upx;
  740. font-weight: 200;
  741. color: #ffffff;
  742. }
  743. .cu-tag.badge:not([class*="bg-"]) {
  744. background-color: #FF0000;
  745. }
  746. .cu-tag:empty:not([class*="cuIcon-"]) {
  747. padding: 0upx;
  748. width: 16upx;
  749. height: 16upx;
  750. top: -4upx;
  751. right: -4upx;
  752. }
  753. .cu-tag[class*="cuIcon-"] {
  754. width: 32upx;
  755. height: 32upx;
  756. top: -4upx;
  757. right: -4upx;
  758. }
  759. /* ==================
  760. 头像
  761. ==================== */
  762. .cu-avatar {
  763. font-variant: small-caps;
  764. margin: 0;
  765. padding: 0;
  766. display: inline-flex;
  767. text-align: center;
  768. justify-content: center;
  769. align-items: center;
  770. background-color: #ccc;
  771. color: #ffffff;
  772. white-space: nowrap;
  773. position: relative;
  774. width: 64upx;
  775. height: 64upx;
  776. background-size: cover;
  777. background-position: center;
  778. vertical-align: middle;
  779. font-size: 1.5em;
  780. }
  781. .cu-avatar.sm {
  782. width: 48upx;
  783. height: 48upx;
  784. font-size: 1em;
  785. }
  786. .cu-avatar.lg {
  787. width: 96upx;
  788. height: 96upx;
  789. font-size: 2em;
  790. }
  791. .cu-avatar.xl {
  792. width: 128upx;
  793. height: 128upx;
  794. font-size: 2.5em;
  795. }
  796. .cu-avatar.xxl {
  797. width: 150upx;
  798. height: 150upx;
  799. font-size: 2.5em;
  800. }
  801. .cu-avatar .avatar-text {
  802. font-size: 0.4em;
  803. }
  804. .cu-avatar-group {
  805. direction: rtl;
  806. unicode-bidi: bidi-override;
  807. padding: 0 10upx 0 40upx;
  808. display: inline-block;
  809. }
  810. .cu-avatar-group .cu-avatar {
  811. margin-left: -30upx;
  812. border: 4upx solid #f1f1f1;
  813. vertical-align: middle;
  814. }
  815. .cu-avatar-group .cu-avatar.sm {
  816. margin-left: -20upx;
  817. border: 1upx solid #f1f1f1;
  818. }
  819. /* ==================
  820. 进度条
  821. ==================== */
  822. .cu-progress {
  823. overflow: hidden;
  824. height: 28upx;
  825. background-color: #ebeef5;
  826. display: inline-flex;
  827. align-items: center;
  828. width: 100%;
  829. }
  830. .cu-progress+view,
  831. .cu-progress+text {
  832. line-height: 1;
  833. }
  834. .cu-progress.xs {
  835. height: 10upx;
  836. }
  837. .cu-progress.sm {
  838. height: 20upx;
  839. }
  840. .cu-progress view {
  841. width: 0;
  842. height: 100%;
  843. align-items: center;
  844. display: flex;
  845. justify-items: flex-end;
  846. justify-content: space-around;
  847. font-size: 20upx;
  848. color: #ffffff;
  849. transition: width 0.6s ease;
  850. }
  851. .cu-progress text {
  852. align-items: center;
  853. display: flex;
  854. font-size: 20upx;
  855. color: #333333;
  856. text-indent: 10upx;
  857. }
  858. .cu-progress.text-progress {
  859. padding-right: 60upx;
  860. }
  861. .cu-progress.striped view {
  862. background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  863. background-size: 72upx 72upx;
  864. }
  865. .cu-progress.active view {
  866. animation: progress-stripes 2s linear infinite;
  867. }
  868. @keyframes progress-stripes {
  869. from {
  870. background-position: 72upx 0;
  871. }
  872. to {
  873. background-position: 0 0;
  874. }
  875. }
  876. /* ==================
  877. 加载
  878. ==================== */
  879. .cu-load {
  880. display: block;
  881. line-height: 3em;
  882. text-align: center;
  883. }
  884. .cu-load::before {
  885. font-family: "cuIcon";
  886. display: inline-block;
  887. margin-right: 6upx;
  888. }
  889. .cu-load.loading::before {
  890. content: "\e67a";
  891. animation: cuIcon-spin 2s infinite linear;
  892. }
  893. .cu-load.loading::after {
  894. content: "加载中...";
  895. }
  896. .cu-load.over::before {
  897. content: "\e64a";
  898. }
  899. .cu-load.over::after {
  900. content: "没有更多了";
  901. }
  902. .cu-load.erro::before {
  903. content: "\e658";
  904. }
  905. .cu-load.erro::after {
  906. content: "加载失败";
  907. }
  908. .cu-load.load-cuIcon::before {
  909. font-size: 32upx;
  910. }
  911. .cu-load.load-cuIcon::after {
  912. display: none;
  913. }
  914. .cu-load.load-cuIcon.over {
  915. display: none;
  916. }
  917. .cu-load.load-modal {
  918. position: fixed;
  919. top: 0;
  920. right: 0;
  921. bottom: 140upx;
  922. left: 0;
  923. margin: auto;
  924. width: 260upx;
  925. height: 260upx;
  926. background-color: #ffffff;
  927. border-radius: 10upx;
  928. box-shadow: 0 0 0upx 2000upx rgba(0, 0, 0, 0.5);
  929. display: flex;
  930. align-items: center;
  931. flex-direction: column;
  932. justify-content: center;
  933. font-size: 28upx;
  934. z-index: 9999;
  935. line-height: 2.4em;
  936. }
  937. .cu-load.load-modal [class*="cuIcon-"] {
  938. font-size: 60upx;
  939. }
  940. .cu-load.load-modal image {
  941. width: 70upx;
  942. height: 70upx;
  943. }
  944. .cu-load.load-modal::after {
  945. content: "";
  946. position: absolute;
  947. background-color: #ffffff;
  948. border-radius: 50%;
  949. width: 200upx;
  950. height: 200upx;
  951. font-size: 10px;
  952. border-top: 6upx solid rgba(0, 0, 0, 0.05);
  953. border-right: 6upx solid rgba(0, 0, 0, 0.05);
  954. border-bottom: 6upx solid rgba(0, 0, 0, 0.05);
  955. border-left: 6upx solid #f37b1d;
  956. animation: cuIcon-spin 1s infinite linear;
  957. z-index: -1;
  958. }
  959. .load-progress {
  960. pointer-events: none;
  961. top: 0;
  962. position: fixed;
  963. width: 100%;
  964. left: 0;
  965. z-index: 2000;
  966. }
  967. .load-progress.hide {
  968. display: none;
  969. }
  970. .load-progress .load-progress-bar {
  971. position: relative;
  972. width: 100%;
  973. height: 4upx;
  974. overflow: hidden;
  975. transition: all 200ms ease 0s;
  976. }
  977. .load-progress .load-progress-spinner {
  978. position: absolute;
  979. top: 10upx;
  980. right: 10upx;
  981. z-index: 2000;
  982. display: block;
  983. }
  984. .load-progress .load-progress-spinner::after {
  985. content: "";
  986. display: block;
  987. width: 24upx;
  988. height: 24upx;
  989. -webkit-box-sizing: border-box;
  990. box-sizing: border-box;
  991. border: solid 4upx transparent;
  992. border-top-color: inherit;
  993. border-left-color: inherit;
  994. border-radius: 50%;
  995. -webkit-animation: load-progress-spinner 0.4s linear infinite;
  996. animation: load-progress-spinner 0.4s linear infinite;
  997. }
  998. @-webkit-keyframes load-progress-spinner {
  999. 0% {
  1000. -webkit-transform: rotate(0);
  1001. transform: rotate(0);
  1002. }
  1003. 100% {
  1004. -webkit-transform: rotate(360deg);
  1005. transform: rotate(360deg);
  1006. }
  1007. }
  1008. @keyframes load-progress-spinner {
  1009. 0% {
  1010. -webkit-transform: rotate(0);
  1011. transform: rotate(0);
  1012. }
  1013. 100% {
  1014. -webkit-transform: rotate(360deg);
  1015. transform: rotate(360deg);
  1016. }
  1017. }
  1018. /* ==================
  1019. 列表
  1020. ==================== */
  1021. .grayscale {
  1022. filter: grayscale(1);
  1023. }
  1024. .cu-list+.cu-list {
  1025. margin-top: 30upx
  1026. }
  1027. .cu-list>.cu-item {
  1028. transition: all .6s ease-in-out 0s;
  1029. transform: translateX(0upx)
  1030. }
  1031. .cu-list>.cu-item.move-cur {
  1032. transform: translateX(-260upx)
  1033. }
  1034. .cu-list>.cu-item .move {
  1035. position: absolute;
  1036. right: 0;
  1037. display: flex;
  1038. width: 260upx;
  1039. height: 100%;
  1040. transform: translateX(100%)
  1041. }
  1042. .cu-list>.cu-item .move view {
  1043. display: flex;
  1044. flex: 1;
  1045. justify-content: center;
  1046. align-items: center
  1047. }
  1048. .cu-list.menu-avatar {
  1049. overflow: hidden;
  1050. }
  1051. .cu-list.menu-avatar>.cu-item {
  1052. position: relative;
  1053. display: flex;
  1054. padding-right: 10upx;
  1055. height: 140upx;
  1056. background-color: #ffffff;
  1057. justify-content: flex-end;
  1058. align-items: center
  1059. }
  1060. .cu-list.menu-avatar>.cu-item>.cu-avatar {
  1061. position: absolute;
  1062. left: 30upx
  1063. }
  1064. .cu-list.menu-avatar>.cu-item .flex .text-cut {
  1065. max-width: 510upx
  1066. }
  1067. .cu-list.menu-avatar>.cu-item .content {
  1068. position: absolute;
  1069. left: 146upx;
  1070. width: calc(100% - 96upx - 60upx - 120upx - 20upx);
  1071. line-height: 1.6em;
  1072. }
  1073. .cu-list.menu-avatar>.cu-item .content.flex-sub {
  1074. width: calc(100% - 96upx - 60upx - 20upx);
  1075. }
  1076. .cu-list.menu-avatar>.cu-item .content>view:first-child {
  1077. font-size: 30upx;
  1078. display: flex;
  1079. align-items: center
  1080. }
  1081. .cu-list.menu-avatar>.cu-item .content .cu-tag.sm {
  1082. display: inline-block;
  1083. margin-left: 10upx;
  1084. height: 28upx;
  1085. font-size: 16upx;
  1086. line-height: 32upx
  1087. }
  1088. .cu-list.menu-avatar>.cu-item .action {
  1089. width: 100upx;
  1090. text-align: center
  1091. }
  1092. .cu-list.menu-avatar>.cu-item .action view+view {
  1093. margin-top: 10upx
  1094. }
  1095. .cu-list.menu-avatar.comment>.cu-item .content {
  1096. position: relative;
  1097. left: 0;
  1098. width: auto;
  1099. flex: 1;
  1100. }
  1101. .cu-list.menu-avatar.comment>.cu-item {
  1102. padding: 30upx 30upx 30upx 120upx;
  1103. height: auto
  1104. }
  1105. .cu-list.menu-avatar.comment .cu-avatar {
  1106. align-self: flex-start
  1107. }
  1108. .cu-list.menu>.cu-item {
  1109. position: relative;
  1110. display: flex;
  1111. padding: 0 30upx;
  1112. min-height: 100upx;
  1113. background-color: #ffffff;
  1114. justify-content: space-between;
  1115. align-items: center
  1116. }
  1117. .cu-list.menu>.cu-item:last-child:after {
  1118. border: none
  1119. }
  1120. .cu-list.menu-avatar>.cu-item:after,
  1121. .cu-list.menu>.cu-item:after {
  1122. position: absolute;
  1123. top: 0;
  1124. left: 0;
  1125. box-sizing: border-box;
  1126. width: 200%;
  1127. height: 200%;
  1128. border-bottom: 1upx solid #ddd;
  1129. border-radius: inherit;
  1130. content: " ";
  1131. transform: scale(.5);
  1132. transform-origin: 0 0;
  1133. pointer-events: none
  1134. }
  1135. .cu-list.menu>.cu-item.grayscale {
  1136. background-color: #f5f5f5
  1137. }
  1138. .cu-list.menu>.cu-item.cur {
  1139. background-color: #fcf7e9
  1140. }
  1141. .cu-list.menu>.cu-item.arrow {
  1142. padding-right: 90upx
  1143. }
  1144. .cu-list.menu>.cu-item.arrow:before {
  1145. position: absolute;
  1146. top: 0;
  1147. right: 30upx;
  1148. bottom: 0;
  1149. display: block;
  1150. margin: auto;
  1151. width: 30upx;
  1152. height: 30upx;
  1153. color: #8799a3;
  1154. content: "\e6a3";
  1155. text-align: center;
  1156. font-size: 34upx;
  1157. font-family: cuIcon;
  1158. line-height: 30upx
  1159. }
  1160. .cu-list.menu>.cu-item button.content {
  1161. padding: 0;
  1162. background-color: transparent;
  1163. justify-content: flex-start
  1164. }
  1165. .cu-list.menu>.cu-item button.content:after {
  1166. display: none
  1167. }
  1168. .cu-list.menu>.cu-item .cu-avatar-group .cu-avatar {
  1169. border-color: #ffffff
  1170. }
  1171. .cu-list.menu>.cu-item .content>view:first-child {
  1172. display: flex;
  1173. align-items: center
  1174. }
  1175. .cu-list.menu>.cu-item .content>text[class*=cuIcon] {
  1176. display: inline-block;
  1177. margin-right: 10upx;
  1178. width: 1.6em;
  1179. text-align: center
  1180. }
  1181. .cu-list.menu>.cu-item .content>image {
  1182. display: inline-block;
  1183. margin-right: 10upx;
  1184. width: 1.6em;
  1185. height: 1.6em;
  1186. vertical-align: middle
  1187. }
  1188. .cu-list.menu>.cu-item .content {
  1189. font-size: 30upx;
  1190. line-height: 1.6em;
  1191. flex: 1
  1192. }
  1193. .cu-list.menu>.cu-item .content .cu-tag.sm {
  1194. display: inline-block;
  1195. margin-left: 10upx;
  1196. height: 28upx;
  1197. font-size: 16upx;
  1198. line-height: 32upx
  1199. }
  1200. .cu-list.menu>.cu-item .action .cu-tag:empty {
  1201. right: 10upx
  1202. }
  1203. .cu-list.menu {
  1204. display: block;
  1205. overflow: hidden
  1206. }
  1207. .cu-list.menu.sm-border>.cu-item:after {
  1208. left: 30upx;
  1209. width: calc(200% - 120upx)
  1210. }
  1211. .cu-list.grid>.cu-item {
  1212. position: relative;
  1213. display: flex;
  1214. padding: 20upx 0 30upx;
  1215. transition-duration: 0s;
  1216. flex-direction: column
  1217. }
  1218. .cu-list.grid>.cu-item:after {
  1219. position: absolute;
  1220. top: 0;
  1221. left: 0;
  1222. box-sizing: border-box;
  1223. width: 200%;
  1224. height: 200%;
  1225. border-right: 1px solid rgba(0, 0, 0, .1);
  1226. border-bottom: 1px solid rgba(0, 0, 0, .1);
  1227. border-radius: inherit;
  1228. content: " ";
  1229. transform: scale(.5);
  1230. transform-origin: 0 0;
  1231. pointer-events: none
  1232. }
  1233. .cu-list.grid>.cu-item text {
  1234. display: block;
  1235. margin-top: 10upx;
  1236. color: #888;
  1237. font-size: 26upx;
  1238. line-height: 40upx
  1239. }
  1240. .cu-list.grid>.cu-item [class*=cuIcon] {
  1241. position: relative;
  1242. display: block;
  1243. margin-top: 20upx;
  1244. width: 100%;
  1245. font-size: 48upx
  1246. }
  1247. .cu-list.grid>.cu-item .cu-tag {
  1248. right: auto;
  1249. left: 50%;
  1250. margin-left: 20upx
  1251. }
  1252. .cu-list.grid {
  1253. background-color: #ffffff;
  1254. text-align: center
  1255. }
  1256. .cu-list.grid.no-border>.cu-item {
  1257. padding-top: 10upx;
  1258. padding-bottom: 20upx
  1259. }
  1260. .cu-list.grid.no-border>.cu-item:after {
  1261. border: none
  1262. }
  1263. .cu-list.grid.no-border {
  1264. padding: 20upx 10upx
  1265. }
  1266. .cu-list.grid.col-3>.cu-item:nth-child(3n):after,
  1267. .cu-list.grid.col-4>.cu-item:nth-child(4n):after,
  1268. .cu-list.grid.col-5>.cu-item:nth-child(5n):after {
  1269. border-right-width: 0
  1270. }
  1271. .cu-list.card-menu {
  1272. overflow: hidden;
  1273. margin-right: 30upx;
  1274. margin-left: 30upx;
  1275. border-radius: 20upx
  1276. }
  1277. /* ==================
  1278. 操作条
  1279. ==================== */
  1280. .cu-bar {
  1281. display: flex;
  1282. position: relative;
  1283. align-items: center;
  1284. min-height: 100upx;
  1285. justify-content: space-between;
  1286. }
  1287. .cu-bar .action {
  1288. display: flex;
  1289. align-items: center;
  1290. height: 100%;
  1291. justify-content: center;
  1292. max-width: 100%;
  1293. }
  1294. .cu-bar .action.border-title {
  1295. position: relative;
  1296. top: -10upx;
  1297. }
  1298. .cu-bar .action.border-title text[class*="bg-"]:last-child {
  1299. position: absolute;
  1300. bottom: -0.5rem;
  1301. min-width: 2rem;
  1302. height: 6upx;
  1303. left: 0;
  1304. }
  1305. .cu-bar .action.sub-title {
  1306. position: relative;
  1307. top: -0.2rem;
  1308. }
  1309. .cu-bar .action.sub-title text {
  1310. position: relative;
  1311. z-index: 1;
  1312. }
  1313. .cu-bar .action.sub-title text[class*="bg-"]:last-child {
  1314. position: absolute;
  1315. display: inline-block;
  1316. bottom: -0.2rem;
  1317. border-radius: 6upx;
  1318. width: 100%;
  1319. height: 0.6rem;
  1320. left: 0.6rem;
  1321. opacity: 0.3;
  1322. z-index: 0;
  1323. }
  1324. .cu-bar .action.sub-title text[class*="text-"]:last-child {
  1325. position: absolute;
  1326. display: inline-block;
  1327. bottom: -0.7rem;
  1328. left: 0.5rem;
  1329. opacity: 0.2;
  1330. z-index: 0;
  1331. text-align: right;
  1332. font-weight: 900;
  1333. font-size: 36upx;
  1334. }
  1335. .cu-bar.justify-center .action.border-title text:last-child,
  1336. .cu-bar.justify-center .action.sub-title text:last-child {
  1337. left: 0;
  1338. right: 0;
  1339. margin: auto;
  1340. text-align: center;
  1341. }
  1342. .cu-bar .action:first-child {
  1343. margin-left: 30upx;
  1344. font-size: 30upx;
  1345. }
  1346. .cu-bar .action text.text-cut {
  1347. text-align: left;
  1348. width: 100%;
  1349. }
  1350. .cu-bar .cu-avatar:first-child {
  1351. margin-left: 20upx;
  1352. }
  1353. .cu-bar .action:first-child>text[class*="cuIcon-"] {
  1354. margin-left: -0.3em;
  1355. margin-right: 0.3em;
  1356. }
  1357. .cu-bar .action:last-child {
  1358. margin-right: 30upx;
  1359. }
  1360. .cu-bar .action>text[class*="cuIcon-"],
  1361. .cu-bar .action>view[class*="cuIcon-"] {
  1362. font-size: 36upx;
  1363. }
  1364. .cu-bar .action>text[class*="cuIcon-"]+text[class*="cuIcon-"] {
  1365. margin-left: 0.5em;
  1366. }
  1367. .cu-bar .content {
  1368. position: absolute;
  1369. text-align: center;
  1370. width: calc(100% - 340upx);
  1371. left: 0;
  1372. right: 0;
  1373. bottom: 0;
  1374. top: 0;
  1375. margin: auto;
  1376. height: 64upx;
  1377. font-size: 32upx;
  1378. line-height: 64upx;
  1379. cursor: none;
  1380. /* pointer-events: none; */
  1381. text-overflow: ellipsis;
  1382. white-space: nowrap;
  1383. overflow: hidden;
  1384. }
  1385. .cu-bar.ios .content {
  1386. bottom: 7px;
  1387. height: 30px;
  1388. font-size: 32upx;
  1389. line-height: 30px;
  1390. }
  1391. .cu-bar.btn-group {
  1392. justify-content: space-around;
  1393. }
  1394. .cu-bar.btn-group button {
  1395. padding: 20upx 32upx;
  1396. }
  1397. .cu-bar.btn-group button {
  1398. flex: 1;
  1399. margin: 0 20upx;
  1400. max-width: 50%;
  1401. }
  1402. .cu-bar .search-form {
  1403. background-color: #f5f5f5;
  1404. line-height: 64upx;
  1405. height: 64upx;
  1406. font-size: 24upx;
  1407. color: #333333;
  1408. flex: 1;
  1409. display: flex;
  1410. align-items: center;
  1411. margin: 0 30upx;
  1412. }
  1413. .cu-bar .search-form+.action {
  1414. margin-right: 30upx;
  1415. }
  1416. .cu-bar .search-form input {
  1417. flex: 1;
  1418. padding-right: 30upx;
  1419. height: 64upx;
  1420. line-height: 64upx;
  1421. font-size: 26upx;
  1422. background-color: transparent;
  1423. }
  1424. .cu-bar .search-form [class*="cuIcon-"] {
  1425. margin: 0 0.5em 0 0.8em;
  1426. }
  1427. .cu-bar .search-form [class*="cuIcon-"]::before {
  1428. top: 0upx;
  1429. }
  1430. .cu-bar.fixed,
  1431. .nav.fixed {
  1432. position: fixed;
  1433. width: 100%;
  1434. top: 0;
  1435. z-index: 1024;
  1436. box-shadow: 0 1upx 6upx rgba(0, 0, 0, 0.1);
  1437. }
  1438. .cu-bar.foot {
  1439. position: fixed;
  1440. width: 100%;
  1441. bottom: 0;
  1442. z-index: 1024;
  1443. box-shadow: 0 -1upx 6upx rgba(0, 0, 0, 0.1);
  1444. }
  1445. .cu-bar.tabbar {
  1446. padding: 0;
  1447. height: calc(100upx + env(safe-area-inset-bottom) / 2);
  1448. padding-bottom: calc(env(safe-area-inset-bottom) / 2);
  1449. }
  1450. .cu-tabbar-height {
  1451. min-height: 100upx;
  1452. height: calc(100upx + env(safe-area-inset-bottom) / 2);
  1453. }
  1454. .cu-bar.tabbar.shadow {
  1455. box-shadow: 0 -1upx 6upx rgba(0, 0, 0, 0.1);
  1456. }
  1457. .cu-bar.tabbar .action {
  1458. font-size: 22upx;
  1459. position: relative;
  1460. flex: 1;
  1461. text-align: center;
  1462. padding: 0;
  1463. display: block;
  1464. height: auto;
  1465. line-height: 1;
  1466. margin: 0;
  1467. background-color: inherit;
  1468. overflow: initial;
  1469. }
  1470. .cu-bar.tabbar.shop .action {
  1471. width: 140upx;
  1472. flex: initial;
  1473. }
  1474. .cu-bar.tabbar .action.add-action {
  1475. position: relative;
  1476. z-index: 2;
  1477. padding-top: 50upx;
  1478. }
  1479. .cu-bar.tabbar .action.add-action [class*="cuIcon-"] {
  1480. position: absolute;
  1481. width: 70upx;
  1482. z-index: 2;
  1483. height: 70upx;
  1484. border-radius: 50%;
  1485. line-height: 70upx;
  1486. font-size: 50upx;
  1487. top: -35upx;
  1488. left: 0;
  1489. right: 0;
  1490. margin: auto;
  1491. padding: 0;
  1492. }
  1493. .cu-bar.tabbar .action.add-action::after {
  1494. content: "";
  1495. position: absolute;
  1496. width: 100upx;
  1497. height: 100upx;
  1498. top: -50upx;
  1499. left: 0;
  1500. right: 0;
  1501. margin: auto;
  1502. box-shadow: 0 -3upx 8upx rgba(0, 0, 0, 0.08);
  1503. border-radius: 50upx;
  1504. background-color: inherit;
  1505. z-index: 0;
  1506. }
  1507. .cu-bar.tabbar .action.add-action::before {
  1508. content: "";
  1509. position: absolute;
  1510. width: 100upx;
  1511. height: 30upx;
  1512. bottom: 30upx;
  1513. left: 0;
  1514. right: 0;
  1515. margin: auto;
  1516. background-color: inherit;
  1517. z-index: 1;
  1518. }
  1519. .cu-bar.tabbar .btn-group {
  1520. flex: 1;
  1521. display: flex;
  1522. justify-content: space-around;
  1523. align-items: center;
  1524. padding: 0 10upx;
  1525. }
  1526. .cu-bar.tabbar button.action::after {
  1527. border: 0;
  1528. }
  1529. .cu-bar.tabbar .action [class*="cuIcon-"] {
  1530. width: 100upx;
  1531. position: relative;
  1532. display: block;
  1533. height: auto;
  1534. margin: 0 auto 10upx;
  1535. text-align: center;
  1536. font-size: 40upx;
  1537. }
  1538. .cu-bar.tabbar .action .cuIcon-cu-image {
  1539. margin: 0 auto;
  1540. }
  1541. .cu-bar.tabbar .action .cuIcon-cu-image image {
  1542. width: 50upx;
  1543. height: 50upx;
  1544. display: inline-block;
  1545. }
  1546. .cu-bar.tabbar .submit {
  1547. align-items: center;
  1548. display: flex;
  1549. justify-content: center;
  1550. text-align: center;
  1551. position: relative;
  1552. flex: 2;
  1553. align-self: stretch;
  1554. }
  1555. .cu-bar.tabbar .submit:last-child {
  1556. flex: 2.6;
  1557. }
  1558. .cu-bar.tabbar .submit+.submit {
  1559. flex: 2;
  1560. }
  1561. .cu-bar.tabbar.border .action::before {
  1562. content: " ";
  1563. width: 200%;
  1564. height: 200%;
  1565. position: absolute;
  1566. top: 0;
  1567. left: 0;
  1568. transform: scale(0.5);
  1569. transform-origin: 0 0;
  1570. border-right: 1upx solid rgba(0, 0, 0, 0.1);
  1571. z-index: 3;
  1572. }
  1573. .cu-bar.tabbar.border .action:last-child:before {
  1574. display: none;
  1575. }
  1576. .cu-bar.input {
  1577. padding-right: 20upx;
  1578. background-color: #ffffff;
  1579. }
  1580. .cu-bar.input input {
  1581. overflow: initial;
  1582. line-height: 64upx;
  1583. height: 64upx;
  1584. min-height: 64upx;
  1585. flex: 1;
  1586. font-size: 30upx;
  1587. margin: 0 20upx;
  1588. }
  1589. .cu-bar.input .action {
  1590. margin-left: 20upx;
  1591. }
  1592. .cu-bar.input .action [class*="cuIcon-"] {
  1593. font-size: 48upx;
  1594. }
  1595. .cu-bar.input input+.action {
  1596. margin-right: 20upx;
  1597. margin-left: 0upx;
  1598. }
  1599. .cu-bar.input .action:first-child [class*="cuIcon-"] {
  1600. margin-left: 0upx;
  1601. }
  1602. .cu-custom {
  1603. display: block;
  1604. position: relative;
  1605. }
  1606. .cu-custom .cu-bar .content {
  1607. width: calc(100% - 140upx);
  1608. }
  1609. /* #ifdef MP-ALIPAY */
  1610. .cu-custom .cu-bar .action .cuIcon-back {
  1611. opacity: 0;
  1612. }
  1613. /* #endif */
  1614. .cu-custom .cu-bar .content image {
  1615. height: 60upx;
  1616. width: 240upx;
  1617. }
  1618. .cu-custom .cu-bar {
  1619. min-height: 0px;
  1620. /* #ifdef MP-WEIXIN */
  1621. padding-right: 220upx;
  1622. /* #endif */
  1623. /* #ifdef MP-ALIPAY */
  1624. padding-right: 150upx;
  1625. /* #endif */
  1626. box-shadow: 0upx 0upx 0upx;
  1627. z-index: 999;
  1628. }
  1629. .cu-custom .cu-bar .border-custom {
  1630. position: relative;
  1631. background: rgba(0, 0, 0, 0.15);
  1632. border-radius: 1000upx;
  1633. height: 30px;
  1634. }
  1635. .cu-custom .cu-bar .border-custom::after {
  1636. content: " ";
  1637. width: 200%;
  1638. height: 200%;
  1639. position: absolute;
  1640. top: 0;
  1641. left: 0;
  1642. border-radius: inherit;
  1643. transform: scale(0.5);
  1644. transform-origin: 0 0;
  1645. pointer-events: none;
  1646. box-sizing: border-box;
  1647. border: 1upx solid #ffffff;
  1648. opacity: 0.5;
  1649. }
  1650. .cu-custom .cu-bar .border-custom::before {
  1651. content: " ";
  1652. width: 1upx;
  1653. height: 110%;
  1654. position: absolute;
  1655. top: 22.5%;
  1656. left: 0;
  1657. right: 0;
  1658. margin: auto;
  1659. transform: scale(0.5);
  1660. transform-origin: 0 0;
  1661. pointer-events: none;
  1662. box-sizing: border-box;
  1663. opacity: 0.6;
  1664. background-color: #ffffff;
  1665. }
  1666. .cu-custom .cu-bar .border-custom text {
  1667. display: block;
  1668. flex: 1;
  1669. margin: auto !important;
  1670. text-align: center;
  1671. font-size: 34upx;
  1672. }
  1673. /* ==================
  1674. 导航栏
  1675. ==================== */
  1676. .nav {
  1677. white-space: nowrap;
  1678. }
  1679. ::-webkit-scrollbar {
  1680. display: none;
  1681. }
  1682. .nav .cu-item {
  1683. height: 90upx;
  1684. display: inline-block;
  1685. line-height: 90upx;
  1686. margin: 0 10upx;
  1687. padding: 0 20upx;
  1688. }
  1689. .nav .cu-item.cur {
  1690. border-bottom: 4upx solid;
  1691. }
  1692. /* ==================
  1693. 时间轴
  1694. ==================== */
  1695. .cu-timeline {
  1696. display: block;
  1697. background-color: #ffffff;
  1698. }
  1699. .cu-timeline .cu-time {
  1700. width: 120upx;
  1701. text-align: center;
  1702. padding: 20upx 0;
  1703. font-size: 26upx;
  1704. color: #888;
  1705. display: block;
  1706. }
  1707. .cu-timeline>.cu-item {
  1708. padding: 30upx 30upx 30upx 120upx;
  1709. position: relative;
  1710. display: block;
  1711. z-index: 0;
  1712. }
  1713. .cu-timeline>.cu-item:not([class*="text-"]) {
  1714. color: #ccc;
  1715. }
  1716. .cu-timeline>.cu-item::after {
  1717. content: "";
  1718. display: block;
  1719. position: absolute;
  1720. width: 1upx;
  1721. background-color: #ddd;
  1722. left: 60upx;
  1723. height: 100%;
  1724. top: 0;
  1725. z-index: 8;
  1726. }
  1727. .cu-timeline>.cu-item::before {
  1728. font-family: "cuIcon";
  1729. display: block;
  1730. position: absolute;
  1731. top: 36upx;
  1732. z-index: 9;
  1733. background-color: #ffffff;
  1734. width: 50upx;
  1735. height: 50upx;
  1736. text-align: center;
  1737. border: none;
  1738. line-height: 50upx;
  1739. left: 36upx;
  1740. }
  1741. .cu-timeline>.cu-item:not([class*="cuIcon-"])::before {
  1742. content: "\e763";
  1743. }
  1744. .cu-timeline>.cu-item[class*="cuIcon-"]::before {
  1745. background-color: #ffffff;
  1746. width: 50upx;
  1747. height: 50upx;
  1748. text-align: center;
  1749. border: none;
  1750. line-height: 50upx;
  1751. left: 36upx;
  1752. }
  1753. .cu-timeline>.cu-item>.content {
  1754. padding: 30upx;
  1755. border-radius: 6upx;
  1756. display: block;
  1757. line-height: 1.6;
  1758. }
  1759. .cu-timeline>.cu-item>.content:not([class*="bg-"]) {
  1760. background-color: #f1f1f1;
  1761. color: #333333;
  1762. }
  1763. .cu-timeline>.cu-item>.content+.content {
  1764. margin-top: 20upx;
  1765. }
  1766. /* ==================
  1767. 聊天
  1768. ==================== */
  1769. .cu-chat {
  1770. display: flex;
  1771. flex-direction: column;
  1772. }
  1773. .cu-chat .cu-item {
  1774. display: flex;
  1775. padding: 30upx 30upx 70upx;
  1776. position: relative;
  1777. }
  1778. .cu-chat .cu-item>.cu-avatar {
  1779. width: 80upx;
  1780. height: 80upx;
  1781. }
  1782. .cu-chat .cu-item>.main {
  1783. max-width: calc(100% - 260upx);
  1784. margin: 0 40upx;
  1785. display: flex;
  1786. align-items: center;
  1787. }
  1788. .cu-chat .cu-item>image {
  1789. height: 320upx;
  1790. }
  1791. .cu-chat .cu-item>.main .content {
  1792. padding: 20upx;
  1793. border-radius: 6upx;
  1794. display: inline-flex;
  1795. max-width: 100%;
  1796. align-items: center;
  1797. font-size: 30upx;
  1798. position: relative;
  1799. min-height: 80upx;
  1800. line-height: 40upx;
  1801. text-align: left;
  1802. }
  1803. .cu-chat .cu-item>.main .content:not([class*="bg-"]) {
  1804. background-color: #ffffff;
  1805. color: #333333;
  1806. }
  1807. .cu-chat .cu-item .date {
  1808. position: absolute;
  1809. font-size: 24upx;
  1810. color: #8799a3;
  1811. width: calc(100% - 320upx);
  1812. bottom: 20upx;
  1813. left: 160upx;
  1814. }
  1815. .cu-chat .cu-item .action {
  1816. padding: 0 30upx;
  1817. display: flex;
  1818. align-items: center;
  1819. }
  1820. .cu-chat .cu-item>.main .content::after {
  1821. content: "";
  1822. top: 27upx;
  1823. transform: rotate(45deg);
  1824. position: absolute;
  1825. z-index: 100;
  1826. display: inline-block;
  1827. overflow: hidden;
  1828. width: 24upx;
  1829. height: 24upx;
  1830. left: -12upx;
  1831. right: initial;
  1832. background-color: inherit;
  1833. }
  1834. .cu-chat .cu-item.self>.main .content::after {
  1835. left: auto;
  1836. right: -12upx;
  1837. }
  1838. .cu-chat .cu-item>.main .content::before {
  1839. content: "";
  1840. top: 30upx;
  1841. transform: rotate(45deg);
  1842. position: absolute;
  1843. z-index: -1;
  1844. display: inline-block;
  1845. overflow: hidden;
  1846. width: 24upx;
  1847. height: 24upx;
  1848. left: -12upx;
  1849. right: initial;
  1850. background-color: inherit;
  1851. filter: blur(5upx);
  1852. opacity: 0.3;
  1853. }
  1854. .cu-chat .cu-item>.main .content:not([class*="bg-"])::before {
  1855. background-color: #333333;
  1856. opacity: 0.1;
  1857. }
  1858. .cu-chat .cu-item.self>.main .content::before {
  1859. left: auto;
  1860. right: -12upx;
  1861. }
  1862. .cu-chat .cu-item.self {
  1863. justify-content: flex-end;
  1864. text-align: right;
  1865. }
  1866. .cu-chat .cu-info {
  1867. display: inline-block;
  1868. margin: 20upx auto;
  1869. font-size: 24upx;
  1870. padding: 8upx 12upx;
  1871. background-color: rgba(0, 0, 0, 0.2);
  1872. border-radius: 6upx;
  1873. color: #ffffff;
  1874. max-width: 400upx;
  1875. line-height: 1.4;
  1876. }
  1877. /* ==================
  1878. 卡片
  1879. ==================== */
  1880. .cu-card {
  1881. display: block;
  1882. overflow: hidden;
  1883. }
  1884. .cu-card>.cu-item {
  1885. display: block;
  1886. background-color: #ffffff;
  1887. overflow: hidden;
  1888. border-radius: 10upx;
  1889. margin: 30upx;
  1890. }
  1891. .cu-card>.cu-item.shadow-blur {
  1892. overflow: initial;
  1893. }
  1894. .cu-card.no-card>.cu-item {
  1895. margin: 0upx;
  1896. border-radius: 0upx;
  1897. }
  1898. .cu-card .grid.grid-square {
  1899. margin-bottom: -20upx;
  1900. }
  1901. .cu-card.case .image {
  1902. position: relative;
  1903. }
  1904. .cu-card.case .image image {
  1905. width: 100%;
  1906. }
  1907. .cu-card.case .image .cu-tag {
  1908. position: absolute;
  1909. right: 0;
  1910. top: 0;
  1911. }
  1912. .cu-card.case .image .cu-bar {
  1913. position: absolute;
  1914. bottom: 0;
  1915. width: 100%;
  1916. background-color: transparent;
  1917. padding: 0upx 30upx;
  1918. }
  1919. .cu-card.case.no-card .image {
  1920. margin: 30upx 30upx 0;
  1921. overflow: hidden;
  1922. border-radius: 10upx;
  1923. }
  1924. .cu-card.dynamic {
  1925. display: block;
  1926. }
  1927. .cu-card.dynamic>.cu-item {
  1928. display: block;
  1929. background-color: #ffffff;
  1930. overflow: hidden;
  1931. }
  1932. .cu-card.dynamic>.cu-item>.text-content {
  1933. padding: 0 30upx 0;
  1934. max-height: 6.4em;
  1935. overflow: hidden;
  1936. font-size: 30upx;
  1937. margin-bottom: 20upx;
  1938. }
  1939. .cu-card.dynamic>.cu-item .square-img {
  1940. width: 100%;
  1941. height: 200upx;
  1942. border-radius: 6upx;
  1943. }
  1944. .cu-card.dynamic>.cu-item .only-img {
  1945. width: 100%;
  1946. height: 320upx;
  1947. border-radius: 6upx;
  1948. }
  1949. /* card.dynamic>.cu-item .comment {
  1950. padding: 20upx;
  1951. background-color: #f1f1f1;
  1952. margin: 0 30upx 30upx;
  1953. border-radius: 6upx;
  1954. } */
  1955. .cu-card.article {
  1956. display: block;
  1957. }
  1958. .cu-card.article>.cu-item {
  1959. padding-bottom: 30upx;
  1960. }
  1961. .cu-card.article>.cu-item .title {
  1962. font-size: 30upx;
  1963. font-weight: 900;
  1964. color: #333333;
  1965. line-height: 100upx;
  1966. padding: 0 30upx;
  1967. }
  1968. .cu-card.article>.cu-item .content {
  1969. display: flex;
  1970. padding: 0 30upx;
  1971. }
  1972. .cu-card.article>.cu-item .content>image {
  1973. width: 240upx;
  1974. height: 6.4em;
  1975. margin-right: 20upx;
  1976. border-radius: 6upx;
  1977. }
  1978. .cu-card.article>.cu-item .content .desc {
  1979. flex: 1;
  1980. display: flex;
  1981. flex-direction: column;
  1982. justify-content: space-between;
  1983. }
  1984. .cu-card.article>.cu-item .content .text-content {
  1985. font-size: 28upx;
  1986. color: #888;
  1987. height: 4.8em;
  1988. overflow: hidden;
  1989. }
  1990. /* ==================
  1991. 表单
  1992. ==================== */
  1993. .cu-form-group {
  1994. background-color: #ffffff;
  1995. padding: 1upx 30upx;
  1996. display: flex;
  1997. align-items: center;
  1998. min-height: 100upx;
  1999. justify-content: space-between;
  2000. }
  2001. .cu-form-group+.cu-form-group {
  2002. border-top: 1upx solid #eee;
  2003. }
  2004. .cu-form-group .title {
  2005. text-align: justify;
  2006. padding-right: 30upx;
  2007. font-size: 30upx;
  2008. position: relative;
  2009. height: 60upx;
  2010. line-height: 60upx;
  2011. }
  2012. .cu-form-group input {
  2013. flex: 1;
  2014. font-size: 30upx;
  2015. color: #555;
  2016. padding-right: 20upx;
  2017. }
  2018. .cu-form-group>text[class*="cuIcon-"] {
  2019. font-size: 36upx;
  2020. padding: 0;
  2021. box-sizing: border-box;
  2022. }
  2023. .cu-form-group textarea {
  2024. margin: 32upx 0 30upx;
  2025. height: 4.6em;
  2026. width: 100%;
  2027. line-height: 1.2em;
  2028. flex: 1;
  2029. font-size: 28upx;
  2030. padding: 0;
  2031. }
  2032. .cu-form-group.align-start .title {
  2033. height: 1em;
  2034. margin-top: 32upx;
  2035. line-height: 1em;
  2036. }
  2037. .cu-form-group picker {
  2038. flex: 1;
  2039. padding-right: 40upx;
  2040. overflow: hidden;
  2041. position: relative;
  2042. }
  2043. .cu-form-group picker .picker {
  2044. line-height: 100upx;
  2045. font-size: 28upx;
  2046. text-overflow: ellipsis;
  2047. white-space: nowrap;
  2048. overflow: hidden;
  2049. width: 100%;
  2050. text-align: right;
  2051. }
  2052. .cu-form-group picker::after {
  2053. font-family: cuIcon;
  2054. display: block;
  2055. content: "\e6a3";
  2056. position: absolute;
  2057. font-size: 34upx;
  2058. color: #8799a3;
  2059. line-height: 100upx;
  2060. width: 60upx;
  2061. text-align: center;
  2062. top: 0;
  2063. bottom: 0;
  2064. right: -20upx;
  2065. margin: auto;
  2066. }
  2067. .cu-form-group textarea[disabled],
  2068. .cu-form-group textarea[disabled] .placeholder {
  2069. color: transparent;
  2070. }
  2071. /* ==================
  2072. 模态窗口
  2073. ==================== */
  2074. .cu-modal {
  2075. position: fixed;
  2076. top: 0;
  2077. right: 0;
  2078. bottom: 0;
  2079. left: 0;
  2080. z-index: 1110;
  2081. opacity: 0;
  2082. outline: 0;
  2083. text-align: center;
  2084. -ms-transform: scale(1.185);
  2085. transform: scale(1.185);
  2086. backface-visibility: hidden;
  2087. perspective: 2000upx;
  2088. background: rgba(0, 0, 0, 0.6);
  2089. transition: all 0.3s ease-in-out 0s;
  2090. pointer-events: none;
  2091. }
  2092. .cu-modal::before {
  2093. content: "\200B";
  2094. display: inline-block;
  2095. height: 100%;
  2096. vertical-align: middle;
  2097. }
  2098. .cu-modal.show {
  2099. opacity: 1;
  2100. transition-duration: 0.3s;
  2101. -ms-transform: scale(1);
  2102. transform: scale(1);
  2103. overflow-x: hidden;
  2104. overflow-y: auto;
  2105. pointer-events: auto;
  2106. }
  2107. .cu-dialog {
  2108. position: relative;
  2109. display: inline-block;
  2110. vertical-align: middle;
  2111. margin-left: auto;
  2112. margin-right: auto;
  2113. width: 680upx;
  2114. max-width: 100%;
  2115. background-color: #f8f8f8;
  2116. border-radius: 10upx;
  2117. overflow: hidden;
  2118. }
  2119. .cu-modal.bottom-modal::before {
  2120. vertical-align: bottom;
  2121. }
  2122. .cu-modal.bottom-modal .cu-dialog {
  2123. width: 100%;
  2124. border-radius: 0;
  2125. }
  2126. .cu-modal.bottom-modal {
  2127. margin-bottom: -1000upx;
  2128. }
  2129. .cu-modal.bottom-modal.show {
  2130. margin-bottom: 0;
  2131. }
  2132. .cu-modal.drawer-modal {
  2133. transform: scale(1);
  2134. display: flex;
  2135. }
  2136. .cu-modal.drawer-modal .cu-dialog {
  2137. height: 100%;
  2138. min-width: 200upx;
  2139. border-radius: 0;
  2140. margin: initial;
  2141. transition-duration: 0.3s;
  2142. }
  2143. .cu-modal.drawer-modal.justify-start .cu-dialog {
  2144. transform: translateX(-100%);
  2145. }
  2146. .cu-modal.drawer-modal.justify-end .cu-dialog {
  2147. transform: translateX(100%);
  2148. }
  2149. .cu-modal.drawer-modal.show .cu-dialog {
  2150. transform: translateX(0%);
  2151. }
  2152. .cu-modal .cu-dialog>.cu-bar:first-child .action{
  2153. min-width: 100rpx;
  2154. margin-right: 0;
  2155. min-height: 100rpx;
  2156. }
  2157. /* ==================
  2158. 轮播
  2159. ==================== */
  2160. swiper .a-swiper-dot {
  2161. display: inline-block;
  2162. width: 16upx;
  2163. height: 16upx;
  2164. background: rgba(0, 0, 0, .3);
  2165. border-radius: 50%;
  2166. vertical-align: middle;
  2167. }
  2168. swiper[class*="-dot"] .wx-swiper-dots,
  2169. swiper[class*="-dot"] .a-swiper-dots,
  2170. swiper[class*="-dot"] .uni-swiper-dots {
  2171. display: flex;
  2172. align-items: center;
  2173. width: 100%;
  2174. justify-content: center;
  2175. }
  2176. swiper.square-dot .wx-swiper-dot,
  2177. swiper.square-dot .a-swiper-dot,
  2178. swiper.square-dot .uni-swiper-dot {
  2179. background-color: #ffffff;
  2180. opacity: 0.4;
  2181. width: 10upx;
  2182. height: 10upx;
  2183. border-radius: 20upx;
  2184. margin: 0 8upx !important;
  2185. }
  2186. swiper.square-dot .wx-swiper-dot.wx-swiper-dot-active,
  2187. swiper.square-dot .a-swiper-dot.a-swiper-dot-active,
  2188. swiper.square-dot .uni-swiper-dot.uni-swiper-dot-active {
  2189. opacity: 1;
  2190. width: 30upx;
  2191. }
  2192. swiper.round-dot .wx-swiper-dot,
  2193. swiper.round-dot .a-swiper-dot,
  2194. swiper.round-dot .uni-swiper-dot {
  2195. width: 10upx;
  2196. height: 10upx;
  2197. position: relative;
  2198. margin: 4upx 8upx !important;
  2199. }
  2200. swiper.round-dot .wx-swiper-dot.wx-swiper-dot-active::after,
  2201. swiper.round-dot .a-swiper-dot.a-swiper-dot-active::after,
  2202. swiper.round-dot .uni-swiper-dot.uni-swiper-dot-active::after {
  2203. content: "";
  2204. position: absolute;
  2205. width: 10upx;
  2206. height: 10upx;
  2207. top: 0upx;
  2208. left: 0upx;
  2209. right: 0;
  2210. bottom: 0;
  2211. margin: auto;
  2212. background-color: #ffffff;
  2213. border-radius: 20upx;
  2214. }
  2215. swiper.round-dot .wx-swiper-dot.wx-swiper-dot-active,
  2216. swiper.round-dot .a-swiper-dot.a-swiper-dot-active,
  2217. swiper.round-dot .uni-swiper-dot.uni-swiper-dot-active {
  2218. width: 18upx;
  2219. height: 18upx;
  2220. }
  2221. .screen-swiper {
  2222. min-height: 375upx;
  2223. }
  2224. .screen-swiper image,
  2225. .screen-swiper video,
  2226. .swiper-item image,
  2227. .swiper-item video {
  2228. width: 100%;
  2229. display: block;
  2230. height: 100%;
  2231. margin: 0;
  2232. pointer-events: none;
  2233. }
  2234. .card-swiper {
  2235. height: 420upx !important;
  2236. }
  2237. .card-swiper swiper-item {
  2238. width: 610upx !important;
  2239. left: 70upx;
  2240. box-sizing: border-box;
  2241. padding: 40upx 0upx 70upx;
  2242. overflow: initial;
  2243. }
  2244. .card-swiper swiper-item .swiper-item {
  2245. width: 100%;
  2246. display: block;
  2247. height: 100%;
  2248. border-radius: 10upx;
  2249. transform: scale(0.9);
  2250. transition: all 0.2s ease-in 0s;
  2251. overflow: hidden;
  2252. }
  2253. .card-swiper swiper-item.cur .swiper-item {
  2254. transform: none;
  2255. transition: all 0.2s ease-in 0s;
  2256. }
  2257. .tower-swiper {
  2258. height: 420upx;
  2259. position: relative;
  2260. max-width: 750upx;
  2261. overflow: hidden;
  2262. }
  2263. .tower-swiper .tower-item {
  2264. position: absolute;
  2265. width: 300upx;
  2266. height: 380upx;
  2267. top: 0;
  2268. bottom: 0;
  2269. left: 50%;
  2270. margin: auto;
  2271. transition: all 0.2s ease-in 0s;
  2272. opacity: 1;
  2273. }
  2274. .tower-swiper .tower-item.none {
  2275. opacity: 0;
  2276. }
  2277. .tower-swiper .tower-item .swiper-item {
  2278. width: 100%;
  2279. height: 100%;
  2280. border-radius: 6upx;
  2281. overflow: hidden;
  2282. }
  2283. /* ==================
  2284. 步骤条
  2285. ==================== */
  2286. .cu-steps {
  2287. display: flex;
  2288. }
  2289. scroll-view.cu-steps {
  2290. display: block;
  2291. white-space: nowrap;
  2292. }
  2293. scroll-view.cu-steps .cu-item {
  2294. display: inline-block;
  2295. }
  2296. .cu-steps .cu-item {
  2297. flex: 1;
  2298. text-align: center;
  2299. position: relative;
  2300. min-width: 100upx;
  2301. }
  2302. .cu-steps .cu-item:not([class*="text-"]) {
  2303. color: #8799a3;
  2304. }
  2305. .cu-steps .cu-item [class*="cuIcon-"],
  2306. .cu-steps .cu-item .num {
  2307. display: block;
  2308. font-size: 40upx;
  2309. line-height: 80upx;
  2310. }
  2311. .cu-steps .cu-item::before,
  2312. .cu-steps .cu-item::after,
  2313. .cu-steps.steps-arrow .cu-item::before,
  2314. .cu-steps.steps-arrow .cu-item::after {
  2315. content: "";
  2316. display: block;
  2317. position: absolute;
  2318. height: 0px;
  2319. width: calc(100% - 80upx);
  2320. border-bottom: 1px solid #ccc;
  2321. left: calc(0px - (100% - 80upx) / 2);
  2322. top: 40upx;
  2323. z-index: 0;
  2324. }
  2325. .cu-steps.steps-arrow .cu-item::before,
  2326. .cu-steps.steps-arrow .cu-item::after {
  2327. content: "\e6a3";
  2328. font-family: 'cuIcon';
  2329. height: 30upx;
  2330. border-bottom-width: 0px;
  2331. line-height: 30upx;
  2332. top: 0;
  2333. bottom: 0;
  2334. margin: auto;
  2335. color: #ccc;
  2336. }
  2337. .cu-steps.steps-bottom .cu-item::before,
  2338. .cu-steps.steps-bottom .cu-item::after {
  2339. bottom: 40upx;
  2340. top: initial;
  2341. }
  2342. .cu-steps .cu-item::after {
  2343. border-bottom: 1px solid currentColor;
  2344. width: 0px;
  2345. transition: all 0.3s ease-in-out 0s;
  2346. }
  2347. .cu-steps .cu-item[class*="text-"]::after {
  2348. width: calc(100% - 80upx);
  2349. color: currentColor;
  2350. }
  2351. .cu-steps .cu-item:first-child::before,
  2352. .cu-steps .cu-item:first-child::after {
  2353. display: none;
  2354. }
  2355. .cu-steps .cu-item .num {
  2356. width: 40upx;
  2357. height: 40upx;
  2358. border-radius: 50%;
  2359. line-height: 40upx;
  2360. margin: 20upx auto;
  2361. font-size: 24upx;
  2362. border: 1px solid currentColor;
  2363. position: relative;
  2364. overflow: hidden;
  2365. }
  2366. .cu-steps .cu-item[class*="text-"] .num {
  2367. background-color: currentColor;
  2368. }
  2369. .cu-steps .cu-item .num::before,
  2370. .cu-steps .cu-item .num::after {
  2371. content: attr(data-index);
  2372. position: absolute;
  2373. left: 0;
  2374. right: 0;
  2375. top: 0;
  2376. bottom: 0;
  2377. margin: auto;
  2378. transition: all 0.3s ease-in-out 0s;
  2379. transform: translateY(0upx);
  2380. }
  2381. .cu-steps .cu-item[class*="text-"] .num::before {
  2382. transform: translateY(-40upx);
  2383. color: #ffffff;
  2384. }
  2385. .cu-steps .cu-item .num::after {
  2386. transform: translateY(40upx);
  2387. color: #ffffff;
  2388. transition: all 0.3s ease-in-out 0s;
  2389. }
  2390. .cu-steps .cu-item[class*="text-"] .num::after {
  2391. content: "\e645";
  2392. font-family: 'cuIcon';
  2393. color: #ffffff;
  2394. transform: translateY(0upx);
  2395. }
  2396. .cu-steps .cu-item[class*="text-"] .num.err::after {
  2397. content: "\e646";
  2398. }
  2399. /* ==================
  2400. 布局
  2401. ==================== */
  2402. /* -- flex弹性布局 -- */
  2403. .flex {
  2404. display: flex;
  2405. }
  2406. .basis-xs {
  2407. flex-basis: 20%;
  2408. }
  2409. .basis-sm {
  2410. flex-basis: 40%;
  2411. }
  2412. .basis-df {
  2413. flex-basis: 50%;
  2414. }
  2415. .basis-lg {
  2416. flex-basis: 60%;
  2417. }
  2418. .basis-xl {
  2419. flex-basis: 80%;
  2420. }
  2421. .flex-sub {
  2422. flex: 1;
  2423. }
  2424. .flex-twice {
  2425. flex: 2;
  2426. }
  2427. .flex-treble {
  2428. flex: 3;
  2429. }
  2430. .flex-direction {
  2431. flex-direction: column;
  2432. }
  2433. .flex-wrap {
  2434. flex-wrap: wrap;
  2435. }
  2436. .align-start {
  2437. align-items: flex-start;
  2438. }
  2439. .align-end {
  2440. align-items: flex-end;
  2441. }
  2442. .align-center {
  2443. align-items: center;
  2444. }
  2445. .align-stretch {
  2446. align-items: stretch;
  2447. }
  2448. .self-start {
  2449. align-self: flex-start;
  2450. }
  2451. .self-center {
  2452. align-self: flex-center;
  2453. }
  2454. .self-end {
  2455. align-self: flex-end;
  2456. }
  2457. .self-stretch {
  2458. align-self: stretch;
  2459. }
  2460. .align-stretch {
  2461. align-items: stretch;
  2462. }
  2463. .justify-start {
  2464. justify-content: flex-start;
  2465. }
  2466. .justify-end {
  2467. justify-content: flex-end;
  2468. }
  2469. .justify-center {
  2470. justify-content: center;
  2471. }
  2472. .justify-between {
  2473. justify-content: space-between;
  2474. }
  2475. .justify-around {
  2476. justify-content: space-around;
  2477. }
  2478. /* grid布局 */
  2479. .grid {
  2480. display: flex;
  2481. flex-wrap: wrap;
  2482. }
  2483. .grid.grid-square {
  2484. overflow: hidden;
  2485. }
  2486. .grid.grid-square .cu-tag {
  2487. position: absolute;
  2488. right: 0;
  2489. top: 0;
  2490. border-bottom-left-radius: 6upx;
  2491. padding: 6upx 12upx;
  2492. height: auto;
  2493. background-color: rgba(0, 0, 0, 0.5);
  2494. }
  2495. .grid.grid-square>view>text[class*="cuIcon-"] {
  2496. font-size: 52upx;
  2497. position: absolute;
  2498. color: #8799a3;
  2499. margin: auto;
  2500. top: 0;
  2501. bottom: 0;
  2502. left: 0;
  2503. right: 0;
  2504. display: flex;
  2505. justify-content: center;
  2506. align-items: center;
  2507. flex-direction: column;
  2508. }
  2509. .grid.grid-square>view {
  2510. margin-right: 18rpx;
  2511. /* margin-bottom: 18rpx; */
  2512. border-radius: 10rpx;
  2513. position: relative;
  2514. overflow: hidden;
  2515. }
  2516. .grid.grid-square>view.bg-img image {
  2517. width: 100%;
  2518. height: 100%;
  2519. position: absolute;
  2520. }
  2521. .grid.col-1.grid-square>view {
  2522. padding-bottom: 100%;
  2523. height: 0;
  2524. margin-right: 0;
  2525. }
  2526. .grid.col-2.grid-square>view {
  2527. padding-bottom: calc((100% - 20upx)/2);
  2528. height: 0;
  2529. width: calc((100% - 20upx)/2);
  2530. }
  2531. .grid.col-3.grid-square>view {
  2532. padding-bottom: calc((100% - 40upx)/3);
  2533. height: 0;
  2534. width: calc((100% - 40upx)/3);
  2535. }
  2536. .grid.col-4.grid-square>view {
  2537. padding-bottom: calc((100% - 60upx)/4);
  2538. height: 0;
  2539. width: calc((100% - 60upx)/4);
  2540. }
  2541. .grid.col-5.grid-square>view {
  2542. padding-bottom: calc((100% - 80upx)/5);
  2543. height: 0;
  2544. width: calc((100% - 80upx)/5);
  2545. }
  2546. .grid.col-2.grid-square>view:nth-child(2n),
  2547. .grid.col-3.grid-square>view:nth-child(3n),
  2548. .grid.col-4.grid-square>view:nth-child(4n),
  2549. .grid.col-5.grid-square>view:nth-child(5n) {
  2550. margin-right: 0;
  2551. }
  2552. .grid.col-1>view {
  2553. width: 100%;
  2554. }
  2555. .grid.col-2>view {
  2556. width: 50%;
  2557. }
  2558. .grid.col-3>view {
  2559. width: 33.33%;
  2560. }
  2561. .grid.col-4>view {
  2562. width: 25%;
  2563. }
  2564. .grid.col-5>view {
  2565. width: 20%;
  2566. }
  2567. /* -- 内外边距 -- */
  2568. .margin-0 {
  2569. margin: 0;
  2570. }
  2571. .margin-xxs {
  2572. margin: 5upx;
  2573. }
  2574. .margin-xs {
  2575. margin: 10upx;
  2576. }
  2577. .margin-sm {
  2578. margin: 20upx;
  2579. }
  2580. .margin {
  2581. margin: 30upx;
  2582. }
  2583. .margin-lg {
  2584. margin: 40upx;
  2585. }
  2586. .margin-xl {
  2587. margin: 50upx;
  2588. }
  2589. .margin-top-xss {
  2590. margin-top: 5upx;
  2591. }
  2592. .margin-top-xs {
  2593. margin-top: 10upx;
  2594. }
  2595. .margin-top-sm {
  2596. margin-top: 20upx;
  2597. }
  2598. .margin-top {
  2599. margin-top: 30upx;
  2600. }
  2601. .margin-top-lg {
  2602. margin-top: 40upx;
  2603. }
  2604. .margin-top-xl {
  2605. margin-top: 50upx;
  2606. }
  2607. .margin-right-xxs {
  2608. margin-right: 5upx;
  2609. }
  2610. .margin-right-xs {
  2611. margin-right: 10upx;
  2612. }
  2613. .margin-right-sm {
  2614. margin-right: 20upx;
  2615. }
  2616. .margin-right {
  2617. margin-right: 30upx;
  2618. }
  2619. .margin-right-lg {
  2620. margin-right: 40upx;
  2621. }
  2622. .margin-right-xl {
  2623. margin-right: 50upx;
  2624. }
  2625. .margin-bottom-xxs {
  2626. margin-bottom: 5upx;
  2627. }
  2628. .margin-bottom-xs {
  2629. margin-bottom: 10upx;
  2630. }
  2631. .margin-bottom-sm {
  2632. margin-bottom: 20upx;
  2633. }
  2634. .margin-bottom {
  2635. margin-bottom: 30upx;
  2636. }
  2637. .margin-bottom-lg {
  2638. margin-bottom: 40upx;
  2639. }
  2640. .margin-bottom-xl {
  2641. margin-bottom: 50upx;
  2642. }
  2643. .margin-left-xxs {
  2644. margin-left: 5upx;
  2645. }
  2646. .margin-left-xs {
  2647. margin-left: 10upx;
  2648. }
  2649. .margin-left-sm {
  2650. margin-left: 20upx;
  2651. }
  2652. .margin-left {
  2653. margin-left: 30upx;
  2654. }
  2655. .margin-left-lg {
  2656. margin-left: 40upx;
  2657. }
  2658. .margin-left-xl {
  2659. margin-left: 50upx;
  2660. }
  2661. .margin-lr-xxs {
  2662. margin-left: 5upx;
  2663. margin-right: 5upx;
  2664. }
  2665. .margin-lr-xs {
  2666. margin-left: 10upx;
  2667. margin-right: 10upx;
  2668. }
  2669. .margin-lr-sm {
  2670. margin-left: 20upx;
  2671. margin-right: 20upx;
  2672. }
  2673. .margin-lr {
  2674. margin-left: 30upx;
  2675. margin-right: 30upx;
  2676. }
  2677. .margin-lr-lg {
  2678. margin-left: 40upx;
  2679. margin-right: 40upx;
  2680. }
  2681. .margin-lr-xl {
  2682. margin-left: 50upx;
  2683. margin-right: 50upx;
  2684. }
  2685. .margin-tb-xxs {
  2686. margin-top: 5upx;
  2687. margin-bottom: 5upx;
  2688. }
  2689. .margin-tb-xs {
  2690. margin-top: 10upx;
  2691. margin-bottom: 10upx;
  2692. }
  2693. .margin-tb-sm {
  2694. margin-top: 20upx;
  2695. margin-bottom: 20upx;
  2696. }
  2697. .margin-tb {
  2698. margin-top: 30upx;
  2699. margin-bottom: 30upx;
  2700. }
  2701. .margin-tb-lg {
  2702. margin-top: 40upx;
  2703. margin-bottom: 40upx;
  2704. }
  2705. .margin-tb-xl {
  2706. margin-top: 50upx;
  2707. margin-bottom: 50upx;
  2708. }
  2709. .padding-0 {
  2710. padding: 0;
  2711. }
  2712. .padding-xxs {
  2713. padding: 5upx;
  2714. }
  2715. .padding-xs {
  2716. padding: 10upx;
  2717. }
  2718. .padding-sm {
  2719. padding: 20upx;
  2720. }
  2721. .padding {
  2722. padding: 30upx;
  2723. }
  2724. .padding-lg {
  2725. padding: 40upx;
  2726. }
  2727. .padding-xl {
  2728. padding: 50upx;
  2729. }
  2730. .padding-top-xxs {
  2731. padding-top: 5upx;
  2732. }
  2733. .padding-top-xs {
  2734. padding-top: 10upx;
  2735. }
  2736. .padding-top-sm {
  2737. padding-top: 20upx;
  2738. }
  2739. .padding-top {
  2740. padding-top: 30upx;
  2741. }
  2742. .padding-top-lg {
  2743. padding-top: 40upx;
  2744. }
  2745. .padding-top-xl {
  2746. padding-top: 50upx;
  2747. }
  2748. .padding-right-xxs {
  2749. padding-right: 5upx;
  2750. }
  2751. .padding-right-xs {
  2752. padding-right: 10upx;
  2753. }
  2754. .padding-right-sm {
  2755. padding-right: 20upx;
  2756. }
  2757. .padding-right {
  2758. padding-right: 30upx;
  2759. }
  2760. .padding-right-lg {
  2761. padding-right: 40upx;
  2762. }
  2763. .padding-right-xl {
  2764. padding-right: 50upx;
  2765. }
  2766. .padding-bottom-xxs {
  2767. padding-bottom: 5upx;
  2768. }
  2769. .padding-bottom-xs {
  2770. padding-bottom: 10upx;
  2771. }
  2772. .padding-bottom-sm {
  2773. padding-bottom: 20upx;
  2774. }
  2775. .padding-bottom {
  2776. padding-bottom: 30upx;
  2777. }
  2778. .padding-bottom-lg {
  2779. padding-bottom: 40upx;
  2780. }
  2781. .padding-bottom-xl {
  2782. padding-bottom: 50upx;
  2783. }
  2784. .padding-left-xxs {
  2785. padding-left: 5upx;
  2786. }
  2787. .padding-left-xs {
  2788. padding-left: 10upx;
  2789. }
  2790. .padding-left-sm {
  2791. padding-left: 20upx;
  2792. }
  2793. .padding-left {
  2794. padding-left: 30upx;
  2795. }
  2796. .padding-left-lg {
  2797. padding-left: 40upx;
  2798. }
  2799. .padding-left-xl {
  2800. padding-left: 50upx;
  2801. }
  2802. .padding-lr-xxs {
  2803. padding-left: 5upx;
  2804. padding-right: 5upx;
  2805. }
  2806. .padding-lr-xs {
  2807. padding-left: 10upx;
  2808. padding-right: 10upx;
  2809. }
  2810. .padding-lr-sm {
  2811. padding-left: 20upx;
  2812. padding-right: 20upx;
  2813. }
  2814. .padding-lr {
  2815. padding-left: 32rpx;
  2816. padding-right: 32rpx;
  2817. }
  2818. .padding-lr-lg {
  2819. padding-left: 40upx;
  2820. padding-right: 40upx;
  2821. }
  2822. .padding-lr-xl {
  2823. padding-left: 50upx;
  2824. padding-right: 50upx;
  2825. }
  2826. .padding-tb-xxs {
  2827. padding-top: 5upx;
  2828. padding-bottom: 5upx;
  2829. }
  2830. .padding-tb-xs {
  2831. padding-top: 10upx;
  2832. padding-bottom: 10upx;
  2833. }
  2834. .padding-tb-sm {
  2835. padding-top: 20upx;
  2836. padding-bottom: 20upx;
  2837. }
  2838. .padding-tb {
  2839. padding-top: 30upx;
  2840. padding-bottom: 30upx;
  2841. }
  2842. .padding-tb-lg {
  2843. padding-top: 40upx;
  2844. padding-bottom: 40upx;
  2845. }
  2846. .padding-tb-xl {
  2847. padding-top: 50upx;
  2848. padding-bottom: 50upx;
  2849. }
  2850. /* -- 浮动 -- */
  2851. .cf::after,
  2852. .cf::before {
  2853. content: " ";
  2854. display: table;
  2855. }
  2856. .cf::after {
  2857. clear: both;
  2858. }
  2859. .fl {
  2860. float: left;
  2861. }
  2862. .fr {
  2863. float: right;
  2864. }
  2865. .border {
  2866. border: 1px solid #777!important;
  2867. }
  2868. /* ==================
  2869. 背景
  2870. ==================== */
  2871. .line-red::after,
  2872. .lines-red::after {
  2873. border-color: #e54d42;
  2874. }
  2875. .line-orange::after,
  2876. .lines-orange::after {
  2877. border-color: #FE9903;
  2878. }
  2879. .line-yellow::after,
  2880. .lines-yellow::after {
  2881. border-color: #fbbd08;
  2882. }
  2883. .line-olive::after,
  2884. .lines-olive::after {
  2885. border-color: #8dc63f;
  2886. }
  2887. .line-green::after,
  2888. .lines-green::after {
  2889. border-color: #39b54a;
  2890. }
  2891. .line-cyan::after,
  2892. .lines-cyan::after {
  2893. border-color: #1cbbb4;
  2894. }
  2895. .line-blue::after,
  2896. .lines-blue::after {
  2897. border-color: #0081ff;
  2898. }
  2899. .line-purple::after,
  2900. .lines-purple::after {
  2901. border-color: #6739b6;
  2902. }
  2903. .line-mauve::after,
  2904. .lines-mauve::after {
  2905. border-color: #9c26b0;
  2906. }
  2907. .line-pink::after,
  2908. .lines-pink::after {
  2909. border-color: #e03997;
  2910. }
  2911. .line-brown::after,
  2912. .lines-brown::after {
  2913. border-color: #a5673f;
  2914. }
  2915. .line-grey::after,
  2916. .lines-grey::after {
  2917. border-color: #8799a3;
  2918. }
  2919. .line-gray::after,
  2920. .lines-gray::after {
  2921. border-color: #777777!important;
  2922. }
  2923. .line-black::after,
  2924. .lines-black::after {
  2925. border-color: #333333;
  2926. }
  2927. .line-white::after,
  2928. .lines-white::after {
  2929. border-color: #ffffff;
  2930. }
  2931. .bg-red {
  2932. background-color: #FF0000;
  2933. color: #ffffff;
  2934. }
  2935. .bg-orange {
  2936. background-color: #FE9903!important;
  2937. color: #ffffff!important;
  2938. }
  2939. .bg-yellow {
  2940. background-color: #fbbd08;
  2941. color: #333333;
  2942. }
  2943. .bg-olive {
  2944. background-color: #8dc63f;
  2945. color: #ffffff;
  2946. }
  2947. .bg-green {
  2948. background-color: #10CB3B!important;
  2949. color: #ffffff;
  2950. }
  2951. .bg-cyan {
  2952. background-color: #1cbbb4;
  2953. color: #ffffff;
  2954. }
  2955. .bg-blue {
  2956. background-color: #1E89FF!important;
  2957. color: #ffffff;
  2958. }
  2959. .border-blue {
  2960. border: 1px solid #1E89FF!important;
  2961. }
  2962. .bg-purple {
  2963. background-color: #6739b6;
  2964. color: #ffffff;
  2965. }
  2966. .bg-mauve {
  2967. background-color: #9c26b0;
  2968. color: #ffffff;
  2969. }
  2970. .bg-pink {
  2971. background-color: #e03997;
  2972. color: #ffffff;
  2973. }
  2974. .bg-brown {
  2975. background-color: #a5673f;
  2976. color: #ffffff;
  2977. }
  2978. .bg-grey {
  2979. background-color: #8799a3;
  2980. color: #ffffff;
  2981. }
  2982. .bg-gray {
  2983. background-color: #999999!important;
  2984. color: white!important;
  2985. }
  2986. .bg-gray1 {
  2987. background-color: #f7f7fb;
  2988. color: #333333;
  2989. }
  2990. .bg-black {
  2991. background-color: #333333;
  2992. color: #ffffff;
  2993. }
  2994. .bg-white {
  2995. background-color: #ffffff;
  2996. color: #777;
  2997. }
  2998. .bg-shadeTop {
  2999. background-image: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.01));
  3000. color: #ffffff;
  3001. }
  3002. .bg-shadeBottom {
  3003. background-image: linear-gradient(rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 1));
  3004. color: #ffffff;
  3005. }
  3006. .bg-red.light {
  3007. color: #e54d42;
  3008. background-color: #fadbd9;
  3009. }
  3010. .bg-orange.light {
  3011. color: #f37b1d;
  3012. background-color: #fde6d2;
  3013. }
  3014. .bg-yellow.light {
  3015. color: #fbbd08;
  3016. background-color: #fef2ced2;
  3017. }
  3018. .bg-olive.light {
  3019. color: #8dc63f;
  3020. background-color: #e8f4d9;
  3021. }
  3022. .bg-green.light {
  3023. color: #39b54a;
  3024. background-color: #d7f0dbff;
  3025. }
  3026. .bg-cyan.light {
  3027. color: #1cbbb4;
  3028. background-color: #d2f1f0;
  3029. }
  3030. .bg-blue.light {
  3031. color: #0081ff;
  3032. background-color: #cce6ff;
  3033. }
  3034. .bg-purple.light {
  3035. color: #6739b6;
  3036. background-color: #e1d7f0;
  3037. }
  3038. .bg-mauve.light {
  3039. color: #9c26b0;
  3040. background-color: #ebd4ef;
  3041. }
  3042. .bg-pink.light {
  3043. color: #e03997;
  3044. background-color: #f9d7ea;
  3045. }
  3046. .bg-brown.light {
  3047. color: #a5673f;
  3048. background-color: #ede1d9;
  3049. }
  3050. .bg-grey.light {
  3051. color: #8799a3;
  3052. background-color: #e7ebed;
  3053. }
  3054. .bg-gradual-red {
  3055. background-image: linear-gradient(45deg, #f43f3b, #ec008c);
  3056. color: #ffffff;
  3057. }
  3058. .bg-gradual-orange {
  3059. background-image: linear-gradient(45deg, #ff9700, #ed1c24);
  3060. color: #ffffff;
  3061. }
  3062. .bg-gradual-green {
  3063. background-image: linear-gradient(45deg, #39b54a, #8dc63f);
  3064. color: #ffffff;
  3065. }
  3066. .bg-gradual-purple {
  3067. background-image: linear-gradient(45deg, #9000ff, #5e00ff);
  3068. color: #ffffff;
  3069. }
  3070. .bg-gradual-pink {
  3071. background-image: linear-gradient(45deg, #ec008c, #6739b6);
  3072. color: #ffffff;
  3073. }
  3074. .bg-gradual-blue {
  3075. background-image: linear-gradient(45deg, #0081ff, #1cbbb4);
  3076. color: #ffffff;
  3077. }
  3078. .shadow[class*="-red"] {
  3079. box-shadow: 6upx 6upx 8upx rgba(204, 69, 59, 0.2);
  3080. }
  3081. .shadow[class*="-orange"] {
  3082. box-shadow: 6upx 6upx 8upx rgba(217, 109, 26, 0.2);
  3083. }
  3084. .shadow[class*="-yellow"] {
  3085. box-shadow: 6upx 6upx 8upx rgba(224, 170, 7, 0.2);
  3086. }
  3087. .shadow[class*="-olive"] {
  3088. box-shadow: 6upx 6upx 8upx rgba(124, 173, 55, 0.2);
  3089. }
  3090. .shadow[class*="-green"] {
  3091. box-shadow: 6upx 6upx 8upx rgba(48, 156, 63, 0.2);
  3092. }
  3093. .shadow[class*="-cyan"] {
  3094. box-shadow: 6upx 6upx 8upx rgba(28, 187, 180, 0.2);
  3095. }
  3096. .shadow[class*="-blue"] {
  3097. box-shadow: 6upx 6upx 8upx rgba(0, 102, 204, 0.2);
  3098. }
  3099. .shadow[class*="-purple"] {
  3100. box-shadow: 6upx 6upx 8upx rgba(88, 48, 156, 0.2);
  3101. }
  3102. .shadow[class*="-mauve"] {
  3103. box-shadow: 6upx 6upx 8upx rgba(133, 33, 150, 0.2);
  3104. }
  3105. .shadow[class*="-pink"] {
  3106. box-shadow: 6upx 6upx 8upx rgba(199, 50, 134, 0.2);
  3107. }
  3108. .shadow[class*="-brown"] {
  3109. box-shadow: 6upx 6upx 8upx rgba(140, 88, 53, 0.2);
  3110. }
  3111. .shadow[class*="-grey"] {
  3112. box-shadow: 6upx 6upx 8upx rgba(114, 130, 138, 0.2);
  3113. }
  3114. .shadow[class*="-gray"] {
  3115. box-shadow: 6upx 6upx 8upx rgba(114, 130, 138, 0.2);
  3116. }
  3117. .shadow[class*="-black"] {
  3118. box-shadow: 6upx 6upx 8upx rgba(26, 26, 26, 0.2);
  3119. }
  3120. .shadow[class*="-white"] {
  3121. box-shadow: 6upx 6upx 8upx rgba(26, 26, 26, 0.2);
  3122. }
  3123. .text-shadow[class*="-red"] {
  3124. text-shadow: 6upx 6upx 8upx rgba(204, 69, 59, 0.2);
  3125. }
  3126. .text-shadow[class*="-orange"] {
  3127. text-shadow: 6upx 6upx 8upx rgba(217, 109, 26, 0.2);
  3128. }
  3129. .text-shadow[class*="-yellow"] {
  3130. text-shadow: 6upx 6upx 8upx rgba(224, 170, 7, 0.2);
  3131. }
  3132. .text-shadow[class*="-olive"] {
  3133. text-shadow: 6upx 6upx 8upx rgba(124, 173, 55, 0.2);
  3134. }
  3135. .text-shadow[class*="-green"] {
  3136. text-shadow: 6upx 6upx 8upx rgba(48, 156, 63, 0.2);
  3137. }
  3138. .text-shadow[class*="-cyan"] {
  3139. text-shadow: 6upx 6upx 8upx rgba(28, 187, 180, 0.2);
  3140. }
  3141. .text-shadow[class*="-blue"] {
  3142. text-shadow: 6upx 6upx 8upx rgba(0, 102, 204, 0.2);
  3143. }
  3144. .text-shadow[class*="-purple"] {
  3145. text-shadow: 6upx 6upx 8upx rgba(88, 48, 156, 0.2);
  3146. }
  3147. .text-shadow[class*="-mauve"] {
  3148. text-shadow: 6upx 6upx 8upx rgba(133, 33, 150, 0.2);
  3149. }
  3150. .text-shadow[class*="-pink"] {
  3151. text-shadow: 6upx 6upx 8upx rgba(199, 50, 134, 0.2);
  3152. }
  3153. .text-shadow[class*="-brown"] {
  3154. text-shadow: 6upx 6upx 8upx rgba(140, 88, 53, 0.2);
  3155. }
  3156. .text-shadow[class*="-grey"] {
  3157. text-shadow: 6upx 6upx 8upx rgba(114, 130, 138, 0.2);
  3158. }
  3159. .text-shadow[class*="-gray"] {
  3160. text-shadow: 6upx 6upx 8upx rgba(114, 130, 138, 0.2);
  3161. }
  3162. .text-shadow[class*="-black"] {
  3163. text-shadow: 6upx 6upx 8upx rgba(26, 26, 26, 0.2);
  3164. }
  3165. .bg-img {
  3166. background-size: cover;
  3167. background-position: center;
  3168. background-repeat: no-repeat;
  3169. }
  3170. .bg-mask {
  3171. background-color: #333333;
  3172. position: relative;
  3173. }
  3174. .bg-mask::after {
  3175. content: "";
  3176. border-radius: inherit;
  3177. width: 100%;
  3178. height: 100%;
  3179. display: block;
  3180. background-color: rgba(0, 0, 0, 0.4);
  3181. position: absolute;
  3182. left: 0;
  3183. right: 0;
  3184. bottom: 0;
  3185. top: 0;
  3186. }
  3187. .bg-mask view,
  3188. .bg-mask cover-view {
  3189. z-index: 5;
  3190. position: relative;
  3191. }
  3192. .bg-video {
  3193. position: relative;
  3194. }
  3195. .bg-video video {
  3196. display: block;
  3197. height: 100%;
  3198. width: 100%;
  3199. -o-object-fit: cover;
  3200. object-fit: cover;
  3201. position: absolute;
  3202. top: 0;
  3203. z-index: 0;
  3204. pointer-events: none;
  3205. }
  3206. /* ==================
  3207. 文本
  3208. ==================== */
  3209. .text-xs {
  3210. font-size: 20upx;
  3211. }
  3212. .text-sm {
  3213. font-size: 24upx;
  3214. }
  3215. .text-df {
  3216. font-size: 28upx;
  3217. }
  3218. .text-lg {
  3219. font-size: 32upx;
  3220. }
  3221. .text-xl {
  3222. font-size: 36upx;
  3223. }
  3224. .text-xxl {
  3225. font-size: 44upx;
  3226. }
  3227. .text-sl {
  3228. font-size: 80upx;
  3229. }
  3230. .text-xsl {
  3231. font-size: 120upx;
  3232. }
  3233. .text-Abc {
  3234. text-transform: Capitalize;
  3235. }
  3236. .text-ABC {
  3237. text-transform: Uppercase;
  3238. }
  3239. .text-abc {
  3240. text-transform: Lowercase;
  3241. }
  3242. .text-price::before {
  3243. content: "¥";
  3244. font-size: 28rpx!important;
  3245. margin-right: 4rpx;
  3246. font-weight: bold;
  3247. color: #FF0000;
  3248. }
  3249. .text-price1::before {
  3250. content: "¥";
  3251. font-size: 28rpx!important;
  3252. margin-right: 4rpx;
  3253. }
  3254. .text-cut {
  3255. text-overflow: ellipsis;
  3256. white-space: nowrap;
  3257. overflow: hidden;
  3258. }
  3259. .text-bold {
  3260. font-weight: bold;
  3261. }
  3262. .text-center {
  3263. text-align: center;
  3264. }
  3265. .text-content {
  3266. line-height: 1.6;
  3267. }
  3268. .text-left {
  3269. text-align: left;
  3270. }
  3271. .text-right {
  3272. text-align: right;
  3273. }
  3274. .text-red,
  3275. .line-red,
  3276. .lines-red {
  3277. color: #FF0000;
  3278. }
  3279. .text-orange,
  3280. .line-orange,
  3281. .lines-orange {
  3282. color: #FE9903;
  3283. }
  3284. .text-yellow,
  3285. .line-yellow,
  3286. .lines-yellow {
  3287. color: #fbbd08;
  3288. }
  3289. .text-olive,
  3290. .line-olive,
  3291. .lines-olive {
  3292. color: #8dc63f;
  3293. }
  3294. .text-green,
  3295. .line-green,
  3296. .lines-green {
  3297. color: #10CB3B;
  3298. }
  3299. .text-cyan,
  3300. .line-cyan,
  3301. .lines-cyan {
  3302. color: #1cbbb4;
  3303. }
  3304. .text-blue,
  3305. .line-blue,
  3306. .lines-blue {
  3307. color: #1E89FF!important;
  3308. }
  3309. .text-purple,
  3310. .line-purple,
  3311. .lines-purple {
  3312. color: #6739b6;
  3313. }
  3314. .text-mauve,
  3315. .line-mauve,
  3316. .lines-mauve {
  3317. color: #9c26b0;
  3318. }
  3319. .text-pink,
  3320. .line-pink,
  3321. .lines-pink {
  3322. color: #e03997;
  3323. }
  3324. .text-brown,
  3325. .line-brown,
  3326. .lines-brown {
  3327. color: #a5673f;
  3328. }
  3329. .text-grey,
  3330. .line-grey,
  3331. .lines-grey {
  3332. color: #8799a3;
  3333. }
  3334. .text-gray,
  3335. .line-gray,
  3336. .lines-gray {
  3337. color: #777777!important;
  3338. }
  3339. .text-black,
  3340. .line-black,
  3341. .lines-black {
  3342. color: #333333;
  3343. }
  3344. .text-black1,
  3345. .line-black1,
  3346. .lines-black1 {
  3347. color: #222222;
  3348. }
  3349. .text-white,
  3350. .line-white,
  3351. .lines-white {
  3352. color: #ffffff;
  3353. }