Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-online-pc
Commits
256c9f86
提交
256c9f86
authored
3月 07, 2022
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
bug fixes
上级
b4343e5a
显示空白字符变更
内嵌
并排
正在显示
16 个修改的文件
包含
57 行增加
和
58 行删除
+57
-58
Menu.vue
components/Menu.vue
+12
-10
contact.vue
components/about/contact.vue
+0
-0
culture.vue
components/about/culture.vue
+0
-0
introduce.vue
components/about/introduce.vue
+0
-0
newList.vue
components/about/newList.vue
+1
-1
tabNav.vue
components/about/tabNav.vue
+22
-21
headmasterMsg.vue
components/home/headmasterMsg.vue
+1
-4
contact.vue
pages/about/contact.vue
+3
-3
culture.vue
pages/about/culture.vue
+3
-3
introduce.vue
pages/about/introduce.vue
+3
-3
_id.vue
pages/about/lesson/_id.vue
+1
-1
index.vue
pages/about/lesson/index.vue
+2
-2
_id.vue
pages/about/message/_id.vue
+1
-1
index.vue
pages/about/message/index.vue
+2
-2
_id.vue
pages/about/news/_id.vue
+1
-1
index.vue
pages/about/news/index.vue
+5
-6
没有找到文件。
components/Menu.vue
浏览文件 @
256c9f86
...
...
@@ -24,9 +24,11 @@
@
mouseenter=
"levelShow(level2Item)"
@
mouseleave=
"levelShow(level2Item, 'out')"
>
<app-link
:item=
"
{
<app-link
:item=
"
{
path: level2Item.path
}">
}"
>
<div
class=
"name"
>
{{
level2Item
.
name
}}
</div>
...
...
@@ -51,14 +53,14 @@ export default {
navData
:
[
{
name
:
'关于紫荆'
,
path
:
'/about
-ezijing
/introduce'
,
path
:
'/about/introduce'
,
childern
:
[
{
name
:
'紫荆简介'
,
path
:
'/about
-ezijing
/introduce'
},
{
name
:
'文化理念'
,
path
:
'/about
-ezijing
/culture'
},
{
name
:
'新闻中心'
,
path
:
'/about
-ezijing
/news'
},
{
name
:
'校长寄语'
,
path
:
'/about
-ezijing
/message'
},
{
name
:
'公开课'
,
path
:
'/about
-ezijing
/lesson'
},
{
name
:
'联系我们'
,
path
:
'/about
-ezijing
/contact'
}
{
name
:
'紫荆简介'
,
path
:
'/about/introduce'
},
{
name
:
'文化理念'
,
path
:
'/about/culture'
},
{
name
:
'新闻中心'
,
path
:
'/about/news'
},
{
name
:
'校长寄语'
,
path
:
'/about/message'
},
{
name
:
'公开课'
,
path
:
'/about/lesson'
},
{
name
:
'联系我们'
,
path
:
'/about/contact'
}
]
},
{
...
...
@@ -110,7 +112,7 @@ export default {
{
name
:
'热点新闻'
,
path
:
'/news/hot'
},
{
name
:
'教授采访'
,
path
:
'/news/interview'
}
]
}
,
}
// {
// name: '招生信息',
// path: '/apply/relevant',
...
...
components/about
-ezijing
/contact.vue
→
components/about/contact.vue
浏览文件 @
256c9f86
File moved
components/about
-ezijing
/culture.vue
→
components/about/culture.vue
浏览文件 @
256c9f86
File moved
components/about
-ezijing
/introduce.vue
→
components/about/introduce.vue
浏览文件 @
256c9f86
File moved
components/about
-ezijing
/newList.vue
→
components/about/newList.vue
浏览文件 @
256c9f86
...
...
@@ -4,7 +4,7 @@
<ul
class=
"list-content"
>
<template
v-for=
"(item, index) in listData"
>
<li
:key=
"index"
>
<app-link
:item=
"
{ news: { data: item, path: '/about
-ezijing
/news' } }">
<app-link
:item=
"
{ news: { data: item, path: '/about/news' } }">
<img
:src=
"item.web_img_uri"
alt=
""
/>
<div
class=
"right-con"
>
<div
class=
"time"
>
{{
formatDate
(
item
.
start_time
)
}}
</div>
...
...
components/about
-ezijing
/tabNav.vue
→
components/about/tabNav.vue
浏览文件 @
256c9f86
...
...
@@ -2,9 +2,11 @@
<ul
class=
"tab-content"
>
<li
v-for=
"(item, index) in dataNav"
:class=
"item.pathActive.findIndex(path =>
{
:class=
"
item.pathActive.findIndex(path =>
{
return $route.path.includes(path)
}) !== -1
&&
'active'"
}) !== -1
&&
'active'
"
:key="index"
@click="goPage(item.goPath)"
>
...
...
@@ -19,33 +21,33 @@ export default {
dataNav
:
[
{
name
:
'紫荆简介'
,
goPath
:
'/about
-ezijing
/introduce'
,
pathActive
:
[
'/about
-ezijing
/introduce'
]
goPath
:
'/about/introduce'
,
pathActive
:
[
'/about/introduce'
]
},
{
name
:
'文化理念'
,
goPath
:
'/about
-ezijing
/culture'
,
pathActive
:
[
'/about
-ezijing
/culture'
]
goPath
:
'/about/culture'
,
pathActive
:
[
'/about/culture'
]
},
{
name
:
'新闻中心'
,
goPath
:
'/about
-ezijing
/news'
,
pathActive
:
[
'/about
-ezijing/news'
,
'/about-ezijing
/news-detail'
]
goPath
:
'/about/news'
,
pathActive
:
[
'/about
/news'
,
'/about
/news-detail'
]
},
{
name
:
'校长寄语'
,
goPath
:
'/about
-ezijing
/message'
,
pathActive
:
[
'/about
-ezijing/message'
,
'/about-ezijing
/message-detail'
]
goPath
:
'/about/message'
,
pathActive
:
[
'/about
/message'
,
'/about
/message-detail'
]
},
{
name
:
'公开课'
,
goPath
:
'/about
-ezijing
/lesson'
,
pathActive
:
[
'/about
-ezijing/lesson'
,
'/about-ezijing
/lesson-detail'
]
goPath
:
'/about/lesson'
,
pathActive
:
[
'/about
/lesson'
,
'/about
/lesson-detail'
]
},
{
name
:
'联系我们'
,
goPath
:
'/about
-ezijing
/contact'
,
pathActive
:
[
'/about
-ezijing
/contact'
]
goPath
:
'/about/contact'
,
pathActive
:
[
'/about/contact'
]
}
// {
// name: '招聘信息',
...
...
@@ -55,8 +57,7 @@ export default {
]
}
},
mounted
()
{
},
mounted
()
{},
methods
:
{
goPage
(
path
)
{
this
.
$router
.
push
({
...
...
@@ -67,14 +68,14 @@ export default {
}
</
script
>
<
style
lang=
"scss"
scoped
>
.tab-content
{
.tab-content
{
width
:
160px
;
// height: 420px;
height
:
fit-content
;
background
:
#fff
;
padding-top
:
35px
;
padding-bottom
:
43px
;
li
{
li
{
position
:
relative
;
width
:
100%
;
font-size
:
22px
;
...
...
@@ -83,12 +84,12 @@ export default {
color
:
#777777
;
margin-bottom
:
60px
;
cursor
:
pointer
;
&
:last-child
{
&
:last-child
{
margin
:
0
;
}
&
.active
{
&
.active
{
color
:
rgba
(
170
,
25
,
65
,
1
);
&
:
:
after
{
&
:
:
after
{
content
:
''
;
width
:
8px
;
height
:
40px
;
...
...
components/home/headmasterMsg.vue
浏览文件 @
256c9f86
...
...
@@ -5,10 +5,7 @@
<div
class=
"line"
></div>
<div
class=
"text"
>
校长寄语
</div>
</div>
<div
class=
"right-text"
@
click=
"$router.push(
{ path: '/about-ezijing/message', query: { type: 'img_text_school' } })"
>
<div
class=
"right-text"
@
click=
"$router.push(
{ path: '/about/message', query: { type: 'img_text_school' } })">
查看更多+
</div>
</div>
...
...
pages/about
-ezijing
/contact.vue
→
pages/about/contact.vue
浏览文件 @
256c9f86
...
...
@@ -5,8 +5,8 @@
</div>
</
template
>
<
script
>
import
tab
from
'../../components/about
-ezijing
/tabNav'
import
contactContent
from
'../../components/about
-ezijing
/contact'
import
tab
from
'../../components/about/tabNav'
import
contactContent
from
'../../components/about/contact'
export
default
{
layout
:
'normal'
,
components
:
{
...
...
@@ -16,7 +16,7 @@ export default {
}
</
script
>
<
style
lang=
"scss"
scoped
>
.news-content
{
.news-content
{
width
:
1200px
;
margin
:
0
auto
;
padding-top
:
63px
;
...
...
pages/about
-ezijing
/culture.vue
→
pages/about/culture.vue
浏览文件 @
256c9f86
...
...
@@ -5,8 +5,8 @@
</div>
</
template
>
<
script
>
import
tab
from
'../../components/about
-ezijing
/tabNav'
import
cultureContent
from
'../../components/about
-ezijing
/culture'
import
tab
from
'../../components/about/tabNav'
import
cultureContent
from
'../../components/about/culture'
export
default
{
layout
:
'normal'
,
components
:
{
...
...
@@ -16,7 +16,7 @@ export default {
}
</
script
>
<
style
lang=
"scss"
scoped
>
.culture-content
{
.culture-content
{
width
:
1200px
;
margin
:
0
auto
;
padding-top
:
63px
;
...
...
pages/about
-ezijing
/introduce.vue
→
pages/about/introduce.vue
浏览文件 @
256c9f86
...
...
@@ -5,8 +5,8 @@
</div>
</
template
>
<
script
>
import
tab
from
'../../components/about
-ezijing
/tabNav'
import
intrContent
from
'../../components/about
-ezijing
/introduce'
import
tab
from
'../../components/about/tabNav'
import
intrContent
from
'../../components/about/introduce'
export
default
{
layout
:
'normal'
,
components
:
{
...
...
@@ -16,7 +16,7 @@ export default {
}
</
script
>
<
style
lang=
"scss"
scoped
>
.intr-content
{
.intr-content
{
width
:
1200px
;
margin
:
0
auto
;
padding-top
:
63px
;
...
...
pages/about
-ezijing
/lesson/_id.vue
→
pages/about/lesson/_id.vue
浏览文件 @
256c9f86
...
...
@@ -28,7 +28,7 @@
</div>
</
template
>
<
script
>
import
tab
from
'@/components/about
-ezijing
/tabNav'
import
tab
from
'@/components/about/tabNav'
export
default
{
layout
:
'normal'
,
components
:
{
...
...
pages/about
-ezijing
/lesson/index.vue
→
pages/about/lesson/index.vue
浏览文件 @
256c9f86
...
...
@@ -6,7 +6,7 @@
<ul
class=
"list-content"
>
<template
v-for=
"(item, index) in listData"
>
<li
:key=
"index"
>
<app-link
:item=
"
{ news: { data: item, path: '/about
-ezijing
/lesson' } }">
<app-link
:item=
"
{ news: { data: item, path: '/about/lesson' } }">
<img
:src=
"item.web_img_uri"
alt=
""
/>
<div
class=
"right-con"
>
<div
class=
"time"
>
{{
formatDate
(
item
.
start_time
)
}}
</div>
...
...
@@ -31,7 +31,7 @@
</template>
<
script
>
import
appLink
from
'@/components/Link'
import
tab
from
'@/components/about
-ezijing
/tabNav'
import
tab
from
'@/components/about/tabNav'
export
default
{
layout
:
'normal'
,
components
:
{
tab
,
appLink
},
...
...
pages/about
-ezijing
/message/_id.vue
→
pages/about/message/_id.vue
浏览文件 @
256c9f86
...
...
@@ -28,7 +28,7 @@
</div>
</
template
>
<
script
>
import
tab
from
'@/components/about
-ezijing
/tabNav'
import
tab
from
'@/components/about/tabNav'
export
default
{
layout
:
'normal'
,
components
:
{
...
...
pages/about
-ezijing
/message/index.vue
→
pages/about/message/index.vue
浏览文件 @
256c9f86
...
...
@@ -6,7 +6,7 @@
<ul
class=
"list-content"
>
<template
v-for=
"(item, index) in listData"
>
<li
:key=
"index"
>
<app-link
:item=
"
{ news: { data: item, path: '/about
-ezijing
/message' } }">
<app-link
:item=
"
{ news: { data: item, path: '/about/message' } }">
<img
:src=
"item.web_img_uri"
alt=
""
/>
<div
class=
"right-con"
>
<div
class=
"time"
>
{{
formatDate
(
item
.
start_time
)
}}
</div>
...
...
@@ -31,7 +31,7 @@
</template>
<
script
>
import
appLink
from
'@/components/Link'
import
tab
from
'@/components/about
-ezijing
/tabNav'
import
tab
from
'@/components/about/tabNav'
export
default
{
layout
:
'normal'
,
components
:
{
tab
,
appLink
},
...
...
pages/about
-ezijing
/news/_id.vue
→
pages/about/news/_id.vue
浏览文件 @
256c9f86
...
...
@@ -28,7 +28,7 @@
</div>
</
template
>
<
script
>
import
tab
from
'@/components/about
-ezijing
/tabNav'
import
tab
from
'@/components/about/tabNav'
export
default
{
layout
:
'normal'
,
components
:
{
...
...
pages/about
-ezijing
/news/index.vue
→
pages/about/news/index.vue
浏览文件 @
256c9f86
<
template
>
<div
class=
"news-content"
>
<tab
/>
<new-list
:type=
"type"
/>
<new-list
:type=
"type"
/>
</div>
</
template
>
<
script
>
import
tab
from
'@/components/about
-ezijing
/tabNav'
import
newList
from
'@/components/about
-ezijing
/newList'
import
tab
from
'@/components/about/tabNav'
import
newList
from
'@/components/about/newList'
export
default
{
layout
:
'normal'
,
components
:
{
tab
,
newList
},
...
...
@@ -23,12 +23,11 @@ export default {
return
this
.
$route
.
query
.
type
}
},
methods
:
{
}
methods
:
{}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.pages-box
{
.pages-box
{
display
:
flex
;
padding-bottom
:
50px
;
background
:
#fff
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论