index.wxss 2.2 KB
/* custom-pages/custom-index/index.wxss */
page {
	/* height: 100%; */
	/* height: auto; */
	height: 100vh;
	width: 100%;
	overflow: hidden;
	/* background-color: #004588; */
	/* padding-bottom: 148rpx; */
}

.container_index {
	width: 100%;
	height: 100vh;
	/* height: calc(100% - 148rpx); */
	position: relative;
}
.saoyisao{
	position: absolute;
	z-index: 9;
	bottom: 200rpx;
	font-size: 40rpx;
	margin-left: 50rpx;
	color: #fff;
}

.index_img {
	width: 100%;
	height: calc(100% - 148rpx);
	position: absolute;
}

.logo{
	right: 0;
	left: 0;
	margin: auto;
	width: 250rpx;
	top: 11.5%;
}

.myPrize{
	right: 10rpx;
	width: 170rpx;
	top: 30%;
}

.welfareOfficer{
	right: 10rpx;
	width: 170rpx;
	bottom: 28%;
}

.activity_box {
	width: 6em;
	text-align: center;
	position: absolute;
	display: flex;
	align-items: center;
	right: 26rpx;
	top: 13.5%;
}

.activity_rules {
	position: absolute;
	width: 100%;
	height: 60rpx;
	background-color: #B03344;
	border-radius: 20rpx;
}

.activity_rules_text {
	position: absolute;
	width: 180rpx;
	color: #fff;
	border-radius: 20rpx;
}

.product {
	top: 0;
	bottom: -13%;
	margin: auto;
}

.drink_power {
	position: absolute;
	width: 53%;
	top: 17.5%;
	margin: auto;
	left: 0;
	right: 0;
}

.draw_now {
	position: absolute;
	margin: auto;
	left: 0;
	right: 0;
	bottom: 130rpx;
	width: 75%;
}

.code_index {
	width: 184rpx;
	height: 234rpx;
	position: fixed;
	right: -35rpx;
	bottom: 484rpx;
}

.mt_1 {
	right: -35rpx;
	top: 500rpx;
}

.fixed_btn {
	width: 85rpx;
	height: 80rpx;
	background: #3f9ed1;
	border-radius: 28rpx 0 0 28rpx;
	font-weight: 500;
	font-size: 28rpx;
	color: #FFFFFF;
	text-align: center;
	letter-spacing: 0;
	line-height: 28rpx;
	position: absolute;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.btn_1 {
	right: 0rpx;
	top: 428rpx;
}

.btn_2 {
	right: 0rpx;
	top: 296rpx;
	top: 524rpx;
}


.rule {
	width: 100%;
	height: 772rpx;
	overflow-y: scroll;
}

.rule-title {
	font-weight: 400;
	font-size: 34rpx;
	color: #10111A;
	text-align: center;
	margin-top: 20rpx;
}

.rule-content {
	padding: 20rpx 48rpx 40rpx;
}

.btnPrivacy {
	position: absolute;
	bottom: 80px;
	margin: auto;
	left: 0;
	right: 0;
	width: 160px;
}