main.css 64 KB

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