Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
project-online-fi
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
project-online-fi
Commits
35a30cbd
提交
35a30cbd
authored
11月 21, 2022
作者:
lihuihui
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update
上级
7dcfee18
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
113 行增加
和
22 行删除
+113
-22
Banner.vue
src/modules/home/components/Banner.vue
+1
-1
Main.vue
src/modules/home/components/Main.vue
+47
-20
ProjectSystem.vue
src/modules/home/components/ProjectSystem.vue
+65
-1
没有找到文件。
src/modules/home/components/Banner.vue
浏览文件 @
35a30cbd
...
@@ -23,7 +23,7 @@ const list = [{ url: 'https://webapp-pub.ezijing.com/project_online/fi/banner.jp
...
@@ -23,7 +23,7 @@ const list = [{ url: 'https://webapp-pub.ezijing.com/project_online/fi/banner.jp
}
}
.is-h5
{
.is-h5
{
.banner
{
.banner
{
padding
:
0
0
.15
rem
;
padding
:
0
.3
rem
;
}
}
}
}
</
style
>
</
style
>
src/modules/home/components/Main.vue
浏览文件 @
35a30cbd
<
script
lang=
"ts"
setup
>
<
script
lang=
"ts"
setup
>
import
{
Swiper
,
SwiperSlide
}
from
'swiper/vue'
import
{
Navigation
}
from
'swiper'
import
'swiper/css'
import
'swiper/css/navigation'
import
{
useDevice
}
from
'@/composables/useDevice'
import
{
useDevice
}
from
'@/composables/useDevice'
const
{
mobile
}
=
useDevice
()
const
{
mobile
}
=
useDevice
()
const
swiper1
=
ref
(
null
)
const
list
=
[
const
list
=
[
{
{
img
:
'https://webapp-pub.ezijing.com/project_online/fi/main4.png'
,
img
:
'https://webapp-pub.ezijing.com/project_online/fi/main4.png'
,
...
@@ -37,16 +32,23 @@ const list = [
...
@@ -37,16 +32,23 @@ const list = [
</div>
</div>
</div>
</div>
<div
v-else
>
<div
v-else
>
<
Swiper
loop
:slidesPerView=
"1"
:spaceBetween=
"10"
:modules=
"[Navigation]"
@
swiper=
"swiper => (swiper1 = swiper)
"
>
<
div
class=
"card-box
"
>
<
SwiperSlide
v-for=
"(item, index) in list"
:key=
"index"
class=
"main_list
"
>
<
div
class=
"card-item"
v-for=
"(item, index) in list"
:key=
"index
"
>
<img
:src=
"item.img"
alt=
""
class=
"list_img"
/>
<img
:src=
"item.img"
/>
<div
class=
"
list_con
"
>
{{
item
.
desc
}}
</div>
<div
class=
"
text
"
>
{{
item
.
desc
}}
</div>
</
SwiperSlide
>
</
div
>
</
Swiper
>
</
div
>
</div>
</div>
<div
class=
"main3"
>
<div
class=
"main3"
v-if=
"!mobile"
>
核心产品为紫荆教育专属版权产品,站在高起点、高站位、高规格的“三高”教育标准平台上,向社会和企业精
<br
/>
英人士教授与传承“
<span>
格与质
</span>
”、“
<span>
道与术
</span>
”、“
<span>
欲与渔
</span>
”的经营管理品格和能力,主打行业认证类、行业标
<br
/>
准类和定制专属类等三类金融职业类培育体系。
核心产品为紫荆教育专属版权产品,站在高起点、高站位、高规格的“三高”教育标准平台上,向社会和企业精
<br
/>
英人士教授与传承“
<span>
格与质
</span>
”、“
<span>
道与术
</span>
”、“
<span>
欲与渔
</span>
”的经营管理品格和能力,主打行业认证类、行业标
<br
/>
准类和定制专属类等三类金融职业类培育体系。
</div>
</div>
<div
class=
"introduce"
v-else
>
<div
class=
"content"
>
核心产品为紫荆教育专属版权产品,站在高起点、高
<br
/>
站位、高规格的“三高”教育标准平台上,向社会和
<br
/>
企业精英人士教授与传承“
<span>
格与质
</span>
”、“
<span
>
道与
<br
/>
术
</span
>
”、“
<span>
欲与渔
</span>
”的经营管理品格和能力,主打
<br
/>
行业认证类、行业标准类和定制专属类等三类金融职
<br
/>
业类培育体系。
</div>
</div>
</
template
>
</
template
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.is-pc
{
.is-pc
{
...
@@ -141,22 +143,47 @@ const list = [
...
@@ -141,22 +143,47 @@ const list = [
margin-top
:
0
.37rem
;
margin-top
:
0
.37rem
;
}
}
}
}
.main3
{
}
height
:
3
.97rem
;
.card-box
{
padding-top
:
0
.4rem
;
padding-left
:
0
.3rem
;
display
:
flex
;
overflow-x
:
scroll
;
box-sizing
:
border-box
;
.card-item
{
min-width
:
6
.1rem
;
padding
:
0
.2rem
0
.2rem
0
.4rem
;
background-color
:
#ffffff
;
border-radius
:
0
.12rem
;
margin-right
:
0
.2rem
;
img
{
width
:
100%
;
display
:
block
;
}
.text
{
padding-top
:
0
.37rem
;
font-size
:
0
.24rem
;
line-height
:
0
.4rem
;
color
:
#333333
;
}
}
}
.introduce
{
padding
:
0
.4rem
0
.3rem
;
.content
{
background
:
url('https://webapp-pub.ezijing.com/project_online/fi/main2.png')
no-repeat
center
;
background
:
url('https://webapp-pub.ezijing.com/project_online/fi/main2.png')
no-repeat
center
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
font-size
:
0
.26rem
;
font-size
:
0
.26rem
;
font-weight
:
400
;
line-height
:
2
;
color
:
#ffffff
;
color
:
#ffffff
;
text-align
:
justify
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
0
.4rem
0
.4rem
0
0
.4rem
;
padding
:
0
.4rem
0
.45rem
;
margin-top
:
0
.4rem
;
border-radius
:
0
.12rem
;
line-height
:
0
.55rem
;
span
{
span
{
font-size
:
0
.
15
rem
;
font-size
:
0
.
3
rem
;
font-weight
:
bold
;
font-weight
:
bold
;
}
}
text-align
:
center
;
}
}
}
}
</
style
>
</
style
>
src/modules/home/components/ProjectSystem.vue
浏览文件 @
35a30cbd
<
script
lang=
"ts"
setup
>
<
script
lang=
"ts"
setup
>
import
{
useDevice
}
from
'@/composables/useDevice'
const
{
mobile
}
=
useDevice
()
const
authList
:
Array
<
{
img
:
string
;
tit
:
string
;
list
:
any
}
>
=
[
const
authList
:
Array
<
{
img
:
string
;
tit
:
string
;
list
:
any
}
>
=
[
{
{
img
:
'https://webapp-pub.ezijing.com/project_online/fi/tab1_1.png'
,
img
:
'https://webapp-pub.ezijing.com/project_online/fi/tab1_1.png'
,
...
@@ -110,7 +113,7 @@ const universalList: Array<{ img: string; tit: string; list: any }> = [
...
@@ -110,7 +113,7 @@ const universalList: Array<{ img: string; tit: string; list: any }> = [
</
script
>
</
script
>
<
template
>
<
template
>
<div
class=
"main_con"
id=
"product"
>
<div
class=
"main_con"
id=
"product"
v-if=
"!mobile"
>
<div
class=
"con_tit"
>
<div
class=
"con_tit"
>
<div
class=
"tit_img"
>
<div
class=
"tit_img"
>
<img
src=
"https://webapp-pub.ezijing.com/project_online/fi/tit_icon.png"
class=
"img_box"
/>
<img
src=
"https://webapp-pub.ezijing.com/project_online/fi/tit_icon.png"
class=
"img_box"
/>
...
@@ -191,6 +194,23 @@ const universalList: Array<{ img: string; tit: string; list: any }> = [
...
@@ -191,6 +194,23 @@ const universalList: Array<{ img: string; tit: string; list: any }> = [
</el-tabs>
</el-tabs>
</div>
</div>
</div>
</div>
<div
class=
"h5-system"
v-else
>
<h1>
全系列产品体系
</h1>
<div
class=
"tab-btn"
>
<div
class=
"item"
>
<div
class=
"icon"
></div>
<h2>
行业认证类
</h2>
</div>
<div
class=
"item"
>
<div
class=
"icon"
></div>
<h2>
行业标准类
</h2>
</div>
<div
class=
"item"
>
<div
class=
"icon"
></div>
<h2>
行业普及类
</h2>
</div>
</div>
</div>
</template>
</template>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
...
@@ -337,4 +357,48 @@ const universalList: Array<{ img: string; tit: string; list: any }> = [
...
@@ -337,4 +357,48 @@ const universalList: Array<{ img: string; tit: string; list: any }> = [
}
}
}
}
}
}
.h5-system
{
padding
:
0
30px
;
h1
{
font-size
:
0
.32rem
;
font-weight
:
bold
;
color
:
#333333
;
}
.tab-btn
{
padding-top
:
0
.4rem
;
display
:
flex
;
justify-content
:
space-between
;
.item
{
.icon
{
width
:
0
.68rem
;
height
:
0
.68rem
;
margin
:
0
auto
;
}
&
:nth-child
(
1
)
{
.icon
{
background
:
url(https://webapp-pub.oss-cn-beijing.aliyuncs.com/project_online/fi/h5/h-product-i1.png)
;
background-size
:
100%
100%
;
}
}
&
:nth-child
(
2
)
{
.icon
{
background
:
url(https://webapp-pub.oss-cn-beijing.aliyuncs.com/project_online/fi/h5/h-product-i2.png)
;
background-size
:
100%
100%
;
}
}
&
:nth-child
(
3
)
{
.icon
{
background
:
url(https://webapp-pub.oss-cn-beijing.aliyuncs.com/project_online/fi/h5/h-product-i3.png)
;
background-size
:
100%
100%
;
}
}
h2
{
padding-top
:
0
.2rem
;
font-size
:
0
.28rem
;
color
:
#333333
;
line-height
:
100%
;
}
}
}
}
</
style
>
</
style
>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论