Merge branch 'main' of https://git.opencomputing.cn/yumoqing/kboss
This commit is contained in:
commit
fb542aa083
@ -22,6 +22,8 @@
|
|||||||
<p @mouseleave="sildeOut" @mouseenter="sildeIn(product_service)">
|
<p @mouseleave="sildeOut" @mouseenter="sildeIn(product_service)">
|
||||||
<a>产品与服务</a>
|
<a>产品与服务</a>
|
||||||
</p>
|
</p>
|
||||||
|
<p class="nav-hover" @click="$router.push('/product')">模型广场</p>
|
||||||
|
<p class="nav-hover" @click="goYuanjing">元境</p>
|
||||||
<!-- 供需广场 -->
|
<!-- 供需广场 -->
|
||||||
<p :class="{ active: $route.path.includes('/supply') }">
|
<p :class="{ active: $route.path.includes('/supply') }">
|
||||||
<a @click="$router.push('/ncmatchHome/supplyAndDemandSquare')">供需广场</a>
|
<a @click="$router.push('/ncmatchHome/supplyAndDemandSquare')">供需广场</a>
|
||||||
@ -374,7 +376,10 @@ export default Vue.extend({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
// 跳转元境 https://ai.opencomputing.cn/#/index
|
||||||
|
goYuanjing() {
|
||||||
|
window.open('https://ai.opencomputing.cn/#/index')
|
||||||
|
},
|
||||||
// 处理AI助手点击
|
// 处理AI助手点击
|
||||||
handleAIClick() {
|
handleAIClick() {
|
||||||
this.aiDialogVisible = true
|
this.aiDialogVisible = true
|
||||||
@ -1042,6 +1047,15 @@ export default Vue.extend({
|
|||||||
padding-right: 40px;
|
padding-right: 40px;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
|
&.nav-hover {
|
||||||
|
cursor: pointer;
|
||||||
|
transition: all 0.3s;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: #1E6FFF;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-size: 18px !important;
|
font-size: 18px !important;
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
<div class="category-nav">
|
<div class="category-nav">
|
||||||
<div v-for="category in panelData"
|
<div v-for="category in panelData"
|
||||||
:key="category.firTitle"
|
:key="category.firTitle"
|
||||||
class="nav-item"
|
class="nav-item"
|
||||||
:class="{ active: activeCategory === category.firTitle }"
|
:class="{ active: activeCategory === category.firTitle }"
|
||||||
@click="switchCategory(category)">
|
@click="switchCategory(category)">
|
||||||
{{ category.firTitle }}
|
{{ category.firTitle }}
|
||||||
|
|||||||
@ -162,7 +162,12 @@ export default {
|
|||||||
{ required: true, message: "请输入账户名", trigger: "blur" }
|
{ required: true, message: "请输入账户名", trigger: "blur" }
|
||||||
],
|
],
|
||||||
password: [
|
password: [
|
||||||
{ required: true, message: "请输入密码", trigger: "blur" }
|
{ required: true, message: "请输入密码", trigger: "blur" },
|
||||||
|
{
|
||||||
|
pattern: /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[^A-Za-z\d]).{8,}$/,
|
||||||
|
message: "密码至少8位,且需包含大小写字母、数字和特殊字符",
|
||||||
|
trigger: "blur"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
// 密码显示类型(password/text)
|
// 密码显示类型(password/text)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user