392 lines
6.8 KiB
Plaintext
392 lines
6.8 KiB
Plaintext
@charset "UTF-8";
|
||
/**
|
||
* 这里是uni-app内置的常用样式变量
|
||
*
|
||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||
*
|
||
*/
|
||
/**
|
||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||
*
|
||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||
*/
|
||
/* 颜色变量 */
|
||
/* 行为相关颜色 */
|
||
/* 文字基本颜色 */
|
||
/* 背景颜色 */
|
||
/* 边框颜色 */
|
||
/* 尺寸变量 */
|
||
/* 文字尺寸 */
|
||
/* 图片尺寸 */
|
||
/* Border Radius */
|
||
/* 水平间距 */
|
||
/* 垂直间距 */
|
||
/* 透明度 */
|
||
/* 文章场景相关 */
|
||
page {
|
||
background: url(https://media-mall-prod-1259811287.cos.ap-guangzhou.myqcloud.com/static/xcxfile/appicon/smashingEggs-bg.png) center top no-repeat #cb1944;
|
||
background-size: cover;
|
||
box-sizing: border-box;
|
||
}
|
||
.activity-outdated {
|
||
position: absolute;
|
||
width: 100%;
|
||
height: 100%;
|
||
background: #f8f8f8;
|
||
}
|
||
.box {
|
||
margin: 0 30rpx 30rpx;
|
||
}
|
||
.remainingcount {
|
||
position: relative;
|
||
margin-top: 435rpx;
|
||
color: yellow;
|
||
font-size: 36rpx;
|
||
text-align: center;
|
||
font-weight: bold;
|
||
}
|
||
.egg-box {
|
||
margin-top: 120rpx;
|
||
text-align: center;
|
||
position: relative;
|
||
}
|
||
.egg {
|
||
width: 230rpx;
|
||
display: inline-block;
|
||
}
|
||
.egg image {
|
||
width: 100%;
|
||
}
|
||
.hammer {
|
||
position: absolute;
|
||
width: 150rpx;
|
||
height: 150rpx;
|
||
background: url(https://media-mall-prod-1259811287.cos.ap-guangzhou.myqcloud.com/static/xcxfile/appicon/Hammer.png) center top no-repeat;
|
||
background-size: cover;
|
||
z-index: 5;
|
||
}
|
||
.egg-top {
|
||
margin-bottom: 22rpx;
|
||
}
|
||
.winner-box {
|
||
background: #fee39f;
|
||
position: relative;
|
||
padding-bottom: 20rpx;
|
||
margin-top: 130rpx;
|
||
}
|
||
.winner-title {
|
||
text-align: center;
|
||
color: #f30213;
|
||
font-size: 28rpx;
|
||
line-height: 70rpx;
|
||
height: 70rpx;
|
||
font-weight: bold;
|
||
}
|
||
.winner-img {
|
||
width: 150rpx;
|
||
position: absolute;
|
||
left: -12rpx;
|
||
top: 8rpx;
|
||
}
|
||
.winner-list {
|
||
max-height: 300rpx;
|
||
border: 1px solid #f30213;
|
||
margin: 0 20rpx;
|
||
overflow: scroll;
|
||
position: relative;
|
||
}
|
||
.m-winner-item {
|
||
height: 50rpx;
|
||
color: #f30213;
|
||
font-size: 26rpx;
|
||
line-height: 50rpx;
|
||
padding-left: 30rpx;
|
||
box-sizing: border-box;
|
||
}
|
||
.m-winner-item:nth-child(odd) {
|
||
background: #fad97c;
|
||
}
|
||
.m-winner-item:nth-child(even) {
|
||
background: #fee39f;
|
||
}
|
||
.prize-name {
|
||
position: absolute;
|
||
left: 380rpx;
|
||
}
|
||
.rule-box {
|
||
background: #fee39f;
|
||
position: relative;
|
||
margin-top: 20rpx;
|
||
padding: 70rpx 30rpx 30rpx;
|
||
font-size: 26rpx;
|
||
line-height: 40rpx;
|
||
color: #f30213;
|
||
}
|
||
.mskprize {
|
||
position: fixed;
|
||
height: 100%;
|
||
width: 100%;
|
||
background-color: rgba(0, 0, 0, 0.7);
|
||
z-index: 5;
|
||
top: 0;
|
||
left: 0;
|
||
display: flex;
|
||
justify-content: center;
|
||
align-items: center;
|
||
color: white;
|
||
text-align: center;
|
||
}
|
||
.mskshare {
|
||
position: fixed;
|
||
height: 100%;
|
||
width: 100%;
|
||
background-color: rgba(0, 0, 0, 0.7);
|
||
z-index: 5;
|
||
top: 0;
|
||
left: 0;
|
||
}
|
||
.share-oncemore {
|
||
width: 700rpx;
|
||
margin: 0 auto;
|
||
}
|
||
.share-text {
|
||
margin: 0 auto;
|
||
font-size: 40rpx;
|
||
line-height: 80rpx;
|
||
color: white;
|
||
text-align: center;
|
||
margin-top: 45%;
|
||
}
|
||
.m-result-box {
|
||
width: 500rpx;
|
||
height: 600rpx;
|
||
background: #db384b;
|
||
position: relative;
|
||
border-radius: 20rpx;
|
||
}
|
||
.m-result-cancel {
|
||
position: absolute;
|
||
right: 25rpx;
|
||
top: 15rpx;
|
||
font-size: 36rpx;
|
||
}
|
||
.m-success-text {
|
||
line-height: 80rpx;
|
||
margin-top: 50rpx;
|
||
font-size: 30rpx;
|
||
}
|
||
.m-success-img {
|
||
width: 250rpx;
|
||
height: 250rpx;
|
||
background: white;
|
||
margin: 0 auto;
|
||
}
|
||
.m-success-name {
|
||
color: #ffac33;
|
||
font-size: 26rpx;
|
||
line-height: 50rpx;
|
||
height: 50rpx;
|
||
}
|
||
.m-success-bottom {
|
||
position: absolute;
|
||
bottom: 40rpx;
|
||
line-height: 65rpx;
|
||
font-size: 28rpx;
|
||
display: flex;
|
||
justify-content: center;
|
||
width: 100%;
|
||
}
|
||
.succes-continue {
|
||
height: 65rpx;
|
||
width: 200rpx;
|
||
background: #ffca3a;
|
||
display: inline-block;
|
||
border-radius: 5rpx;
|
||
}
|
||
.succes-checkprice {
|
||
height: 65rpx;
|
||
width: 200rpx;
|
||
background: white;
|
||
color: black;
|
||
display: inline-block;
|
||
border-radius: 5rpx;
|
||
margin-right: 30rpx;
|
||
}
|
||
.m-failimg-bg {
|
||
width: 350rpx;
|
||
height: 350rpx;
|
||
border-radius: 175rpx;
|
||
background-color: rgba(255, 255, 255, 0.1);
|
||
margin: 40rpx auto 20rpx;
|
||
padding: 50rpx;
|
||
box-sizing: border-box;
|
||
}
|
||
.m-fail-img {
|
||
width: 100%;
|
||
height: 100%;
|
||
border-radius: 150rpx;
|
||
background-color: rgba(255, 255, 255, 0.2);
|
||
}
|
||
.m-fail-name {
|
||
font-size: 26rpx;
|
||
line-height: 50rpx;
|
||
}
|
||
.m-fail-button {
|
||
width: 300rpx;
|
||
height: 65rpx;
|
||
line-height: 65rpx;
|
||
position: absolute;
|
||
bottom: 40rpx;
|
||
background: #ffca3a;
|
||
border-radius: 5rpx;
|
||
font-size: 28rpx;
|
||
left: 100rpx;
|
||
}
|
||
.red-dot {
|
||
width: 20rpx;
|
||
height: 20rpx;
|
||
border-radius: 10rpx;
|
||
background: #f30213;
|
||
position: fixed;
|
||
bottom: 220rpx;
|
||
right: 20rpx;
|
||
z-index: 5;
|
||
}
|
||
.u-tap-btn {
|
||
position: fixed;
|
||
right: 20rpx;
|
||
bottom: 40rpx;
|
||
}
|
||
.u-go-home {
|
||
border-radius: 100%;
|
||
width: 80rpx;
|
||
height: 80rpx;
|
||
border: 1px solid #eee;
|
||
font-size: 20rpx;
|
||
text-align: center;
|
||
background-color: #fff;
|
||
box-shadow: 0px 4rpx 8rpx rgba(0, 0, 0, 0.35);
|
||
z-index: 2;
|
||
opacity: 0.8;
|
||
line-height: 80rpx;
|
||
margin-bottom: 20rpx;
|
||
}
|
||
.u-go-home .iconfont {
|
||
font-size: 36rpx;
|
||
}
|
||
.move1 {
|
||
position: relative;
|
||
animation: mymove1 1s;
|
||
-webkit-animation: mymove1 1s reverse;
|
||
}
|
||
@keyframes mymove1 {
|
||
from {
|
||
left: 0px;
|
||
}
|
||
to {
|
||
left: 230rpx;
|
||
}
|
||
}
|
||
@-webkit-keyframes mymove1 {
|
||
from {
|
||
left: 0px;
|
||
}
|
||
to {
|
||
left: 230rpx;
|
||
}
|
||
}
|
||
.move2 {
|
||
position: relative;
|
||
animation: mymove2 1s reverse;
|
||
-webkit-animation: mymove2 1s reverse;
|
||
}
|
||
@keyframes mymove2 {
|
||
from {
|
||
top: 0px;
|
||
left: 0;
|
||
}
|
||
to {
|
||
top: 285rpx;
|
||
left: 115rpx;
|
||
}
|
||
}
|
||
@-webkit-keyframes mymove2 {
|
||
from {
|
||
top: 0px;
|
||
left: 0;
|
||
}
|
||
to {
|
||
top: 285rpx;
|
||
left: 115rpx;
|
||
}
|
||
}
|
||
.move3 {
|
||
position: relative;
|
||
animation: mymove3 1s reverse;
|
||
-webkit-animation: mymove3 1s reverse;
|
||
}
|
||
@keyframes mymove3 {
|
||
from {
|
||
bottom: 0px;
|
||
left: 0;
|
||
}
|
||
to {
|
||
bottom: 285rpx;
|
||
left: 115rpx;
|
||
}
|
||
}
|
||
@-webkit-keyframes mymove3 {
|
||
from {
|
||
bottom: 0px;
|
||
left: 0;
|
||
}
|
||
to {
|
||
bottom: 285rpx;
|
||
left: 115rpx;
|
||
}
|
||
}
|
||
.move4 {
|
||
position: relative;
|
||
animation: mymove4 1s reverse;
|
||
-webkit-animation: mymove4 1s reverse;
|
||
}
|
||
@keyframes mymove4 {
|
||
from {
|
||
right: 0px;
|
||
}
|
||
to {
|
||
right: 230rpx;
|
||
}
|
||
}
|
||
@-webkit-keyframes mymove4 {
|
||
from {
|
||
right: 0px;
|
||
}
|
||
to {
|
||
right: 230rpx;
|
||
}
|
||
}
|
||
.move5 {
|
||
position: relative;
|
||
animation: mymove5 1s reverse;
|
||
-webkit-animation: mymove5 1s reverse;
|
||
}
|
||
@keyframes mymove5 {
|
||
from {
|
||
right: 0px;
|
||
}
|
||
to {
|
||
right: 230rpx;
|
||
}
|
||
}
|
||
@-webkit-keyframes mymove5 {
|
||
from {
|
||
right: 0px;
|
||
}
|
||
to {
|
||
right: 230rpx;
|
||
}
|
||
}
|
||
|