Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

libai / fsActive

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • fsActive
  • activeFt
  • hotGirl
  • index.html
Find file
Normal viewHistoryPermalink
index.html 22.3 KB
Newer Older
libai's avatar
ft活动上线
0c9f6783
 
libai committed a year ago
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
    <meta content="telephone=no" name="format-detection">
    <meta name="wap-font-scale" content="no">
    <title>辣個女生</title>
    <script src="lib/fsize.js"></script>
    <link rel="stylesheet" href="css/base.css">
    <link rel="stylesheet" href="css/layer.css">
    <link rel="stylesheet" href="css/daily.css">
    <link rel="stylesheet" href="css/index.css?v=2024051701">
    <link rel="stylesheet" href="css/liMarquee.css">
    <style>
        .layui-layer-shade {
            opacity: 0.7 !important;
        }
        .yourclass5 {
            border-radius: 0rem !important;
            background: rgba(0, 0, 0, 0) !important;
        }
        .yourclass5 .layui-layer-content {
            border-radius: 0rem !important;
        }
    </style>
</head>
<script src="lib/lottie-player.js"></script>
<body style="background: #B1DCFF;">
libai's avatar
ft活动上线
57273488
 
libai committed a year ago
33

libai's avatar
ft活动上线
0c9f6783
 
libai committed a year ago
34
<div class="bg">
libai's avatar
ft活动上线
a053d9e1
 
libai committed a year ago
35 36 37 38 39 40 41 42 43 44 45 46
    <div style="display: none;" class="layer-record">
        <ul class="layer-record-ul">
            <!-- <li>
                <img class="record-face" src="images/face.png" alt="">
                <div class="record-like"></div>
                <p class="record-p1">6-1</p>
                <p class="record-p2">主播昵称预留</p>
            </li> -->
    
        </ul>
    </div>
    <div class="top-girls"></div>
libai's avatar
ft活动上线
57273488
 
libai committed a year ago
47 48
    <div style="display: none;" class="layer-rule1"></div>
    <div style="display: none;" class="layer-rule2"></div>
libai's avatar
ft活动上线
563e568a
 
libai committed a year ago
49 50
    <img class="ref" src="images/ref.png" alt="">
    <a href="rule.html"><img class="rule-btn" src="images/rule-btn.png" alt=""></a>
libai's avatar
ft活动上线
0c9f6783
 
libai committed a year ago
51 52 53 54 55
    <div class="bg-bottom"></div>
    <div class="bg2"></div>
    <div class="banner"></div>
    <div class="gift-box"></div>
    <div class="task-box">
libai's avatar
ft活动上线
563e568a
 
libai committed a year ago
56
        <div class="task-top-title">每日驚喜福利</div>
libai's avatar
ft活动上线
0c9f6783
 
libai committed a year ago
57 58 59
        <img class="question1" src="images/question.png" alt="">
        <div class="task-tips1">(儲值任意金額后福利翻一番!)</div>
        <div class="task-box1">
libai's avatar
ft活动上线
57273488
 
libai committed a year ago
60
            <p><i class="en-t1">1.每日簽到(贈</i><span class="normal-text">超讚*5</span>/<span class="hot-text">too hot*5</span>)</p>
libai's avatar
ft活动上线
0c9f6783
 
libai committed a year ago
61 62 63
            <div class="task1-btn"></div>
        </div>
        <div class="task-box2">
libai's avatar
ft活动上线
57273488
 
libai committed a year ago
64 65
            <p class="task-box2-p1">2.<i class="en-t2">觀看直播20分鐘</i>(<span>--</span>/20<i class="en-t3">分鐘</i>)</p>
            <p class="task-box2-p2">(<i class="en-t4">贈</i><span class="normal-text">超讚*5</span>/<span class="hot-text">too hot*5</span>)</p>
libai's avatar
ft活动上线
0c9f6783
 
libai committed a year ago
66 67 68 69
            <div class="task2-btn"></div>
        </div>
        <div class="task-box3">
            <p class="task-box3-p1">3.直播間輸入口令</p>
libai's avatar
ft活动上线
57273488
 
libai committed a year ago
70 71
            <p class="task-box3-p2"></p>
            <p class="task-box3-p3">(<i class="en-t4">贈</i><span class="normal-text">超讚*5</span>/<span class="hot-text">too hot*5</span>)</p>
libai's avatar
ft活动上线
0c9f6783
 
libai committed a year ago
72 73 74
            <div class="task3-btn"></div>
        </div>
        <div class="task-box4">
libai's avatar
ft活动上线
57273488
 
libai committed a year ago
75
            <p>4.<i class="en-t5">每日首次儲值</i>(<span style="color: #fffb00;">too hot*10</span>)</p>
libai's avatar
ft活动上线
0c9f6783
 
libai committed a year ago
76 77 78
            <div class="task4-btn"></div>
        </div>
        <div class="task-box5">
libai's avatar
ft活动上线
57273488
 
libai committed a year ago
79 80
            <p class="task-box5-p1">5.累計每儲值300寶石</p>
            <p class="task-box5-p2">(<i class="en-t4">贈</i><span style="color: #fffb00;">too hot*5</span> <i class="en-t6">可循環獲取)</i></p>
libai's avatar
ft活动上线
0c9f6783
 
libai committed a year ago
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197
            <div class="task5-btn"></div>
        </div>
    </div>
    <div class="top-box">
        <img class="king1-img1" src="images/king1.png" alt="">
        <img class="king1-img2" src="images/face.png" alt="">
        <div class="king1-like-btn like1"></div>
        <p class="king1-p1">昨日最辣女生</p>
        <p class="king1-p2">暫未產生</p>
        <img class="king2-img1" src="images/king2.png" alt="">
        <img class="king2-img2" src="images/face.png" alt="">
        <div class="king2-like-btn like1"></div>
        <p class="king2-p1">昨日氣質男神</p>
        <p class="king2-p2">暫未產生</p>
    </div>
    <div class="list-bg-box1">
        <img class="question2" src="images/question.png" alt="">
        <div class="list1-btn1">
            <div data-type="0"></div>
            <div data-type="1"></div>
        </div>
        <div class="list-top-box list-top-box1">
            <!-- <div class="list-top1">
                <div class="list-king"></div>
                <img class="list-king-face" src="https://big.bgp.ourpow.com/comm/user/boy.png?x-oss-process=image/resize,w_80" alt="">
                <p class="list-top-p1">主播暱稱預留</p>
                <p class="list-top-p2">心動值</p>
                <p class="list-top-p3">513214</p>
            </div>
            <div class="list-top2">
                <div class="list-king"></div>
                <img class="list-king-face" src="https://big.bgp.ourpow.com/comm/user/boy.png?x-oss-process=image/resize,w_80" alt="">
                <p class="list-top-p1">主播暱稱預留</p>
                <p class="list-top-p2">心動值</p>
                <p class="list-top-p3">513214</p>
            </div>
            <div class="list-top3">
                <div class="list-king"></div>
                <img class="list-king-face" src="https://big.bgp.ourpow.com/comm/user/boy.png?x-oss-process=image/resize,w_80" alt="">
                <p class="list-top-p1">主播暱稱預留</p>
                <p class="list-top-p2">心動值</p>
                <p class="list-top-p3">513214</p>
            </div> -->
        </div>
        <div class="list-ul list-ul1">
            <!-- <li>
                <div class="list-box1">1</div>
                <div class="list-box2">
                    <img class="list-face" src="https://big.bgp.ourpow.com/comm/user/boy.png?x-oss-process=image/resize,w_110" alt="">
                    喊我一聲小志
                </div>
                <div class="list-box3">心動值:123545</div>
            </li>
            <li>
                <div class="list-box1">1</div>
                <div class="list-box2">
                    <img class="list-face" src="https://big.bgp.ourpow.com/comm/user/boy.png?x-oss-process=image/resize,w_110" alt="">
                    喊我一聲小志
                </div>
                <div class="list-box3">心動值:123545</div>
            </li> -->
        </div>
    </div>
    <div class="list-bg-box2">
        <div class="list2-btn1">
            <div data-type="0"></div>
            <div data-type="1"></div>
        </div>
        <div class="list-top-box list-top-box2">
            <!-- <div class="list-top1">
                <div class="list-king"></div>
                <img class="list-king-face" src="https://big.bgp.ourpow.com/comm/user/boy.png?x-oss-process=image/resize,w_80" alt="">
                <p class="list-top-p1">主播暱稱預留</p>
                <p class="list-top-p2">心動值</p>
                <p class="list-top-p3">513214</p>
            </div>
            <div class="list-top2">
                <div class="list-king"></div>
                <img class="list-king-face" src="https://big.bgp.ourpow.com/comm/user/boy.png?x-oss-process=image/resize,w_80" alt="">
                <p class="list-top-p1">主播暱稱預留</p>
                <p class="list-top-p2">心動值</p>
                <p class="list-top-p3">513214</p>
            </div>
            <div class="list-top3">
                <div class="list-king"></div>
                <img class="list-king-face" src="https://big.bgp.ourpow.com/comm/user/boy.png?x-oss-process=image/resize,w_80" alt="">
                <p class="list-top-p1">主播暱稱預留</p>
                <p class="list-top-p2">心動值</p>
                <p class="list-top-p3">513214</p>
            </div> -->
        </div>
        <div class="list-ul list-ul2">
            <!-- <li>
                <div class="list-box1">1</div>
                <div class="list-box2">
                    <img class="list-face" src="https://big.bgp.ourpow.com/comm/user/boy.png?x-oss-process=image/resize,w_110" alt="">
                    喊我一聲小志
                </div>
                <div class="list-box3">心動值:123545</div>
            </li>
            <li>
                <div class="list-box1">1</div>
                <div class="list-box2">
                    <img class="list-face" src="https://big.bgp.ourpow.com/comm/user/boy.png?x-oss-process=image/resize,w_110" alt="">
                    喊我一聲小志
                </div>
                <div class="list-box3">心動值:123545</div>
            </li> -->
        </div>
    </div>
    <div style="height: 2rem;"></div>
</div>
</body>
<script src="lib/jquery-3.1.1.min.js"></script>
<script src="layer-v3.1.0/layer/layer.js"></script>
<script src="lib/default.js?v='2023120901'"></script>
<script>
libai's avatar
ft活动上线
57273488
 
libai committed a year ago
198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213
if(sessionStorage.lang!=2){
   $(".bg").addClass("bg-en")
   $(".rule-btn").attr("src","images/en/rule-btn.png")
   $(".task-tips1").text('(Bonus doubles with any deposit!)')
   $(".normal-text").text("nice !")
   $(".task-top-title").text("Daily Welfare")
   $(".en-t1").text("1.Daily Sign-in(for ")
   $(".en-t2").text("Watch the live for 20 minutes.")
   $(".en-t3").text("min")
   $(".en-t4").text("for ")
   $(".task-box3-p1").text("3.Enter code in live room.")
   $(".en-t5").text("First recharge of the day.")
   $(".task-box5-p1").text("5.Accumulate every recharge of 300 gems.")
   $(".en-t6").text("Can be completed repeatedly.)")
   $(".king1-p1").text("Yesterday's Hottest")
   $(".king2-p1").text("Yesterday's Man")
libai's avatar
ft活动上线
a053d9e1
 
libai committed a year ago
214 215
   $(".king1-p2").text('Not yet')
   $(".king2-p2").text('Not yet')
libai's avatar
ft活动上线
57273488
 
libai committed a year ago
216 217
//    
}
libai's avatar
ft活动上线
0c9f6783
 
libai committed a year ago
218
$(function(){
libai's avatar
ft活动上线
57273488
 
libai committed a year ago
219

libai's avatar
ft活动上线
0c9f6783
 
libai committed a year ago
220 221
    task()
    topMc()
libai's avatar
ft活动上线
a053d9e1
 
libai committed a year ago
222
    topList()
libai's avatar
ft活动上线
0c9f6783
 
libai committed a year ago
223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248
    $(".question1").on("click",function(){
        layer.open({
            type: 1,
            title: false,
            shadeClose: true,
            skin: "yourclass5",
            area: ["8.13rem", "6.306rem"],
            content: $(".layer-rule1"),
            end: function () {
                $(".layui-layer-shade").hide()
            }
        })
    })
    $(".question2").on("click",function(){
        layer.open({
            type: 1,
            title: false,
            shadeClose: true,
            skin: "yourclass5",
            area: ["8.13rem", "4.84rem"],
            content: $(".layer-rule2"),
            end: function () {
                $(".layui-layer-shade").hide()
            }
        })
    })
libai's avatar
ft活动上线
a053d9e1
 
libai committed a year ago
249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309
    $(".top-girls").on("click",function(){
        topList()
        layer.open({
            type: 1,
            title: false,
            shadeClose: true,
            skin: "yourclass5",
            area: ["8.133rem", "7.293rem"],
            content: $(".layer-record"),
            end: function () {
                $(".layui-layer-shade").hide()
            }
        })
    })
    function topList(){
        $.ajax({
            url:$ip+'/actThatGirl/getRoomBestSexData.html',
            success:function(data){
                console.log('最辣榜',data)
                var html=[];
                for(var i=0;i<data.result.sexyList.length;i++){
                    var list=data.result.sexyList[i]
                    if(list.roomId==0){
                        html+='<li>';
                        html+='<img class="record-face" src="images/face.png" alt="">';
                        html+='<p class="record-p1">6-'+(i+1)+'</p>';
                        if(sessionStorage.lang==2)html+='<p class="record-p2">暫未產生</p>';
                        else html+='<p class="record-p2">Not yet</p>';
                        html+='</li>';
                        continue;
                    }
                    html+='<li>';
                    html+='<img class="record-face" src="https://big.bgp.ourpow.com/comm'+list.face+'?x-oss-process=image/resize,w_80" alt="">';
                    if(list.isLisk==0)html+='<div data-type="'+list.roomId+'" class="record-like record-like-click"></div>';
                    else html+='<div class="record-like record-like-end"></div>';
                    html+='<p class="record-p1">6-'+(i+1)+'</p>';
                    html+='<p class="record-p2">'+list.nickName+'</p>';
                    html+='</li>';
                }
                $(".layer-record-ul").html(html)
                $(".record-like-click").unbind("click").on("click",function(){
                    var _self=$(this)         
                    $.ajax({
                        url:$ip+'/room/like',
                        data:{
                            roomId:_self.attr("data-type")
                        },
                        success:function(data){
                            if(data.code==1){
                                if(sessionStorage.lang==2)layer.msg("關注成功")
                                else layer.msg("success!")
                                _self.unbind("click").addClass("record-like-end")
                            }else{
                                layer.msg(data.msg)
                            }
                        }
                    })
                })
            }
        })
    }
libai's avatar
ft活动上线
0c9f6783
 
libai committed a year ago
310 311 312 313 314 315 316
    function task(){
        $.ajax({
            url:$ip+'/actThatGirl/getTaskData.html',
            success:function(data){
                console.log("每日任務情況",data)
                //是否首充用戶
                if(data.result.isPaid==1){
libai's avatar
ft活动上线
57273488
 
libai committed a year ago
317 318
                    if(sessionStorage.lang==2)$(".task-tips1").text('(尊貴的高級用戶,以為你福利翻一番)')
                    else $(".task-tips1").text('(For VIPs, double rewards!)')
libai's avatar
ft活动上线
0c9f6783
 
libai committed a year ago
319 320 321 322 323 324 325 326 327 328 329 330 331 332 333
                    $(".hot-text").css("text-decoration","none")
                    $(".normal-text").css("text-decoration","line-through")
                }
                //每日簽到
                if(data.result.todayCheckInTask.status==0){
                    $(".task1-btn").unbind("click").on("click",function(){
                        getTack(1)
                    })
                }else{
                    $(".task1-btn").unbind("click").addClass("task1-btn-end")
                }
                //觀看直播20分鐘
                $(".task-box2-p1 span").text(Math.floor(data.result.todayWatchTask.watchTime/60))
                if(data.result.todayWatchTask.status==0){
                    $(".task2-btn").unbind("click").on("click",function(){
libai's avatar
ft活动上线
57273488
 
libai committed a year ago
334 335
                        if(sessionStorage.lang==2) layer.msg("觀看直播20分鐘即可獲得獎勵")
                        else layer.msg("Watching the live broadcast for 20 minutes will earn you a reward.")
libai's avatar
ft活动上线
0c9f6783
 
libai committed a year ago
336 337 338
                    })
                }
                else if(data.result.todayWatchTask.status==1){
libai's avatar
ft活动上线
563e568a
 
libai committed a year ago
339
                    $(".task2-btn").unbind("click").on("click",function(){
libai's avatar
ft活动上线
0c9f6783
 
libai committed a year ago
340 341
                        getTack(2)
                    })
libai's avatar
ft活动上线
563e568a
 
libai committed a year ago
342 343
                }else if(data.result.todayWatchTask.status==2){
                    $(".task2-btn").unbind("click").addClass("task-btn-end")
libai's avatar
ft活动上线
0c9f6783
 
libai committed a year ago
344 345 346 347 348 349
                }
                //直播間輸入口令
                $(".task-box3-p2").text(data.result.todaySpeakTask.speakMsg)
                if(data.result.todaySpeakTask.status==0){
                    $(".task3-btn").unbind("click").on("click",function(){
                        copyTextToClipboard(data.result.todaySpeakTask.speakMsg);
libai's avatar
ft活动上线
57273488
 
libai committed a year ago
350 351
                        if(sessionStorage.lang==2) layer.msg("已複製,趕緊去直播間發言吧")
                        else layer.msg("Copied, hurry up and go to the live broadcast room to comment!")
libai's avatar
ft活动上线
0c9f6783
 
libai committed a year ago
352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412
                    })
                }
                else if(data.result.todaySpeakTask.status==1){
                    $(".task3-btn").unbind("click").addClass("task-btn-end")
                }
                //是否首充
                if(data.result.todayRechargeTask.status==0){
                    $(".task4-btn").unbind("click").on("click",function(){
                        //去充值
                        window.location.href='https://www.footseen.com/footseen/phonepay/applepay.html'+location.search
                    })
                }else{
                    $(".task4-btn").unbind("click").addClass("task-btn-end")
                }
                $(".task5-btn").unbind("click").on("click",function(){
                    window.location.href='https://www.footseen.com/footseen/phonepay/applepay.html'+location.search

                })
            }
        })
    }
    async function copyTextToClipboard(text) {
    try {
        await navigator.clipboard.writeText(text);
        console.log('Text copied to clipboard');
    } catch (err) {
        console.error('Failed to copy: ', err);
    }
}
 
rank(1,0)
rank(2,0)
$(".list1-btn1 div").on("click",function(){
    var _self=$(this)
    if(_self.attr("data-type")==0){
        $(".list1-btn1").removeClass("list1-btn2")
        rank(1,0)
    }else{
        $(".list1-btn1").addClass("list1-btn2")
        rank(1,1)
    }
})
$(".list2-btn1 div").on("click",function(){
    var _self=$(this)
    if(_self.attr("data-type")==0){
        $(".list2-btn1").removeClass("list2-btn2")
        rank(2,0)
    }else{
        $(".list2-btn1").addClass("list2-btn2")
        rank(2,1)
    }
})
    function rank(type,range){
        $.ajax({
            url:$ip+'/actThatGirl/getRankData.html',
            data:{
                rankType:type,
                dateRange:range
            },
            success:function(data){
                console.log("獲取榜單數據",data)
libai's avatar
ft活动上线
57273488
 
libai committed a year ago
413 414 415
                if(sessionStorage.lang==2)type==1?scoreName='火辣指數' : scoreName='富豪值數'
                else  type==1?scoreName='Hot Index' : scoreName='Rich Index'
                
libai's avatar
ft活动上线
0c9f6783
 
libai committed a year ago
416
                if(data.result.rankList[0]==undefined){
libai's avatar
ft活动上线
a053d9e1
 
libai committed a year ago
417 418
                    if(sessionStorage.lang==2)$(".list-top-box"+type+"").html('<h2>暫無數據~</h2>')
                    else $(".list-top-box"+type+"").html('<h2>No list data yet~</h2>')
libai's avatar
ft活动上线
0c9f6783
 
libai committed a year ago
419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472
                    $(".list-ul"+type+"").html('')
                    return;
                }
                var html=[];
                for(var i=0;i<3;i++){
                    if(data.result.rankList[i]==undefined)break;
                    var list=data.result.rankList[i]
                    html+='<div class="list-top'+(i+1)+'">'
                    html+='<a href="yazhai://_' + list.uid + '_zone"><div class="list-king"></div></a>'
                    html+='<img class="list-king-face" src="https://big.bgp.ourpow.com/comm'+list.face+'?x-oss-process=image/resize,w_80" alt="">'
                    html+='<p class="list-top-p1">'+list.name+'</p>'
                    html+='<p class="list-top-p2">'+scoreName+'</p>'
                    html+='<p class="list-top-p3">'+list.score+'</p>'
                    html+='</div>'
                }
                $(".list-top-box"+type+"").html(html);
                var html=[];
                for(var i=3;i<data.result.rankList.length;i++){
                    var list=data.result.rankList[i]
                    html+='<li>';
                    html+='<div class="list-box1">'+(i+1)+'</div>';
                    html+='<div class="list-box2">';
                    html+='<a href="yazhai://_' + list.uid + '_zone"><img class="list-face" src="https://big.bgp.ourpow.com/comm'+list.face+'?x-oss-process=image/resize,w_110" alt=""></a>'+list.name+'';
                    html+='</div>';
                    html+='<div class="list-box3">'+scoreName+':'+list.score+'</div>';
                    html+='</li>';
                }
                $(".list-ul"+type+"").html(html)
            }
        })
    }
    function topMc(){
        $.ajax({
            url:$ip+'/actThatGirl/getViewLikeData.html',
            success:function(data){
                console.log('獲取昨日top',data)
                // https://big.bgp.ourpow.com/comm"+data.result.heartbeatData.roomFace+"?x-oss-process=image/resize,w_110
                if(data.result.roomSexData.uid==0){
                    $(".king1-like-btn,.king2-like-btn").hide()
                    return;
                }
                $(".king1-img2").attr("src","https://big.bgp.ourpow.com/comm"+data.result.roomSexData.face+"?x-oss-process=image/resize,w_110")
                $(".king1-p2").text(data.result.roomSexData.nickName)
                $(".king1-img").unbind("click").on("click",function(){
                    window.location.href='yazhai://_' + data.result.roomSexData.uid + '_zone'
                })
                if(data.result.roomSexData.isLike==1){
                    $(".king1-like-btn").addClass("like2")
                }else{
                    $(".king1-like-btn").removeClass("like2").unbind("click").on("click",function(){
                        likeMc(data.result.roomSexData.uid)
                    })
                }
                $(".king2-img2").attr("src","https://big.bgp.ourpow.com/comm"+data.result.userRichData.face+"?x-oss-process=image/resize,w_110")
libai's avatar
ft活动上线
563e568a
 
libai committed a year ago
473
                $(".king2-p2").text(data.result.userRichData.nickName)
libai's avatar
ft活动上线
0c9f6783
 
libai committed a year ago
474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494
                $(".king2-img1").unbind("click").on("click",function(){
                    window.location.href='yazhai://_' + data.result.userRichData.uid + '_zone'
                })
                if(data.result.userRichData.isLike==1){
                    $(".king2-like-btn").addClass("like2")
                }else{
                    $(".king2-like-btn").removeClass("like2").unbind("click").on("click",function(){
                        likeMc(data.result.userRichData.uid)
                    })
                }
            }
        })
    }
    function likeMc(e){
        $.ajax({
            url:$ip+'/room/like',
            data:{
                roomId:e
            },
            success:function(data){
                if(data.code==1){
libai's avatar
ft活动上线
a053d9e1
 
libai committed a year ago
495 496
                    if(sessionStorage.lang==2)layer.msg("關注成功")
                    else layer.msg("success!")
libai's avatar
ft活动上线
0c9f6783
 
libai committed a year ago
497
                    topMc()
libai's avatar
ft活动上线
563e568a
 
libai committed a year ago
498 499
                }else{
                    layer.msg(data.msg)
libai's avatar
ft活动上线
0c9f6783
 
libai committed a year ago
500 501 502 503
                }
            }
        })
    }
libai's avatar
ft活动上线
a053d9e1
 
libai committed a year ago
504

libai's avatar
ft活动上线
0c9f6783
 
libai committed a year ago
505 506 507 508 509 510 511 512 513 514 515
    function getTack(e){
        $.ajax({
            url:$ip+"/actThatGirl/receiveDailyRewards.html",
            data:{
                taskId:e
            },
            success:function(data){
                console.log('領取每日任務',data)
                if(data.code!=1){
                    layer.msg(data.msg)
                }
libai's avatar
ft活动上线
a053d9e1
 
libai committed a year ago
516 517
                if(sessionStorage.lang==2)layer.msg("領取成功")
                else layer.msg("success!")
libai's avatar
ft活动上线
0c9f6783
 
libai committed a year ago
518 519 520 521 522 523 524
                task()
            }
        })
    }
})
</script>
</html>