page { height: 100vh; overflow: hidden; } .bg { position: relative; width: 100vw; top: 0; left: 0; } .gamecontent { position: fixed; width: 100%; top: 0; } .gameinfo { padding-top: 28rpx; padding-bottom: 114rpx; display: flex; align-items: center; justify-content: center; flex-direction: column; } .gameinfo .user { margin-bottom: 30rpx; display: flex; align-items: center; justify-content: center; } .gameinfo .icon { width: 90rpx; height: 90rpx; margin-right: 37rpx; border-radius: 50%; border: 5rpx solid #FFFFFF; } .gameinfo .name { font-size: 36rpx; color: #FFFFFF; } .gameinfo .title { width: 560rpx; height: 107rpx; } .game { position: relative; display: flex; align-items: center; justify-content: center; height: 235rpx; } .game image { width: 210rpx; height: 210rpx; border-radius: 30rpx; position: absolute; } .game .bg { position: absolute; left: 50%; top: 25rpx; transform: translateX(-50%); width: 220rpx; height: 220rpx; border-radius: 50%; background-color: #FFFFFF; } .name { font-size: 48rpx; color: #FFFFFF; line-height: 67rpx; text-align: center; font-weight: 700; margin-top: 13rpx; margin-bottom: 18rpx; } .des { font-size: 32rpx; line-height: 45rpx; color: #FFFFFF; text-align: center; margin-top: 38rpx; margin-bottom: 77rpx; max-height: 135rpx; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; } .play { width: 603rpx; height: 96rpx; border-radius: 100rpx; display: flex; margin: 0 auto; font-size: 34rpx; font-weight: 700; color: #3D95FC; align-items: center; justify-content: center; background-color: #FFFFFF; } .tomore { font-size: 32rpx; color: #FFFFFF; display: block; text-align: center; margin-top: 70rpx; text-decoration: underline; } /* ������� */ .redPackMask { width: 100vw; position: fixed; top: 0; z-index: 100; height: 100vh; display: flex; align-items: center; justify-content: center; background-color: rgba(0, 0, 0, 0.6); } .redPackMask .content { width: 521rpx; height: 694rpx; opacity: 0; transition: all 300ms; transform: scale(0.6); } .redPackMask .packAnimation { opacity: 1; height: 634rpx; transform: scale(1); } .redPackMask .bg { width: 100%; height: 100%; } .redPackMask .info { position: absolute; width: 100%; height: 100%; top: 0; left: 0; } .info2 { display: flex; flex-direction: column; align-items: center; } .info2 text { color: #EBCD9A; } .info2_avatar { width: 98rpx; height: 98rpx; border-radius: 16rpx; margin-top: 38rpx; margin-bottom: 18rpx; } .info2_title { font-size: 36rpx; line-height: 50rpx; margin-bottom: 27rpx; } .info2_des { font-size: 26rpx; line-height: 37rpx; margin-bottom: 17rpx; } .info2_text { line-height: 62rpx; font-size: 44rpx; margin-bottom: 36rpx; } .info2_open { width: 166rpx; height: 166rpx; border-radius: 50%; overflow: hidden; } .info2_open image { width: 100%; height: 100%; } .info1 { padding-top: 248rpx; display: flex; flex-direction: column; align-items: center; } .info1 text { color: #EBCD9A; } .info1_top { line-height: 67rpx; font-size: 48rpx; } .info1_des { color: #EBCD9A; margin-top: 20rpx; margin-bottom: 77rpx; line-height: 45rpx; font-size: 32rpx; } .info1_des text { font-size: 40rpx; } .info1_tips { line-height: 30rpx; font-size: 22rpx; } .info1_save { background: #EBCD9A; border-radius: 8rpx; position: absolute; bottom: 42rpx; width: 404rpx; height: 84rpx; font-size: 30rpx; color: #333333; font-weight: 700; letter-spacing: 1.07px; display: flex; align-items: center; justify-content: center; }