活动问卷
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 

3936 строки
65 KiB

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