1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017 |
- /* ==================
- 初始化
- ==================== */
- body {
- background-color: #F7F8F9;
- font-size: 28upx;
- color: #333333;
- font-family: Helvetica Neue, Helvetica, sans-serif;
- }
- view,
- scroll-view,
- swiper,
- button,
- input,
- textarea,
- label,
- navigator,
- image {
- box-sizing: border-box;
- }
- .round {
- border-radius: 5000upx;
- }
- .radius {
- border-radius: 6upx;
- }
- .radius-df {
- border-radius: 10upx;
- }
- .radius-lg {
- border-radius: 20upx;
- }
- .radius-xl {
- border-radius: 40upx;
- }
- .radius-top-xl {
- border-top-left-radius: 40upx;
- border-top-right-radius: 40upx;
- }
- .overflow{overflow: hidden;}
- /* ==================
- 图片
- ==================== */
- image {
- max-width: 100%;
- display: inline-block;
- position: relative;
- z-index: 0;
- }
- image.loading::before {
- content: "";
- background-color: #f5f5f5;
- display: block;
- position: absolute;
- width: 100%;
- height: 100%;
- z-index: -2;
- }
- image.loading::after {
- content: "\e7f1";
- font-family: "cuIcon";
- position: absolute;
- top: 0;
- left: 0;
- width: 32upx;
- height: 32upx;
- line-height: 32upx;
- right: 0;
- bottom: 0;
- z-index: -1;
- font-size: 32upx;
- margin: auto;
- color: #ccc;
- -webkit-animation: cuIcon-spin 2s infinite linear;
- animation: cuIcon-spin 2s infinite linear;
- display: block;
- }
- .response {
- width: 100%;
- }
- /* ==================
- 开关
- ==================== */
- switch,
- checkbox,
- radio {
- position: relative;
- }
- switch::after,
- switch::before {
- font-family: "cuIcon";
- content: "\e645";
- position: absolute;
- color: #ffffff !important;
- top: 0%;
- left: 0upx;
- font-size: 26upx;
- line-height: 26px;
- width: 50%;
- text-align: center;
- pointer-events: none;
- transform: scale(0, 0);
- transition: all 0.3s ease-in-out 0s;
- z-index: 9;
- bottom: 0;
- height: 26px;
- margin: auto;
- }
- switch::before {
- content: "\e646";
- right: 0;
- transform: scale(1, 1);
- left: auto;
- }
- switch[checked]::after,
- switch.checked::after {
- transform: scale(1, 1);
- }
- switch[checked]::before,
- switch.checked::before {
- transform: scale(0, 0);
- }
- /* #ifndef MP-ALIPAY */
- radio::before,
- checkbox::before {
- font-family: "cuIcon";
- content: "\e645";
- position: absolute;
- color: #ffffff !important;
- top: 50%;
- margin-top: -8px;
- right: 5px;
- font-size: 32upx;
- line-height: 16px;
- pointer-events: none;
- transform: scale(1, 1);
- transition: all 0.3s ease-in-out 0s;
- z-index: 9;
- }
- radio .wx-radio-input,
- checkbox .wx-checkbox-input,
- radio .uni-radio-input,
- checkbox .uni-checkbox-input {
- margin: 0;
- width: 24px;
- height: 24px;
- }
- checkbox.round .wx-checkbox-input,
- checkbox.round .uni-checkbox-input {
- border-radius: 100upx;
- }
- /* #endif */
- switch[checked]::before {
- transform: scale(0, 0);
- }
- switch .wx-switch-input,
- switch .uni-switch-input {
- border: none;
- padding: 0 24px;
- width: 48px;
- height: 26px;
- margin: 0;
- border-radius: 100upx;
- }
- switch .wx-switch-input:not([class*="bg-"]),
- switch .uni-switch-input:not([class*="bg-"]) {
- background: #8799a3 !important;
- }
- switch .wx-switch-input::after,
- switch .uni-switch-input::after {
- margin: auto;
- width: 26px;
- height: 26px;
- border-radius: 100upx;
- left: 0upx;
- top: 0upx;
- bottom: 0upx;
- position: absolute;
- transform: scale(0.9, 0.9);
- transition: all 0.1s ease-in-out 0s;
- }
- switch .wx-switch-input.wx-switch-input-checked::after,
- switch .uni-switch-input.uni-switch-input-checked::after {
- margin: auto;
- left: 22px;
- box-shadow: none;
- transform: scale(0.9, 0.9);
- }
- radio-group {
- display: inline-block;
- }
- switch.radius .wx-switch-input::after,
- switch.radius .wx-switch-input,
- switch.radius .wx-switch-input::before,
- switch.radius .uni-switch-input::after,
- switch.radius .uni-switch-input,
- switch.radius .uni-switch-input::before {
- border-radius: 10upx;
- }
- switch .wx-switch-input::before,
- radio.radio::before,
- checkbox .wx-checkbox-input::before,
- radio .wx-radio-input::before,
- switch .uni-switch-input::before,
- radio.radio::before,
- checkbox .uni-checkbox-input::before,
- radio .uni-radio-input::before {
- display: none;
- }
- radio.radio[checked]::after,
- radio.radio .uni-radio-input-checked::after {
- content: "";
- background-color: transparent;
- display: block;
- position: absolute;
- width: 8px;
- height: 8px;
- z-index: 999;
- top: 0upx;
- left: 0upx;
- right: 0;
- bottom: 0;
- margin: auto;
- border-radius: 200upx;
- /* #ifndef MP */
- border: 7px solid #ffffff !important;
- /* #endif */
- /* #ifdef MP */
- border: 8px solid #ffffff !important;
- /* #endif */
- }
- .switch-sex::after {
- content: "\e71c";
- }
- .switch-sex::before {
- content: "\e71a";
- }
- .switch-sex .wx-switch-input,
- .switch-sex .uni-switch-input {
- background: #e54d42 !important;
- border-color: #e54d42 !important;
- }
- .switch-sex[checked] .wx-switch-input,
- .switch-sex.checked .uni-switch-input {
- background: #0081ff !important;
- border-color: #0081ff !important;
- }
- switch.red[checked] .wx-switch-input.wx-switch-input-checked,
- checkbox.red[checked] .wx-checkbox-input,
- radio.red[checked] .wx-radio-input,
- switch.red.checked .uni-switch-input.uni-switch-input-checked,
- checkbox.red.checked .uni-checkbox-input,
- radio.red.checked .uni-radio-input {
- background-color: #e54d42 !important;
- border-color: #e54d42 !important;
- color: #ffffff !important;
- }
- switch.orange[checked] .wx-switch-input,
- checkbox.orange[checked] .wx-checkbox-input,
- radio.orange[checked] .wx-radio-input,
- switch.orange.checked .uni-switch-input,
- checkbox.orange.checked .uni-checkbox-input,
- radio.orange.checked .uni-radio-input {
- background-color: #f37b1d !important;
- border-color: #f37b1d !important;
- color: #ffffff !important;
- }
- switch.yellow[checked] .wx-switch-input,
- checkbox.yellow[checked] .wx-checkbox-input,
- radio.yellow[checked] .wx-radio-input,
- switch.yellow.checked .uni-switch-input,
- checkbox.yellow.checked .uni-checkbox-input,
- radio.yellow.checked .uni-radio-input {
- background-color: #fbbd08 !important;
- border-color: #fbbd08 !important;
- color: #333333 !important;
- }
- switch.olive[checked] .wx-switch-input,
- checkbox.olive[checked] .wx-checkbox-input,
- radio.olive[checked] .wx-radio-input,
- switch.olive.checked .uni-switch-input,
- checkbox.olive.checked .uni-checkbox-input,
- radio.olive.checked .uni-radio-input {
- background-color: #8dc63f !important;
- border-color: #8dc63f !important;
- color: #ffffff !important;
- }
- switch.green[checked] .wx-switch-input,
- switch[checked] .wx-switch-input,
- checkbox.green[checked] .wx-checkbox-input,
- checkbox[checked] .wx-checkbox-input,
- radio.green[checked] .wx-radio-input,
- radio[checked] .wx-radio-input,
- switch.green.checked .uni-switch-input,
- switch.checked .uni-switch-input,
- checkbox.green.checked .uni-checkbox-input,
- checkbox.checked .uni-checkbox-input,
- radio.green.checked .uni-radio-input,
- radio.checked .uni-radio-input {
- background-color: #39b54a !important;
- border-color: #39b54a !important;
- color: #ffffff !important;
- border-color: #39B54A !important;
- }
- switch.cyan[checked] .wx-switch-input,
- checkbox.cyan[checked] .wx-checkbox-input,
- radio.cyan[checked] .wx-radio-input,
- switch.cyan.checked .uni-switch-input,
- checkbox.cyan.checked .uni-checkbox-input,
- radio.cyan.checked .uni-radio-input {
- background-color: #1cbbb4 !important;
- border-color: #1cbbb4 !important;
- color: #ffffff !important;
- }
- switch.blue[checked] .wx-switch-input,
- checkbox.blue[checked] .wx-checkbox-input,
- radio.blue[checked] .wx-radio-input,
- switch.blue.checked .uni-switch-input,
- checkbox.blue.checked .uni-checkbox-input,
- radio.blue.checked .uni-radio-input {
- background-color: #0081ff !important;
- border-color: #0081ff !important;
- color: #ffffff !important;
- }
- switch.purple[checked] .wx-switch-input,
- checkbox.purple[checked] .wx-checkbox-input,
- radio.purple[checked] .wx-radio-input,
- switch.purple.checked .uni-switch-input,
- checkbox.purple.checked .uni-checkbox-input,
- radio.purple.checked .uni-radio-input {
- background-color: #6739b6 !important;
- border-color: #6739b6 !important;
- color: #ffffff !important;
- }
- switch.mauve[checked] .wx-switch-input,
- checkbox.mauve[checked] .wx-checkbox-input,
- radio.mauve[checked] .wx-radio-input,
- switch.mauve.checked .uni-switch-input,
- checkbox.mauve.checked .uni-checkbox-input,
- radio.mauve.checked .uni-radio-input {
- background-color: #9c26b0 !important;
- border-color: #9c26b0 !important;
- color: #ffffff !important;
- }
- switch.pink[checked] .wx-switch-input,
- checkbox.pink[checked] .wx-checkbox-input,
- radio.pink[checked] .wx-radio-input,
- switch.pink.checked .uni-switch-input,
- checkbox.pink.checked .uni-checkbox-input,
- radio.pink.checked .uni-radio-input {
- background-color: #e03997 !important;
- border-color: #e03997 !important;
- color: #ffffff !important;
- }
- switch.brown[checked] .wx-switch-input,
- checkbox.brown[checked] .wx-checkbox-input,
- radio.brown[checked] .wx-radio-input,
- switch.brown.checked .uni-switch-input,
- checkbox.brown.checked .uni-checkbox-input,
- radio.brown.checked .uni-radio-input {
- background-color: #a5673f !important;
- border-color: #a5673f !important;
- color: #ffffff !important;
- }
- switch.grey[checked] .wx-switch-input,
- checkbox.grey[checked] .wx-checkbox-input,
- radio.grey[checked] .wx-radio-input,
- switch.grey.checked .uni-switch-input,
- checkbox.grey.checked .uni-checkbox-input,
- radio.grey.checked .uni-radio-input {
- background-color: #8799a3 !important;
- border-color: #8799a3 !important;
- color: #ffffff !important;
- }
- switch.gray[checked] .wx-switch-input,
- checkbox.gray[checked] .wx-checkbox-input,
- radio.gray[checked] .wx-radio-input,
- switch.gray.checked .uni-switch-input,
- checkbox.gray.checked .uni-checkbox-input,
- radio.gray.checked .uni-radio-input {
- background-color: #f0f0f0 !important;
- border-color: #f0f0f0 !important;
- color: #333333 !important;
- }
- switch.black[checked] .wx-switch-input,
- checkbox.black[checked] .wx-checkbox-input,
- radio.black[checked] .wx-radio-input,
- switch.black.checked .uni-switch-input,
- checkbox.black.checked .uni-checkbox-input,
- radio.black.checked .uni-radio-input {
- background-color: #333333 !important;
- border-color: #333333 !important;
- color: #ffffff !important;
- }
- switch.white[checked] .wx-switch-input,
- checkbox.white[checked] .wx-checkbox-input,
- radio.white[checked] .wx-radio-input,
- switch.white.checked .uni-switch-input,
- checkbox.white.checked .uni-checkbox-input,
- radio.white.checked .uni-radio-input {
- background-color: #ffffff !important;
- border-color: #ffffff !important;
- color: #333333 !important;
- }
- /* ==================
- 边框
- ==================== */
- /* -- 实线 -- */
- .solid,
- .solid-top,
- .solid-right,
- .solid-bottom,
- .solid-left,
- .solids,
- .solids-top,
- .solids-right,
- .solids-bottom,
- .solids-left,
- .dashed,
- .dashed-top,
- .dashed-right,
- .dashed-bottom,
- .dashed-left {
- position: relative;
- }
- .solid::after,
- .solid-top::after,
- .solid-right::after,
- .solid-bottom::after,
- .solid-left::after,
- .solids::after,
- .solids-top::after,
- .solids-right::after,
- .solids-bottom::after,
- .solids-left::after,
- .dashed::after,
- .dashed-top::after,
- .dashed-right::after,
- .dashed-bottom::after,
- .dashed-left::after {
- content: " ";
- width: 200%;
- height: 200%;
- position: absolute;
- top: 0;
- left: 0;
- border-radius: inherit;
- transform: scale(0.5);
- transform-origin: 0 0;
- pointer-events: none;
- box-sizing: border-box;
- }
- .solid::after {
- border: 1upx solid rgba(0, 0, 0, 0.1);
- }
- .solid-top::after {
- border-top: 1upx solid rgba(0, 0, 0, 0.1);
- }
- .solid-right::after {
- border-right: 1upx solid rgba(0, 0, 0, 0.1);
- }
- .solid-bottom::after {
- border-bottom: 1upx solid rgba(0, 0, 0, 0.1);
- }
- .solid-bottom-black{border-bottom: 2upx solid rgba(0, 0, 0, 1)}
- .solid-left::after {
- border-left: 1upx solid rgba(0, 0, 0, 0.1);
- }
- .solids::after {
- border: 8upx solid #eee;
- }
- .solids-top::after {
- border-top: 8upx solid #eee;
- }
- .solids-right::after {
- border-right: 8upx solid #eee;
- }
- .solids-bottom::after {
- border-bottom: 8upx solid #eee;
- }
- .solids-left::after {
- border-left: 8upx solid #eee;
- }
- .solid-black{border:2upx solid #000 ;}
- .solid-gray{border:2upx solid #c9c9c9 ;}
- /* -- 虚线 -- */
- .dotted {
- border: 1upx dotted #999;
- }
- .dashed::after {
- border: 1upx dashed #ddd;
- }
- .dashed-top::after {
- border-top: 1upx dashed #ddd;
- }
- .dashed-right::after {
- border-right: 1upx dashed #ddd;
- }
- .dashed-bottom::after {
- border-bottom: 1upx dashed #ddd;
- }
- .dashed-left::after {
- border-left: 1upx dashed #ddd;
- }
- /* -- 阴影 -- */
- .shadow[class*='white'] {
- --ShadowSize: 0 1upx 6upx;
- }
- .shadow-lg {
- --ShadowSize: 0upx 40upx 100upx 0upx;
- }
- .shadow-warp {
- position: relative;
- box-shadow: 0 0 10upx rgba(0, 0, 0, 0.1);
- }
- .shadow-warp:before,
- .shadow-warp:after {
- position: absolute;
- content: "";
- top: 20upx;
- bottom: 30upx;
- left: 20upx;
- width: 50%;
- box-shadow: 0 30upx 20upx rgba(0, 0, 0, 0.2);
- transform: rotate(-3deg);
- z-index: -1;
- }
- .shadow-warp:after {
- right: 20upx;
- left: auto;
- transform: rotate(3deg);
- }
- .shadow-blur {
- position: relative;
- }
- .shadow-blur::before {
- content: "";
- display: block;
- background: inherit;
- filter: blur(10upx);
- position: absolute;
- width: 100%;
- height: 100%;
- top: 10upx;
- left: 10upx;
- z-index: -1;
- opacity: 0.4;
- transform-origin: 0 0;
- border-radius: inherit;
- transform: scale(1, 1);
- }
- /* ==================
- 加载
- ==================== */
- .load-progress {
- pointer-events: none;
- top: 0;
- position: fixed;
- width: 100%;
- left: 0;
- z-index: 2000;
- }
- .load-progress.hide {
- display: none;
- }
- .load-progress .load-progress-bar {
- position: relative;
- width: 100%;
- height: 4upx;
- overflow: hidden;
- transition: all 200ms ease 0s;
- }
- .load-progress .load-progress-spinner {
- position: absolute;
- top: 10upx;
- right: 10upx;
- z-index: 2000;
- display: block;
- }
- .load-progress .load-progress-spinner::after {
- content: "";
- display: block;
- width: 24upx;
- height: 24upx;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- border: solid 4upx transparent;
- border-top-color: inherit;
- border-left-color: inherit;
- border-radius: 50%;
- -webkit-animation: load-progress-spinner 0.4s linear infinite;
- animation: load-progress-spinner 0.4s linear infinite;
- }
- @-webkit-keyframes load-progress-spinner {
- 0% {
- -webkit-transform: rotate(0);
- transform: rotate(0);
- }
- 100% {
- -webkit-transform: rotate(360deg);
- transform: rotate(360deg);
- }
- }
- @keyframes load-progress-spinner {
- 0% {
- -webkit-transform: rotate(0);
- transform: rotate(0);
- }
- 100% {
- -webkit-transform: rotate(360deg);
- transform: rotate(360deg);
- }
- }
- /* ==================
- 轮播
- ==================== */
- swiper .a-swiper-dot {
- display: inline-block;
- width: 16upx;
- height: 16upx;
- background: rgba(0, 0, 0, .3);
- border-radius: 50%;
- vertical-align: middle;
- }
- swiper[class*="-dot"] .wx-swiper-dots,
- swiper[class*="-dot"] .a-swiper-dots,
- swiper[class*="-dot"] .uni-swiper-dots {
- display: flex;
- align-items: center;
- width: 100%;
- justify-content: center;
- }
- swiper.square-dot .wx-swiper-dot,
- swiper.square-dot .a-swiper-dot,
- swiper.square-dot .uni-swiper-dot {
- background-color: #ffffff;
- opacity: 0.4;
- width: 10upx;
- height: 10upx;
- border-radius: 20upx;
- margin: 0 8upx !important;
- }
- swiper.square-dot .wx-swiper-dot.wx-swiper-dot-active,
- swiper.square-dot .a-swiper-dot.a-swiper-dot-active,
- swiper.square-dot .uni-swiper-dot.uni-swiper-dot-active {
- opacity: 1;
- width: 30upx;
- }
- swiper.round-dot .wx-swiper-dot,
- swiper.round-dot .a-swiper-dot,
- swiper.round-dot .uni-swiper-dot {
- width: 10upx;
- height: 10upx;
- position: relative;
- margin: 4upx 8upx !important;
- }
- swiper.round-dot .wx-swiper-dot.wx-swiper-dot-active::after,
- swiper.round-dot .a-swiper-dot.a-swiper-dot-active::after,
- swiper.round-dot .uni-swiper-dot.uni-swiper-dot-active::after {
- content: "";
- position: absolute;
- width: 10upx;
- height: 10upx;
- top: 0upx;
- left: 0upx;
- right: 0;
- bottom: 0;
- margin: auto;
- background-color: #ffffff;
- border-radius: 20upx;
- }
- swiper.round-dot .wx-swiper-dot.wx-swiper-dot-active,
- swiper.round-dot .a-swiper-dot.a-swiper-dot-active,
- swiper.round-dot .uni-swiper-dot.uni-swiper-dot-active {
- width: 18upx;
- height: 18upx;
- }
- .screen-swiper {
- min-height: 375upx;
- }
- .screen-swiper image,
- .screen-swiper video,
- .swiper-item image,
- .swiper-item video {
- width: 100%;
- display: block;
- height: 100%;
- margin: 0;
- pointer-events: none;
- }
- .card-swiper {
- height: 420upx !important;
- }
- .card-swiper swiper-item {
- width: 610upx !important;
- left: 70upx;
- box-sizing: border-box;
- padding: 40upx 0upx 70upx;
- overflow: initial;
- }
- .card-swiper swiper-item .swiper-item {
- width: 100%;
- display: block;
- height: 100%;
- border-radius: 10upx;
- transform: scale(0.9);
- transition: all 0.2s ease-in 0s;
- overflow: hidden;
- }
- .card-swiper swiper-item.cur .swiper-item {
- transform: none;
- transition: all 0.2s ease-in 0s;
- }
- .tower-swiper {
- height: 420upx;
- position: relative;
- max-width: 750upx;
- overflow: hidden;
- }
- .tower-swiper .tower-item {
- position: absolute;
- width: 300upx;
- height: 380upx;
- top: 0;
- bottom: 0;
- left: 50%;
- margin: auto;
- transition: all 0.2s ease-in 0s;
- opacity: 1;
- }
- .tower-swiper .tower-item.none {
- opacity: 0;
- }
- .tower-swiper .tower-item .swiper-item {
- width: 100%;
- height: 100%;
- border-radius: 6upx;
- overflow: hidden;
- }
- /* ==================
- 布局
- ==================== */
- /* -- flex弹性布局 -- */
- .flex {
- display: flex;
- }
- .basis-xs {
- flex-basis: 20%;
- }
- .basis-s {
- flex-basis: 25%;
- }
- .basis-m {
- flex-basis: 30%;
- }
- .basis-xm {
- flex-basis: 35%;
- }
- .basis-sm {
- flex-basis: 40%;
- }
- .basis-df {
- flex-basis: 50%;
- }
- .basis-lg {
- flex-basis: 60%;
- }
- .basis-l {
- flex-basis: 70%;
- }
- .basis-xl {
- flex-basis: 80%;
- }
- .flex-sub {
- flex: 1;
- }
- .flex-twice {
- flex: 2;
- }
- .flex-treble {
- flex: 3;
- }
- .flex-direction {
- flex-direction: column;
- }
- .flex-wrap {
- flex-wrap: wrap;
- }
- .align-start {
- align-items: flex-start;
- }
- .align-end {
- align-items: flex-end;
- }
- .align-center {
- align-items: center;
- }
- .align-stretch {
- align-items: stretch;
- }
- .self-start {
- align-self: flex-start;
- }
- .self-center {
- align-self: flex-center;
- }
- .self-end {
- align-self: flex-end;
- }
- .self-stretch {
- align-self: stretch;
- }
- .align-stretch {
- align-items: stretch;
- }
- .justify-start {
- justify-content: flex-start;
- }
- .justify-end {
- justify-content: flex-end;
- }
- .justify-center {
- justify-content: center;
- }
- .justify-between {
- justify-content: space-between;
- }
- .justify-around {
- justify-content: space-around;
- }
- /* grid布局 */
- .grid {
- display: flex;
- flex-wrap: wrap;
- }
- .grid.grid-square {
- overflow: hidden;
- }
- .grid.grid-square .cu-tag {
- position: absolute;
- right: 0;
- top: 0;
- border-bottom-left-radius: 6upx;
- padding: 6upx 12upx;
- height: auto;
- background-color: rgba(0, 0, 0, 0.5);
- }
- .grid.grid-square>view>text[class*="cuIcon-"] {
- font-size: 52upx;
- position: absolute;
- color: #8799a3;
- margin: auto;
- top: 0;
- bottom: 0;
- left: 0;
- right: 0;
- display: flex;
- justify-content: center;
- align-items: center;
- flex-direction: column;
- }
- .grid.grid-square>view {
- margin-right: 20upx;
- margin-bottom: 20upx;
- border-radius: 6upx;
- position: relative;
- overflow: hidden;
- }
- .grid.grid-square>view.bg-img image {
- width: 100%;
- height: 100%;
- position: absolute;
- }
- .grid.col-1.grid-square>view {
- padding-bottom: 100%;
- height: 0;
- margin-right: 0;
- }
- .grid.col-2.grid-square>view {
- padding-bottom: calc((100% - 20upx)/2);
- height: 0;
- width: calc((100% - 20upx)/2);
- }
- .grid.col-3.grid-square>view {
- padding-bottom: calc((100% - 40upx)/3);
- height: 0;
- width: calc((100% - 40upx)/3);
- }
- .grid.col-4.grid-square>view {
- padding-bottom: calc((100% - 60upx)/4);
- height: 0;
- width: calc((100% - 60upx)/4);
- }
- .grid.col-5.grid-square>view {
- padding-bottom: calc((100% - 80upx)/5);
- height: 0;
- width: calc((100% - 80upx)/5);
- }
- .grid.col-2.grid-square>view:nth-child(2n),
- .grid.col-3.grid-square>view:nth-child(3n),
- .grid.col-4.grid-square>view:nth-child(4n),
- .grid.col-5.grid-square>view:nth-child(5n) {
- margin-right: 0;
- }
- .grid.col-1>view {
- width: 100%;
- }
- .grid.col-2>view {
- width: 50%;
- }
- .grid.col-3>view {
- width: 33.33%;
- }
- .grid.col-4>view {
- width: 25%;
- }
- .grid.col-5>view {
- width: 20%;
- }
- /* -- 内外边距 -- */
- .margin-0 {
- margin: 0;
- }
- .margin-xs {
- margin: 10upx;
- }
- .margin-sm {
- margin: 20upx;
- }
- .margin {
- margin: 30upx;
- }
- .margin-lg {
- margin: 40upx;
- }
- .margin-xl {
- margin: 50upx;
- }
- .margin-top-xs {
- margin-top: 10upx;
- }
- .margin-top-sm {
- margin-top: 20upx;
- }
- .margin-top {
- margin-top: 30upx;
- }
- .margin-top-lg {
- margin-top: 40upx;
- }
- .margin-top-xl {
- margin-top: 50upx;
- }
- .margin-right-xs {
- margin-right: 10upx;
- }
- .margin-right-sm {
- margin-right: 20upx;
- }
- .margin-right {
- margin-right: 30upx;
- }
- .margin-right-lg {
- margin-right: 40upx;
- }
- .margin-right-xl {
- margin-right: 50upx;
- }
- .margin-bottom-xs {
- margin-bottom: 10upx;
- }
- .margin-bottom-sm {
- margin-bottom: 20upx;
- }
- .margin-bottom {
- margin-bottom: 30upx;
- }
- .margin-bottom-lg {
- margin-bottom: 40upx;
- }
- .margin-bottom-xl {
- margin-bottom: 50upx;
- }
- .margin-left-xs {
- margin-left: 10upx;
- }
- .margin-left-sm {
- margin-left: 20upx;
- }
- .margin-left {
- margin-left: 30upx;
- }
- .margin-left-lg {
- margin-left: 40upx;
- }
- .margin-left-xl {
- margin-left: 50upx;
- }
- .margin-lr-xs {
- margin-left: 10upx;
- margin-right: 10upx;
- }
- .margin-lr-sm {
- margin-left: 20upx;
- margin-right: 20upx;
- }
- .margin-lr {
- margin-left: 30upx;
- margin-right: 30upx;
- }
- .margin-lr-lg {
- margin-left: 40upx;
- margin-right: 40upx;
- }
- .margin-lr-xl {
- margin-left: 50upx;
- margin-right: 50upx;
- }
- .margin-tb-xs {
- margin-top: 10upx;
- margin-bottom: 10upx;
- }
- .margin-tb-sm {
- margin-top: 20upx;
- margin-bottom: 20upx;
- }
- .margin-tb {
- margin-top: 30upx;
- margin-bottom: 30upx;
- }
- .margin-tb-lg {
- margin-top: 40upx;
- margin-bottom: 40upx;
- }
- .margin-tb-xl {
- margin-top: 50upx;
- margin-bottom: 50upx;
- }
- .padding-0 {
- padding: 0;
- }
- .padding-xs {
- padding: 10upx;
- }
- .padding-sm {
- padding: 20upx;
- }
- .padding {
- padding: 30upx;
- }
- .padding-lg {
- padding: 40upx;
- }
- .padding-xl {
- padding: 50upx;
- }
- .padding-top-xs {
- padding-top: 10upx;
- }
- .padding-top-sm {
- padding-top: 20upx;
- }
- .padding-top {
- padding-top: 30upx;
- }
- .padding-top-lg {
- padding-top: 40upx;
- }
- .padding-top-xl {
- padding-top: 50upx;
- }
- .padding-right-xs {
- padding-right: 10upx;
- }
- .padding-right-sm {
- padding-right: 20upx;
- }
- .padding-right {
- padding-right: 30upx;
- }
- .padding-right-lg {
- padding-right: 40upx;
- }
- .padding-right-xl {
- padding-right: 50upx;
- }
- .padding-bottom-xs {
- padding-bottom: 10upx;
- }
- .padding-bottom-sm {
- padding-bottom: 20upx;
- }
- .padding-bottom {
- padding-bottom: 30upx;
- }
- .padding-bottom-lg {
- padding-bottom: 40upx;
- }
- .padding-bottom-xl {
- padding-bottom: 50upx;
- }
- .padding-left-xs {
- padding-left: 10upx;
- }
- .padding-left-sm {
- padding-left: 20upx;
- }
- .padding-left {
- padding-left: 30upx;
- }
- .padding-left-lg {
- padding-left: 40upx;
- }
- .padding-left-xl {
- padding-left: 50upx;
- }
- .padding-lr-xs {
- padding-left: 10upx;
- padding-right: 10upx;
- }
- .padding-lr-sm {
- padding-left: 20upx;
- padding-right: 20upx;
- }
- .padding-lr {
- padding-left: 30upx;
- padding-right: 30upx;
- }
- .padding-lr-lg {
- padding-left: 40upx;
- padding-right: 40upx;
- }
- .padding-lr-xl {
- padding-left: 50upx;
- padding-right: 50upx;
- }
- .padding-tb-xs {
- padding-top: 10upx;
- padding-bottom: 10upx;
- }
- .padding-tb-sm {
- padding-top: 20upx;
- padding-bottom: 20upx;
- }
- .padding-tb {
- padding-top: 30upx;
- padding-bottom: 30upx;
- }
- .padding-tb-lg {
- padding-top: 40upx;
- padding-bottom: 40upx;
- }
- .padding-tb-xl {
- padding-top: 50upx;
- padding-bottom: 50upx;
- }
- /* -- 浮动 -- */
- .cf::after,
- .cf::before {
- content: " ";
- display: table;
- }
- .cf::after {
- clear: both;
- }
- .fl {
- float: left;
- }
- .fr {
- float: right;
- }
- /* ==================
- 背景
- ==================== */
- .line-red::after,
- .lines-red::after {
- border-color: #e54d42;
- }
- .line-orange::after,
- .lines-orange::after {
- border-color: #f37b1d;
- }
- .line-yellow::after,
- .lines-yellow::after {
- border-color: #fbbd08;
- }
- .line-olive::after,
- .lines-olive::after {
- border-color: #8dc63f;
- }
- .line-green::after,
- .lines-green::after {
- border-color: #39b54a;
- }
- .line-cyan::after,
- .lines-cyan::after {
- border-color: #1cbbb4;
- }
- .line-blue::after,
- .lines-blue::after {
- border-color: #0081ff;
- }
- .line-purple::after,
- .lines-purple::after {
- border-color: #6739b6;
- }
- .line-mauve::after,
- .lines-mauve::after {
- border-color: #9c26b0;
- }
- .line-pink::after,
- .lines-pink::after {
- border-color: #e03997;
- }
- .line-brown::after,
- .lines-brown::after {
- border-color: #a5673f;
- }
- .line-grey::after,
- .lines-grey::after {
- border-color: #8799a3;
- }
- .line-gray::after,
- .lines-gray::after {
- border-color: #aaaaaa;
- }
- .line-black::after,
- .lines-black::after {
- border-color: #333333;
- }
- .line-white::after,
- .lines-white::after {
- border-color: #ffffff;
- }
- .bg-red {
- background-color: #f00;
- color: #ffffff;
- }
- .bg-orange {
- background-color: #f37b1d;
- color: #ffffff;
- }
- .bg-yellow {
- background-color: #fbbd08;
- color: #333333;
- }
- .bg-olive {
- background-color: #8dc63f;
- color: #ffffff;
- }
- .bg-green {
- background-color: #06d69c;
- color: #ffffff;
- }
- .bg-cyan {
- background-color: #1cbbb4;
- color: #ffffff;
- }
- .bg-blue {
- background-color: #0081ff;
- color: #ffffff;
- }
- .bg-purple {
- background-color: #6739b6;
- color: #ffffff;
- }
- .bg-mauve {
- background-color: #9c26b0;
- color: #ffffff;
- }
- .bg-pink {
- background-color: #e03997;
- color: #ffffff;
- }
- .bg-brown {
- background-color: #fddcbd;
- color: #000;
- }
- .bg-grey {
- background-color: #e6eaea;
- color: #ffffff;
- }
- .bg-gray {
- background-color: #f4f0f0;
- color: #333333;
- }
- .bg-darkgray {
- background-color: #eee;
- color: #333333;
- }
- .bg-lightgray {
- background-color: #f9f7fa;
- color: #333333;
- }
- .bg-black {
- background-color: #333333;
- color: #ffffff;
- }
- .bg-lightblack {
- background-color: #666;
- color: #ffffff;
- }
- .bg-darkblack {
- background-color: #000;
- color: #ffffff;
- }
- .bg-darkgrey {
- background-color: #c6c6c6;
- color: #ffffff;
- }
- .bg-white {
- background-color: #ffffff;
- color: #666666;
- }
- .bg-shadeTop {
- background-image: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.01));
- color: #ffffff;
- }
- .bg-shadeBottom {
- background-image: linear-gradient(rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 1));
- color: #ffffff;
- }
- .bg-red.light {
- color: #e54d42;
- background-color: #fadbd9;
- }
- .bg-orange.light {
- color: #f37b1d;
- background-color: #fde6d2;
- }
- .bg-yellow.light {
- color: #fbbd08;
- background-color: #fef2ced2;
- }
- .bg-olive.light {
- color: #8dc63f;
- background-color: #e8f4d9;
- }
- .bg-green.light {
- color: #39b54a;
- background-color: #d7f0dbff;
- }
- .bg-cyan.light {
- color: #1cbbb4;
- background-color: #d2f1f0;
- }
- .bg-blue.light {
- color: #0081ff;
- background-color: #cce6ff;
- }
- .bg-purple.light {
- color: #6739b6;
- background-color: #e1d7f0;
- }
- .bg-mauve.light {
- color: #9c26b0;
- background-color: #ebd4ef;
- }
- .bg-pink.light {
- color: #e03997;
- background-color: #f9d7ea;
- }
- .bg-brown.light {
- color: #a5673f;
- background-color: #ede1d9;
- }
- .bg-grey.light {
- color: #8799a3;
- background-color: #e7ebed;
- }
- .bg-gradual-red {
- background-image: linear-gradient(45deg, #f43f3b, #ec008c);
- color: #ffffff;
- }
- .bg-gradual-orange {
- background-image: linear-gradient(45deg, #ff9700, #ed1c24);
- color: #ffffff;
- }
- .bg-gradual-green {
- background: linear-gradient(to bottom, #06d69c 60%,#f9f9f9 40% );
- color: #ffffff;
- }
- .bg-gradual-purple {
- background-image: linear-gradient(45deg, #9000ff, #5e00ff);
- color: #ffffff;
- }
- .bg-gradual-pink {
- background-image: linear-gradient(45deg, #ec008c, #6739b6);
- color: #ffffff;
- }
- .bg-gradual-blue {
- background-image: linear-gradient(45deg, #0081ff, #1cbbb4);
- color: #ffffff;
- }
- .shadow[class*="-red"] {
- box-shadow: 6upx 6upx 8upx rgba(204, 69, 59, 0.2);
- }
- .shadow[class*="-orange"] {
- box-shadow: 6upx 6upx 8upx rgba(217, 109, 26, 0.2);
- }
- .shadow[class*="-yellow"] {
- box-shadow: 6upx 6upx 8upx rgba(224, 170, 7, 0.2);
- }
- .shadow[class*="-olive"] {
- box-shadow: 6upx 6upx 8upx rgba(124, 173, 55, 0.2);
- }
- .shadow[class*="-green"] {
- box-shadow: 6upx 6upx 8upx rgba(48, 156, 63, 0.2);
- }
- .shadow[class*="-cyan"] {
- box-shadow: 6upx 6upx 8upx rgba(28, 187, 180, 0.2);
- }
- .shadow[class*="-blue"] {
- box-shadow: 6upx 6upx 8upx rgba(0, 102, 204, 0.2);
- }
- .shadow[class*="-purple"] {
- box-shadow: 6upx 6upx 8upx rgba(88, 48, 156, 0.2);
- }
- .shadow[class*="-mauve"] {
- box-shadow: 6upx 6upx 8upx rgba(133, 33, 150, 0.2);
- }
- .shadow[class*="-pink"] {
- box-shadow: 6upx 6upx 8upx rgba(199, 50, 134, 0.2);
- }
- .shadow[class*="-brown"] {
- box-shadow: 6upx 6upx 8upx rgba(140, 88, 53, 0.2);
- }
- .shadow[class*="-grey"] {
- box-shadow: 6upx 6upx 8upx rgba(114, 130, 138, 0.2);
- }
- .shadow[class*="-gray"] {
- box-shadow: 6upx 6upx 8upx rgba(114, 130, 138, 0.2);
- }
- .shadow[class*="-black"] {
- box-shadow: 6upx 6upx 8upx rgba(26, 26, 26, 0.2);
- }
- .shadow-black{box-shadow: 0upx 0upx 20upx 0upx rgba(26, 26, 26, 0.1);}
- .shadow[class*="-white"] {
- box-shadow: 6upx 6upx 8upx rgba(26, 26, 26, 0.2);
- }
- .text-shadow[class*="-red"] {
- text-shadow: 6upx 6upx 8upx rgba(204, 69, 59, 0.2);
- }
- .text-shadow[class*="-orange"] {
- text-shadow: 6upx 6upx 8upx rgba(217, 109, 26, 0.2);
- }
- .text-shadow[class*="-yellow"] {
- text-shadow: 6upx 6upx 8upx rgba(224, 170, 7, 0.2);
- }
- .text-shadow[class*="-olive"] {
- text-shadow: 6upx 6upx 8upx rgba(124, 173, 55, 0.2);
- }
- .text-shadow[class*="-green"] {
- text-shadow: 6upx 6upx 8upx rgba(48, 156, 63, 0.2);
- }
- .text-shadow[class*="-cyan"] {
- text-shadow: 6upx 6upx 8upx rgba(28, 187, 180, 0.2);
- }
- .text-shadow[class*="-blue"] {
- text-shadow: 6upx 6upx 8upx rgba(0, 102, 204, 0.2);
- }
- .text-shadow[class*="-purple"] {
- text-shadow: 6upx 6upx 8upx rgba(88, 48, 156, 0.2);
- }
- .text-shadow[class*="-mauve"] {
- text-shadow: 6upx 6upx 8upx rgba(133, 33, 150, 0.2);
- }
- .text-shadow[class*="-pink"] {
- text-shadow: 6upx 6upx 8upx rgba(199, 50, 134, 0.2);
- }
- .text-shadow[class*="-brown"] {
- text-shadow: 6upx 6upx 8upx rgba(140, 88, 53, 0.2);
- }
- .text-shadow[class*="-grey"] {
- text-shadow: 6upx 6upx 8upx rgba(114, 130, 138, 0.2);
- }
- .text-shadow[class*="-gray"] {
- text-shadow: 6upx 6upx 8upx rgba(114, 130, 138, 0.2);
- }
- .text-shadow[class*="-black"] {
- text-shadow: 6upx 6upx 8upx rgba(26, 26, 26, 0.2);
- }
- .bg-img {
- background-size: cover;
- background-position: center;
- background-repeat: no-repeat;
- }
- .bg-mask {
- background-color: #333333;
- position: relative;
- }
- .bg-mask::after {
- content: "";
- border-radius: inherit;
- width: 100%;
- height: 100%;
- display: block;
- background-color: rgba(0, 0, 0, 0.4);
- position: absolute;
- left: 0;
- right: 0;
- bottom: 0;
- top: 0;
- }
- .bg-mask view,
- .bg-mask cover-view {
- z-index: 5;
- position: relative;
- }
- .bg-video {
- position: relative;
- }
- .bg-video video {
- display: block;
- height: 100%;
- width: 100%;
- -o-object-fit: cover;
- object-fit: cover;
- position: absolute;
- top: 0;
- z-index: 0;
- pointer-events: none;
- }
- /* ==================
- 文本
- ==================== */
- .text-xs {
- font-size: 20upx;
- }
- .text-sm {
- font-size: 24upx;
- }
- .text-df {
- font-size: 28upx;
- }
- .text-lg {
- font-size: 32upx;
- }
- .text-xl {
- font-size: 36upx;
- }
- .text-xxl {
- font-size: 44upx;
- }
- .text-sl {
- font-size: 80upx;
- }
- .text-xsl {
- font-size: 120upx;
- }
- .text-Abc {
- text-transform: Capitalize;
- }
- .text-ABC {
- text-transform: Uppercase;
- }
- .text-abc {
- text-transform: Lowercase;
- }
- .text-italic {
- font-style:italic
- }
- .text-oblique {
- font-style:oblique
- }
- .text-price::before {
- content: "¥";
- font-size: 80%;
- margin-right: 4upx;
- }
- .text-cut {
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
- }
- .text-bold {
- font-weight: bold;
- }
- .text-center {
- text-align: center;
- }
- .text-content {
- line-height: 1.6;
- }
- .text-left {
- text-align: left;
- }
- .text-right {
- text-align: right;
- }
- .text-red,
- .line-red,
- .lines-red {
- color: #e54d42;
- }
- .text-orange,
- .line-orange,
- .lines-orange {
- color: #f37b1d;
- }
- .text-yellow,
- .line-yellow,
- .lines-yellow {
- color: #fbbd08;
- }
- .text-olive,
- .line-olive,
- .lines-olive {
- color: #8dc63f;
- }
- .text-green,
- .line-green,
- .lines-green {
- color: #39b54a;
- }
- .text-cyan,
- .line-cyan,
- .lines-cyan {
- color: #1cbbb4;
- }
- .text-blue,
- .line-blue,
- .lines-blue {
- color: #0081ff;
- }
- .text-purple,
- .line-purple,
- .lines-purple {
- color: #6739b6;
- }
- .text-mauve,
- .line-mauve,
- .lines-mauve {
- color: #9c26b0;
- }
- .text-pink,
- .line-pink,
- .lines-pink {
- color: #e03997;
- }
- .text-brown,
- .line-brown,
- .lines-brown {
- color: #a5673f;
- }
- .text-grey,
- .line-grey,
- .lines-grey {
- color: #8799a3;
- }
- .text-gray,
- .line-gray,
- .lines-gray {
- color: #aaaaaa;
- }
- .text-lightblack,
- .line-lightblack,
- .lines-lightblack {
- color: #666;
- }
- .text-darkblack,
- .line-darkblack,
- .lines-darkblack {
- color: #000;
- }
- .text-black,
- .line-black,
- .lines-black {
- color: #333333;
- }
- .text-white,
- .line-white,
- .lines-white {
- color: #ffffff;
- }
- .fixedtop{width: 100%;position: fixed;z-index: 99;top: 0upx;}
- .fixed {width: 100%;padding:60upx 10upx 10upx;position: fixed;z-index: 99;top: 0upx;}
- .fixedbottom{width: 100%;position: fixed;z-index: 99;bottom: 30upx;}
|