海南旅游项目 前端仓库
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.

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