Commit 9baea938 by libai

ft活动上线

parent 7372bab2
...@@ -128,6 +128,7 @@ ...@@ -128,6 +128,7 @@
} }
.bg-en .one-gift-send { .bg-en .one-gift-send {
top: 4.6rem !important; top: 4.6rem !important;
left: 1.8rem !important;
background: url(../images/en/one-gift-send.png) no-repeat !important; background: url(../images/en/one-gift-send.png) no-repeat !important;
background-size: 100% 100% !important; background-size: 100% 100% !important;
} }
...@@ -177,6 +178,22 @@ ...@@ -177,6 +178,22 @@
background: url(../images/en/btn-ok.png) no-repeat !important; background: url(../images/en/btn-ok.png) no-repeat !important;
background-size: 100% 100% !important; background-size: 100% 100% !important;
} }
.bg-en .new-task-box .task2-txt {
top: 5.4rem;
left: 4.5rem;
}
.bg-en .new-task-box .task9-txt {
top: 18.4rem;
left: 4.8rem;
}
.bg-en .new-task-box .task10-txt {
top: 20.35rem;
left: 5.3rem;
}
.bg-en .new-task-box .task11-txt {
top: 22.23rem;
left: 5.3rem;
}
.banner { .banner {
width: 10rem; width: 10rem;
height: 13.36rem; height: 13.36rem;
...@@ -821,3 +838,53 @@ ...@@ -821,3 +838,53 @@
color: #B43232; color: #B43232;
font-size: 0.35rem; font-size: 0.35rem;
} }
.mc-nav {
position: fixed;
bottom: 0;
left: 0;
z-index: 500;
width: 10rem;
height: 1.97rem;
background: url(../images/nav.png) no-repeat;
background-size: 100% 100%;
display: none;
}
.mc-nav-box1 {
width: 2rem;
height: 1.97rem;
float: left;
position: relative;
text-align: center;
font-size: 0;
line-height: 1.97rem;
}
.mc-nav-box1 img {
vertical-align: middle;
width: 1.3rem;
height: 1.3rem;
border-radius: 100%;
}
.mc-nav-box2 {
width: 4.2rem;
height: 1.97rem;
line-height: 1.97rem;
float: left;
position: relative;
font-size: 0.35rem;
color: #fff;
}
.mc-nav-box2 > span {
position: absolute;
font-weight: 700;
margin-left: 0.2rem;
}
.mc-nav-box3 {
width: 3.5rem;
height: 1.97rem;
line-height: 1.97rem;
float: left;
position: relative;
font-size: 0.35rem;
color: #fff;
text-indent: 0.5rem;
}
...@@ -136,6 +136,7 @@ ...@@ -136,6 +136,7 @@
} }
.one-gift-send{ .one-gift-send{
top: 4.6rem !important; top: 4.6rem !important;
left: 1.8rem !important;
background: url(../images/en/one-gift-send.png) no-repeat !important; background: url(../images/en/one-gift-send.png) no-repeat !important;
background-size: 100% 100% !important; background-size: 100% 100% !important;
} }
...@@ -185,6 +186,25 @@ ...@@ -185,6 +186,25 @@
background: url(../images/en/btn-ok.png)no-repeat !important; background: url(../images/en/btn-ok.png)no-repeat !important;
background-size: 100% 100% !important; background-size: 100% 100% !important;
} }
.new-task-box{
.task2-txt{
top: 5.4rem;
left: 4.5rem;
}
.task9-txt{
top: 18.4rem;
left: 4.8rem;
}
.task10-txt{
top: 20.35rem;
left: 5.3rem;
}
.task11-txt{
top: 22.23rem ;
left: 5.3rem;
}
}
} }
.banner{ .banner{
width: 10rem; width: 10rem;
...@@ -842,3 +862,56 @@ ...@@ -842,3 +862,56 @@
font-size: 0.35rem; font-size: 0.35rem;
} }
.mc-nav{
position: fixed;
bottom: 0;
left: 0;
z-index: 500;
width: 10rem;
height: 1.97rem;
background: url(../images/nav.png)no-repeat;
background-size: 100% 100%;
display: none;
}
.mc-nav-box1{
width: 2rem;
height: 1.97rem;
float: left;
position: relative;
text-align: center;
font-size: 0;
line-height: 1.97rem;
img{
vertical-align: middle;
width: 1.3rem;
height: 1.3rem;
border-radius: 100%;
}
}
.mc-nav-box2{
width: 4.2rem;
height: 1.97rem;
line-height: 1.97rem;
float: left;
position: relative;
font-size: 0.35rem;
color: #fff;
>span{
position: absolute;
font-weight: 700;
// top: 0.33rem;
// left: 2.1rem;
margin-left: 0.2rem;
}
}
.mc-nav-box3{
width: 3.5rem;
height: 1.97rem;
line-height: 1.97rem;
float: left;
position: relative;
font-size: 0.35rem;
color: #fff;
text-indent: 0.5rem;
}
\ No newline at end of file
...@@ -82,7 +82,16 @@ ...@@ -82,7 +82,16 @@
</div> </div>
</div> </div>
</div> </div>
<div style="height: 2rem;"></div> <div style="height: 2.5rem;"></div>
<div class="mc-nav">
<!-- <div class="mc-nav-box1">
<img src="https://big.bgp.ourpow.com/comm/user/boy.png?x-oss-process=image/resize,w_110" alt="">
</div>
<div class="mc-nav-box2">
主播昵称预留 <span>夜の花魁</span>
</div>
<div class="mc-nav-box3">34234/51321</div> -->
</div>
</div> </div>
<div style="display: none;" class="user-box"> <div style="display: none;" class="user-box">
<div style="display: none;" class="one-gift-box"> <div style="display: none;" class="one-gift-box">
...@@ -156,6 +165,7 @@ $(function(){ ...@@ -156,6 +165,7 @@ $(function(){
var obj2 = JSON.stringify(obj); var obj2 = JSON.stringify(obj);
appCollaboration(obj2); appCollaboration(obj2);
list() list()
bottom()
if(sessionStorage.jump==1){ if(sessionStorage.jump==1){
$(".top-btn1").addClass("top-btn2") $(".top-btn1").addClass("top-btn2")
$(".mc-box").hide() $(".mc-box").hide()
...@@ -183,6 +193,25 @@ $(function(){ ...@@ -183,6 +193,25 @@ $(function(){
$(".rule-btn").on("click",function(){ $(".rule-btn").on("click",function(){
window.location.href="rule.html"+location.search window.location.href="rule.html"+location.search
}) })
function bottom(){
$.ajax({
url:$ip+'/actStarSearchTour/getViewBottomData.html',
success:function(data){
console.log('获取底部导航栏信息',data)
var html=[];
html+='<div class="mc-nav-box1">';
html+='<img src="https://big.bgp.ourpow.com/comm'+data.result.roomData.roomFace+'?x-oss-process=image/resize,w_110" alt="">';
html+='</div>';
html+='<div class="mc-nav-box2">';
if(sessionStorage.lang==2)html+=''+data.result.roomData.roomName+' <span>LV.'+data.result.roomData.level+'</span>';
else html+=''+data.result.roomData.roomName+' <span>LV.'+data.result.roomData.level+'</span>';
html+='</div>';
html+='<div class="mc-nav-box3">'+data.result.roomData.score+'/'+data.result.roomData.levelScore+'</div>';
$(".mc-nav").show().html(html);
console.log(html)
}
})
}
function buy(type){ function buy(type){
$.ajax({ $.ajax({
url:$ip+'/actStarSearchTour/userBuyGoods.html', url:$ip+'/actStarSearchTour/userBuyGoods.html',
...@@ -265,7 +294,7 @@ $(function(){ ...@@ -265,7 +294,7 @@ $(function(){
if(list.levelRankList[j]==undefined){ if(list.levelRankList[j]==undefined){
html+='<div class="card-box">'; html+='<div class="card-box">';
html+='<img class="card-face" src="images/face.png" alt="">'; html+='<img class="card-face" src="images/face.png" alt="">';
if(sessionStorage.lang==2)html+='<p class="card-p1">位以待</p>'; if(sessionStorage.lang==2)html+='<p class="card-p1">位以待</p>';
else html+='<p class="card-p1">upcoming</p>'; else html+='<p class="card-p1">upcoming</p>';
html+='<p class="card-p2"><span>--</span>/'+list.levelScore+'</p>'; html+='<p class="card-p2"><span>--</span>/'+list.levelScore+'</p>';
html+='</div>'; html+='</div>';
...@@ -337,14 +366,7 @@ $(function(){ ...@@ -337,14 +366,7 @@ $(function(){
} }
}) })
} }
function bottom(){
$.ajax({
url:$ip+'/actStarSearchTour/getViewBottomData.html',
success:function(data){
console.log('获取底部导航栏',data)
}
})
}
function task(){ function task(){
$.ajax({ $.ajax({
url:$ip+'/actStarSearchTour/getUserTaskData.html', url:$ip+'/actStarSearchTour/getUserTaskData.html',
......
...@@ -68,7 +68,7 @@ if(sessionStorage.open==undefined)sessionStorage.open=1 ...@@ -68,7 +68,7 @@ if(sessionStorage.open==undefined)sessionStorage.open=1
sessionStorage.roomId=23864554 sessionStorage.roomId=23864554
} }
if (bbb.indexOf("file:///E:") > -1) { if (bbb.indexOf("file:///E:") > -1) {
sessionStorage.lang=1 sessionStorage.lang=6
sessionStorage.uid =155800; sessionStorage.uid =155800;
sessionStorage.token = 'debug' sessionStorage.token = 'debug'
sessionStorage.roomId=11134747; sessionStorage.roomId=11134747;
......
.bg-en .act-room-bg2 {
background: url(../images/en/act-room-bg2.png) no-repeat;
background-size: 100% 100%;
width: 8.5rem;
}
.act-room-bg { .act-room-bg {
width: 10rem; width: 10rem;
height: 5.646rem; height: 5.646rem;
......
.bg-en{
.act-room-bg2{
background: url(../images/en/act-room-bg2.png)no-repeat;
background-size: 100% 100%;
width: 8.5rem;
}
}
.act-room-bg{ .act-room-bg{
width: 10rem; width: 10rem;
height: 5.646rem; height: 5.646rem;
......
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