Compare commits
No commits in common. "568fcb06a58fc764c0375c0a8caadb69d722a58a" and "57349ceeeb9c9ea0995c6de637d3626f8e66a961" have entirely different histories.
568fcb06a5
...
57349ceeeb
@ -1274,30 +1274,30 @@ export const asyncRoutes = [
|
|||||||
|
|
||||||
|
|
||||||
// 容器实例 - 客户角色可见
|
// 容器实例 - 客户角色可见
|
||||||
// {
|
{
|
||||||
// path: "/containerInstance",
|
path: "/containerInstance",
|
||||||
// component: Layout,
|
component: Layout,
|
||||||
// redirect: "/containerInstance/index",
|
redirect: "/containerInstance/index",
|
||||||
// meta: {
|
meta: {
|
||||||
// title: "容器实例",
|
title: "容器实例",
|
||||||
// icon: "el-icon-box",
|
icon: "el-icon-box",
|
||||||
// noCache: true,
|
noCache: true,
|
||||||
// fullPath: "/containerInstance",
|
fullPath: "/containerInstance",
|
||||||
// roles: ["客户"]
|
roles: ["客户"]
|
||||||
// },
|
},
|
||||||
// children: [
|
children: [
|
||||||
// {
|
{
|
||||||
// path: "index",
|
path: "index",
|
||||||
// component: () => import("@/views/customer/containerInstance"),
|
component: () => import("@/views/customer/containerInstance"),
|
||||||
// name: "ContainerInstance",
|
name: "ContainerInstance",
|
||||||
// meta: {
|
meta: {
|
||||||
// title: "容器实例",
|
title: "容器实例",
|
||||||
// fullPath: "/containerInstance/index",
|
fullPath: "/containerInstance/index",
|
||||||
// roles: ["客户"]
|
roles: ["客户"]
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
// ]
|
]
|
||||||
// },
|
},
|
||||||
|
|
||||||
|
|
||||||
// 退订管理 - 变为一级菜单(包含子菜单)
|
// 退订管理 - 变为一级菜单(包含子菜单)
|
||||||
|
|||||||
@ -314,7 +314,7 @@ export default Vue.extend({
|
|||||||
return orgType !== '2' && orgType !== '3' && userId === null
|
return orgType !== '2' && orgType !== '3' && userId === null
|
||||||
},
|
},
|
||||||
isNcmatchDomain() {
|
isNcmatchDomain() {
|
||||||
return window.location.hostname.includes('ncmatch.cn') || window.location.hostname.includes('zgcopc.opencomputing.cn')
|
return window.location.hostname.includes('ncmatch.cn')
|
||||||
},
|
},
|
||||||
isActiveHome() {
|
isActiveHome() {
|
||||||
return this.isNcmatchDomain
|
return this.isNcmatchDomain
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="product-service-page" :class="{ 'single-product-page': isSinglePageMode }">
|
<div class="product-service-page" :class="{ 'single-product-page': isSinglePageMode }">
|
||||||
x
|
|
||||||
<!-- 产品分类导航 -->
|
<!-- 产品分类导航 -->
|
||||||
<div v-if="!isSinglePageMode" class="category-nav">
|
<div v-if="!isSinglePageMode" class="category-nav">
|
||||||
<div v-for="category in panelData"
|
<div v-for="category in panelData"
|
||||||
@ -118,11 +118,12 @@
|
|||||||
<div class="token-card-top">
|
<div class="token-card-top">
|
||||||
<span class="token-provider-avatar">
|
<span class="token-provider-avatar">
|
||||||
<img
|
<img
|
||||||
:src="product.model_logo"
|
v-if="product.model_logo && !product.logoLoadFailed"
|
||||||
alt="模型logo"
|
:src="getModelLogoUrl(product.model_logo)"
|
||||||
|
alt=""
|
||||||
@error="handleModelLogoError(product)"
|
@error="handleModelLogoError(product)"
|
||||||
>
|
>
|
||||||
|
<span v-else>{{ getProviderInitial(product.provider || product.display_name || product.model_name) }}</span>
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
<div class="token-title-group">
|
<div class="token-title-group">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user