updata
This commit is contained in:
parent
d0af714f14
commit
6f25735cce
@ -22,6 +22,8 @@
|
||||
<p @mouseleave="sildeOut" @mouseenter="sildeIn(product_service)">
|
||||
<a>产品与服务</a>
|
||||
</p>
|
||||
<p class="nav-hover" @click="$router.push('/product')">模型广场</p>
|
||||
<p class="nav-hover" @click="goYuanjing">元境</p>
|
||||
<!-- 供需广场 -->
|
||||
<p :class="{ active: $route.path.includes('/supply') }">
|
||||
<a @click="$router.push('/ncmatchHome/supplyAndDemandSquare')">供需广场</a>
|
||||
@ -374,7 +376,10 @@ export default Vue.extend({
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
// 跳转元境 https://ai.opencomputing.cn/#/index
|
||||
goYuanjing() {
|
||||
window.open('https://ai.opencomputing.cn/#/index')
|
||||
},
|
||||
// 处理AI助手点击
|
||||
handleAIClick() {
|
||||
this.aiDialogVisible = true
|
||||
@ -1042,6 +1047,15 @@ export default Vue.extend({
|
||||
padding-right: 40px;
|
||||
position: relative;
|
||||
|
||||
&.nav-hover {
|
||||
cursor: pointer;
|
||||
transition: all 0.3s;
|
||||
|
||||
&:hover {
|
||||
color: #1E6FFF;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
font-size: 18px !important;
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
<div class="category-nav">
|
||||
<div v-for="category in panelData"
|
||||
:key="category.firTitle"
|
||||
class="nav-item"
|
||||
class="nav-item"
|
||||
:class="{ active: activeCategory === category.firTitle }"
|
||||
@click="switchCategory(category)">
|
||||
{{ category.firTitle }}
|
||||
|
||||
@ -162,7 +162,12 @@ export default {
|
||||
{ required: true, message: "请输入账户名", trigger: "blur" }
|
||||
],
|
||||
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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user