Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-psp-show-h5
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-psp-show-h5
Commits
cb7fcea1
提交
cb7fcea1
authored
4月 20, 2022
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: 首页新增权益查看
上级
0a7e98f8
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
94 行增加
和
0 行删除
+94
-0
QueryView.vue
src/modules/home/components/QueryView.vue
+92
-0
Index.vue
src/modules/home/views/Index.vue
+2
-0
没有找到文件。
src/modules/home/components/QueryView.vue
0 → 100644
浏览文件 @
cb7fcea1
<
template
>
<AppCard
title=
"权益查看"
id=
"query"
>
<div
class=
"query"
>
<div
class=
"query-left"
>
<div
class=
"box box-avatar"
>
<router-link
to=
"/query?active=0"
>
<h2>
<img
src=
"https://webapp-pub.ezijing.com/project/prp-h5/query_icon_1.png"
style=
"width: 0.48rem"
/>
持证人展示
</h2>
<p
class=
"t1"
>
先人一步 胜人一筹
</p>
<p
class=
"t2"
>
去看看
</p>
</router-link>
</div>
</div>
<div
class=
"query-right"
>
<div
class=
"box"
>
<router-link
to=
"/query?active=1"
>
<h2>
<img
src=
"https://webapp-pub.ezijing.com/project/prp-h5/query_icon_2.png"
style=
"width: 0.38rem"
/>
证书查询
</h2>
<p
class=
"t1"
>
考试通过后可查看
</p>
</router-link>
</div>
<div
class=
"box"
>
<router-link
to=
"/query?active=2"
>
<h2>
<img
src=
"https://webapp-pub.ezijing.com/project/prp-h5/query_icon_3.png"
style=
"width: 0.48rem"
/>
名片展示
</h2>
<p
class=
"t1"
>
持证人专属
</p>
</router-link>
</div>
</div>
</div>
</AppCard>
</
template
>
<
style
lang=
"scss"
scoped
>
.query
{
display
:
flex
;
justify-content
:
space-between
;
.box
{
padding
:
0
.22rem
0
.2rem
;
width
:
3
.33rem
;
height
:
1
.56rem
;
background
:
#fff
url(https://webapp-pub.ezijing.com/project/prp-h5/query_bg_2.png)
no-repeat
;
background-size
:
contain
;
border-radius
:
0
.2rem
;
box-sizing
:
border-box
;
h2
{
display
:
flex
;
align-items
:
center
;
font-size
:
0
.3rem
;
font-weight
:
500
;
color
:
#4e4e4e
;
}
img
{
margin-right
:
0
.1rem
;
}
.t1
{
margin-top
:
0
.14rem
;
font-size
:
0
.26rem
;
color
:
#033974
;
}
.t2
{
display
:
inline-block
;
padding
:
0
0
.2rem
;
margin-top
:
0
.35rem
;
font-size
:
0
.22rem
;
line-height
:
0
.4rem
;
color
:
#ffffff
;
background-color
:
#033974
;
}
}
.box
+
.box
{
margin-top
:
0
.2rem
;
}
.box-avatar
{
height
:
3
.36rem
;
background
:
#fff
url(https://webapp-pub.ezijing.com/project/prp-h5/query_bg_1.png)
no-repeat
;
background-size
:
contain
;
}
}
</
style
>
src/modules/home/views/Index.vue
浏览文件 @
cb7fcea1
...
...
@@ -6,6 +6,7 @@ import Banner from '../components/Banner.vue'
import
Menu
from
'../components/Menu.vue'
import
AdmissionGuide
from
'../components/AdmissionGuide.vue'
import
LearningMap
from
'../components/LearningMap.vue'
import
QueryView
from
'../components/QueryView.vue'
// import ExamStrategy from '../components/ExamStrategy.vue'
// import TeamRanking from '../components/TeamRanking.vue'
// import Questions from '../components/Questions.vue'
...
...
@@ -36,6 +37,7 @@ onMounted(() => {
<!-- 学习地图 -->
<LearningMap
:docs=
"data.learning_map_docs"
></LearningMap>
<!-- 权益查看 -->
<QueryView></QueryView>
<!-- 荣誉总榜 -->
<!--
<TeamRanking></TeamRanking>
-->
<!-- 考试攻略 -->
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论