Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-www-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-www-pc
Commits
23b4d169
提交
23b4d169
authored
10月 25, 2021
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
updates
上级
69a7e621
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
28 行增加
和
27 行删除
+28
-27
degreeEducation.vue
components/home/degreeEducation.vue
+28
-27
没有找到文件。
components/home/degreeEducation.vue
浏览文件 @
23b4d169
...
@@ -8,14 +8,15 @@
...
@@ -8,14 +8,15 @@
:class=
"indexActive === index && 'active'"
:class=
"indexActive === index && 'active'"
v-for=
"(item, index) in data"
v-for=
"(item, index) in data"
:key=
"index"
:key=
"index"
>
{{
item
.
name
}}
>
{{
item
.
name
}}
</li>
</li>
</ul>
</ul>
<template
v-for=
"(item, index) in data"
>
<template
v-for=
"(item, index) in data"
>
<ul
class=
"tab-right"
:key=
"index"
v-if=
"indexActive === index"
>
<ul
class=
"tab-right"
:key=
"index"
v-if=
"indexActive === index"
>
<li
:key=
"cIndex + 'c'"
v-for=
"(cItem, cIndex) in item.content"
@
click=
"goPage(cItem.path)"
>
<li
:key=
"cIndex + 'c'"
v-for=
"(cItem, cIndex) in item.content"
@
click=
"goPage(cItem.path)"
>
<img
:src=
"cItem.icon"
alt=
""
class=
"icon"
>
<img
:src=
"cItem.icon"
alt=
""
class=
"icon"
/
>
<img
:src=
"cItem.iconActive"
alt=
""
class=
"icon2"
>
<img
:src=
"cItem.iconActive"
alt=
""
class=
"icon2"
/
>
<div
class=
"text"
v-html=
"cItem.text"
></div>
<div
class=
"text"
v-html=
"cItem.text"
></div>
</li>
</li>
</ul>
</ul>
...
@@ -101,12 +102,12 @@ export default {
...
@@ -101,12 +102,12 @@ export default {
{
{
name
:
this
.
$t
(
'home.degree.tabBtn4'
),
name
:
this
.
$t
(
'home.degree.tabBtn4'
),
content
:
[
content
:
[
{
//
{
icon
:
'https://zws-imgs-pub.ezijing.com/static/public/841ff657ca26c0f26da3e24d799ae2a5.png'
,
//
icon: 'https://zws-imgs-pub.ezijing.com/static/public/841ff657ca26c0f26da3e24d799ae2a5.png',
iconActive
:
'https://zws-imgs-pub.ezijing.com/static/public/5785a4d37264a8293b956a3f065f11cf.png'
,
//
iconActive: 'https://zws-imgs-pub.ezijing.com/static/public/5785a4d37264a8293b956a3f065f11cf.png',
text
:
this
.
$t
(
'home.degree.dba'
),
//
text: this.$t('home.degree.dba'),
path
:
''
//
path: ''
},
//
},
{
{
icon
:
'https://zws-imgs-pub.ezijing.com/static/public/aebf1f65a324cff54eb9466bf2fd0b66.png'
,
icon
:
'https://zws-imgs-pub.ezijing.com/static/public/aebf1f65a324cff54eb9466bf2fd0b66.png'
,
iconActive
:
'https://zws-imgs-pub.ezijing.com/static/public/526bebd1d9279c19895c5c4f1a3cfcce.png'
,
iconActive
:
'https://zws-imgs-pub.ezijing.com/static/public/526bebd1d9279c19895c5c4f1a3cfcce.png'
,
...
@@ -134,19 +135,19 @@ export default {
...
@@ -134,19 +135,19 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.degree-content
{
.degree-content
{
padding-top
:
71px
;
padding-top
:
71px
;
.title
{
.title
{
font-size
:
24px
;
font-size
:
24px
;
font-weight
:
bold
;
font-weight
:
bold
;
line-height
:
34px
;
line-height
:
34px
;
color
:
#424242
;
color
:
#424242
;
margin-bottom
:
20px
;
margin-bottom
:
20px
;
}
}
.nav-content
{
.nav-content
{
display
:
flex
;
display
:
flex
;
.tab-left
{
.tab-left
{
li
{
li
{
width
:
156px
;
width
:
156px
;
height
:
42px
;
height
:
42px
;
background
:
#fff
;
background
:
#fff
;
...
@@ -157,46 +158,46 @@ export default {
...
@@ -157,46 +158,46 @@ export default {
font-weight
:
500
;
font-weight
:
500
;
margin-bottom
:
6px
;
margin-bottom
:
6px
;
cursor
:
pointer
;
cursor
:
pointer
;
&
.active
{
&
.active
{
background
:
#
AA
1941
;
background
:
#
aa
1941
;
color
:
#fff
;
color
:
#fff
;
}
}
}
}
}
}
.tab-right
{
.tab-right
{
display
:
flex
;
display
:
flex
;
// margin-left: 18px;
// margin-left: 18px;
li
{
li
{
width
:
156px
;
width
:
156px
;
height
:
186px
;
height
:
186px
;
margin-left
:
18px
;
margin-left
:
18px
;
background
:
#fff
;
background
:
#fff
;
padding-top
:
36px
;
padding-top
:
36px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
transition
:
all
.5s
;
transition
:
all
0
.5s
;
cursor
:
pointer
;
cursor
:
pointer
;
img
{
img
{
display
:
block
;
display
:
block
;
width
:
64px
;
width
:
64px
;
height
:
64px
;
height
:
64px
;
margin
:
0
auto
;
margin
:
0
auto
;
}
}
.icon2
{
.icon2
{
display
:
none
;
display
:
none
;
}
}
&
:hover
{
&
:hover
{
background
:
rgba
(
170
,
25
,
65
,
1
);
background
:
rgba
(
170
,
25
,
65
,
1
);
.icon
{
.icon
{
display
:
none
;
display
:
none
;
}
}
.icon2
{
.icon2
{
display
:
block
;
display
:
block
;
}
}
.text
{
.text
{
color
:
#fff
;
color
:
#fff
;
}
}
}
}
.text
{
.text
{
font-size
:
14px
;
font-size
:
14px
;
line-height
:
18px
;
line-height
:
18px
;
color
:
#666666
;
color
:
#666666
;
...
@@ -207,7 +208,7 @@ export default {
...
@@ -207,7 +208,7 @@ export default {
}
}
}
}
}
}
.max-width-center
{
.max-width-center
{
width
:
1212px
;
width
:
1212px
;
margin
:
0
auto
;
margin
:
0
auto
;
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论