Commit a9c74327 by libai

测试

parent 225ae18c
...@@ -321,6 +321,7 @@ ...@@ -321,6 +321,7 @@
} }
.videos-box-mc-face { .videos-box-mc-face {
width: 7.35rem; width: 7.35rem;
border-radius: 0.2rem;
} }
.videos-shadow { .videos-shadow {
border-radius: 0.2rem; border-radius: 0.2rem;
......
...@@ -332,7 +332,7 @@ ...@@ -332,7 +332,7 @@
} }
.videos-box-mc-face{ .videos-box-mc-face{
width: 7.35rem; width: 7.35rem;
border-radius: 0.2rem;
} }
.videos-shadow{ .videos-shadow{
border-radius: 0.2rem; border-radius: 0.2rem;
......
...@@ -51,6 +51,7 @@ ...@@ -51,6 +51,7 @@
<body style="background: #F3F3F3"> <body style="background: #F3F3F3">
<div class="m-content"> <div class="m-content">
<img class="back" src="images/back.png" alt=""> <img class="back" src="images/back.png" alt="">
<div style="height: 0.8rem;"></div>
<div class="grap-swiper-box"> <div class="grap-swiper-box">
<div class="recommend-swiper"> <div class="recommend-swiper">
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<link rel="stylesheet" href="css2/base.css"> <link rel="stylesheet" href="css2/base.css">
<link rel="stylesheet" href="css2/layer.css"> <link rel="stylesheet" href="css2/layer.css">
<link rel="stylesheet" href="css/login.css"> <link rel="stylesheet" href="css/login.css">
<link rel="stylesheet" href="css2/index.css?v=20220615"> <link rel="stylesheet" href="css2/index.css?v=2022121201">
<script async defer src="lib/hello.js"></script> <script async defer src="lib/hello.js"></script>
<script src="https://accounts.google.com/gsi/client" async defer></script> <script src="https://accounts.google.com/gsi/client" async defer></script>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_US/sdk.js"></script> <script async defer crossorigin="anonymous" src="https://connect.facebook.net/en_US/sdk.js"></script>
...@@ -407,7 +407,7 @@ $(function(){ ...@@ -407,7 +407,7 @@ $(function(){
}) })
function getLive(){ function getLive(){
$.ajax({ $.ajax({
url:'https://cpapi.footseen.xyz/frontPage/queryLiveUsers?lang=2&os=pc_web&cid=ftsweb&webVersion=1000&pageNum=1&pageSize=100&pageID=c0bc8998f192ed39e98dc97a6170186e', url:''+$ip+'frontPage/queryLiveUsers?lang=2&os=pc_web&cid=ftsweb&webVersion=1000&pageNum=1&pageSize=100&pageID=c0bc8998f192ed39e98dc97a6170186e',
success:function(data){ success:function(data){
// // console.log('直播列表',data) // // console.log('直播列表',data)
if(data.roomList.length==0){ if(data.roomList.length==0){
...@@ -420,7 +420,8 @@ $(function(){ ...@@ -420,7 +420,8 @@ $(function(){
var html=[]; var html=[];
for(var i=0;i<data.roomList.length;i++){ for(var i=0;i<data.roomList.length;i++){
var list=data.roomList[i] var list=data.roomList[i]
html+='<a href="index.html"><div class="live-box">'; console.log(list.roomId)
html+='<a href="room/liveRoom.html?roomId='+list.roomId+'"><div class="live-box">';
html+='<div class="live-face-box"><img src="https://zhibocdn.yabolive.net/comm'+list.face.split('?')[0]+'?x-oss-process=image/resize,w_180" alt=""></div>'; html+='<div class="live-face-box"><img src="https://zhibocdn.yabolive.net/comm'+list.face.split('?')[0]+'?x-oss-process=image/resize,w_180" alt=""></div>';
html+='<div class="live-box-name">'+list.nickname+'</div>'; html+='<div class="live-box-name">'+list.nickname+'</div>';
html+='</div></a>'; html+='</div></a>';
......
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