From bbe7a790dea28a0dd86b51cd95c9672c1eeaa345 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期二, 16 四月 2024 14:58:41 +0800 Subject: [PATCH] 1 --- src/components/header/index.vue | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/components/header/index.vue b/src/components/header/index.vue index 04498bc..ef3ab50 100644 --- a/src/components/header/index.vue +++ b/src/components/header/index.vue @@ -14,6 +14,7 @@ <a href="">绠楁硶</a> <a href="">搴旂敤</a> <a href="">绠$悊鏈嶅姟</a> + <span class="right-btn"><a :href="link">鐧诲綍</a></span> </div> </div> </div> @@ -21,6 +22,8 @@ </template> <script> +// import util from "@/libs/util.js"; +// import Cookies from "js-cookie"; export default { props: {}, data() { @@ -47,8 +50,12 @@ return type }, getApsPage(){ + // let token = util.cookies.get("token"); + // Cookies.set("token", token, { expires: 7, path: "/" }); + // console.log(util.cookies.get("token"),'==token') + // window.open(`//aps.fai365.com:${getPort()}${this.startPage}`); ${window.location.hostname} const loginPathMap = { - prod:`//${window.location.hostname}:9080`, + prod:`//aps.fai365.com:9080`, test:`//192.168.20.119:9080`, dev: `//192.168.8.117:8080` } @@ -118,9 +125,12 @@ } } .topright { - width: 453px; + width: 533px; height: 44px; line-height: 44px; + .right-btn{ + margin-left:40px; + } a { margin-left: 40px; font-size: 14px; -- Gitblit v1.8.0