|
@@ -1,14 +1,22 @@
|
|
|
<template>
|
|
|
- <div class="bottomIndex" data-aria-viewport-area tabindex="0"
|
|
|
- aria-label aria-description="You've reached the content area of the Site Index, please use the tab key to navigate through the content."
|
|
|
+ <div
|
|
|
+ class="bottomIndex"
|
|
|
+ data-aria-viewport-area
|
|
|
+ tabindex="0"
|
|
|
+ aria-label
|
|
|
+ aria-description="You've reached the content area of the Site Index, please use the tab key to navigate through the content."
|
|
|
>
|
|
|
- <img src="/data/Index/1.jpg" alt=""
|
|
|
+ <img
|
|
|
+ src="/data/Index/1.jpg"
|
|
|
+ alt=""
|
|
|
tabindex="0"
|
|
|
aria-label="Text"
|
|
|
aria-description="Site Index"
|
|
|
/>
|
|
|
<div class="home" title="Home" tabindex="-1">
|
|
|
- <img src="/data/Index/home.jpg" alt=""
|
|
|
+ <img
|
|
|
+ src="/data/Index/home.jpg"
|
|
|
+ alt=""
|
|
|
@click="skip('/')"
|
|
|
@keydown.enter.passive="skip('/')"
|
|
|
tabindex="0"
|
|
@@ -430,7 +438,13 @@ export default {
|
|
|
left: "0px",
|
|
|
path: "",
|
|
|
},
|
|
|
- { title: "Moblie Site", width: "105px", top: 1, left: "0px", path: "/null" },
|
|
|
+ {
|
|
|
+ title: "Moblie Site",
|
|
|
+ width: "105px",
|
|
|
+ top: 1,
|
|
|
+ left: "0px",
|
|
|
+ path: "https://zzbbh.4dage.com/shouBoM/index.html#/Layout/Home",
|
|
|
+ },
|
|
|
{
|
|
|
title: "Terms of Use",
|
|
|
width: "120px",
|
|
@@ -463,7 +477,11 @@ export default {
|
|
|
//方法集合
|
|
|
methods: {
|
|
|
skip(url, sroll) {
|
|
|
- this.$router.push(url).catch(() => {});
|
|
|
+ if(url==='https://zzbbh.4dage.com/shouBoM/index.html#/Layout/Home') {
|
|
|
+ window.open(url)
|
|
|
+ return
|
|
|
+ }
|
|
|
+ this.$router.replace(url).catch(() => {});
|
|
|
if (sroll) {
|
|
|
setTimeout(() => {
|
|
|
window.scrollTo({ top: sroll, behavior: "smooth" });
|
|
@@ -475,7 +493,10 @@ export default {
|
|
|
created() {},
|
|
|
//生命周期 - 挂载完成(可以访问DOM元素)
|
|
|
mounted() {
|
|
|
- this.$eventBus.$emit('request-read', ` You've reached the Site Index page. This page contains one navigation section, three window sections, and one interactive section. To choose an area, please hit the shortcut key.`)
|
|
|
+ this.$eventBus.$emit(
|
|
|
+ "request-read",
|
|
|
+ ` You've reached the Site Index page. This page contains one navigation section, three window sections, and one interactive section. To choose an area, please hit the shortcut key.`
|
|
|
+ );
|
|
|
},
|
|
|
beforeCreate() {}, //生命周期 - 创建之前
|
|
|
beforeMount() {}, //生命周期 - 挂载之前
|
|
@@ -523,7 +544,7 @@ export default {
|
|
|
position: absolute;
|
|
|
}
|
|
|
}
|
|
|
- .active{
|
|
|
+ .active {
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
.one {
|