Commit 95d9abe9 by libai

ft活动上线

parent 3dba2f86
...@@ -38,6 +38,15 @@ ...@@ -38,6 +38,15 @@
position: relative; position: relative;
margin: 0 auto; margin: 0 auto;
} }
.task-box .task3-txt {
position: absolute;
top: 7.6rem;
left: 4.2rem;
font-size: 0.35rem;
font-weight: 700;
color: #fff;
text-shadow: 0 0 0.05rem #3A76ED, 0 0 0.05rem #3A76ED, 0 0 0.05rem #3A76ED, 0 0 0.05rem #3A76ED, 0 0 0.05rem #3A76ED;
}
.task-box .task1 { .task-box .task1 {
position: absolute; position: absolute;
width: 1.933rem; width: 1.933rem;
...@@ -300,6 +309,42 @@ ...@@ -300,6 +309,42 @@
margin-top: 0.25rem; margin-top: 0.25rem;
margin-bottom: 0.25rem; margin-bottom: 0.25rem;
} }
.new-task-box .task2-txt {
position: absolute;
top: 5.35rem;
left: 3.4rem;
font-size: 0.35rem;
font-weight: 700;
color: #fff;
text-shadow: 0 0 0.05rem #3A76ED, 0 0 0.05rem #3A76ED, 0 0 0.05rem #3A76ED, 0 0 0.05rem #3A76ED, 0 0 0.05rem #3A76ED;
}
.new-task-box .task9-txt {
position: absolute;
top: 18.4rem;
left: 3.2rem;
font-size: 0.35rem;
font-weight: 700;
color: #fff;
text-shadow: 0 0 0.05rem #3A76ED, 0 0 0.05rem #3A76ED, 0 0 0.05rem #3A76ED, 0 0 0.05rem #3A76ED, 0 0 0.05rem #3A76ED;
}
.new-task-box .task10-txt {
position: absolute;
top: 20.35rem;
left: 3.6rem;
font-size: 0.35rem;
font-weight: 700;
color: #fff;
text-shadow: 0 0 0.05rem #3A76ED, 0 0 0.05rem #3A76ED, 0 0 0.05rem #3A76ED, 0 0 0.05rem #3A76ED, 0 0 0.05rem #3A76ED;
}
.new-task-box .task11-txt {
position: absolute;
top: 22.2rem;
left: 3.6rem;
font-size: 0.35rem;
font-weight: 700;
color: #fff;
text-shadow: 0 0 0.05rem #3A76ED, 0 0 0.05rem #3A76ED, 0 0 0.05rem #3A76ED, 0 0 0.05rem #3A76ED, 0 0 0.05rem #3A76ED;
}
.new-task-box .task1 { .new-task-box .task1 {
position: absolute; position: absolute;
width: 1.933rem; width: 1.933rem;
...@@ -406,7 +451,7 @@ ...@@ -406,7 +451,7 @@
width: 9rem; width: 9rem;
margin: 0 auto; margin: 0 auto;
height: 3.72rem; height: 3.72rem;
margin-top: 1.38rem; margin-top: 1.8rem;
} }
.layer-fans-ul li { .layer-fans-ul li {
height: 1.24rem; height: 1.24rem;
...@@ -421,7 +466,7 @@ ...@@ -421,7 +466,7 @@
font-size: 0.45rem; font-size: 0.45rem;
text-align: center; text-align: center;
line-height: 1.24rem; line-height: 1.24rem;
color: #efd9ff; color: #5473D5;
} }
.layer-fans-ul .layer-fans-box2 { .layer-fans-ul .layer-fans-box2 {
width: 3.85rem; width: 3.85rem;
...@@ -429,7 +474,7 @@ ...@@ -429,7 +474,7 @@
line-height: 1.24rem; line-height: 1.24rem;
float: left; float: left;
position: relative; position: relative;
color: #efd9ff; color: #5473D5;
font-size: 0.38rem; font-size: 0.38rem;
text-indent: 0.8rem; text-indent: 0.8rem;
} }
...@@ -447,7 +492,7 @@ ...@@ -447,7 +492,7 @@
line-height: 1.24rem; line-height: 1.24rem;
float: left; float: left;
position: relative; position: relative;
color: #efd9ff; color: #5473D5;
font-size: 0.38rem; font-size: 0.38rem;
text-indent: 0.2rem; text-indent: 0.2rem;
} }
......
...@@ -38,6 +38,15 @@ ...@@ -38,6 +38,15 @@
background-size: 100% 100%; background-size: 100% 100%;
position: relative; position: relative;
margin: 0 auto; margin: 0 auto;
.task3-txt{
position: absolute;
top: 7.6rem;
left: 4.2rem;
font-size: 0.35rem;
font-weight: 700;
color: #fff;
text-shadow: 0 0 0.05rem #3A76ED, 0 0 0.05rem #3A76ED, 0 0 0.05rem #3A76ED, 0 0 0.05rem #3A76ED, 0 0 0.05rem #3A76ED;
}
.task1{ .task1{
position: absolute; position: absolute;
width: 1.933rem; width: 1.933rem;
...@@ -296,6 +305,7 @@ ...@@ -296,6 +305,7 @@
left: 1.6rem; left: 1.6rem;
} }
} }
.new-task-box{ .new-task-box{
width: 9.58rem; width: 9.58rem;
height: 25.26rem; height: 25.26rem;
...@@ -305,6 +315,42 @@ ...@@ -305,6 +315,42 @@
position: relative; position: relative;
margin-top: 0.25rem; margin-top: 0.25rem;
margin-bottom: 0.25rem; margin-bottom: 0.25rem;
.task2-txt{
position: absolute;
top: 5.35rem;
left: 3.4rem;
font-size: 0.35rem;
font-weight: 700;
color: #fff;
text-shadow: 0 0 0.05rem #3A76ED,0 0 0.05rem #3A76ED,0 0 0.05rem #3A76ED,0 0 0.05rem #3A76ED,0 0 0.05rem #3A76ED;
}
.task9-txt{
position: absolute;
top: 18.4rem;
left: 3.2rem;
font-size: 0.35rem;
font-weight: 700;
color: #fff;
text-shadow: 0 0 0.05rem #3A76ED,0 0 0.05rem #3A76ED,0 0 0.05rem #3A76ED,0 0 0.05rem #3A76ED,0 0 0.05rem #3A76ED;
}
.task10-txt{
position: absolute;
top: 20.35rem;
left: 3.6rem;
font-size: 0.35rem;
font-weight: 700;
color: #fff;
text-shadow: 0 0 0.05rem #3A76ED,0 0 0.05rem #3A76ED,0 0 0.05rem #3A76ED,0 0 0.05rem #3A76ED,0 0 0.05rem #3A76ED;
}
.task11-txt{
position: absolute;
top: 22.2rem;
left: 3.6rem;
font-size: 0.35rem;
font-weight: 700;
color: #fff;
text-shadow: 0 0 0.05rem #3A76ED,0 0 0.05rem #3A76ED,0 0 0.05rem #3A76ED,0 0 0.05rem #3A76ED,0 0 0.05rem #3A76ED;
}
.task1{ .task1{
position: absolute; position: absolute;
width: 1.933rem; width: 1.933rem;
...@@ -416,7 +462,7 @@ ...@@ -416,7 +462,7 @@
width: 9rem; width: 9rem;
margin: 0 auto; margin: 0 auto;
height: 3.72rem; height: 3.72rem;
margin-top: 1.38rem; margin-top: 1.8rem;
li{ li{
height: 1.24rem; height: 1.24rem;
width: 9rem; width: 9rem;
...@@ -430,7 +476,7 @@ ...@@ -430,7 +476,7 @@
font-size: 0.45rem; font-size: 0.45rem;
text-align: center; text-align: center;
line-height: 1.24rem; line-height: 1.24rem;
color: #efd9ff; color: #5473D5;
} }
.layer-fans-box2{ .layer-fans-box2{
width: 3.85rem; width: 3.85rem;
...@@ -438,7 +484,7 @@ ...@@ -438,7 +484,7 @@
line-height: 1.24rem; line-height: 1.24rem;
float: left; float: left;
position: relative; position: relative;
color: #efd9ff; color: #5473D5;
font-size: 0.38rem; font-size: 0.38rem;
text-indent: 0.8rem; text-indent: 0.8rem;
>a img{ >a img{
...@@ -457,7 +503,7 @@ ...@@ -457,7 +503,7 @@
line-height: 1.24rem; line-height: 1.24rem;
float: left; float: left;
position: relative; position: relative;
color: #efd9ff; color: #5473D5;
font-size: 0.38rem; font-size: 0.38rem;
text-indent: 0.2rem; text-indent: 0.2rem;
} }
......

59 KB | W: | H:

55.2 KB | W: | H:

activeFt/newMan/images/layer-fans.png
activeFt/newMan/images/layer-fans.png
activeFt/newMan/images/layer-fans.png
activeFt/newMan/images/layer-fans.png
  • 2-up
  • Swipe
  • Onion skin

586 Bytes | W: | H:

729 Bytes | W: | H:

activeFt/newMan/images/live.png
activeFt/newMan/images/live.png
activeFt/newMan/images/live.png
activeFt/newMan/images/live.png
  • 2-up
  • Swipe
  • Onion skin

109 KB | W: | H:

116 KB | W: | H:

activeFt/newMan/images/new-task-box.png
activeFt/newMan/images/new-task-box.png
activeFt/newMan/images/new-task-box.png
activeFt/newMan/images/new-task-box.png
  • 2-up
  • Swipe
  • Onion skin

83.7 KB | W: | H:

79.9 KB | W: | H:

activeFt/newMan/images/task-box.png
activeFt/newMan/images/task-box.png
activeFt/newMan/images/task-box.png
activeFt/newMan/images/task-box.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -87,6 +87,10 @@ ...@@ -87,6 +87,10 @@
<div class="one-gift-send btn-Pulse"></div> <div class="one-gift-send btn-Pulse"></div>
</div> </div>
<div style="display: none;" class="new-task-box"> <div style="display: none;" class="new-task-box">
<div class="task2-txt">(0/3)</div>
<div class="task9-txt"><span class="day-txet">0</span>/3)</div>
<div class="task10-txt"><span class="day-txet">0</span>/5)</div>
<div class="task11-txt"><span class="day-txet">0</span>/7)</div>
<div style="display: none;" class="reg-btn btn-Pulse"></div> <div style="display: none;" class="reg-btn btn-Pulse"></div>
<div data-type="1" class="task1"></div> <div data-type="1" class="task1"></div>
<div data-type="2" class="task2"></div> <div data-type="2" class="task2"></div>
...@@ -102,6 +106,7 @@ ...@@ -102,6 +106,7 @@
<p class="new-task-time">活動結束時間9月30日24:00</p> <p class="new-task-time">活動結束時間9月30日24:00</p>
</div> </div>
<div class="task-box"> <div class="task-box">
<div class="task3-txt">(0/30)</div>
<div data-type="1" class="task1 "></div> <div data-type="1" class="task1 "></div>
<div data-type="2" class="task2 "></div> <div data-type="2" class="task2 "></div>
<div data-type="3" class="task3 "></div> <div data-type="3" class="task3 "></div>
...@@ -161,7 +166,17 @@ $(function(){ ...@@ -161,7 +166,17 @@ $(function(){
success:function(data){ success:function(data){
console.log("购买月卡/壁咚",data) console.log("购买月卡/壁咚",data)
if(data.code==-100){ if(data.code==-100){
var obj = {
"cid": 12,
"reqCode": new Date().getTime(),
"data": {
"msg": '去儲值',
"jumptype": 16, //16: 去储值 18: 跳转到座驾 3:跳转集合功能 28:跳转直播间 29:空间 26:设置 40:半屏宝石储值 41:礼物列表 42:背包列表 // 43: 跳转新人主播引导
"hideTitle": 0 // 1隐藏头部,0 不隐藏, 默认为0
}
}
var obj2 = JSON.stringify(obj);
appCollaboration(obj2);
} }
if(data.code!=1){ if(data.code!=1){
layer.msg(data.msg) layer.msg(data.msg)
...@@ -328,6 +343,8 @@ $(function(){ ...@@ -328,6 +343,8 @@ $(function(){
} }
$(".new-task-box").show() $(".new-task-box").show()
$(".day-txet").text(data.result.newPayUserTaskList[10].loginDays)
$('.task2-txt').text("("+data.result.newPayUserTaskList[1].likeRoomNum+"/3)")
for(var i=0;i<data.result.newPayUserTaskList.length;i++){ for(var i=0;i<data.result.newPayUserTaskList.length;i++){
var list=data.result.newPayUserTaskList[i] var list=data.result.newPayUserTaskList[i]
if(list.taskStatus==0){ if(list.taskStatus==0){
...@@ -355,6 +372,19 @@ $(function(){ ...@@ -355,6 +372,19 @@ $(function(){
window.location.href='yazhai://_134306_zone' window.location.href='yazhai://_134306_zone'
} }
}) })
$(".new-task-box .task-btn3").unbind("click").on("click",function(){
var obj = {
"cid": 12,
"reqCode": new Date().getTime(),
"data": {
"msg": '去儲值',
"jumptype": 16, //16: 去储值 18: 跳转到座驾 3:跳转集合功能 28:跳转直播间 29:空间 26:设置 40:半屏宝石储值 41:礼物列表 42:背包列表 // 43: 跳转新人主播引导
"hideTitle": 0 // 1隐藏头部,0 不隐藏, 默认为0
}
}
var obj2 = JSON.stringify(obj);
appCollaboration(obj2);
})
} }
//新人礼物没赠送 //新人礼物没赠送
...@@ -365,6 +395,7 @@ $(function(){ ...@@ -365,6 +395,7 @@ $(function(){
$(".one-gift-box").show() $(".one-gift-box").show()
} }
//每日任务 //每日任务
$(".task3-txt").text("("+Math.floor(data.result.dailyTaskList[2].userWatchTime/60)+"/30)")
for(var i=0;i<data.result.dailyTaskList.length;i++){ for(var i=0;i<data.result.dailyTaskList.length;i++){
var list=data.result.dailyTaskList[i] var list=data.result.dailyTaskList[i]
$(".task-box .task"+(i+1)+"").removeClass("task-btn1 task-btn2 task-btn3 task-btn4 task-btn5") $(".task-box .task"+(i+1)+"").removeClass("task-btn1 task-btn2 task-btn3 task-btn4 task-btn5")
......
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