更新首页广交会宣传横幅,并调整 WhatsApp 官方频道链接。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -50,6 +50,20 @@ const showAssessmentModal = ref(false)
|
||||
|
||||
<template>
|
||||
<div>
|
||||
<!-- ===== 宣传横幅(导航下方,不铺满以免低清图被拉伸发糊) ===== -->
|
||||
<section class="promo-banner" aria-label="Promo banner">
|
||||
<div class="container promo-banner__inner">
|
||||
<img
|
||||
class="promo-banner__img"
|
||||
src="/images/home-promo-banner.jpg"
|
||||
:alt="home.promoBanner.imageAlt"
|
||||
width="3300"
|
||||
height="1200"
|
||||
decoding="async"
|
||||
/>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ===== Hero ===== -->
|
||||
<section id="top" class="hero">
|
||||
<div class="container hero__grid">
|
||||
@@ -289,6 +303,22 @@ const showAssessmentModal = ref(false)
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
/* 首页导航下方宣传横幅:与下方 .container 内容同宽左右对齐,不铺满视口 */
|
||||
.promo-banner {
|
||||
margin: 0;
|
||||
padding: 20px 0 0;
|
||||
line-height: 0;
|
||||
background: linear-gradient(180deg, #f3f9ff 0%, #ffffff 100%);
|
||||
}
|
||||
.promo-banner__inner {
|
||||
display: block;
|
||||
}
|
||||
.promo-banner__img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/* Hero */
|
||||
.hero {
|
||||
background: linear-gradient(180deg, #f3f9ff 0%, #ffffff 100%);
|
||||
|
||||
Reference in New Issue
Block a user