main.css 64 KB

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