yuminge-app/yun-min-program-plugin-master/packageG/mycomponent/lottery/lottery.wxss

168 lines
2.8 KiB
Plaintext

/* packageE/lottery/lottery.wxss */
.component-wrapper {
width: 100vw;
}
.component-wrapper .lottery-box {
width: 100vw;
padding: 20px 0;
text-align: center;
}
.component-wrapper .lottery-box .img {
width: 100%;
}
.component-wrapper .lottery-box .point {
margin: 15px;
}
.component-wrapper .lottery-box .reword {
width: 40%;
margin: 0 auto;
padding: 5px;
}
.component-wrapper .priceChanceBtn {
width: 65%;
margin: 1rem auto 0 auto;
height: 2.2rem;
border-radius: 1rem;
background-color: #ff9600;
line-height: 2.1rem;
font-size: 17px;
color: #fff;
text-align: center;
}
.component-wrapper .box {
margin: 50rpx auto;
width: 672rpx;
height: 672rpx;
padding: 32rpx;
background-color: #fff;
border: 16rpx solid transparent;
border-radius: 22rpx;
box-sizing: border-box;
position: relative;
}
.component-wrapper .box .div {
background-size: 100%;
width: 131rpx;
height: 131rpx;
float: left;
margin-right: 16rpx;
margin-bottom: 16rpx;
position: relative;
box-sizing: border-box;
}
.component-wrapper .box .div:nth-child(4n) {
margin-right: 0;
}
.component-wrapper .box .div:nth-child(8) {
margin-left: 23rpx;
}
.component-wrapper .box .div:nth-child(12) {
margin-left: 5rpx;
}
.component-wrapper .box .div .img {
width: 70%;
height: 70%;
position: absolute;
top: 40%;
left: 50%;
transform: translate(-50%, -50%);
overflow: hidden;
}
.component-wrapper .box .div .img image {
width: 100%;
height: 100%;
}
.component-wrapper .box .title {
color: #666;
width: 100%;
font-size: 24rpx;
text-align: center;
position: absolute;
bottom: 1%;
left: 0;
}
.component-wrapper .box .prizeBtn1,
.component-wrapper .box .prizeBtn3 {
margin: 10rpx 0 0 11rpx;
}
.component-wrapper .box .prizeBtn2 {
margin: 10rpx 0 0 0;
}
.component-wrapper .box .prizeBtn3,
.component-wrapper .box .prizeBtn4 {
margin-top: -11rpx;
}
.component-wrapper .box .turn {
width: 256rpx;
height: 256rpx;
font-size: 40rpx;
position: absolute;
top: 49%;
left: 49%;
transform: translate(-50%, -50%);
}
.component-wrapper .box .text {
text-align: center;
color: white;
font-size: 40rpx;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100%;
}
.van-content {
padding: 32rpx;
position: relative;
}
.van-content .button {
position: fixed;
bottom: 32rpx;
width: 690rpx;
height: 92rpx;
background-color: #f15353;
border-radius: 12rpx;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
}
.van-content .radio {
margin-bottom: 32rpx;
display: flex;
width: 100%;
}
.van-content .avatar {
width: 64rpx;
height: 64rpx;
border-radius: 50%;
}
.van-content .avatar image {
width: 100%;
height: 100%;
border-radius: 50%;
}