216 lines
2.9 KiB
CSS
216 lines
2.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: #fff;
|
||
}
|
||
|
||
.goods-main {
|
||
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%;
|
||
}
|
||
|
||
.bm-goods-info {
|
||
border-top: 0.08rem solid #f3f5f7;
|
||
background-color: #fff;
|
||
padding: 0.3rem 0 0.3rem 0.3rem;
|
||
}
|
||
|
||
.use-mark {
|
||
padding-top: 1px;
|
||
margin: 0.08rem auto 0 auto;
|
||
}
|
||
|
||
.use-mark img {
|
||
width: 100%;
|
||
}
|
||
|
||
.countdown {
|
||
position: absolute;
|
||
top: 2%;
|
||
left: 50%;
|
||
display: flex;
|
||
align-items: center;
|
||
color: #fff;
|
||
z-index: 999;
|
||
/* 使用transform属性进行微调,确保完全居中 */
|
||
transform: translate(-50%, 0%);
|
||
}
|
||
|
||
.countdown p {
|
||
margin: 0.05rem;
|
||
background: url("https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/img/reduce/check_1.png");
|
||
background-size: 100% 100%;
|
||
padding: 0.03rem;
|
||
}
|
||
|
||
.footer {
|
||
width: 3.75rem;
|
||
height: 0.6rem;
|
||
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;
|
||
}
|
||
|
||
.bm-red-ljj-bg {
|
||
width: 100%;
|
||
height: 8.12rem;
|
||
position: relative;
|
||
text-align: center;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.ref-bg-img {
|
||
width: 100%;
|
||
height: 100%;
|
||
object-fit: cover;
|
||
}
|
||
|
||
.ljj-btn-img-box {
|
||
width: 100%;
|
||
height: auto;
|
||
position: fixed;
|
||
bottom: 0.2rem;
|
||
left: 0;
|
||
text-align: center;
|
||
}
|
||
|
||
.ljj-btn-img {
|
||
width: 2.39rem;
|
||
height: 0.705rem;
|
||
}
|
||
|
||
.ysf-btn-img {
|
||
width: 2.51rem;
|
||
height: 0.46rem;
|
||
}
|
||
|
||
.hb-btn1 {
|
||
width: 2.7rem;
|
||
height: 0.56rem;
|
||
}
|