|
|
@@ -1,8 +1,8 @@
|
|
|
<template>
|
|
|
- <div class="app-container home">
|
|
|
+ <div class="home">
|
|
|
<!-- 上半部分:校园风景图片轮播 -->
|
|
|
<div class="carousel-section">
|
|
|
- <el-carousel :interval="4000" type="card" height="400px" indicator-position="outside" arrow="always" class="campus-carousel">
|
|
|
+ <el-carousel :interval="4000" type="card" height="200px" indicator-position="outside" arrow="always" class="campus-carousel">
|
|
|
<el-carousel-item v-for="(image, index) in campusImages" :key="index">
|
|
|
<div class="carousel-item">
|
|
|
<img :src="image.url" :alt="image.title" class="carousel-image" />
|
|
|
@@ -51,14 +51,14 @@ const expectedDate = computed(() => {
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
.home {
|
|
|
- min-height: calc(100vh - 200px);
|
|
|
- background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
|
|
|
+ // min-height: calc(100vh - 200px);
|
|
|
+ // background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
|
|
|
}
|
|
|
|
|
|
// 上半部分:轮播图样式
|
|
|
.carousel-section {
|
|
|
- padding: 40px 20px;
|
|
|
- background: rgba(255, 255, 255, 0.1);
|
|
|
+ padding: 10px 20px;
|
|
|
+ // background: rgba(255, 255, 255, 0.1);
|
|
|
backdrop-filter: blur(5px);
|
|
|
}
|
|
|
|
|
|
@@ -98,7 +98,7 @@ const expectedDate = computed(() => {
|
|
|
bottom: 0;
|
|
|
left: 0;
|
|
|
right: 0;
|
|
|
- background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
|
|
|
+ // background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
|
|
|
color: white;
|
|
|
padding: 40px 30px 30px;
|
|
|
text-align: left;
|
|
|
@@ -195,7 +195,7 @@ const expectedDate = computed(() => {
|
|
|
}
|
|
|
|
|
|
.progress-bar {
|
|
|
- max-width: 400px;
|
|
|
+ max-width: 200px;
|
|
|
margin: 0 auto;
|
|
|
}
|
|
|
}
|
|
|
@@ -214,7 +214,7 @@ const expectedDate = computed(() => {
|
|
|
}
|
|
|
|
|
|
.contact-section {
|
|
|
- max-width: 400px;
|
|
|
+ max-width: 200px;
|
|
|
margin: 0 auto;
|
|
|
}
|
|
|
|