150 lines
1.9 KiB
CSS
150 lines
1.9 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;
|
|
}
|