Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-www-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-www-pc
Commits
a1a6f9d2
提交
a1a6f9d2
authored
11月 03, 2021
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
校友故事增加查看更多
上级
23b4d169
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
40 行增加
和
25 行删除
+40
-25
alumniStories.vue
components/home/alumniStories.vue
+12
-0
serviceCase.vue
components/home/serviceCase.vue
+28
-25
没有找到文件。
components/home/alumniStories.vue
浏览文件 @
a1a6f9d2
...
...
@@ -5,6 +5,9 @@
<div
class=
"line"
></div>
<div
class=
"text"
>
{{
$t
(
'home.alumni.title'
)
}}
</div>
</div>
<div
class=
"right-text"
@
click=
"$router.push(
{ path: '/alumnus/story' })">
{{
$t
(
'viewMore'
)
}}
</div>
</div>
<div
:class=
"isScale ? 'small-tit max-width scale' : 'small-tit max-width'"
>
{{
$t
(
'home.alumni.des'
)
}}
</div>
<div
class=
"swiper-content"
@
mouseenter=
"swiperStop"
@
mouseleave=
"swiperStart"
>
...
...
@@ -116,6 +119,15 @@ export default {
margin-left
:
9px
;
}
}
.right-text
{
margin-left
:
auto
;
margin-top
:
18px
;
font-size
:
16px
;
font-weight
:
300
;
line-height
:
34px
;
color
:
#9B9B9B
;
cursor
:
pointer
;
}
}
.small-tit
{
font-size
:
24px
;
...
...
components/home/serviceCase.vue
浏览文件 @
a1a6f9d2
...
...
@@ -9,12 +9,12 @@
{{
$t
(
'viewMore'
)
}}
</div>
</div>
<div
class=
"swiper-content"
@
mouseenter=
"swiperStop"
@
mouseleave=
"swiperStart"
>
<div
class=
"swiper-content"
@
mouseenter=
"swiperStop"
@
mouseleave=
"swiperStart"
>
<div
v-swiper:mySwiper=
"swiperOption"
ref=
"mySwiper"
>
<div
class=
"swiper-wrapper"
>
<div
class=
"swiper-slide"
v-for=
"(item, index) in listData"
:key=
"index"
>
<app-link
:item=
"
{ news: { data: item, path: '/about/news' } }">
<img
:src=
"item.web_img_uri"
>
<img
:src=
"item.web_img_uri"
/
>
<div
class=
"pop-txt-box"
>
{{
item
.
title
}}
</div>
</app-link>
</div>
...
...
@@ -31,7 +31,7 @@ export default {
components
:
{
appLink
},
data
()
{
data
()
{
return
{
listData
:
[],
swiperOption
:
{
...
...
@@ -60,7 +60,7 @@ export default {
},
computed
:
{
swiper
()
{
return
this
.
$refs
.
mySwiper
.
swiper
;
return
this
.
$refs
.
mySwiper
.
swiper
}
},
methods
:
{
...
...
@@ -74,20 +74,20 @@ export default {
}
</
script
>
<
style
lang=
"scss"
scoped
>
.class-content
{
.class-content
{
padding-top
:
87px
;
width
:
1200px
;
margin
:
0
auto
;
.title-content
{
.title-content
{
display
:
flex
;
.left-title
{
.left-title
{
display
:
flex
;
.line
{
.line
{
width
:
6px
;
height
:
34px
;
background
:
#
AA
1941
;
background
:
#
aa
1941
;
}
.text
{
.text
{
font-size
:
34px
;
font-weight
:
bold
;
line-height
:
34px
;
...
...
@@ -95,41 +95,43 @@ export default {
margin-left
:
9px
;
}
}
.right-text
{
.right-text
{
margin-left
:
auto
;
margin-top
:
18px
;
font-size
:
16px
;
font-weight
:
300
;
line-height
:
34px
;
color
:
#9
B9B9B
;
color
:
#9
b9b9b
;
cursor
:
pointer
;
// transform: translateY(-34px);
}
}
.swiper-content
{
.swiper-content
{
padding-top
:
20px
;
position
:
relative
;
.swiper-slide
{
.swiper-slide
{
position
:
relative
;
img
{
img
{
width
:
100%
;
display
:
block
;
}
.pop-txt-box
{
width
:
100%
;
background
:
rgba
(
0
,
0
,
0
,
.6
);
.pop-txt-box
{
position
:
absolute
;
left
:
0
;
right
:
0
;
bottom
:
0
;
background
:
rgba
(
0
,
0
,
0
,
0
.6
);
height
:
76px
;
padding-left
:
33px
;
line-height
:
76px
;
font-size
:
24px
;
color
:
#
FFFFFF
;
color
:
#
ffffff
;
overflow
:
hidden
;
text-overflow
:ellipsis
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
transform
:
translateY
(
-76px
);
}
}
.prev-button
{
.prev-button
{
position
:
absolute
;
top
:
50%
;
left
:
30px
;
...
...
@@ -139,8 +141,9 @@ export default {
background-size
:
100%
100%
;
z-index
:
999
;
cursor
:
pointer
;
transform
:
translateY
(
-50%
);
}
.next-button
{
.next-button
{
position
:
absolute
;
top
:
50%
;
right
:
30px
;
...
...
@@ -150,7 +153,8 @@ export default {
background-size
:
100%
100%
;
z-index
:
999
;
cursor
:
pointer
;
transform
:
translateY
(
-50%
);
}
}
}
</
style
>
\ No newline at end of file
</
style
>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论