|
@ -41,8 +41,8 @@ const liveList = ref({}); |
|
|
function getLive() { |
|
|
function getLive() { |
|
|
liveApi.getLiveList() |
|
|
liveApi.getLiveList() |
|
|
.then(resp => { |
|
|
.then(resp => { |
|
|
if(resp.code == 0){ |
|
|
|
|
|
liveList.value = resp.data.liveList; |
|
|
|
|
|
|
|
|
if(resp.code == 200){ |
|
|
|
|
|
liveList.value = resp.data; |
|
|
console.log(liveList.value); |
|
|
console.log(liveList.value); |
|
|
}else{ |
|
|
}else{ |
|
|
ElMessage.error('获取直播列表失败'); |
|
|
ElMessage.error('获取直播列表失败'); |
|
@ -100,7 +100,7 @@ function cancelBooking(liveId, userId) { |
|
|
margin-left: auto; |
|
|
margin-left: auto; |
|
|
margin-right: auto; |
|
|
margin-right: auto; |
|
|
/*宽度*/ |
|
|
/*宽度*/ |
|
|
width: 916px; |
|
|
|
|
|
|
|
|
width: 1000px; |
|
|
font-family: Arial, sans-serif; |
|
|
font-family: Arial, sans-serif; |
|
|
padding: 0; |
|
|
padding: 0; |
|
|
flex-wrap: wrap; |
|
|
flex-wrap: wrap; |
|
@ -113,7 +113,7 @@ function cancelBooking(liveId, userId) { |
|
|
background-color: #fff; |
|
|
background-color: #fff; |
|
|
border-radius: 8px; |
|
|
border-radius: 8px; |
|
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); |
|
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); |
|
|
margin: 10px; |
|
|
|
|
|
|
|
|
margin: 20px; |
|
|
overflow: hidden; |
|
|
overflow: hidden; |
|
|
border: #666; |
|
|
border: #666; |
|
|
height: 190px; |
|
|
height: 190px; |
|
|