react-app-shell
Version:
react打包脚本和example, 这里的版本请忽略
143 lines (129 loc) • 3.43 kB
text/less
.wrapper {
position: relative;
width: 100%;
max-width: 750px;
height: 100%;
margin: 0 auto;
background: url(../../public/images/exchange/exchange_bg.png) no-repeat center;
background-size: 100% 100%;
header {
width: 750px;
height: 410px;
padding: 20px 14px;
img {
width: 100%;
height: 100%;
}
}
.content {
width: 100%;
padding: 0 28px 110px;
margin-top: -62px;
position: relative;
z-index: 1;
text-align: center;
font-size: 28px;
.title {
display: inline-block;
position: relative;
padding: 0 22px;
font-size: 36px;
color: #FF5454;
font-weight: bolder;
}
.title::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 22px;
border-radius: 12px;
background: rgba(255, 84, 84, 0.2);
}
.main {
width: 100%;
height: 622px;
padding: 60px 48px;
background: #fff;
border-radius: 8px 8px 16px 16px;
box-shadow: 0 8px 0 rgba(191, 108, 71, 0.3) inset;
p {
color: #FF5454;
margin: 20px 0 38px;
}
input {
width: 100%;
height: 100px;
margin-bottom: 40px;
padding: 30px 40px;
background: #F5F5F5;
border-radius: 50px;
color: #333333;
line-height: 40px;
border: none;
}
input::input-placeholder {
color: #999999;
}
button {
width: 100%;
height: 100px;
background: #FF5454;
border-radius: 50px;
color: #fff;
line-height: 100px;
border: none;
cursor: pointer;
}
:global{
.am-list-item{
width: 100%;
height: 100px;
margin-bottom: 40px;
padding: 0 40px;
background: #F5F5F5;
border-radius: 50px;
color: #333333;
line-height: 100px;
}
.am-list-extra{
color: #999999;
font-size: 28px;
width: 100%;
overflow: unset;
text-align: left;
}
}
}
.rules {
width: 100%;
padding: 60px 48px;
margin-top: 28px;
background: #fff;
border-radius: 16px;
.rulesDetail {
margin-top: 38px;
color: #333333;
line-height: 1.5;
text-align: left;
}
}
}
.modalMsg{
color: #333;
margin: 20px 0;
p{
font-size: 24px;
}
.modalTitle{
font-size: 32px;
margin-bottom: 10px;
}
}
}
@media only screen and (device-width: 375px) and (device-height: 812px) and (height: 812px) and (-webkit-device-pixel-ratio: 3) {
.wrapper {
height: 1624px;
}
}