|
@@ -5,12 +5,53 @@
|
|
|
data-aria-viewport-area tabindex="0"
|
|
|
aria-label aria-description="You've reached the slider section. This section has four image URLs. To browse the content, please use the tab key."
|
|
|
>
|
|
|
- <el-carousel-item v-for="item in 4" :key="item">
|
|
|
- <img
|
|
|
- :src="require(`@/assets/images/swiper${item}.jpg`)"
|
|
|
- alt=""
|
|
|
- @click="skip(item)"
|
|
|
- />
|
|
|
+ <el-carousel-item key="1">
|
|
|
+ <router-link to="/Layout/ExhibitionsInfo?id=1&k=1"
|
|
|
+ tabindex="0"
|
|
|
+ aria-label="Image link"
|
|
|
+ aria-description="The Great Journey: the 100th Anniversary of the Founding of the Communist Party of China."
|
|
|
+ >
|
|
|
+ <img
|
|
|
+ :src="require(`@/assets/images/swiper1.jpg`)"
|
|
|
+ alt="The Great Journey: the 100th Anniversary of the Founding of the Communist Party of China."
|
|
|
+ />
|
|
|
+ </router-link>
|
|
|
+ </el-carousel-item>
|
|
|
+ <el-carousel-item key="2">
|
|
|
+ <router-link to="/Layout/Collections/Bronzes"
|
|
|
+ tabindex="0"
|
|
|
+ aria-label="Image link"
|
|
|
+ aria-description="What's new? More arts just added to our online collections."
|
|
|
+ >
|
|
|
+ <img
|
|
|
+ :src="require(`@/assets/images/swiper2.jpg`)"
|
|
|
+ alt="What's new? More arts just added to our online collections."
|
|
|
+ />
|
|
|
+ </router-link>
|
|
|
+ </el-carousel-item>
|
|
|
+ <el-carousel-item key="3">
|
|
|
+ <router-link to="/Layout/ExhibitionsInfo?id=10&k=2"
|
|
|
+ tabindex="0"
|
|
|
+ aria-label="Image link"
|
|
|
+ aria-description="Folk Customs in old beijing."
|
|
|
+ >
|
|
|
+ <img
|
|
|
+ :src="require(`@/assets/images/swiper3.jpg`)"
|
|
|
+ alt="Folk Customs in old beijing."
|
|
|
+ />
|
|
|
+ </router-link>
|
|
|
+ </el-carousel-item>
|
|
|
+ <el-carousel-item key="4">
|
|
|
+ <router-link to="/Layout/Publications/2"
|
|
|
+ tabindex="0"
|
|
|
+ aria-label="Image link"
|
|
|
+ aria-description="Exhibition catalogues newly added to our website."
|
|
|
+ >
|
|
|
+ <img
|
|
|
+ :src="require(`@/assets/images/swiper4.jpg`)"
|
|
|
+ alt="Exhibition catalogues newly added to our website."
|
|
|
+ />
|
|
|
+ </router-link>
|
|
|
</el-carousel-item>
|
|
|
</el-carousel>
|
|
|
<!-- 底部 -->
|
|
@@ -18,62 +59,95 @@
|
|
|
class="bottomNav" data-aria-viewport-area tabindex="0"
|
|
|
aria-label aria-description="You've reached the pop-up window section; this section contains four URLs; please use the tab key to go through the content."
|
|
|
>
|
|
|
- <div class="t1" @click="$router.push('/Layout/Visit/2')">
|
|
|
+ <div
|
|
|
+ class="t1" @click="$router.push('/Layout/Visit/2')"
|
|
|
+ tabindex="0"
|
|
|
+ aria-label="Link"
|
|
|
+ aria-description="Reservation"
|
|
|
+ >
|
|
|
<div class="title">
|
|
|
<span>Reservation</span>
|
|
|
</div>
|
|
|
<div class="info">
|
|
|
- <div class="p">
|
|
|
- <img src="../../assets/images/bott1.jpg" alt="" />
|
|
|
- </div>
|
|
|
+ <router-link class="p" to="/Layout/Visit/2"
|
|
|
+ tabindex="0"
|
|
|
+ aria-label="Image link"
|
|
|
+ aria-description="Reservation"
|
|
|
+ >
|
|
|
+ <img src="../../assets/images/bott1.jpg" alt="Reservation"/>
|
|
|
+ </router-link>
|
|
|
<div class="d">
|
|
|
- <p class="n1">Online Reservation</p>
|
|
|
- <p class="n2">Telephone Reservation</p>
|
|
|
- <p class="n3">Individual <span>+86 (10) 63393339</span></p>
|
|
|
- <p class="n3">Group <span>+86 (10) 63370458</span></p>
|
|
|
+ <p class="n1" tabindex="0">Online Reservation</p>
|
|
|
+ <p class="n2" tabindex="0">Telephone Reservation</p>
|
|
|
+ <p class="n3" tabindex="0">Individual <span>+86 (10) 63393339</span></p>
|
|
|
+ <p class="n3" tabindex="0">Group <span>+86 (10) 63370458</span></p>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="t2" @click="$router.push('/Layout/Visit/1')">
|
|
|
+ <div class="t2" @click="$router.push('/Layout/Visit/1')"
|
|
|
+ tabindex="0"
|
|
|
+ aria-label="Link"
|
|
|
+ aria-description="Visit Info"
|
|
|
+ >
|
|
|
<div class="title">
|
|
|
<span>Visit Info</span>
|
|
|
</div>
|
|
|
<div class="info">
|
|
|
- <div class="p">
|
|
|
- <img src="../../assets/images/bott2.jpg" alt="" />
|
|
|
- </div>
|
|
|
+ <router-link class="p" to="/Layout/Visit/1"
|
|
|
+ tabindex="0"
|
|
|
+ aria-label="Image link"
|
|
|
+ aria-description="Hours, Direction & Admission"
|
|
|
+ >
|
|
|
+ <img src="../../assets/images/bott2.jpg" alt="Hours, Direction & Admission"/>
|
|
|
+ </router-link>
|
|
|
<div class="d">
|
|
|
- <p class="n4">Opening Hours 09:00-17:00</p>
|
|
|
- <p class="n5">No admission after 16:00</p>
|
|
|
- <p class="n5">Closed on Monday</p>
|
|
|
- <p class="n6">Phone</p>
|
|
|
- <p>+86 (10) 63370491</p>
|
|
|
+ <p class="n4" tabindex="0">Opening Hours 09:00-17:00</p>
|
|
|
+ <p class="n5" tabindex="0">No admission after 16:00</p>
|
|
|
+ <p class="n5" tabindex="0">Closed on Monday</p>
|
|
|
+ <p class="n6" tabindex="0">Phone</p>
|
|
|
+ <p tabindex="0">+86 (10) 63370491</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="t3" @click="botskip()">
|
|
|
+ <div class="t3" @click="botskip()"
|
|
|
+ tabindex="0"
|
|
|
+ aria-label="Link"
|
|
|
+ aria-description="Partners & Connections"
|
|
|
+ >
|
|
|
<div class="title">
|
|
|
<span>Partners & Connections</span>
|
|
|
</div>
|
|
|
<div class="info">
|
|
|
- <div class="p">
|
|
|
- <img src="../../assets/images/bott3.jpg" alt="" />
|
|
|
- </div>
|
|
|
+ <router-link class="p" to="/Layout/About"
|
|
|
+ tabindex="0"
|
|
|
+ aria-label="Image link"
|
|
|
+ aria-description="Partners & Connections"
|
|
|
+ >
|
|
|
+ <img src="../../assets/images/bott3.jpg" alt="Partners & Connections"/>
|
|
|
+ </router-link>
|
|
|
<div class="d">
|
|
|
- <p class="n7">Partners & Connections</p>
|
|
|
+ <p class="n7" tabindex="0">Partners & Connections</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="t4" @click="$router.push('/Layout/Events')">
|
|
|
+ <div class="t4" @click="$router.push('/Layout/Events')"
|
|
|
+ tabindex="0"
|
|
|
+ aria-label="Link"
|
|
|
+ aria-description="Events"
|
|
|
+ >
|
|
|
<div class="title">
|
|
|
<span>Events</span>
|
|
|
</div>
|
|
|
<div class="info">
|
|
|
- <div class="p">
|
|
|
- <img src="../../assets/images/bott4.jpg" alt="" />
|
|
|
- </div>
|
|
|
+ <router-link class="p" to="/Layout/Events"
|
|
|
+ tabindex="0"
|
|
|
+ aria-label="Image link"
|
|
|
+ aria-description="Events"
|
|
|
+ >
|
|
|
+ <img src="../../assets/images/bott4.jpg" alt="Events"/>
|
|
|
+ </router-link>
|
|
|
<div class="d">
|
|
|
- <p class="n8">Partners & Connections</p>
|
|
|
+ <p class="n8" tabindex="0">Events</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -95,14 +169,6 @@ export default {
|
|
|
watch: {},
|
|
|
//方法集合
|
|
|
methods: {
|
|
|
- skip(val) {
|
|
|
- let temp = "";
|
|
|
- if (val === 1) temp = "/Layout/ExhibitionsInfo?id=1&k=1";
|
|
|
- else if (val === 2) temp = "/Layout/Collections/Bronzes";
|
|
|
- else if (val === 3) temp = "/Layout/ExhibitionsInfo?id=10&k=2";
|
|
|
- else if (val === 4) temp = "/Layout/Publications/2";
|
|
|
- this.$router.push(temp);
|
|
|
- },
|
|
|
// 底部的跳转
|
|
|
botskip() {
|
|
|
this.$router.push("/Layout/About").catch(() => {});
|
|
@@ -147,9 +213,10 @@ export default {
|
|
|
position: absolute;
|
|
|
left: 0;
|
|
|
bottom: 0;
|
|
|
- z-index: 999;
|
|
|
+ z-index: 4;
|
|
|
display: flex;
|
|
|
& > div {
|
|
|
+ display: block;
|
|
|
cursor: pointer;
|
|
|
width: 25%;
|
|
|
height: 58px;
|
|
@@ -181,6 +248,7 @@ export default {
|
|
|
padding: 20px;
|
|
|
}
|
|
|
.p {
|
|
|
+ display: block;
|
|
|
img {
|
|
|
vertical-align: bottom;
|
|
|
}
|
|
@@ -199,6 +267,18 @@ export default {
|
|
|
.t4:hover .info {
|
|
|
height: 270px;
|
|
|
}
|
|
|
+ .t1:focus-within .info {
|
|
|
+ height: 320px;
|
|
|
+ }
|
|
|
+ .t2:focus-within .info {
|
|
|
+ height: 320px;
|
|
|
+ }
|
|
|
+ .t3:focus-within .info {
|
|
|
+ height: 270px;
|
|
|
+ }
|
|
|
+ .t4:focus-within .info {
|
|
|
+ height: 270px;
|
|
|
+ }
|
|
|
.t1 {
|
|
|
.title {
|
|
|
span {
|