智信云官网

alioss
yujialong 3 years ago
parent dab5133e85
commit 2d6f8ee6cd
  1. 4
      src/layouts/header/index.vue
  2. 2
      src/layouts/navbar/index.vue
  3. 2
      src/setting.js

@ -2,7 +2,7 @@
<div class="header">
<a class="logo" @click="toIndex">
<template v-if="isIndex">
<img v-if="isPro" src="@/assets/img/logo.png" alt="">
<img v-if="!isZxy" src="@/assets/img/logo.png" alt="">
<img v-else src="@/assets/img/zxy/logo.png" alt="">
</template>
<template v-else>
@ -48,7 +48,7 @@ export default {
serverToken: util.local.get('oc_server_token'), // token
cName: util.cookies.get('customerName'),
isIndex: Setting.whiteList.find(e => e === this.$route.path), //
isPro: Setting.isPro
isZxy: Setting.isZxy
};
},
components: {

@ -88,7 +88,7 @@ export default {
if (Setting.whiteList.find(e => e === path)) {
//
const menus = this.touristMenu
if (!Setting.isPro) {
if (Setting.isZxy) {
menus[0].index = '/index/zxy'
menus.splice(1, 0, {
index: '/product',

@ -7,6 +7,7 @@ const isHh = url.includes("10.196.131.73"); //是否河海版本
const isCH = url.includes("124.71.12.62"); //是否巢湖版本
const isPro = url.includes("occupationlab.com"); //是否职站生产
const isTest = url.includes('121.37.12.51'); //是否中台测试服
const isZxy = url.includes('izhixinyun'); //是否是智信云
let systemPath = `${location.origin}/banksystem`
let host = `${location.origin}/`
@ -48,6 +49,7 @@ const Setting = {
isDev,
isTest,
isPro,
isZxy,
/**
* 路由白名单
* */

Loading…
Cancel
Save