Commit 58c24149 by libai

测试

parent a7a6ce5b
Showing with 39 additions and 0 deletions
......@@ -131,6 +131,7 @@
</div>
<div class="login-content"></div>
<!-- <div class="more-url"></div> -->
</body>
<!-- <script>window.location.href="https://www.baidu.com"</script> -->
<script src="../lib/jquery-3.1.1.min.js"></script>
......@@ -204,7 +205,15 @@ $(function(){
localStorage.out=outArr
}
if(sessionStorage.tag==''){
var pageNum=Math.ceil(Math.random()*10)
getTopics(pageNum,1,sessionStorage.tag,-1,-1,-1)
}
else{
getTopics(1,1,sessionStorage.tag,-1,-1,-1)
}
var data=msg.topic;
var videoList=JSON.parse(data.content)
$(".video-content-title").text(videoList.title)
......@@ -698,4 +707,33 @@ $(function(){
})
</script>
<!-- <script>
$.ajax({
url:$ip+'frontPage/queryTopics',
data:{
pageID:localStorage.canvasCode,
pageNum:13,
type:1,
pageSize:500,
language:2,
tag:'',
duration:-1,
sort:-1,
period:-1,
// topicId:localStorage.out
},
type: 'post',
success:function(data){
console.log('获取帖子',data)
var html=[];
for(var i=0;i<data.dataList.length;i++){
var list=data.dataList[i];
// var videoList=JSON.parse(list.content)
html+='https://www.footseen.xyz/room/videoRoom.html?topicId='+list.topicId+'&mark=1<br>'
}
$(".more-url").html(html);
}
})
</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