Commit 95d9abe9 by libai

ft活动上线

parent 3dba2f86
......@@ -38,6 +38,15 @@
position: relative;
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 {
position: absolute;
width: 1.933rem;
......@@ -300,6 +309,42 @@
margin-top: 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 {
position: absolute;
width: 1.933rem;
......@@ -406,7 +451,7 @@
width: 9rem;
margin: 0 auto;
height: 3.72rem;
margin-top: 1.38rem;
margin-top: 1.8rem;
}
.layer-fans-ul li {
height: 1.24rem;
......@@ -421,7 +466,7 @@
font-size: 0.45rem;
text-align: center;
line-height: 1.24rem;
color: #efd9ff;
color: #5473D5;
}
.layer-fans-ul .layer-fans-box2 {
width: 3.85rem;
......@@ -429,7 +474,7 @@
line-height: 1.24rem;
float: left;
position: relative;
color: #efd9ff;
color: #5473D5;
font-size: 0.38rem;
text-indent: 0.8rem;
}
......@@ -447,7 +492,7 @@
line-height: 1.24rem;
float: left;
position: relative;
color: #efd9ff;
color: #5473D5;
font-size: 0.38rem;
text-indent: 0.2rem;
}
......
......@@ -38,6 +38,15 @@
background-size: 100% 100%;
position: relative;
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{
position: absolute;
width: 1.933rem;
......@@ -296,6 +305,7 @@
left: 1.6rem;
}
}
.new-task-box{
width: 9.58rem;
height: 25.26rem;
......@@ -305,6 +315,42 @@
position: relative;
margin-top: 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{
position: absolute;
width: 1.933rem;
......@@ -410,13 +456,13 @@
overflow: hidden;
}
.layer-fans{
}
.layer-fans-ul{
width: 9rem;
margin: 0 auto;
height: 3.72rem;
margin-top: 1.38rem;
margin-top: 1.8rem;
li{
height: 1.24rem;
width: 9rem;
......@@ -430,7 +476,7 @@
font-size: 0.45rem;
text-align: center;
line-height: 1.24rem;
color: #efd9ff;
color: #5473D5;
}
.layer-fans-box2{
width: 3.85rem;
......@@ -438,7 +484,7 @@
line-height: 1.24rem;
float: left;
position: relative;
color: #efd9ff;
color: #5473D5;
font-size: 0.38rem;
text-indent: 0.8rem;
>a img{
......@@ -457,7 +503,7 @@
line-height: 1.24rem;
float: left;
position: relative;
color: #efd9ff;
color: #5473D5;
font-size: 0.38rem;
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 @@
<div class="one-gift-send btn-Pulse"></div>
</div>
<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 data-type="1" class="task1"></div>
<div data-type="2" class="task2"></div>
......@@ -102,6 +106,7 @@
<p class="new-task-time">活動結束時間9月30日24:00</p>
</div>
<div class="task-box">
<div class="task3-txt">(0/30)</div>
<div data-type="1" class="task1 "></div>
<div data-type="2" class="task2 "></div>
<div data-type="3" class="task3 "></div>
......@@ -161,7 +166,17 @@ $(function(){
success:function(data){
console.log("购买月卡/壁咚",data)
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){
layer.msg(data.msg)
......@@ -328,6 +343,8 @@ $(function(){
}
$(".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++){
var list=data.result.newPayUserTaskList[i]
if(list.taskStatus==0){
......@@ -355,6 +372,19 @@ $(function(){
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(){
$(".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++){
var list=data.result.dailyTaskList[i]
$(".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