main #146

Merged
charles merged 3 commits from main into prod 2026-07-23 16:49:25 +08:00
3 changed files with 29 additions and 30 deletions

View File

@ -1274,30 +1274,30 @@ export const asyncRoutes = [
// 容器实例 - 客户角色可见
{
path: "/containerInstance",
component: Layout,
redirect: "/containerInstance/index",
meta: {
title: "容器实例",
icon: "el-icon-box",
noCache: true,
fullPath: "/containerInstance",
roles: ["客户"]
},
children: [
{
path: "index",
component: () => import("@/views/customer/containerInstance"),
name: "ContainerInstance",
meta: {
title: "容器实例",
fullPath: "/containerInstance/index",
roles: ["客户"]
}
}
]
},
// {
// path: "/containerInstance",
// component: Layout,
// redirect: "/containerInstance/index",
// meta: {
// title: "容器实例",
// icon: "el-icon-box",
// noCache: true,
// fullPath: "/containerInstance",
// roles: ["客户"]
// },
// children: [
// {
// path: "index",
// component: () => import("@/views/customer/containerInstance"),
// name: "ContainerInstance",
// meta: {
// title: "容器实例",
// fullPath: "/containerInstance/index",
// roles: ["客户"]
// }
// }
// ]
// },
// 退订管理 - 变为一级菜单(包含子菜单)

View File

@ -314,7 +314,7 @@ export default Vue.extend({
return orgType !== '2' && orgType !== '3' && userId === null
},
isNcmatchDomain() {
return window.location.hostname.includes('ncmatch.cn')
return window.location.hostname.includes('ncmatch.cn') || window.location.hostname.includes('zgcopc.opencomputing.cn')
},
isActiveHome() {
return this.isNcmatchDomain

View File

@ -1,6 +1,6 @@
<template>
<div class="product-service-page" :class="{ 'single-product-page': isSinglePageMode }">
x
<!-- 产品分类导航 -->
<div v-if="!isSinglePageMode" class="category-nav">
<div v-for="category in panelData"
@ -118,12 +118,11 @@
<div class="token-card-top">
<span class="token-provider-avatar">
<img
v-if="product.model_logo && !product.logoLoadFailed"
:src="getModelLogoUrl(product.model_logo)"
alt=""
:src="product.model_logo"
alt="模型logo"
@error="handleModelLogoError(product)"
>
<span v-else>{{ getProviderInitial(product.provider || product.display_name || product.model_name) }}</span>
</span>
<div class="token-title-group">