Commit 53885d99 by libai

测试

parent c1870544
<!DOCTYPE html>
<html lang="en">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-QT401FZZ2K"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-QT401FZZ2K');
</script>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>LINE Login</title>
<style>
#timeJump {
display: none;
}
</style>
</head>
<body>
<!-- <h1 id="timeJump">登錄成功,<span id="jTime">5</span>秒后返回App</h1> -->
<script type="text/javascript" src="lib/jquery-3.1.1.min.js"></script>
<script src="lib/default.js"></script>
<script>
var urlParam = url_get_params();
$.ajax({
url: 'https://api.line.me/oauth2/v2.1/token',
data: {
grant_type: 'authorization_code',
code: urlParam.code,
redirect_uri: 'https://www.footseen.xyz/lineBack.html',
client_id: '1654468829',
client_secret: 'd70325add488ea05fd25ba84c6d91b6c'
},
type: 'POST',
success: function (res) {
var mAutho = res;
$.ajax({
url: 'https://api.line.me/oauth2/v2.1/verify',
type: 'POST',
data: {
client_id: '1654468829',
id_token: mAutho.id_token
},
success: function (res) {
//console.log('line',res)
$.ajax({
url:$ip+'third/login',
data:{
openid:res.sub,
opentype:8,
authToken:mAutho.id_token,
nickname:res.name,
facepath:res.picture
},
success:function(data){
//console.log('line',data)
if(data.code!=1){
layer.msg(data.msg)
return;
}
localStorage.token=data.token
localStorage.uid=data.uid
window.location.href='index.html'
}
})
// window.location.href = "footseenlogin://" + encodeURIComponent("www.firefly.live?token=" + mAutho.id_token + "&name=" + res.name + "&profileImageUrl=" + res.iss + "&id=" + res.sub);
}
})
}
})
function url_get_params() {
var url = location.href;
var theRequest = new Object();
if (url.indexOf("?") != -1) {
var str = url.substr(url.indexOf("?") + 1);
strs = str.split("&");
for (var i = 0; i < strs.length; i++) {
theRequest[strs[i].split("=")[0]] = unescape(strs[i].split("=")[1]);
}
}
return theRequest;
}
</script>
</body>
</html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
<!DOCTYPE html>
<html lang="en">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-QT401FZZ2K"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-QT401FZZ2K');
</script>
<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>footseen-腳控足控天堂-超激情美女主播視訊</title>
<meta name="keywords" content="footseen,foot live,激情美女視訊,激情美女影片,腳控足控,絲足,裸足,美腿,絲襪,黑絲,台灣UU聊天室,swag,視訊聊天室,live173,uplive,vklive,nonolive,foot rub,foot fetish">
<meta name="description" content="footseen,腳控足控天堂,絲足美腿視訊影片,台灣足控第一高效約會軟體,免費影片立即觀看,在線美女激情互動,成人視訊線上體驗,徹底釋放你的慾望。">
<link rel="stylesheet" href="../css/base.css">
<link rel="stylesheet" href="../css/layer.css">
<link rel="stylesheet" href="../css/login.css">
<link rel="stylesheet" href="css/index.css">
<script src="https://accounts.google.com/gsi/client" async defer></script>
<script src="https://www.footseen.xyz/lib/hello.js"></script>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_US/sdk.js"></script>
</head>
<style>
.m-box{
width: 1200px;
margin: 0 auto;
}
</style>
<body style="background: #F0F1F4;">
<div class="neck-nav">
<div class="neck-nav-content">
<a href="https://www.footseen.xyz/index.html"><img class="logo" src="../images/logo.png" alt=""></a>
<div class="nav-login-big-box">
<!-- <div style="display: none;" class=nav-login-btn>登入/註冊</div>
<div style="display: none;" class="nav-login">
<img class="nav-login-face" src="" alt="">
<div class="nav-login-more">
<div class="nav-login-more-jiao"></div>
<div class="nav-login-more-top">
<img class="login-more-top-face" src="" alt="">
<p class="login-more-top-p1">主播暱稱預留</p>
<p class="login-more-top-p2">ID:246524</p>
</div>
<div class="login-more-content-box">
<div data-type="1">用戶中心</div>
<div data-type="2">儲值中心</div>
<div data-type="3">我的追蹤</div>
<div data-type="4">登出</div>
</div>
</div>
</div> -->
</div>
</div>
</div>
<div class="m-box">
<div style="height: 90px;"></div>
<h2 class="like-title">追蹤管理</h2>
<ul class="like-ul">
<!-- <li>
<p>主播暱稱預留</p>
<img class="like-face" src="https://zhibocdn.yabolive.net/comm/user/img/11128395/8b87365397474fe3be3b912456958d41.jpg?x-oss-process=image/resize,w_120" alt="">
<div class="like-user-btn1 like-user-btn2">已追蹤</div>
</li> -->
</ul>
</div>
<div class="login-content"></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='20220407'"></script>
<script src="../lib/login.js"></script>
<script>
$(function(){
loginGo()
likeList()
function likeList(){
$.ajax({
url:$ip+'room/queryUserLikeList',
data:{
uid:localStorage.uid,
token:localStorage.token,
pageNum:1,
pageSize:99,
pageID:localStorage.canvasCode
},
success:function(data){
//console.log('拉取關注列表',data)
var html=[];
if(data.rooms.length==0){
html+='<div class="like-no-box"><img src="images/no-icon.png"><p>暫無追蹤</p></div>'
$(".like-ul").html(html);
return
}
for(var i=0;i<data.rooms.length;i++){
var list=data.rooms[i];
if(list.liveState!=1)continue;
html+='<li>';
html+='<img class="like-live" src="images/live.png">'
html+='<p>'+list.nickname+'</p>';
html+='<a href="../room/liveRoom.html?roomId='+list.uid+'"><img class="like-face" src="https://zhibocdn.yabolive.net/comm'+list.face+'?x-oss-process=image/resize,w_120" alt=""></a>';
html+='<div data-type="2" data-type2="'+list.uid+'" class="like-user-btn1 like-user-btn2">已追蹤</div>';
html+='</li>';
}
for(var i=0;i<data.rooms.length;i++){
var list=data.rooms[i];
if(list.liveState!=0)continue;
html+='<li>';
html+='<p>'+list.nickname+'</p>';
html+='<a href="index.html?fid='+list.uid+'"><img class="like-face" src="https://zhibocdn.yabolive.net/comm'+list.face+'?x-oss-process=image/resize,w_120" alt=""></a>';
html+='<div data-type="2" data-type2="'+list.uid+'" class="like-user-btn1 like-user-btn2">已追蹤</div>';
html+='</li>';
}
$(".like-ul").html(html);
$(".like-user-btn1").unbind("click").on("click",function(){
var _self=$(this)
$.ajax({
url:$ip+'room/likeOpt',
data:{
roomId:_self.attr("data-type2"),
optType:_self.attr("data-type"),
uid:localStorage.uid,
token:localStorage.token,
pageID: localStorage.canvasCode,
},
success:function(data){
//console.log('關注',data)
if(data.code==1){
if(_self.attr("data-type")==2){
//console.log(2323)
_self.attr("data-type","1")
_self.removeClass("like-user-btn2")
_self.text("追蹤")
}
else if(_self.attr("data-type")==1){
_self.attr("data-type","2")
_self.addClass("like-user-btn2")
_self.text("已追蹤")
}
}else{
layer.msg(data.msg)
}
}
})
})
}
})
}
})
</script>
</html>
\ No newline at end of file
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