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
提交
e4e4ef92
提交
e4e4ef92
编写于
2月 14, 2023
作者:
张磊
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
auto commit
上级
cd5ee41f
变更
3
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
45 行增加
和
27 行删除
+45
-27
vue-components.js
src/plugins/vue-components.js
+3
-0
App.scss
src/styles/App.scss
+3
-0
insurance-bind-code.vue
src/views/insurance-bind-code/insurance-bind-code.vue
+39
-27
未找到文件。
src/plugins/vue-components.js
浏览文件 @
e4e4ef92
import
Vue
from
'vue'
;
import
Vue
from
'vue'
;
import
picaGuideApp
from
'@pica-kit/pica-ui-component/lib/pica-guide-app'
;
import
picaGuideApp
from
'@pica-kit/pica-ui-component/lib/pica-guide-app'
;
import
PageModel
from
'@pica-kit/page-model'
;
import
PageModel
from
'@pica-kit/page-model'
;
import
{
Dialog
,
Field
}
from
'vant'
;
Vue
.
use
(
picaGuideApp
);
Vue
.
use
(
picaGuideApp
);
Vue
.
use
(
PageModel
);
Vue
.
use
(
PageModel
);
Vue
.
use
(
Dialog
);
Vue
.
use
(
Field
);
src/styles/App.scss
浏览文件 @
e4e4ef92
...
@@ -239,3 +239,6 @@ a:hover {
...
@@ -239,3 +239,6 @@ a:hover {
ins
,
a
{
ins
,
a
{
text-decoration
:
none
;
text-decoration
:
none
;
}
}
.page-model
{
background-color
:
#ffffff
;
}
src/views/insurance-bind-code/insurance-bind-code.vue
浏览文件 @
e4e4ef92
...
@@ -14,7 +14,6 @@
...
@@ -14,7 +14,6 @@
<div
<div
type=
"text"
type=
"text"
class=
"code"
class=
"code"
placeholder-style=
"font-size: 32px;font-family: PingFangSC-Regular, PingFang SC;font-weight: 400;color: #999999;"
>
>
{{
checkName
||
''
}}
{{
checkName
||
''
}}
</div>
</div>
...
@@ -41,14 +40,13 @@
...
@@ -41,14 +40,13 @@
条形码
条形码
</div>
</div>
<div
class=
"input-content-group"
>
<div
class=
"input-content-group"
>
<div
class=
"input-content
input-content-scan
"
>
<div
class=
"input-content"
>
<
input
<
van-field
v-model=
"barCode"
v-model=
"barCode"
type=
"text"
type=
"text"
class=
"code"
placeholder-style=
"font-size: 12px;color: #999999;"
placeholder-style=
"font-size: 32px;font-family: PingFangSC-Regular, PingFang SC;font-weight: 400;color: #999999;"
placeholder=
"请输入条形码"
placeholder=
"请输入条形码"
>
/
>
<div
class=
"code-input-item-r"
>
<div
class=
"code-input-item-r"
>
<div
<div
v-if=
"barCode"
v-if=
"barCode"
...
@@ -58,7 +56,7 @@
...
@@ -58,7 +56,7 @@
<img
<img
class=
"clear-img"
class=
"clear-img"
src=
"https://files.yunqueyi.com/icon/2022/clear.png"
src=
"https://files.yunqueyi.com/icon/2022/clear.png"
>
/
>
</div>
</div>
<div
<div
class=
"scan-qr-img-container-code"
class=
"scan-qr-img-container-code"
...
@@ -67,8 +65,7 @@
...
@@ -67,8 +65,7 @@
<img
<img
class=
"scan-qr-img"
class=
"scan-qr-img"
src=
"https://files.yunqueyi.com/image/png/common/20221128114549858.png"
src=
"https://files.yunqueyi.com/image/png/common/20221128114549858.png"
mode=
""
/>
>
<span>
扫码识别
</span>
<span>
扫码识别
</span>
</div>
</div>
</div>
</div>
...
@@ -92,14 +89,12 @@
...
@@ -92,14 +89,12 @@
v-if=
"isCheck"
v-if=
"isCheck"
class=
"check-area"
class=
"check-area"
src=
"https://files.yunqueyi.com/h5/detection/is-check.png"
src=
"https://files.yunqueyi.com/h5/detection/is-check.png"
mode=
""
@
click=
"setSignDetection()"
@
click=
"setSignDetection()"
/>
/>
<img
<img
v-else
v-else
class=
"check-area"
class=
"check-area"
src=
"https://files.yunqueyi.com/h5/detection/check.png"
src=
"https://files.yunqueyi.com/h5/detection/check.png"
mode=
""
@
click=
"setSignDetection()"
@
click=
"setSignDetection()"
/>
/>
<span
class=
"notification-text1"
>
我已阅读并同意
</span>
<span
class=
"notification-text1"
>
我已阅读并同意
</span>
...
@@ -129,9 +124,9 @@ export default {
...
@@ -129,9 +124,9 @@ export default {
return
{
return
{
headerInfo
:
{
headerInfo
:
{
title
:
'绑定条码'
,
title
:
'绑定条码'
,
isBlack
:
fals
e
,
isBlack
:
tru
e
,
backMethod
:
'web'
,
backMethod
:
'web'
,
style
:
'
zIndex:100;
'
,
style
:
'
backgroundColor:#ffffff
'
,
background
:
''
,
background
:
''
,
},
},
showBindingInfo
:
false
,
showBindingInfo
:
false
,
...
@@ -162,12 +157,38 @@ export default {
...
@@ -162,12 +157,38 @@ export default {
created
()
{
created
()
{
},
},
methods
:
{
methods
:
{
triggerEditModal
()
{
this
.
$dialog
.
confirm
({
title
:
'确认提交'
,
message
:
'点击修改,将需要重新登记检测信息'
,
confirmButtonColor
:
'#00BDA5'
,
cancelButtonColor
:
'#00BDA5'
,
confirmButtonText
:
'确认'
,
cancelButtonText
:
'返回'
})
.
then
(()
=>
{
// on confirm
})
.
catch
(()
=>
{
// on cancel
});
this
.
showEditModal
=
true
;
},
clearCode
()
{
this
.
barCode
=
''
;
},
scanCode
()
{},
toggleBindingInfo
()
{},
setSignDetection
()
{},
goProtocol
()
{}
}
}
};
};
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.insurance-binding-code-container
{
.insurance-binding-code-container
{
width
:
100%
;
width
:
100%
;
background-color
:
#F5F6F8
;
background-color
:
#F5F6F8
;
...
@@ -238,17 +259,13 @@ export default {
...
@@ -238,17 +259,13 @@ export default {
display
:
flex
;
display
:
flex
;
flex-flow
:
row
;
flex-flow
:
row
;
justify-content
:
space-between
;
justify-content
:
space-between
;
align-items
:
center
;
font-size
:
14px
;
font-size
:
14px
;
input
{
/
deep
/
.van-cell
{
font-size
:
14px
;
padding
:
0
;
font-weight
:
400
;
height
:
31px
;
color
:
#666666
;
line-height
:
31px
;
width
:
100%
;
}
}
}
.input-content-scan
{
position
:
relative
;
height
:
20px
;
}
}
.code
{
.code
{
font-weight
:
600
;
font-weight
:
600
;
...
@@ -262,11 +279,6 @@ export default {
...
@@ -262,11 +279,6 @@ export default {
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
.clear-img-container
{
.clear-img-container
{
width
:
60px
;
height
:
50px
;
display
:
flex
;
align-items
:
center
;
justify-content
:
flex-end
;
.clear-img
{
.clear-img
{
width
:
16px
;
width
:
16px
;
height
:
16px
;
height
:
16px
;
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录