react-app-shell
Version:
react打包脚本和example, 这里的版本请忽略
124 lines (123 loc) • 3.26 kB
text/less
.seckill-wrapper{
max-width: 750px;
margin: 0 auto;
background: url(../../public/images/seckill/cut-bg.png);
background-size: 100%;
.content{
position: relative;
height: 1100px;
width: 100%;
background: url(../../public/images/seckill/home-header-pic2.png) no-repeat;
background-size: 100% 100%;
.button-accept{
position: absolute;
bottom: 20px;
cursor: pointer;
left: 50%;
margin-left: -294px;
}
@keyframes breathing {
50%{
transform: scale(1.05,1.05)
}
0%{
transform: scale(1,1);
}
}
.underway{
height: 128px;
width: 588px;
background: url(../../public/images/seckill/draw-btn-1.png) no-repeat;
background-size: 100% 100%;
animation: breathing 1s linear infinite;
}
.notstarted{
height: 128px;
width: 588px;
background: url(../../public/images/seckill/notstarted.png) no-repeat;
background-size: 100% 100%;
}
.end-btn{
height: 128px;
width: 588px;
background: url(../../public/images/seckill/end-btn.png) no-repeat;
background-size: 100% 100%;
}
.button-share{
position: fixed;
z-index: 1;
right: 0;
bottom: 40px;
cursor: pointer;
height: 96px;
width: 160px;
background: url(../../public/images/seckill/share.png) no-repeat;
background-size: 100% 100%;
}
}
.footer{
position: relative;
width: 100%;
margin: 0 auto;
.introduce{
margin: 0 auto;
margin-top: 34px;
width: 718px;
img{
display: block;
// pointer-events: none;
}
}
img{
width: 100%;
}
}
}
.info-notes{
font-size: 28px;
font-weight: 600;
color: #333;
line-height:40px;
text-align: left;
margin-bottom: 20px;
}
.info-hint{
font-size: 24px;
color: #A9A9A9;
text-align: left;
}
/**领取成功**/
.seckill-suceed-wrapper{
max-width: 750px;
margin: 0 auto;
height: 100%;
background: url(../../public/images/seckill/cut-bg.png);
background-size: 100%;
.content{
min-height: 100vh;
width: 100%;
background: url(../../public/images/seckill/succeed2.png) no-repeat;
background-size: 100% 100%;
}
.button-share{
position: fixed;
bottom: 0px;
cursor: pointer;
height: 108px;
line-height: 108px;
width: 100%;
background-color: #4A84FF;
color: #fff;
font-size: 28px;
text-align: center;
i{
display: inline-table;
vertical-align:middle;
background: url(../../public/images/seckill/share-icon.png) no-repeat center;
width: 40px;
height: 40px;
background-size: 40px 40px;
margin-right: 20px;
}
}
}