main.wxss 47 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056
  1. page {
  2. --theme: #1FE4DC;
  3. /* Color 可以自定义相关配色 */
  4. /* var属性兼容性 --> https://www.caniuse.com/#feat=css-variables */
  5. /* 标准色 */
  6. --red: #e54d42;
  7. --orange: #f37b1d;
  8. --yellow: #fbbd08;
  9. --olive: #8dc63f;
  10. --green: #2DCB73;
  11. --mainbg: #E5FCED;
  12. --cyan: #1FE4DC;
  13. --blue: #31b0d5;
  14. --purple: #6739b6;
  15. --mauve: #9c26b0;
  16. --pink: #e03997;
  17. --brown: #a5673f;
  18. --grey: #8799a3;
  19. --black: #333333;
  20. --darkGray: #666666;
  21. --gray: #A3A4A5;
  22. --ghostWhite: #f1f1f1;
  23. --white: #ffffff;
  24. /* 浅色 */
  25. --redLight: #fadbd9;
  26. --orangeLight: #fde6d2;
  27. --yellowLight: #fef2ce;
  28. --oliveLight: #e8f4d9;
  29. --greenLight: #d7f0db;
  30. --cyanLight: #d2f1f0;
  31. --blueLight: #cce6ff;
  32. --purpleLight: #e1d7f0;
  33. --mauveLight: #ebd4ef;
  34. --pinkLight: #f9d7ea;
  35. --brownLight: #ede1d9;
  36. --greyLight: #e7ebed;
  37. /* 渐变色 */
  38. --gradualRed: linear-gradient(45deg, #f43f3b, #ec008c);
  39. --gradualOrange: linear-gradient(45deg, #ff9700, #ed1c24);
  40. --gradualGreen: linear-gradient(45deg, #39b54a, #8dc63f);
  41. --gradualPurple: linear-gradient(45deg, #9000ff, #5e00ff);
  42. --gradualPink: linear-gradient(45deg, #ec008c, #6739b6);
  43. --gradualBlue: linear-gradient(45deg, #0081ff, #1cbbb4);
  44. /* 阴影透明色 */
  45. --ShadowSize: 6rpx 6rpx 8rpx;
  46. --redShadow: rgba(204, 69, 59, 0.2);
  47. --orangeShadow: rgba(217, 109, 26, 0.2);
  48. --yellowShadow: rgba(224, 170, 7, 0.2);
  49. --oliveShadow: rgba(124, 173, 55, 0.2);
  50. --greenShadow: rgba(48, 156, 63, 0.2);
  51. --cyanShadow: rgba(28, 187, 180, 0.2);
  52. --blueShadow: rgba(0, 102, 204, 0.2);
  53. --purpleShadow: rgba(88, 48, 156, 0.2);
  54. --mauveShadow: rgba(133, 33, 150, 0.2);
  55. --pinkShadow: rgba(199, 50, 134, 0.2);
  56. --brownShadow: rgba(140, 88, 53, 0.2);
  57. --greyShadow: rgba(114, 130, 138, 0.2);
  58. --grayShadow: rgba(114, 130, 138, 0.2);
  59. --blackShadow: rgba(26, 26, 26, 0.2);
  60. /*background-color: var(--ghostWhite);*/
  61. background-color: white;
  62. font-size: 28rpx;
  63. color: var(--black);
  64. font-family: Helvetica Neue, Helvetica, sans-serif;
  65. }
  66. view,
  67. scroll-view,
  68. swiper,
  69. button,
  70. input,
  71. textarea,
  72. label,
  73. navigator,
  74. image {
  75. box-sizing: border-box;
  76. }
  77. .round {
  78. border-radius: 5000rpx;
  79. }
  80. .radius {
  81. border-radius: 6rpx;
  82. }
  83. /* ==================
  84. 图片
  85. ==================== */
  86. image {
  87. max-width: 100%;
  88. display: inline-block;
  89. position: relative;
  90. z-index: 0;
  91. }
  92. image.loading::before {
  93. content: "";
  94. background-color: #f5f5f5;
  95. display: block;
  96. position: absolute;
  97. width: 100%;
  98. height: 100%;
  99. z-index: -2;
  100. }
  101. image.loading::after {
  102. content: "\e7f1";
  103. font-family: "cuIcon";
  104. position: absolute;
  105. top: 0;
  106. left: 0;
  107. width: 32rpx;
  108. height: 32rpx;
  109. line-height: 32rpx;
  110. right: 0;
  111. bottom: 0;
  112. z-index: -1;
  113. font-size: 32rpx;
  114. margin: auto;
  115. color: #ccc;
  116. -webkit-animation: cuIcon-spin 2s infinite linear;
  117. animation: cuIcon-spin 2s infinite linear;
  118. display: block;
  119. }
  120. .facilitesbox{
  121. display: flex;
  122. flex-wrap: wrap;
  123. justify-content: left;
  124. flex-direction: row;
  125. }
  126. .response {
  127. width: 100%;
  128. }
  129. /* ==================
  130. 边框
  131. ==================== */
  132. /* -- 实线 -- */
  133. .solid,
  134. .solid-top,
  135. .solid-right,
  136. .solid-bottom,
  137. .solid-left,
  138. .solids,
  139. .solids-top,
  140. .solids-right,
  141. .solids-bottom,
  142. .solids-left,
  143. .dashed,
  144. .dashed-top,
  145. .dashed-right,
  146. .dashed-bottom,
  147. .dashed-left {
  148. position: relative;
  149. }
  150. .solid::after,
  151. .solid-top::after,
  152. .solid-right::after,
  153. .solid-bottom::after,
  154. .solid-left::after,
  155. .solids::after,
  156. .solids-top::after,
  157. .solids-right::after,
  158. .solids-bottom::after,
  159. .solids-left::after,
  160. .dashed::after,
  161. .dashed-top::after,
  162. .dashed-right::after,
  163. .dashed-bottom::after,
  164. .dashed-left::after {
  165. content: " ";
  166. width: 200%;
  167. height: 200%;
  168. position: absolute;
  169. top: 0;
  170. left: 0;
  171. border-radius: inherit;
  172. transform: scale(0.5);
  173. transform-origin: 0 0;
  174. pointer-events: none;
  175. box-sizing: border-box;
  176. }
  177. .solid::after {
  178. border: 1rpx solid rgba(0, 0, 0, 0.1);
  179. }
  180. .solid-top::after {
  181. border-top: 1rpx solid rgba(0, 0, 0, 0.1);
  182. }
  183. .solid-right::after {
  184. border-right: 1rpx solid rgba(0, 0, 0, 0.1);
  185. }
  186. .solid-bottom::after {
  187. border-bottom: 1rpx solid rgba(0, 0, 0, 0.1);
  188. }
  189. .solid-left::after {
  190. border-left: 1rpx solid rgba(0, 0, 0, 0.1);
  191. }
  192. .solids::after {
  193. border: 8rpx solid #eee;
  194. }
  195. .solids-top::after {
  196. border-top: 8rpx solid #eee;
  197. }
  198. .solids-right::after {
  199. border-right: 8rpx solid #eee;
  200. }
  201. .solids-bottom::after {
  202. border-bottom: 8rpx solid #eee;
  203. }
  204. .solids-left::after {
  205. border-left: 8rpx solid #eee;
  206. }
  207. /* -- 虚线 -- */
  208. .dashed::after {
  209. border: 1rpx dashed #ddd;
  210. }
  211. .dashed-top::after {
  212. border-top: 1rpx dashed #ddd;
  213. }
  214. .dashed-right::after {
  215. border-right: 1rpx dashed #ddd;
  216. }
  217. .dashed-bottom::after {
  218. border-bottom: 1rpx dashed #ddd;
  219. }
  220. .dashed-left::after {
  221. border-left: 1rpx dashed #ddd;
  222. }
  223. /* -- 阴影 -- */
  224. .shadow[class*='white'] {
  225. --ShadowSize: 0 1rpx 6rpx;
  226. }
  227. .shadow-lg {
  228. --ShadowSize: 0rpx 40rpx 100rpx 0rpx;
  229. }
  230. .shadow-warp {
  231. position: relative;
  232. box-shadow: 0 0 10rpx rgba(0, 0, 0, 0.1);
  233. }
  234. .shadow-warp:before,
  235. .shadow-warp:after {
  236. position: absolute;
  237. content: "";
  238. top: 20rpx;
  239. bottom: 30rpx;
  240. left: 20rpx;
  241. width: 50%;
  242. box-shadow: 0 30rpx 20rpx rgba(0, 0, 0, 0.2);
  243. transform: rotate(-3deg);
  244. z-index: -1;
  245. }
  246. .shadow-warp:after {
  247. right: 20rpx;
  248. left: auto;
  249. transform: rotate(3deg);
  250. }
  251. .shadow-blur {
  252. position: relative;
  253. }
  254. .shadow-blur::before {
  255. content: "";
  256. display: block;
  257. background: inherit;
  258. filter: blur(10rpx);
  259. position: absolute;
  260. width: 100%;
  261. height: 100%;
  262. top: 10rpx;
  263. left: 10rpx;
  264. z-index: -1;
  265. opacity: 0.4;
  266. transform-origin: 0 0;
  267. border-radius: inherit;
  268. transform: scale(1, 1);
  269. }
  270. /* ==================
  271. 按钮
  272. ==================== */
  273. .cu-btn {
  274. position: relative;
  275. border: 0rpx;
  276. display: inline-flex;
  277. align-items: center;
  278. justify-content: center;
  279. box-sizing: border-box;
  280. padding: 0 30rpx;
  281. font-size: 28rpx;
  282. height: 64rpx;
  283. line-height: 1;
  284. text-align: center;
  285. text-decoration: none;
  286. overflow: visible;
  287. margin-left: initial;
  288. transform: translate(0rpx, 0rpx);
  289. margin-right: initial;
  290. }
  291. .cu-btn::after {
  292. display: none;
  293. }
  294. .cu-btn[class*="line"] {
  295. background-color: transparent;
  296. }
  297. .cu-btn[class*="line"]::after {
  298. content: " ";
  299. display: block;
  300. width: 200%;
  301. height: 200%;
  302. position: absolute;
  303. top: 0;
  304. left: 0;
  305. border: 1rpx solid currentColor;
  306. transform: scale(0.5);
  307. transform-origin: 0 0;
  308. box-sizing: border-box;
  309. border-radius: 12rpx;
  310. z-index: 1;
  311. pointer-events: none;
  312. }
  313. .cu-btn.round[class*="line"]::after {
  314. border-radius: 1000rpx;
  315. }
  316. .cu-btn[class*="lines"]::after {
  317. border: 6rpx solid currentColor;
  318. }
  319. .cu-btn[class*="bg-"]::after {
  320. display: none;
  321. }
  322. .cu-btn.sm {
  323. padding: 0 20rpx;
  324. font-size: 20rpx;
  325. height: 48rpx;
  326. }
  327. .cu-btn.lg {
  328. padding: 0 40rpx;
  329. font-size: 32rpx;
  330. height: 80rpx;
  331. }
  332. .cu-btn.icon.sm {
  333. width: 48rpx;
  334. height: 48rpx;
  335. }
  336. .cu-btn.icon {
  337. width: 64rpx;
  338. height: 64rpx;
  339. border-radius: 500rpx;
  340. padding: 0;
  341. }
  342. button.icon.lg {
  343. width: 80rpx;
  344. height: 80rpx;
  345. }
  346. .cu-btn.shadow-blur::before {
  347. top: 4rpx;
  348. left: 4rpx;
  349. filter: blur(6rpx);
  350. opacity: 0.6;
  351. }
  352. .cu-btn.button-hover {
  353. transform: translate(1rpx, 1rpx);
  354. }
  355. .block {
  356. display: block;
  357. }
  358. .cu-btn.block {
  359. display: flex;
  360. }
  361. .cu-btn[disabled] {
  362. opacity: 0.6;
  363. color: var(--white);
  364. }
  365. /* ==================
  366. 徽章
  367. ==================== */
  368. .cu-tag {
  369. font-size: 24rpx;
  370. vertical-align: middle;
  371. position: relative;
  372. display: inline-flex;
  373. align-items: center;
  374. justify-content: center;
  375. box-sizing: border-box;
  376. padding: 0rpx 16rpx;
  377. height: 48rpx;
  378. font-family: Helvetica Neue, Helvetica, sans-serif;
  379. white-space: nowrap;
  380. }
  381. .cu-tag[class*="line-"]::after {
  382. content: " ";
  383. width: 200%;
  384. height: 200%;
  385. position: absolute;
  386. top: 0;
  387. left: 0;
  388. border: 1rpx solid currentColor;
  389. transform: scale(0.5);
  390. transform-origin: 0 0;
  391. box-sizing: border-box;
  392. border-radius: inherit;
  393. z-index: 1;
  394. pointer-events: none;
  395. }
  396. .cu-tag.radius[class*="line"]::after {
  397. border-radius: 12rpx;
  398. }
  399. .cu-tag.round[class*="line"]::after {
  400. border-radius: 1000rpx;
  401. }
  402. .cu-tag[class*="line-"]::after {
  403. border-radius: 0;
  404. }
  405. .cu-tag+.cu-tag {
  406. margin-left: 10rpx;
  407. }
  408. .cu-tag.sm {
  409. font-size: 18rpx;
  410. padding: 0rpx 12rpx;
  411. height: 32rpx;
  412. }
  413. .cu-tag.ssm {
  414. font-size: 18rpx;
  415. padding: 10rpx 12rpx;
  416. height: 32rpx;
  417. }
  418. .cu-tag.xs {
  419. font-size: 25rpx;
  420. padding: 0rpx 12rpx;
  421. height: 40rpx;
  422. }
  423. .cu-capsule {
  424. display: inline-flex;
  425. vertical-align: middle;
  426. }
  427. .cu-capsule+.cu-capsule {
  428. margin-left: 10rpx;
  429. }
  430. .cu-capsule .cu-tag {
  431. margin: 0;
  432. }
  433. .cu-capsule .cu-tag[class*="line-"]:last-child::after {
  434. border-left: 0rpx solid transparent;
  435. }
  436. .cu-capsule .cu-tag[class*="line-"]:first-child::after {
  437. border-right: 0rpx solid transparent;
  438. }
  439. .cu-capsule.radius .cu-tag:first-child {
  440. border-top-left-radius: 6rpx;
  441. border-bottom-left-radius: 6rpx;
  442. }
  443. .cu-capsule.radius .cu-tag:last-child::after,
  444. .cu-capsule.radius .cu-tag[class*="line-"] {
  445. border-top-right-radius: 12rpx;
  446. border-bottom-right-radius: 12rpx;
  447. }
  448. .cu-capsule.round .cu-tag:first-child {
  449. border-top-left-radius: 200rpx;
  450. border-bottom-left-radius: 200rpx;
  451. text-indent: 4rpx;
  452. }
  453. .cu-capsule.round .cu-tag:last-child::after,
  454. .cu-capsule.round .cu-tag:last-child {
  455. border-top-right-radius: 200rpx;
  456. border-bottom-right-radius: 200rpx;
  457. text-indent: -4rpx;
  458. }
  459. .cu-tag.badge {
  460. border-radius: 200rpx;
  461. position: absolute;
  462. top: -10rpx;
  463. right: -10rpx;
  464. font-size: 20rpx;
  465. padding: 0rpx 10rpx;
  466. height: 28rpx;
  467. color: var(--white);
  468. }
  469. .cu-tag.badge:not([class*="bg-"]) {
  470. background-color: #dd514c;
  471. }
  472. .cu-tag:empty:not([class*="cuIcon-"]) {
  473. padding: 0rpx;
  474. width: 16rpx;
  475. height: 16rpx;
  476. top: -4rpx;
  477. right: -4rpx;
  478. }
  479. .cu-tag[class*="cuIcon-"] {
  480. width: 32rpx;
  481. height: 32rpx;
  482. top: -4rpx;
  483. right: -4rpx;
  484. }
  485. /* ==================
  486. 头像
  487. ==================== */
  488. .cu-avatar {
  489. font-variant: small-caps;
  490. margin: 0;
  491. padding: 0;
  492. display: inline-flex;
  493. text-align: center;
  494. justify-content: center;
  495. align-items: center;
  496. background-color: #ccc;
  497. color: var(--white);
  498. white-space: nowrap;
  499. position: relative;
  500. width: 64rpx;
  501. height: 64rpx;
  502. background-size: cover;
  503. background-position: center;
  504. vertical-align: middle;
  505. font-size: 1.5em;
  506. }
  507. .cu-avatar.sm {
  508. width: 48rpx;
  509. height: 48rpx;
  510. font-size: 1em;
  511. }
  512. .cu-avatar.lg {
  513. width: 96rpx;
  514. height: 96rpx;
  515. font-size: 2em;
  516. }
  517. .cu-avatar.xl {
  518. width: 128rpx;
  519. height: 128rpx;
  520. font-size: 2.5em;
  521. }
  522. .cu-avatar .avatar-text {
  523. font-size: 0.4em;
  524. }
  525. .cu-avatar-group {
  526. direction: rtl;
  527. unicode-bidi: bidi-override;
  528. padding: 0 10rpx 0 40rpx;
  529. display: inline-block;
  530. }
  531. .cu-avatar-group .cu-avatar {
  532. margin-left: -30rpx;
  533. border: 4rpx solid var(--ghostWhite);
  534. vertical-align: middle;
  535. }
  536. .cu-avatar-group .cu-avatar.sm {
  537. margin-left: -20rpx;
  538. border: 1rpx solid var(--ghostWhite);
  539. }
  540. /* ==================
  541. 列表
  542. ==================== */
  543. .grayscale {
  544. filter: grayscale(1);
  545. }
  546. .cu-list+.cu-list {
  547. margin-top: 30rpx
  548. }
  549. .cu-list>.cu-item {
  550. transition: all .3s ease-in-out 0s;
  551. transform: translateX(0rpx)
  552. }
  553. .cu-list>.cu-item.move-cur {
  554. transform: translateX(-260rpx)
  555. }
  556. .cu-list>.cu-item .move {
  557. position: absolute;
  558. right: 0;
  559. display: flex;
  560. width: 260rpx;
  561. height: 100%;
  562. transform: translateX(100%)
  563. }
  564. .cu-list>.cu-item .move view {
  565. display: flex;
  566. flex: 1;
  567. justify-content: center;
  568. align-items: center
  569. }
  570. .cu-list.menu-avatar {
  571. overflow: hidden;
  572. }
  573. .cu-list.menu-avatar>.cu-item {
  574. position: relative;
  575. display: flex;
  576. padding-right: 10rpx;
  577. height: 140rpx;
  578. background-color: var(--white);
  579. justify-content: flex-end;
  580. align-items: center
  581. }
  582. .cu-list.menu-avatar>.cu-item>.cu-avatar {
  583. position: absolute;
  584. left: 30rpx
  585. }
  586. .cu-list.menu-avatar>.cu-item .flex .text-cut {
  587. max-width: 510rpx
  588. }
  589. .cu-list.menu-avatar>.cu-item .content {
  590. position: absolute;
  591. left: 146rpx;
  592. width: calc(100% - 96rpx - 60rpx - 120rpx - 20rpx);
  593. line-height: 1.6em;
  594. }
  595. .cu-list.menu-avatar>.cu-item .content.flex-sub {
  596. width: calc(100% - 96rpx - 60rpx - 20rpx);
  597. }
  598. .cu-list.menu-avatar>.cu-item .content>view:first-child {
  599. font-size: 30rpx;
  600. display: flex;
  601. align-items: center
  602. }
  603. .cu-list.menu-avatar>.cu-item .content .cu-tag.sm {
  604. display: inline-block;
  605. margin-left: 10rpx;
  606. height: 28rpx;
  607. font-size: 16rpx;
  608. line-height: 32rpx
  609. }
  610. .cu-list.menu-avatar>.cu-item .action {
  611. text-align: center
  612. }
  613. .cu-list.menu-avatar>.cu-item .action view+view {
  614. margin-top: 10rpx
  615. }
  616. .cu-list.menu-avatar.comment>.cu-item .content {
  617. position: relative;
  618. left: 0;
  619. width: auto;
  620. flex: 1;
  621. }
  622. .cu-list.menu-avatar.comment>.cu-item {
  623. padding: 30rpx 30rpx 30rpx 120rpx;
  624. height: auto
  625. }
  626. .cu-list.menu-avatar.comment .cu-avatar {
  627. align-self: flex-start
  628. }
  629. .cu-list.menu>.cu-item {
  630. position: relative;
  631. display: flex;
  632. padding: 0 30rpx;
  633. min-height: 100rpx;
  634. background-color: var(--white);
  635. justify-content: space-between;
  636. align-items: center
  637. }
  638. .cu-list.menu>.cu-item:last-child:after {
  639. border: none
  640. }
  641. .cu-list.menu>.cu-item:after {
  642. position: absolute;
  643. top: 0;
  644. left: 0;
  645. box-sizing: border-box;
  646. width: 200%;
  647. height: 200%;
  648. border-bottom: 1rpx solid #ddd;
  649. border-radius: inherit;
  650. content: " ";
  651. transform: scale(.5);
  652. transform-origin: 0 0;
  653. pointer-events: none
  654. }
  655. .cu-list.menu>.cu-item.grayscale {
  656. background-color: #f5f5f5
  657. }
  658. .cu-list.menu>.cu-item.cur {
  659. background-color: #fcf7e9
  660. }
  661. .cu-list.menu>.cu-item.arrow {
  662. padding-right: 90rpx
  663. }
  664. .cu-list.menu>.cu-item.arrow:before {
  665. position: absolute;
  666. top: 0;
  667. right: 30rpx;
  668. bottom: 0;
  669. display: block;
  670. margin: auto;
  671. width: 30rpx;
  672. height: 30rpx;
  673. color: var(--grey);
  674. content: "\e6a3";
  675. text-align: center;
  676. font-size: 25rpx;
  677. font-family: "cuIcon";
  678. line-height: 30rpx
  679. }
  680. .cu-list.menu>.cu-item button.content {
  681. padding: 0;
  682. background-color: transparent;
  683. justify-content: flex-start
  684. }
  685. .cu-list.menu>.cu-item button.content:after {
  686. display: none
  687. }
  688. .cu-list.menu>.cu-item .cu-avatar-group .cu-avatar {
  689. border-color: var(--white)
  690. }
  691. .cu-list.menu>.cu-item .content>view:first-child {
  692. display: flex;
  693. align-items: center
  694. }
  695. .cu-list.menu>.cu-item .content>text[class*=cuIcon] {
  696. display: inline-block;
  697. margin-right: 10rpx;
  698. width: 1.6em;
  699. text-align: center
  700. }
  701. .cu-list.menu>.cu-item .content>image {
  702. display: inline-block;
  703. margin-right: 10rpx;
  704. width: 1.6em;
  705. height: 1.6em;
  706. vertical-align: middle
  707. }
  708. .cu-list.menu>.cu-item .content {
  709. font-size: 30rpx;
  710. line-height: 1.6em;
  711. flex: 1
  712. }
  713. .cu-list.menu>.cu-item .content .cu-tag.sm {
  714. display: inline-block;
  715. margin-left: 10rpx;
  716. height: 28rpx;
  717. font-size: 16rpx;
  718. line-height: 32rpx
  719. }
  720. .cu-list.menu>.cu-item .action .cu-tag:empty {
  721. right: 10rpx
  722. }
  723. .cu-list.menu {
  724. display: block;
  725. overflow: hidden
  726. }
  727. .cu-list.menu.sm-border>.cu-item:after {
  728. left: 30rpx;
  729. width: calc(200% - 120rpx)
  730. }
  731. .cu-list.grid>.cu-item {
  732. position: relative;
  733. display: flex;
  734. padding: 20rpx 0 30rpx;
  735. transition-duration: 0s;
  736. flex-direction: column;
  737. text-align: center;
  738. }
  739. .cu-list.grid>.cu-item:after {
  740. position: absolute;
  741. top: 0;
  742. left: 0;
  743. box-sizing: border-box;
  744. width: 200%;
  745. height: 200%;
  746. border-right: 1px solid rgba(0, 0, 0, .1);
  747. border-bottom: 1px solid rgba(0, 0, 0, .1);
  748. border-radius: inherit;
  749. content: " ";
  750. transform: scale(.5);
  751. transform-origin: 0 0;
  752. pointer-events: none
  753. }
  754. .cu-list.grid>.cu-item text {
  755. display: block;
  756. margin-top: 10rpx;
  757. line-height: 40rpx
  758. }
  759. .cu-list.grid>.cu-item [class*=cuIcon] {
  760. position: relative;
  761. display: block;
  762. margin-top: 20rpx;
  763. width: 100%;
  764. font-size: 48rpx
  765. }
  766. .cu-list.grid>.cu-item .cu-tag {
  767. right: auto;
  768. left: 50%;
  769. margin-left: 20rpx
  770. }
  771. .cu-list.grid {
  772. background-color: var(--white);
  773. /*text-align: center*/
  774. }
  775. .cu-list.grid.no-border>.cu-item {
  776. padding-top: 10rpx;
  777. padding-bottom: 20rpx
  778. }
  779. .cu-list.grid.no-border>.cu-item:after {
  780. border: none
  781. }
  782. .cu-list.grid.no-border {
  783. padding: 20rpx 10rpx
  784. }
  785. .cu-list.grid.col-3>.cu-item:nth-child(3n):after,
  786. .cu-list.grid.col-4>.cu-item:nth-child(4n):after,
  787. .cu-list.grid.col-5>.cu-item:nth-child(5n):after {
  788. border-right-width: 0
  789. }
  790. .cu-list.card-menu {
  791. overflow: hidden;
  792. margin-right: 30rpx;
  793. margin-left: 30rpx;
  794. border-radius: 20rpx
  795. }
  796. /* ==================
  797. 操作条
  798. ==================== */
  799. .cu-bar {
  800. display: flex;
  801. position: relative;
  802. align-items: center;
  803. min-height: 100rpx;
  804. justify-content: space-between;
  805. }
  806. .cu-bar .action {
  807. display: flex;
  808. align-items: center;
  809. height: 100%;
  810. justify-content: center;
  811. max-width: 100%;
  812. }
  813. .cu-bar .action.border-title {
  814. position: relative;
  815. top: -10rpx;
  816. }
  817. .cu-bar .action.border-title text[class*="bg-"]:last-child {
  818. position: absolute;
  819. bottom: -0.5rem;
  820. min-width: 2rem;
  821. height: 6rpx;
  822. left: 0;
  823. }
  824. .cu-bar .action.sub-title {
  825. position: relative;
  826. top: -0.2rem;
  827. }
  828. .cu-bar .action.sub-title text {
  829. position: relative;
  830. z-index: 1;
  831. }
  832. .cu-bar .action.sub-title text[class*="bg-"]:last-child {
  833. position: absolute;
  834. display: inline-block;
  835. bottom: -0.2rem;
  836. border-radius: 6rpx;
  837. width: 100%;
  838. height: 0.6rem;
  839. left: 0.6rem;
  840. opacity: 0.3;
  841. z-index: 0;
  842. }
  843. .cu-bar .action.sub-title text[class*="text-"]:last-child {
  844. position: absolute;
  845. display: inline-block;
  846. bottom: -0.7rem;
  847. left: 0.5rem;
  848. opacity: 0.2;
  849. z-index: 0;
  850. text-align: right;
  851. font-weight: 900;
  852. font-size: 36rpx;
  853. }
  854. .cu-bar.justify-center .action.border-title text:last-child,
  855. .cu-bar.justify-center .action.sub-title text:last-child {
  856. left: 0;
  857. right: 0;
  858. margin: auto;
  859. text-align: center;
  860. }
  861. .cu-bar .action:first-child {
  862. margin-left: 30rpx;
  863. font-size: 30rpx;
  864. }
  865. .cu-bar .action text.text-cut {
  866. text-align: left;
  867. width: 100%;
  868. }
  869. .cu-bar .cu-avatar:first-child {
  870. margin-left: 20rpx;
  871. }
  872. .cu-bar .action:first-child>text[class*="cuIcon-"] {
  873. margin-left: -0.3em;
  874. margin-right: 0.3em;
  875. }
  876. .cu-bar .action:last-child {
  877. margin-right: 30rpx;
  878. }
  879. .cu-bar .action>text[class*="cuIcon-"],
  880. .cu-bar .action>view[class*="cuIcon-"] {
  881. font-size: 36rpx;
  882. }
  883. .cu-bar .action>text[class*="cuIcon-"]+text[class*="cuIcon-"] {
  884. margin-left: 0.5em;
  885. }
  886. .cu-bar .content {
  887. position: absolute;
  888. text-align: center;
  889. width: calc(100% - 340rpx);
  890. left: 0;
  891. right: 0;
  892. bottom: 0;
  893. top: 0;
  894. margin: auto;
  895. height: 60rpx;
  896. font-size: 32rpx;
  897. line-height: 60rpx;
  898. cursor: none;
  899. pointer-events: none;
  900. text-overflow: ellipsis;
  901. white-space: nowrap;
  902. overflow: hidden;
  903. }
  904. .cu-bar.ios .content {
  905. bottom: 7px;
  906. height: 30px;
  907. font-size: 32rpx;
  908. line-height: 30px;
  909. }
  910. .cu-bar.btn-group {
  911. justify-content: space-around;
  912. }
  913. .cu-bar.btn-group button {
  914. padding: 20rpx 32rpx;
  915. }
  916. .cu-bar.btn-group button {
  917. flex: 1;
  918. margin: 0 20rpx;
  919. max-width: 50%;
  920. }
  921. .cu-bar .search-form {
  922. background-color: #FBFAFA;
  923. line-height: 80rpx;
  924. height: 80rpx;
  925. font-size: 30rpx;
  926. color: var(--black);
  927. flex: 1;
  928. display: flex;
  929. align-items: center;
  930. margin: 0 30rpx;
  931. }
  932. .cu-bar .search-form+.action {
  933. margin-right: 30rpx;
  934. }
  935. .cu-bar .search-form input {
  936. flex: 1;
  937. padding-right: 30rpx;
  938. height: 64rpx;
  939. line-height: 64rpx;
  940. font-size: 22rpx;
  941. background-color: transparent;
  942. }
  943. .cu-bar .search-form [class*="cuIcon-"] {
  944. margin: 0 0.5em 0 0.8em;
  945. }
  946. .cu-bar .search-form [class*="cuIcon-"]::before {
  947. top: 0rpx;
  948. }
  949. .cu-bar.fixed,
  950. .nav.fixed {
  951. position: fixed;
  952. width: 100%;
  953. top: 0;
  954. z-index: 1024;
  955. box-shadow: 0 1rpx 6rpx rgba(0, 0, 0, 0.1);
  956. }
  957. .cu-bar.foot {
  958. position: fixed;
  959. background: #ffffff;
  960. width: 100%;
  961. bottom: 0;
  962. z-index: 1024;
  963. box-shadow: 0 -1rpx 6rpx rgba(0, 0, 0, 0.1);
  964. }
  965. .footer-item{
  966. display: flex;
  967. flex-direction: column;
  968. }
  969. .cu-bar.tabbar {
  970. padding: 0;
  971. height: calc(100rpx + env(safe-area-inset-bottom) / 2);
  972. padding-bottom: calc(env(safe-area-inset-bottom) / 2);
  973. }
  974. .cu-bar.footer {
  975. padding: 0;
  976. left: 0;
  977. right: 0;
  978. z-index: 99sss;
  979. position: fixed;
  980. width: 100%;
  981. bottom: 0;
  982. height: calc(100rpx + env(safe-area-inset-bottom) / 2);
  983. padding-bottom: calc(env(safe-area-inset-bottom) / 2);
  984. }
  985. .cu-tabbar-height {
  986. min-height: 100rpx;
  987. height: calc(100rpx + env(safe-area-inset-bottom) / 2);
  988. }
  989. .cu-bar.footer.shadow {
  990. box-shadow: 0 -1rpx 6rpx rgba(0, 0, 0, 0.1);
  991. }
  992. .cu-bar.footer .action {
  993. font-size: 19rpx;
  994. position: relative;
  995. flex: 1;
  996. text-align: center;
  997. display: block;
  998. height: auto;
  999. line-height: 1;
  1000. margin: 30rpx 0;
  1001. overflow: initial;
  1002. color: #b2afb0;
  1003. }
  1004. .cu-bar.footer.shop .action {
  1005. width: 140rpx;
  1006. flex: initial;
  1007. }
  1008. .cu-bar.footer .action.add-action {
  1009. position: relative;
  1010. z-index: 2;
  1011. padding-top: 50rpx;
  1012. background-color: inherit;
  1013. }
  1014. .cu-bar.footer .action.add-action [class*="cuIcon-"] {
  1015. position: absolute;
  1016. width: 70rpx;
  1017. z-index: 2;
  1018. height: 70rpx;
  1019. border-radius: 50%;
  1020. line-height: 70rpx;
  1021. font-size: 50rpx;
  1022. top: -35rpx;
  1023. left: 0;
  1024. right: 0;
  1025. margin: auto;
  1026. padding: 0;
  1027. }
  1028. .cu-bar.footer .action.add-action::after {
  1029. content: "";
  1030. position: absolute;
  1031. width: 100rpx;
  1032. height: 100rpx;
  1033. top: -50rpx;
  1034. left: 0;
  1035. right: 0;
  1036. margin: auto;
  1037. box-shadow: 0 -3rpx 8rpx rgba(0, 0, 0, 0.08);
  1038. border-radius: 50rpx;
  1039. background-color: inherit;
  1040. z-index: 0;
  1041. }
  1042. .cu-bar.footer .action.add-action::before {
  1043. content: "";
  1044. position: absolute;
  1045. width: 100rpx;
  1046. height: 30rpx;
  1047. bottom: 30rpx;
  1048. left: 0;
  1049. right: 0;
  1050. margin: auto;
  1051. background-color: inherit;
  1052. z-index: 1;
  1053. }
  1054. .cu-bar.footer .btn-group {
  1055. flex: 1;
  1056. display: flex;
  1057. justify-content: space-around;
  1058. align-items: center;
  1059. padding: 0 10rpx;
  1060. }
  1061. .cu-bar.footer button.action::after {
  1062. border: 0;
  1063. }
  1064. .cu-bar.footer .action [class*="cuIcon-"] {
  1065. width: 100rpx;
  1066. position: relative;
  1067. display: block;
  1068. height: auto;
  1069. margin: 0 auto 10rpx;
  1070. text-align: center;
  1071. font-size: 40rpx;
  1072. }
  1073. .cu-bar.footer .action .cuIcon-cu-image {
  1074. margin: 0 auto;
  1075. }
  1076. .cu-bar.footer .action .cuIcon-cu-image image {
  1077. width: 50rpx;
  1078. height: 50rpx;
  1079. display: inline-block;
  1080. }
  1081. .cu-bar.footer .submit {
  1082. align-items: center;
  1083. display: flex;
  1084. justify-content: center;
  1085. text-align: center;
  1086. position: relative;
  1087. flex: 2;
  1088. align-self: stretch;
  1089. }
  1090. .cu-bar.footer .submit:last-child {
  1091. flex: 2.6;
  1092. }
  1093. .cu-bar.tabbar .submit+.submit {
  1094. flex: 2;
  1095. }
  1096. .cu-bar.footer.border .action::before {
  1097. content: " ";
  1098. width: 200%;
  1099. height: 200%;
  1100. position: absolute;
  1101. top: 0;
  1102. left: 0;
  1103. transform: scale(0.5);
  1104. transform-origin: 0 0;
  1105. border-right: 1rpx solid rgba(0, 0, 0, 0.1);
  1106. z-index: 3;
  1107. }
  1108. .cu-bar.footer.border .action:last-child:before {
  1109. display: none;
  1110. }
  1111. .cu-bar.input {
  1112. padding-right: 20rpx;
  1113. background-color: var(--white);
  1114. }
  1115. .cu-bar.input input {
  1116. overflow: initial;
  1117. line-height: 64rpx;
  1118. height: 64rpx;
  1119. min-height: 64rpx;
  1120. flex: 1;
  1121. font-size: 30rpx;
  1122. margin: 0 20rpx;
  1123. }
  1124. .cu-bar.input .action {
  1125. margin-left: 20rpx;
  1126. }
  1127. .cu-bar.input .action [class*="cuIcon-"] {
  1128. font-size: 48rpx;
  1129. }
  1130. .cu-bar.input input+.action {
  1131. margin-right: 20rpx;
  1132. margin-left: 0rpx;
  1133. }
  1134. .cu-bar.input .action:first-child [class*="cuIcon-"] {
  1135. margin-left: 0rpx;
  1136. }
  1137. /* ==================
  1138. 导航栏
  1139. ==================== */
  1140. .nav {
  1141. white-space: nowrap;
  1142. }
  1143. ::-webkit-scrollbar {
  1144. width: 0;
  1145. height: 0;
  1146. color: transparent;
  1147. }
  1148. .nav .cu-item {
  1149. height: 90rpx;
  1150. display: inline-block;
  1151. line-height: 90rpx;
  1152. margin: 0 10rpx;
  1153. padding: 0 20rpx;
  1154. }
  1155. .nav .cu-item.cur {
  1156. border-bottom: 4rpx solid;
  1157. }
  1158. /* ==================
  1159. 聊天
  1160. ==================== */
  1161. .cu-chat {
  1162. display: flex;
  1163. flex-direction: column;
  1164. padding-bottom: 50rpx
  1165. }
  1166. .cu-chat .cu-item {
  1167. display: flex;
  1168. padding: 30rpx 30rpx 70rpx;
  1169. position: relative;
  1170. }
  1171. .cu-chat .cu-item>.cu-avatar {
  1172. width: 80rpx;
  1173. height: 80rpx;
  1174. }
  1175. .cu-chat .cu-item>.main {
  1176. max-width: calc(100% - 260rpx);
  1177. margin: 0 40rpx;
  1178. display: flex;
  1179. align-items: center;
  1180. }
  1181. .cu-chat .cu-item>image {
  1182. height: 320rpx;
  1183. }
  1184. .cu-chat .cu-item>.main .content {
  1185. padding: 20rpx;
  1186. border-radius: 10rpx;
  1187. display: inline-flex;
  1188. max-width: 100%;
  1189. align-items: center;
  1190. font-size: 30rpx;
  1191. position: relative;
  1192. min-height: 80rpx;
  1193. line-height: 40rpx;
  1194. text-align: left;
  1195. }
  1196. .cu-chat .cu-item>.main .content:not([class*="bg-"]) {
  1197. background-color: var(--white);
  1198. color: var(--black);
  1199. }
  1200. .cu-chat .cu-item .date {
  1201. position: absolute;
  1202. font-size: 24rpx;
  1203. color: var(--grey);
  1204. width: calc(100% - 320rpx);
  1205. bottom: 20rpx;
  1206. left: 160rpx;
  1207. }
  1208. .cu-chat .cu-item .action {
  1209. padding: 0 30rpx;
  1210. display: flex;
  1211. align-items: center;
  1212. }
  1213. .cu-chat .cu-item>.main .content::after {
  1214. content: "";
  1215. top: 27rpx;
  1216. transform: rotate(45deg);
  1217. position: absolute;
  1218. z-index: 100;
  1219. display: inline-block;
  1220. overflow: hidden;
  1221. width: 24rpx;
  1222. height: 24rpx;
  1223. left: -12rpx;
  1224. right: initial;
  1225. background-color: inherit;
  1226. }
  1227. .cu-chat .cu-item.self>.main .content::after {
  1228. left: auto;
  1229. right: -12rpx;
  1230. }
  1231. .cu-chat .cu-item>.main .content::before {
  1232. content: "";
  1233. top: 30rpx;
  1234. transform: rotate(45deg);
  1235. position: absolute;
  1236. z-index: -1;
  1237. display: inline-block;
  1238. overflow: hidden;
  1239. width: 24rpx;
  1240. height: 24rpx;
  1241. left: -12rpx;
  1242. right: initial;
  1243. background-color: inherit;
  1244. filter: blur(5rpx);
  1245. opacity: 0.3;
  1246. }
  1247. .cu-chat .cu-item>.main .content:not([class*="bg-"])::before {
  1248. background-color: var(--black);
  1249. opacity: 0.1;
  1250. }
  1251. .cu-chat .cu-item.self>.main .content::before {
  1252. left: auto;
  1253. right: -12rpx;
  1254. }
  1255. .cu-chat .cu-item.self {
  1256. justify-content: flex-end;
  1257. text-align: right;
  1258. }
  1259. .cu-chat .cu-info {
  1260. display: inline-block;
  1261. margin: 20rpx auto;
  1262. font-size: 24rpx;
  1263. padding: 8rpx 50rpx;
  1264. background-color: rgba(0, 0, 0, 0.2);
  1265. border-radius: 6rpx;
  1266. color: var(--white);
  1267. max-width: 400rpx;
  1268. line-height: 1.4;
  1269. }
  1270. /* ==================
  1271. 表单
  1272. ==================== */
  1273. .cu-form-group {
  1274. background-color: var(--white);
  1275. padding: 1rpx 20rpx;
  1276. display: flex;
  1277. align-items: center;
  1278. min-height: 100rpx;
  1279. justify-content: space-between;
  1280. }
  1281. .cu-form-group+.cu-form-group {
  1282. border-bottom: 1rpx solid #eee;
  1283. }
  1284. .cu-form-group .title {
  1285. text-align: justify;
  1286. padding-right: 30rpx;
  1287. font-size: 25rpx;
  1288. position: relative;
  1289. /* height: 60rpx; */
  1290. line-height: 60rpx;
  1291. color: #ced6e0;
  1292. }
  1293. .cu-form-group input {
  1294. flex: 1;
  1295. font-size: 30rpx;
  1296. color: #555;
  1297. padding-right: 20rpx;
  1298. }
  1299. .cu-form-group>text[class*="cuIcon-"] {
  1300. font-size: 36rpx;
  1301. padding: 0;
  1302. box-sizing: border-box;
  1303. }
  1304. .cu-form-group textarea {
  1305. margin: 32rpx 0 30rpx;
  1306. height: 4.6em;
  1307. width: 100%;
  1308. line-height: 1.2em;
  1309. flex: 1;
  1310. font-size: 28rpx;
  1311. padding: 0;
  1312. }
  1313. .cu-form-group.align-start .title {
  1314. height: 1em;
  1315. margin-top: 32rpx;
  1316. line-height: 1em;
  1317. }
  1318. .cu-form-group picker {
  1319. flex: 1;
  1320. padding-right: 40rpx;
  1321. overflow: hidden;
  1322. position: relative;
  1323. }
  1324. .cu-form-group picker .picker {
  1325. line-height: 100rpx;
  1326. font-size: 28rpx;
  1327. text-overflow: ellipsis;
  1328. white-space: nowrap;
  1329. overflow: hidden;
  1330. width: 100%;
  1331. text-align: right;
  1332. }
  1333. .cu-form-group picker::after {
  1334. font-family: "cuIcon";
  1335. display: block;
  1336. content: "\e6a3";
  1337. position: absolute;
  1338. font-size: 34rpx;
  1339. color: var(--grey);
  1340. line-height: 100rpx;
  1341. width: 60rpx;
  1342. text-align: center;
  1343. top: 0;
  1344. bottom: 0;
  1345. right: -20rpx;
  1346. margin: auto;
  1347. }
  1348. .cu-form-group textarea[disabled],
  1349. .cu-form-group textarea[disabled] .placeholder {
  1350. color: transparent;
  1351. }
  1352. /* ==================
  1353. 模态窗口
  1354. ==================== */
  1355. .cu-modal {
  1356. position: fixed;
  1357. top: 0;
  1358. right: 0;
  1359. bottom: 0;
  1360. left: 0;
  1361. z-index: 1110;
  1362. opacity: 0;
  1363. outline: 0;
  1364. text-align: center;
  1365. -ms-transform: scale(1.185);
  1366. transform: scale(1.185);
  1367. backface-visibility: hidden;
  1368. perspective: 2000rpx;
  1369. background: rgba(0, 0, 0, 0.6);
  1370. transition: all 0.3s ease-in-out 0s;
  1371. pointer-events: none;
  1372. }
  1373. .cu-modal::before {
  1374. content: "\200B";
  1375. display: inline-block;
  1376. height: 100%;
  1377. vertical-align: middle;
  1378. }
  1379. .cu-modal.show {
  1380. opacity: 1;
  1381. transition-duration: 0.3s;
  1382. -ms-transform: scale(1);
  1383. transform: scale(1);
  1384. overflow-x: hidden;
  1385. overflow-y: auto;
  1386. pointer-events: auto;
  1387. }
  1388. .cu-dialog {
  1389. position: relative;
  1390. display: inline-block;
  1391. vertical-align: middle;
  1392. margin-left: auto;
  1393. margin-right: auto;
  1394. width: 680rpx;
  1395. max-width: 100%;
  1396. background-color: #f8f8f8;
  1397. border-radius: 10rpx;
  1398. overflow: hidden;
  1399. }
  1400. .cu-modal.bottom-modal::before {
  1401. vertical-align: bottom;
  1402. }
  1403. .cu-modal.bottom-modal .cu-dialog {
  1404. width: 100%;
  1405. border-radius: 0;
  1406. }
  1407. .cu-modal.bottom-modal {
  1408. margin-bottom: -1000rpx;
  1409. }
  1410. .cu-modal.bottom-modal.show {
  1411. margin-bottom: 0;
  1412. }
  1413. .cu-modal.drawer-modal {
  1414. transform: scale(1);
  1415. display: flex;
  1416. }
  1417. .cu-modal.drawer-modal .cu-dialog {
  1418. height: 100%;
  1419. min-width: 200rpx;
  1420. border-radius: 0;
  1421. margin: initial;
  1422. transition-duration: 0.3s;
  1423. }
  1424. .cu-modal.drawer-modal.justify-start .cu-dialog {
  1425. transform: translateX(-100%);
  1426. }
  1427. .cu-modal.drawer-modal.justify-end .cu-dialog {
  1428. transform: translateX(100%);
  1429. }
  1430. .cu-modal.drawer-modal.show .cu-dialog {
  1431. transform: translateX(0%);
  1432. }
  1433. .cu-modal .cu-dialog>.cu-bar:first-child .action{
  1434. min-width: 100rpx;
  1435. margin-right: 0;
  1436. min-height: 100rpx;
  1437. }
  1438. /* ==================
  1439. 轮播
  1440. ==================== */
  1441. swiper .a-swiper-dot {
  1442. display: inline-block;
  1443. width: 16rpx;
  1444. height: 16rpx;
  1445. background: rgba(0, 0, 0, .3);
  1446. border-radius: 50%;
  1447. vertical-align: middle;
  1448. }
  1449. swiper[class*="-dot"] .wx-swiper-dots {
  1450. display: flex;
  1451. align-items: center;
  1452. width: 100%;
  1453. justify-content: center;
  1454. }
  1455. swiper.square-dot .wx-swiper-dot {
  1456. background-color:#ffffff;
  1457. opacity: 0.4;
  1458. width: 10rpx;
  1459. height: 10rpx;
  1460. border-radius: 20rpx;
  1461. margin: 10rpx 8rpx !important;
  1462. }
  1463. swiper.square-dot .wx-swiper-dot.wx-swiper-dot-active {
  1464. opacity: 1;
  1465. width: 30rpx;
  1466. }
  1467. swiper.round-dot .wx-swiper-dot {
  1468. width: 10rpx;
  1469. height: 10rpx;
  1470. position: relative;
  1471. margin: 10rpx 8rpx !important;
  1472. }
  1473. swiper.round-dot .wx-swiper-dot.wx-swiper-dot-active::after {
  1474. content: "";
  1475. position: absolute;
  1476. width: 10rpx;
  1477. height: 10rpx;
  1478. top: 0rpx;
  1479. left: 0rpx;
  1480. right: 0;
  1481. bottom: 0;
  1482. margin: auto;
  1483. border-radius: 20rpx;
  1484. }
  1485. swiper.round-dot .wx-swiper-dot.wx-swiper-dot-active {
  1486. width: 18rpx;
  1487. height: 18rpx;
  1488. }
  1489. .border-bottom{
  1490. border-bottom: 1px solid #f1f2f6;
  1491. }
  1492. .card-swiper {
  1493. height: 420rpx;
  1494. }
  1495. .card-swiper swiper-item {
  1496. width: 100%;
  1497. /*left: 70rpx;*/
  1498. box-sizing: border-box;
  1499. height: 600rpx;
  1500. overflow: initial;
  1501. padding:0 40rpx;
  1502. }
  1503. .card-swiper swiper-item .swiper-item {
  1504. width: 100%;
  1505. display: block;
  1506. height: 250rpx;
  1507. border-radius: 10rpx;
  1508. transform: scale(0.9);
  1509. transition: all 0.2s ease-in 0s;
  1510. overflow: hidden;
  1511. }
  1512. .card-swiper swiper-item.cur .swiper-item {
  1513. transform: none;
  1514. transition: all 0.2s ease-in 0s;
  1515. }
  1516. .tower-swiper {
  1517. height: 420rpx;
  1518. position: relative;
  1519. max-width: 750rpx;
  1520. overflow: hidden;
  1521. }
  1522. .tower-swiper .tower-item {
  1523. position: absolute;
  1524. width: 300rpx;
  1525. height: 380rpx;
  1526. top: 0;
  1527. bottom: 0;
  1528. left: 50%;
  1529. margin: auto;
  1530. transition: all 0.2s ease-in 0s;
  1531. opacity: 1;
  1532. }
  1533. .tower-swiper .tower-item.none {
  1534. opacity: 0;
  1535. }
  1536. .tower-swiper .tower-item .swiper-item {
  1537. width: 100%;
  1538. height: 100%;
  1539. border-radius: 6rpx;
  1540. overflow: hidden;
  1541. }
  1542. /* ==================
  1543. 步骤条
  1544. ==================== */
  1545. .cu-steps {
  1546. display: flex;
  1547. }
  1548. scroll-view.cu-steps {
  1549. display: block;
  1550. white-space: nowrap;
  1551. }
  1552. scroll-view.cu-steps .cu-item {
  1553. display: inline-block;
  1554. }
  1555. .cu-steps .cu-item {
  1556. flex: 1;
  1557. text-align: center;
  1558. position: relative;
  1559. min-width: 100rpx;
  1560. }
  1561. .cu-steps .cu-item:not([class*="text-"]) {
  1562. color: var(--grey);
  1563. }
  1564. .cu-steps .cu-item [class*="cuIcon-"],
  1565. .cu-steps .cu-item .num {
  1566. display: block;
  1567. font-size: 40rpx;
  1568. line-height: 80rpx;
  1569. }
  1570. .cu-steps .cu-item::before,
  1571. .cu-steps .cu-item::after,
  1572. .cu-steps.steps-arrow .cu-item::before,
  1573. .cu-steps.steps-arrow .cu-item::after {
  1574. content: "";
  1575. display: block;
  1576. position: absolute;
  1577. height: 0px;
  1578. width: calc(100% - 80rpx);
  1579. border-bottom: 1px solid #ccc;
  1580. left: calc(0px - (100% - 80rpx) / 2);
  1581. top: 40rpx;
  1582. z-index: 0;
  1583. }
  1584. .cu-steps.steps-arrow .cu-item::before,
  1585. .cu-steps.steps-arrow .cu-item::after {
  1586. content: "\e6a3";
  1587. font-family: "cuIcon";
  1588. height: 30rpx;
  1589. border-bottom-width: 0px;
  1590. line-height: 30rpx;
  1591. top: 0;
  1592. bottom: 0;
  1593. margin: auto;
  1594. color: #ccc;
  1595. }
  1596. .cu-steps.steps-bottom .cu-item::before,
  1597. .cu-steps.steps-bottom .cu-item::after {
  1598. bottom: 40rpx;
  1599. top: initial;
  1600. }
  1601. .cu-steps .cu-item::after {
  1602. border-bottom: 1px solid currentColor;
  1603. width: 0px;
  1604. transition: all 0.3s ease-in-out 0s;
  1605. }
  1606. .cu-steps .cu-item[class*="text-"]::after {
  1607. width: calc(100% - 80rpx);
  1608. color: currentColor;
  1609. }
  1610. .cu-steps .cu-item:first-child::before,
  1611. .cu-steps .cu-item:first-child::after {
  1612. display: none;
  1613. }
  1614. .cu-steps .cu-item .num {
  1615. width: 40rpx;
  1616. height: 40rpx;
  1617. border-radius: 50%;
  1618. line-height: 40rpx;
  1619. margin: 20rpx auto;
  1620. font-size: 24rpx;
  1621. border: 1px solid currentColor;
  1622. position: relative;
  1623. overflow: hidden;
  1624. }
  1625. .cu-steps .cu-item[class*="text-"] .num {
  1626. background-color: currentColor;
  1627. }
  1628. .cu-steps .cu-item .num::before,
  1629. .cu-steps .cu-item .num::after {
  1630. content: attr(data-index);
  1631. position: absolute;
  1632. left: 0;
  1633. right: 0;
  1634. top: 0;
  1635. bottom: 0;
  1636. margin: auto;
  1637. transition: all 0.3s ease-in-out 0s;
  1638. transform: translateY(0rpx);
  1639. }
  1640. .cu-steps .cu-item[class*="text-"] .num::before {
  1641. transform: translateY(-40rpx);
  1642. color: var(--white);
  1643. }
  1644. .cu-steps .cu-item .num::after {
  1645. transform: translateY(40rpx);
  1646. color: var(--white);
  1647. transition: all 0.3s ease-in-out 0s;
  1648. }
  1649. .cu-steps .cu-item[class*="text-"] .num::after {
  1650. content: "\e645";
  1651. font-family: "cuIcon";
  1652. color: var(--white);
  1653. transform: translateY(0rpx);
  1654. }
  1655. .cu-steps .cu-item[class*="text-"] .num.err::after {
  1656. content: "\e646";
  1657. }
  1658. /* ==================
  1659. 布局
  1660. ==================== */
  1661. /* -- flex弹性布局 -- */
  1662. .flex {
  1663. display: flex;
  1664. }
  1665. .basis-xs {
  1666. flex-basis: 20%;
  1667. }
  1668. .basis-sm {
  1669. flex-basis: 40%;
  1670. }
  1671. .basis-df {
  1672. flex-basis: 50%;
  1673. }
  1674. .basis-lg {
  1675. flex-basis: 60%;
  1676. }
  1677. .basis-xl {
  1678. flex-basis: 80%;
  1679. }
  1680. .flex-sub {
  1681. flex: 1;
  1682. }
  1683. .flex-twice {
  1684. flex: 2;
  1685. }
  1686. .flex-treble {
  1687. flex: 3;
  1688. }
  1689. .flex-direction {
  1690. flex-direction: column;
  1691. }
  1692. .flex-wrap {
  1693. flex-wrap: wrap;
  1694. }
  1695. .align-start {
  1696. align-items: flex-start;
  1697. }
  1698. .align-end {
  1699. align-items: flex-end;
  1700. }
  1701. .align-center {
  1702. align-items: center;
  1703. }
  1704. .align-stretch {
  1705. align-items: stretch;
  1706. }
  1707. .self-start {
  1708. align-self: flex-start;
  1709. }
  1710. .self-center {
  1711. align-self: flex-center;
  1712. }
  1713. .self-end {
  1714. align-self: flex-end;
  1715. }
  1716. .self-stretch {
  1717. align-self: stretch;
  1718. }
  1719. .align-stretch {
  1720. align-items: stretch;
  1721. }
  1722. .justify-start {
  1723. justify-content: flex-start;
  1724. }
  1725. .justify-end {
  1726. justify-content: flex-end;
  1727. }
  1728. .justify-center {
  1729. justify-content: center;
  1730. }
  1731. .justify-between {
  1732. justify-content: space-between;
  1733. }
  1734. .justify-around {
  1735. justify-content: space-around;
  1736. }
  1737. /* grid布局 */
  1738. .grid {
  1739. display: flex;
  1740. flex-wrap: wrap;
  1741. }
  1742. .grid.grid-square {
  1743. overflow: hidden;
  1744. }
  1745. .grid.grid-square .cu-tag {
  1746. position: absolute;
  1747. right: 0;
  1748. top: 0;
  1749. border-bottom-left-radius: 6rpx;
  1750. padding: 6rpx 12rpx;
  1751. height: auto;
  1752. background-color: rgba(0, 0, 0, 0.5);
  1753. }
  1754. .grid.grid-square>view>text[class*="cuIcon-"] {
  1755. font-size: 52rpx;
  1756. position: absolute;
  1757. color: var(--grey);
  1758. margin: auto;
  1759. top: 0;
  1760. bottom: 0;
  1761. left: 0;
  1762. right: 0;
  1763. display: flex;
  1764. justify-content: center;
  1765. align-items: center;
  1766. flex-direction: column;
  1767. }
  1768. .grid.grid-square>view {
  1769. margin-right: 20rpx;
  1770. margin-bottom: 20rpx;
  1771. border-radius: 6rpx;
  1772. position: relative;
  1773. overflow: hidden;
  1774. }
  1775. .grid.grid-square>view.bg-img image {
  1776. width: 100%;
  1777. height: 100%;
  1778. position: absolute;
  1779. }
  1780. .grid.col-1.grid-square>view {
  1781. padding-bottom: 100%;
  1782. height: 0;
  1783. margin-right: 0;
  1784. }
  1785. .grid.col-2.grid-square>view {
  1786. padding-bottom: calc((100% - 20rpx)/2);
  1787. height: 0;
  1788. width: calc((100% - 20rpx)/2);
  1789. }
  1790. .grid.col-3.grid-square>view {
  1791. padding-bottom: calc((100% - 40rpx)/3);
  1792. height: 0;
  1793. width: calc((100% - 40rpx)/3);
  1794. }
  1795. .grid.col-4.grid-square>view {
  1796. padding-bottom: calc((100% - 60rpx)/4);
  1797. height: 0;
  1798. width: calc((100% - 60rpx)/4);
  1799. }
  1800. .grid.col-5.grid-square>view {
  1801. padding-bottom: calc((100% - 80rpx)/5);
  1802. height: 0;
  1803. width: calc((100% - 80rpx)/5);
  1804. }
  1805. .grid.col-2.grid-square>view:nth-child(2n),
  1806. .grid.col-3.grid-square>view:nth-child(3n),
  1807. .grid.col-4.grid-square>view:nth-child(4n),
  1808. .grid.col-5.grid-square>view:nth-child(5n){
  1809. margin-right: 0;
  1810. }
  1811. .grid.col-1>view {
  1812. width: 100%;
  1813. }
  1814. .grid.col-2>view {
  1815. width: 50%;
  1816. }
  1817. .grid.col-3>view {
  1818. width: 33.33%;
  1819. }
  1820. .grid.col-4>view {
  1821. width: 25%;
  1822. }
  1823. .grid.col-5>view {
  1824. width: 16%;
  1825. }
  1826. /* -- 内外边距 -- */
  1827. .margin-0 {
  1828. margin: 0;
  1829. }
  1830. .margin-xs {
  1831. margin: 10rpx;
  1832. }
  1833. .grand{
  1834. background:linear-gradient(0deg, #E5FCED,#2DCB73)
  1835. }
  1836. .item-title{
  1837. margin: 20rpx 10rpx;
  1838. color: #ced6e0;
  1839. font-size: 25rpx;
  1840. }
  1841. .margin-sm {
  1842. margin: 20rpx;
  1843. }
  1844. .margin {
  1845. margin: 30rpx;
  1846. }
  1847. .margin-lg {
  1848. margin: 40rpx;
  1849. }
  1850. .margin-xl {
  1851. margin: 50rpx;
  1852. }
  1853. .margin-top-xs {
  1854. margin-top: 10rpx;
  1855. }
  1856. .margin-top-sm {
  1857. margin-top: 20rpx;
  1858. }
  1859. .margin-top {
  1860. margin-top: 30rpx;
  1861. }
  1862. .margin-top-lg {
  1863. margin-top: 40rpx;
  1864. }
  1865. .margin-top-xl {
  1866. margin-top: 50rpx;
  1867. }
  1868. .margin-right-xs {
  1869. margin-right: 10rpx;
  1870. }
  1871. .margin-right-sm {
  1872. margin-right: 20rpx;
  1873. }
  1874. .margin-right {
  1875. margin-right: 30rpx;
  1876. }
  1877. .margin-right-lg {
  1878. margin-right: 40rpx;
  1879. }
  1880. .margin-right-xl {
  1881. margin-right: 50rpx;
  1882. }
  1883. .margin-bottom-xs {
  1884. margin-bottom: 10rpx;
  1885. }
  1886. .margin-bottom-sm {
  1887. margin-bottom: 20rpx;
  1888. }
  1889. .margin-bottom {
  1890. margin-bottom: 30rpx;
  1891. }
  1892. .margin-bottom-lg {
  1893. margin-bottom: 40rpx;
  1894. }
  1895. .margin-bottom-xl {
  1896. margin-bottom: 50rpx;
  1897. }
  1898. .margin-left-xs {
  1899. margin-left: 10rpx;
  1900. }
  1901. .margin-left-sm {
  1902. margin-left: 20rpx;
  1903. }
  1904. .margin-left {
  1905. margin-left: 30rpx;
  1906. }
  1907. .margin-left-lg {
  1908. margin-left: 40rpx;
  1909. }
  1910. .margin-left-xl {
  1911. margin-left: 50rpx;
  1912. }
  1913. .margin-lr-xs {
  1914. margin-left: 10rpx;
  1915. margin-right: 10rpx;
  1916. }
  1917. .margin-lr-sm {
  1918. margin-left: 20rpx;
  1919. margin-right: 20rpx;
  1920. }
  1921. .margin-lr {
  1922. margin-left: 30rpx;
  1923. margin-right: 30rpx;
  1924. }
  1925. .margin-lr-lg {
  1926. margin-left: 40rpx;
  1927. margin-right: 40rpx;
  1928. }
  1929. .margin-lr-xl {
  1930. margin-left: 50rpx;
  1931. margin-right: 50rpx;
  1932. }
  1933. .margin-tb-xs {
  1934. margin-top: 10rpx;
  1935. margin-bottom: 10rpx;
  1936. }
  1937. .margin-tb-sm {
  1938. margin-top: 20rpx;
  1939. margin-bottom: 20rpx;
  1940. }
  1941. .margin-tb {
  1942. margin-top: 30rpx;
  1943. margin-bottom: 30rpx;
  1944. }
  1945. .margin-tb-lg {
  1946. margin-top: 40rpx;
  1947. margin-bottom: 40rpx;
  1948. }
  1949. .margin-tb-xl {
  1950. margin-top: 50rpx;
  1951. margin-bottom: 50rpx;
  1952. }
  1953. .padding-0 {
  1954. padding: 0;
  1955. }
  1956. .padding-xs {
  1957. padding: 10rpx;
  1958. }
  1959. .padding-sm {
  1960. padding: 20rpx;
  1961. }
  1962. .padding {
  1963. padding: 30rpx;
  1964. }
  1965. .padding-lg {
  1966. padding: 40rpx;
  1967. }
  1968. .padding-xl {
  1969. padding: 20rpx;
  1970. }
  1971. .padding-top-xs {
  1972. padding-top: 10rpx;
  1973. }
  1974. .padding-top-sm {
  1975. padding-top: 20rpx;
  1976. }
  1977. .padding-top {
  1978. padding-top: 30rpx;
  1979. }
  1980. .padding-top-lg {
  1981. padding-top: 40rpx;
  1982. }
  1983. .padding-top-xl {
  1984. padding-top: 50rpx;
  1985. }
  1986. .padding-right-xs {
  1987. padding-right: 10rpx;
  1988. }
  1989. .padding-right-sm {
  1990. padding-right: 20rpx;
  1991. }
  1992. .padding-right {
  1993. padding-right: 30rpx;
  1994. }
  1995. .padding-right-lg {
  1996. padding-right: 40rpx;
  1997. }
  1998. .padding-right-xl {
  1999. padding-right: 50rpx;
  2000. }
  2001. .padding-bottom-xs {
  2002. padding-bottom: 10rpx;
  2003. }
  2004. .padding-bottom-sm {
  2005. padding-bottom: 20rpx;
  2006. }
  2007. .padding-bottom {
  2008. padding-bottom: 30rpx;
  2009. }
  2010. .padding-bottom-lg {
  2011. padding-bottom: 40rpx;
  2012. }
  2013. .padding-bottom-xl {
  2014. padding-bottom: 50rpx;
  2015. }
  2016. .padding-left-xs {
  2017. padding-left: 10rpx;
  2018. }
  2019. .padding-left-sm {
  2020. padding-left: 20rpx;
  2021. }
  2022. .padding-left {
  2023. padding-left: 30rpx;
  2024. }
  2025. .padding-left-lg {
  2026. padding-left: 40rpx;
  2027. }
  2028. .padding-left-xl {
  2029. padding-left: 50rpx;
  2030. }
  2031. .padding-lr-xs {
  2032. padding-left: 10rpx;
  2033. padding-right: 10rpx;
  2034. }
  2035. .padding-lr-sm {
  2036. padding-left: 20rpx;
  2037. padding-right: 20rpx;
  2038. }
  2039. .padding-lr {
  2040. padding-left: 30rpx;
  2041. padding-right: 30rpx;
  2042. }
  2043. .padding-lr-lg {
  2044. padding-left: 40rpx;
  2045. padding-right: 40rpx;
  2046. }
  2047. .padding-lr-xl {
  2048. padding-left: 50rpx;
  2049. padding-right: 50rpx;
  2050. }
  2051. .padding-tb-xs {
  2052. padding-top: 10rpx;
  2053. padding-bottom: 10rpx;
  2054. }
  2055. .padding-tb-sm {
  2056. padding-top: 20rpx;
  2057. padding-bottom: 20rpx;
  2058. }
  2059. .padding-tb {
  2060. padding-top: 30rpx;
  2061. padding-bottom: 30rpx;
  2062. }
  2063. .padding-tb-lg {
  2064. padding-top: 40rpx;
  2065. padding-bottom: 40rpx;
  2066. }
  2067. .padding-tb-xl {
  2068. padding-top: 50rpx;
  2069. padding-bottom: 50rpx;
  2070. }
  2071. /* -- 浮动 -- */
  2072. .cf::after,
  2073. .cf::before {
  2074. content: " ";
  2075. display: table;
  2076. }
  2077. .cf::after {
  2078. clear: both;
  2079. }
  2080. .fl {
  2081. float: left;
  2082. }
  2083. .fr {
  2084. float: right;
  2085. }
  2086. /* ==================
  2087. 背景
  2088. ==================== */
  2089. .line-red::after,
  2090. .lines-red::after {
  2091. border-color: var(--red);
  2092. }
  2093. .line-orange::after,
  2094. .lines-orange::after {
  2095. border-color: var(--orange);
  2096. }
  2097. .line-yellow::after,
  2098. .lines-yellow::after {
  2099. border-color: var(--yellow);
  2100. }
  2101. .line-olive::after,
  2102. .lines-olive::after {
  2103. border-color: var(--olive);
  2104. }
  2105. .line-green::after,
  2106. .lines-green::after {
  2107. border-color: var(--green);
  2108. }
  2109. .line-cyan::after,
  2110. .lines-cyan::after {
  2111. border-color: var(--cyan);
  2112. }
  2113. .line-blue::after,
  2114. .lines-blue::after {
  2115. border-color: var(--blue);
  2116. }
  2117. .line-purple::after,
  2118. .lines-purple::after {
  2119. border-color: var(--purple);
  2120. }
  2121. .line-mauve::after,
  2122. .lines-mauve::after {
  2123. border-color: var(--mauve);
  2124. }
  2125. .line-pink::after,
  2126. .lines-pink::after {
  2127. border-color: var(--pink);
  2128. }
  2129. .line-brown::after,
  2130. .lines-brown::after {
  2131. border-color: var(--brown);
  2132. }
  2133. .line-grey::after,
  2134. .lines-grey::after {
  2135. border-color: var(--grey);
  2136. }
  2137. .line-gray::after,
  2138. .lines-gray::after {
  2139. border-color: var(--gray);
  2140. }
  2141. .line-black::after,
  2142. .lines-black::after {
  2143. border-color: var(--black);
  2144. }
  2145. .line-white::after,
  2146. .lines-white::after {
  2147. border-color: var(--white);
  2148. }
  2149. .bg-red {
  2150. background-color: var(--red);
  2151. color: var(--white);
  2152. }
  2153. .bg-red-bright {
  2154. background-color: #ff6b6b;
  2155. color: var(--white);
  2156. transition: all 900ms;
  2157. }
  2158. .bg-orange {
  2159. background-color: var(--orange);
  2160. color: var(--white);
  2161. }
  2162. .bg-yellow {
  2163. background-color: var(--yellow);
  2164. color: var(--black);
  2165. }
  2166. .bg-yellow-bright{
  2167. background-color: #fffa65;
  2168. color: var(--black);
  2169. }
  2170. .bg-olive {
  2171. background-color: var(--olive);
  2172. color: var(--white);
  2173. }
  2174. .bg-green {
  2175. background-color: var(--green);
  2176. color: var(--white);
  2177. }
  2178. .bg-cyan {
  2179. background-color: var(--cyan);
  2180. color: var(--white);
  2181. }
  2182. .bg-blue {
  2183. background-color: var(--blue);
  2184. color: var(--white);
  2185. }
  2186. .bg-purple {
  2187. background-color: var(--purple);
  2188. color: var(--white);
  2189. }
  2190. .bg-mauve {
  2191. background-color: var(--mauve);
  2192. color: var(--white);
  2193. }
  2194. .bg-pink {
  2195. background-color: var(--pink);
  2196. color: var(--white);
  2197. }
  2198. .bg-brown {
  2199. background-color: var(--brown);
  2200. color: var(--white);
  2201. }
  2202. .bg-grey {
  2203. background-color: var(--grey);
  2204. color: var(--white);
  2205. }
  2206. .bg-mainbg {
  2207. background-color: var(--mainbg);
  2208. color: var(--white);
  2209. }
  2210. .bg-gray {
  2211. background-color: #f0f0f0;
  2212. color: var(--black);
  2213. }
  2214. .bg-black {
  2215. background-color: var(--black);
  2216. color: var(--white);
  2217. }
  2218. .bg-white {
  2219. background-color: var(--white);
  2220. color: var(--darkGray);
  2221. }
  2222. .bg-shadeTop {
  2223. background-image: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.01));
  2224. color: var(--white);
  2225. }
  2226. .bg-shadeBottom {
  2227. background-image: linear-gradient(rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 1));
  2228. color: var(--white);
  2229. }
  2230. .bg-red.light {
  2231. color: var(--red);
  2232. background-color: var(--redLight);
  2233. }
  2234. .bg-orange.light {
  2235. color: var(--orange);
  2236. background-color: var(--orangeLight);
  2237. }
  2238. .bg-yellow.light {
  2239. color: var(--yellow);
  2240. background-color: var(--yellowLight);
  2241. }
  2242. .bg-olive.light {
  2243. color: var(--olive);
  2244. background-color: var(--oliveLight);
  2245. }
  2246. .bg-green.light {
  2247. color: var(--green);
  2248. background-color: var(--greenLight);
  2249. }
  2250. .bg-cyan.light {
  2251. color: var(--cyan);
  2252. background-color: var(--cyanLight);
  2253. }
  2254. .bg-blue.light {
  2255. color: var(--blue);
  2256. background-color: var(--blueLight);
  2257. }
  2258. .bg-purple.light {
  2259. color: var(--purple);
  2260. background-color: var(--purpleLight);
  2261. }
  2262. .bg-mauve.light {
  2263. color: var(--mauve);
  2264. background-color: var(--mauveLight);
  2265. }
  2266. .bg-pink.light {
  2267. color: var(--pink);
  2268. background-color: var(--pinkLight);
  2269. }
  2270. .bg-brown.light {
  2271. color: var(--brown);
  2272. background-color: var(--brownLight);
  2273. }
  2274. .bg-grey.light {
  2275. color: var(--grey);
  2276. background-color: var(--greyLight);
  2277. }
  2278. .bg-gradual-red {
  2279. background-image: var(--gradualRed);
  2280. color: var(--white);
  2281. }
  2282. .bg-gradual-orange {
  2283. background-image: var(--gradualOrange);
  2284. color: var(--white);
  2285. }
  2286. .bg-gradual-green {
  2287. background-image: var(--gradualGreen);
  2288. color: var(--white);
  2289. }
  2290. .bg-gradual-purple {
  2291. background-image: var(--gradualPurple);
  2292. color: var(--white);
  2293. }
  2294. .bg-gradual-pink {
  2295. background-image: var(--gradualPink);
  2296. color: var(--white);
  2297. }
  2298. .bg-gradual-blue {
  2299. background-image: var(--gradualBlue);
  2300. color: var(--white);
  2301. }
  2302. .shadow[class*="-red"] {
  2303. box-shadow: var(--ShadowSize) var(--redShadow);
  2304. }
  2305. .shadow[class*="-orange"] {
  2306. box-shadow: var(--ShadowSize) var(--orangeShadow);
  2307. }
  2308. .shadow[class*="-yellow"] {
  2309. box-shadow: var(--ShadowSize) var(--yellowShadow);
  2310. }
  2311. .shadow[class*="-olive"] {
  2312. box-shadow: var(--ShadowSize) var(--oliveShadow);
  2313. }
  2314. .shadow[class*="-green"] {
  2315. box-shadow: var(--ShadowSize) var(--greenShadow);
  2316. }
  2317. .shadow[class*="-cyan"] {
  2318. box-shadow: var(--ShadowSize) var(--cyanShadow);
  2319. }
  2320. .shadow[class*="-blue"] {
  2321. box-shadow: var(--ShadowSize) var(--blueShadow);
  2322. }
  2323. .shadow[class*="-purple"] {
  2324. box-shadow: var(--ShadowSize) var(--purpleShadow);
  2325. }
  2326. .shadow[class*="-mauve"] {
  2327. box-shadow: var(--ShadowSize) var(--mauveShadow);
  2328. }
  2329. .shadow[class*="-pink"] {
  2330. box-shadow: var(--ShadowSize) var(--pinkShadow);
  2331. }
  2332. .shadow[class*="-brown"] {
  2333. box-shadow: var(--ShadowSize) var(--brownShadow);
  2334. }
  2335. .shadow[class*="-grey"] {
  2336. box-shadow: var(--ShadowSize) var(--greyShadow);
  2337. }
  2338. .shadow[class*="-gray"] {
  2339. box-shadow: var(--ShadowSize) var(--grayShadow);
  2340. }
  2341. .shadow[class*="-black"] {
  2342. box-shadow: var(--ShadowSize) var(--blackShadow);
  2343. }
  2344. .shadow[class*="-white"] {
  2345. box-shadow: var(--ShadowSize) var(--blackShadow);
  2346. }
  2347. .text-shadow[class*="-red"] {
  2348. text-shadow: var(--ShadowSize) var(--redShadow);
  2349. }
  2350. .text-shadow[class*="-orange"] {
  2351. text-shadow: var(--ShadowSize) var(--orangeShadow);
  2352. }
  2353. .text-shadow[class*="-yellow"] {
  2354. text-shadow: var(--ShadowSize) var(--yellowShadow);
  2355. }
  2356. .text-shadow[class*="-olive"] {
  2357. text-shadow: var(--ShadowSize) var(--oliveShadow);
  2358. }
  2359. .text-shadow[class*="-green"] {
  2360. text-shadow: var(--ShadowSize) var(--greenShadow);
  2361. }
  2362. .text-shadow[class*="-cyan"] {
  2363. text-shadow: var(--ShadowSize) var(--cyanShadow);
  2364. }
  2365. .text-shadow[class*="-blue"] {
  2366. text-shadow: var(--ShadowSize) var(--blueShadow);
  2367. }
  2368. .text-shadow[class*="-purple"] {
  2369. text-shadow: var(--ShadowSize) var(--purpleShadow);
  2370. }
  2371. .text-shadow[class*="-mauve"] {
  2372. text-shadow: var(--ShadowSize) var(--mauveShadow);
  2373. }
  2374. .text-shadow[class*="-pink"] {
  2375. text-shadow: var(--ShadowSize) var(--pinkShadow);
  2376. }
  2377. .text-shadow[class*="-brown"] {
  2378. text-shadow: var(--ShadowSize) var(--brownShadow);
  2379. }
  2380. .text-shadow[class*="-grey"] {
  2381. text-shadow: var(--ShadowSize) var(--greyShadow);
  2382. }
  2383. .text-shadow[class*="-gray"] {
  2384. text-shadow: var(--ShadowSize) var(--grayShadow);
  2385. }
  2386. .text-shadow[class*="-black"] {
  2387. text-shadow: var(--ShadowSize) var(--blackShadow);
  2388. }
  2389. .bg-img {
  2390. background-size: cover;
  2391. background-position: center;
  2392. background-repeat: no-repeat;
  2393. }
  2394. .bg-mask {
  2395. background-color: var(--black);
  2396. position: relative;
  2397. }
  2398. .bg-mask::after {
  2399. content: "";
  2400. border-radius: inherit;
  2401. width: 100%;
  2402. height: 100%;
  2403. display: block;
  2404. background-color: rgba(0, 0, 0, 0.4);
  2405. position: absolute;
  2406. left: 0;
  2407. right: 0;
  2408. bottom: 0;
  2409. top: 0;
  2410. }
  2411. .bg-mask view,
  2412. .bg-mask cover-view {
  2413. z-index: 5;
  2414. position: relative;
  2415. }
  2416. .bg-video {
  2417. position: relative;
  2418. }
  2419. .bg-video video {
  2420. display: block;
  2421. height: 100%;
  2422. width: 100%;
  2423. -o-object-fit: cover;
  2424. object-fit: cover;
  2425. position: absolute;
  2426. top: 0;
  2427. z-index: 0;
  2428. pointer-events: none;
  2429. }
  2430. /* ==================
  2431. 文本
  2432. ==================== */
  2433. .text-xs {
  2434. font-size: 20rpx;
  2435. }
  2436. .text-sm {
  2437. font-size: 22rpx;
  2438. }
  2439. .text-df {
  2440. font-size: 28rpx;
  2441. }
  2442. .text-lg {
  2443. font-size: 32rpx;
  2444. }
  2445. .text-xl {
  2446. font-size: 36rpx;
  2447. }
  2448. .text-xxl {
  2449. font-size: 44rpx;
  2450. }
  2451. .text-sl {
  2452. font-size: 80rpx;
  2453. }
  2454. .text-xsl {
  2455. font-size: 120rpx;
  2456. }
  2457. .text-Abc {
  2458. text-transform: Capitalize;
  2459. }
  2460. .text-ABC {
  2461. text-transform: Uppercase;
  2462. }
  2463. .text-abc {
  2464. text-transform: Lowercase;
  2465. }
  2466. .text-price::before {
  2467. content: "¥";
  2468. font-size: 80%;
  2469. margin-right: 4rpx;
  2470. }
  2471. .text-cut {
  2472. text-overflow: ellipsis;
  2473. overflow: hidden;
  2474. }
  2475. .text-light{
  2476. color: #EEE9E9;
  2477. }
  2478. .text-bold {
  2479. font-weight: bold;
  2480. }
  2481. .text-lighter{
  2482. font-weight: lighter;
  2483. }
  2484. .text-center {
  2485. text-align: center;
  2486. }
  2487. .text-content {
  2488. line-height: 1.6;
  2489. }
  2490. .text-left {
  2491. text-align: left;
  2492. }
  2493. .text-right {
  2494. text-align: right;
  2495. }
  2496. .text-red,
  2497. .line-red,
  2498. .lines-red {
  2499. color: var(--red);
  2500. }
  2501. .text-orange,
  2502. .line-orange,
  2503. .lines-orange {
  2504. color: var(--orange);
  2505. }
  2506. .text-yellow,
  2507. .line-yellow,
  2508. .lines-yellow {
  2509. color: var(--yellow);
  2510. }
  2511. .text-olive,
  2512. .line-olive,
  2513. .lines-olive {
  2514. color: var(--olive);
  2515. }
  2516. .text-green,
  2517. .line-green,
  2518. .lines-green {
  2519. color: var(--green);
  2520. }
  2521. .text-black,
  2522. .line-black,
  2523. .lines-black {
  2524. color: var(--black);
  2525. }
  2526. .text-blue,
  2527. .line-blue,
  2528. .lines-blue {
  2529. color: var(--blue);
  2530. }
  2531. .text-pink,
  2532. .line-pink,
  2533. .lines-pink {
  2534. color: var(--pink);
  2535. }
  2536. .text-grey,
  2537. .line-grey,
  2538. .lines-grey {
  2539. color: var(--grey);
  2540. }
  2541. .text-main-color{
  2542. color: #333;
  2543. }
  2544. .text-gray,
  2545. .line-gray,
  2546. .lines-gray {
  2547. color: var(--gray);
  2548. }
  2549. .text-white,
  2550. .line-white,
  2551. .lines-white {
  2552. color: var(--white);
  2553. }
  2554. .text-cyan {
  2555. color: var(--cyan)
  2556. }