@charset "UTF-8"; /** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ /* uni.scss */ page { background-color: #F0524C; } .luckyDraw { position: relative; } .luckyDraw > .back { width: 100%; } .luckyDrawContent { position: absolute; top: 0; width: 100%; padding: 40rpx 0; margin-bottom: 20rpx; font-family: PingFangSC-Medium, PingFang SC; } .luckyDrawContent .luckyDrawTop { padding: 0 28rpx; height: 104rpx; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; -webkit-box-align: center; -webkit-align-items: center; align-items: center; } .luckyDrawContent .luckyDrawTop .left { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-pack: start; -webkit-justify-content: flex-start; justify-content: flex-start; -webkit-box-align: center; -webkit-align-items: center; align-items: center; } .luckyDrawContent .luckyDrawTop .left > .avatarView { overflow: hidden; width: 104rpx; height: 104rpx; background: #D8D8D8; border-radius: 10px; } .luckyDrawContent .luckyDrawTop .left .userInfo { margin-left: 28rpx; } .luckyDrawContent .luckyDrawTop .left .userInfo > view { font-size: 32rpx; font-weight: 500; color: #FFFFFF; } .luckyDrawContent .luckyDrawTop .left .userInfo > view.account { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-pack: start; -webkit-justify-content: flex-start; justify-content: flex-start; -webkit-box-align: center; -webkit-align-items: center; align-items: center; } .luckyDrawContent .luckyDrawTop .left .userInfo > view.account > image { width: 36rpx; height: 36rpx; margin-right: 10rpx; } .luckyDrawContent .luckyDrawTop .left .userInfo > view.ID { margin-top: 4rpx; } .luckyDrawContent .luckyDrawTop .right { width: 212rpx; height: 76rpx; background: #FEC435; border-radius: 40rpx; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center; -webkit-box-align: center; -webkit-align-items: center; align-items: center; } .luckyDrawContent .luckyDrawTop .right > text { font-size: 28rpx; font-weight: 400; color: #FFFFFF; margin-left: 18rpx; } .luckyDrawContent .notice { width: 656rpx; height: 68rpx; background: #C7322C; box-shadow: 0px 4rpx 8rpx 0rpx rgba(49, 49, 49, 0.08); border-radius: 38rpx; opacity: 0.53; margin: 58rpx auto 0; padding: 0 30rpx; box-sizing: border-box; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-pack: start; -webkit-justify-content: flex-start; justify-content: flex-start; -webkit-box-align: center; -webkit-align-items: center; align-items: center; } .luckyDrawContent .notice .horn { width: 28rpx; height: 28rpx; } .luckyDrawContent .notice .txts { height: 68rpx; width: 600rpx; } .luckyDrawContent .turntable { position: relative; margin-top: 40rpx; } .luckyDrawContent .turntable .decorate { position: relative; width: 100%; height: 890rpx; } .luckyDrawContent .turntable .decorate > image { width: 100%; position: absolute; z-index: 10; } .luckyDrawContent .turntable .decorate > image.decorateBack { top: 0; } .luckyDrawContent .turntable .decorate > image.decorateChassis { position: absolute; z-index: 1; bottom: 0; } .luckyDrawContent .turntable .turntableContent { position: absolute; top: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; z-index: 20; padding-top: 20rpx; } .luckyDrawContent .turntable .turntableContent .bottom { margin-top: 20rpx; text-align: center; position: absolute; bottom: 35rpx; left: 50%; -webkit-transform: translateX(-50%); transform: translateX(-50%); } .luckyDrawContent .turntable .turntableContent .bottom .cont { font-size: 28rpx; font-weight: 400; color: #FFFFFF; margin-bottom: 22rpx; } .luckyDrawContent .turntable .turntableContent .bottom .cont text { font-size: 36rpx; color: #FEED22; font-weight: 500; } .luckyDrawContent .turntable .turntableContent .bottom .record { font-size: 28rpx; font-weight: 500; color: #FFFFFF; } .luckyDrawContent .myPrize { margin: 40rpx 26rpx 0; min-height: 352rpx; background: #F4E2CA; border-radius: 20rpx; position: relative; padding: 58rpx 0 20rpx; } .luckyDrawContent .myPrize .title { position: absolute; width: 232rpx; height: 64rpx; background: -webkit-linear-gradient(top, #FFEDD1 0%, #FFC954 100%); background: linear-gradient(180deg, #FFEDD1 0%, #FFC954 100%); box-shadow: 0 4rpx 8rpx 0 rgba(0, 0, 0, 0.07); border-radius: 0 0 24rpx 24rpx; font-size: 32rpx; font-weight: 500; color: #F33938; text-align: center; line-height: 64rpx; left: 50%; -webkit-transform: translateX(-50%); transform: translateX(-50%); top: -12rpx; } .luckyDrawContent .myPrize .chips { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; } .luckyDrawContent .myPrize .chip { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; flex-direction: column; -webkit-box-align: center; -webkit-align-items: center; align-items: center; width: 50%; } .luckyDrawContent .myPrize .chip > image { width: 208rpx; height: 160rpx; } .luckyDrawContent .myPrize .chip .text { font-size: 32rpx; font-weight: 500; color: #F33938; line-height: 44rpx; margin-top: 12rpx; } .luckyDrawContent .myPrize .chip .progress { position: relative; width: 200rpx; height: 40rpx; margin-top: 12rpx; background: #FFFCF7; border-radius: 26rpx; overflow: hidden; } .luckyDrawContent .myPrize .chip .progress .value { position: absolute; width: 1%; height: 100%; top: 0; left: 0; z-index: 1; background: #F37938; } .luckyDrawContent .myPrize .chip .progress > text { font-size: 28rpx; font-weight: 500; color: #333333; position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); z-index: 2; } .luckyDrawContent .myPrize .clearTime { margin: 20rpx 0 0; text-align: center; font-size: 24rpx; font-weight: 400; color: #F33938; } .luckyDrawContent .activityRules { margin: 40rpx 28rpx 0; background: #F4E2CA; border-radius: 20rpx; color: #F33938; font-size: 32rpx; font-weight: 400; } .luckyDrawContent .activityRules > .top { height: 92rpx; padding: 0 28rpx; box-sizing: border-box; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between; -webkit-box-align: center; -webkit-align-items: center; align-items: center; } .luckyDrawContent .activityRules > .top > image { width: 40rpx; } .luckyDrawContent .activityRules > .bottom { padding: 0 28rpx 30rpx; box-sizing: border-box; } .luckyDrawContent .activityRules > .bottom > view { margin-bottom: 12rpx; font-size: 28rpx; font-weight: 400; color: #666666; line-height: 46rpx; } .luckyDrawContent .popup { position: fixed; width: 100%; height: 100vh; background: rgba(0, 0, 0, 0.6); top: 0; left: 0; right: 0; bottom: 0; z-index: 100; } .luckyDrawContent .popup .popupContent { width: 632rpx; position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); text-align: center; } .luckyDrawContent .popup .popupContent > .content { position: relative; } .luckyDrawContent .popup .popupContent > .content > image { width: 100%; height: 652rpx; } .luckyDrawContent .popup .popupContent > .content > .textCon { position: absolute; width: 100%; top: 0; left: 0; right: 0; bottom: 0; padding-top: 192rpx; } .luckyDrawContent .popup .popupContent > .content > .textCon .ts { font-size: 60rpx; font-weight: 500; color: #F5631D; } .luckyDrawContent .popup .popupContent > .content > .textCon .reward { height: 60rpx; background: #FFD9A2; border-radius: 31rpx; font-size: 32rpx; font-weight: 400; display: inline-block; padding: 0 32rpx; color: #F5631E; line-height: 60rpx; margin-top: 20rpx; } .luckyDrawContent .popup .popupContent > .content > .textCon .doubleBt { width: 424rpx; height: 84rpx; margin-top: 114rpx; } .luckyDrawContent .popup .popupContent > .content > .textCon .bt { margin-top: 14rpx; font-size: 32rpx; font-weight: 400; color: #FCE8CD; } .luckyDrawContent .popup .popupContent > .close { width: 54rpx; height: 54rpx; margin-top: 76rpx; }