@charset "UTF-8"; /** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ .onebox { height: 372rpx; width: 352rpx; border-radius: 26rpx; background-color: #fff; } .twobox { width: 176rpx; border-radius: 13rpx; background-color: #fff; } .result-popup-main { z-index: 9999; } .result-popup-main .result-popup { background-image: url("https://www.chaomangdao.com/image/kjbg.jpg"); position: fixed; bottom: 0; left: 0; background-repeat: no-repeat; background-size: 100% 100%; } .prize { -webkit-transform: scale(0); transform: scale(0); opacity: 0; transition: 0.2s; width: 750rpx; height: 100vh; display: flex; justify-content: center; } .prize.show { -webkit-transform: scale(1); transform: scale(1); opacity: 1; } .prize .prize_box { width: 100%; height: 1120rpx; position: relative; flex-direction: column; background-size: 100% auto; background-position: top; background-repeat: no-repeat; } .prize .prize_box .prize_close { width: 64rpx; height: 64rpx; top: 280rpx; right: 30rpx; position: absolute; z-index: 999999; } .prize .prize_box .prize-top { width: 528rpx; height: 270rpx; position: absolute; top: 120rpx; left: 118rpx; } .prize .prize_box .prize-top-2 { top: 40rpx; } .prize .prize_box .prize_footer { width: 100%; } .prize .prize_box .prize_footer-2 { bottom: -200rpx; } .prize .prize_box .prize_footer .btn { height: 84rpx; border-radius: 16rpx; position: absolute; } .prize .prize_box .prize_footer .btn-1 { bottom: 0rpx; background-image: -webkit-linear-gradient(0deg, #89f7fe 0%, #66a6ff 100%); font-size: 38rpx; text-align: center; line-height: 86rpx; width: 159px; border-radius: 8px; position: absolute; left: 40rpx; color: #ffffff; font-weight: bold; } .prize .prize_box .prize_footer .btn-0 { bottom: 0rpx; background-image: -webkit-linear-gradient(60deg, #ffc8de 0%, #ff67a4 100%); font-size: 38rpx; text-align: center; line-height: 86rpx; right: 40rpx; width: 159px; color: #ffffff; font-weight: bold; } .prize .shiwan { background: url(https://www.chaomangdao.com/image/open/tanchuangbeijing@2x.png) no-repeat; background-size: cover; } .prize .prize_ul { width: 566rpx; display: flex; flex-wrap: wrap; justify-content: space-between; position: absolute; top: 336rpx; left: 92rpx; } .prize .prize_ul-2 { top: 360rpx; } .prize .prize_ul::after { content: ''; width: 176rpx; } .prize .prize_ul_li { margin-bottom: 16rpx; position: relative; width: 176rpx; display: flex; flex-direction: column; align-items: center; justify-content: center; display: flex; padding: 8rpx; box-sizing: border-box; } .prize .prize_ul_li .two { width: 176rpx; height: 176rpx; } .prize .prize_ul_li .a { font-size: 24rpx; font-weight: 500; color: #171a20; width: 146rpx; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .prize .prize_ul_li .price { margin-top: 6rpx; font-size: 24rpx; font-weight: 500; color: #171a20; } .prize .prize_ul_li .left-top-tag { position: absolute; top: 0; left: 0; z-index: 9999999; width: 3rem; height: 3rem; } .prize .prize_ul_li .left-top-tag .tag-img { width: 100%; height: 100%; } .prize .prize_ul_li .left-top-tag .tag-text { font-size: 0.6rem !important; position: absolute; position: absolute; top: 30%; left: 30%; color: #fff !important; width: auto !important; -webkit-transform: translateX(-50%) translateY(-50%) rotate(-45deg); transform: translateX(-50%) translateY(-50%) rotate(-45deg); } .prize .prize_shop { transition: 1s; position: absolute; top: 336rpx; left: 198rpx; display: flex; flex-direction: column; } .prize .prize_shop .spining { z-index: -1; height: 150vh; width: 150vh; background-image: url(https://www.chaomangdao.com/image/result/spining.png); background-repeat: no-repeat; background-size: 100% 100%; position: absolute; } .prize .prize_shop image { width: 174rpx; height: 235rpx; margin-bottom: 20rpx; } .prize .prize_shop text { width: 70%; font-size: 16rpx; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #171a20; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; text-align: center; } .prize .prize_shop .colorblack { font-size: 32rpx !important; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #171a20; } .prize .prize_shop .left-top-tag { position: absolute; top: -2rpx; left: -2rpx; z-index: 9999999; width: 5rem; height: 5rem; } .prize .prize_shop .left-top-tag .tag-img { width: 100%; height: 100%; } .prize .prize_shop .left-top-tag .tag-text { font-size: 1rem; position: absolute; top: 30%; left: 30%; color: #fff !important; width: auto !important; -webkit-transform: translateX(-50%) translateY(-50%) rotate(-45deg); transform: translateX(-50%) translateY(-50%) rotate(-45deg); } .prize .tag-normal { box-shadow: 0 0 40rpx 18rpx #9d85ff; } .prize .tag-rare { box-shadow: 0 0 40rpx 18rpx #47a8ff; } .prize .tag-supreme { box-shadow: 0 0 40rpx 32rpx #feb337; } .prize .tag-legend { box-shadow: 0 0 40rpx 32rpx #fe615e; } .prize .shiwan { width: 399rpx; height: 48rpx; color: #ffffff; font-size: 30rpx; margin-top: 40rpx; background: #000000; border-radius: 27rpx 27rpx 27rpx 27rpx; } .prize_shop_scale { -webkit-transform: scale(1.3); transform: scale(1.3); } .loading-mask { z-index: 999; position: fixed; top: -180rpx; left: 0; height: 100vh; width: 100vw; display: flex; align-items: flex-end; justify-content: center; } .loading-mask .shouzhi { position: absolute; bottom: 100rpx; width: 400rpx; height: 400rpx; } .loading-mask .animation-wrapper { margin-bottom: 10vh; } .loading-mask .animation-wrapper image { height: 360rpx; } .loading-mask .animation-wrapper .halo { opacity: 1; -webkit-transform: scale(0); transform: scale(0); position: absolute; top: 0; } .loading-mask .animation-wrapper.explode .box { transition: 0.3s; opacity: 0; -webkit-transform: scale(0); transform: scale(0); } .loading-mask .animation-wrapper.explode .halo { transition: 1.2s; opacity: 0; -webkit-transform: scale(5); transform: scale(5); } @-webkit-keyframes rotate { from { -webkit-transform: rotate(0deg); transform: rotate(0deg); } to { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes rotate { from { -webkit-transform: rotate(0deg); transform: rotate(0deg); } to { -webkit-transform: rotate(360deg); transform: rotate(360deg); } } .spining { transition: 0.3s; -webkit-animation: rotate 10s linear infinite; animation: rotate 10s linear infinite; /*开始动画后无限循环,用来控制rotate*/ }