Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-online-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-online-pc
Commits
984521f3
提交
984521f3
authored
9月 20, 2022
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: update
上级
d7c15e69
全部展开
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
19 行增加
和
333 行删除
+19
-333
Card.vue
components/Card.vue
+5
-17
projectFeatures.vue
components/home/projectFeatures.vue
+9
-311
projectPosition.vue
components/home/projectPosition.vue
+0
-0
Head.vue
components/layout/pc/Head.vue
+4
-4
zh-CN.js
langs/zh-CN.js
+1
-1
没有找到文件。
components/Card.vue
浏览文件 @
984521f3
...
...
@@ -22,15 +22,11 @@ export default {
</
script
>
<
style
lang=
"scss"
>
.is-pc
{
.card
{
// margin: 0.2rem 0.15rem;
}
.is-pc
{
.card-hd
{
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
// margin-bottom: 0.15rem;
}
.card-hd__title
{
flex
:
1
;
...
...
@@ -45,13 +41,8 @@ export default {
color
:
#9b9b9b
;
cursor
:
pointer
;
}
.card-bd
{
}
}
.is-h5
{
.card
{
margin
:
0
.2rem
0
.15rem
;
}
.is-h5
{
.card-hd
{
display
:
flex
;
align-items
:
center
;
...
...
@@ -60,17 +51,14 @@ export default {
}
.card-hd__title
{
flex
:
1
;
border-left
:
0
.03rem
solid
#aa1941
;
padding-left
:
0
.05rem
;
font-size
:
0
.17rem
;
font-size
:
0
.14rem
;
font-weight
:
bold
;
line-height
:
1
;
line-height
:
0
.28rem
;
color
:
#424242
;
}
.card-hd__aside
{
font-size
:
0
.1rem
;
color
:
#9b9b9b
;
}
.card-bd
{
}
}
</
style
>
components/home/projectFeatures.vue
浏览文件 @
984521f3
<
template
>
<div
class=
"service-content max-width-center"
>
<div
:class=
"isMobile ? 'is-h5' : 'is-pc'"
>
<card
:title=
"$t('home.project.title')"
v-if=
"!isMobile"
>
<!--
<ul
class=
"nav-content"
>
<li
v-for=
"(item, index) in data"
:key=
"index"
>
<img
:src=
"item.icon"
class=
"icon"
/>
<img
v-if=
"!isMobile"
:src=
"item.iconActive"
class=
"icon-active"
/>
<div
class=
"text"
v-html=
"item.text"
></div>
</li>
</ul>
-->
<!--
<div
class=
"swiperOptions"
@
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"
>
<div
class=
"item_media"
>
<img
:src=
"item.web_img_uri"
/>
</div>
<div
class=
"item_desc"
>
<div
class=
"item_desc_tit"
>
{{
item
.
item_desc_tit
}}
</div>
<div
class=
"item_desc_con"
>
{{
item
.
item_desc_con
}}
</div>
</div>
</div>
</div>
<div
class=
"prev-button"
v-if=
"!isMobile"
></div>
<div
class=
"next-button"
v-if=
"!isMobile"
></div>
</div>
</div>
-->
<div
class=
"max-width-center"
>
<card
:title=
"$t('home.project.title')"
>
<div
class=
"card-list"
>
<div
class=
"card-item"
v-for=
"(item, index) in listData"
:key=
"index"
>
<div
class=
"item_media"
>
...
...
@@ -38,38 +13,6 @@
</div>
</div>
</card>
<div
v-else
>
<div
class=
"tit"
v-if=
"isMobile"
>
项目优势
</div>
<!--
<div
class=
"swiperOptions"
@
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"
>
<img
:src=
"item.web_img_uri"
/>
<div
class=
"item_desc"
>
<div
class=
"item_desc_tit"
>
{{
item
.
item_desc_tit
}}
</div>
<div
class=
"item_desc_con"
>
{{
item
.
item_desc_con
}}
</div>
</div>
</div>
</div>
<div
class=
"prev-button"
v-if=
"!isMobile"
></div>
<div
class=
"next-button"
v-if=
"!isMobile"
></div>
</div>
</div>
-->
<div
class=
"card-list-outer"
>
<div
class=
"card-list"
>
<div
class=
"card-item"
v-for=
"(item, index) in listData"
:key=
"index"
>
<div
class=
"item_media"
>
<img
:src=
"item.web_img_uri"
/>
</div>
<div
class=
"item_desc"
>
<div
class=
"item_desc_tit"
>
{{
item
.
item_desc_tit
}}
</div>
<div
class=
"item_desc_con"
v-html=
"item.item_desc_con"
></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</
template
>
<
script
>
...
...
@@ -163,121 +106,12 @@ export default {
]
}
},
methods
:
{
goPage
(
path
)
{
if
(
path
===
''
)
{
// this.$message('暂未开通,尽请期待。')
return
}
window
.
open
(
path
)
}
},
mounted
()
{
// console.log(this.isMobile)
},
computed
:
{
isMobile
()
{
return
this
.
$store
.
state
.
isMobile
},
swiper
()
{
return
this
.
$refs
.
mySwiper
.
swiper
}
},
methods
:
{
swiperStop
()
{
this
.
swiper
.
autoplay
.
stop
()
},
swiperStart
()
{
this
.
swiper
.
autoplay
.
start
()
}
}
methods
:
{}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.is-pc
{
.swiperOptions
{
width
:
1200px
;
position
:
relative
;
margin-top
:
17px
;
.swiper-wrapper
{
width
:
100%
;
display
:
flex
;
.swiper-slide
{
width
:
250px
;
height
:
569px
;
overflow
:
hidden
;
position
:
relative
;
.item_media
{
width
:
100%
;
height
:
100%
;
position
:
absolute
;
left
:
0
;
top
:
0
;
img
{
transition
:
0
.3s
;
width
:
100%
;
height
:
100%
;
}
&
:after
{
content
:
''
;
display
:
block
;
width
:
100%
;
height
:
100%
;
position
:
absolute
;
top
:
0
;
left
:
0
;
background
:
rgba
(
0
,
0
,
0
,
0
.7
);
}
}
.item_desc
{
position
:
absolute
;
left
:
0
;
top
:
0
;
width
:
250px
;
height
:
349px
;
// background-color: #ededed;
opacity
:
1
;
display
:
flex
;
justify-content
:
flex-start
;
align-items
:
flex-start
;
flex-direction
:
column
;
padding
:
34px
37px
53px
33px
;
// transform-origin: bottom;
transform
:
translateY
(
450px
);
transition
:
0
.3s
;
.item_desc_tit
{
font-size
:
20px
;
font-weight
:
400
;
color
:
#fff
;
margin-top
:
34px
;
}
.item_desc_con
{
font-size
:
16px
;
font-weight
:
300
;
color
:
#fff
;
margin-top
:
34px
;
line-height
:
32px
;
}
}
}
.swiper-slide
:hover
{
.item_media
{
img
{
transform
:
scale
(
1
.1
);
}
}
.item_desc
{
// background-color: #fff;
transform
:
translateY
(
160px
);
.item_desc_tit
{
border-bottom
:
1px
solid
#f3f4f4
;
}
}
}
}
}
.card-list
{
width
:
1200px
;
position
:
relative
;
...
...
@@ -395,129 +229,28 @@ export default {
}
}
}
.service-content
{
padding-top
:
64px
;
.nav-content
{
display
:
flex
;
justify-content
:
flex-start
;
padding-top
:
15px
;
li
{
width
:
224px
;
height
:
230px
;
padding-top
:
53px
;
margin-right
:
20px
;
box-sizing
:
border-box
;
background
:
#f9f8f8
;
// background: #fff;
// box-shadow: 0px 4px 38px rgba(142, 30, 34, 0.41);
cursor
:
pointer
;
transition
:
all
0
.3s
;
img
{
width
:
80px
;
height
:
80px
;
display
:
block
;
margin
:
0
auto
;
}
.icon-active
{
display
:
none
;
}
&
:hover
{
background
:
#aa1941
;
box-shadow
:
0px
4px
20px
rgba
(
142
,
30
,
34
,
0
.41
);
.text
{
color
:
#fff
;
}
.icon
{
display
:
none
;
}
.icon-active
{
display
:
block
;
}
}
.text
{
font-size
:
18px
;
color
:
#666666
;
margin-top
:
20px
;
text-align
:
center
;
font-weight
:
400
;
}
}
}
}
.max-width-center
{
width
:
1212px
;
margin
:
0
auto
;
margin
:
64px
auto
0
;
}
}
.is-h5
{
.tit
{
font-size
:
0
.14rem
;
font-weight
:
bold
;
line-height
:
0
.28rem
;
color
:
#424242
;
}
.swiperOptions
{
position
:
relative
;
margin-top
:
0
.08rem
;
.swiper-wrapper
{
width
:
100%
;
display
:
flex
;
.swiper-slide
{
width
:
1
.93rem
;
height
:
4rem
;
img
{
width
:
1
.93rem
;
}
.item_desc
{
width
:
1
.93rem
;
height
:
2
.73rem
;
background-color
:
#ededed
;
opacity
:
1
;
display
:
flex
;
justify-content
:
flex-start
;
align-items
:
flex-start
;
flex-direction
:
column
;
padding
:
0
.17rem
0
.18rem
0
0
.17rem
;
.item_desc_tit
{
font-size
:
0
.1rem
;
font-weight
:
400
;
color
:
#333333
;
margin-top
:
0
.17rem
;
white-space
:
nowrap
;
}
.item_desc_con
{
font-size
:
0
.08rem
;
font-weight
:
300
;
color
:
#666666
;
margin-top
:
0
.17rem
;
line-height
:
0
.16rem
;
}
}
.item_desc
:hover
{
background-color
:
#fff
;
.item_desc_tit
{
border-bottom
:
1px
solid
#434343
;
}
}
}
}
}
.card-list-outer
{
overflow-x
:
auto
;
.max-width-center
{
padding
:
0
.2rem
0
.3rem
0
.2rem
0
.3rem
;
}
.card-list
{
width
:
12rem
;
overflow-x
:
auto
;
position
:
relative
;
margin-top
:
17px
;
display
:
flex
;
justify-content
:
space-around
;
.card-item
{
width
:
1
.93rem
;
margin-right
:
10px
;
flex
:
0
0
1
.93rem
;
height
:
2
.75rem
;
overflow
:
hidden
;
position
:
relative
;
float
:
left
;
.item_media
{
width
:
100%
;
height
:
100%
;
...
...
@@ -576,40 +309,5 @@ export default {
}
}
}
.service-content
{
padding-left
:
0
.32rem
;
padding-right
:
0
.32rem
;
.tit
{
font-size
:
0
.14rem
;
font-weight
:
bold
;
line-height
:
0
.28rem
;
color
:
#424242
;
}
ul
{
display
:
flex
;
overflow-x
:
scroll
;
-webkit-overflow-scrolling
:
touch
;
}
li
{
min-width
:
1
.15rem
;
background
:
#ffffff
;
margin-right
:
0
.1rem
;
padding-top
:
0
.11rem
;
img
{
width
:
0
.4rem
;
height
:
0
.4rem
;
display
:
block
;
margin
:
0
auto
;
}
.text
{
font-size
:
0
.1rem
;
line-height
:
0
.16rem
;
color
:
#666666
;
padding-top
:
0
.05rem
;
text-align
:
center
;
padding-bottom
:
0
.1rem
;
}
}
}
}
</
style
>
components/home/projectPosition.vue
浏览文件 @
984521f3
差异被折叠。
点击展开。
components/layout/pc/Head.vue
浏览文件 @
984521f3
...
...
@@ -162,13 +162,13 @@ li {
cursor
:
pointer
;
}
.login
{
background
:
#aa1941
;
color
:
#fff
;
}
.register
{
color
:
#333333
;
border
:
1px
solid
#eaeaea
;
}
.register
{
background
:
#aa1941
;
color
:
#fff
;
}
}
.language
{
margin-left
:
24px
;
...
...
langs/zh-CN.js
浏览文件 @
984521f3
...
...
@@ -3,7 +3,7 @@ export default {
menu
:
{
out
:
'退出'
,
fastLogin
:
'快速登录'
,
register
:
'
注册
'
,
register
:
'
马上报名
'
,
project
:
'项目介绍'
,
course
:
'项目优势'
,
school
:
'院校介绍'
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论