Commit 410d5b6d by libai

ft活动上线

parent 656b56f3
...@@ -2,6 +2,28 @@ ...@@ -2,6 +2,28 @@
margin: 0 auto; margin: 0 auto;
width: 10rem; width: 10rem;
} }
.rule-bg {
height: 42.2rem;
width: 10rem;
background: url(../images/rule-bg.png) no-repeat;
background-size: 100% auto;
position: relative;
margin: 0 auto;
}
.rule-btn {
width: 1.586rem;
position: fixed;
right: 0;
top: 5rem;
z-index: 500;
}
.back {
width: 1.586rem;
position: fixed;
right: 0;
top: 5rem;
z-index: 500;
}
.banner { .banner {
width: 10rem; width: 10rem;
height: 11.466rem; height: 11.466rem;
...@@ -574,3 +596,21 @@ ...@@ -574,3 +596,21 @@
.act-room-bg2 > div { .act-room-bg2 > div {
display: none; display: none;
} }
.callKF {
width: 10rem;
position: absolute;
bottom: 0.3rem;
height: 0.8rem;
color: #FBF3FF;
text-align: center;
font-size: 0.33rem;
}
.callKF > span {
height: 0.5rem;
padding: 0.08rem;
padding-left: 0.25rem;
padding-right: 0.25rem;
background: #f3f3f3;
border-radius: 0.1rem;
color: #025752;
}
...@@ -2,6 +2,28 @@ ...@@ -2,6 +2,28 @@
margin: 0 auto; margin: 0 auto;
width: 10rem; width: 10rem;
} }
.rule-bg{
height: 42.2rem;
width: 10rem;
background: url(../images/rule-bg.png)no-repeat;
background-size: 100% auto;
position: relative;
margin: 0 auto;
}
.rule-btn{
width: 1.586rem;
position: fixed;
right: 0;
top: 5rem;
z-index: 500;
}
.back{
width: 1.586rem;
position: fixed;
right: 0;
top: 5rem;
z-index: 500;
}
.banner{ .banner{
width: 10rem; width: 10rem;
height: 11.466rem; height: 11.466rem;
...@@ -584,3 +606,21 @@ ...@@ -584,3 +606,21 @@
display: none; display: none;
} }
} }
.callKF{
width: 10rem;
position: absolute;
bottom: 0.3rem;
height: 0.8rem;
color: #FBF3FF;
text-align: center;
font-size: 0.33rem;
>span{
height: 0.5rem;
padding: 0.08rem;
padding-left: 0.25rem;
padding-right: 0.25rem;
background: #f3f3f3;
border-radius: 0.1rem;
color: #025752;
}
}
\ No newline at end of file
...@@ -46,6 +46,7 @@ ...@@ -46,6 +46,7 @@
<p class="layer-user-tips">以上獎勵已發放至背包,有效期為14天</p> <p class="layer-user-tips">以上獎勵已發放至背包,有效期為14天</p>
</div> </div>
<div class="bg"> <div class="bg">
<img class="rule-btn" src="images/rule-btn.png" alt="">
<div class="banner"></div> <div class="banner"></div>
<div class="top-btn1"> <div class="top-btn1">
<div data-type="1"></div> <div data-type="1"></div>
...@@ -140,16 +141,17 @@ ...@@ -140,16 +141,17 @@
<script src="lib/swiper.min.js"></script> <script src="lib/swiper.min.js"></script>
<script> <script>
$(function(){ $(function(){
// var swiper = new Swiper(".mySwiper", { if(sessionStorage.lang==2)var titleName="女神物語"
// loop: true, else var titleName="Summer Carnival"
// pagination: { var obj = {
// el: ".swiper-pagination", "cid": 34, //修改网页title 居中显示。
"data": {
// }, "type": 2, //1 图片 2文本。
// autoplay: { "imgTxt": titleName,
// delay: 3000,//1秒切换一次 }
// }, }
// }); var obj2 = JSON.stringify(obj);
appCollaboration(obj2);
$(".top-btn1 div").on("click",function(){ $(".top-btn1 div").on("click",function(){
var _self=$(this); var _self=$(this);
if(_self.attr("data-type")==1){ if(_self.attr("data-type")==1){
...@@ -164,7 +166,9 @@ $(function(){ ...@@ -164,7 +166,9 @@ $(function(){
task() task()
} }
}) })
$(".rule-btn").on("click",function(){
window.location.href="rule.html"+location.search
})
list() list()
topMc() topMc()
yesterday() yesterday()
...@@ -383,6 +387,7 @@ $(function(){ ...@@ -383,6 +387,7 @@ $(function(){
$(".layer-user-gift-ok").unbind("click").on("click",function(){ $(".layer-user-gift-ok").unbind("click").on("click",function(){
layer.closeAll() layer.closeAll()
}) })
task()
// layer-user-gift // layer-user-gift
} }
if(e==2){ if(e==2){
...@@ -401,6 +406,7 @@ $(function(){ ...@@ -401,6 +406,7 @@ $(function(){
$(".layer-vip-btn").unbind("click").on("click",function(){ $(".layer-vip-btn").unbind("click").on("click",function(){
layer.closeAll() layer.closeAll()
}) })
task()
} }
} }
}) })
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
</style> </style>
</head> </head>
<script src="lib/lottie-player.js"></script> <script src="lib/lottie-player.js"></script>
<body style="background: #0858C7;"> <body style="background: #ED71AD;">
<div class="rule-bg"> <div class="rule-bg">
<a href="javascript:history.go(-1);"><img class="back" src="images/back.png" alt=""></a> <a href="javascript:history.go(-1);"><img class="back" src="images/back.png" alt=""></a>
<div class="callKF">如有問題點擊聯繫 <span>7*24小時在線客服</span></div> <div class="callKF">如有問題點擊聯繫 <span>7*24小時在線客服</span></div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment