main.css 17 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115
  1. /*每个页面公共css */
  2. ::-webkit-scrollbar {
  3. display: none;
  4. width: 0 !important;
  5. height: 0 !important;
  6. -webkit-appearance: none;
  7. background: transparent;
  8. }
  9. body {
  10. background-color: #f1f1f1;
  11. font-size: 14px;
  12. color: #333333;
  13. font-family: Helvetica Neue, Helvetica, sans-serif;
  14. }
  15. uni-view,
  16. uni-scroll-view,
  17. uni-swiper,
  18. uni-swiper-item,
  19. uni-cover-view,
  20. uni-cover-image,
  21. uni-icon,
  22. uni-text,
  23. uni-rich-text,
  24. uni-progress,
  25. uni-button,
  26. uni-checkbox,
  27. uni-form,
  28. uni-input,
  29. uni-label, uni-radio, uni-slider,
  30. uni-switch, uni-textarea,
  31. uni-navigator, uni-audio,
  32. uni-camera, uni-image, uni-video{
  33. box-sizing: border-box;
  34. }
  35. /*边框*/
  36. .b-b{
  37. position: relative;
  38. }
  39. .b-b:after,
  40. .b-t:after {
  41. position: absolute;
  42. z-index: 3;
  43. left: 0;
  44. right: 0;
  45. height: 0;
  46. content: '';
  47. transform: scaleY(.5);
  48. border-bottom: 1px solid #E4E7ED;
  49. }
  50. .b-b:after {
  51. bottom: 0;
  52. }
  53. .b-t:after {
  54. top: 0;
  55. }
  56. .margin-top {
  57. margin-top: 15px;
  58. }
  59. .padding {
  60. padding: 30upx;
  61. }
  62. .text-grey, .line-grey, .lines-grey {
  63. color: #8799a3;
  64. }
  65. .text-sm {
  66. font-size: 12px;
  67. }
  68. /* ==================
  69. 列表
  70. ==================== */
  71. .grayscale {
  72. filter: grayscale(1);
  73. }
  74. .cu-list+.cu-list {
  75. margin-top: 30upx
  76. }
  77. .cu-list>.cu-item {
  78. transition: all .6s ease-in-out 0s;
  79. transform: translateX(0upx)
  80. }
  81. .cu-list>.cu-item.move-cur {
  82. transform: translateX(-260upx)
  83. }
  84. .cu-list>.cu-item .move {
  85. position: absolute;
  86. right: 0;
  87. display: flex;
  88. width: 260upx;
  89. height: 100%;
  90. transform: translateX(100%)
  91. }
  92. .cu-list>.cu-item .move view {
  93. display: flex;
  94. flex: 1;
  95. justify-content: center;
  96. align-items: center
  97. }
  98. .cu-list.menu-avatar {
  99. overflow: hidden;
  100. }
  101. .cu-list.menu-avatar>.cu-item {
  102. position: relative;
  103. display: flex;
  104. padding-right: 10upx;
  105. height: 140upx;
  106. background-color: #ffffff;
  107. justify-content: flex-end;
  108. align-items: center
  109. }
  110. .cu-list.menu-avatar>.cu-item>.cu-avatar {
  111. position: absolute;
  112. left: 30upx
  113. }
  114. .cu-list.menu-avatar>.cu-item .flex .text-cut {
  115. max-width: 510upx
  116. }
  117. .cu-list.menu-avatar>.cu-item .content {
  118. position: absolute;
  119. left: 146upx;
  120. width: calc(100% - 96upx - 60upx - 120upx - 20upx);
  121. line-height: 1.6em;
  122. }
  123. .cu-list.menu-avatar>.cu-item .content.flex-sub {
  124. width: calc(100% - 96upx - 60upx - 20upx);
  125. }
  126. .cu-list.menu-avatar>.cu-item .content>view:first-child {
  127. font-size: 30upx;
  128. display: flex;
  129. align-items: center
  130. }
  131. .cu-list.menu-avatar>.cu-item .content .cu-tag.sm {
  132. display: inline-block;
  133. margin-left: 10upx;
  134. height: 28upx;
  135. font-size: 16upx;
  136. line-height: 32upx
  137. }
  138. .cu-list.menu-avatar>.cu-item .action {
  139. width: 100upx;
  140. text-align: center
  141. }
  142. .cu-list.menu-avatar>.cu-item .action view+view {
  143. margin-top: 10upx
  144. }
  145. .cu-list.menu-avatar.comment>.cu-item .content {
  146. position: relative;
  147. left: 0;
  148. width: auto;
  149. flex: 1;
  150. }
  151. .cu-list.menu-avatar.comment>.cu-item {
  152. padding: 30upx 30upx 30upx 120upx;
  153. height: auto
  154. }
  155. .cu-list.menu-avatar.comment .cu-avatar {
  156. align-self: flex-start
  157. }
  158. .cu-list.menu>.cu-item {
  159. position: relative;
  160. display: flex;
  161. padding: 0 30upx;
  162. min-height: 100upx;
  163. background-color: #ffffff;
  164. justify-content: space-between;
  165. align-items: center
  166. }
  167. .cu-list.menu>.cu-item:last-child:after {
  168. border: none
  169. }
  170. .cu-list.menu-avatar>.cu-item:after,
  171. .cu-list.menu>.cu-item:after {
  172. position: absolute;
  173. top: 0;
  174. left: 0;
  175. box-sizing: border-box;
  176. width: 200%;
  177. height: 200%;
  178. border-bottom: 1upx solid #ddd;
  179. border-radius: inherit;
  180. content: " ";
  181. transform: scale(.5);
  182. transform-origin: 0 0;
  183. pointer-events: none
  184. }
  185. .cu-list.menu>.cu-item.grayscale {
  186. background-color: #f5f5f5
  187. }
  188. .cu-list.menu>.cu-item.cur {
  189. background-color: #fcf7e9
  190. }
  191. .cu-list.menu>.cu-item.arrow {
  192. padding-right: 90upx
  193. }
  194. .cu-list.menu>.cu-item.arrow:before {
  195. position: absolute;
  196. top: 0;
  197. right: 30upx;
  198. bottom: 0;
  199. display: block;
  200. margin: auto;
  201. width: 30upx;
  202. height: 30upx;
  203. color: #8799a3;
  204. content: "\e6a3";
  205. text-align: center;
  206. font-size: 34upx;
  207. font-family: "hxicon";
  208. line-height: 30upx
  209. }
  210. .cu-list.menu>.cu-item button.content {
  211. padding: 0;
  212. background-color: transparent;
  213. justify-content: flex-start
  214. }
  215. .cu-list.menu>.cu-item button.content:after {
  216. display: none
  217. }
  218. .cu-list.menu>.cu-item .cu-avatar-group .cu-avatar {
  219. border-color: #ffffff
  220. }
  221. .cu-list.menu>.cu-item .content>view:first-child {
  222. display: flex;
  223. align-items: center
  224. }
  225. .cu-list.menu>.cu-item .content>text[class*=cuIcon] {
  226. display: inline-block;
  227. margin-right: 10upx;
  228. width: 1.6em;
  229. text-align: center
  230. }
  231. .cu-list.menu>.cu-item .content>text[class*=icon] {
  232. display: inline-block;
  233. margin-right: 10upx;
  234. width: 1.6em;
  235. text-align: center
  236. }
  237. .cu-list.menu>.cu-item .content>image {
  238. display: inline-block;
  239. margin-right: 10upx;
  240. width: 1.6em;
  241. height: 1.6em;
  242. vertical-align: middle
  243. }
  244. .cu-list.menu>.cu-item .content {
  245. font-size: 30upx;
  246. line-height: 1.6em;
  247. flex: 1
  248. }
  249. .cu-list.menu>.cu-item .content .cu-tag.sm {
  250. display: inline-block;
  251. margin-left: 10upx;
  252. height: 28upx;
  253. font-size: 16upx;
  254. line-height: 32upx
  255. }
  256. .cu-list.menu>.cu-item .action .cu-tag:empty {
  257. right: 10upx
  258. }
  259. .cu-list.menu {
  260. display: block;
  261. overflow: hidden
  262. }
  263. .cu-list.menu.sm-border>.cu-item:after {
  264. left: 30upx;
  265. width: calc(200% - 120upx)
  266. }
  267. .cu-list.grid>.cu-item {
  268. position: relative;
  269. display: flex;
  270. padding: 20upx 0 30upx;
  271. transition-duration: 0s;
  272. flex-direction: column
  273. }
  274. .cu-list.grid>.cu-item:after {
  275. position: absolute;
  276. top: 0;
  277. left: 0;
  278. box-sizing: border-box;
  279. width: 200%;
  280. height: 200%;
  281. border-right: 1px solid rgba(0, 0, 0, .1);
  282. border-bottom: 1px solid rgba(0, 0, 0, .1);
  283. border-radius: inherit;
  284. content: " ";
  285. transform: scale(.5);
  286. transform-origin: 0 0;
  287. pointer-events: none
  288. }
  289. .cu-list.grid>.cu-item text {
  290. display: block;
  291. margin-top: 10upx;
  292. color: #888;
  293. font-size: 26upx;
  294. line-height: 40upx
  295. }
  296. .cu-list.grid>.cu-item [class*=cuIcon] {
  297. position: relative;
  298. display: block;
  299. margin-top: 20upx;
  300. width: 100%;
  301. font-size: 48upx
  302. }
  303. .cu-list.grid>.cu-item [class*=icon] {
  304. position: relative;
  305. display: block;
  306. margin-top: 20upx;
  307. width: 100%;
  308. font-size: 48upx
  309. }
  310. .cu-list.grid>.cu-item .cu-tag {
  311. right: auto;
  312. left: 50%;
  313. margin-left: 20upx
  314. }
  315. .cu-list.grid {
  316. background-color: #ffffff;
  317. text-align: center
  318. }
  319. .cu-list.grid.no-border>.cu-item {
  320. padding-top: 10upx;
  321. padding-bottom: 20upx
  322. }
  323. .cu-list.grid.no-border>.cu-item:after {
  324. border: none
  325. }
  326. .cu-list.grid.no-border {
  327. padding: 20upx 10upx
  328. }
  329. .cu-list.grid.col-3>.cu-item:nth-child(3n):after,
  330. .cu-list.grid.col-4>.cu-item:nth-child(4n):after,
  331. .cu-list.grid.col-5>.cu-item:nth-child(5n):after {
  332. border-right-width: 0
  333. }
  334. .cu-list.card-menu {
  335. overflow: hidden;
  336. margin-right: 30upx;
  337. margin-left: 30upx;
  338. border-radius: 20upx
  339. }
  340. /* ==================
  341. 按钮
  342. ==================== */
  343. .cu-btn {
  344. position: relative;
  345. border: 0upx;
  346. display: inline-flex;
  347. align-items: center;
  348. justify-content: center;
  349. box-sizing: border-box;
  350. padding: 0 30upx;
  351. font-size: 28upx;
  352. height: 64upx;
  353. line-height: 1;
  354. text-align: center;
  355. text-decoration: none;
  356. overflow: visible;
  357. margin-left: initial;
  358. transform: translate(0upx, 0upx);
  359. margin-right: initial;
  360. }
  361. .cu-btn::after {
  362. display: none;
  363. }
  364. .cu-btn:not([class*="bg-"]) {
  365. background-color: #f0f0f0;
  366. }
  367. .cu-btn[class*="line"] {
  368. background-color: transparent;
  369. }
  370. .cu-btn[class*="line"]::after {
  371. content: " ";
  372. display: block;
  373. width: 200%;
  374. height: 200%;
  375. position: absolute;
  376. top: 0;
  377. left: 0;
  378. border: 1upx solid currentColor;
  379. transform: scale(0.5);
  380. transform-origin: 0 0;
  381. box-sizing: border-box;
  382. border-radius: 12upx;
  383. z-index: 1;
  384. pointer-events: none;
  385. }
  386. .cu-btn.round[class*="line"]::after {
  387. border-radius: 1000upx;
  388. }
  389. .cu-btn[class*="lines"]::after {
  390. border: 6upx solid currentColor;
  391. }
  392. .cu-btn[class*="bg-"]::after {
  393. display: none;
  394. }
  395. .cu-btn.sm {
  396. padding: 0 20upx;
  397. font-size: 20upx;
  398. height: 48upx;
  399. }
  400. .cu-btn.lg {
  401. padding: 0 40upx;
  402. font-size: 32upx;
  403. height: 80upx;
  404. }
  405. .cu-btn.cuIcon.sm {
  406. width: 48upx;
  407. height: 48upx;
  408. }
  409. .cu-btn.cuIcon {
  410. width: 64upx;
  411. height: 64upx;
  412. border-radius: 500upx;
  413. padding: 0;
  414. }
  415. button.cuIcon.lg {
  416. width: 80upx;
  417. height: 80upx;
  418. }
  419. .cu-btn.shadow-blur::before {
  420. top: 4upx;
  421. left: 4upx;
  422. filter: blur(6upx);
  423. opacity: 0.6;
  424. }
  425. .cu-btn.button-hover {
  426. transform: translate(1upx, 1upx);
  427. }
  428. .block {
  429. display: block;
  430. }
  431. .cu-btn.block {
  432. display: flex;
  433. }
  434. .cu-btn[disabled] {
  435. opacity: 0.6;
  436. color: #ffffff;
  437. }
  438. /* -- 浮动 -- */
  439. .cf::after,
  440. .cf::before {
  441. content: " ";
  442. display: table;
  443. }
  444. .cf::after {
  445. clear: both;
  446. }
  447. .fl {
  448. float: left;
  449. }
  450. .fr {
  451. float: right;
  452. }
  453. /* ==================
  454. 背景
  455. ==================== */
  456. .line-red::after,
  457. .lines-red::after {
  458. border-color: #e54d42;
  459. }
  460. .line-orange::after,
  461. .lines-orange::after {
  462. border-color: #f37b1d;
  463. }
  464. .line-yellow::after,
  465. .lines-yellow::after {
  466. border-color: #fbbd08;
  467. }
  468. .line-olive::after,
  469. .lines-olive::after {
  470. border-color: #8dc63f;
  471. }
  472. .line-green::after,
  473. .lines-green::after {
  474. border-color: #39b54a;
  475. }
  476. .line-cyan::after,
  477. .lines-cyan::after {
  478. border-color: #1cbbb4;
  479. }
  480. .line-blue::after,
  481. .lines-blue::after {
  482. border-color: #0081ff;
  483. }
  484. .line-purple::after,
  485. .lines-purple::after {
  486. border-color: #6739b6;
  487. }
  488. .line-mauve::after,
  489. .lines-mauve::after {
  490. border-color: #9c26b0;
  491. }
  492. .line-pink::after,
  493. .lines-pink::after {
  494. border-color: #e03997;
  495. }
  496. .line-brown::after,
  497. .lines-brown::after {
  498. border-color: #a5673f;
  499. }
  500. .line-grey::after,
  501. .lines-grey::after {
  502. border-color: #8799a3;
  503. }
  504. .line-gray::after,
  505. .lines-gray::after {
  506. border-color: #aaaaaa;
  507. }
  508. .line-black::after,
  509. .lines-black::after {
  510. border-color: #333333;
  511. }
  512. .line-white::after,
  513. .lines-white::after {
  514. border-color: #ffffff;
  515. }
  516. .bg-red {
  517. background-color: #e54d42;
  518. color: #ffffff;
  519. }
  520. .bg-orange {
  521. background-color: #f37b1d;
  522. color: #ffffff;
  523. }
  524. .bg-yellow {
  525. background-color: #fbbd08;
  526. color: #333333;
  527. }
  528. .bg-olive {
  529. background-color: #8dc63f;
  530. color: #ffffff;
  531. }
  532. .bg-green {
  533. background-color: #39b54a;
  534. color: #ffffff;
  535. }
  536. .bg-cyan {
  537. background-color: #1cbbb4;
  538. color: #ffffff;
  539. }
  540. .bg-blue {
  541. background-color: #0081ff;
  542. color: #ffffff;
  543. }
  544. .bg-purple {
  545. background-color: #6739b6;
  546. color: #ffffff;
  547. }
  548. .bg-mauve {
  549. background-color: #9c26b0;
  550. color: #ffffff;
  551. }
  552. .bg-pink {
  553. background-color: #e03997;
  554. color: #ffffff;
  555. }
  556. .bg-brown {
  557. background-color: #a5673f;
  558. color: #ffffff;
  559. }
  560. .bg-grey {
  561. background-color: #8799a3;
  562. color: #ffffff;
  563. }
  564. .bg-gray {
  565. background-color: #f0f0f0;
  566. color: #333333;
  567. }
  568. .bg-black {
  569. background-color: #333333;
  570. color: #ffffff;
  571. }
  572. .bg-white {
  573. background-color: #ffffff;
  574. color: #666666;
  575. }
  576. .bg-shadeTop {
  577. background-image: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.01));
  578. color: #ffffff;
  579. }
  580. .bg-shadeBottom {
  581. background-image: linear-gradient(rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 1));
  582. color: #ffffff;
  583. }
  584. .bg-red.light {
  585. color: #e54d42;
  586. background-color: #fadbd9;
  587. }
  588. .bg-orange.light {
  589. color: #f37b1d;
  590. background-color: #fde6d2;
  591. }
  592. .bg-yellow.light {
  593. color: #fbbd08;
  594. background-color: #fef2ced2;
  595. }
  596. .bg-olive.light {
  597. color: #8dc63f;
  598. background-color: #e8f4d9;
  599. }
  600. .bg-green.light {
  601. color: #39b54a;
  602. background-color: #d7f0dbff;
  603. }
  604. .bg-cyan.light {
  605. color: #1cbbb4;
  606. background-color: #d2f1f0;
  607. }
  608. .bg-blue.light {
  609. color: #0081ff;
  610. background-color: #cce6ff;
  611. }
  612. .bg-purple.light {
  613. color: #6739b6;
  614. background-color: #e1d7f0;
  615. }
  616. .bg-mauve.light {
  617. color: #9c26b0;
  618. background-color: #ebd4ef;
  619. }
  620. .bg-pink.light {
  621. color: #e03997;
  622. background-color: #f9d7ea;
  623. }
  624. .bg-brown.light {
  625. color: #a5673f;
  626. background-color: #ede1d9;
  627. }
  628. .bg-grey.light {
  629. color: #8799a3;
  630. background-color: #e7ebed;
  631. }
  632. .bg-gradual-red {
  633. background-image: linear-gradient(45deg, #f43f3b, #ec008c);
  634. color: #ffffff;
  635. }
  636. .bg-gradual-orange {
  637. background-image: linear-gradient(45deg, #ff9700, #ed1c24);
  638. color: #ffffff;
  639. }
  640. .bg-gradual-green {
  641. background-image: linear-gradient(45deg, #39b54a, #8dc63f);
  642. color: #ffffff;
  643. }
  644. .bg-gradual-purple {
  645. background-image: linear-gradient(45deg, #9000ff, #5e00ff);
  646. color: #ffffff;
  647. }
  648. .bg-gradual-pink {
  649. background-image: linear-gradient(45deg, #ec008c, #6739b6);
  650. color: #ffffff;
  651. }
  652. .bg-gradual-blue {
  653. background-image: linear-gradient(45deg, #0081ff, #1cbbb4);
  654. color: #ffffff;
  655. }
  656. .shadow[class*="-red"] {
  657. box-shadow: 6upx 6upx 8upx rgba(204, 69, 59, 0.2);
  658. }
  659. .shadow[class*="-orange"] {
  660. box-shadow: 6upx 6upx 8upx rgba(217, 109, 26, 0.2);
  661. }
  662. .shadow[class*="-yellow"] {
  663. box-shadow: 6upx 6upx 8upx rgba(224, 170, 7, 0.2);
  664. }
  665. .shadow[class*="-olive"] {
  666. box-shadow: 6upx 6upx 8upx rgba(124, 173, 55, 0.2);
  667. }
  668. .shadow[class*="-green"] {
  669. box-shadow: 6upx 6upx 8upx rgba(48, 156, 63, 0.2);
  670. }
  671. .shadow[class*="-cyan"] {
  672. box-shadow: 6upx 6upx 8upx rgba(28, 187, 180, 0.2);
  673. }
  674. .shadow[class*="-blue"] {
  675. box-shadow: 6upx 6upx 8upx rgba(0, 102, 204, 0.2);
  676. }
  677. .shadow[class*="-purple"] {
  678. box-shadow: 6upx 6upx 8upx rgba(88, 48, 156, 0.2);
  679. }
  680. .shadow[class*="-mauve"] {
  681. box-shadow: 6upx 6upx 8upx rgba(133, 33, 150, 0.2);
  682. }
  683. .shadow[class*="-pink"] {
  684. box-shadow: 6upx 6upx 8upx rgba(199, 50, 134, 0.2);
  685. }
  686. .shadow[class*="-brown"] {
  687. box-shadow: 6upx 6upx 8upx rgba(140, 88, 53, 0.2);
  688. }
  689. .shadow[class*="-grey"] {
  690. box-shadow: 6upx 6upx 8upx rgba(114, 130, 138, 0.2);
  691. }
  692. .shadow[class*="-gray"] {
  693. box-shadow: 6upx 6upx 8upx rgba(114, 130, 138, 0.2);
  694. }
  695. .shadow[class*="-black"] {
  696. box-shadow: 6upx 6upx 8upx rgba(26, 26, 26, 0.2);
  697. }
  698. .shadow[class*="-white"] {
  699. box-shadow: 6upx 6upx 8upx rgba(26, 26, 26, 0.2);
  700. }
  701. .text-shadow[class*="-red"] {
  702. text-shadow: 6upx 6upx 8upx rgba(204, 69, 59, 0.2);
  703. }
  704. .text-shadow[class*="-orange"] {
  705. text-shadow: 6upx 6upx 8upx rgba(217, 109, 26, 0.2);
  706. }
  707. .text-shadow[class*="-yellow"] {
  708. text-shadow: 6upx 6upx 8upx rgba(224, 170, 7, 0.2);
  709. }
  710. .text-shadow[class*="-olive"] {
  711. text-shadow: 6upx 6upx 8upx rgba(124, 173, 55, 0.2);
  712. }
  713. .text-shadow[class*="-green"] {
  714. text-shadow: 6upx 6upx 8upx rgba(48, 156, 63, 0.2);
  715. }
  716. .text-shadow[class*="-cyan"] {
  717. text-shadow: 6upx 6upx 8upx rgba(28, 187, 180, 0.2);
  718. }
  719. .text-shadow[class*="-blue"] {
  720. text-shadow: 6upx 6upx 8upx rgba(0, 102, 204, 0.2);
  721. }
  722. .text-shadow[class*="-purple"] {
  723. text-shadow: 6upx 6upx 8upx rgba(88, 48, 156, 0.2);
  724. }
  725. .text-shadow[class*="-mauve"] {
  726. text-shadow: 6upx 6upx 8upx rgba(133, 33, 150, 0.2);
  727. }
  728. .text-shadow[class*="-pink"] {
  729. text-shadow: 6upx 6upx 8upx rgba(199, 50, 134, 0.2);
  730. }
  731. .text-shadow[class*="-brown"] {
  732. text-shadow: 6upx 6upx 8upx rgba(140, 88, 53, 0.2);
  733. }
  734. .text-shadow[class*="-grey"] {
  735. text-shadow: 6upx 6upx 8upx rgba(114, 130, 138, 0.2);
  736. }
  737. .text-shadow[class*="-gray"] {
  738. text-shadow: 6upx 6upx 8upx rgba(114, 130, 138, 0.2);
  739. }
  740. .text-shadow[class*="-black"] {
  741. text-shadow: 6upx 6upx 8upx rgba(26, 26, 26, 0.2);
  742. }
  743. .bg-img {
  744. background-size: cover;
  745. background-position: center;
  746. background-repeat: no-repeat;
  747. }
  748. .bg-mask {
  749. background-color: #333333;
  750. position: relative;
  751. }
  752. .bg-mask::after {
  753. content: "";
  754. border-radius: inherit;
  755. width: 100%;
  756. height: 100%;
  757. display: block;
  758. background-color: rgba(0, 0, 0, 0.4);
  759. position: absolute;
  760. left: 0;
  761. right: 0;
  762. bottom: 0;
  763. top: 0;
  764. }
  765. .bg-mask view,
  766. .bg-mask cover-view {
  767. z-index: 5;
  768. position: relative;
  769. }
  770. .bg-video {
  771. position: relative;
  772. }
  773. .bg-video video {
  774. display: block;
  775. height: 100%;
  776. width: 100%;
  777. -o-object-fit: cover;
  778. object-fit: cover;
  779. position: absolute;
  780. top: 0;
  781. z-index: 0;
  782. pointer-events: none;
  783. }
  784. /* ==================
  785. 文本
  786. ==================== */
  787. .text-xs {
  788. font-size: 20upx;
  789. }
  790. .text-sm {
  791. font-size: 24upx;
  792. }
  793. .text-df {
  794. font-size: 28upx;
  795. }
  796. .text-lg {
  797. font-size: 32upx;
  798. }
  799. .text-xl {
  800. font-size: 36upx;
  801. }
  802. .text-xxl {
  803. font-size: 44upx;
  804. }
  805. .text-sl {
  806. font-size: 80upx;
  807. }
  808. .text-xsl {
  809. font-size: 120upx;
  810. }
  811. .text-Abc {
  812. text-transform: Capitalize;
  813. }
  814. .text-ABC {
  815. text-transform: Uppercase;
  816. }
  817. .text-abc {
  818. text-transform: Lowercase;
  819. }
  820. .text-price::before {
  821. content: "¥";
  822. font-size: 80%;
  823. margin-right: 4upx;
  824. }
  825. .text-cut {
  826. text-overflow: ellipsis;
  827. white-space: nowrap;
  828. overflow: hidden;
  829. }
  830. .text-bold {
  831. font-weight: bold;
  832. }
  833. .text-center {
  834. text-align: center;
  835. }
  836. .text-content {
  837. line-height: 1.6;
  838. }
  839. .text-left {
  840. text-align: left;
  841. }
  842. .text-right {
  843. text-align: right;
  844. }
  845. .text-red,
  846. .line-red,
  847. .lines-red {
  848. color: #e54d42;
  849. }
  850. .text-orange,
  851. .line-orange,
  852. .lines-orange {
  853. color: #f37b1d;
  854. }
  855. .text-yellow,
  856. .line-yellow,
  857. .lines-yellow {
  858. color: #fbbd08;
  859. }
  860. .text-olive,
  861. .line-olive,
  862. .lines-olive {
  863. color: #8dc63f;
  864. }
  865. .text-green,
  866. .line-green,
  867. .lines-green {
  868. color: #39b54a;
  869. }
  870. .text-cyan,
  871. .line-cyan,
  872. .lines-cyan {
  873. color: #1cbbb4;
  874. }
  875. .text-blue,
  876. .line-blue,
  877. .lines-blue {
  878. color: #0081ff;
  879. }
  880. .text-purple,
  881. .line-purple,
  882. .lines-purple {
  883. color: #6739b6;
  884. }
  885. .text-mauve,
  886. .line-mauve,
  887. .lines-mauve {
  888. color: #9c26b0;
  889. }
  890. .text-pink,
  891. .line-pink,
  892. .lines-pink {
  893. color: #e03997;
  894. }
  895. .text-brown,
  896. .line-brown,
  897. .lines-brown {
  898. color: #a5673f;
  899. }
  900. .text-grey,
  901. .line-grey,
  902. .lines-grey {
  903. color: #8799a3;
  904. }
  905. .text-gray,
  906. .line-gray,
  907. .lines-gray {
  908. color: #aaaaaa;
  909. }
  910. .text-black,
  911. .line-black,
  912. .lines-black {
  913. color: #333333;
  914. }
  915. .text-white,
  916. .line-white,
  917. .lines-white {
  918. color: #ffffff;
  919. }