Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-online-pc
Commits
4648ac4c
提交
4648ac4c
authored
5月 08, 2021
作者:
lihuihui
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
优化
上级
19c32424
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
35 行增加
和
25 行删除
+35
-25
Head.vue
components/Head.vue
+22
-20
Link.vue
components/Link.vue
+6
-0
commonProblem.vue
components/home/commonProblem.vue
+6
-4
news.vue
components/home/news.vue
+1
-1
没有找到文件。
components/Head.vue
浏览文件 @
4648ac4c
...
@@ -3,11 +3,9 @@
...
@@ -3,11 +3,9 @@
<div
class=
"color-bar"
></div>
<div
class=
"color-bar"
></div>
<div
class=
"head-top-content"
>
<div
class=
"head-top-content"
>
<div
class=
"max-width-content"
>
<div
class=
"max-width-content"
>
<img
<app-link
:item=
"
{ path: '/' }">
src=
"https://zws-imgs-pub.ezijing.com/static/public/307f688850f8308a5c944bd129436fe0.png"
<img
src=
"https://zws-imgs-pub.ezijing.com/static/public/307f688850f8308a5c944bd129436fe0.png"
/>
alt=
""
</app-link>
@
click=
"goPage('/')"
/>
<div
class=
"user"
v-if=
"user.id"
>
<div
class=
"user"
v-if=
"user.id"
>
<span>
{{
user
.
realname
}}
</span
<span>
{{
user
.
realname
}}
</span
><em>
|
</em><span
class=
"logout"
@
click=
"logout"
>
退出
</span>
><em>
|
</em><span
class=
"logout"
@
click=
"logout"
>
退出
</span>
...
@@ -44,14 +42,26 @@
...
@@ -44,14 +42,26 @@
@
mouseenter=
"levelShow(level2Item)"
@
mouseenter=
"levelShow(level2Item)"
@
mouseleave=
"levelShow(level2Item, 'out')"
@
mouseleave=
"levelShow(level2Item, 'out')"
>
>
<div
@
click=
"goPage(level2Item.path, level2Item.pathType)"
class=
"name"
>
<template
v-if=
"level2Item.pathType === 3"
>
<div
@
click=
"$message('暂未开通,尽请期待')"
class=
"name"
>
{{
level2Item
.
name
}}
{{
level2Item
.
name
}}
</div>
</div>
<div
class=
"el-icon-arrow-right"
v-if=
"level2Item.childern"
></div>
<div
class=
"el-icon-arrow-right"
v-if=
"level2Item.childern"
></div>
</
template
>
<
template
v-else
>
<app-link
:item=
"
{
path: level2Item.path
}">
<div
class=
"name"
>
{{
level2Item
.
name
}}
</div>
</div>
<div
class=
"el-icon-arrow-right"
v-if=
"level2Item.childern"
></div>
</app-link>
</
template
>
</
template
>
</div>
</div>
<
template
v-for=
"(level2Item, level2Index) in item.childern"
>
</template>
</div>
<!-- <template v-for="(level2Item, level2Index) in item.childern">
<div
<div
class="two-level"
class="two-level"
:key="level2Index + 'two-level2'"
:key="level2Index + 'two-level2'"
...
@@ -68,7 +78,7 @@
...
@@ -68,7 +78,7 @@
{{ level3Item.name }}
{{ level3Item.name }}
</div>
</div>
</div>
</div>
</
template
>
</template>
-->
</div>
</div>
</li>
</li>
</template>
</template>
...
@@ -78,7 +88,11 @@
...
@@ -78,7 +88,11 @@
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
AppLink
from
'@/components/Link'
export
default
{
export
default
{
components
:
{
AppLink
},
data
()
{
data
()
{
return
{
return
{
navData
:
[
navData
:
[
...
@@ -88,17 +102,14 @@ export default {
...
@@ -88,17 +102,14 @@ export default {
childern
:
[
childern
:
[
{
{
name
:
'项目背景'
,
name
:
'项目背景'
,
isShow
:
false
,
path
:
'/project-intro/bg'
path
:
'/project-intro/bg'
},
},
{
{
name
:
'项目特色'
,
name
:
'项目特色'
,
isShow
:
false
,
path
:
'/project-intro/charac'
path
:
'/project-intro/charac'
},
},
{
{
name
:
'证书授予'
,
name
:
'证书授予'
,
isShow
:
false
,
path
:
'/project-intro/certificate'
path
:
'/project-intro/certificate'
}
}
]
]
...
@@ -109,12 +120,10 @@ export default {
...
@@ -109,12 +120,10 @@ export default {
childern
:
[
childern
:
[
{
{
name
:
'课程设置'
,
name
:
'课程设置'
,
isShow
:
false
,
path
:
'/about/course'
path
:
'/about/course'
},
},
{
{
name
:
'师资力量'
,
name
:
'师资力量'
,
isShow
:
false
,
path
:
'/about/teacher'
path
:
'/about/teacher'
}
}
]
]
...
@@ -125,12 +134,10 @@ export default {
...
@@ -125,12 +134,10 @@ export default {
childern
:
[
childern
:
[
{
{
name
:
'热点新闻'
,
name
:
'热点新闻'
,
isShow
:
false
,
path
:
'/news/hot'
path
:
'/news/hot'
},
},
{
{
name
:
'教授采访'
,
name
:
'教授采访'
,
isShow
:
false
,
path
:
'/news/interview'
path
:
'/news/interview'
}
}
]
]
...
@@ -141,17 +148,14 @@ export default {
...
@@ -141,17 +148,14 @@ export default {
childern
:
[
childern
:
[
{
{
name
:
'有关申请'
,
name
:
'有关申请'
,
isShow
:
false
,
path
:
'/apply/relevant'
path
:
'/apply/relevant'
},
},
{
{
name
:
'费用资助'
,
name
:
'费用资助'
,
isShow
:
false
,
path
:
'/apply/support'
path
:
'/apply/support'
},
},
{
{
name
:
'常见问题'
,
name
:
'常见问题'
,
isShow
:
false
,
path
:
'/apply/problem'
path
:
'/apply/problem'
}
}
]
]
...
@@ -162,12 +166,10 @@ export default {
...
@@ -162,12 +166,10 @@ export default {
childern
:
[
childern
:
[
{
{
name
:
'杰出校友'
,
name
:
'杰出校友'
,
isShow
:
false
,
path
:
'/alumni/outstanding'
path
:
'/alumni/outstanding'
},
},
{
{
name
:
'校友分享'
,
name
:
'校友分享'
,
isShow
:
false
,
path
:
'/alumni/sharing'
path
:
'/alumni/sharing'
}
}
]
]
...
...
components/Link.vue
浏览文件 @
4648ac4c
...
@@ -8,6 +8,12 @@
...
@@ -8,6 +8,12 @@
<slot
/>
<slot
/>
</nuxt-link>
</nuxt-link>
</
template
>
</
template
>
<
template
v-else
>
<nuxt-link
:to=
"item.path"
>
<slot
/>
</nuxt-link>
</
template
>
</div>
</div>
</template>
</template>
...
...
components/home/commonProblem.vue
浏览文件 @
4648ac4c
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
class=
"common-content-box"
>
<div
class=
"common-content-box"
>
<m-title
:data=
"titleParams"
class=
"m-title"
/>
<m-title
:data=
"titleParams"
class=
"m-title"
/>
<div
class=
"content-mian"
>
<div
class=
"content-mian"
>
<
nuxt-link
to=
"/apply/problem
"
>
<
app-link
:item=
"
{ path: '/news/hot' }
">
<div
class=
"list-box"
>
<div
class=
"list-box"
>
<ul>
<ul>
<li>
<li>
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
</li>
</li>
</ul>
</ul>
</div>
</div>
</
nuxt
-link>
</
app
-link>
<div
class=
"msg-box"
>
<div
class=
"msg-box"
>
<el-input
<el-input
type=
"textarea"
type=
"textarea"
...
@@ -63,11 +63,13 @@
...
@@ -63,11 +63,13 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
mTitle
from
'../../components/home/moduleTitle'
import
mTitle
from
'@/components/home/moduleTitle'
import
AppLink
from
'@/components/Link'
export
default
{
export
default
{
name
:
'commonProblem'
,
name
:
'commonProblem'
,
components
:
{
components
:
{
mTitle
mTitle
,
AppLink
},
},
data
()
{
data
()
{
return
{
return
{
...
...
components/home/news.vue
浏览文件 @
4648ac4c
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
mTitle
from
'
../..
/components/home/moduleTitle'
import
mTitle
from
'
@
/components/home/moduleTitle'
import
AppLink
from
'@/components/Link'
import
AppLink
from
'@/components/Link'
export
default
{
export
default
{
name
:
'news'
,
name
:
'news'
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论