react-app-shell
Version:
react打包脚本和example, 这里的版本请忽略
164 lines (142 loc) • 3.35 kB
text/less
.payResult {
height: calc(100% + 70px);
background: #f9fafc;
.successHeader {
width: 100%;
height: 280px;
background: url(../../../public/images/rabbit/success-header.png) no-repeat center center;
background-size: 100%;
overflow: hidden;
> .icon {
width: 126px;
height: 120px;
background:
url(../../../public/images/rabbit/successful-header-icon.png) no-repeat center
center;
background-size: 100%;
margin-top: 40px;
margin-left: 192px;
float: left;
}
> .tips {
float: left;
margin-top: 74px;
margin-left: 18px;
& > span {
display: block;
width: 196px;
// font-family: 'PingFangSC';
font-weight: 600;
color: rgba(255, 255, 255, 1);
}
& > span:nth-of-type(1) {
font-size: 32px;
}
& > span:nth-of-type(2) {
font-size: 28px;
margin-top: 16px;
}
}
> .lineCont {
float: left;
width: 100%;
margin-top: 56px;
> .line {
width: 706px;
height: 20px;
background: rgba(39, 160, 48, 1);
border-radius: 12px;
margin: 0 auto;
position: relative;
}
> .line::before {
content: '';
position: absolute;
width: 686px;
height: 20px;
background: linear-gradient(180deg, rgba(192, 244, 196, 1) 0%, rgba(255, 255, 255, 1) 100%);
top: 10px;
left: 10px;
}
}
}
.content {
width: 686px;
height: 400px;
background: #fff;
margin: -36px auto 32px;
border-radius: 0 0 40px 40px;
> .pack {
width: 100%;
padding: 0 32px;
> div {
height: 100px;
line-height: 100px;
font-size: 28px;
// font-family: 'PingFangSC';
font-weight: 400;
color: rgba(51, 51, 51, 1);
border-bottom: 1px solid #eee;
> span:first-child {
float: left;
}
> span:last-child {
float: right;
}
}
&:last-child {
> div {
border: none;
}
}
}
}
.qrcode {
margin: 0 auto;
width: 686px;
background: rgba(255, 255, 255, 1);
border-radius: 40px;
text-align: center;
padding-top: 48px;
> .title {
font-size: 32px;
// font-family: 'PingFangSC';
font-weight: 500;
color: rgba(51, 51, 51, 1);
position: relative;
}
> .title::before {
content: '';
width: 36px;
height: 36px;
background: url(../../../public/images/rabbit/qrcode-left-icon.png) no-repeat center center;
background-size: 100%;
position: absolute;
left: -48px;
}
> .title::after {
content: '';
width: 36px;
height: 36px;
background: url(../../../public/images/rabbit/qrcode-right-icon.png) no-repeat center center;
background-size: 100%;
position: absolute;
right: -48px;
}
> .img {
width: 400px;
height: 400px;
display: block;
margin: 32px auto 0;
}
> .tips {
font-size: 28px;
margin-top: 32px;
text-align: left;
// font-family: 'PingFangSC';
font-weight: 400;
color: rgba(51, 51, 51, 1);
padding: 0 32px 48px;
}
}
}