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
06ad64a8
提交
06ad64a8
authored
4月 17, 2022
作者:
matian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
updates
上级
e9945275
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
42 行增加
和
36 行删除
+42
-36
CertificateQuery.vue
src/modules/query/components/CertificateQuery.vue
+21
-18
LicenseeView.vue
src/modules/query/components/LicenseeView.vue
+21
-18
没有找到文件。
src/modules/query/components/CertificateQuery.vue
浏览文件 @
06ad64a8
...
...
@@ -81,20 +81,27 @@ function handleOther() {
/>
-->
<van-field
v-model=
"FormInfo.code"
center
:center=
"true"
clearable
label=
"验证码"
placeholder=
"请输入验证码"
:rules=
"[
{ required: true, message: '请输入验证码' }]"
>
<template
#
button
>
<van-button
size=
"small"
type=
"primary"
round
block
@
click=
"getCode"
:disabled=
"isDisposed"
>
{{
isDisposed
?
`${time
}
s后重新获取`
:
'获取验证码'
}}
<
/van-button
>
<van-button
class=
"btn_code"
size=
"small"
type=
"default"
round
block
@
click=
"getCode"
:disabled=
"isDisposed"
>
{{
isDisposed
?
`${time
}
s后重新获取`
:
'获取验证码'
}}
<
/van-butto
n
>
<
/template
>
<
/van-field
>
<
/van-cell-group
>
<
div
style
=
"margin-top: 0.93rem
"
>
<
div
class
=
"btn_query
"
>
<
van
-
button
round
block
...
...
@@ -115,11 +122,16 @@ function handleOther() {
<
/template
>
<
style
lang
=
"scss"
scoped
>
.
main_content
{
// width: 6.9rem;
height
:
8.02
rem
;
padding
:
0.23
rem
0.3
rem
0
0.
3
rem
;
padding
-
top
:
0.5
3
rem
;
background
:
#
ffffff
;
border
-
radius
:
0.2
rem
;
.
btn_query
{
padding
:
0.23
rem
0.3
rem
0
0.3
rem
;
}
.
btn_code
{
background
-
color
:
rgb
(
3
,
57
,
116
);
}
.
main_content_card
{
.
main_content_card_img
{
width
:
100
%
;
...
...
@@ -148,17 +160,8 @@ function handleOther() {
font
-
weight
:
400
;
color
:
#
ffffff
;
}
.
van
-
field__
contro
l
{
margin
-
left
:
-
0.4
rem
!
important
;
.
van
-
field__
labe
l
{
width
:
1.2
rem
;
}
// .van-cell
{
// padding: var(--van-cell-horizontal-padding);
//
}
// :root
{
// --van-cell-horizontal-padding: var(--van-padding-md);
//
}
// :root
{
// --van-padding-md: 7px !important;
//
}
}
<
/style
>
src/modules/query/components/LicenseeView.vue
浏览文件 @
06ad64a8
...
...
@@ -18,45 +18,48 @@ const handleLicenseList = () => {
}
</
script
>
<
template
>
<div
class=
"main_content"
>
<div
v-if=
"data.list.length > 0
"
>
<div
class=
"
main_content_list"
v-for=
"(item, index) in data.list"
:key=
"index
"
>
<img
class=
"img
_top
"
:src=
"item.avatar"
/>
<div
class=
"img_bottom"
>
<div
class=
"img_bottom_people"
>
{{
item
.
batch_name
}}
</div
>
<div
class=
"img_bottom_name"
>
{{
item
.
name
}}
</div>
<div
class=
"img_bottom_cardnum"
>
证书编号
</div>
<div
class=
"img_bottom_num"
>
{{
item
.
certificate_number
}}
</div>
</div>
<div
v-if=
"data.list.length > 0"
class=
"main_content"
>
<div
class=
"main_content_list"
v-for=
"(item, index) in data.list"
:key=
"index
"
>
<div
class=
"
img_top
"
>
<img
class=
"img"
:src=
"item.avatar"
/>
</div
>
<div
class=
"img_bottom"
>
<div
class=
"img_bottom_people"
>
{{
item
.
batch_
name
}}
</div>
<div
class=
"img_bottom_name"
>
{{
item
.
name
}}
</div>
<div
class=
"img_bottom_cardnum"
>
证书编号
</div>
<
div
class=
"img_bottom_num"
>
{{
item
.
certificate_number
}}
<
/div>
</div>
</div>
<van-empty
v-else
description=
"暂无持证人"
/>
</div>
<van-empty
v-else
description=
"暂无持证人"
/>
</
template
>
<
style
lang=
"scss"
scoped
>
.main_content
{
height
:
8
.02rem
;
padding
:
0
.23rem
0
.31rem
0
0
.31rem
;
background
:
#ffffff
;
border-radius
:
0
.2rem
;
display
:
flex
;
justify-content
:
space-around
;
// align-items: center;
flex-wrap
:
wrap
;
.main_content_list
{
width
:
45%
;
height
:
4
.54rem
;
margin-top
:
0
.2rem
;
border-radius
:
0
.2rem
;
box-sizing
:
border-box
;
.img_top
{
width
:
100%
;
height
:
2
.6rem
;
background
:
red
;
width
:
3
.04rem
;
height
:
3
.6rem
;
border-top-left-radius
:
0
.2rem
;
border-top-right-radius
:
0
.2rem
;
.img
{
width
:
100%
;
height
:
100%
;
display
:
block
;
border-top-left-radius
:
0
.2rem
;
border-top-right-radius
:
0
.2rem
;
object-fit
:
cover
;
}
}
.img_bottom
{
height
:
1
.94rem
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论