Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
dev
/
pingan-life-index-pro
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
35af58f3
authored
2019-12-15 18:54:01 +0800
by
joe
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
部分修改备份
1 parent
26117ad8
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
52 additions
and
21 deletions
src/common/lang/tc.js
src/common/lang/zh.js
src/components/home/dropdown/dropdown.js
src/components/home/m-dropdown/m-dropdown.js
src/pages/custom-service/components/insurance-query.vue
src/pages/custom-service/components/policy-head-list.vue
src/pages/infomation-improve/infomation-improve.js
src/pages/infomation-improve/infomation-improve.vue
src/pages/login/login.js
src/pages/login/login.scss
src/pages/login/login.vue
src/pages/product/product.js
src/pages/register/register.js
src/pages/register/register.vue
src/common/lang/tc.js
View file @
35af58f
...
...
@@ -222,9 +222,9 @@ module.exports = {
protocol
:
"《平安一賬通會員服務協議》"
,
register
:
"點擊註冊"
,
newPassword
:
"新密碼"
,
newPasswordPlaceholder
:
"
輸入登錄
密碼"
,
newPasswordPlaceholder
:
"
請輸入新
密碼"
,
newPasswordSure
:
"確認密碼"
,
newPasswordSurePlaceholder
:
"
輸入登錄
密碼"
,
newPasswordSurePlaceholder
:
"
請再次輸入新
密碼"
,
sure
:
"確認"
,
tips
:
{
e1
:
"手機號不正確,請輸入正確的手機號"
,
...
...
src/common/lang/zh.js
View file @
35af58f
...
...
@@ -224,9 +224,9 @@ module.exports = {
protocol
:
"《平安一账通会员服务协议》"
,
register
:
"点击注册"
,
newPassword
:
"新密码"
,
newPasswordPlaceholder
:
"
输入登录
密码"
,
newPasswordPlaceholder
:
"
请输入新
密码"
,
newPasswordSure
:
"确认密码"
,
newPasswordSurePlaceholder
:
"
输入登录
密码"
,
newPasswordSurePlaceholder
:
"
请再次输入新
密码"
,
sure
:
"确认"
,
tips
:
{
e1
:
"手机号不正确,请输入正确的手机号"
,
...
...
src/components/home/dropdown/dropdown.js
View file @
35af58f
...
...
@@ -109,7 +109,7 @@ export default {
this
.
loginHandler
();
break
;
case
"gotoVHIS"
:
gotoVHIS
(
this
.
locale
);
gotoVHIS
(
this
.
$i18n
.
locale
);
break
;
}
}
...
...
src/components/home/m-dropdown/m-dropdown.js
View file @
35af58f
...
...
@@ -74,7 +74,7 @@ export default {
this
.
loginHandler
();
break
;
case
"gotoVHIS"
:
gotoVHIS
(
this
.
locale
);
gotoVHIS
(
this
.
$i18n
.
locale
);
break
;
}
}
...
...
src/pages/custom-service/components/insurance-query.vue
View file @
35af58f
...
...
@@ -28,7 +28,7 @@
<div
class=
"data-line"
>
<div
class=
"cell1"
>
<div
class=
"label"
>
{{
$t
(
'customService.insuranceQuery.t2n3'
)
}}
</div>
<div
class=
"label"
>
{{
dataForm
.
activeDate
}}
</div>
<div
class=
"label"
>
{{
dataForm
.
activeDate
?
dataForm
.
activeDate
.
split
(
" "
)[
0
]:
""
}}
</div>
</div>
<div
class=
"separator-v"
></div>
<div
class=
"cell1"
>
...
...
@@ -52,7 +52,7 @@
<div
class=
"data-line"
>
<div
class=
"cell1"
>
<div
class=
"label"
>
{{
$t
(
'customService.insuranceQuery.t2n7'
)
}}
</div>
<div
class=
"label"
>
{{
dataForm
.
insuredBirthday
}}
</div>
<div
class=
"label"
>
{{
dataForm
.
insuredBirthday
?
dataForm
.
insuredBirthday
.
split
(
" "
)[
0
]:
""
}}
</div>
</div>
<div
class=
"separator-v"
></div>
<div
class=
"cell1"
>
...
...
@@ -87,7 +87,7 @@
<div
class=
"data-line"
>
<div
class=
"cell1"
>
<div
class=
"label"
>
{{
$t
(
'customService.insuranceQuery.t3n3'
)
}}
</div>
<div
class=
"label"
>
{{
dataForm
.
clientBirthday
}}
</div>
<div
class=
"label"
>
{{
dataForm
.
clientBirthday
?
dataForm
.
clientBirthday
.
split
(
" "
)[
0
]:
""
}}
</div>
</div>
<div
class=
"separator-v"
></div>
<div
class=
"cell1"
>
...
...
@@ -219,7 +219,7 @@
<div
class=
"data-line"
>
<div
class=
"td w2"
>
{{
item
.
paidPeriod
}}
</div>
<div
class=
"td w2"
>
{{
item
.
payType
}}
</div>
<div
class=
"td w2"
>
{{
item
.
receiptDate
}}
</div>
<div
class=
"td w2"
>
{{
item
.
receiptDate
?
item
.
receiptDate
.
split
(
" "
)[
0
]:
""
}}
</div>
<div
class=
"td w2"
>
{{
toMoneyCode
(
dataForm
.
moneyCode
)
}}{{
item
.
totalPremium
}}
</div>
</div>
<div
class=
"separator-h"
v-if=
"index
< dataForm
.
pandupList
.
length
-
1
"
></div>
...
...
src/pages/custom-service/components/policy-head-list.vue
View file @
35af58f
...
...
@@ -36,8 +36,8 @@
<div
class=
"td w2"
>
{{item.insuredName}}
</div>
<div
class=
"td w1"
>
{{item.productName}}
</div>
<div
class=
"td w2"
>
{{item.moneyCode}}{{item.amount}}
</div>
<div
class=
"td w2"
>
{{item.expireAt}}
</div>
<div
class=
"td w2"
>
{{item.guaranteeAge}}
</div>
<div
class=
"td w2"
>
{{item.expireAt
?item.expireAt.split(" ")[0]:""
}}
</div>
<div
class=
"td w2"
>
{{item.guaranteeAge
?item.guaranteeAge.split(" ")[0]:""
}}
</div>
</div>
<div
class=
"separator-h"
v-if=
"index < myPolicyList.length - 1 && index < maxShow - 1"
></div>
</template>
...
...
src/pages/infomation-improve/infomation-improve.js
View file @
35af58f
...
...
@@ -12,6 +12,10 @@ import Auth from '@components/auth/auth.vue';
import
modalComp
from
'@/components/modal-comp/modal-comp.vue'
;
import
modalSimpleComp
from
'@/components/modal-simple-comp/modal-simple-comp.vue'
;
import
DatePicker
from
'@/components/date-picker/date-picker.vue'
import
Vue
from
'vue'
;
import
{
Loading
}
from
'vant'
;
Vue
.
use
(
Loading
);
export
default
{
data
()
{
...
...
@@ -103,6 +107,9 @@ export default {
initData
()
{
httpPost
({
url
:
api
.
profile
,
sid
:
true
}).
then
(
content
=>
{
this
.
information
=
content
;
if
(
content
&&
content
.
birthDate
){
this
.
birthDate
=
content
.
birthDate
;
}
})
},
onUpdateHandler
()
{
...
...
@@ -263,7 +270,9 @@ export default {
}
},
userLogout
()
{
this
.
showForm
=
false
;
this
.
$router
.
push
({
path
:
"/"
});
},
userLogin
(
data
)
{
this
.
showForm
=
true
;
...
...
src/pages/infomation-improve/infomation-improve.vue
View file @
35af58f
...
...
@@ -101,7 +101,10 @@
</div>
<div
class=
"login-btn-wrap"
>
<div
@
click=
"onUpdateHandler()"
class=
"login-submit pointer"
:class=
"{disabled: submitBtnDisabled}"
>
{{$t('infomationImprove.submit')}}
</div>
<div
@
click=
"onUpdateHandler()"
class=
"login-submit pointer flex-center"
:class=
"{disabled: submitBtnDisabled}"
>
<van-loading
v-if=
"loading"
/>
<span>
{{$t('infomationImprove.submit')}}
</span>
</div>
</div>
</template>
</div>
...
...
src/pages/login/login.js
View file @
35af58f
...
...
@@ -113,6 +113,11 @@ export default {
let
b4
=
!
this
.
values
.
token
;
let
b5
=
this
.
values
.
vcodeuuid
&&
!
this
.
loginForm
.
imageValue
;
return
b1
||
b2
||
b3
||
b4
||
b5
;
},
submitDisabled
()
{
let
b1
=
!
this
.
values
.
password
||
this
.
checkPassword
(
this
.
values
.
password
)
?
true
:
false
;
let
b2
=
this
.
values
.
passwordRepeat
!=
this
.
values
.
password
?
true
:
false
;
return
b1
||
b2
;
}
},
methods
:
{
...
...
@@ -278,9 +283,16 @@ export default {
// 这个是用户OTP验证成功后没有账号导致
this
.
type
=
3
;
break
;
case
"COMMON_ERROR_009"
:
this
.
errorTips
.
p5
=
response
.
returnMsg
;
break
;
default
:
if
(
this
.
type
==
3
)
{
this
.
errorTips
.
p5
=
response
.
returnMsg
;
}
else
{
this
.
errorTips
.
e2
=
this
.
i18n
.
login
.
tips
.
e5
;
this
.
errorTips
.
oe2
=
this
.
i18n
.
login
.
tips
.
e5
;
}
// this.showModal(this.i18n.login.tips.e5, "info");
break
;
}
...
...
@@ -496,11 +508,15 @@ export default {
mobileNo
:
this
.
loginForm
.
mobileNo
,
loginPwd
:
passwordEncrypt
(
this
.
values
.
password
)
};
this
.
loading
=
true
;
httpPost
({
url
:
api
.
otpRegisterAndLogin
,
data
:
data
}).
then
(
response
=>
{
this
.
loading
=
false
;
this
.
_handlerLoginResponse
(
response
);
}).
catch
(
e
=>
{
this
.
loading
=
false
;
})
}
},
...
...
src/pages/login/login.scss
View file @
35af58f
...
...
@@ -91,7 +91,7 @@
padding-left
:
1rem
;
.check
{
height
:
1rem
;
height
:
1
.3
rem
;
margin-right
:
.6rem
;
}
...
...
src/pages/login/login.vue
View file @
35af58f
...
...
@@ -169,7 +169,7 @@
</div>
</div>
</div>
<div
@
click=
"onRegisterHandler()"
class=
"login-submit pointer flex-center"
>
<div
@
click=
"onRegisterHandler()"
class=
"login-submit pointer flex-center"
:class=
"
{disabled: submitDisabled}"
>
<van-loading
v-if=
"loading"
/>
<span>
{{
$t
(
'register.sure'
)
}}
</span>
</div>
...
...
src/pages/product/product.js
View file @
35af58f
...
...
@@ -22,7 +22,10 @@ export default {
},
toReservation
()
{
this
.
$router
.
push
({
path
:
"/reservation"
path
:
"/custom/service"
,
query
:
{
q
:
"m6"
}
});
}
},
...
...
src/pages/register/register.js
View file @
35af58f
...
...
@@ -85,8 +85,8 @@ export default {
return
b1
||
b2
||
b3
||
b4
;
},
submitDisabled
()
{
let
b1
=
!
this
.
values
.
password
?
true
:
false
;
let
b2
=
!
this
.
values
.
passwordRepeat
?
true
:
false
;
let
b1
=
!
this
.
values
.
password
||
this
.
checkPassword
(
this
.
values
.
password
)
?
true
:
false
;
let
b2
=
this
.
values
.
passwordRepeat
!=
this
.
values
.
password
?
true
:
false
;
return
b1
||
b2
;
}
},
...
...
src/pages/register/register.vue
View file @
35af58f
...
...
@@ -77,11 +77,11 @@
</div>
<!-- 输入密码 -->
<div
v-if=
"type == 2"
class=
"login"
>
<div
class=
"login-tit"
>
<
!--
<
div
class=
"login-tit"
>
<img
v-if=
"locale == 'zh'"
src=
"@/assets/images/login/login-tit-zh.png"
>
<img
v-if=
"locale == 'tc'"
src=
"@/assets/images/login/login-tit-tc.png"
>
<img
v-if=
"locale == 'en'"
class=
"img-en"
src=
"@/assets/images/login/login-tit-en.png"
>
</div>
</div>
-->
<div
class=
"login-tit2"
>
{{
$t
(
'register.title2'
)
}}
</div>
<div
class=
"gird-g form"
>
<div
class=
"pure-u-1 form-item"
>
...
...
Please
register
or
sign in
to post a comment