/**/ * { margin: 0; padding: 0; box-sizing: border-box; } html { font-size: 100px; scroll-behavior: smooth; } body { font-size: 12px; color: #212121; -webkit-text-size-adjust: none; -webkit-font-smoothing: antialiased; } body.show { opacity: 1; } a { color: #212121; text-decoration: none; outline: none; } a:active { star: expression(this.onFocus=this.blur()); } a:link { text-decoration: none; outline: none; } a:visited { text-decoration: none; outline: none; } a:hover { text-decoration: none; color: #f00; outline: none; } li { list-style: outside none; } li { list-style-type: none; } h1 { font-size: 16px; } h2, h3, h4, h5 { font-size: 14px; } h5 { font-size: 12px; } textarea, input { background: transparent; font-size: 12px; color: #888; outline: none; border: 0; } em { font-style: normal; } img { vertical-align: middle; max-width: 100%; border: 0; object-fit: cover; } /*accessories*/ .accessories { max-width: 16rem; margin: 0 auto; padding-top: .6rem; } .accessories .form { margin-bottom: .85rem; display: flex; justify-content: space-between; } .accessories .form .input { position: relative; width: 100%; border: #BFD1E2 solid 1px; height: .7rem; } .accessories .form .input input { width: 100%; height: .68rem; line-height: .68rem; font-size: .18rem; padding: 0 .3rem; color: #333; } .accessories .form .input input input::-webkit-input-placeholder { color: #BFD1E2; } .accessories .form .input input input::-moz-placeholder { color: #BFD1E2; } .accessories .form .input input input:-moz-placeholder { color: #BFD1E2; } .accessories .form .input input input:-ms-input-placeholder { color: #BFD1E2; } .accessories .form .input input textarea::-webkit-input-placeholder { color: #BFD1E2; } .accessories .form .input input textarea::-moz-placeholder { color: #BFD1E2; } .accessories .form .input input textarea:-moz-placeholder { color: #BFD1E2; } .accessories .form .input input textarea:-ms-input-placeholder { color: #BFD1E2; } .accessories .form .input p { position: absolute; left: 0; top: 100%; margin-top: .12rem; font-size: .16rem; color: #EB053B; } .accessories .form .submit { flex-shrink: 0; cursor: pointer; position: relative; font-size: .18rem; color: #fff; width: 2.4rem; margin-left: .3rem; height: .7rem; display: flex; align-items: center; justify-content: center; border: 1px solid #7FA3C5; } .accessories .form .submit:before { content: ''; display: block; position: absolute; left: .05rem; top: .05rem; right: .05rem; bottom: .05rem; background: #01478B; } .accessories .form .submit em { position: relative; } .accessories .form .input .line { position: absolute; z-index: 5; pointer-events: none; width: .09rem; height: .09rem; } .accessories .form .input .line.line-l-t { left: -1px; top: -1px; border-left: #7fa3c5 solid 1px; border-top: #7fa3c5 solid 1px; } .accessories .form .input .line.line-r-t { right: -1px; top: -1px; border-right: #7fa3c5 solid 1px; border-top: #7fa3c5 solid 1px; } .accessories .form .input .line.line-l-b { left: -1px; bottom: -1px; border-left: #7fa3c5 solid 1px; border-bottom: #7fa3c5 solid 1px; } .accessories .form .input .line.line-r-b { right: -1px; bottom: -1px; border-right: #7fa3c5 solid 1px; border-bottom: #7fa3c5 solid 1px; } .accessories .form .submit .line { position: absolute; z-index: 5; pointer-events: none; width: .09rem; height: .09rem; } .accessories .form .submit .line.line-l-t { left: -1px; top: -1px; border-left: #01478b solid 1px; border-top: #01478b solid 1px; } .accessories .form .submit .line.line-r-t { right: -1px; top: -1px; border-right: #01478b solid 1px; border-top: #01478b solid 1px; } .accessories .form .submit .line.line-l-b { left: -1px; bottom: -1px; border-left: #01478b solid 1px; border-bottom: #01478b solid 1px; } .accessories .form .submit .line.line-r-b { right: -1px; bottom: -1px; border-right: #01478b solid 1px; border-bottom: #01478b solid 1px; } .accessories .list > ul { display: flex; flex-wrap: wrap; margin-left: -.98rem; margin-bottom: -.5rem; } .accessories .list > ul > li { width: 33.333%; padding: 0 0 .5rem .98rem; position: relative; } .accessories .list > ul > li:before { content: ''; position: absolute; display: block; left: .98rem; bottom: .5rem; right: 0; height: 1px; background: #BFD1E2; transition: .5s; } .accessories .list > ul > li .item .img { padding: .39rem .37rem; position: relative; background: url("../image/bg.jpg") center no-repeat; background-size: 100% 100%; border: 1px solid #BFD1E2; } .accessories .list > ul > li .item .img .img-list { width: 100%; height: 2.5rem; overflow: hidden; position: relative; } .accessories .list > ul > li .item .img .dots-wrapper { position: absolute; z-index: 5; left: 0; right: 0; bottom: .18rem; display: flex; justify-content: center; } .accessories .list > ul > li .item .img .dots-wrapper .dots { display: flex; justify-content: center; } .accessories .list > ul > li .item .img .dots-wrapper .dots span { margin: 0 .03rem; width: .1rem; height: .04rem; background: #01478B; opacity: 0.2; } .accessories .list > ul > li .item .img .dots-wrapper .dots span.on { opacity: 1; width: .24rem; } .accessories .list > ul > li .item .img img { width: 100%; height: 2.5rem; object-fit: contain; } .accessories .list > ul > li .item .img .line { position: absolute; z-index: 5; pointer-events: none; transition: .5s; width: .18rem; height: .18rem; opacity: 0; } .accessories .list > ul > li .item .img .line.line-l-t { left: -1px; top: -1px; border-left: #01478b solid 1px; border-top: #01478b solid 1px; } .accessories .list > ul > li .item .img .line.line-r-t { right: -1px; top: -1px; border-right: #01478b solid 1px; border-top: #01478b solid 1px; } .accessories .list > ul > li .item .img .line.line-l-b { left: -1px; bottom: -1px; border-left: #01478b solid 1px; border-bottom: #01478b solid 1px; } .accessories .list > ul > li .item .img .line.line-r-b { right: -1px; bottom: -1px; border-right: #01478b solid 1px; border-bottom: #01478b solid 1px; } .accessories .list > ul > li .item .name { text-align: center; line-height: .3rem; padding: .2rem 0; font-size: .2rem; color: #5C6166; transition: .5s; display: block; } .accessories .list > ul > li:hover:before { background: #01478B; } .accessories .list > ul > li:hover .item .img .line { opacity: 1; } .accessories-page-num { display: flex; align-items: center; justify-content: center; padding: .6rem 0 1.2rem 0; } .accessories-page-num a { width: .5rem; margin: 0 .15rem; } .accessories-page-num b { font-size: .6rem; line-height: 1em; color: #01478B; position: relative; top: -.1rem; } .accessories-page-num span { font-size: .28rem; color: #999999; } @media screen and (max-width: 800px) { html { font-size: 50px; } .accessories { padding: .6rem .3rem 0 .3rem; } .accessories .form .input { height: .8rem; } .accessories .form .input input { height: .78rem; line-height: .78rem; font-size: .24rem; padding: 0 .3rem; } .accessories .form .input p { font-size: .24rem; } .accessories .form .submit { font-size: .28rem; width: 1.7rem; margin-left: .2rem; height: .8rem; } .accessories .list ul { margin-left: -.3rem; margin-bottom: -.5rem; } .accessories .list > ul > li { width: 50%; padding: 0 0 .5rem .3rem; } .accessories .list > ul > li:before { left: .3rem; bottom: .5rem; } .accessories .list > ul > li .item .img { padding: .2rem; } .accessories .list > ul > li .item .img img { width: 100%; height: 2.5rem; object-fit: cover; } .accessories .list > ul > li .item .name { line-height: .36rem; padding: .25rem 0; font-size: .24rem; } } /*# sourceMappingURL=accessories.css.map */