react-app-shell
Version:
react打包脚本和example, 这里的版本请忽略
204 lines (183 loc) • 4.37 kB
text/less
// 落地活动页样式
.rabbit {
width: 750px;
max-width: 750px;
height: 100%;
margin: 0 auto;
.imgContent {
float: left;
background: transparent;
// padding-bottom: 120px;
// padding-bottom: calc(120px + env(safe-area-inset-bottom));
.img {
width: 100%;
float: left;
}
// 兼容iphonex底部兼容问题, --footer高度
.compatibleSafeArea {
float: left;
width: 750px;
max-width: 750px;
height: 120px;
height: calc(120px + env(safe-area-inset-bottom));
}
}
// 兼容iphoneX定位底部兼容问题, --安全距离的高度
.compatibleFooter {
width: 750px;
max-width: 750px;
height: 0;
height: env(safe-area-inset-bottom);
position: fixed;
bottom: 0;
z-index: 0;
background-color: #fff;
}
.footer {
width: 750px;
max-width: 750px;
position: fixed;
bottom: 0;
bottom: env(safe-area-inset-bottom);
background: #fff;
padding-left: 34px;
.footerLeft {
width: 50%;
height: 120px;
float: left;
.notStartTip {
height: 120px;
line-height: 120px;
font-size: 32px;
font-weight: 500;
color: rgba(254, 124, 28, 1);
}
// 距离报名结束 样式
.signUp {
width: 100%;
float: left;
margin-top: 18px;
> .title {
font-size: 28px;
font-weight: 500;
color: rgba(254, 124, 28, 1);
float: left;
}
> .surplus {
float: left;
text-align: center;
padding: 0 10px;
height: 28px;
padding-top: 4px;
background: rgba(254, 124, 28, 1);
border-radius: 14px;
font-size: 20px;
color: #fff;
margin-left: 6px;
}
}
// 倒计时样式
.clgTime {
width: 100%;
float: left;
margin-top: 8px;
.clgTimeBlock {
display: block;
margin-top: 8px;
overflow: hidden;
.clgBlockBig {
float: left;
width: 44px;
height: 44px;
line-height: 44px;
text-align: center;
background: rgba(254, 124, 28, 1);
border-radius: 8px;
font-size: 28px;
// font-family: 'PingFangSC';
font-weight: 600;
color: #fff;
}
.clgBlockSmall {
color: #fe7c1c;
float: left;
height: 44px;
line-height: 44px;
text-align: center;
padding: 0 8px;
font-size: 28px;
// font-family: 'PingFangSC';
}
}
}
}
.footerRight {
width: 50%;
height: 120px;
float: right;
.payBtn {
position: relative;
width: 320px;
height: 88px;
line-height: 88px;
font-size: 28px;
font-weight: 600;
background:
linear-gradient(
151deg,
rgba(255, 124, 0, 1) 0%,
rgba(255, 56, 56, 1) 100%,
rgba(255, 0, 0, 1) 100%
);
box-shadow: 0 4px 8px 0 rgba(206, 4, 8, 0.33);
border-radius: 44px;
margin-top: 16px;
text-align: center;
color: #fff;
margin-right: 30px;
& > .payBtnMethod {
width: 100%;
height: 100%;
position: absolute;
top: 0;
}
}
.payBtnDisabled {
width: 320px;
height: 88px;
line-height: 88px;
font-size: 28px;
background: rgba(238, 238, 238, 1);
box-shadow: 0 4px 8px 0 rgba(180, 180, 180, 0.5);
border-radius: 44px;
margin-top: 16px;
text-align: center;
color: rgba(170, 170, 170, 1);
margin-right: 30px;
}
}
}
}
// .rabbit:last-child {
// padding-bottom: 100px;
// }
.rabbitError {
overflow: hidden;
.reloadImg {
width: 400px;
height: 240px;
margin: 480px auto 0;
background: url(../../public/images/rabbit/rabbit-server-error.png) no-repeat center center;
background-size: 100%;
}
.describe {
margin-top: 45px;
font-size: 28px;
text-align: center;
}
.fold {
margin-top: 15px;
font-size: 28px;
text-align: center;
}
}