Commit 05c798c3 authored by xhx's avatar xhx

更换白皮书链接

parent ced0d462
......@@ -14,7 +14,6 @@
"autoprefixer": "^9",
"compression-webpack-plugin": "^5.0.0",
"core-js": "^3.6.5",
"image-webpack-loader": "^7.0.1",
"postcss": "^7",
"register-service-worker": "^1.7.2",
"swiper": "^6.6.1",
......
......@@ -13,7 +13,9 @@
<li class="px-6 text-base text-title-color" :class="{'menu-active': $route.path === '/home'}" @click="goPage('/')">{{ $t('lang.home') }}</li>
<li class="px-6 text-base text-title-color">
<a
:href="iconType === 'zh-CN' ? 'http://yuanorg.oss-ap-southeast-1.aliyuncs.com/yuan_introduction.pdf' : 'http://yuanorg.oss-ap-southeast-1.aliyuncs.com/yuan_introduction.pdf'"
:href="iconType === 'zh-CN' ?
'https://yuanorg.oss-ap-southeast-1.aliyuncs.com/ycc/white-paper/zh.pdf' :
'https://yuanorg.oss-ap-southeast-1.aliyuncs.com/ycc/white-paper/en.pdf'"
target="_blank">{{ $t('lang.book') }}</a>
</li>
<li class="px-6 text-base text-title-color" :class="{'menu-active': $route.path === '/newsList' || $route.path === '/newsDetails'}" @click="goPage('/newsList')">{{ $t('lang.news') }}</li>
......
......@@ -7,7 +7,9 @@
<router-link :to="{path: '/home', query: {lang: $route.query.lang}}" tag="li" :class="{'active': $route.path === '/home'}" class="pl-5 pr-5">{{ $t('lang.home') }}</router-link>
<li class="pl-5 pr-5">
<a
:href="iconType === 'zh-CN' ? 'http://yuanorg.oss-ap-southeast-1.aliyuncs.com/yuan_introduction.pdf' : 'http://yuanorg.oss-ap-southeast-1.aliyuncs.com/yuan_introduction.pdf'"
:href="iconType === 'zh-CN' ?
'https://yuanorg.oss-ap-southeast-1.aliyuncs.com/ycc/white-paper/zh.pdf' :
'https://yuanorg.oss-ap-southeast-1.aliyuncs.com/ycc/white-paper/en.pdf'"
target="_blank">{{ $t('lang.book') }}</a>
</li>
<router-link :to="{path: '/newsList', query: {lang: $route.query.lang}}" :class="{'active': $route.path === '/newsList' || $route.path === '/newsDetails'}" tag="li" class="pl-5 pr-5">{{ $t('lang.news') }}</router-link>
......@@ -48,7 +50,7 @@
</div>
<icon-select :show="showIcon" @hidden="showIcon = false" @selectIcon="(v) => {iconType = v}"></icon-select>
</div>
<div class="menu_btn mr-5" @click="showMenu = !showMenu"></div>
<div class="menu_btn mr-5" @click="showMenu = !showMenu, showIcon = false"></div>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment