Commit c2fe11b9 authored by 李晓兵's avatar 李晓兵

'绑定UI升级'

parent e0fd722d
src/assets/userBind/check1.png

7.16 KB | W: | H:

src/assets/userBind/check1.png

789 Bytes | W: | H:

src/assets/userBind/check1.png
src/assets/userBind/check1.png
src/assets/userBind/check1.png
src/assets/userBind/check1.png
  • 2-up
  • Swipe
  • Onion skin
src/assets/userBind/check2.png

7.04 KB | W: | H:

src/assets/userBind/check2.png

425 Bytes | W: | H:

src/assets/userBind/check2.png
src/assets/userBind/check2.png
src/assets/userBind/check2.png
src/assets/userBind/check2.png
  • 2-up
  • Swipe
  • Onion skin
src/assets/userBind/check3.png

6.72 KB | W: | H:

src/assets/userBind/check3.png

815 Bytes | W: | H:

src/assets/userBind/check3.png
src/assets/userBind/check3.png
src/assets/userBind/check3.png
src/assets/userBind/check3.png
  • 2-up
  • Swipe
  • Onion skin
src/assets/userBind/close.png

886 Bytes | W: | H:

src/assets/userBind/close.png

1.34 KB | W: | H:

src/assets/userBind/close.png
src/assets/userBind/close.png
src/assets/userBind/close.png
src/assets/userBind/close.png
  • 2-up
  • Swipe
  • Onion skin
src/assets/userBind/nong.png

13.5 KB | W: | H:

src/assets/userBind/nong.png

43.5 KB | W: | H:

src/assets/userBind/nong.png
src/assets/userBind/nong.png
src/assets/userBind/nong.png
src/assets/userBind/nong.png
  • 2-up
  • Swipe
  • Onion skin
src/assets/userBind/unNong.png

13.7 KB | W: | H:

src/assets/userBind/unNong.png

48.9 KB | W: | H:

src/assets/userBind/unNong.png
src/assets/userBind/unNong.png
src/assets/userBind/unNong.png
src/assets/userBind/unNong.png
  • 2-up
  • Swipe
  • Onion skin
src/assets/userBind/uncheck1.png

8.27 KB | W: | H:

src/assets/userBind/uncheck1.png

812 Bytes | W: | H:

src/assets/userBind/uncheck1.png
src/assets/userBind/uncheck1.png
src/assets/userBind/uncheck1.png
src/assets/userBind/uncheck1.png
  • 2-up
  • Swipe
  • Onion skin
src/assets/userBind/uncheck2.png

7.99 KB | W: | H:

src/assets/userBind/uncheck2.png

460 Bytes | W: | H:

src/assets/userBind/uncheck2.png
src/assets/userBind/uncheck2.png
src/assets/userBind/uncheck2.png
src/assets/userBind/uncheck2.png
  • 2-up
  • Swipe
  • Onion skin
src/assets/userBind/uncheck3.png

7.66 KB | W: | H:

src/assets/userBind/uncheck3.png

861 Bytes | W: | H:

src/assets/userBind/uncheck3.png
src/assets/userBind/uncheck3.png
src/assets/userBind/uncheck3.png
src/assets/userBind/uncheck3.png
  • 2-up
  • Swipe
  • Onion skin
<template> <template>
<div class="tab-style"> <!-- <div class="tab-style">
<span @click="tabNum1 = 0;sendTabNum()"><img :src="tabNum == 0?check1:uncheck1"></span> <span @click="tabNum1 = 0;sendTabNum()"><img :src="tabNum == 0?check1:uncheck1"></span>
<span @click="tabNum1 = 1;sendTabNum()"><img :src="tabNum == 1?check2:uncheck2" ></span> <span @click="tabNum1 = 1;sendTabNum()"><img :src="tabNum == 1?check2:uncheck2" ></span>
<span @click="tabNum1 = 2;sendTabNum()"><img :src="tabNum == 2?check3:uncheck3"></span> <span @click="tabNum1 = 2;sendTabNum()"><img :src="tabNum == 2?check3:uncheck3"></span>
</div>-->
<div class="tab-style">
<div :class="{'tab-content-bg':tabNum1 == 0}" class="tab-content" @click="tabNum1 = 0;sendTabNum()"><img :src="tabNum1 == 0?check1:uncheck1"><span
:class="{'colored':tabNum1 == 0}">基本信息</span></div>
<div :class="{'tab-content-bg':tabNum1 == 1}" class="tab-content" @click="tabNum1 = 1;sendTabNum()"><img :src="tabNum1 == 1?check2:uncheck2"><span
:class="{'colored':tabNum1 == 1}">银行信息</span></div>
<div :class="{'tab-content-bg':tabNum1 == 2}" class="tab-content" @click="tabNum1 = 2;sendTabNum()"><img :src="tabNum1 == 2?check3:uncheck3"><span
:class="{'colored':tabNum1 == 2}">开票信息</span></div>
</div> </div>
</template> </template>
<script> <script>
...@@ -39,29 +47,50 @@ export default { ...@@ -39,29 +47,50 @@ export default {
} }
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.tab-style{ .tab-style {
position: relative; position: relative;
z-index: 50; z-index: 50;
background-color: #fff; background-color: #fff;
display:flex; display: flex;
justify-content: center; justify-content: center;
padding-top:12px; padding-top: 12px;
padding-bottom: 8px; padding-bottom: 8px;
align-items: center; align-items: center;
box-shadow:0 2px 3px 0 rgba(220,220,221,0.50); box-shadow: 0 2px 3px 0 rgba(220, 220, 221, 0.50);
span{
display: block; .tab-content {
width:112px; display: block;
height: 32px; width: 45.9%;
border-radius:16px; height: 32px;
background: rgba(220, 220, 221, 0.26);
border-radius: 16px;
display: flex;
justify-content: center;
align-items: center;
span {
margin-left: 2%;
font-size: 14px;
color: #383F45;
font-weight: 600;
font-family: PingFangSC-Semibold;
}
.colored {
color: @headerColor
}
} }
img{ .tab-content-bg{
width:112px; background: rgba(0,70,156,0.10);
height: 32px;
margin-right:5.7px;
} }
span:nth-of-type(2){
margin:0 10px; img {
height: 16px;
// margin-right:5.7px;
} }
}
.tab-content:nth-of-type(2) {
margin-left: 7px;
}
}
</style> </style>
...@@ -68,7 +68,7 @@ export default { ...@@ -68,7 +68,7 @@ export default {
} }
.colored { .colored {
color: #00469C color: @headerColor
} }
} }
.tab-content-bg{ .tab-content-bg{
......
...@@ -174,7 +174,7 @@ export default { ...@@ -174,7 +174,7 @@ export default {
.top-word { .top-word {
font-family: PingFangSC-Semibold; font-family: PingFangSC-Semibold;
font-size: 15px; font-size: 15px;
color: #00469c; color: @headerColor;
letter-spacing: 0.46px; letter-spacing: 0.46px;
.sum { .sum {
font-family: PingFangSC-Semibold; font-family: PingFangSC-Semibold;
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
--> -->
<template> <template>
<h-view id="base-info1" class="public-style" title="基本信息"> <h-view id="base-info1" class="public-style" title="基本信息">
<h-header :proportion="[5,1,1]" class="header"> <h-header :proportion="[5,1,1]" class="bar-custom">
<div slot="left" class="h-header-btn" @click="$routeGo()"> <div slot="left" class="h-header-btn" @click="$routeGo()">
<img src="@/assets/userBind/arrow.png" > <img src="@/assets/userBind/arrow.png" >
<span>用户绑定</span> <span>用户绑定</span>
...@@ -1506,31 +1506,12 @@ export default { ...@@ -1506,31 +1506,12 @@ export default {
padding-right: 21px; padding-right: 21px;
} }
} }
.header {
background-color: #00469c;
color: #fff;
.h-header-btn {
img {
width: 16px;
height: 16px;
margin-left: 4px;
}
span {
color: #fff;
font-family: PingFangSC-Semibold;
margin-left: 16px;
font-size: 17px;
letter-spacing: 0.6px;
line-height: 24px;
}
}
}
.content { .content {
height: 76%; height: 76%;
.userInfo { .userInfo {
height: 45px; height: 45px;
line-height: 45px; line-height: 45px;
color: #00469c; color: @headerColor;
margin-top: -10px; margin-top: -10px;
font-size: 15px; font-size: 15px;
margin-left: 16px; margin-left: 16px;
...@@ -1541,7 +1522,7 @@ export default { ...@@ -1541,7 +1522,7 @@ export default {
display: block; display: block;
width: 4px; width: 4px;
height: 20px; height: 20px;
background-color: #00469c; background-color: @headerColor;
position: absolute; position: absolute;
left: -15px; left: -15px;
top: 12px; top: 12px;
...@@ -1646,9 +1627,9 @@ export default { ...@@ -1646,9 +1627,9 @@ export default {
.put { .put {
width: 175px; width: 175px;
height: 45px; height: 45px;
color: #00469c; color: @headerColor;
border-radius: 4px; border-radius: 4px;
border: 1px solid #00469c; border: 1px solid @headerColor;
background-color: #fafafa; background-color: #fafafa;
} }
.put-approved { .put-approved {
...@@ -1656,14 +1637,14 @@ export default { ...@@ -1656,14 +1637,14 @@ export default {
height: 45px; height: 45px;
color: #fff; color: #fff;
border-radius: 4px; border-radius: 4px;
background-color: #00469c; background-color: @headerColor;
} }
.save { .save {
width: 175px; width: 175px;
height: 45px; height: 45px;
color: #fff; color: #fff;
border-radius: 4px; border-radius: 4px;
background-color: #00469c; background-color: @headerColor;
} }
.footer-button { .footer-button {
padding-top: 15px; padding-top: 15px;
...@@ -1694,7 +1675,7 @@ export default { ...@@ -1694,7 +1675,7 @@ export default {
span { span {
font-family: PingFangSC-Semibold; font-family: PingFangSC-Semibold;
font-size: 15px; font-size: 15px;
color: #00469c; color: @headerColor;
letter-spacing: 0.47px; letter-spacing: 0.47px;
} }
img { img {
...@@ -1719,7 +1700,7 @@ export default { ...@@ -1719,7 +1700,7 @@ export default {
.add-card { .add-card {
width: 358px; width: 358px;
height: 40px; height: 40px;
background: #00469c; background: @headerColor;
border-radius: 4px; border-radius: 4px;
color: #fff; color: #fff;
} }
......
...@@ -182,7 +182,7 @@ export default { ...@@ -182,7 +182,7 @@ export default {
.top-word { .top-word {
font-family: PingFangSC-Semibold; font-family: PingFangSC-Semibold;
font-size: 15px; font-size: 15px;
color: #00469c; color: @headerColor;
letter-spacing: 0.46px; letter-spacing: 0.46px;
.sum { .sum {
font-family: PingFangSC-Semibold; font-family: PingFangSC-Semibold;
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
--> -->
<template> <template>
<h-view id="base-info" class="public-style" title="基本信息"> <h-view id="base-info" class="public-style" title="基本信息">
<h-header :proportion="[5,1,1]" class="header"> <h-header :proportion="[5,1,1]" class="bar-custom">
<div slot="left" class="h-header-btn" @click="$routeGo()"> <div slot="left" class="h-header-btn" @click="$routeGo()">
<img src="@/assets/userBind/arrow.png" > <img src="@/assets/userBind/arrow.png" >
<span>用户绑定</span> <span>用户绑定</span>
...@@ -507,8 +507,8 @@ export default { ...@@ -507,8 +507,8 @@ export default {
// legal_person: '', // legal_person: '',
cell_phone: null, cell_phone: null,
living_address: '', living_address: '',
id_card_date_from: '',// 法定代表人身份证有效期从 id_card_date_from: '', // 法定代表人身份证有效期从
id_card_date_to: '', //法定代表人身份证有效期到 id_card_date_to: '', // 法定代表人身份证有效期到
}, },
baseInfo: { baseInfo: {
district_id: '', district_id: '',
...@@ -546,7 +546,7 @@ export default { ...@@ -546,7 +546,7 @@ export default {
auth_person_id_card: '', auth_person_id_card: '',
auth_person_position: '', auth_person_position: '',
auth_id_card_date_from: '', // 授权人身份证有效期从 auth_id_card_date_from: '', // 授权人身份证有效期从
auth_id_card_date_to: '',// 授权人身份证有效期到 auth_id_card_date_to: '', // 授权人身份证有效期到
}, },
idCardFront: '', // 身份证正面图片 idCardFront: '', // 身份证正面图片
idCardBack: '', // 身份证反面图片 idCardBack: '', // 身份证反面图片
...@@ -1259,7 +1259,7 @@ export default { ...@@ -1259,7 +1259,7 @@ export default {
hlsPopup.showLongCenter('请拍照') hlsPopup.showLongCenter('请拍照')
} else { } else {
if (ocrType === 'idCard') { if (ocrType === 'idCard') {
type === 'front' ? (vm.idCardFront = imgdata, vm.idCardIdentify(imgdata),vm.idCardFrontEditFlag = true) : (vm.idCardBack = imgdata,vm.idCardBackIdentify(imgdata),vm.idCardBackEditFlag = true) type === 'front' ? (vm.idCardFront = imgdata, vm.idCardIdentify(imgdata), vm.idCardFrontEditFlag = true) : (vm.idCardBack = imgdata, vm.idCardBackIdentify(imgdata), vm.idCardBackEditFlag = true)
} else if (ocrType === 'bankCard') { } else if (ocrType === 'bankCard') {
vm.bankImg = imgdata vm.bankImg = imgdata
vm.bankCardIdentify(imgdata) vm.bankCardIdentify(imgdata)
...@@ -1288,7 +1288,7 @@ export default { ...@@ -1288,7 +1288,7 @@ export default {
hlsPopup.showLongCenter('请选择一张图片') hlsPopup.showLongCenter('请选择一张图片')
} else { } else {
if (ocrType === 'idCard') { if (ocrType === 'idCard') {
type === 'front' ? (vm.idCardFront = imgUrl[0], vm.idCardIdentify(imgUrl[0]),vm.idCardFrontEditFlag = true) : (vm.idCardBack = imgUrl[0],vm.idCardBackIdentify(imgUrl[0]),vm.idCardBackEditFlag = true) type === 'front' ? (vm.idCardFront = imgUrl[0], vm.idCardIdentify(imgUrl[0]), vm.idCardFrontEditFlag = true) : (vm.idCardBack = imgUrl[0], vm.idCardBackIdentify(imgUrl[0]), vm.idCardBackEditFlag = true)
} else if (ocrType === 'bankCard') { } else if (ocrType === 'bankCard') {
vm.bankImg = imgUrl[0] vm.bankImg = imgUrl[0]
vm.bankCardIdentify(imgUrl[0]) vm.bankCardIdentify(imgUrl[0])
...@@ -1333,11 +1333,11 @@ export default { ...@@ -1333,11 +1333,11 @@ export default {
let result = res.result.words_result let result = res.result.words_result
if (vm.flag) { if (vm.flag) {
// 未授权 身份证有效期从,身份证有效期到 // 未授权 身份证有效期从,身份证有效期到
vm.legal_personMsg.id_card_date_from = result.签发日期.words vm.legal_personMsg.id_card_date_from = result.签发日期.words
vm.legal_personMsg.id_card_date_to = result.失效日期.words vm.legal_personMsg.id_card_date_to = result.失效日期.words
} else { } else {
// 已授权 身份证有效期从,身份证有效期到 // 已授权 身份证有效期从,身份证有效期到
vm.authMsg.auth_id_card_date_from = result.签发日期.words vm.authMsg.auth_id_card_date_from = result.签发日期.words
vm.authMsg.auth_id_card_date_to = result.失效日期.words vm.authMsg.auth_id_card_date_to = result.失效日期.words
} }
}) })
...@@ -1449,17 +1449,17 @@ export default { ...@@ -1449,17 +1449,17 @@ export default {
}) })
if (vm.idCardFrontEditFlag) { // 身份证正面图片已修改,重新上传 if (vm.idCardFrontEditFlag) { // 身份证正面图片已修改,重新上传
var list = [] var list = []
let obj = { let obj = {
'pkvalue': vm.idCardFrontCheck_id, 'pkvalue': vm.idCardFrontCheck_id,
'source_type': 'PRJ_CDD_ITEM_CHECK', 'source_type': 'PRJ_CDD_ITEM_CHECK',
'picture': '', 'picture': '',
'check_id': vm.idCardFrontCheck_id, 'check_id': vm.idCardFrontCheck_id,
'filePath': vm.idCardFront, 'filePath': vm.idCardFront,
'attachment_id': '', 'attachment_id': '',
'user_id': 1, 'user_id': 1,
'fileName': 'front', 'fileName': 'front',
} }
list.push(obj) list.push(obj)
vm.save_picture(list) vm.save_picture(list)
} }
if (vm.idCardBackEditFlag) { // 身份证背面图片已修改,重新上传 if (vm.idCardBackEditFlag) { // 身份证背面图片已修改,重新上传
...@@ -1787,27 +1787,6 @@ export default { ...@@ -1787,27 +1787,6 @@ export default {
padding-right:21px; padding-right:21px;
} }
} }
.header {
background-color: #00469c;
color: #fff;
.h-header-btn {
img {
width: 16px;
height: 16px;
margin-left: 4px;
}
span {
font-family: PingFangSC-Semibold;
color: #fff;
margin-left: 16px;
font-size: 17px;
letter-spacing: 0.6px;
line-height: 24px;
}
}
}
.content { .content {
margin-top: 3px; margin-top: 3px;
...@@ -1825,7 +1804,7 @@ export default { ...@@ -1825,7 +1804,7 @@ export default {
height: 40px; height: 40px;
line-height: 40px; line-height: 40px;
background-color: #fafafa; background-color: #fafafa;
color: #00469c; color: @headerColor;
font-size: 15px; font-size: 15px;
margin-left: 16px; margin-left: 16px;
position: relative; position: relative;
...@@ -1836,7 +1815,7 @@ export default { ...@@ -1836,7 +1815,7 @@ export default {
display: block; display: block;
width: 4px; width: 4px;
height: 20px; height: 20px;
background-color: #00469c; background-color: @headerColor;
position: absolute; position: absolute;
left: -15px; left: -15px;
top: 10px; top: 10px;
...@@ -1872,7 +1851,7 @@ export default { ...@@ -1872,7 +1851,7 @@ export default {
div { div {
width: 100%; width: 100%;
height: 100%; height: 100%;
border: 1px solid #00469c; border: 1px solid @headerColor;
border-radius: 3px; border-radius: 3px;
} }
} }
...@@ -2025,9 +2004,9 @@ export default { ...@@ -2025,9 +2004,9 @@ export default {
.put { .put {
width: 175px; width: 175px;
height: 45px; height: 45px;
color: #00469c; color: @headerColor;
border-radius: 4px; border-radius: 4px;
border: 1px solid #00469c; border: 1px solid @headerColor;
background-color: #fafafa; background-color: #fafafa;
} }
.put-approved { .put-approved {
...@@ -2035,14 +2014,14 @@ export default { ...@@ -2035,14 +2014,14 @@ export default {
height: 45px; height: 45px;
color: #fff; color: #fff;
border-radius: 4px; border-radius: 4px;
background-color: #00469c; background-color: @headerColor;
} }
.save { .save {
width: 175px; width: 175px;
height: 45px; height: 45px;
color: #fff; color: #fff;
border-radius: 4px; border-radius: 4px;
background-color: #00469c; background-color: @headerColor;
} }
.footer-button { .footer-button {
...@@ -2078,7 +2057,7 @@ export default { ...@@ -2078,7 +2057,7 @@ export default {
span { span {
font-family: PingFangSC-Semibold; font-family: PingFangSC-Semibold;
font-size: 15px; font-size: 15px;
color: #00469c; color: @headerColor;
letter-spacing: 0.47px; letter-spacing: 0.47px;
} }
...@@ -2106,7 +2085,7 @@ export default { ...@@ -2106,7 +2085,7 @@ export default {
.add-card { .add-card {
width: 358px; width: 358px;
height: 40px; height: 40px;
background: #00469c; background: @headerColor;
border-radius: 4px; border-radius: 4px;
color: #fff; color: #fff;
} }
......
<template> <template>
<h-view id="user-bind" class="public-style" title="用户绑定"> <h-view id="user-bind" class="public-style" title="用户绑定">
<h-header :proportion="[5,1,1]" class="header"> <h-header :proportion="[5,1,1]" class="bar-custom">
<div slot="left" class="h-header-btn"> <div slot="left" class="h-header-btn">
<img src="@/assets/userBind/arrow.png" @click="$routeGo(-1)"> <img src="@/assets/userBind/arrow.png" @click="$routeGo(-1)">
<span>用户绑定</span> <span>用户绑定</span>
...@@ -15,12 +15,18 @@ ...@@ -15,12 +15,18 @@
<p>绑定成功后,您即可使用APP中合同查询、还款查询等功能。</p> <p>绑定成功后,您即可使用APP中合同查询、还款查询等功能。</p>
</div> </div>
<p>选择用户类型</p> <p>选择用户类型</p>
<h-button :class="flag==0?'nature':'org'" @click.native="flag = 0"> <!--<h-button :class="flag==0?'nature':'org'" @click.native="flag = 0">
<img src="@/assets/userBind/np.png" class="n-img" >自然人 <img src="@/assets/userBind/np.png" class="n-img" >自然人
</h-button> </h-button>
<h-button :class="flag==1?'nature':'org'" @click.native="flag = 1"> <h-button :class="flag==1?'nature':'org'" @click.native="flag = 1">
<img src="@/assets/userBind/entr.png" class="o-img" >企业 <img src="@/assets/userBind/entr.png" class="o-img" >企业
</h-button> </h-button>-->
<div class="bind-wrap" @click="flag = 0">
<img :src="flag==0? bindnped:bindnp">
</div>
<div class="bind-wrap" @click="flag = 1">
<img :src="flag==1? bindorged:bindorg">
</div>
<h-button class="enter" @click.native="changePage"> <h-button class="enter" @click.native="changePage">
进入 进入
<img src="@/assets/userBind/right.png" > <img src="@/assets/userBind/right.png" >
...@@ -33,6 +39,10 @@ export default { ...@@ -33,6 +39,10 @@ export default {
data () { data () {
return { return {
flag: 0, flag: 0,
bindnp: require('@/assets/userBind/bindnp.png'),
bindnped: require('@/assets/userBind/bindnped.png'),
bindorg: require('@/assets/userBind/bindorg.png'),
bindorged: require('@/assets/userBind/bindorged.png'),
} }
}, },
created () { created () {
...@@ -61,25 +71,6 @@ export default { ...@@ -61,25 +71,6 @@ export default {
</script> </script>
<style lang="less" scoped type="text/less"> <style lang="less" scoped type="text/less">
#user-bind { #user-bind {
.header {
background-color: #00469c;
color: #fff;
.h-header-btn {
img {
width: 16px;
height: 16px;
margin-left: 4px;
}
span {
color: #fff;
font-family: PingFangSC-Semibold;
margin-left: 16px;
font-size: 17px;
letter-spacing: 0.6px;
line-height: 24px;
}
}
}
.content { .content {
.info { .info {
height: 88px; height: 88px;
...@@ -123,8 +114,13 @@ export default { ...@@ -123,8 +114,13 @@ export default {
margin-left: 16px; margin-left: 16px;
margin-top: 24px; margin-top: 24px;
} }
.nature, .bind-wrap{
.org, width: 92%;
margin: 10px auto;
img{
width: 100%;
}
}
.enter { .enter {
display: block; display: block;
width: 343px; width: 343px;
...@@ -140,28 +136,8 @@ export default { ...@@ -140,28 +136,8 @@ export default {
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
.nature {
color: rgba(0, 70, 156, 1);
background-color: rgba(0, 98, 217, 0.1);
border: 1px solid rgba(0, 70, 156, 1);
}
.n-img {
width: 18.3px;
height: 21px;
margin-right: 8px;
}
.o-img {
width: 22.5px;
height: 19.5px;
margin-right: 8px;
}
.org {
background-color: rgba(220, 220, 221, 0.3);
color: rgba(101, 100, 100, 1);
border: none;
}
.enter { .enter {
background-color: rgba(0, 70, 156, 1); background-color: @headerColor;
color: #fff; color: #fff;
margin-top: 80px; margin-top: 80px;
img { img {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment