Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-online-pc
Commits
9b7ddf33
提交
9b7ddf33
authored
5月 06, 2022
作者:
matian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat:加州浸会大学新增校园一览
上级
f39ef228
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
64 行增加
和
0 行删除
+64
-0
Menu.vue
components/layout/pc/Menu.vue
+12
-0
zh-CN.js
langs/zh-CN.js
+1
-0
campusList.vue
pages/campusList/campusList.vue
+0
-0
TabContent.vue
pages/campusList/components/TabContent.vue
+51
-0
没有找到文件。
components/layout/pc/Menu.vue
浏览文件 @
9b7ddf33
...
@@ -78,6 +78,18 @@ export default {
...
@@ -78,6 +78,18 @@ export default {
// { name: this.$t('menu.courseChild.teachers'), path: '/about/teacher' }
// { name: this.$t('menu.courseChild.teachers'), path: '/about/teacher' }
]
]
},
},
// 校园一览
{
name
:
this
.
$t
(
'menu.campusList'
),
path
:
'/campusList/campusList'
// childern: [
// { name: this.$t('menu.projectChild.bg'), path: '/project-intro/introduce' },
// { name: this.$t('menu.newsChild.hot'), path: '/news/hot' }
// // { name: this.$t('menu.projectChild.feature'), path: '/project-intro/charac' },
// // { name: this.$t('menu.projectChild.cert'), path: '/project-intro/certificate' }
// ]
},
// 学历认证
// 学历认证
{
{
name
:
this
.
$t
(
'menu.academic'
),
name
:
this
.
$t
(
'menu.academic'
),
...
...
langs/zh-CN.js
浏览文件 @
9b7ddf33
...
@@ -15,6 +15,7 @@ export default {
...
@@ -15,6 +15,7 @@ export default {
returnPolicy
:
'归国政策'
,
returnPolicy
:
'归国政策'
,
question
:
'常见问题'
,
question
:
'常见问题'
,
apply
:
'报名申请'
,
apply
:
'报名申请'
,
campusList
:
'校园一览'
,
projectChild
:
{
projectChild
:
{
bg
:
'项目介绍'
,
bg
:
'项目介绍'
,
feature
:
'项目特色'
,
feature
:
'项目特色'
,
...
...
pages/campusList/campusList.vue
0 → 100644
浏览文件 @
9b7ddf33
差异被折叠。
点击展开。
pages/campusList/components/TabContent.vue
0 → 100644
浏览文件 @
9b7ddf33
<
template
>
<ul
class=
"tab-content"
>
<li
v-for=
"(item, index) in items"
:key=
"index"
:class=
"activeIndex === index && 'active'"
@
click=
"tabChange(index)"
>
{{
item
}}
</li>
</ul>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
items
:
[
'图书馆'
,
'实验室'
,
'餐厅&住宿'
,
'运动场'
,
'校园风光'
,
'校园活动'
,
'毕业典礼'
],
activeIndex
:
0
}
},
methods
:
{
tabChange
(
n
)
{
this
.
activeIndex
=
n
this
.
$emit
(
'tabChange'
,
n
)
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.tab-content
{
// padding-top: 0.2rem;
display
:
flex
;
justify-content
:
center
;
li
{
min-width
:
106px
;
height
:
38px
;
text-align
:
center
;
line-height
:
38px
;
font-size
:
20px
;
font-weight
:
bold
;
color
:
#333333
;
position
:
relative
;
margin-left
:
16px
;
&
.active
{
background
:
#aa1941
;
color
:
#ffffff
;
}
}
}
</
style
>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论