mobileclient/packkey/style.css

130 lines
2.0 KiB
CSS

/* 公用css */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
#app {
width: 100%;
min-height: 100vh;
background-color: #f6f6f6;
padding-bottom: 2rem;
}
.swiper {
width: 7.5rem;
height: 7.5rem;
background-color: #bbb;
}
.swiper-slide img {
width: 100%;
}
.use-mark {
padding-top: 1px;
margin: 0.16rem auto 0 auto;
}
.use-mark img {
width: 100%;
}
.footer {
width: 7.5rem;
height: 1.8rem;
background-color: #ffffff;
text-align: center;
position: fixed;
bottom: 0;
padding-top: 0.1rem;
display: flex;
justify-content: center;
}
.footer-btn {
width: 6.86rem;
height: 0.88rem;
background: #437fff;
border-radius: 0.88rem;
border: none;
color: #fff;
font-size: 0.32rem;
font-weight: 600;
}
/* 样式禁用状态下的按钮 */
.footer-btn[disabled] {
/* 可根据需要添加其他样式,如改变背景色、文本颜色等 */
background-color: #d7d7d7;
color: #333333;
}
/* 直充还是卡密 */
.main {
width: 100%;
background-color: #fff;
margin-top: 0.16rem;
padding: 0.36rem;
}
.main-input {
display: flex;
flex-direction: column;
align-items: center;
}
.main-input .input-style:last-child {
margin-top: 0.36rem;
}
.input-style {
width: 6.78rem;
height: 0.84rem;
background: #f2f4f6;
border-radius: 0.42rem;
opacity: 1;
border: none;
padding-left: 0.36rem;
display: flex;
align-items: center;
}
.input-style span {
font-size: 0.3rem;
font-weight: 400;
color: #333333;
}
.input-style input {
width: 4.5rem;
height: 0.84rem;
font-size: 0.3rem;
border: none;
background-color: #f2f4f6;
outline: none;
}
.prompt {
display: inline-block;
min-width: 50%;
padding: 0.08rem;
background: rgba(0, 0, 0, 0);
border-radius: 0.2rem;
color: #fff;
position: fixed;
top: 45%;
left: -150%;
margin-left: -25%;
text-align: center;
font-size: 0.32rem;
transition: left 0.2s;
z-index: 99999;
}
.proactive {
left: 47%;
background: rgba(0, 0, 0, 0.7);
}