|
@@ -1,21 +1,25 @@
|
|
|
<!-- -->
|
|
|
<template>
|
|
|
<div class="Publications1">
|
|
|
- <div class="magzines-wrapper" data-aria-viewport-area tabindex="0"
|
|
|
- aria-label aria-description="You've reached the content area of the Magazines page, please use the tab key to go through the content."
|
|
|
+ <div
|
|
|
+ class="magzines-wrapper"
|
|
|
+ data-aria-viewport-area
|
|
|
+ tabindex="0"
|
|
|
+ aria-label
|
|
|
+ aria-description="You've reached the content area of the Magazines page, please use the tab key to go through the content."
|
|
|
>
|
|
|
- <div class="title" >
|
|
|
+ <div class="title">
|
|
|
<img src="../../assets/images/Visit/pLeft.jpg" alt="" />
|
|
|
<span tabindex="0">{{ $route.meta.nameAll }}</span>
|
|
|
<div class="xian aria-theme-independent"></div>
|
|
|
</div>
|
|
|
- <div class="conten" >
|
|
|
+ <div class="conten">
|
|
|
<!-- 左侧 -->
|
|
|
<div class="menu">
|
|
|
<p
|
|
|
class="aria-theme-independent"
|
|
|
:class="{
|
|
|
- cur: txtInd === index
|
|
|
+ cur: txtInd === index,
|
|
|
}"
|
|
|
v-for="(item, index) in txtData"
|
|
|
@click="txtInd = index"
|
|
@@ -29,15 +33,23 @@
|
|
|
</p>
|
|
|
</div>
|
|
|
<!-- 右侧 -->
|
|
|
- <div class="rightTxt" v-html="txtData[txtInd].conten" tabindex="0"></div>
|
|
|
+ <div
|
|
|
+ class="rightTxt"
|
|
|
+ v-html="txtData[txtInd].conten"
|
|
|
+ tabindex="0"
|
|
|
+ ></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="our-magzines-wrapper" data-aria-viewport-area tabindex="0"
|
|
|
- aria-label aria-description="You've reached the Our Magazines section, please use the tab key to go through the content."
|
|
|
+ <div
|
|
|
+ class="our-magzines-wrapper"
|
|
|
+ data-aria-viewport-area
|
|
|
+ tabindex="0"
|
|
|
+ aria-label
|
|
|
+ aria-description="You've reached the Our Magazines section, please use the tab key to go through the content."
|
|
|
>
|
|
|
<div class="title_2" tabindex="0">Our Magazines</div>
|
|
|
<!-- 下面书籍 -->
|
|
|
- <div class="tabTimeBox" >
|
|
|
+ <div class="tabTimeBox">
|
|
|
<span
|
|
|
@mouseenter="dateInd = i"
|
|
|
@focus="dateInd = i"
|
|
@@ -53,8 +65,10 @@
|
|
|
{{ i }}
|
|
|
</span>
|
|
|
</div>
|
|
|
- <ul class="imgList" >
|
|
|
- <li v-for="item in imgList" :key="item.id"
|
|
|
+ <ul class="imgList">
|
|
|
+ <li
|
|
|
+ v-for="item in imgList"
|
|
|
+ :key="item.id"
|
|
|
@click="jump(item.id)"
|
|
|
@keydown.enter.passive="jump(item.id)"
|
|
|
tabindex="0"
|
|
@@ -94,8 +108,8 @@ export default {
|
|
|
},
|
|
|
],
|
|
|
// 日历书籍的数据
|
|
|
- dateInd: 2021,
|
|
|
- dateData: [2021, 2020, 2019, 2018, 2017],
|
|
|
+ dateInd: 2023,
|
|
|
+ dateData: [2023, 2022, 2021, 2020, 2019, 2018, 2017],
|
|
|
imgList: [],
|
|
|
imgAllData: {},
|
|
|
};
|
|
@@ -127,16 +141,19 @@ export default {
|
|
|
date = Number(date);
|
|
|
this.dateInd = date;
|
|
|
setTimeout(() => {
|
|
|
- window.scrollTo({ top: 1100 });
|
|
|
+ window.scrollTo({ top: 1100 });
|
|
|
}, 100);
|
|
|
}
|
|
|
// 从搜索页跳过来
|
|
|
- let pInd = this.$route.query.p
|
|
|
- if(pInd) this.txtInd=Number(pInd)
|
|
|
+ let pInd = this.$route.query.p;
|
|
|
+ if (pInd) this.txtInd = Number(pInd);
|
|
|
},
|
|
|
//生命周期 - 挂载完成(可以访问DOM元素)
|
|
|
mounted() {
|
|
|
- this.$eventBus.$emit('request-read', `You've reached the Magazines page of the Publications section. This page contains one navigation section, seven window sections, and one interactive section. To choose a section, please hit the shortcut key.`)
|
|
|
+ this.$eventBus.$emit(
|
|
|
+ "request-read",
|
|
|
+ `You've reached the Magazines page of the Publications section. This page contains one navigation section, seven window sections, and one interactive section. To choose a section, please hit the shortcut key.`
|
|
|
+ );
|
|
|
},
|
|
|
beforeCreate() {}, //生命周期 - 创建之前
|
|
|
beforeMount() {}, //生命周期 - 挂载之前
|