金诚优选前端代码
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.

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