diff --git a/vueHomilyLink/src/components/Nav.vue b/vueHomilyLink/src/components/Nav.vue
index c97bcc8..5f90119 100644
--- a/vueHomilyLink/src/components/Nav.vue
+++ b/vueHomilyLink/src/components/Nav.vue
@@ -4,30 +4,38 @@
-
- 首页
- 频道
- 俱乐部
- 直播
-
+
\ No newline at end of file
diff --git a/vueHomilyLink/src/views/HomeView.vue b/vueHomilyLink/src/views/HomeView.vue
index cff47a3..b4ec13e 100644
--- a/vueHomilyLink/src/views/HomeView.vue
+++ b/vueHomilyLink/src/views/HomeView.vue
@@ -309,6 +309,7 @@ body {
.class123{
/*让页面分为左右结构*/
display: flex;
+ margin-top: 30px
}
.corner-mark {
diff --git a/vueHomilyLink/src/views/LiveView.vue b/vueHomilyLink/src/views/LiveView.vue
index 5571872..557674f 100644
--- a/vueHomilyLink/src/views/LiveView.vue
+++ b/vueHomilyLink/src/views/LiveView.vue
@@ -41,8 +41,8 @@ const liveList = ref({});
function getLive() {
liveApi.getLiveList()
.then(resp => {
- if(resp.code == 0){
- liveList.value = resp.data.liveList;
+ if(resp.code == 200){
+ liveList.value = resp.data;
console.log(liveList.value);
}else{
ElMessage.error('获取直播列表失败');
@@ -100,7 +100,7 @@ function cancelBooking(liveId, userId) {
margin-left: auto;
margin-right: auto;
/*宽度*/
- width: 916px;
+ width: 1000px;
font-family: Arial, sans-serif;
padding: 0;
flex-wrap: wrap;
@@ -113,7 +113,7 @@ function cancelBooking(liveId, userId) {
background-color: #fff;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
- margin: 10px;
+ margin: 20px;
overflow: hidden;
border: #666;
height: 190px;