main.wxss 63 KB

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