清除缓存

This commit is contained in:
Dragon
2024-02-22 21:23:51 +08:00
parent 9f468451fe
commit 5f45fdcbf0
4 changed files with 99 additions and 99 deletions

View File

@@ -25,7 +25,7 @@ body {
.wrap {
width: 100%;
height: 115vh;
background: url("../images/main/index-bg.png") no-repeat center/cover;
background: url("../images/main/index-bg.png?v1.0") no-repeat center/cover;
position: relative;
overflow-x: hidden;
overflow-y: auto;
@@ -39,7 +39,7 @@ body {
z-index: 9;
width: 5.38667rem;
height: 2.48rem;
background: url("../images/main/head.png") no-repeat 0 0/100% 100%;
background: url("../images/main/head.png?v1.0") no-repeat 0 0/100% 100%;
}
.wrap .header p {
@@ -115,7 +115,7 @@ body {
color: white;
display: flex;
align-items: center;
background: url("../images/previous-result-bg.png") no-repeat 0 0/100% 100%;
background: url("../images/previous-result-bg.png?v1.0") no-repeat 0 0/100% 100%;
z-index: 9;
}
@@ -133,7 +133,7 @@ body {
width: 0.53333rem;
height: 0.53333rem;
margin-left: 0.10667rem;
background: url("../images/little-bubble.png") 0 0/100% 100%;
background: url("../images/little-bubble.png?v1.0") 0 0/100% 100%;
}
.wrap .previous-result .result-list p img {
@@ -144,7 +144,7 @@ body {
position: relative;
width: 100%;
height: 7.38667rem;
background: url("../images/main/path-bg.png") no-repeat 0 0/100% 100%;
background: url("../images/main/path-bg.png?v1.0") no-repeat 0 0/100% 100%;
margin-top: 1.81333rem;
}
@@ -265,7 +265,7 @@ body {
position: relative;
width: 100%;
height: 1.12rem;
background: url("../images/main/weapon-list.png") no-repeat 0 0/100% 100%;
background: url("../images/main/weapon-list.png?v1.0") no-repeat 0 0/100% 100%;
}
.wrap .summon-area .weapon-wrap p {
@@ -284,7 +284,7 @@ body {
}
.wrap .summon-area .weapon-wrap p.active {
background: url("../images/main/weapon-item-active.png") no-repeat 0 0/100% 100%;
background: url("../images/main/weapon-item-active.png?v1.0") no-repeat 0 0/100% 100%;
}
.wrap .summon-area .weapon-wrap p:nth-child(2) {
@@ -319,7 +319,7 @@ body {
position: relative;
width: 6.74667rem;
height: 2.10667rem;
background: url("../images/main/restrain-bg.png") no-repeat 0 0/100% 100%;
background: url("../images/main/restrain-bg.png?v1.0") no-repeat 0 0/100% 100%;
margin: 0.24rem auto 0.61333rem;
}
@@ -540,7 +540,7 @@ body {
transform: translate(-50%, -50%);
width: 9.6rem;
height: 11.33333rem;
background: url("../images/popup/rule.png") no-repeat 0 0/100% 100%;
background: url("../images/popup/rule.png?v1.0") no-repeat 0 0/100% 100%;
font-size: 0.26667rem;
color: #6E5F4C;
font-weight: 600;
@@ -655,15 +655,15 @@ body {
}
.wrap .popup-result .result-content.success-bg, .wrap .popup-result .not-enough-content.success-bg, .wrap .popup-result .summon-content.success-bg, .wrap .popup-not-enough .result-content.success-bg, .wrap .popup-not-enough .not-enough-content.success-bg, .wrap .popup-not-enough .summon-content.success-bg, .wrap .popup-summon .result-content.success-bg, .wrap .popup-summon .not-enough-content.success-bg, .wrap .popup-summon .summon-content.success-bg, .wrap .popup-rank .result-content.success-bg, .wrap .popup-rank .not-enough-content.success-bg, .wrap .popup-rank .summon-content.success-bg {
background: url("../images/popup/success.png") no-repeat 0 0/100% 100%;
background: url("../images/popup/success.png?v1.0") no-repeat 0 0/100% 100%;
}
.wrap .popup-result .result-content.failure-bg, .wrap .popup-result .not-enough-content.failure-bg, .wrap .popup-result .summon-content.failure-bg, .wrap .popup-not-enough .result-content.failure-bg, .wrap .popup-not-enough .not-enough-content.failure-bg, .wrap .popup-not-enough .summon-content.failure-bg, .wrap .popup-summon .result-content.failure-bg, .wrap .popup-summon .not-enough-content.failure-bg, .wrap .popup-summon .summon-content.failure-bg, .wrap .popup-rank .result-content.failure-bg, .wrap .popup-rank .not-enough-content.failure-bg, .wrap .popup-rank .summon-content.failure-bg {
background: url("../images/popup/failure.png") no-repeat 0 0/100% 100%;
background: url("../images/popup/failure.png?v1.0") no-repeat 0 0/100% 100%;
}
.wrap .popup-result .result-content.not-join-bg, .wrap .popup-result .not-enough-content.not-join-bg, .wrap .popup-result .summon-content.not-join-bg, .wrap .popup-not-enough .result-content.not-join-bg, .wrap .popup-not-enough .not-enough-content.not-join-bg, .wrap .popup-not-enough .summon-content.not-join-bg, .wrap .popup-summon .result-content.not-join-bg, .wrap .popup-summon .not-enough-content.not-join-bg, .wrap .popup-summon .summon-content.not-join-bg, .wrap .popup-rank .result-content.not-join-bg, .wrap .popup-rank .not-enough-content.not-join-bg, .wrap .popup-rank .summon-content.not-join-bg {
background: url("../images/popup/not-join.png") no-repeat 0 0/100% 100%;
background: url("../images/popup/not-join.png?v1.0") no-repeat 0 0/100% 100%;
}
.wrap .popup-result .result-content .close, .wrap .popup-result .not-enough-content .close, .wrap .popup-result .summon-content .close, .wrap .popup-not-enough .result-content .close, .wrap .popup-not-enough .not-enough-content .close, .wrap .popup-not-enough .summon-content .close, .wrap .popup-summon .result-content .close, .wrap .popup-summon .not-enough-content .close, .wrap .popup-summon .summon-content .close, .wrap .popup-rank .result-content .close, .wrap .popup-rank .not-enough-content .close, .wrap .popup-rank .summon-content .close {
@@ -741,7 +741,7 @@ body {
}
.wrap .popup-not-enough .not-enough-content {
background: url("../images/popup/not-enough.png") no-repeat 0 0/100% 100%;
background: url("../images/popup/not-enough.png?v1.0") no-repeat 0 0/100% 100%;
}
.wrap .popup-not-enough .not-enough-content .headwear-pic {
@@ -766,7 +766,7 @@ body {
.wrap .popup-not-enough .not-enough-content .headwear-price {
width: 5.36rem;
height: 0.8rem;
background: url("../images/popup/price-bg.png") no-repeat 0 0/100% 100%;
background: url("../images/popup/price-bg.png?v1.0") no-repeat 0 0/100% 100%;
display: flex;
align-items: center;
}
@@ -804,7 +804,7 @@ body {
}
.wrap .popup-summon .summon-content {
background: url("../images/popup/summon.png") no-repeat 0 0/100% 100%;
background: url("../images/popup/summon.png?v1.0") no-repeat 0 0/100% 100%;
color: #6F5F4D;
}
@@ -983,7 +983,7 @@ body {
transform: translate(-50%, -50%);
width: 9.6rem;
height: 11.33333rem;
background: url("../images/popup/record.png") no-repeat 0 0/100% 100%;
background: url("../images/popup/record.png?v1.0") no-repeat 0 0/100% 100%;
}
.wrap .popup-record-list .record-list-content .close, .wrap .popup-record-list .previous-result-content .close, .wrap .pupop-previous-result .record-list-content .close, .wrap .pupop-previous-result .previous-result-content .close {
@@ -1004,7 +1004,7 @@ body {
overflow: hidden;
width: 7.2rem;
height: 3.89333rem;
background: url("../images/popup/record-bg.png") no-repeat 0 0/100% 100%;
background: url("../images/popup/record-bg.png?v1.0") no-repeat 0 0/100% 100%;
margin: 0rem auto 0.34667rem;
}
@@ -1135,7 +1135,7 @@ body {
}
.wrap .pupop-previous-result .previous-result-content {
background-image: url("../images/popup/monster-record.png");
background-image: url("../images/popup/monster-record.png?v1.0");
}
.wrap .pupop-previous-result .previous-result-content ul.previous-result-list {
@@ -1192,7 +1192,7 @@ body {
z-index: 99;
width: 100%;
height: 12.21333rem;
background: url("../images/popup/rank-bg.png") no-repeat 0 0/100% 100%;
background: url("../images/popup/rank-bg.png?v1.0") no-repeat 0 0/100% 100%;
}
.wrap .popup-rank .rank-content .rank-top {
@@ -1250,7 +1250,7 @@ body {
}
.wrap .popup-rank .rank-content .rank-top .topthree-wrap .info-wrap:nth-child(2) .avatar p, .wrap .popup-rank .rank-content .rank-top .topthree-wrap .info-wrap:nth-child(3) .avatar p {
background-image: url("../images/popup/second.png");
background-image: url("../images/popup/second.png?v1.0");
}
.wrap .popup-rank .rank-content .rank-top .topthree-wrap .info-wrap:nth-child(2) .avatar img, .wrap .popup-rank .rank-content .rank-top .topthree-wrap .info-wrap:nth-child(3) .avatar img {
@@ -1264,7 +1264,7 @@ body {
}
.wrap .popup-rank .rank-content .rank-top .topthree-wrap .info-wrap:nth-child(3) .avatar p {
background-image: url("../images/popup/third.png");
background-image: url("../images/popup/third.png?v1.0");
}
.wrap .popup-rank .rank-content .rank-top .topthree-wrap .info-wrap .avatar {
@@ -1279,7 +1279,7 @@ body {
z-index: 99;
width: 100%;
height: 100%;
background: url("../images/popup/first.png") no-repeat 0 0/100% 100%;
background: url("../images/popup/first.png?v1.0") no-repeat 0 0/100% 100%;
}
.wrap .popup-rank .rank-content .rank-top .topthree-wrap .info-wrap .avatar img {

View File

@@ -35,7 +35,7 @@ body{
.wrap{
width: 100%;
height: 115vh;
background: url('../images/main/index-bg.png') no-repeat center/cover;
background: url('../images/main/index-bg.png?v1.0') no-repeat center/cover;
position: relative;
overflow-x: hidden;
overflow-y: auto;
@@ -48,7 +48,7 @@ body{
z-index: 9;
width: px2rem(404);
height: px2rem(186);
background: url('../images/main/head.png') no-repeat 0 0/100% 100%;
background: url('../images/main/head.png?v1.0') no-repeat 0 0/100% 100%;
p{
position: absolute;
left: 20%;
@@ -118,7 +118,7 @@ body{
color: white;
display: flex;
align-items: center;
background: url('../images/previous-result-bg.png') no-repeat 0 0/100% 100%;
background: url('../images/previous-result-bg.png?v1.0') no-repeat 0 0/100% 100%;
z-index: 9;
span{
font-weight: bold;
@@ -136,9 +136,9 @@ body{
width: px2rem(40);
height: px2rem(40);
margin-left: px2rem(8);
background: url('../images/little-bubble.png') 0 0/100% 100%;
background: url('../images/little-bubble.png?v1.0') 0 0/100% 100%;
// &:last-child{
// background: url('../images/last-little-bubble.png') 0 0/100% 100%,url('../images/little-bubble.png') 0 0/100% 100%;
// background: url('../images/last-little-bubble.png?v1.0') 0 0/100% 100%,url('../images/little-bubble.png?v1.0') 0 0/100% 100%;
// }
img{
width: 100%;
@@ -150,7 +150,7 @@ body{
position: relative;
width: 100%;
height: px2rem(554);
background: url('../images/main/path-bg.png') no-repeat 0 0/100% 100%;
background: url('../images/main/path-bg.png?v1.0') no-repeat 0 0/100% 100%;
margin-top: px2rem(136);
.path{
position: absolute;
@@ -261,7 +261,7 @@ body{
position: relative;
width: 100%;
height: px2rem(84);
background: url('../images/main/weapon-list.png') no-repeat 0 0/100% 100%;
background: url('../images/main/weapon-list.png?v1.0') no-repeat 0 0/100% 100%;
p{
position: absolute;
top: 0;
@@ -275,7 +275,7 @@ body{
width: 70%;
}
&.active{
background: url('../images/main/weapon-item-active.png') no-repeat 0 0/100% 100%;
background: url('../images/main/weapon-item-active.png?v1.0') no-repeat 0 0/100% 100%;
}
&:nth-child(2){
left: px2rem(104);
@@ -304,7 +304,7 @@ body{
position: relative;
width: px2rem(506);
height: px2rem(158);
background: url('../images/main/restrain-bg.png') no-repeat 0 0/100% 100%;
background: url('../images/main/restrain-bg.png?v1.0') no-repeat 0 0/100% 100%;
margin: px2rem(18) auto px2rem(46);
.weapon-pic, .monster-pic{
position: absolute;
@@ -499,7 +499,7 @@ body{
transform: translate(-50%, -50%);
width: px2rem(720);
height: px2rem(850);
background: url('../images/popup/rule.png') no-repeat 0 0/100% 100%;
background: url('../images/popup/rule.png?v1.0') no-repeat 0 0/100% 100%;
font-size: px2rem(20);
color: #6E5F4C;
font-weight: 600;
@@ -598,13 +598,13 @@ body{
flex-direction: column;
align-items: center;
&.success-bg{
background: url('../images/popup/success.png') no-repeat 0 0/100% 100%;
background: url('../images/popup/success.png?v1.0') no-repeat 0 0/100% 100%;
}
&.failure-bg{
background: url('../images/popup/failure.png') no-repeat 0 0/100% 100%;
background: url('../images/popup/failure.png?v1.0') no-repeat 0 0/100% 100%;
}
&.not-join-bg{
background: url('../images/popup/not-join.png') no-repeat 0 0/100% 100%;
background: url('../images/popup/not-join.png?v1.0') no-repeat 0 0/100% 100%;
}
.close{
position: absolute;
@@ -674,7 +674,7 @@ body{
}
.popup-not-enough{
.not-enough-content{
background: url('../images/popup/not-enough.png') no-repeat 0 0/100% 100%;
background: url('../images/popup/not-enough.png?v1.0') no-repeat 0 0/100% 100%;
.headwear-pic{
width: px2rem(120);
height: px2rem(120);
@@ -694,7 +694,7 @@ body{
.headwear-price{
width: px2rem(402);
height: px2rem(60);
background: url('../images/popup/price-bg.png') no-repeat 0 0/100% 100%;
background: url('../images/popup/price-bg.png?v1.0') no-repeat 0 0/100% 100%;
display: flex;
align-items: center;
.diamond-icon{
@@ -728,7 +728,7 @@ body{
}
.popup-summon{
.summon-content{
background: url('../images/popup/summon.png') no-repeat 0 0/100% 100%;
background: url('../images/popup/summon.png?v1.0') no-repeat 0 0/100% 100%;
color: #6F5F4D;
.summon-title{
font-size: px2rem(30);
@@ -883,7 +883,7 @@ body{
transform: translate(-50%, -50%);
width: px2rem(720);
height: px2rem(850);
background: url('../images/popup/record.png') no-repeat 0 0/100% 100%;
background: url('../images/popup/record.png?v1.0') no-repeat 0 0/100% 100%;
.close{
position: absolute;
top: px2rem(46);
@@ -899,7 +899,7 @@ body{
overflow: hidden;
width: px2rem(540);
height: px2rem(292);
background: url('../images/popup/record-bg.png') no-repeat 0 0/100% 100%;
background: url('../images/popup/record-bg.png?v1.0') no-repeat 0 0/100% 100%;
margin: px2rem(0) auto px2rem(26);
.time{
font-family: 'pingfang-medium';
@@ -1019,7 +1019,7 @@ body{
//往轮结果弹窗
.pupop-previous-result{
.previous-result-content{
background-image: url('../images/popup/monster-record.png');
background-image: url('../images/popup/monster-record.png?v1.0');
ul.previous-result-list{
height: 64%;
margin-top: px2rem(256);
@@ -1073,7 +1073,7 @@ body{
z-index: 99;
width: 100%;
height: px2rem(916);
background: url('../images/popup/rank-bg.png') no-repeat 0 0/100% 100%;
background: url('../images/popup/rank-bg.png?v1.0') no-repeat 0 0/100% 100%;
.rank-top{
font-family: 'pingfang-bold';
color: #fff;
@@ -1118,7 +1118,7 @@ body{
width: px2rem(114);
height: px2rem(154);
p{
background-image: url('../images/popup/second.png');
background-image: url('../images/popup/second.png?v1.0');
}
img{
width: px2rem(112);
@@ -1135,7 +1135,7 @@ body{
left: px2rem(504);
.avatar{
p{
background-image: url('../images/popup/third.png');
background-image: url('../images/popup/third.png?v1.0');
}
}
}
@@ -1149,7 +1149,7 @@ body{
z-index: 99;
width: 100%;
height: 100%;
background: url('../images/popup/first.png') no-repeat 0 0/100% 100%;
background: url('../images/popup/first.png?v1.0') no-repeat 0 0/100% 100%;
}
img{
position: relative;

View File

@@ -6,16 +6,16 @@
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<title>守護星球</title>
<link rel="stylesheet" href="../../common/css/reset.css">
<link rel="stylesheet" href="./css/index.css?v=1.7">
<link rel="stylesheet" href="./css/index.css?v=1.9">
</head>
<body class="no-in-app">
<div class="wrap">
<div class="header"><p><i class="count-down-text">下一輪進攻即將開始</i><span class="count-down-num"></span></p></div>
<div class="rule"><img src="./images/main/rule-icon.png" alt=""></div>
<div class="record"><img src="./images/main/record-icon.png" alt=""></div>
<div class="mall"><img src="./images/main/mall-icon.png" alt=""></div>
<div class="rank"><img src="./images/main/rank-icon.png" alt=""></div>
<div class="rule"><img src="./images/main/rule-icon.png?v1.0" alt=""></div>
<div class="record"><img src="./images/main/record-icon.png?v1.0" alt=""></div>
<div class="mall"><img src="./images/main/mall-icon.png?v1.0" alt=""></div>
<div class="rank"><img src="./images/main/rank-icon.png?v1.0" alt=""></div>
<!-- 過場動畫 -->
<div class="monster-svga"></div>
@@ -23,11 +23,11 @@
<!-- 遊戲區域 -->
<div class="game-area">
<!-- 路徑圖 -->
<img src="./images/main/path.png" alt="" class="path">
<img src="./images/main/path.png?v1.0" alt="" class="path">
<!-- 怪獸初始位置 -->
<img src="" alt="" class="monster-position">
<!-- 怪獸牌位置 -->
<img src="./images/main/init-position.png" alt="" class="init-position">
<img src="./images/main/init-position.png?v1.0" alt="" class="init-position">
<!-- 標誌位位置 -->
<div class="sign-wrap">
<div><img src="" alt=""><p></p></div>
@@ -68,33 +68,33 @@
</div>
<!-- 輸入 -->
<div class="select-num">
<div class="decrement-ten"><img src="./images/main/decrement-ten.png" alt=""></div>
<div class="decrement-ten"><img src="./images/main/decrement-ten.png?v1.0" alt=""></div>
<div class="ipt-wrap">
<span>召喚個數</span>
<p style="bottom:-0.32rem" class="p1">消耗 <b style="color:#f1db14">鉆石*0</b></p>
<p style="bottom:-0.64rem">成功擊敗怪獸將獲得 <b style="color:#f1db14">鉆石*<i>0</i></b></p>
<!-- <main>消耗魔法石<i>0</i></main> -->
<main>召喚個數</main>
<img src="./images/main/decrement.png" alt="" class="decrement">
<img src="./images/main/decrement.png?v1.0" alt="" class="decrement">
<input type="text" value="0">
<img src="./images/main/increment.png" alt="" class="increment">
<img src="./images/main/increment.png?v1.0" alt="" class="increment">
</div>
<div class="increment-ten"><img src="./images/main/increment-ten.png" alt=""></div>
<div class="increment-ten"><img src="./images/main/increment-ten.png?v1.0" alt=""></div>
</div>
<!-- 確認召喚按鈕 -->
<div class="confitm-btn active"><img src="./images/main/confirm-btn.png" alt=""></div>
<div class="confitm-btn active"><img src="./images/main/confirm-btn.png?v1.0" alt=""></div>
</div>
<!-- 個人信息 -->
<div class="info-bottom">
<div class="avatar"><img src="./images/main/logo.png" alt=""></div>
<div class="avatar"><img src="./images/main/logo.png?v1.0" alt=""></div>
<div class="f-wrap">
<div class="fragment">
<img src="./images/main/prop-icon.png" alt="">
我的鉆石:<span>0</span><img src="./images/popup/add.png" alt="" class="add">
<img src="./images/main/prop-icon.png?v1.0" alt="">
我的鉆石:<span>0</span><img src="./images/popup/add.png?v1.0" alt="" class="add">
</div>
<div class="award">
<img src="./images/main/award-icon.png" alt="">
<img src="./images/main/award-icon.png?v1.0" alt="">
今日獎勵:<span>0</span>
</div>
</div>
@@ -108,7 +108,7 @@
<div class="shade-content">
<div class="close"></div>
<main>
<img src="./images/popup/rule-bg1.png" alt="" class="rule-bg1">
<img src="./images/popup/rule-bg1.png?v1.0" alt="" class="rule-bg1">
<div class="rule-weapon-wrap">
<p class="active"><img src="" alt=""></p>
<p><img src="" alt=""></p>
@@ -132,7 +132,7 @@
<span>怪獸名字</span>
</div>
</div>
<img src="./images/popup/rule-bg2.png" alt="" class="rule-bg2">
<img src="./images/popup/rule-bg2.png?v1.0" alt="" class="rule-bg2">
</main>
</div>
</div>
@@ -159,13 +159,13 @@
<div class="popup-not-enough">
<div class="not-enough-content">
<div class="close"></div>
<img src="./images/main/logo.png" alt="" class="headwear-pic">
<img src="./images/main/logo.png?v1.0" alt="" class="headwear-pic">
<div class="headwear-name"></div>
<div class="headwear-award"></div>
<div class="headwear-price">
<img src="./images/mall/diamond-icon.png" alt="" class="diamond-icon">
<img src="./images/mall/diamond-icon.png?v1.0" alt="" class="diamond-icon">
<span></span>
<p class="buy-btn"><img src="./images/popup/buy-btn.png" alt=""></p>
<p class="buy-btn"><img src="./images/popup/buy-btn.png?v1.0" alt=""></p>
</div>
<div class="diamond-num">我的鉆石<span>0</span></div>
</div>
@@ -175,7 +175,7 @@
<div class="shade-mask-no-money">
<div class="shade-content-no-money">
<p class="no-money-title">鉆石余額不足</p>
<p class="no-money-pic"><img src="./images/mall/no-money.png" alt=""></p>
<p class="no-money-pic"><img src="./images/mall/no-money.png?v1.0" alt=""></p>
<p class="no-money-tip">親,鉆石余額不足~</p>
<p class="no-money-recharge">去充值</p>
</div>
@@ -192,19 +192,19 @@
<div class="summon-monster-name"></div>
<div class="multiple">(武力值<span></span></div>
<div class="popup-select-num">
<div class="decrement-ten"><img src="./images/popup/decrement-ten.png" alt=""></div>
<div class="decrement-ten"><img src="./images/popup/decrement-ten.png?v1.0" alt=""></div>
<div class="ipt-wrap">
<span>召喚個數</span>
<p>成功擊敗怪獸將獲得<i>0</i>鉆石獎勵</p>
<main>消耗鉆石<i>0</i></main>
<img src="./images/main/decrement.png" alt="" class="decrement">
<img src="./images/main/decrement.png?v1.0" alt="" class="decrement">
<input type="text" value="0">
<img src="./images/main/increment.png" alt="" class="increment">
<img src="./images/main/increment.png?v1.0" alt="" class="increment">
</div>
<div class="increment-ten"><img src="./images/popup/increment-ten.png" alt=""></div>
<div class="increment-ten"><img src="./images/popup/increment-ten.png?v1.0" alt=""></div>
</div>
<div class="popup-confitm-btn active"><img src="./images/main/confirm-btn.png" alt=""></div>
<div class="mine-prop-num">我的鉆石<span>0</span> <img src="./images/popup/add.png" alt="" class="add"></div>
<div class="popup-confitm-btn active"><img src="./images/main/confirm-btn.png?v1.0" alt=""></div>
<div class="mine-prop-num">我的鉆石<span>0</span> <img src="./images/popup/add.png?v1.0" alt="" class="add"></div>
</div>
</div>
@@ -230,8 +230,8 @@
<div class="rank-content">
<div class="rank-top">
<div class="tab-wrap">
<p class="diamond-rank"><img src="./images/popup/rank-tab1-active.png" alt=""></p>
<p class="num-rank"><img src="./images/popup/rank-tab2.png" alt=""></p>
<p class="diamond-rank"><img src="./images/popup/rank-tab1-active.png?v1.0" alt=""></p>
<p class="num-rank"><img src="./images/popup/rank-tab2.png?v1.0" alt=""></p>
</div>
<div class="topthree-wrap"></div>
</div>
@@ -241,7 +241,7 @@
<div class="mine">
<span class="mine-rank">未上榜</span>
<div class="mine-info">
<img src="./images/main/logo.png" alt="">
<img src="./images/main/logo.png?v1.0" alt="">
<span class="mine-nick"></span>
</div>
<span class="mine-diamond-num"></span>
@@ -257,7 +257,7 @@
<script src="../../common/js/vconsole.min.js"></script>
<script src="../../common/js/svga.min.js"></script>
<script src="../../common/js/route-constant.js"></script>
<script src="./js/index.js?v=2.2"></script>
<script src="./js/index.js?v=2.5"></script>
</body>
</html>

View File

@@ -201,12 +201,12 @@ const showView = (data, monsterImg, drawId) => {
$('.confitm-btn').addClass('active')
$('.confitm-btn').removeClass('inactive')
$('.confitm-btn').removeClass('prepare')
$('.confitm-btn img').attr('src', "./images/main/confirm-btn.png")
$('.confitm-btn img').attr('src', "./images/main/confirm-btn.png?v1.0")
$('.popup-confitm-btn').addClass('active')
$('.popup-confitm-btn').removeClass('inactive')
$('.popup-confitm-btn').removeClass('prepare')
$('.popup-confitm-btn img').attr('src', "./images/popup/confirm-btn.png")
$('.popup-confitm-btn img').attr('src', "./images/popup/confirm-btn.png?v1.0")
// 清空神器和怪獸名字和圖片
$('.restrain .weapon-pic img').attr('src', '')
@@ -257,12 +257,12 @@ const showView = (data, monsterImg, drawId) => {
$('.confitm-btn').removeClass('active')
$('.confitm-btn').removeClass('prepare')
$('.confitm-btn').addClass('inactive')
$('.confitm-btn img').attr('src', "./images/main/confirm-disable-btn.png")
$('.confitm-btn img').attr('src', "./images/main/confirm-disable-btn.png?v1.0")
$('.popup-confitm-btn').removeClass('active')
$('.popup-confitm-btn').removeClass('prepare')
$('.popup-confitm-btn').addClass('inactive')
$('.popup-confitm-btn img').attr('src', "./images/popup/confirm-disable-btn.png")
$('.popup-confitm-btn img').attr('src', "./images/popup/confirm-disable-btn.png?v1.0")
// showCountDown(userComeinTime, drawStageStartTime, showResultStageStartTime)
judgeStatus()
@@ -304,12 +304,12 @@ const showView = (data, monsterImg, drawId) => {
$('.confitm-btn').removeClass('active')
$('.confitm-btn').removeClass('inactive')
$('.confitm-btn').addClass('prepare')
$('.confitm-btn img').attr('src', "./images/main/confirm-prepare-btn.png")
$('.confitm-btn img').attr('src', "./images/main/confirm-prepare-btn.png?v1.0")
$('.popup-confitm-btn').removeClass('active')
$('.popup-confitm-btn').removeClass('inactive')
$('.popup-confitm-btn').addClass('prepare')
$('.popup-confitm-btn img').attr('src', "./images/popup/confirm-prepare-btn.png")
$('.popup-confitm-btn img').attr('src', "./images/popup/confirm-prepare-btn.png?v1.0")
$('.monster-position').hide()
drawInfo = data //結果彈窗所需信息
@@ -506,12 +506,12 @@ const monsterAnimation = () => {
$('.confitm-btn').removeClass('active')
$('.confitm-btn').removeClass('inactive')
$('.confitm-btn').addClass('prepare')
$('.confitm-btn img').attr('src', "./images/main/confirm-prepare-btn.png")
$('.confitm-btn img').attr('src', "./images/main/confirm-prepare-btn.png?v1.0")
$('.popup-confitm-btn').removeClass('active')
$('.popup-confitm-btn').removeClass('inactive')
$('.popup-confitm-btn').addClass('prepare')
$('.popup-confitm-btn img').attr('src', "./images/popup/confirm-prepare-btn.png")
$('.popup-confitm-btn img').attr('src', "./images/popup/confirm-prepare-btn.png?v1.0")
})
})
})
@@ -561,16 +561,16 @@ const showResultPopup = () => {
topThreeArr = drawInfo.rankUserList
let str = ''
if (topThreeArr.length === 0) {
$('.top-three img').attr('src', './images/main/default-hui.png')
$('.top-three img').attr('src', './images/main/default-hui.png?v1.0')
} else {
topThreeArr.map((item, index) => {
$('.top-three img').eq(index).attr('src', item)
})
if (topThreeArr.length === 1) {
$('.top-three img').eq(1).attr('src', './images/main/default-hui.png')
$('.top-three img').eq(2).attr('src', './images/main/default-hui.png')
$('.top-three img').eq(1).attr('src', './images/main/default-hui.png?v1.0')
$('.top-three img').eq(2).attr('src', './images/main/default-hui.png?v1.0')
} else if (topThreeArr.length === 2) {
$('.top-three img').eq(2).attr('src', './images/main/default-hui.png')
$('.top-three img').eq(2).attr('src', './images/main/default-hui.png?v1.0')
}
}
@@ -674,7 +674,7 @@ const renderRecord = () => {
userCostPiece = '*' + item1.costPiece
str1 += `
<li class="weapon-item">
<img style="display: ${item1.itemId === drawId ? 'block' : 'none'}" src="./images/popup/summon-icon.png" alt="" class="summon-icon">
<img style="display: ${item1.itemId === drawId ? 'block' : 'none'}" src="./images/popup/summon-icon.png?v1.0" alt="" class="summon-icon">
<img src="${item1.itemUrl}" alt="" class="weapon-item-pic">
<span>${userCostPiece}</span>
</li>
@@ -704,7 +704,7 @@ const renderRecord = () => {
<p style='display: ${item.drawStatus == 2 ? "none" : "block"}'>
獎勵
<i>${item.reward}</i>
<img src="./images/popup/diamond.png" alt="">
<img src="./images/popup/diamond.png?v1.0" alt="">
</p>
</div>
</li>
@@ -902,7 +902,7 @@ const renderRankList = () => {
let len = 3 - rankListD.length
let arr = new Array(len).fill({
nick: '虛位以待',
avatar: './images/main/default.png',
avatar: './images/main/default.png?v1.0',
num: ''
})
topThreeArr.push(...arr)
@@ -963,7 +963,7 @@ const renderRankList = () => {
let len = 3 - rankListN.length
let arr = new Array(len).fill({
nick: '虛位以待',
avatar: './images/main/default.png'
avatar: './images/main/default.png?v1.0'
})
topThreeArr.push(...arr)
}
@@ -1095,11 +1095,11 @@ $(function () {
// 排行榜彈窗tab點選
$('.tab-wrap').on('click', 'p', function () {
if ($(this).index()) {
$(this).find('img').attr('src', "./images/popup/rank-tab2-active.png")
$(this).siblings().find('img').attr('src', "./images/popup/rank-tab1.png")
$(this).find('img').attr('src', "./images/popup/rank-tab2-active.png?v1.0")
$(this).siblings().find('img').attr('src', "./images/popup/rank-tab1.png?v1.0")
} else {
$(this).find('img').attr('src', "./images/popup/rank-tab1-active.png")
$(this).siblings().find('img').attr('src', "./images/popup/rank-tab2.png")
$(this).find('img').attr('src', "./images/popup/rank-tab1-active.png?v1.0")
$(this).siblings().find('img').attr('src', "./images/popup/rank-tab2.png?v1.0")
}
if (type === $(this).index() + 1) return
type = $(this).index() + 1
@@ -1132,8 +1132,8 @@ $(function () {
clickTabCanNetworkN = true
$('.other-rank').html('')
$('.tab-wrap p').eq(0).find('img').attr('src', "./images/popup/rank-tab1-active.png")
$('.tab-wrap p').eq(1).find('img').attr('src', "./images/popup/rank-tab2.png")
$('.tab-wrap p').eq(0).find('img').attr('src', "./images/popup/rank-tab1-active.png?v1.0")
$('.tab-wrap p').eq(1).find('img').attr('src', "./images/popup/rank-tab2.png?v1.0")
$('body').css('overflow', 'auto')
})