123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579 |
- *{
- margin: 0;
- padding: 0;
- }
- html {
- -webkit-text-size-adjust: 100%;
- -ms-text-size-adjust: 100%;
- /* 解决IOS默认滑动很卡的情况 */
- -webkit-overflow-scrolling : touch;
- }
- body{
- -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
- font-size: .16rem;
- }
- /* 禁止缩放表单 */
- input[type="submit"], input[type="reset"], input[type="button"], input {
- resize: none;
- border: none;
- }
- ol,li,ul,dl,dt,dd{
- list-style:none;
- }
- img{
- height: auto;
- object-fit: cover;
- }
- em, i {
- font-style: normal;
- }
- textarea {
- resize:none;
- }
- p {
- word-wrap:break-word;
- }
- a{
- text-decoration: none;
- color: inherit;
- outline: none;
- -moz-outline-style: none;
- }
- a:active, a:focus {
- outline: none;
- }
- .textEllipsis{
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
- }
- /* <-- start 头部模块 */
- .headerContainer{
- width: 100%;
- background-color: #FFF;
- position: sticky;
- top: 0;
- left: 0;
- right: 0;
- z-index: 99;
- -webkit-box-shadow: 0 .02rem .05rem rgba(0,0,0,.03);
- box-shadow: 0 .02rem .05rem rgba(0,0,0,.03);
- }
- .warnContainer{
- background-color: #434344;
- width: 100%;
- height: .5rem;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .warnContainer .warnText{
- max-width: 13.2rem;
- word-break: break-all;
- line-height: 1.4;
- font-weight: bold;
- font-size: .16rem;
- color: rgba(255, 255, 255, .7);
- }
- /* PC端头部 */
- #computerEndHeader{
- width: 13.2rem;
- height: .7rem;
- margin: 0 auto;
- display: flex;
- justify-content: space-between;
- align-items: center;
- cursor: pointer;
- }
- #computerEndHeader .computerLogo{
- color: rgba(79, 73, 222, 1);
- font-weight: bold;
- font-size: .28rem;
- padding-right: .5rem;
- }
- #computerEndHeader .computerLogo img{
- height: .22rem;
- width: auto;
- }
- .headNavContainer{
- flex: 1;
- display: flex;
- align-items: center;
- height: 100%;
- overflow: hidden;
- }
- .headNavItem{
- height: .7rem;
- display: flex;
- align-items: center;
- justify-content: center;
- position: relative;
- margin-right: .36rem;
- }
- .headNavItem .headNavTitle{
- padding: 0 .28rem;
- font-weight: bold;
- color: #333333;
- font-size: .22rem;
- position: relative;
- z-index: 2;
- letter-spacing: .02rem;
- min-width: 1.5rem;
- }
- .headNavItem.active .headNavTitle{
- color: #FFFFFF;
- font-size: .24rem;
- }
- .headNavItem.active .back{
- position: absolute;
- width: 100%;
- height: 116%;
- top: -8%;
- left: 0;
- border-radius: .04rem;
- background-color: rgba(79, 73, 222, 1);
- z-index: 1;
- }
- .headIconContainer{
- display: flex;
- align-items: center;
- height: 100%;
- }
- .headIconContainer .headIconItem{
- padding: 0 .2rem;
- height: .7rem;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .headIconContainer .headIconItem img{
- height: .24rem;
- }
- .headIconContainer .headIconItem .cart img{
- height: .28rem;
- }
- /* 移动端头部 */
- #mobileEndHeader{
- display: none;
- position: relative;
- }
- .mobileEndHeaderConten{
- padding: 0 .24rem;
- height:.9rem;
- display: flex;
- flex: 1;
- align-items: center;
- justify-content: space-between;
- }
- .mobileEndHeaderConten .mobileLogo{
- color: rgba(79, 73, 222, 1);
- font-weight: bold;
- font-size: .28rem;
- padding-right: .5rem;
- }
- .mobileEndHeaderConten .mobileLogo img{
- height: .3rem;
- width: auto;
- }
- .mobileUserIconList{
- display: flex;
- flex: 1;
- align-items: center;
- justify-content: flex-end;
- padding-right: .24rem;
- }
- .mobileUserIcon img{
- height: .3rem;
- }
- #mobileMenuBot {
- height: .4rem;
- display: flex;
- align-items: center;
- }
- #mobileMenuLink {
- display: block;
- position: relative;
- width: .42rem;
- height: .06rem;
- background-color: #666666;
- border-radius: .08rem;
- }
- #mobileMenuLink:before,
- #mobileMenuLink:after {
- content: '';
- display: block;
- width: 100%;
- height: 100%;
- border-radius: .08rem;
- margin-top: .13rem;
- position: absolute;
- background: #666666;
- -webkit-transition-property: margin, -webkit-transform;
- transition-property: margin, -webkit-transform;
- transition-property: margin, transform;
- transition-property: margin, transform, -webkit-transform;
- -webkit-transition-duration: 200ms;
- transition-duration: 200ms;
- }
- #mobileMenuLink:before {
- margin-top: -.13rem;
- }
- #mobileMenuLink:after {
- margin-top: .13rem;
- }
- .open #mobileMenuLink {
- background: none
- }
- .open #mobileMenuLink:before {
- margin-top: 0;
- transform: rotate(45deg);
- -moz-transform: rotate(45deg);
- -webkit-transform: rotate(45deg);
- -o-transform: rotate(45deg);
- }
- .open #mobileMenuLink:after {
- margin-top: 0;
- transform: rotate(-45deg);
- -moz-transform: rotate(-45deg);
- -webkit-transform: rotate(-45deg);
- -o-transform: rotate(-45deg);
- }
- .open #mobileMenuLink:before,
- .open #mobileMenuLink:after {
- background: #666666;
- }
- .mobileMenuFixed{
- position: absolute;
- background: white;
- border-radius: .12rem;
- min-width: 3rem;
- max-width: 5rem;
- padding: .12rem .24rem;
- top: 1rem;
- right: .08rem;
- z-index: 999;
- display: none;
- }
- .mobileMenuItem{
- border-bottom: .01rem solid #dfdfdf;
- }
- .mobileMenuFixed .mobileMenuItem:last-child{
- border: none;
- }
- .mobileMenuItem .menuItemTitle{
- height: .8rem;
- display: flex;
- align-items: center;
- font-size: .22rem;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- color: #434343;
- }
- .mobileMenuItem.active .menuItemTitle{
- color: rgba(79, 73, 222, 1);
- }
- /* end 头部模块 --> */
- /* start 年龄提示模块 --> */
- .maskContainer{
- position: fixed;
- width: 100vw;
- height: 100vh;
- z-index: 999;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- background-color: rgba(0, 0, 0, .5);
- display: none;
- }
- .ageReminderBox{
- width: 7rem;
- background-color: #FFF;
- height: 3.8rem;
- left: 50%;
- transform: translateX(-50%);
- top: 30%;
- position: absolute;
- }
- .ageReminderBack{
- position: absolute;
- z-index: 1;
- height: 100%;
- width: 100%;
- top: 0;
- left: 0;
- }
- .ageReminderInfo{
- position: relative;
- z-index: 2;
- margin-left: .32rem;
- padding-top: 1rem;
- color: #fff;
- }
- .ageReminderInfo h3{
- line-height: 1.4;
- font-size: .36rem;
- max-width: 60%;
- font-weight: bold;
- }
- .ageReminderInfo .ageReminderButBox{
- display: flex;
- align-items: center;
- padding-top: .32rem;
- }
- .ageReminderInfo .ageReminderButBox .ageRBut{
- color: rgba(237, 109, 244, 1);
- background-color: #fff;
- display: flex;
- align-items: center;
- justify-content: center;
- height: .56rem;
- border-radius: .08rem;
- font-size: .22rem;
- font-weight: bold;
- min-width: 1.6rem;
- padding: 0 .12rem;
- margin-right: .32rem;
- cursor: pointer;
- }
- /* end 年龄提示模块 --> */
- /* <-- start 底部模块 */
- .footerContainer{
- width: 100%;
- height: 1.50rem;
- background-color: rgba(32, 32, 32, 1);
- }
- .footerConter{
- color: #FFF;
- padding-top: .3rem;
- display: flex;
- }
- .leftText{
- max-width: 2rem;
- margin-right: .8rem;
- }
- .leftText .ltK{
- font-weight: bold;
- font-size: .18rem;
- word-break: break-all;
- padding-bottom: .06rem;
- }
- .leftText .ltV{
- font-size: .14rem;
- color: rgba(255, 255, 255, .6);
- word-break: break-all;
- }
- .footerInuptBox{
- background: #FFF;
- flex: 1;
- height: .5rem;
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 0 .16rem 0 .12rem;
- max-width: 5rem;
- margin-right: 1.5rem;
- }
- .footerInuptBox .mailIcon{
- width: .38rem;
- height: .38rem;
- }
- .footerInupt{
- flex: 1;
- height: 100%;
- outline: none;
- font-size: .18rem;
- margin: 0 .12rem;
- }
- .footerInuptBox .arrowIcon{
- height: .19rem;
- width: auto;
- }
- .footerIconContainer{
- max-width: 4rem;
- }
- .footerIconList{
- overflow-x: scroll;
- white-space: nowrap;
- }
- .footerIconList::-webkit-scrollbar {
- display: none;
- }
- .footerIconItem{
- margin-right: .1rem;
- display: inline-flex;
- }
- .footerIconItem img{
- width: .48rem;
- height: .48rem;
- border-radius: 50%;
- }
- .footerVlsaImg{
- display: flex;
- flex-wrap: wrap;
- padding-top: .1rem;
- }
- .footerVlsaItem{
- font-size: 0;
- }
- .footerVlsaImg img{
- width: .4rem;
- height: .26rem;
- }
- #toastContainer {
- position: fixed;
- top: 40%;
- left: 50%;
- transform: translateX(-50%);
- background-color: #333;
- color: #fff;
- padding: .08rem .12rem;
- border-radius: .04rem;
- word-break: break-all;
- z-index: 9999;
- display: none;
- font-size: .18rem;
- max-width: 70%;
- text-align: center;
- line-height: 1.4;
- }
- /* end 底部模块 --> */
- @media (max-width: 1320px) {
- #computerEndHeader{
- width: auto;
- }
- .computerLogo{
- margin-left: .12rem;
- }
- .headIconContainer{
- margin-right: .12rem;
- }
- .headNavItem .headNavTitle{
- font-size: .22rem;
- }
- .headNavItem.active .headNavTitle{
- font-size: .26rem;
- }
- }
- @media (max-width: 1199px) {
- .warnContainer{
- height: auto;
- }
- .warnContainer .warnText{
- font-size: .22rem;
- padding: .06rem .24rem;
- }
- .warnContainer .warnText{
- font-size: .15rem;
- }
- #computerEndHeader{
- display: none;
- }
- #mobileEndHeader{
- display: flex;
- }
- .footerContainer{
- height: auto;
- }
- .footerConter{
- display: block;
- padding: .24rem .12rem;
- }
- .leftText{
- max-width: none;
- margin-right: 0;
- margin-bottom: .32rem;
- }
- .leftText .ltK{
- font-size: .2rem;
- }
- .leftText .ltV{
- font-size: .18rem;
- }
- .footerInuptBox{
- max-width: 6rem;
- margin-right: 0;
- height: .6rem;
- margin-bottom: .32rem;
- }
- .footerIconContainer{
- max-width: none;
- }
- .footerIconList{
- white-space: normal;
- overflow-x: hidden;
- display: flex;
- flex-wrap: wrap;
- margin-bottom: .12rem;
- }
- .footerIconItem{
- display: block;
- margin-right: .24rem;
- }
- }
- @media (max-width: 899px) {
- .ageReminderBox{
- width: 6rem;
- height: 3rem;
- }
- .ageReminderInfo{
- padding-top: .6rem;
- }
- .ageReminderInfo h3{
- font-size: .3rem;
- }
- .ageReminderInfo .ageReminderButBox .ageRBut{
- font-size: .2rem;
- min-width: 1rem;
- }
- .leftText .ltK{
- font-size: .22rem;
- }
- .leftText .ltV{
- font-size: .2rem;
- }
- .footerIconItem img{
- width: .5rem;
- height: .5rem;
- }
- .footerVlsaImg img{
- height: .4rem;
- }
- #toastContainer{
- font-size: .24rem;
- padding: .1rem .16rem;
- }
- .footerConter{
- padding: .24rem;
- }
- }
|