Files
peko-h5/view/peko/modules/act-treasureSnatching/css/index.css

346 lines
6.7 KiB
CSS
Raw Normal View History

2023-03-07 19:01:52 +08:00
html,
body {
width: 100%;
height: 100%;
box-sizing: border-box;
padding-top: 0.7333333333rem;
}
.back {
width: 0.7466666667rem;
height: 0.7466666667rem;
position: fixed;
z-index: 999;
left: 0.5333333333rem;
top: 0.6933333333rem;
}
.title {
width: 4.8rem;
height: 0.48rem;
display: block;
margin: 0 auto 0.6666666667rem;
}
.my {
width: 100%;
height: 2.4266666667rem;
background: url(../images/myBg.png) no-repeat;
background-size: 100% 100%;
position: fixed;
bottom: 0;
left: 0;
z-index: 9;
overflow: hidden;
}
.my .tx {
width: 1.1733333333rem;
height: 1.1733333333rem;
background: #005E15;
border: 0.0133333333rem solid #fff;
margin-top: 0.4133333333rem;
margin-left: 0.4133333333rem;
border-radius: 50%;
margin-right: 0.0666666667rem;
float: left;
}
.my .name {
float: left;
width: 2.4rem;
margin-top: 0.88rem;
color: #fff;
font-size: 0.3466666667rem;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.my .but {
width: 1.0666666667rem;
height: 0.4266666667rem;
line-height: 0.4266666667rem;
border-radius: 0.1066666667rem;
text-align: center;
color: #1F5764;
font-size: 0.32rem;
background: linear-gradient(0deg, #3AEAC7 0%, #FFFEBB 100%);
margin-top: 0.8533333333rem;
float: right;
margin-right: 0.2666666667rem;
margin-left: 0.12rem;
}
.my .num2 {
margin-top: 0.92rem;
color: #fff;
font-size: 0.32rem;
float: right;
}
.my .icon2 {
width: 0.64rem;
height: 0.64rem;
display: block;
margin-top: 0.7466666667rem;
margin-right: 0.12rem;
float: right;
margin-left: 0.3333333333rem;
}
.my .num1 {
margin-top: 0.92rem;
color: #fff;
font-size: 0.32rem;
float: right;
}
.my .icon1 {
width: 0.64rem;
height: 0.64rem;
display: block;
margin-top: 0.7466666667rem;
margin-right: 0.12rem;
float: right;
}
ul {
width: 9.3333333333rem;
margin: 0.6266666667rem auto 0;
height: 9.9333333333rem;
overflow-y: scroll;
display: flex;
justify-content: space-between;
flex-flow: row wrap;
}
ul::-webkit-scrollbar {
width: 0;
}
ul li {
width: 4.4rem;
height: 6.2133333333rem;
margin-bottom: 0.4533333333rem;
background: url(../images/prop.png) no-repeat;
background-size: 100% 100%;
position: relative;
}
ul li .title {
position: absolute;
width: 100%;
text-align: center;
left: 0;
top: 0.4933333333rem;
color: #1F5764;
font-size: 0.32rem;
}
ul li .giftImg {
width: 1.8666666667rem;
height: 1.8666666667rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
top: 1.4533333333rem;
}
ul li .name {
text-align: center;
color: #fff;
font-size: 0.32rem;
position: absolute;
left: 0;
width: 100%;
top: 3.72rem;
}
ul li .zs {
width: 100%;
height: 0.5866666667rem;
line-height: 0.5866666667rem;
display: flex;
justify-content: center;
position: absolute;
top: 4.12rem;
left: 0;
}
ul li .zs .icon {
width: 0.5866666667rem;
height: 0.5866666667rem;
display: block;
}
ul li .zs b {
display: block;
color: #fff;
font-size: 0.32rem;
}
ul li .but {
width: 2.1333333333rem;
height: 0.6666666667rem;
line-height: 0.6666666667rem;
position: absolute;
bottom: 0.7066666667rem;
left: 50%;
transform: translateX(-50%);
text-align: center;
color: #1F5764;
font-size: 0.32rem;
background: linear-gradient(0deg, #3AEAC7 0%, #FFFEBB 100%);
border-radius: 0.1066666667rem;
}
.buy {
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
background: rgba(0, 0, 0, 0.8);
z-index: 999;
display: none;
}
.buy .buy_in {
width: 7.4933333333rem;
height: 7.6rem;
background: url(../images/pub.png) no-repeat;
background-size: 100% 100%;
position: relative;
left: 50%;
top: 40%;
transform: translate(-50%, -50%);
}
.buy .buy_in .title {
width: 100%;
position: absolute;
left: 0;
top: 1.4266666667rem;
color: #fff;
font-size: 0.4rem;
text-align: center;
}
.buy .buy_in .num {
position: absolute;
left: 2.04rem;
top: 2.6666666667rem;
width: 3.4666666667rem;
height: 0.5866666667rem;
line-height: 0.5866666667rem;
}
.buy .buy_in .num b {
display: inline-block;
font-size: 0.3466666667rem;
color: #fff;
margin-right: 0.2266666667rem;
float: left;
height: 0.5866666667rem;
line-height: 0.5866666667rem;
}
.buy .buy_in .num .box {
float: left;
display: inline-block;
width: 2.4rem;
height: 0.5866666667rem;
border-radius: 0.5866666667rem;
background: #007F6C;
position: relative;
}
.buy .buy_in .num .box input {
background: none;
outline: none;
border: none;
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
height: 100%;
width: 0.9rem;
color: #FEF8A8;
font-size: 0.3466666667rem;
font-weight: bold;
text-align: center;
}
.buy .buy_in .num .box .subtraction {
position: absolute;
width: 0.5866666667rem;
height: 0.5866666667rem;
left: 0;
top: 0;
background: url(../images/subtraction.png) no-repeat;
background-size: 100% 100%;
}
.buy .buy_in .num .box .add {
position: absolute;
width: 0.5866666667rem;
height: 0.5866666667rem;
right: 0;
top: 0;
background: url(../images/add.png) no-repeat;
background-size: 100% 100%;
}
.buy .buy_in .day {
position: absolute;
width: 6rem;
height: 0.5866666667rem;
line-height: 0.5866666667rem;
left: 2.04rem;
top: 3.8133333333rem;
}
.buy .buy_in .day b {
font-size: 0.3466666667rem;
color: #fff;
margin-right: 0.2266666667rem;
float: left;
display: block;
}
.buy .buy_in .day span {
color: #FEF8A8;
font-size: 0.3466666667rem;
}
.buy .buy_in .day i {
color: #FEF8A8;
font-size: 0.3466666667rem;
font-style: normal;
}
.buy .buy_in .zs {
position: absolute;
width: 6rem;
height: 0.5866666667rem;
line-height: 0.5866666667rem;
left: 2.04rem;
top: 4.8533333333rem;
}
.buy .buy_in .zs b {
font-size: 0.3466666667rem;
color: #fff;
margin-right: 0.2266666667rem;
float: left;
display: block;
}
.buy .buy_in .zs span {
color: #FEF8A8;
font-size: 0.3466666667rem;
}
.buy .buy_in .zs i {
color: #FEF8A8;
font-size: 0.3466666667rem;
font-style: normal;
}
.buy .buy_in .close {
width: 2.7733333333rem;
height: 0.8533333333rem;
line-height: 0.8533333333rem;
text-align: center;
color: #008573;
font-size: 0.3466666667rem;
position: absolute;
left: 0.6533333333rem;
bottom: 1.12rem;
background: url(../images/close.png) no-repeat;
background-size: 100% 100%;
}
.buy .buy_in .ok {
width: 2.7733333333rem;
height: 0.8533333333rem;
line-height: 0.8533333333rem;
text-align: center;
color: #8A4801;
font-size: 0.3466666667rem;
position: absolute;
right: 0.6533333333rem;
bottom: 1.12rem;
background: url(../images/close.png) no-repeat;
background-size: 100% 100%;
}
/*# sourceMappingURL=index.css.map */