201 lines
2.7 KiB
CSS
201 lines
2.7 KiB
CSS
/* 公用css */
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
min-height: 100%;
|
|
}
|
|
|
|
body {
|
|
-webkit-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
a,
|
|
img {
|
|
-webkit-touch-callout: none;
|
|
}
|
|
|
|
body {
|
|
background-color: #f5f5f9;
|
|
}
|
|
|
|
body.am-bg-white {
|
|
background-color: #fff;
|
|
}
|
|
|
|
body,
|
|
input,
|
|
textarea,
|
|
select,
|
|
button {
|
|
font-size: 16px;
|
|
line-height: 1.5;
|
|
color: #333;
|
|
font-family: "Helvetica Neue", Helvetica, STHeiTi, sans-serif;
|
|
}
|
|
|
|
input {
|
|
line-height: normal;
|
|
}
|
|
|
|
a {
|
|
color: #0af;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.fn-clear:after {
|
|
content: "\0200";
|
|
visibility: hidden;
|
|
display: block;
|
|
font-size: 0;
|
|
clear: both;
|
|
height: 0;
|
|
}
|
|
|
|
.fn-hide {
|
|
display: none;
|
|
}
|
|
|
|
.fn-left {
|
|
float: left;
|
|
}
|
|
|
|
.fn-right {
|
|
float: right;
|
|
}
|
|
|
|
.am-fixed {
|
|
position: fixed !important;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 99;
|
|
width: 100%;
|
|
}
|
|
|
|
.am-fixed-bottom {
|
|
top: inherit;
|
|
bottom: 0;
|
|
}
|
|
|
|
.user-select {
|
|
-webkit-user-select: auto;
|
|
user-select: auto;
|
|
}
|
|
|
|
#app {
|
|
width: 100%;
|
|
min-height: 100vh;
|
|
background-color: #f6f6f6;
|
|
padding-bottom: 1rem;
|
|
}
|
|
|
|
.demo-swiper.swiper-container {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.demo-swiper .swiper-slide {
|
|
width: 3.75rem;
|
|
height: 3.75rem;
|
|
background-color: #bbb;
|
|
}
|
|
|
|
.swiper-slide img {
|
|
width: 100%;
|
|
}
|
|
|
|
.use-mark {
|
|
padding-top: 1px;
|
|
margin: 0.08rem auto 0 auto;
|
|
}
|
|
|
|
.use-mark img {
|
|
width: 100%;
|
|
}
|
|
|
|
.footer {
|
|
width: 3.75rem;
|
|
height: 0.9rem;
|
|
background-color: #ffffff;
|
|
text-align: center;
|
|
position: fixed;
|
|
bottom: 0;
|
|
padding-top: 0.05rem;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.footer-btn {
|
|
width: 3.43rem;
|
|
height: 0.44rem;
|
|
background: #437fff;
|
|
border-radius: 0.44rem;
|
|
border: none;
|
|
color: #fff;
|
|
font-size: 0.16rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* 样式禁用状态下的按钮 */
|
|
.footer-btn[disabled] {
|
|
/* 可根据需要添加其他样式,如改变背景色、文本颜色等 */
|
|
background-color: #d7d7d7;
|
|
color: #333333;
|
|
}
|
|
|
|
/* 直充还是卡密 */
|
|
.main {
|
|
width: 100%;
|
|
background-color: #fff;
|
|
margin-top: 0.08rem;
|
|
padding: 0.18rem;
|
|
}
|
|
|
|
.main-input {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.main-input .input-style:last-child {
|
|
margin-top: 0.18rem;
|
|
}
|
|
|
|
.input-style {
|
|
width: 3.39rem;
|
|
height: 0.42rem;
|
|
background: #f2f4f6;
|
|
border-radius: 0.21rem;
|
|
opacity: 1;
|
|
border: none;
|
|
padding-left: 0.18rem;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.input-style span {
|
|
font-size: 0.15rem;
|
|
font-weight: 400;
|
|
color: #333333;
|
|
}
|
|
|
|
.input-style input {
|
|
width: 2.25rem;
|
|
height: 0.42rem;
|
|
font-size: 0.15rem;
|
|
border: none;
|
|
background-color: #f2f4f6;
|
|
outline: none;
|
|
}
|
|
|
|
/* swiper */
|
|
.am-carousel .swiper-pagination-bullet {
|
|
width: 0.16rem;
|
|
height: 0.12rem;
|
|
}
|