增加电信入口
This commit is contained in:
parent
a06945414a
commit
310c992b08
@ -11,7 +11,7 @@ import {getHomePath} from "@/views/setting/tools";
|
|||||||
|
|
||||||
NProgress.configure({showSpinner: false}); // NProgress Configuration
|
NProgress.configure({showSpinner: false}); // NProgress Configuration
|
||||||
|
|
||||||
const whiteList = ["product", "/tokenMarket", "/modelDetail", "/modelApiDocument", "/login", "/homePage", "/registrationPage", "/shoppingCart", "/homePageImage","/h5HomePage",'/H5about','/modelProductDetail','/ncmatchHome', '/agreement', '/ncmatch']; // no redirect whitelist
|
const whiteList = ["product", "/tokenMarket", "/modelDetail", "/modelApiDocument", "/login", "/homePage", "/registrationPage", "/shoppingCart", "/homePageImage","/h5HomePage",'/H5about','/modelProductDetail','/ncmatchHome', '/agreement', '/ncmatch', '/tianyiyun']; // no redirect whitelist
|
||||||
|
|
||||||
// 获取用户代理字符串
|
// 获取用户代理字符串
|
||||||
const userAgent = window.navigator.userAgent;
|
const userAgent = window.navigator.userAgent;
|
||||||
|
|||||||
@ -511,6 +511,14 @@ export const constantRoutes = [
|
|||||||
path: '/404', component: () => import('@/views/error-page/404'), hidden: true
|
path: '/404', component: () => import('@/views/error-page/404'), hidden: true
|
||||||
}, {
|
}, {
|
||||||
path: '/401', component: () => import('@/views/error-page/401'), hidden: true
|
path: '/401', component: () => import('@/views/error-page/401'), hidden: true
|
||||||
|
},
|
||||||
|
// 天翼云 · 息壤系列产品介绍页(独立全屏页,不带 Layout)
|
||||||
|
{
|
||||||
|
path: '/tianyiyun',
|
||||||
|
component: () => import('@/views/tianyiyun/index.vue'),
|
||||||
|
name: 'TianYiYunXirang',
|
||||||
|
hidden: true,
|
||||||
|
meta: { title: '天翼云 · 息壤系列产品', noCache: true }
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
@ -16,5 +16,8 @@ export default function getPageTitle(pageTitle) {
|
|||||||
if (domainName.indexOf('ncmatch') > -1) {
|
if (domainName.indexOf('ncmatch') > -1) {
|
||||||
return `开元云ncmatch`
|
return `开元云ncmatch`
|
||||||
}
|
}
|
||||||
|
if (domainName.indexOf('tianyiyun') > -1) {
|
||||||
|
return `开元云ncmatch`
|
||||||
|
}
|
||||||
return `opencomputing`
|
return `opencomputing`
|
||||||
}
|
}
|
||||||
|
|||||||
@ -30,6 +30,10 @@
|
|||||||
<a href="javascript:void(0)" @click="goCreativeWorkshop" class="nav-link"
|
<a href="javascript:void(0)" @click="goCreativeWorkshop" class="nav-link"
|
||||||
:class="{ active: isActive('') }">梦工厂
|
:class="{ active: isActive('') }">梦工厂
|
||||||
</a>
|
</a>
|
||||||
|
<!-- 电信入口 -->
|
||||||
|
<a href="javascript:void(0)" @click="goTianyiyun" class="nav-link"
|
||||||
|
:class="{ active: isActive('') }">电信入口
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 右侧功能按钮 -->
|
<!-- 右侧功能按钮 -->
|
||||||
@ -252,6 +256,10 @@ export default {
|
|||||||
this.dropdownOpen = false;
|
this.dropdownOpen = false;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
goTianyiyun() {
|
||||||
|
const url = window.location.origin + window.location.pathname + '#/tianyiyun'
|
||||||
|
window.open(url, '_blank')
|
||||||
|
},
|
||||||
async goCreativeWorkshop() {
|
async goCreativeWorkshop() {
|
||||||
if (!this.loginState) {
|
if (!this.loginState) {
|
||||||
window.open('https://ai.opencomputing.cn/', '_blank')
|
window.open('https://ai.opencomputing.cn/', '_blank')
|
||||||
|
|||||||
6
f/web-kboss/src/views/tianyiyun/assets/favicon.svg
Normal file
6
f/web-kboss/src/views/tianyiyun/assets/favicon.svg
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
|
||||||
|
<!-- 天翼云息壤 · 品牌云标(交付占位版,可替换为官方 logo) -->
|
||||||
|
<rect width="64" height="64" rx="14" fill="#D9001B"/>
|
||||||
|
<path d="M20 42a10 10 0 1 1 1.3-19.9A13.3 13.3 0 0 1 47 27.4 8.3 8.3 0 0 1 44.8 42H20Z"
|
||||||
|
fill="none" stroke="#FFFFFF" stroke-width="4" stroke-linecap="round"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 383 B |
12
f/web-kboss/src/views/tianyiyun/assets/manager-avatar.svg
Normal file
12
f/web-kboss/src/views/tianyiyun/assets/manager-avatar.svg
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 160 160">
|
||||||
|
<!-- 客户经理头像占位:替换为真实照片(建议 240x240 以上正方形,jpg/png/webp 均可) -->
|
||||||
|
<defs>
|
||||||
|
<linearGradient id="g" x1="0" y1="0" x2="1" y2="1">
|
||||||
|
<stop offset="0" stop-color="#D9001B"/>
|
||||||
|
<stop offset="1" stop-color="#A30015"/>
|
||||||
|
</linearGradient>
|
||||||
|
</defs>
|
||||||
|
<circle cx="80" cy="80" r="80" fill="url(#g)"/>
|
||||||
|
<circle cx="80" cy="62" r="24" fill="#FFFFFF" opacity=".92"/>
|
||||||
|
<path d="M32 138c6-27 25-43 48-43s42 16 48 43Z" fill="#FFFFFF" opacity=".92"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 572 B |
BIN
f/web-kboss/src/views/tianyiyun/assets/qr-wechat.png
Normal file
BIN
f/web-kboss/src/views/tianyiyun/assets/qr-wechat.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 172 KiB |
31
f/web-kboss/src/views/tianyiyun/assets/qr-wechat.svg
Normal file
31
f/web-kboss/src/views/tianyiyun/assets/qr-wechat.svg
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" shape-rendering="crispEdges">
|
||||||
|
<!-- 企业微信二维码占位图:交付后请用真实二维码图片替换本文件(保持文件名不变即可全站生效) -->
|
||||||
|
<rect width="100" height="100" fill="#FFFFFF"/>
|
||||||
|
<g fill="#171112">
|
||||||
|
<!-- 三个定位角 -->
|
||||||
|
<rect x="8" y="8" width="22" height="22"/>
|
||||||
|
<rect x="70" y="8" width="22" height="22"/>
|
||||||
|
<rect x="8" y="70" width="22" height="22"/>
|
||||||
|
<!-- 定位角内白圈 -->
|
||||||
|
<rect x="13" y="13" width="12" height="12" fill="#FFFFFF"/>
|
||||||
|
<rect x="75" y="13" width="12" height="12" fill="#FFFFFF"/>
|
||||||
|
<rect x="13" y="75" width="12" height="12" fill="#FFFFFF"/>
|
||||||
|
<rect x="16" y="16" width="6" height="6"/>
|
||||||
|
<rect x="78" y="16" width="6" height="6"/>
|
||||||
|
<rect x="16" y="78" width="6" height="6"/>
|
||||||
|
<!-- 数据点(装饰性) -->
|
||||||
|
<rect x="38" y="10" width="8" height="8"/><rect x="52" y="14" width="6" height="6"/>
|
||||||
|
<rect x="40" y="24" width="6" height="6"/><rect x="54" y="26" width="10" height="6"/>
|
||||||
|
<rect x="10" y="38" width="6" height="8"/><rect x="22" y="40" width="8" height="6"/>
|
||||||
|
<rect x="38" y="38" width="10" height="10"/><rect x="56" y="40" width="8" height="6"/>
|
||||||
|
<rect x="70" y="38" width="6" height="10"/><rect x="82" y="42" width="8" height="6"/>
|
||||||
|
<rect x="14" y="54" width="8" height="6"/><rect x="30" y="56" width="6" height="8"/>
|
||||||
|
<rect x="44" y="52" width="8" height="8"/><rect x="58" y="56" width="10" height="6"/>
|
||||||
|
<rect x="74" y="54" width="6" height="8"/><rect x="86" y="56" width="6" height="6"/>
|
||||||
|
<rect x="38" y="70" width="6" height="8"/><rect x="52" y="74" width="10" height="6"/>
|
||||||
|
<rect x="70" y="70" width="8" height="8"/><rect x="84" y="72" width="6" height="6"/>
|
||||||
|
<rect x="40" y="86" width="10" height="6"/><rect x="58" y="84" width="6" height="8"/>
|
||||||
|
<rect x="72" y="86" width="10" height="6"/>
|
||||||
|
</g>
|
||||||
|
<text x="50" y="52" font-family="sans-serif" font-size="9" fill="#D9001B" text-anchor="middle" font-weight="bold">占位</text>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 2.0 KiB |
1126
f/web-kboss/src/views/tianyiyun/index.vue
Normal file
1126
f/web-kboss/src/views/tianyiyun/index.vue
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user