1
haoxuan
2024-04-16 bbe7a790dea28a0dd86b51cd95c9672c1eeaa345
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;