@keyframes futop { 0% { top: -120rpx; } 100% { top: -80rpx; } } @keyframes red { 0% { transform: rotate(-20deg); } 100% { transform: rotate(20deg); } } @keyframes dog { 0% { transform: scale(1.2) rotate(-20deg); } 5% { transform: scale(1); } 60% { transform: scale(1); } 65% { transform: scale(1.2) rotate(-20deg); } 70% { transform: scale(1); } 75% { transform: scale(1.2) rotate(-20deg); } 80% { transform: scale(1); } 100% { transform: scale(1); } } .bg { position: relative; width: 100%; min-height: 100%; background-color: #e8343f; padding-bottom: 43rpx; } button::afrer { border: 0; } .button { border: 0; margin: 0; padding: 0; background: 0; position: static; } .red_top { position: relative; width: 750rpx; height: 478rpx; background-image: url('https://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/xcx/redpacket/bg.jpg'); background-size: 100% 100%; } .red_top_fu { position: absolute; left: 94rpx; top: -100rpx; width: 562rpx; height: 562rpx; display: block; z-index: 1; animation: futop 1s ease-in-out infinite alternate; } .red_rule { position: absolute; top: 21rpx; right: 23rpx; width: 92rpx; height: 35rpx; font-size: 26rpx; color: #390707; text-align: center; line-height: 35rpx; border-radius: 12rpx; background: linear-gradient(#f7c775, #ffdc98); } .red_price { position: absolute; left: 174rpx; top: 316rpx; width: 403rpx; height: 63rpx; text-align: center; line-height: 63rpx; color: #e8042a; font-size: 26rpx; font-weight: bold; z-index: 2; background-image: url('https://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/xcx/redpacket/topprice.png'); background-size: 100% 100%; } .red_btnBg { position: relative; width: 619rpx; height: 68rpx; margin: 10rpx auto 0; } .red_btnLeft { position: absolute; left: 0; top: 0; width: 142rpx; height: 67rpx; border: 1rpx solid #e6be7a; border-radius: 8rpx; } .btnLeft_form { display: block; width: 142rpx; height: 67rpx; } .red_btnRight { position: absolute; right: 0; top: 0; width: 461rpx; height: 67rpx; border: 1rpx solid #e6be7a; border-radius: 8rpx; } .red_btn { width: 134rpx; height: 59rpx; margin: 4rpx auto 0; background: linear-gradient(#ffdc97, #fcca71); color: #eb0d2b; text-align: center; line-height: 59rpx; font-size: 27rpx; color: #e70529; font-weight: bold; border-radius: 5rpx; } .send_btn { position: relative; width: 453rpx; height: 59rpx; margin: 4rpx auto 0; background: linear-gradient(#fff232, #ff9711); color: #eb0d2b; text-align: center; line-height: 59rpx; font-size: 27rpx; color: #eb0d2b; font-weight: bold; border-radius: 5rpx; } .red_growBg { position: relative; width: 619rpx; height: 129rpx; background-color: #fff; margin: 25rpx auto 0; } .red_growBorder { position: absolute; width: 28rpx; height: 29rpx; background-image: url('https://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/xcx/redpacket/border.png'); background-size: 100% 100%; } .red_growBorder_left { left: 5rpx; top: 5rpx; } .red_growBorder_right { right: 5rpx; top: 5rpx; transform: rotate(90deg); } .red_growBorder_top { right: 5rpx; bottom: 5rpx; transform: rotate(180deg); } .red_growBorder_bottom { left: 5rpx; bottom: 5rpx; transform: rotate(270deg); } .red_growText { line-height: 129rpx; float: left; font-size: 30rpx; color: #e8042a; padding-left: 30rpx; } .red_wang { display: inline-block; position: relative; animation: dog 2s ease-in-out infinite; } .red_gorw_price { line-height: 129rpx; float: right; font-size: 58rpx; color: #e8042a; padding-right: 50rpx; letter-spacing: -1rpx; } .red_yuan { font-size: 36rpx; } .red_friendBg { position: relative; width: 603rpx; height: 574rpx; background-color: #fff; margin: 17rpx auto 0; padding: 8rpx; } .red_friend { position: relative; border: 2rpx solid #e6be7a; height: 566rpx; padding-left: 26rpx; padding-right: 26rpx; } .red_friend_title { color: #737373; font-size: 26rpx; text-align: center; height: 64rpx; line-height: 64rpx; border-bottom: 1rpx solid #e6be7a; } .red_friend_line { height: 79rpx; border-bottom: 1rpx solid #e6be7a; } .red_friend_head { width: 49rpx; height: 49rpx; border: 1rpx solid #e7c281; float: left; margin-left: 10rpx; margin-top: 13rpx; border-radius: 100%; } .red_friend_left { float: left; padding-left: 10rpx; height: 49rpx; } .red_friend_num { padding-top: 16rpx; color: #737373; font-size: 20rpx; line-height: 24rpx; } .red_friend_name { color: #737373; font-size: 20rpx; width: 200rpx; } .red_friend_price { float: right; height: 79rpx; line-height: 79rpx; color: #e8042a; font-size: 23rpx; } .red_friend_price_black { float: right; height: 79rpx; line-height: 79rpx; color: #737373; font-size: 23rpx; } .red_friend_big { width: 93rpx; height: 33rpx; background-color: #e8042a; float: right; margin-top: 24rpx; border-radius: 14rpx; font-size: 22rpx; font-weight: bold; text-align: center; line-height: 33rpx; color: #fff; margin-right: 7rpx; } .red_friend_fire { width: 110rpx; height: 33rpx; background-color: #e8042a; float: right; margin-top: 24rpx; border-radius: 14rpx; font-size: 22rpx; font-weight: bold; text-align: center; line-height: 33rpx; color: #fff; margin-right: 7rpx; } .red_page_bg { position: absolute; width: 100%; height: 96rpx; left: 0; bottom: 0; } .red_fire { width: 32rpx; height: 26rpx; margin-left: 5rpx; margin-top: 4rpx; float: left; background-image: url('https://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/xcx/redpacket/fireworks.png'); background-size: 100% 100%; } .red_fire_text { margin-right: 10rpx; float: right; } .red_page { width: 216rpx; height: 96rpx; margin: 0 auto; } .red_page_block { position: relative; width: 52rpx; height: 52rpx; float: left; margin-top: 23rpx; background-color: #e6be7a; border-radius: 4rpx; } .red_page_text { float: left; width: 112rpx; height: 96rpx; line-height: 96rpx; color: #737373; font-size: 28rpx; text-align: center; } .red_page_left { position: relative; left: -14rpx; top: 13rpx; border-left: 26rpx solid rgba(0,0,0,0); border-right: 26rpx solid #fff; border-top: 13rpx solid rgba(0,0,0,0); border-bottom: 13rpx solid rgba(0,0,0,0); } .red_page_right { position: relative; left: 14rpx; top: 13rpx; border-left: 26rpx solid #fff; border-right: 26rpx solid rgba(0,0,0,0); border-top: 13rpx solid rgba(0,0,0,0); border-bottom: 13rpx solid rgba(0,0,0,0); } .red_rankBg { position: relative; width: 603rpx; height: 574rpx; background-color: #fff; margin: 66rpx auto 0; padding: 8rpx; } .red_rank { position: relative; border: 2rpx solid #e8343f; height: 566rpx; padding-left: 26rpx; padding-right: 26rpx; } .red_rank_title { color: #737373; font-size: 26rpx; text-align: center; height: 64rpx; line-height: 64rpx; border-bottom: 1rpx solid #e7052b; } .red_rank_line { height: 79rpx; border-bottom: 1rpx solid #e7052b; } .red_rank_head { width: 49rpx; height: 49rpx; border: 1rpx solid #e7052b; float: left; margin-left: 10rpx; margin-top: 13rpx; border-radius: 100%; } .red_page_rank_block { position: relative; width: 52rpx; height: 52rpx; float: left; margin-top: 23rpx; background-color: #e7052b; border-radius: 4rpx; } .red_rank_textBg { position: absolute; top: -45rpx; left: 100rpx; border-radius: 75rpx; width: 388rpx; height: 75rpx; background-color: #fdce79; } .red_rank_text { width: 370rpx; height: 60rpx; border: 2rpx solid #fff; margin: 6rpx auto 0; border-radius: 60rpx; text-align: center; line-height: 60rpx; color: #e8042a; font-size: 27rpx; font-weight: bold; } .redpacket_bg { position: fixed; z-index: 20; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); } .redpacket_close { position: absolute; left: 104rpx; top: 180rpx; width: 542rpx; height: 703rpx; background-image: url('https://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/xcx/redpacket/close.png'); background-size: 100% 100%; } .chai_from { position: absolute; left: 50%; top: 95rpx; margin-left: -92rpx; width: 1rpx; height: 1rpx; display: block; border: 0; } .redpacket_chai { width: 183rpx; height: 181rpx; background-image: url('https://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/xcx/redpacket/chai.png'); background-size: 100% 100%; } .redpacket_open { position: absolute; left: 104rpx; top: 25rpx; width: 542rpx; height: 860rpx; background-image: url('https://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/xcx/redpacket/open.png'); background-size: 100% 100%; } .redpacket_open_block { margin: 95rpx auto 0; width: 542rpx; height: 336rpx; } .redpacket_open_text { font-size: 25rpx; color: #cd5216; padding-top: 75rpx; text-align: center; } .redpacket_open_price { font-size: 80rpx; color: #e50429; text-align: center; font-weight: bold; } .redpacket_open_yuan { font-size: 46rpx; } .open_ad { padding-top: 290rpx; } .close_ad { padding-top: 16rpx; } .ad_headbg { position: relative; height: 160rpx; } .ad_head { width: 192rpx; height: 80rpx; margin: 0 auto; } .ad_head_left { float: left; width: 72rpx; height: 72rpx; border: 3rpx solid #e6be7a; border-radius: 100%; } .ad_head_right { float: right; width: 72rpx; height: 72rpx; border: 3rpx solid #e6be7a; border-radius: 100%; } .ad_head_center { float: left; width: 36rpx; height: 80rpx; line-height: 80rpx; text-align: center; font-size: 27rpx; color: #ffe09d; } .ad_text_bg { width: 542rpx; height: 28rpx; line-height: 28rpx; color: #ffe09d; font-size: 22rpx; overflow: hidden; } .ad_text_left { width: 248rpx; padding-right: 23rpx; float: left; text-align: right; } .ad_text_right { width: 251rpx; padding-left: 20rpx; float: right; } .ad_text { color: #ffe09d; font-size: 24rpx; text-align: center; height: 50rpx; line-height: 50rpx; } .ad_from { position: absolute; left: 50%; margin-left: -240rpx; top: 170rpx; width: 480rpx; height: 217rpx; } .ad_iamge_bg { width: 480rpx; height: 217rpx; } .ad-iamge { width: 100%; height: 100%; } .close_red { position: absolute; left: 50%; margin-left: -23rpx; bottom: -90rpx; background-image: url('https://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/xcx/redpacket/closepacket.png'); width: 60rpx; height: 60rpx; background-size: 100% 100%; } .red_price_update { position: absolute; z-index: 10; right: 10rpx; top: 52rpx; width: 32rpx; height: 28rpx; background-size: 100% 100%; background-image: url('https://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/xcx/redpacket/update.png'); } .button_packet { position: absolute; left: 115rpx; top: 10rpx; background-image: url('https://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/xcx/redpacket/red.png'); width: 30rpx; height: 38rpx; background-size: 100% 100%; animation: red 0.5s ease-in-out infinite alternate; }