123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470 |
- @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 {
- overflow-x: hidden;
- position: absolute;
- top: 0;
- width: 100%;
- padding: 28rpx 0;
- margin-bottom: 20rpx;
- font-family: PingFangSC-Medium, PingFang SC;
- }
- .luckyDrawContent .luckyDrawTop {
- padding: 0 28rpx;
- height: 104rpx;
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .luckyDrawContent .luckyDrawTop .left {
- display: flex;
- justify-content: flex-start;
- 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: flex;
- justify-content: flex-start;
- 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: 180rpx;
- height: 64rpx;
- background: #BA3A11;
- border-radius: 30rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .luckyDrawContent .luckyDrawTop .right > text {
- font-size: 28rpx;
- font-weight: 400;
- color: #FFFFFF;
- }
- .luckyDrawContent .notice {
- width: 656rpx;
- height: 60rpx;
- background: #C7322C;
- box-shadow: 0px 4rpx 8rpx 0rpx rgba(49, 49, 49, 0.08);
- border-radius: 38rpx;
- opacity: 0.53;
- margin: 38rpx auto 0;
- padding: 0 30rpx;
- box-sizing: border-box;
- display: flex;
- justify-content: flex-start;
- align-items: center;
- }
- .luckyDrawContent .notice .horn {
- width: 28rpx;
- height: 28rpx;
- }
- .luckyDrawContent .notice .txts {
- height: 68rpx;
- width: 600rpx;
- }
- .luckyDrawContent .qLuckDraw {
- position: absolute;
- top: 180rpx;
- right: 10rpx;
- z-index: 200;
- -webkit-animation: lanimation 1.3s linear infinite;
- animation: lanimation 1.3s linear infinite;
- }
- .luckyDrawContent .qLuckDraw > image {
- width: 120rpx;
- height: 120rpx;
- }
- .luckyDrawContent .turntable {
- position: relative;
- margin-top: 20rpx;
- }
- .luckyDrawContent .turntable .decorate {
- position: relative;
- width: 100%;
- height: 880rpx;
- }
- .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;
- }
- .luckyDrawContent .turntable .turntableContent .al {
- width: 100%;
- height: 804rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- padding-bottom: 40rpx;
- }
- .luckyDrawContent .turntable .turntableContent .bottom {
- margin-top: 30rpx;
- text-align: center;
- position: absolute;
- bottom: 25rpx;
- left: 50%;
- -webkit-transform: translateX(-50%);
- transform: translateX(-50%);
- }
- .luckyDrawContent .turntable .turntableContent .bottom .cont {
- font-size: 28rpx;
- font-weight: 400;
- color: #FFFFFF;
- margin-bottom: 12rpx;
- }
- .luckyDrawContent .turntable .turntableContent .bottom .cont text {
- font-size: 36rpx;
- color: #FEED22;
- font-weight: 500;
- }
- .luckyDrawContent .myPrize {
- margin: 30rpx 26rpx 0;
- min-height: 352rpx;
- background: #F4E2CA;
- border-radius: 20rpx;
- position: relative;
- padding: 40rpx 0 20rpx;
- }
- .luckyDrawContent .myPrize .title {
- position: absolute;
- width: 232rpx;
- height: 64rpx;
- 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: flex;
- justify-content: space-between;
- }
- .luckyDrawContent .myPrize .chip {
- display: flex;
- flex-direction: column;
- align-items: center;
- width: 50%;
- }
- .luckyDrawContent .myPrize .chip > image {
- width: 180rpx;
- height: 140rpx;
- }
- .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: 38rpx;
- 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: 28rpx 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: flex;
- justify-content: space-between;
- 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: 201;
- }
- .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;
- font-size: 50rpx;
- font-weight: 400;
- display: inline-block;
- padding: 0 32rpx;
- color: #F5631E;
- line-height: 60rpx;
- margin-top: 20rpx;
- }
- .luckyDrawContent .popup .popupContent > .content > .textCon .goldText {
- font-size: 64rpx;
- font-family: FZZZHONGJW--GB1-0, FZZZHONGJW--GB1;
- font-weight: normal;
- color: #FFFFFF;
- margin-bottom: 25rpx;
- -webkit-transform: translateX(12rpx);
- transform: translateX(12rpx);
- }
- .luckyDrawContent .popup .popupContent > .content > .textCon .doubleBt {
- width: 456rpx;
- height: 104rpx;
- margin-top: 90rpx;
- transition: all linear .5s;
- }
- .luckyDrawContent .popup .popupContent > .content > .textCon .bt {
- margin-top: 14rpx;
- font-size: 32rpx;
- font-weight: 400;
- color: #FCE8CD;
- }
- .luckyDrawContent .popup .popupContent > .content > .textCon .againLuckDrawBt {
- width: 424rpx;
- height: 86rpx;
- background: linear-gradient(180deg, #FDDEA5 0%, #FFC981 75%, #FFC983 100%);
- border-radius: 43rpx;
- font-size: 36rpx;
- font-family: SourceHanSansCN-Medium, SourceHanSansCN;
- font-weight: 500;
- color: #854007;
- text-align: center;
- line-height: 86rpx;
- margin: 0 auto 40rpx;
- transition: all linear .5s;
- }
- .luckyDrawContent .popup .popupContent > .content > .textCon .btGold {
- width: 448rpx;
- height: 104rpx;
- border-radius: 52rpx;
- line-height: 104rpx;
- font-size: 40rpx;
- box-shadow: 0px 2rpx 8rpx 4rpx rgba(183, 2, 2, 0.37);
- background: linear-gradient(180deg, #FFFCBE 0%, #F87527 100%);
- }
- .luckyDrawContent .popup .popupContent > .content > .textCon .btVip {
- width: 426rpx;
- height: 88rpx;
- background: linear-gradient(180deg, #F6E5CA 0%, #EDC388 100%);
- box-shadow: 0rpx 6rpx 16rpx 0rpx rgba(162, 58, 20, 0.77);
- border-radius: 44rpx;
- }
- .luckyDrawContent .popup .popupContent > .close {
- width: 54rpx;
- height: 54rpx;
- margin-top: 76rpx;
- }
- .luckyDrawContent .fragmentAni, .luckyDrawContent .fragmentGold {
- position: absolute;
- z-index: 201;
- top: 453rpx;
- left: 330rpx;
- opacity: 0;
- }
- .luckyDrawContent .fragmentAni > image, .luckyDrawContent .fragmentGold > image {
- width: 100rpx;
- height: 100rpx;
- }
- .luckyDrawContent .receiveTs {
- position: absolute;
- border: 2rpx solid #f24545;
- top: 450rpx;
- z-index: 201;
- color: #FFFFFF;
- left: 50%;
- -webkit-transform: translateX(-50%);
- transform: translateX(-50%);
- padding: 10rpx 20rpx;
- background-color: rgba(131, 37, 37, 0.6);
- border-radius: 5rpx;
- opacity: 0;
- }
- .luckyDrawContent .singleLattice {
- position: absolute;
- top: 900rpx;
- right: 8rpx;
- z-index: 201;
- }
- @-webkit-keyframes lanimation {
- 0% {
- -webkit-transform: rotate(0deg);
- transform: rotate(0deg);
- }
- 8% {
- -webkit-transform: rotate(12deg);
- transform: rotate(12deg);
- }
- 16% {
- -webkit-transform: rotate(0deg);
- transform: rotate(0deg);
- }
- 24% {
- -webkit-transform: rotate(-12deg);
- transform: rotate(-12deg);
- }
- 32% {
- -webkit-transform: rotate(0deg);
- transform: rotate(0deg);
- }
- 100% {
- -webkit-transform: rotate(0deg);
- transform: rotate(0deg);
- }
- }
|