main.css 64 KB

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