Compare commits
9 Commits
rank
...
spacTimeLu
Author | SHA1 | Date | |
---|---|---|---|
![]() |
20ce419a69 | ||
![]() |
994f05f68e | ||
![]() |
583e34a6fc | ||
![]() |
ecbf67b95a | ||
![]() |
ff04a54b79 | ||
![]() |
628fe50749 | ||
![]() |
4fb89fff9b | ||
![]() |
f413ac7c09 | ||
![]() |
3150046440 |
290
view/yinmeng/activity/spacTimeLuck/css/index.css
Normal file
@@ -0,0 +1,290 @@
|
|||||||
|
html,
|
||||||
|
body {
|
||||||
|
width: 100%;
|
||||||
|
background: linear-gradient(0deg, #474B6E 0%, #37304A 99%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.rabbit {
|
||||||
|
z-index: 999;
|
||||||
|
}
|
||||||
|
|
||||||
|
.back {
|
||||||
|
position: fixed;
|
||||||
|
top: 0.93333rem;
|
||||||
|
left: 0.45333rem;
|
||||||
|
z-index: 99;
|
||||||
|
width: 0.82667rem;
|
||||||
|
height: 0.82667rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.back img {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.back p {
|
||||||
|
color: #fff;
|
||||||
|
font-size: 0.42667rem;
|
||||||
|
position: absolute;
|
||||||
|
width: 9rem;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
height: 100%;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 0.82667rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.layui-m-layershade {
|
||||||
|
background-color: rgba(0, 0, 0, 0.4) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header {
|
||||||
|
width: 10rem;
|
||||||
|
height: 15.06667rem;
|
||||||
|
margin: 0 auto 0;
|
||||||
|
background: url(../images/header.png) no-repeat;
|
||||||
|
background-size: 100% 100%;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header .giftBox {
|
||||||
|
width: 10rem;
|
||||||
|
height: 3.86667rem;
|
||||||
|
position: relative;
|
||||||
|
top: 8.94667rem;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
background: url(../images/gift.png) no-repeat;
|
||||||
|
background-size: 100% 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header .giftBox div {
|
||||||
|
position: absolute;
|
||||||
|
width: 1.73333rem;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header .giftBox div p {
|
||||||
|
color: #fff;
|
||||||
|
font-size: 0.34667rem;
|
||||||
|
font-weight: 400;
|
||||||
|
margin-bottom: 0.10667rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header .giftBox div span {
|
||||||
|
color: #FAF8B6;
|
||||||
|
font-size: 0.32rem;
|
||||||
|
font-weight: 300;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header .giftBox .div1 {
|
||||||
|
top: 3.50667rem;
|
||||||
|
left: 0.61333rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header .giftBox .div2 {
|
||||||
|
top: 2.54667rem;
|
||||||
|
left: 2.96rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header .giftBox .div3 {
|
||||||
|
top: 4rem;
|
||||||
|
left: 5.46667rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header .giftBox .div4 {
|
||||||
|
top: 3.29333rem;
|
||||||
|
left: 7.86667rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
position: relative;
|
||||||
|
width: 9.34667rem;
|
||||||
|
height: 17.72rem;
|
||||||
|
margin: -0.93333rem auto 0.24rem;
|
||||||
|
background: url(../images/content.png) no-repeat;
|
||||||
|
background-size: 100% 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content .title {
|
||||||
|
width: 100%;
|
||||||
|
text-align: center;
|
||||||
|
color: #FFFFFF;
|
||||||
|
font-size: 0.45333rem;
|
||||||
|
font-weight: 400;
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 0.38667rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content .text {
|
||||||
|
width: 8rem;
|
||||||
|
height: 1.37333rem;
|
||||||
|
color: #FFFFFF;
|
||||||
|
font-size: 0.32rem;
|
||||||
|
font-weight: 300;
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
top: 1.84rem;
|
||||||
|
line-height: 0.47rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content .lineBox {
|
||||||
|
width: 9.24rem;
|
||||||
|
height: 2.76rem;
|
||||||
|
background: url(../images/lineBigBox.png) no-repeat;
|
||||||
|
background-size: 100% 100%;
|
||||||
|
position: relative;
|
||||||
|
top: 3.73333rem;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.content .lineBox .line {
|
||||||
|
width: 7.88rem;
|
||||||
|
height: 0.68rem;
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
top: 0.69333rem;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 0.10667rem 0.08rem;
|
||||||
|
background: url(../images/lineBox.png) no-repeat;
|
||||||
|
background-size: 100% 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content .lineBox .line .line_in {
|
||||||
|
width: 0%;
|
||||||
|
height: 100%;
|
||||||
|
background: linear-gradient(0deg, #FFE993 0%, #EC9409 52%, #FFFC9E 98%);
|
||||||
|
border-radius: 0.68rem;
|
||||||
|
text-align: center;
|
||||||
|
line-height: 0.50667rem;
|
||||||
|
color: #F14029;
|
||||||
|
font-size: 0.34667rem;
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content .lineBox .tavBox {
|
||||||
|
width: 95%;
|
||||||
|
position: absolute;
|
||||||
|
top: 1.61333rem;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 0 0.13333rem;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content .lineBox .tavBox div {
|
||||||
|
width: 0.68rem;
|
||||||
|
height: 0.38667rem;
|
||||||
|
line-height: 0.38667rem;
|
||||||
|
border-radius: 0.10667rem;
|
||||||
|
background: linear-gradient(0deg, #6871B0 0%, #6483CA 100%);
|
||||||
|
color: #FFFFFF;
|
||||||
|
font-size: 0.28rem;
|
||||||
|
font-weight: 500;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content .lineBox .tavBox .active {
|
||||||
|
background: url(../images/tabAct.png) no-repeat;
|
||||||
|
background-size: 100% 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content .updataIcon {
|
||||||
|
width: 0.73333rem;
|
||||||
|
height: 0.78667rem;
|
||||||
|
position: absolute;
|
||||||
|
right: 0.92rem;
|
||||||
|
top: 6.68rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content .lottery {
|
||||||
|
width: 8.69333rem;
|
||||||
|
height: 7.98667rem;
|
||||||
|
position: relative;
|
||||||
|
top: 5rem;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
background: url(../images/contentBox.png) no-repeat;
|
||||||
|
background-size: 100% 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content .lottery .title {
|
||||||
|
width: 100%;
|
||||||
|
text-align: center;
|
||||||
|
position: absolute;
|
||||||
|
top: 0.33333rem;
|
||||||
|
left: 0rem;
|
||||||
|
color: #FFFFFF;
|
||||||
|
font-size: 0.4rem;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content .lottery .user {
|
||||||
|
width: 2.01333rem;
|
||||||
|
height: 2.08rem;
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
top: 0.84rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content .lottery .user img {
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
top: 50%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.content .lottery .user .ts {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
z-index: 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content .lottery .user .tx {
|
||||||
|
border-radius: 50%;
|
||||||
|
width: 1.66667rem;
|
||||||
|
height: 1.66667rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content .lottery .user p {
|
||||||
|
width: 130%;
|
||||||
|
text-align: center;
|
||||||
|
color: #FFFFFF;
|
||||||
|
font-size: 0.28rem;
|
||||||
|
font-weight: 400;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
top: 2.13333rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content .lottery .giftList {
|
||||||
|
width: 6.58667rem;
|
||||||
|
height: 4.28rem;
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
top: 3.26667rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.content .dimension {
|
||||||
|
width: 100%;
|
||||||
|
text-align: center;
|
||||||
|
color: #FFFFFF;
|
||||||
|
font-size: 0.28rem;
|
||||||
|
font-weight: 400;
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: 16.32rem;
|
||||||
|
}
|
297
view/yinmeng/activity/spacTimeLuck/css/index.scss
Normal file
@@ -0,0 +1,297 @@
|
|||||||
|
@function px2rem($px) {
|
||||||
|
@return $px / 75+rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
html,
|
||||||
|
body {
|
||||||
|
width: 100%;
|
||||||
|
background: linear-gradient(0deg, #474B6E 0%, #37304A 99%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.rabbit {
|
||||||
|
z-index: 999;
|
||||||
|
}
|
||||||
|
|
||||||
|
.back {
|
||||||
|
position: fixed;
|
||||||
|
top: px2rem(70);
|
||||||
|
left: px2rem(34);
|
||||||
|
z-index: 99;
|
||||||
|
width: px2rem(62);
|
||||||
|
height: px2rem(62);
|
||||||
|
|
||||||
|
img {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
color: #fff;
|
||||||
|
font-size: px2rem(32);
|
||||||
|
position: absolute;
|
||||||
|
width: 9rem;
|
||||||
|
left: 0;
|
||||||
|
top: 0;
|
||||||
|
height: 100%;
|
||||||
|
text-align: center;
|
||||||
|
line-height: px2rem(62);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.layui-m-layershade {
|
||||||
|
background-color: rgba(0, 0, 0, .4) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header {
|
||||||
|
width: px2rem(750);
|
||||||
|
height: px2rem(1130);
|
||||||
|
margin: 0 auto 0;
|
||||||
|
background: url(../images/header.png) no-repeat;
|
||||||
|
background-size: 100% 100%;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
.giftBox {
|
||||||
|
width: px2rem(750);
|
||||||
|
height: px2rem(290);
|
||||||
|
position: relative;
|
||||||
|
top: px2rem(671);
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
background: url(../images/gift.png) no-repeat;
|
||||||
|
background-size: 100% 100%;
|
||||||
|
|
||||||
|
div {
|
||||||
|
position: absolute;
|
||||||
|
width: px2rem(130);
|
||||||
|
text-align: center;
|
||||||
|
|
||||||
|
p {
|
||||||
|
color: #fff;
|
||||||
|
font-size: px2rem(26);
|
||||||
|
font-weight: 400;
|
||||||
|
margin-bottom: px2rem(8);
|
||||||
|
}
|
||||||
|
|
||||||
|
span {
|
||||||
|
color: #FAF8B6;
|
||||||
|
font-size: px2rem(24);
|
||||||
|
font-weight: 300;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.div1 {
|
||||||
|
top: px2rem(263);
|
||||||
|
left: px2rem(46);
|
||||||
|
}
|
||||||
|
|
||||||
|
.div2 {
|
||||||
|
top: px2rem(191);
|
||||||
|
left: px2rem(222);
|
||||||
|
}
|
||||||
|
|
||||||
|
.div3 {
|
||||||
|
top: px2rem(300);
|
||||||
|
left: px2rem(410);
|
||||||
|
}
|
||||||
|
|
||||||
|
.div4 {
|
||||||
|
top: px2rem(247);
|
||||||
|
left: px2rem(590);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
position: relative;
|
||||||
|
width: px2rem(701);
|
||||||
|
height: px2rem(1329);
|
||||||
|
margin: px2rem(-70) auto px2rem(18);
|
||||||
|
// background-color: linear-gradient(0deg, #474B6E 0%, #37304A 99%);
|
||||||
|
background: url(../images/content.png) no-repeat;
|
||||||
|
background-size: 100% 100%;
|
||||||
|
|
||||||
|
.title {
|
||||||
|
width: 100%;
|
||||||
|
text-align: center;
|
||||||
|
color: #FFFFFF;
|
||||||
|
font-size: px2rem(34);
|
||||||
|
font-weight: 400;
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: px2rem(29);
|
||||||
|
}
|
||||||
|
|
||||||
|
.text {
|
||||||
|
width: px2rem(600);
|
||||||
|
height: px2rem(103);
|
||||||
|
color: #FFFFFF;
|
||||||
|
font-size: px2rem(24);
|
||||||
|
font-weight: 300;
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
top: px2rem(138);
|
||||||
|
line-height: 0.47rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lineBox {
|
||||||
|
width: px2rem(693);
|
||||||
|
height: px2rem(207);
|
||||||
|
background: url(../images/lineBigBox.png) no-repeat;
|
||||||
|
background-size: 100% 100%;
|
||||||
|
position: relative;
|
||||||
|
top: px2rem(280);
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
|
||||||
|
.line {
|
||||||
|
width: px2rem(591);
|
||||||
|
height: px2rem(51);
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
top: px2rem(52);
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: px2rem(8) px2rem(6);
|
||||||
|
background: url(../images/lineBox.png) no-repeat;
|
||||||
|
background-size: 100% 100%;
|
||||||
|
|
||||||
|
.line_in {
|
||||||
|
width: 0%;
|
||||||
|
height: 100%;
|
||||||
|
background: linear-gradient(0deg, #FFE993 0%, #EC9409 52%, #FFFC9E 98%);
|
||||||
|
border-radius: px2rem(51);
|
||||||
|
text-align: center;
|
||||||
|
line-height: px2rem(38);
|
||||||
|
color: #F14029;
|
||||||
|
font-size: px2rem(26);
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.tavBox {
|
||||||
|
width: 95%;
|
||||||
|
position: absolute;
|
||||||
|
top: px2rem(121);
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 0 px2rem(10);
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
|
||||||
|
div {
|
||||||
|
width: px2rem(51);
|
||||||
|
// padding: 0 px2rem(10);
|
||||||
|
height: px2rem(29);
|
||||||
|
line-height: px2rem(29);
|
||||||
|
border-radius: px2rem(8);
|
||||||
|
background: linear-gradient(0deg, #6871B0 0%, #6483CA 100%);
|
||||||
|
color: #FFFFFF;
|
||||||
|
font-size: px2rem(21);
|
||||||
|
font-weight: 500;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.active {
|
||||||
|
background: url(../images/tabAct.png) no-repeat;
|
||||||
|
background-size: 100% 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.updataIcon {
|
||||||
|
width: px2rem(55);
|
||||||
|
height: px2rem(59);
|
||||||
|
position: absolute;
|
||||||
|
right: px2rem(69);
|
||||||
|
top: px2rem(501);
|
||||||
|
}
|
||||||
|
|
||||||
|
.lottery {
|
||||||
|
width: px2rem(652);
|
||||||
|
height: px2rem(599);
|
||||||
|
position: relative;
|
||||||
|
top: 5rem;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
background: url(../images/contentBox.png) no-repeat;
|
||||||
|
background-size: 100% 100%;
|
||||||
|
|
||||||
|
.title {
|
||||||
|
width: 100%;
|
||||||
|
text-align: center;
|
||||||
|
position: absolute;
|
||||||
|
top: px2rem(25);
|
||||||
|
left: px2rem(0);
|
||||||
|
color: #FFFFFF;
|
||||||
|
font-size: px2rem(30);
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
|
.user {
|
||||||
|
width: px2rem(151);
|
||||||
|
height: px2rem(156);
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
top: px2rem(63);
|
||||||
|
|
||||||
|
img {
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
top: 50%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.ts {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
z-index: 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tx {
|
||||||
|
border-radius: 50%;
|
||||||
|
width: px2rem(125);
|
||||||
|
height: px2rem(125);
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
width: 130%;
|
||||||
|
text-align: center;
|
||||||
|
color: #FFFFFF;
|
||||||
|
font-size: px2rem(21);
|
||||||
|
font-weight: 400;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
top: px2rem(160);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.giftList {
|
||||||
|
width: px2rem(494);
|
||||||
|
height: px2rem(321);
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
top: px2rem(245);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.dimension {
|
||||||
|
width: 100%;
|
||||||
|
text-align: center;
|
||||||
|
color: #FFFFFF;
|
||||||
|
font-size: px2rem(21);
|
||||||
|
font-weight: 400;
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
top: px2rem(1224);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
BIN
view/yinmeng/activity/spacTimeLuck/images/128.png
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
view/yinmeng/activity/spacTimeLuck/images/18.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
view/yinmeng/activity/spacTimeLuck/images/208.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
view/yinmeng/activity/spacTimeLuck/images/288.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
view/yinmeng/activity/spacTimeLuck/images/38.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
view/yinmeng/activity/spacTimeLuck/images/398.png
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
view/yinmeng/activity/spacTimeLuck/images/488.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
view/yinmeng/activity/spacTimeLuck/images/598.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
view/yinmeng/activity/spacTimeLuck/images/688.png
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
view/yinmeng/activity/spacTimeLuck/images/788.png
Normal file
After Width: | Height: | Size: 58 KiB |
BIN
view/yinmeng/activity/spacTimeLuck/images/88.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
view/yinmeng/activity/spacTimeLuck/images/888.png
Normal file
After Width: | Height: | Size: 57 KiB |
BIN
view/yinmeng/activity/spacTimeLuck/images/content.png
Normal file
After Width: | Height: | Size: 359 KiB |
BIN
view/yinmeng/activity/spacTimeLuck/images/contentBox.png
Normal file
After Width: | Height: | Size: 142 KiB |
BIN
view/yinmeng/activity/spacTimeLuck/images/gift.png
Normal file
After Width: | Height: | Size: 171 KiB |
BIN
view/yinmeng/activity/spacTimeLuck/images/header.png
Normal file
After Width: | Height: | Size: 769 KiB |
BIN
view/yinmeng/activity/spacTimeLuck/images/icon.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
view/yinmeng/activity/spacTimeLuck/images/lineBigBox.png
Normal file
After Width: | Height: | Size: 152 KiB |
BIN
view/yinmeng/activity/spacTimeLuck/images/lineBox.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
view/yinmeng/activity/spacTimeLuck/images/logo.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
view/yinmeng/activity/spacTimeLuck/images/tabAct.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
view/yinmeng/activity/spacTimeLuck/images/travel/back.png
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
view/yinmeng/activity/spacTimeLuck/images/ts.png
Normal file
After Width: | Height: | Size: 34 KiB |
BIN
view/yinmeng/activity/spacTimeLuck/images/updataIcon.png
Normal file
After Width: | Height: | Size: 5.4 KiB |
84
view/yinmeng/activity/spacTimeLuck/index.html
Normal file
@@ -0,0 +1,84 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>时空幸运儿</title>
|
||||||
|
<link rel="stylesheet" href="../../common/css/reset.css">
|
||||||
|
<link rel="stylesheet" href="./css/index.css">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<!-- 顶部返回 -->
|
||||||
|
<div class="back">
|
||||||
|
<img src="./images/travel/back.png" alt="">
|
||||||
|
</div>
|
||||||
|
<!-- 头部 -->
|
||||||
|
<div class="header">
|
||||||
|
<!-- 礼物展示 -->
|
||||||
|
<div src="" alt="" class="giftBox">
|
||||||
|
<div class="div1">
|
||||||
|
<p>冬雪心愿</p>
|
||||||
|
<span>1314钻</span>
|
||||||
|
</div>
|
||||||
|
<div class="div2">
|
||||||
|
<p>蝶恋花</p>
|
||||||
|
<span>1314钻</span>
|
||||||
|
</div>
|
||||||
|
<div class="div3">
|
||||||
|
<p>夜莺与玫瑰</p>
|
||||||
|
<span>1314钻</span>
|
||||||
|
</div>
|
||||||
|
<div class="div4">
|
||||||
|
<p>玫瑰时钟</p>
|
||||||
|
<span>1314钻</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- 内容 -->
|
||||||
|
<div class="content">
|
||||||
|
<div class="title">活动规则</div>
|
||||||
|
<div class="text">活动期间全民助力, 每送出一个上新礼物下方进度条+1, 第<b>18/88/128/288/398/488/598/688/788/888</b>名用户成为幸运儿可获得幸运奖励</div>
|
||||||
|
<div class="lineBox">
|
||||||
|
<div class="line">
|
||||||
|
<div class="line_in"></div>
|
||||||
|
</div>
|
||||||
|
<div class="tavBox">
|
||||||
|
<!-- <div class="active">18</div>
|
||||||
|
<div>38</div>
|
||||||
|
<div>88</div>
|
||||||
|
<div>128</div>
|
||||||
|
<div>208</div>
|
||||||
|
<div>288</div>
|
||||||
|
<div>398</div>
|
||||||
|
<div>488</div>
|
||||||
|
<div>598</div>
|
||||||
|
<div>688</div>
|
||||||
|
<div>788</div>
|
||||||
|
<div>888</div> -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<img src="./images/updataIcon.png" alt="" class="updataIcon">
|
||||||
|
<div class="lottery">
|
||||||
|
<div class="title">幸运儿</div>
|
||||||
|
<div class="user">
|
||||||
|
<img src="./images/ts.png" alt="" class="ts">
|
||||||
|
<img src="./images/logo.png" alt="" class="tx">
|
||||||
|
<p></p>
|
||||||
|
</div>
|
||||||
|
<img src="./images/18.png" alt="" class="giftList">
|
||||||
|
</div>
|
||||||
|
<div class="dimension">本活动最終解释权归音萌所有,本活动以及奖励与苹果公司无关。</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
|
<script src="../../common/js/flexible.js"></script>
|
||||||
|
<script src="../../common/js/jquery-3.2.1.min.js"></script>
|
||||||
|
<script src="../../common/js/common2.js"></script>
|
||||||
|
<script src="../../common/js/layer.js"></script>
|
||||||
|
<script src="../../common/js/vconsole.min.js"></script>
|
||||||
|
<script src="../../common/js/route-constant.js"></script>
|
||||||
|
<script src="./js/wow.js"></script>
|
||||||
|
<script src="./js/index.js"></script>
|
134
view/yinmeng/activity/spacTimeLuck/js/index.js
Normal file
@@ -0,0 +1,134 @@
|
|||||||
|
let urlPrefix = getUrlPrefix()
|
||||||
|
let browser = checkVersion()
|
||||||
|
let env = EnvCheck();
|
||||||
|
if (env == 'test') {
|
||||||
|
new VConsole();
|
||||||
|
}
|
||||||
|
// 封装layer消息提醒框
|
||||||
|
let layerIndex
|
||||||
|
const showLoading = (content = '加载中...') => {
|
||||||
|
layer.open({
|
||||||
|
type: 2,
|
||||||
|
shadeClose: false,
|
||||||
|
content,
|
||||||
|
success (e) {
|
||||||
|
layerIndex = $(e).attr('index')
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
const hideLoading = (index) => {
|
||||||
|
layer.close(index)
|
||||||
|
}
|
||||||
|
const toastMsg = (content = '操作完成', time = 2) => {
|
||||||
|
layer.open({
|
||||||
|
content,
|
||||||
|
time,
|
||||||
|
skin: 'msg'
|
||||||
|
})
|
||||||
|
}// 初始化函数
|
||||||
|
$(function () {
|
||||||
|
getInfoFromClient()
|
||||||
|
setTimeout(function () {
|
||||||
|
// 页面全屏
|
||||||
|
if (browser.app) {
|
||||||
|
if (browser.android) {
|
||||||
|
window.androidJsObj.initShowNav(false)
|
||||||
|
} else {
|
||||||
|
window.webkit.messageHandlers.initShowNav.postMessage(0)
|
||||||
|
}
|
||||||
|
};
|
||||||
|
// 顶部返回事件
|
||||||
|
$('.back').click(() => {
|
||||||
|
if (browser.android) {
|
||||||
|
window.androidJsObj.closeWebView()
|
||||||
|
} else {
|
||||||
|
window.webkit.messageHandlers.closeWebView.postMessage(null)
|
||||||
|
}
|
||||||
|
})
|
||||||
|
getConfig();
|
||||||
|
}, 100)
|
||||||
|
})
|
||||||
|
var obj = {};
|
||||||
|
// 获取配置接口
|
||||||
|
function getConfig () {
|
||||||
|
$('.content .lineBox .tavBox div').remove();
|
||||||
|
showLoading()
|
||||||
|
networkRequest({
|
||||||
|
type: 'GET',
|
||||||
|
url: urlPrefix + '/act/2023LuckyProcessBar/getConfig',
|
||||||
|
success (res) {
|
||||||
|
if (res.code === 200) {
|
||||||
|
// 处理进度
|
||||||
|
$('.content .lineBox .line .line_in').text(`${res.data.cur}/${res.data.max}`);
|
||||||
|
$(`.content .lineBox .line .line_in`).css({ width: `${(res.data.cur / res.data.max) * 100 >= 100 ? 100 : (res.data.cur / res.data.max) * 100}%` });
|
||||||
|
obj = res.data.stageMap;
|
||||||
|
var cur = res.data.cur;
|
||||||
|
var str = '';
|
||||||
|
var text = '';
|
||||||
|
var arr = [];
|
||||||
|
var curstage;
|
||||||
|
// 渲染切换tab
|
||||||
|
for (var key in obj) {
|
||||||
|
if (obj.hasOwnProperty(key)) {
|
||||||
|
str += `
|
||||||
|
<div class="key${obj[key].stage}" key=${obj[key].stage}>${obj[key].stage}</div>
|
||||||
|
`
|
||||||
|
text += `${obj[key].stage}/`
|
||||||
|
arr.push(obj[key]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
$('.content .lineBox .tavBox').append(str);
|
||||||
|
$('.content .text b').text(text);
|
||||||
|
// 处理当前阶段
|
||||||
|
arr.forEach((val, i) => {
|
||||||
|
if (val.luckyUser) {//false
|
||||||
|
// curstage = val.stage;
|
||||||
|
// $('.content .lottery .user .tx').attr('src', val.luckyUser.avatar)
|
||||||
|
// $('.content .lottery .user p').text(val.luckyUser.nick);
|
||||||
|
if (i == arr.length - 1) {
|
||||||
|
curstage = arr[arr.length - 1].stage;
|
||||||
|
$('.content .lottery .user .tx').attr('src', val.luckyUser.avatar)
|
||||||
|
$('.content .lottery .user p').text(val.luckyUser.nick);
|
||||||
|
} else {
|
||||||
|
curstage = arr[i + 1].stage;
|
||||||
|
$('.content .lottery .user .tx').attr('src', `./images/logo.png`);
|
||||||
|
$('.content .lottery .user p').text('虚位以待');
|
||||||
|
}
|
||||||
|
} else if (i == 0) {
|
||||||
|
curstage = arr[0].stage;
|
||||||
|
$('.content .lottery .user .tx').attr('src', `./images/logo.png`);
|
||||||
|
$('.content .lottery .user p').text('虚位以待');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
// console.log(curstage);
|
||||||
|
$(`.content .lineBox .tavBox .key${curstage}`).addClass('active').siblings().removeClass('active');
|
||||||
|
$('.content .lottery .giftList').attr('src', `./images/${curstage}.png`)
|
||||||
|
} else {
|
||||||
|
toastMsg(res.message)
|
||||||
|
}
|
||||||
|
hideLoading(layerIndex)
|
||||||
|
},
|
||||||
|
error (err) {
|
||||||
|
hideLoading(layerIndex)
|
||||||
|
toastMsg('网络错误,请退出重进')
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 刷新按钮
|
||||||
|
$('.content .updataIcon').click(function () {
|
||||||
|
getConfig();
|
||||||
|
})
|
||||||
|
// tab切换
|
||||||
|
$('.content').on('click', ' .lineBox .tavBox div', function () {
|
||||||
|
var key = $(this).attr('key')
|
||||||
|
$(this).addClass('active').siblings().removeClass('active');
|
||||||
|
$('.content .lottery .giftList').attr('src', `./images/${key}.png`)
|
||||||
|
// console.log(obj[key]);
|
||||||
|
if (obj[key].luckyUser) {
|
||||||
|
$('.content .lottery .user .tx').attr('src', obj[key].luckyUser.avatar);
|
||||||
|
$('.content .lottery .user p').text(obj[key].luckyUser.nick);
|
||||||
|
} else {
|
||||||
|
$('.content .lottery .user .tx').attr('src', `./images/logo.png`);
|
||||||
|
$('.content .lottery .user p').text('虚位以待');
|
||||||
|
}
|
||||||
|
})
|
46
view/yinmeng/activity/spacTimeLuck/js/wow.js
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
var baba = document.querySelector('body');
|
||||||
|
baba.addEventListener('click', function (e) {
|
||||||
|
// $('body,html').css({ "width": "100%", "position": "relative", "overflow": "hidden" });
|
||||||
|
tianJia(e);
|
||||||
|
})
|
||||||
|
|
||||||
|
var erZi = [];
|
||||||
|
function tianJia (e) {
|
||||||
|
var sunZi = document.createElement('div');
|
||||||
|
sunZi.className = 'rabbit';
|
||||||
|
// sunZi.innerHTML = '<i class="iconfont icon-tuzi"></i>';
|
||||||
|
sunZi.innerHTML = '<img src="./images/icon.png" alt="">';
|
||||||
|
baba.appendChild(sunZi);
|
||||||
|
erZi.push({
|
||||||
|
el: sunZi,
|
||||||
|
top: e.pageY - 30,
|
||||||
|
left: e.pageX - 20,
|
||||||
|
opacity: 1,
|
||||||
|
scale: 1,
|
||||||
|
color: `rgb(${255 * Math.random()},${255 * Math.random()},${255 * Math.random()})`
|
||||||
|
});
|
||||||
|
move();
|
||||||
|
};
|
||||||
|
function move () {
|
||||||
|
for (var i = 0; i < erZi.length; i++) {
|
||||||
|
if (erZi[i].opacity <= 0) {
|
||||||
|
baba.removeChild(erZi[i].el);
|
||||||
|
erZi.splice(i, 1);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
erZi[i].top--;
|
||||||
|
erZi[i].opacity = erZi[i].opacity - 0.04;
|
||||||
|
// erZi[i].scale = erZi[i].scale + 0.0001;
|
||||||
|
erZi[i].el.style.cssText = `
|
||||||
|
top: ${erZi[i].top}px;
|
||||||
|
left: ${erZi[i].left}px;
|
||||||
|
color: ${erZi[i].color};
|
||||||
|
opacity: ${erZi[i].opacity};
|
||||||
|
transform: scale(${erZi[i].scale});
|
||||||
|
position: absolute;
|
||||||
|
`
|
||||||
|
|
||||||
|
}
|
||||||
|
window.requestAnimationFrame(move);
|
||||||
|
// $('body,html').css({ "width": "100%", "position": "relative", "overflow": "auto" });
|
||||||
|
}
|
@@ -1 +1 @@
|
|||||||
<!DOCTYPE html><html><head><meta charset=UTF-8><meta name=viewport content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1"><title>音萌</title><link href=./static/css/app.f9f56c3a2b6e154e6ba49a184dcd22a0.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.72d4f0878a9bda2e3d57.js></script><script type=text/javascript src=./static/js/vendor.74d3f41533c4dd499a10.js></script><script type=text/javascript src=./static/js/app.490d2b5c45773badaad4.js></script></body></html>
|
<!DOCTYPE html><html><head><meta charset=UTF-8><meta name=viewport content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1"><title>音萌</title><link href=./static/css/app.f8b4f2ace8d9255780016f7da1a8dafd.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.e8ed7d88923c113579ee.js></script><script type=text/javascript src=./static/js/vendor.74d3f41533c4dd499a10.js></script><script type=text/javascript src=./static/js/app.f8a444458a0124bc2d1d.js></script></body></html>
|
@@ -1,2 +0,0 @@
|
|||||||
webpackJsonp([3],{"5zde":function(t,a,i){i("zQR9"),i("qyJz"),t.exports=i("FeBl").Array.from},Gu7T:function(t,a,i){"use strict";a.__esModule=!0;var n,e=i("c/Tr"),s=(n=e)&&n.__esModule?n:{default:n};a.default=function(t){if(Array.isArray(t)){for(var a=0,i=Array(t.length);a<t.length;a++)i[a]=t[a];return i}return(0,s.default)(t)}},W02H:function(t,a,i){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=i("Gu7T"),e=i.n(n),s=i("BRgg"),o={data:function(){return{tabList:["今日榜单","昨日榜单"],wishTab:["幸运许愿池","梦幻许愿池"],wishType:1,diamondBoxSwitch:!1,tabType:1,page:0,loading:!1,finished:!1,dataList:[]}},created:function(){document.title=this.$route.meta.title,this.getBoxSwitch()},methods:{formatTotal:function(t){return t},getBoxSwitch:function(){var t=this;Object(s.b)().then(function(a){t.diamondBoxSwitch=a.data.data.diamondBoxSwitch})},onLoad:function(){this.page++,this.getData()},getData:function(){var t=this;Object(s.d)({type:this.wishType,pageSize:20,datetype:this.tabType,page:this.page}).then(function(a){var i;console.log(a.data.rankVos),(i=t.dataList).push.apply(i,e()(a.data.data.rankVos)),t.loading=!1,console.log(t.dataList),a.data.data.rankVos.length<20&&(t.finished=!0)})},setTabType:function(t){t!==this.tabType&&(this.tabType=t,this.dataList=[],this.finished=!1,this.loading=!0,this.page=0,this.onLoad())},setWishType:function(t){this.wishType!==t&&(this.dataList=[],this.wishType=t,this.finished=!1,this.loading=!0,this.tabType=1,this.page=0,this.onLoad())}}},r={render:function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",[i("div",{ref:"tab",class:t.diamondBoxSwitch?"tab-wrapper":"tab-wrapper blank"},t._l(t.tabList,function(a,n){return i("div",{key:n,class:n+1===t.tabType?"active tab":"tab",on:{click:function(a){return t.setTabType(n+1)}}},[t._v("\n "+t._s(a)+"\n "),i("span",{staticClass:"subscript-one"})])}),0),t._v(" "),i("van-list",{class:t.diamondBoxSwitch?"swiper":"swiper blank",attrs:{finished:t.finished,"finished-text":"没有更多了"},on:{load:t.onLoad},model:{value:t.loading,callback:function(a){t.loading=a},expression:"loading"}},t._l(t.dataList,function(a,n){return i("div",{key:n,staticClass:"user"},[i("img",{attrs:{src:a.avatar,alt:""}}),t._v(" "),a.nick?i("p",{staticClass:"user-nick"},[t._v("\n "+t._s(a.nick.length>7?a.nick.slice(0,7)+"...":a.nick)+"\n ")]):t._e(),t._v(" "),i("p",{staticClass:"user-diamond"},[i("span",{staticClass:"diamond-num"},[t._v(t._s(t.formatTotal(a.amount)))]),t._v(" "),i("span",{staticClass:"diamond-img"})])])}),0)],1)},staticRenderFns:[]};var d=i("VU/8")(o,r,!1,function(t){i("xZT/")},"data-v-288b2542",null);a.default=d.exports},"c/Tr":function(t,a,i){t.exports={default:i("5zde"),__esModule:!0}},fBQ2:function(t,a,i){"use strict";var n=i("evD5"),e=i("X8DO");t.exports=function(t,a,i){a in t?n.f(t,a,e(0,i)):t[a]=i}},qyJz:function(t,a,i){"use strict";var n=i("+ZMJ"),e=i("kM2E"),s=i("sB3e"),o=i("msXi"),r=i("Mhyx"),d=i("QRG4"),c=i("fBQ2"),u=i("3fs2");e(e.S+e.F*!i("dY0y")(function(t){Array.from(t)}),"Array",{from:function(t){var a,i,e,l,h=s(t),f="function"==typeof this?this:Array,p=arguments.length,v=p>1?arguments[1]:void 0,y=void 0!==v,g=0,b=u(h);if(y&&(v=n(v,p>2?arguments[2]:void 0,2)),void 0==b||f==Array&&r(b))for(i=new f(a=d(h.length));a>g;g++)c(i,g,y?v(h[g],g):h[g]);else for(l=b.call(h),i=new f;!(e=l.next()).done;g++)c(i,g,y?o(l,v,[e.value,g],!0):e.value);return i.length=g,i}})},"xZT/":function(t,a){}});
|
|
||||||
//# sourceMappingURL=3.8b79e4bd0ec643476e46.js.map
|
|
@@ -0,0 +1,2 @@
|
|||||||
|
webpackJsonp([3],{"5zde":function(t,a,i){i("zQR9"),i("qyJz"),t.exports=i("FeBl").Array.from},Gu7T:function(t,a,i){"use strict";a.__esModule=!0;var n,e=i("c/Tr"),s=(n=e)&&n.__esModule?n:{default:n};a.default=function(t){if(Array.isArray(t)){for(var a=0,i=Array(t.length);a<t.length;a++)i[a]=t[a];return i}return(0,s.default)(t)}},UMf0:function(t,a){},W02H:function(t,a,i){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n=i("Gu7T"),e=i.n(n),s=i("BRgg"),o={data:function(){return{tabList:["今日榜单","昨日榜单"],wishTab:["幸运许愿池","梦幻许愿池"],wishType:1,diamondBoxSwitch:!1,tabType:1,page:0,loading:!1,finished:!1,dataList:[]}},created:function(){document.title=this.$route.meta.title,this.getBoxSwitch()},methods:{formatTotal:function(t){return t},getBoxSwitch:function(){var t=this;Object(s.b)().then(function(a){t.diamondBoxSwitch=a.data.data.diamondBoxSwitch})},onLoad:function(){this.page++,this.getData()},getData:function(){var t=this;Object(s.d)({type:this.wishType,pageSize:20,datetype:this.tabType,page:this.page}).then(function(a){var i;console.log(a.data.rankVos),(i=t.dataList).push.apply(i,e()(a.data.data.rankVos)),t.loading=!1,console.log(t.dataList),a.data.data.rankVos.length<20&&(t.finished=!0)})},setTabType:function(t){t!==this.tabType&&(this.tabType=t,this.dataList=[],this.finished=!1,this.loading=!0,this.page=0,this.onLoad())},setWishType:function(t){this.wishType!==t&&(this.dataList=[],this.wishType=t,this.finished=!1,this.loading=!0,this.tabType=1,this.page=0,this.onLoad())}}},r={render:function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",[i("div",{ref:"tab",class:t.diamondBoxSwitch?"tab-wrapper":"tab-wrapper blank"},t._l(t.tabList,function(a,n){return i("div",{key:n,class:n+1===t.tabType?"active tab":"tab",on:{click:function(a){return t.setTabType(n+1)}}},[t._v("\n "+t._s(a)+"\n "),i("span",{staticClass:"subscript-one"})])}),0),t._v(" "),i("van-list",{class:t.diamondBoxSwitch?"swiper":"swiper blank",attrs:{finished:t.finished,"finished-text":"没有更多了"},on:{load:t.onLoad},model:{value:t.loading,callback:function(a){t.loading=a},expression:"loading"}},t._l(t.dataList,function(a,n){return i("div",{key:n,staticClass:"user"},[i("img",{attrs:{src:a.avatar,alt:""}}),t._v(" "),a.nick?i("p",{staticClass:"user-nick"},[t._v("\n "+t._s(a.nick.length>7?a.nick.slice(0,7)+"...":a.nick)+"\n ")]):t._e(),t._v(" "),i("p",{staticClass:"user-diamond"},[i("span",{staticClass:"diamond-num"},[t._v(t._s(t.formatTotal(a.amount)))]),t._v(" "),i("span",{staticClass:"diamond-img"})])])}),0)],1)},staticRenderFns:[]};var d=i("VU/8")(o,r,!1,function(t){i("UMf0")},"data-v-4145c79c",null);a.default=d.exports},"c/Tr":function(t,a,i){t.exports={default:i("5zde"),__esModule:!0}},fBQ2:function(t,a,i){"use strict";var n=i("evD5"),e=i("X8DO");t.exports=function(t,a,i){a in t?n.f(t,a,e(0,i)):t[a]=i}},qyJz:function(t,a,i){"use strict";var n=i("+ZMJ"),e=i("kM2E"),s=i("sB3e"),o=i("msXi"),r=i("Mhyx"),d=i("QRG4"),c=i("fBQ2"),u=i("3fs2");e(e.S+e.F*!i("dY0y")(function(t){Array.from(t)}),"Array",{from:function(t){var a,i,e,l,f=s(t),h="function"==typeof this?this:Array,p=arguments.length,v=p>1?arguments[1]:void 0,y=void 0!==v,g=0,b=u(f);if(y&&(v=n(v,p>2?arguments[2]:void 0,2)),void 0==b||h==Array&&r(b))for(i=new h(a=d(f.length));a>g;g++)c(i,g,y?v(f[g],g):f[g]);else for(l=b.call(f),i=new h;!(e=l.next()).done;g++)c(i,g,y?o(l,v,[e.value,g],!0):e.value);return i.length=g,i}})}});
|
||||||
|
//# sourceMappingURL=3.e16ec41d20e9be53c63c.js.map
|
@@ -1,2 +0,0 @@
|
|||||||
webpackJsonp([4],{FmjD:function(e,t){},bxJL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var c=n("Z4iZ"),i=void 0;i="test"===Object(c.a)()?"http://beta.api.nnbc123.cn":"https://api.nnbc123.cn";var a={created:function(){window.location.href=i+"/yinmeng/modules/rule/wishingWellRule.html"}},o={render:function(){var e=this.$createElement;return(this._self._c||e)("div")},staticRenderFns:[]};var r=n("VU/8")(a,o,!1,function(e){n("FmjD")},"data-v-cc7926ee",null);t.default=r.exports}});
|
|
||||||
//# sourceMappingURL=4.76d58a1190c5fed3826d.js.map
|
|
@@ -1,2 +1,2 @@
|
|||||||
webpackJsonp([5],{O1Gz:function(t,e){},ht4E:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("BRgg"),n={data:function(){return{dataList:[],loading:!1,finished:!1,page:0}},created:function(){document.title=this.$route.meta.title},methods:{onLoad:function(){var t=this;this.page++,Object(i.e)({pageSize:20,page:this.page,uid:window.sessionStorage.getItem("uid")||"935026",sortType:"time"}).then(function(e){t.dataList=t.dataList.concat(e.data.data),t.loading=!1,console.log(e.data.data),e.data.data.length<20&&(t.finished=!0)})},createTime:function(t){return function(t){var e=new Date(t),a=(e.getFullYear(),e.getMonth()+1);a=a<10?"0"+a:a;var i=e.getDate();i=i<10?"0"+i:i;var n=e.getHours();n=n<10?"0"+n:n;var s=e.getMinutes();s=s<10?"0"+s:s;var r=e.getSeconds();return r=r<10?"0"+r:r,a+"-"+i+" "+n+":"+s}(t)}}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"max"},[a("p",{staticClass:"tit"},[t._v("获奖记录")]),t._v(" "),a("div",{staticClass:"list"},[a("van-list",{attrs:{finished:t.finished,"finished-text":"没有更多获奖记录了",offset:300},on:{load:t.onLoad},model:{value:t.loading,callback:function(e){t.loading=e},expression:"loading"}},t._l(t.dataList,function(e,i){return a("div",{key:i,staticClass:"user"},[a("img",{attrs:{src:e.prizeImgUrl,alt:""}}),t._v(" "),a("p",{staticClass:"user-nick"},[t._v("\n "+t._s(e.prizeName)+"\n "),a("span",[t._v(" X "+t._s(e.prizeNum))])]),t._v(" "),a("p",{staticClass:"user-diamond"},[a("span",{staticClass:"diamond-num"},[t._v(t._s(t.createTime(e.createTime)))])])])}),0)],1)])},staticRenderFns:[]};var r=a("VU/8")(n,s,!1,function(t){a("O1Gz")},"data-v-8efc1848",null);e.default=r.exports}});
|
webpackJsonp([4],{RL3y:function(t,e){},ht4E:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=a("BRgg"),n={data:function(){return{dataList:[],loading:!1,finished:!1,page:0}},created:function(){document.title=this.$route.meta.title},methods:{onLoad:function(){var t=this;this.page++,Object(i.e)({pageSize:20,page:this.page,uid:window.sessionStorage.getItem("uid")||"935026",sortType:"time"}).then(function(e){t.dataList=t.dataList.concat(e.data.data),t.loading=!1,console.log(e.data.data),e.data.data.length<20&&(t.finished=!0)})},createTime:function(t){return function(t){var e=new Date(t),a=(e.getFullYear(),e.getMonth()+1);a=a<10?"0"+a:a;var i=e.getDate();i=i<10?"0"+i:i;var n=e.getHours();n=n<10?"0"+n:n;var s=e.getMinutes();s=s<10?"0"+s:s;var r=e.getSeconds();return r=r<10?"0"+r:r,a+"-"+i+" "+n+":"+s}(t)}}},s={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"max"},[a("p",{staticClass:"tit"},[t._v("获奖记录")]),t._v(" "),a("div",{staticClass:"list"},[a("van-list",{attrs:{finished:t.finished,"finished-text":"没有更多获奖记录了",offset:300},on:{load:t.onLoad},model:{value:t.loading,callback:function(e){t.loading=e},expression:"loading"}},t._l(t.dataList,function(e,i){return a("div",{key:i,staticClass:"user"},[a("img",{attrs:{src:e.prizeImgUrl,alt:""}}),t._v(" "),a("p",{staticClass:"user-nick"},[t._v("\n "+t._s(e.prizeName)+"\n "),a("span",[t._v(" X "+t._s(e.prizeNum))])]),t._v(" "),a("p",{staticClass:"user-diamond"},[a("span",{staticClass:"diamond-num"},[t._v(t._s(t.createTime(e.createTime)))])])])}),0)],1)])},staticRenderFns:[]};var r=a("VU/8")(n,s,!1,function(t){a("RL3y")},"data-v-f356f33c",null);e.default=r.exports}});
|
||||||
//# sourceMappingURL=5.b647f8aa8a2f5fcd4e34.js.map
|
//# sourceMappingURL=4.9e688a9b2696fa3ac8bd.js.map
|
@@ -0,0 +1,2 @@
|
|||||||
|
webpackJsonp([5],{"2D7G":function(e,t){},bxJL:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Z4iZ"),c=void 0;c="test"===Object(i.a)()?"http://beta.api.nnbc123.cn":"https://api.nnbc123.cn";var a={created:function(){window.location.href=c+"/yinmeng/modules/rule/wishingWellRule.html"}},r={render:function(){var e=this.$createElement;return(this._self._c||e)("div")},staticRenderFns:[]};var l=n("VU/8")(a,r,!1,function(e){n("2D7G")},"data-v-72576b74",null);t.default=l.exports}});
|
||||||
|
//# sourceMappingURL=5.3490e0ae8df7c19b4380.js.map
|
@@ -1,2 +0,0 @@
|
|||||||
webpackJsonp([7],{"/CRi":function(e,n){},"2KIr":function(e,n){},"4ml/":function(e,n){},NHnr:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i=t("7+uW"),o={render:function(){var e=this.$createElement,n=this._self._c||e;return n("div",{attrs:{id:"app"}},[n("router-view")],1)},staticRenderFns:[]};var a=t("VU/8")({name:"App"},o,!1,function(e){t("zvPW")},null,null).exports,r=t("YaEn"),u=(t("2KIr"),t("NYxO"));i.default.use(u.a);var s=new u.a.Store({state:{info:{ticket:"123",uid:"678"}},mutations:{setInfo:function(e,n){e.info.ticket=n.ticket,e.info.uid=n.uid}},getters:{getInfo:function(e){return e.info}},actions:{getUserInfo:function(e){return e.state}}}),d=t("pFYg"),c=t.n(d),f=t("Z4iZ");window.info={},window.getMessage=function(e,n){info[e]=n};var l=t("SV4X"),p=t.n(l),m=(t("/CRi"),t("4ml/"),t("Fd2+")),w=(t("sVYa"),t("DVXL")),h=t.n(w);!function(){var e=Object(f.b)();if(e.app)if(e.ios){var n=document.cookie.match(/\d+/);info.uid=n[0],window.webkit.messageHandlers.getTicket.postMessage(null)}else e.android&&androidJsObj&&"object"===("undefined"==typeof androidJsObj?"undefined":c()(androidJsObj))&&(info.uid=parseInt(window.androidJsObj.getUid()),info.ticket=window.androidJsObj.getTicket());else info.uid=1005337,info.ticket="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0aWNrZXRfdHlwZSI6bnVsbCwidWlkIjoxMDA1MzM3LCJ0aWNrZXRfaWQiOiIzZmRmNDQwOS03MTM2LTRkOTItOWE0Yy1hZTkyMjg2YjAyMGUiLCJleHAiOjM2MDAsImNsaWVudF9pZCI6ImVyYmFuLWNsaWVudCJ9.X6mEVLMxFkBtPWW0g1OuL_xOpeGJlNWRsp5fKIKUo3Y"}(),i.default.config.productionTip=!1,i.default.prototype.$layer=p()(i.default),h.a.attach(document.body),i.default.use(m.b),new i.default({el:"#app",router:r.a,store:s,components:{App:a},template:"<App/>"})},YaEn:function(e,n,t){"use strict";var i=t("7+uW"),o=t("/ocq");i.default.use(o.a);var a=new o.a({routes:[{path:"/rank",name:"rank",component:function(){return Promise.all([t.e(0),t.e(1)]).then(t.bind(null,"XwoE"))},meta:{title:"排行榜"}},{path:"/wishingWellRank",name:"wishingWellRank",meta:{title:"许愿池榜单"},component:function(){return Promise.all([t.e(0),t.e(3)]).then(t.bind(null,"W02H"))}},{path:"/wishingWellRecord",name:"wishingWellRecord",meta:{title:"许愿池中奖记录"},component:function(){return Promise.all([t.e(0),t.e(5)]).then(t.bind(null,"ht4E"))}},{path:"/wishingWellRule",name:"wishingWellRule",meta:{title:"玩法规则"},component:function(){return t.e(4).then(t.bind(null,"bxJL"))}},{path:"/DiamondLog",name:"DiamondLog",meta:{title:"钻石记录"},component:function(){return Promise.all([t.e(0),t.e(2)]).then(t.bind(null,"zXe3"))}}]});a.beforeEach(function(e,n,t){window.sessionStorage.getItem("ticket")?t():setTimeout(function(){sessionStorage.clear(),window.sessionStorage.setItem("uid",info.uid),window.sessionStorage.setItem("ticket",info.ticket),console.log(info,"router"),t()},70)}),n.a=a},Z4iZ:function(e,n,t){"use strict";t.d(n,"b",function(){return i}),t.d(n,"a",function(){return o});var i=function(){var e=navigator.userAgent;navigator.appVersion;return{trident:e.indexOf("Trident")>-1,presto:e.indexOf("Presto")>-1,webKit:e.indexOf("AppleWebKit")>-1,gecko:e.indexOf("Gecko")>-1&&-1==e.indexOf("KHTML"),mobile:!!e.match(/AppleWebKit.*Mobile.*/),ios:!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),android:e.indexOf("Android")>-1||e.indexOf("Adr")>-1,iPhone:e.indexOf("iPhone")>-1,iPad:e.indexOf("iPad")>-1,webApp:-1==e.indexOf("Safari"),weixin:e.indexOf("MicroMessenger")>-1,qq:" qq"==e.match(/\sQQ/i),app:"tutuApp"==e.match("tutuApp")}},o=function(){if(window.location.href){var e=window.location.href,n=e.match(/api.uat.z/),t=e.match(/120.79.211.243/),i=e.match(/api.uat/),o=e.match(/127.0.0.1/);return n||t||i||o?"test":"live"}}},afzy:function(e,n,t){"use strict";function i(){return(i=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)}n.a=i},zvPW:function(e,n){}},["NHnr"]);
|
|
||||||
//# sourceMappingURL=app.490d2b5c45773badaad4.js.map
|
|
@@ -0,0 +1,2 @@
|
|||||||
|
webpackJsonp([7],{"/CRi":function(e,n){},"/oxU":function(e,n){},"2KIr":function(e,n){},"4ml/":function(e,n){},NHnr:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i=t("7+uW"),o={render:function(){var e=this.$createElement,n=this._self._c||e;return n("div",{attrs:{id:"app"}},[n("router-view")],1)},staticRenderFns:[]};var a=t("VU/8")({name:"App"},o,!1,function(e){t("/oxU")},null,null).exports,r=t("YaEn"),u=(t("2KIr"),t("NYxO"));i.default.use(u.a);var s=new u.a.Store({state:{info:{ticket:"123",uid:"678"}},mutations:{setInfo:function(e,n){e.info.ticket=n.ticket,e.info.uid=n.uid}},getters:{getInfo:function(e){return e.info}},actions:{getUserInfo:function(e){return e.state}}}),d=t("pFYg"),c=t.n(d),f=t("Z4iZ");window.info={},window.getMessage=function(e,n){info[e]=n};var l=t("SV4X"),p=t.n(l),m=(t("/CRi"),t("4ml/"),t("Fd2+")),w=(t("sVYa"),t("DVXL")),h=t.n(w);!function(){var e=Object(f.b)();if(e.app)if(e.ios){var n=document.cookie.match(/\d+/);info.uid=n[0],window.webkit.messageHandlers.getTicket.postMessage(null)}else e.android&&androidJsObj&&"object"===("undefined"==typeof androidJsObj?"undefined":c()(androidJsObj))&&(info.uid=parseInt(window.androidJsObj.getUid()),info.ticket=window.androidJsObj.getTicket());else info.uid=1005337,info.ticket="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0aWNrZXRfdHlwZSI6bnVsbCwidWlkIjoxMDA1MzM3LCJ0aWNrZXRfaWQiOiIzZmRmNDQwOS03MTM2LTRkOTItOWE0Yy1hZTkyMjg2YjAyMGUiLCJleHAiOjM2MDAsImNsaWVudF9pZCI6ImVyYmFuLWNsaWVudCJ9.X6mEVLMxFkBtPWW0g1OuL_xOpeGJlNWRsp5fKIKUo3Y"}(),i.default.config.productionTip=!1,i.default.prototype.$layer=p()(i.default),h.a.attach(document.body),i.default.use(m.b),new i.default({el:"#app",router:r.a,store:s,components:{App:a},template:"<App/>"})},YaEn:function(e,n,t){"use strict";var i=t("7+uW"),o=t("/ocq");i.default.use(o.a);var a=new o.a({routes:[{path:"/rank",name:"rank",component:function(){return Promise.all([t.e(0),t.e(1)]).then(t.bind(null,"XwoE"))},meta:{title:"排行榜"}},{path:"/wishingWellRank",name:"wishingWellRank",meta:{title:"许愿池榜单"},component:function(){return Promise.all([t.e(0),t.e(3)]).then(t.bind(null,"W02H"))}},{path:"/wishingWellRecord",name:"wishingWellRecord",meta:{title:"许愿池中奖记录"},component:function(){return Promise.all([t.e(0),t.e(4)]).then(t.bind(null,"ht4E"))}},{path:"/wishingWellRule",name:"wishingWellRule",meta:{title:"玩法规则"},component:function(){return t.e(5).then(t.bind(null,"bxJL"))}},{path:"/DiamondLog",name:"DiamondLog",meta:{title:"钻石记录"},component:function(){return Promise.all([t.e(0),t.e(2)]).then(t.bind(null,"zXe3"))}}]});a.beforeEach(function(e,n,t){window.sessionStorage.getItem("ticket")?t():setTimeout(function(){sessionStorage.clear(),window.sessionStorage.setItem("uid",info.uid),window.sessionStorage.setItem("ticket",info.ticket),console.log(info,"router"),t()},70)}),n.a=a},Z4iZ:function(e,n,t){"use strict";t.d(n,"b",function(){return i}),t.d(n,"a",function(){return o});var i=function(){var e=navigator.userAgent;navigator.appVersion;return{trident:e.indexOf("Trident")>-1,presto:e.indexOf("Presto")>-1,webKit:e.indexOf("AppleWebKit")>-1,gecko:e.indexOf("Gecko")>-1&&-1==e.indexOf("KHTML"),mobile:!!e.match(/AppleWebKit.*Mobile.*/),ios:!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),android:e.indexOf("Android")>-1||e.indexOf("Adr")>-1,iPhone:e.indexOf("iPhone")>-1,iPad:e.indexOf("iPad")>-1,webApp:-1==e.indexOf("Safari"),weixin:e.indexOf("MicroMessenger")>-1,qq:" qq"==e.match(/\sQQ/i),app:"tutuApp"==e.match("tutuApp")}},o=function(){if(window.location.href){var e=window.location.href,n=e.match(/api.uat.z/),t=e.match(/120.79.211.243/),i=e.match(/api.uat/),o=e.match(/127.0.0.1/);return n||t||i||o?"test":"live"}}},afzy:function(e,n,t){"use strict";function i(){return(i=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e}).apply(this,arguments)}n.a=i}},["NHnr"]);
|
||||||
|
//# sourceMappingURL=app.f8a444458a0124bc2d1d.js.map
|
@@ -1,2 +1,2 @@
|
|||||||
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,a){for(var i,u,f,d=0,s=[];d<r.length;d++)u=r[d],t[u]&&s.push(t[u][0]),t[u]=0;for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&(e[i]=c[i]);for(n&&n(r,c,a);s.length;)s.shift()();if(a)for(d=0;d<a.length;d++)f=o(o.s=a[d]);return f};var r={},t={8:0};function o(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,o){n=t[e]=[r,o]});n[2]=r;var c=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,o.nc&&a.setAttribute("nonce",o.nc),a.src=o.p+"static/js/"+e+"."+{0:"cdbe8cbca8858159dee1",1:"5d02d9c60cca1fc97e73",2:"51a3c5acd13ab98d55cc",3:"8b79e4bd0ec643476e46",4:"76d58a1190c5fed3826d",5:"b647f8aa8a2f5fcd4e34"}[e]+".js";var i=setTimeout(u,12e4);function u(){a.onerror=a.onload=null,clearTimeout(i);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return a.onerror=a.onload=u,c.appendChild(a),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="./",o.oe=function(e){throw console.error(e),e}}([]);
|
!function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,a){for(var i,u,d,f=0,s=[];f<r.length;f++)u=r[f],t[u]&&s.push(t[u][0]),t[u]=0;for(i in c)Object.prototype.hasOwnProperty.call(c,i)&&(e[i]=c[i]);for(n&&n(r,c,a);s.length;)s.shift()();if(a)for(f=0;f<a.length;f++)d=o(o.s=a[f]);return d};var r={},t={8:0};function o(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.e=function(e){var n=t[e];if(0===n)return new Promise(function(e){e()});if(n)return n[2];var r=new Promise(function(r,o){n=t[e]=[r,o]});n[2]=r;var c=document.getElementsByTagName("head")[0],a=document.createElement("script");a.type="text/javascript",a.charset="utf-8",a.async=!0,a.timeout=12e4,o.nc&&a.setAttribute("nonce",o.nc),a.src=o.p+"static/js/"+e+"."+{0:"9abdd6498fd7d9f0d2dd",1:"801e4d61cd9d5e319a52",2:"73ab44093dd8bc50680e",3:"e16ec41d20e9be53c63c",4:"9e688a9b2696fa3ac8bd",5:"3490e0ae8df7c19b4380"}[e]+".js";var i=setTimeout(u,12e4);function u(){a.onerror=a.onload=null,clearTimeout(i);var n=t[e];0!==n&&(n&&n[1](new Error("Loading chunk "+e+" failed.")),t[e]=void 0)}return a.onerror=a.onload=u,c.appendChild(a),r},o.m=e,o.c=r,o.d=function(e,n,r){o.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="./",o.oe=function(e){throw console.error(e),e}}([]);
|
||||||
//# sourceMappingURL=manifest.72d4f0878a9bda2e3d57.js.map
|
//# sourceMappingURL=manifest.e8ed7d88923c113579ee.js.map
|
@@ -410,6 +410,7 @@ $('.header .listLast').click(function () {
|
|||||||
})
|
})
|
||||||
// 点击前三按钮
|
// 点击前三按钮
|
||||||
$('.header .topBox .no .ts').on('click', function () {
|
$('.header .topBox .no .ts').on('click', function () {
|
||||||
|
return;
|
||||||
var uid = $(this).attr('uid');
|
var uid = $(this).attr('uid');
|
||||||
var inRoomUid = $(this).attr('inRoomUid');
|
var inRoomUid = $(this).attr('inRoomUid');
|
||||||
var inMic = $(this).attr('inMic');
|
var inMic = $(this).attr('inMic');
|
||||||
@@ -449,6 +450,7 @@ $('.header .topBox .no .ts').on('click', function () {
|
|||||||
})
|
})
|
||||||
// 点击非前三按钮
|
// 点击非前三按钮
|
||||||
$('.list').on('click', 'li .tx', function () {
|
$('.list').on('click', 'li .tx', function () {
|
||||||
|
return;
|
||||||
var uid = $(this).attr('uid');
|
var uid = $(this).attr('uid');
|
||||||
var inRoomUid = $(this).attr('inRoomUid');
|
var inRoomUid = $(this).attr('inRoomUid');
|
||||||
var inMic = $(this).attr('inMic');
|
var inMic = $(this).attr('inMic');
|
||||||
|
@@ -20,7 +20,7 @@
|
|||||||
<img src="./images/title.png" alt="" class="title">
|
<img src="./images/title.png" alt="" class="title">
|
||||||
<!-- 上期小时榜 -->
|
<!-- 上期小时榜 -->
|
||||||
<div class="lastHour">
|
<div class="lastHour">
|
||||||
<div class="text">上小时 top1</div>
|
<div class="text">上小时 TOP1</div>
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="txbox">
|
<div class="txbox">
|
||||||
<img src="./images/hourTs.png" alt="" class="hourTs">
|
<img src="./images/hourTs.png" alt="" class="hourTs">
|
||||||
|
@@ -57,8 +57,8 @@ function getHourRank () {
|
|||||||
showLoading()
|
showLoading()
|
||||||
networkRequest({
|
networkRequest({
|
||||||
type: 'GEt',
|
type: 'GEt',
|
||||||
url: urlPrefix + '/room/permitRoom/hourRank',
|
url: urlPrefix + '/single/broadcast/listHourRank',
|
||||||
data: { roomUid: urlData.roomUid },
|
data: { roomUid: urlData.roomUid,pageSize:30 },
|
||||||
success (res) {
|
success (res) {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
// ==================================设置倒计时===========================
|
// ==================================设置倒计时===========================
|
||||||
@@ -80,7 +80,7 @@ function getHourRank () {
|
|||||||
$('.largestBox .box .txbox .tx').attr("src", lastHourRank.avatar);
|
$('.largestBox .box .txbox .tx').attr("src", lastHourRank.avatar);
|
||||||
$('.largestBox .box .txbox .hourTs').attr("roomUid", lastHourRank.uid);
|
$('.largestBox .box .txbox .hourTs').attr("roomUid", lastHourRank.uid);
|
||||||
$('.largestBox .box .userInfo p').text(lastHourRank.nick);
|
$('.largestBox .box .userInfo p').text(lastHourRank.nick);
|
||||||
$('.largestBox .box .userInfo .mvp .mvpTx').attr("src", lastHourRank.assist.avatar);
|
$('.largestBox .box .userInfo .mvp .mvpTx').attr("src", lastHourRank.assist ? lastHourRank.assist.avatar : './images/logo.png');
|
||||||
console.log(lastHourRank.micUsers);
|
console.log(lastHourRank.micUsers);
|
||||||
lastHourRank.micUsers.forEach((res, i) => {
|
lastHourRank.micUsers.forEach((res, i) => {
|
||||||
$(`.largestBox .box .userInfo .member .memberTx${i + 1}`).attr("src", res.avatar);
|
$(`.largestBox .box .userInfo .member .memberTx${i + 1}`).attr("src", res.avatar);
|
||||||
@@ -98,7 +98,7 @@ function getHourRank () {
|
|||||||
res.data.currHourRank.forEach((val, i) => {
|
res.data.currHourRank.forEach((val, i) => {
|
||||||
str += `
|
str += `
|
||||||
<li class="li${i + 1}" style="position: relative;">
|
<li class="li${i + 1}" style="position: relative;">
|
||||||
<div class="num num${i + 1}">${i > 2 ? i : ''}</div>
|
<div class="num num${i + 1}">${i > 2 ? i + 1 : ''}</div>
|
||||||
<img src="${val.avatar}" roomUid=${val.uid} alt="" class="tx">
|
<img src="${val.avatar}" roomUid=${val.uid} alt="" class="tx">
|
||||||
<div class="userInfo">
|
<div class="userInfo">
|
||||||
<p>${val.nick}</p>
|
<p>${val.nick}</p>
|
||||||
|
@@ -80,7 +80,7 @@ function getHourRank () {
|
|||||||
$('.largestBox .box .txbox .tx').attr("src", lastHourRank.avatar);
|
$('.largestBox .box .txbox .tx').attr("src", lastHourRank.avatar);
|
||||||
$('.largestBox .box .txbox .hourTs').attr("roomUid", lastHourRank.uid);
|
$('.largestBox .box .txbox .hourTs').attr("roomUid", lastHourRank.uid);
|
||||||
$('.largestBox .box .userInfo p').text(lastHourRank.nick);
|
$('.largestBox .box .userInfo p').text(lastHourRank.nick);
|
||||||
$('.largestBox .box .userInfo .mvp .mvpTx').attr("src", lastHourRank.assist.avatar);
|
$('.largestBox .box .userInfo .mvp .mvpTx').attr("src", lastHourRank.assist ? lastHourRank.assist.avatar : './images/logo.png');
|
||||||
console.log(lastHourRank.micUsers);
|
console.log(lastHourRank.micUsers);
|
||||||
lastHourRank.micUsers.forEach((res, i) => {
|
lastHourRank.micUsers.forEach((res, i) => {
|
||||||
$(`.largestBox .box .userInfo .member .memberTx${i + 1}`).attr("src", res.avatar);
|
$(`.largestBox .box .userInfo .member .memberTx${i + 1}`).attr("src", res.avatar);
|
||||||
@@ -98,7 +98,7 @@ function getHourRank () {
|
|||||||
res.data.currHourRank.forEach((val, i) => {
|
res.data.currHourRank.forEach((val, i) => {
|
||||||
str += `
|
str += `
|
||||||
<li class="li${i + 1}" style="position: relative;">
|
<li class="li${i + 1}" style="position: relative;">
|
||||||
<div class="num num${i + 1}">${i > 2 ? i : ''}</div>
|
<div class="num num${i + 1}">${i > 2 ? i + 1 : ''}</div>
|
||||||
<img src="${val.avatar}" roomUid=${val.uid} alt="" class="tx">
|
<img src="${val.avatar}" roomUid=${val.uid} alt="" class="tx">
|
||||||
<div class="userInfo">
|
<div class="userInfo">
|
||||||
<p>${val.nick}</p>
|
<p>${val.nick}</p>
|
||||||
|
@@ -324,6 +324,7 @@ export default {
|
|||||||
// }
|
// }
|
||||||
// },
|
// },
|
||||||
openRoomFun(erbanUid) {
|
openRoomFun(erbanUid) {
|
||||||
|
return;
|
||||||
if(this.tabType == 2) {
|
if(this.tabType == 2) {
|
||||||
if (checkVersion().app) {
|
if (checkVersion().app) {
|
||||||
if (checkVersion().ios) {
|
if (checkVersion().ios) {
|
||||||
|