修改样式
This commit is contained in:
@@ -457,7 +457,7 @@ const handleCoverSuccess: UploadProps['onSuccess'] = (response) => {
|
||||
};
|
||||
|
||||
const beforeCoverUpload: UploadProps['beforeUpload'] = (rawFile) => {
|
||||
const isLt5M = rawFile.size / 1024 / 1024 < 5;
|
||||
const isLt5M = rawFile.size / 1024 / 1024 < 15;
|
||||
if (!isLt5M) {
|
||||
ElMessage.error('图片大小不能超过 5MB!');
|
||||
}
|
||||
|
||||
BIN
web/src/views/976896777228a10c2971f31f6e02920f.png
Normal file
BIN
web/src/views/976896777228a10c2971f31f6e02920f.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.8 KiB |
@@ -108,24 +108,14 @@
|
||||
>
|
||||
<div class="banner-mask"></div>
|
||||
<div class="banner-content">
|
||||
<div class="conference-info">
|
||||
<div class="hdic-logo">{{ currentMeeting.theme }}</div>
|
||||
<h1 v-html="currentMeeting.subtitle"></h1>
|
||||
<div class="conference-meta">
|
||||
<div class="meta-item">
|
||||
<span class="meta-label">时间 / TIME</span>
|
||||
<span class="meta-value">{{ formatMeetingTime(currentMeeting.start_time, currentMeeting.end_time) }}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 大会报道 -->
|
||||
<section class="report-section" id="report" ref="reportRef">
|
||||
<div class="section-header">
|
||||
<h2>大会报道</h2>
|
||||
<p>Conference Report</p>
|
||||
<h2 style="font-family: 'Source Han Serif CN', '思源宋体 CN';">大会报道 Conference Report</h2>
|
||||
<a href="javascript:void(0)" class="more-link">More</a>
|
||||
</div>
|
||||
|
||||
@@ -146,8 +136,7 @@
|
||||
<!-- 会议日程 -->
|
||||
<section class="schedule-section" id="schedule" ref="scheduleRef">
|
||||
<div class="section-header">
|
||||
<h2>会议日程</h2>
|
||||
<p>Meeting Schedule</p>
|
||||
<h2 style="font-family: 'Source Han Serif CN', '思源宋体 CN';">会议日程 Meeting Schedule</h2>
|
||||
<a href="javascript:void(0)" class="more-link">More</a>
|
||||
</div>
|
||||
|
||||
@@ -169,8 +158,7 @@
|
||||
<!-- 演讲嘉宾(动态获取) -->
|
||||
<section class="speakers-section" id="speakers" ref="speakersRef">
|
||||
<div class="section-header">
|
||||
<h2>演讲嘉宾</h2>
|
||||
<p>Speakers</p>
|
||||
<h2 style="font-family: 'Source Han Serif CN', '思源宋体 CN';">演讲嘉宾 Speakers</h2>
|
||||
<a href="javascript:void(0)" class="more-link">More</a>
|
||||
</div>
|
||||
|
||||
@@ -210,8 +198,7 @@
|
||||
<!-- 往届回顾(当前会议之外的最近3个会议) -->
|
||||
<section class="review-section" id="review" ref="reviewRef">
|
||||
<div class="section-header">
|
||||
<h2>往届回顾</h2>
|
||||
<p>Previous Review</p>
|
||||
<h2 style="font-family: 'Source Han Serif CN', '思源宋体 CN';">往届回顾 Previous Review</h2>
|
||||
<a href="javascript:void(0)" class="more-link" @click="goToAllMeetingsPage">More</a>
|
||||
</div>
|
||||
|
||||
@@ -852,6 +839,7 @@ onMounted(() => {
|
||||
align-items: center;
|
||||
width: 100vw; /* 设置宽度为视口宽度 */
|
||||
margin-left: calc(-50vw + 50%); /* 使元素居中并充满屏幕宽度 */
|
||||
height: 30vh;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
@@ -861,7 +849,6 @@ onMounted(() => {
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(0, 0, 0, 0.4);
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
@@ -1092,7 +1079,7 @@ onMounted(() => {
|
||||
.speaker-name {
|
||||
font-weight: 600;
|
||||
color: #2c3e50;
|
||||
font-size: 1.1rem;
|
||||
font-size: 1rem;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<!-- 叠加的标题文字 -->
|
||||
<div class="cover-title">
|
||||
<h1 class="main-title">基地概况</h1>
|
||||
<p class="english-title">BASE OVERVIEW</p>
|
||||
<p class="english-title">Base Overview</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -251,6 +251,7 @@ const formattedWebsite = computed(() => {
|
||||
}
|
||||
|
||||
.main-title {
|
||||
font-family: 'Source Han Serif CN', '思源宋体 CN', serif;
|
||||
font-size: 48px;
|
||||
font-weight: 600;
|
||||
margin: 0 0 10px 0;
|
||||
@@ -258,13 +259,14 @@ const formattedWebsite = computed(() => {
|
||||
}
|
||||
|
||||
.english-title {
|
||||
font-size: 24px;
|
||||
text-transform: uppercase;
|
||||
font-family: 'Source Han Serif CN', '思源宋体 CN', serif;
|
||||
font-size: 48px;
|
||||
margin: 0;
|
||||
letter-spacing: 2px;
|
||||
}
|
||||
|
||||
.content-wrapper {
|
||||
font-family: 'Source Han Serif CN', '思源宋体 CN', serif;
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
padding: 0 20px;
|
||||
|
||||
@@ -24,7 +24,9 @@
|
||||
<!-- 新闻动态 -->
|
||||
<div class="news-section">
|
||||
<div class="section-header">
|
||||
<h2>新闻动态 <span class="en-title">News</span></h2>
|
||||
<h2 style="font-family: 'Source Han Serif CN', '思源宋体 CN', serif; font-size: 55px; margin: 0; padding: 0;">
|
||||
新闻动态<span class="en-title" style="font-family: 'Source Han Serif CN', '思源宋体 CN', serif;">News</span>
|
||||
</h2>
|
||||
<el-link class="more-btn" :to="{ path: '/news-more' }">More</el-link>
|
||||
</div>
|
||||
<div class="news-cards">
|
||||
@@ -50,7 +52,9 @@
|
||||
<!-- 案例资源 -->
|
||||
<div class="news-section">
|
||||
<div class="section-header">
|
||||
<h2>案例资源 <span class="en-title">Resource</span></h2>
|
||||
<h2 style="font-family: 'Source Han Serif CN', '思源宋体 CN', serif; font-size: 55px; margin: 0; padding: 0;">
|
||||
案例资源<span class="en-title" style="font-family: 'Source Han Serif CN', '思源宋体 CN', serif;">News</span>
|
||||
</h2>
|
||||
<el-link class="more-btn" :to="{ path: '/resource-more' }">More</el-link>
|
||||
</div>
|
||||
<div class="news-cards">
|
||||
@@ -76,7 +80,9 @@
|
||||
<!-- 社区服务 -->
|
||||
<div class="news-section">
|
||||
<div class="section-header">
|
||||
<h2>社区服务 <span class="en-title">Community</span></h2>
|
||||
<h2 style="font-family: 'Source Han Serif CN', '思源宋体 CN', serif; font-size: 55px; margin: 0; padding: 0;">
|
||||
社区服务<span class="en-title" style="font-family: 'Source Han Serif CN', '思源宋体 CN', serif;">News</span>
|
||||
</h2>
|
||||
<el-link class="more-btn" :to="{ path: '/community-more' }">More</el-link>
|
||||
</div>
|
||||
<div class="news-cards">
|
||||
@@ -309,6 +315,7 @@ onMounted(async () => {
|
||||
transition: all 0.3s ease;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 458px;
|
||||
}
|
||||
.news-card:hover {
|
||||
transform: translateY(-5px);
|
||||
@@ -327,17 +334,19 @@ onMounted(async () => {
|
||||
flex-grow: 1;
|
||||
}
|
||||
.card-title {
|
||||
font-size: 18px;
|
||||
font-size: 25px;
|
||||
margin: 0 0 10px 0;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
}
|
||||
.card-desc {
|
||||
font-family: 'Source Han Sans CN', '思源黑体 CN', sans-serif;
|
||||
font-size: 14px;
|
||||
color: #666;
|
||||
color: rgba(102, 102, 102, 0.6);
|
||||
line-height: 1.7;
|
||||
flex-grow: 1;
|
||||
margin-bottom: 15px;
|
||||
font-weight: bold;
|
||||
}
|
||||
.detail-btn {
|
||||
color: #b50009 !important;
|
||||
|
||||
@@ -457,8 +457,8 @@ export default {
|
||||
.cover-img { width: 100%; height: auto; max-height: 500px; object-fit: cover; transition: transform 0.6s ease; }
|
||||
.article-cover:hover .cover-img { transform: scale(1.02); }
|
||||
.article-body { max-width: 800px; margin: 0 auto; }
|
||||
.article-title { font-size: 2.2rem; color: #1D2129; margin-bottom: 1rem; font-weight: 700; line-height: 1.4; }
|
||||
.article-subtitle { color: #4B5563; font-size: 1.3rem; margin-bottom: 1rem; font-weight: 500; font-style: italic; }
|
||||
.article-title { font-family: 'Source Han Serif CN', '思源宋体 CN';font-size: 2.2rem; color: #1D2129; margin-bottom: 1rem; font-weight: 700; line-height: 1.4; }
|
||||
.article-subtitle { color: #4B5563; font-size: 1.3rem; margin-bottom: 1rem; font-weight: 500; font-family: 'Source Han Serif CN', '思源宋体 CN'; }
|
||||
.article-date { color: #9CA3AF; font-size: 1rem; margin-bottom: 2.5rem; font-weight: 500; }
|
||||
.article-content { color: #4B5563; line-height: 1.95; font-size: 1.1rem; text-align: left; margin: 0 auto; }
|
||||
.article-content >>> p { margin-bottom: 1.5rem; }
|
||||
|
||||
4
web/src/views/修改要求.md
Normal file
4
web/src/views/修改要求.md
Normal file
@@ -0,0 +1,4 @@
|
||||
首页新闻动态title
|
||||
|
||||
|
||||

|
||||
Reference in New Issue
Block a user