/* pages/star/star.wxss */ .home { position: relative; height: 100%; overflow: hidden; } .home>.bg { position: absolute; bottom: 0; width: 750rpx; height: 1353rpx; } .home>.logo1 { position: absolute; top: 0; left: 60rpx; width: 175rpx; height: 150rpx; } .home>.logo2 { position: absolute; top: 46rpx; right: 34rpx; width: 204rpx; height: 40rpx; } .ruleBtn { position: absolute; width: 153rpx; height: 46rpx; line-height: 46rpx; font-size: 24rpx; right: 0; top: 196rpx; color: #fff; background-color: rgba(35, 24, 21, 0.63); border-top-left-radius: 20rpx; border-bottom-left-radius: 20rpx; padding-left: 20rpx; box-sizing: border-box; } .propagandaBox { position: absolute; width: 100%; height: 76rpx; bottom: 457rpx; left: 0; display: flex; justify-content: center; align-items: center; background-color: rgba(11, 40, 109, 0.79); } .propagandaBox>.text{ color: #ffffff; font-size: 28rpx; } .numBox{ display: inline-block; height: 55rpx; padding: 0 15rpx; } .numBox>.numFrame{ width: 42rpx; height: 100%; display: inline-block; } .numBox>.numFrame2{ width: 42rpx; height: 100%; margin-left: -42rpx; display: inline-block; } .home>.btnBox { position: absolute; width: 100%; text-align: center; left: 0; bottom: 15rpx; } .home>.btnBox>.btn { width: 278rpx; height: 47rpx; line-height: 47rpx; display: inline-block; background-color: #345489; margin: 0 10rpx; color: #fff; font-size: 21rpx; border-radius: 15rpx; } .home>.btnBox>.btn2 { position: absolute; width: 278rpx; height: 47rpx; left: 50%; margin-left: -282rpx; background-color: #000000; display: inline-block; opacity:0 } .mask { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background-color: rgba(0, 0, 0, 0.5); } .mask>.ruleContent { position: relative; width: 562rpx; height: 971rpx; border-radius: 20rpx; background-color: #ffffff; } .mask>.ruleContent>.rule { position: relative; width: 100%; height: 100%; } .closeBtn { position: absolute; height: 40rpx; width: 40rpx; right:-40rpx; top:-40rpx; } /* use cross as close button */ /* .closeBtn::before { content: "\2716"; } */