Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-online-pc
Commits
6a92e440
提交
6a92e440
authored
4月 26, 2022
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: 显示新闻动态
上级
4486a233
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
26 行增加
和
26 行删除
+26
-26
appFrame.vue
components/appFrame.vue
+1
-1
Menu.vue
components/layout/pc/Menu.vue
+18
-18
index.vue
pages/index.vue
+3
-3
introduce.vue
pages/project-intro/introduce.vue
+4
-4
没有找到文件。
components/appFrame.vue
浏览文件 @
6a92e440
...
@@ -35,7 +35,7 @@ export default {
...
@@ -35,7 +35,7 @@ export default {
display
:
flex
;
display
:
flex
;
}
}
.main-page-nav
{
.main-page-nav
{
width
:
22
0px
;
width
:
16
0px
;
background
:
#fff
;
background
:
#fff
;
padding
:
35px
0
44px
;
padding
:
35px
0
44px
;
margin-right
:
40px
;
margin-right
:
40px
;
...
...
components/layout/pc/Menu.vue
浏览文件 @
6a92e440
...
@@ -15,9 +15,9 @@
...
@@ -15,9 +15,9 @@
<nuxt-link
:to=
"item.path"
>
{{
item
.
name
}}
</nuxt-link>
<nuxt-link
:to=
"item.path"
>
{{
item
.
name
}}
</nuxt-link>
</
template
>
</
template
>
</div>
</div>
<div
class=
"child-item"
v-if=
"item.child
er
n"
>
<div
class=
"child-item"
v-if=
"item.child
re
n"
>
<div
class=
"one-level"
>
<div
class=
"one-level"
>
<
template
v-for=
"(level2Item, level2Index) in item.child
er
n"
>
<
template
v-for=
"(level2Item, level2Index) in item.child
re
n"
>
<div
<div
:class=
"$route.path === level2Item.path || level2Item.isShow ? 'li active' : 'li'"
:class=
"$route.path === level2Item.path || level2Item.isShow ? 'li active' : 'li'"
:key=
"level2Index + 'level2'"
:key=
"level2Index + 'level2'"
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
<div
class=
"name"
>
<div
class=
"name"
>
{{
level2Item
.
name
}}
{{
level2Item
.
name
}}
</div>
</div>
<div
class=
"el-icon-arrow-right"
v-if=
"level2Item.child
er
n"
></div>
<div
class=
"el-icon-arrow-right"
v-if=
"level2Item.child
re
n"
></div>
</app-link>
</app-link>
</div>
</div>
</
template
>
</
template
>
...
@@ -50,19 +50,19 @@ export default {
...
@@ -50,19 +50,19 @@ export default {
// 项目介绍
// 项目介绍
{
{
name
:
this
.
$t
(
'menu.project'
),
name
:
this
.
$t
(
'menu.project'
),
path
:
'/project-intro/introduce'
path
:
'/project-intro/introduce'
,
// childer
n: [
childre
n
:
[
//
{ name: this.$t('menu.projectChild.bg'), path: '/project-intro/introduce' },
{
name
:
this
.
$t
(
'menu.projectChild.bg'
),
path
:
'/project-intro/introduce'
},
//
{ name: this.$t('menu.newsChild.hot'), path: '/news/hot' }
{
name
:
this
.
$t
(
'menu.newsChild.hot'
),
path
:
'/news/hot'
}
// { name: this.$t('menu.projectChild.feature'), path: '/project-intro/charac' },
// { name: this.$t('menu.projectChild.feature'), path: '/project-intro/charac' },
// { name: this.$t('menu.projectChild.cert'), path: '/project-intro/certificate' }
// { name: this.$t('menu.projectChild.cert'), path: '/project-intro/certificate' }
//
]
]
},
},
// 项目优势
// 项目优势
// {
// {
// name: this.$t('menu.course'),
// name: this.$t('menu.course'),
// path: '/about/course',
// path: '/about/course',
// child
er
n: [
// child
re
n: [
// { name: this.$t('menu.courseChild.set'), path: '/about/course' },
// { name: this.$t('menu.courseChild.set'), path: '/about/course' },
// { name: this.$t('menu.courseChild.teachers'), path: '/about/teacher' }
// { name: this.$t('menu.courseChild.teachers'), path: '/about/teacher' }
// ]
// ]
...
@@ -71,7 +71,7 @@ export default {
...
@@ -71,7 +71,7 @@ export default {
{
{
name
:
this
.
$t
(
'menu.school'
),
name
:
this
.
$t
(
'menu.school'
),
path
:
'/school/school3'
,
path
:
'/school/school3'
,
child
er
n
:
[
child
re
n
:
[
// // { name: this.$t('menu.schoolChild.school1'), path: '/school/school1' },
// // { name: this.$t('menu.schoolChild.school1'), path: '/school/school1' },
// // { name: this.$t('menu.schoolChild.school2'), path: '/school/school2' },
// // { name: this.$t('menu.schoolChild.school2'), path: '/school/school2' },
{
name
:
this
.
$t
(
'menu.schoolChild.school3'
),
path
:
'/school/school3'
}
{
name
:
this
.
$t
(
'menu.schoolChild.school3'
),
path
:
'/school/school3'
}
...
@@ -87,7 +87,7 @@ export default {
...
@@ -87,7 +87,7 @@ export default {
{
{
name
:
this
.
$t
(
'menu.enroll'
),
name
:
this
.
$t
(
'menu.enroll'
),
path
:
'/enroll/process'
,
path
:
'/enroll/process'
,
child
er
n
:
[
child
re
n
:
[
{
name
:
this
.
$t
(
'menu.enrollChild.process'
),
path
:
'/enroll/process'
},
{
name
:
this
.
$t
(
'menu.enrollChild.process'
),
path
:
'/enroll/process'
},
// { name: this.$t('menu.enrollChild.brochure'), path: '/enroll/brochure' },
// { name: this.$t('menu.enrollChild.brochure'), path: '/enroll/brochure' },
{
name
:
this
.
$t
(
'menu.enrollChild.apply'
),
path
:
'/enroll/apply'
}
{
name
:
this
.
$t
(
'menu.enrollChild.apply'
),
path
:
'/enroll/apply'
}
...
@@ -120,8 +120,8 @@ export default {
...
@@ -120,8 +120,8 @@ export default {
methods
:
{
methods
:
{
navLeave
()
{
navLeave
()
{
this
.
navData
.
map
(
item
=>
{
this
.
navData
.
map
(
item
=>
{
if
(
item
.
child
er
n
)
{
if
(
item
.
child
re
n
)
{
item
.
child
er
n
.
map
(
cItem
=>
{
item
.
child
re
n
.
map
(
cItem
=>
{
cItem
.
isShow
=
false
cItem
.
isShow
=
false
})
})
}
}
...
@@ -129,7 +129,7 @@ export default {
...
@@ -129,7 +129,7 @@ export default {
this
.
$forceUpdate
()
this
.
$forceUpdate
()
},
},
levelShow
(
item
,
isOut
)
{
levelShow
(
item
,
isOut
)
{
if
(
item
.
child
er
n
)
{
if
(
item
.
child
re
n
)
{
if
(
isOut
)
{
if
(
isOut
)
{
clearTimeout
(
this
.
time
)
clearTimeout
(
this
.
time
)
this
.
time
=
setTimeout
(()
=>
{
this
.
time
=
setTimeout
(()
=>
{
...
@@ -155,8 +155,8 @@ export default {
...
@@ -155,8 +155,8 @@ export default {
return
'name active'
return
'name active'
}
else
{
}
else
{
let
className
=
'name'
let
className
=
'name'
if
(
item
.
child
er
n
)
{
if
(
item
.
child
re
n
)
{
item
.
child
er
n
.
map
(
cData
=>
{
item
.
child
re
n
.
map
(
cData
=>
{
currentPath
.
includes
(
cData
.
path
)
&&
(
className
=
'name active'
)
currentPath
.
includes
(
cData
.
path
)
&&
(
className
=
'name active'
)
})
})
}
}
...
...
pages/index.vue
浏览文件 @
6a92e440
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<!-- 校园风光 -->
<!-- 校园风光 -->
<!--
<school-senery
/>
-->
<!--
<school-senery
/>
-->
<!-- 最新动态 -->
<!-- 最新动态 -->
<
!--
<news
/>
--
>
<
news
/
>
<!-- 视频 -->
<!-- 视频 -->
<Video
style=
"margin-bottom:0.2rem"
/>
<Video
style=
"margin-bottom:0.2rem"
/>
<!-- 右侧功能栏 -->
<!-- 右侧功能栏 -->
...
@@ -22,7 +22,7 @@ import banners from '../components/home/banners.vue'
...
@@ -22,7 +22,7 @@ import banners from '../components/home/banners.vue'
import
projectPosition
from
'../components/home/projectPosition.vue'
import
projectPosition
from
'../components/home/projectPosition.vue'
import
projectFeatures
from
'../components/home/projectFeatures'
import
projectFeatures
from
'../components/home/projectFeatures'
// import schoolSenery from '../components/home/schoolSenery.vue'
// import schoolSenery from '../components/home/schoolSenery.vue'
//
import news from '../components/home/news'
import
news
from
'../components/home/news'
import
presence
from
'../components/home/presence'
import
presence
from
'../components/home/presence'
import
commonProblem
from
'../components/home/commonProblem'
import
commonProblem
from
'../components/home/commonProblem'
import
openClass
from
'../components/home/openClass'
import
openClass
from
'../components/home/openClass'
...
@@ -37,7 +37,7 @@ export default {
...
@@ -37,7 +37,7 @@ export default {
projectPosition
,
projectPosition
,
projectFeatures
,
projectFeatures
,
// schoolSenery,
// schoolSenery,
//
news,
news
,
presence
,
presence
,
commonProblem
,
commonProblem
,
openClass
,
openClass
,
...
...
pages/project-intro/introduce.vue
浏览文件 @
6a92e440
...
@@ -44,11 +44,11 @@ export default {
...
@@ -44,11 +44,11 @@ export default {
{
{
name
:
this
.
$t
(
'menu.projectChild.bg'
),
name
:
this
.
$t
(
'menu.projectChild.bg'
),
path
:
'/project-intro/introduce'
path
:
'/project-intro/introduce'
},
{
name
:
this
.
$t
(
'menu.newsChild.hot'
),
path
:
'/news/hot'
}
}
// {
// name: this.$t('menu.newsChild.hot'),
// path: '/news/hot'
// }
]
]
}
}
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论