Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-insurance
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.frontend
pica-insurance
提交
45d009a5
提交
45d009a5
编写于
5月 04, 2023
作者:
张敬贤
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add
上级
ac743b78
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
315 行增加
和
0 行删除
+315
-0
index.js
src/router/index.js
+5
-0
index.vue
src/views/insurance-Detection-detail-demo/index.vue
+62
-0
index.vue
src/views/sz-home/index.vue
+248
-0
未找到文件。
src/router/index.js
浏览文件 @
45d009a5
...
@@ -108,6 +108,11 @@ const routerConfig = [
...
@@ -108,6 +108,11 @@ const routerConfig = [
name
:
'insuranceregistersuccess'
,
name
:
'insuranceregistersuccess'
,
component
:
()
=>
import
(
'@/views/insurance-register/register-success.vue'
),
component
:
()
=>
import
(
'@/views/insurance-register/register-success.vue'
),
},
},
{
path
:
'/sz-home'
,
name
:
'sz-home'
,
component
:
()
=>
import
(
'@/views/sz-home/index.vue'
),
},
];
];
// // 无问卷-0001 有问卷未填写-0101 已填写问卷未出结果-0102 已出结果无需领用-0401 已出结果未预约-0201 已预约未采样-0301 已预约已采样-0302
// // 无问卷-0001 有问卷未填写-0101 已填写问卷未出结果-0102 已出结果无需领用-0401 已出结果未预约-0201 已预约未采样-0301 已预约已采样-0302
// const routerMap = {
// const routerMap = {
...
...
src/views/insurance-Detection-detail-demo/index.vue
浏览文件 @
45d009a5
...
@@ -130,6 +130,60 @@
...
@@ -130,6 +130,60 @@
{{
openWebAppBtnName
}}
{{
openWebAppBtnName
}}
</div>
</div>
</div>
</div>
<div
class=
"choose-result"
>
<div
class=
"result-title"
>
请选择您的检测结果
</div>
<div
class=
"result-tips"
>
<div>
根据结果示例图判断您的检测结果
</div>
<div>
结果示例图
</div>
</div>
<div
class=
"result-radio"
>
<van-radio-group
v-model=
"radio"
direction=
"horizontal"
>
<van-radio
name=
"阳性"
>
阳性
</van-radio>
<van-radio
name=
"阳性"
>
阴性
</van-radio>
</van-radio-group>
</div>
</div>
<div
class=
"result-list-img"
>
<div
v-for=
"(item,index) in images"
:key=
"item"
@
click=
"changeImg(index)"
>
<van-image
width=
"100"
height=
"100"
:src=
"item"
/>
</div>
</div>
<div
class=
"result-list-tips"
>
<div>
1.请将带有阳性检测结果的试剂盒和包装盒上的条码一起拍照上传,确保两个元素在同一张照片里
<span>
示例图
</span>
</div>
<div>
2.请保留好此阳性试剂盒,领取甲基化检测时需要回收
</div>
</div>
<van-image-preview
v-model=
"showImg"
:images=
"images"
>
<template
v-slot:index
>
第
{{
index
}}
页
</
template
>
</van-image-preview>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
...
@@ -159,6 +213,10 @@ export default {
...
@@ -159,6 +213,10 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
show
:
false
,
images
:
[
'https://img01.yzcdn.cn/vant/apple-1.jpg'
,
'https://img01.yzcdn.cn/vant/apple-2.jpg'
],
index
:
1
,
picaWechat
:
window
.
_picaWechat
,
picaWechat
:
window
.
_picaWechat
,
status
:
''
,
status
:
''
,
headerInfo
:
{
headerInfo
:
{
...
@@ -228,6 +286,10 @@ export default {
...
@@ -228,6 +286,10 @@ export default {
},
},
getJumpToWebapp
()
{
getJumpToWebapp
()
{
},
},
changeImg
(
index
)
{
this
.
showImg
=
true
;
this
.
index
=
index
;
},
mapStatus
(
inquiryStatus
)
{
mapStatus
(
inquiryStatus
)
{
console
.
log
(
'--mapStatus'
,
inquiryStatus
);
console
.
log
(
'--mapStatus'
,
inquiryStatus
);
const
s
=
String
(
inquiryStatus
);
const
s
=
String
(
inquiryStatus
);
...
...
src/views/sz-home/index.vue
0 → 100644
浏览文件 @
45d009a5
<
template
>
<div
class=
"insurance-sz"
>
<div
class=
"text"
>
服务商H5
</div>
<div
class=
"bottom"
>
<div
class=
"bottom-text"
@
click=
"() =>show=true"
>
<div
class=
"bottom-text-left"
>
选择被保险人
</div>
<div
class=
"bottom-text-right"
>
<span
v-if=
"person"
>
{{
person
}}
</span>
<span
v-else
>
请选择
</span><van-icon
name=
"arrow"
/>
</div>
</div>
<div
class=
"bottom-btn"
>
<div
class=
"btn"
@
click=
"toPage"
>
领取权益
</div>
</div>
</div>
<van-popup
v-model=
"show"
closeable
round
position=
"bottom"
:style=
"
{ height: '40%' }"
>
<div
class=
"popup-title"
>
选择被保险人
</div>
<div
class=
"popup-list"
>
<van-radio-group
v-model=
"person"
>
<van-cell-group>
<van-cell
v-for=
"(item) in userinfo"
:key=
"item.id"
clickable
>
<div
class=
"popup-list-item"
>
<div
class=
"name"
>
{{
item
.
name
}}
</div>
<div
class=
"info"
>
<div
class=
"phoneNum"
>
<span>
手机号码:
</span>
<span>
{{
item
.
phoneNum
}}
</span>
</div>
<div
class=
"idCard"
>
<span>
身份证号:
</span>
<span>
{{
item
.
idCard
}}
</span>
</div>
</div>
</div>
<template
#
right-icon
>
<van-radio
:name=
"item.name"
/>
</
template
>
</van-cell>
</van-cell-group>
</van-radio-group>
</div>
<div
class=
"popup-btn"
@
click=
"show=false
"
>
领取权益
</div>
</van-popup>
</div>
</template>
<
script
>
export
default
{
data
()
{
return
{
show
:
false
,
person
:
null
,
userinfo
:
[
{
id
:
1
,
name
:
'陈琳'
,
phoneNum
:
'15966877677'
,
idCard
:
'610321********0429'
},
{
id
:
2
,
name
:
'刘鑫琳'
,
phoneNum
:
'15966877677'
,
idCard
:
'610321********0429'
},
]
};
},
mounted
()
{
},
methods
:
{
toPage
()
{
const
externalOrderNo
=
Math
.
floor
(
new
Date
().
getTime
()
/
1000
);
const
projectEquityNo
=
'SZ202305031000597601'
;
console
.
log
(
externalOrderNo
);
this
.
$router
.
push
({
path
:
'/appoint-demo'
,
query
:
{
externalOrderNo
:
'SZ'
+
externalOrderNo
,
projectEquityNo
}
});
}
}
};
</
script
>
<
style
lang=
"scss"
scoped
>
.insurance-sz
{
height
:
100vh
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
.text
{
height
:
25px
;
font-size
:
18px
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
color
:
#5C5C5C
;
line-height
:
25px
;
}
.bottom
{
position
:
fixed
;
bottom
:
0
;
width
:
100vw
;
background
:
#fff
;
padding-bottom
:
27px
;
.bottom-text
{
padding
:
10px
21px
10px
15px
;
display
:
flex
;
justify-content
:
space-between
;
.bottom-text-left
{
height
:
18px
;
font-size
:
13px
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-weight
:
600
;
color
:
#000000
;
line-height
:
18px
;
span
{
margin-right
:
6px
;
}
}
.bottom-text-right
{
height
:
18px
;
font-size
:
13px
;
font-weight
:
600
;
line-height
:
18px
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
color
:
#999999
;
}
}
.bottom-btn
{
background
:
#FFFFFF
;
box-shadow
:
inset
0px
1px
0px
0px
#E9E9E9
;
overflow
:
hidden
;
.btn
{
width
:
351px
;
height
:
40px
;
background
:
#00BDA5
;
border-radius
:
20px
;
margin
:
4px
auto
;
font-size
:
16px
;
font-family
:
PingFangSC-Semibold
,
PingFang
SC
;
font-weight
:
600
;
color
:
#FFFFFF
;
line-height
:
40px
;
text-align
:
center
;
}
}
}
}
.popup-title
{
height
:
25px
;
font-size
:
18px
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-weight
:
600
;
color
:
#02120F
;
line-height
:
25px
;
text-align
:
center
;
padding
:
17px
0
;
}
/
deep
/
.van-cell
{
padding-top
:
0
;
padding-bottom
:
0
;
}
.popup-list-item
{
display
:
flex
;
align-items
:
center
;
padding
:
23px
0
;
.name
{
width
:
45px
;
font-size
:
15px
;
font-family
:
PingFangSC-Semibold
,
PingFang
SC
;
font-weight
:
600
;
color
:
#212121
;
text-align
:
center
;
margin-right
:
12px
;
}
.info
{
.phoneNum
{
height
:
14px
;
font-size
:
14px
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
color
:
#666666
;
line-height
:
14px
;
margin-bottom
:
6px
;
}
.idCard
{
height
:
14px
;
font-size
:
14px
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
color
:
#666666
;
line-height
:
14px
;
}
}
}
.popup-btn
{
margin
:
4px
auto
;
width
:
351px
;
height
:
40px
;
background
:
#00BDA5
;
border-radius
:
20px
;
font-size
:
16px
;
text-align
:
center
;
font-family
:
PingFangSC-Semibold
,
PingFang
SC
;
font-weight
:
600
;
color
:
#FFFFFF
;
line-height
:
40px
;
}
</
style
>
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录