Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
phobos-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
phobos-ui
Commits
a2a2706e
Commit
a2a2706e
authored
Nov 11, 2021
by
郭志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix("pwd-modal"):密码输入框样式调整
parent
b2428c49
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
49 additions
and
6 deletions
+49
-6
env.config.js
src/config/env.config.js
+6
-4
production.config.js
src/config/production.config.js
+3
-1
userInfo.service.js
src/service/userInfo.service.js
+1
-0
index.less
src/views/pay/index.less
+19
-0
index.vue
src/views/pay/index.vue
+20
-1
No files found.
src/config/env.config.js
View file @
a2a2706e
let
shenceHost
=
'
https://bn.xyqb.com/sa?project=default
'
;
// 测试地址
let
talosHost
=
'
https://talos-test1.liangkebang.net
'
;
// 电商分期测试环境服务地址
let
operatorHost
=
'
https://operator.liangkebang.com
'
;
const
shenceHost
=
'
https://bn.xyqb.com/sa?project=default
'
;
// 测试地址
const
talosHost
=
'
https://talos-vcc2.liangkebang.net
'
;
// 电商分期测试环境服务地址
const
operatorHost
=
'
https://operator.liangkebang.com
'
;
const
defaultChannelCode
=
'
155913
'
;
export
default
{
talosHost
,
operatorHost
,
test
:
true
,
shenceHost
shenceHost
,
defaultChannelCode
};
src/config/production.config.js
View file @
a2a2706e
...
...
@@ -2,9 +2,11 @@ const protocol = window.location.protocol;
const
talosHost
=
protocol
+
'
//talos.xyqb.com
'
;
const
operatorHost
=
protocol
+
'
//auth.quantgroup.cn
'
;
const
shenceHost
=
'
https://bn.xyqb.com/sa?project=production
'
;
const
defaultChannelCode
=
'
155913
'
;
export
default
{
test
:
false
,
shenceHost
,
talosHost
,
operatorHost
operatorHost
,
defaultChannelCode
};
src/service/userInfo.service.js
View file @
a2a2706e
import
{
parseSearch
}
from
'
./utils.service
'
;
import
localStorage
from
'
./localStorage.service
'
;
// import config from '@/config/index';
export
function
getVccChannel
(
channelKey
=
'
vccChannel
'
)
{
if
(
channelKey
===
'
sonVccChannel
'
)
{
...
...
src/views/pay/index.less
View file @
a2a2706e
@import url('../../style/var.less');
@import url('../../style/mixins');
.pay {
padding: @padding-xs;
...
...
@@ -98,4 +99,22 @@
.placeholder{
width: 100%;
height: 100px;
}
@{deep} .pwd-modal {
.cr-pwd-field {
height: 56%;
}
.Cp-field-dialog {
position: relative;
left: 0;
margin-left: 0;
width: 100%;
border-radius: 16px 16px 0 0;
.Cpf-dialog-info {
display: none;
}
.Cpf-dialog-list {
padding-top: 20px;
}
}
}
\ No newline at end of file
src/views/pay/index.vue
View file @
a2a2706e
...
...
@@ -62,6 +62,7 @@
<cr-pwd-field
ref=
"pwd"
v-model=
"pwdModal"
class=
"pwd-modal"
:amount=
"amount"
@
getData=
"getPwd"
@
retrieveLink=
"retrieveLink"
...
...
@@ -317,6 +318,9 @@ export default {
if
(
p
.
isDefault
)
{
this
.
mergePayPretreatmentInfo
=
p
.
mergePayPretreatmentInfo
;
}
if
(
key
===
'
creditPayInfo
'
&&
this
.
checkStatus
(
displayInfo
[
key
],
displayInfo
))
{
displayInfo
[
key
].
disabled
=
true
;
}
this
.
$set
(
this
.
creditPayList
.
payList
,
key
,
{
...
displayInfo
[
key
],
...
p
,
...
...
@@ -365,6 +369,21 @@ export default {
return
false
;
}
},
checkStatus
({
accountStatus
,
canAmt
},
{
orderAmt
})
{
// 开户成功已有额度小于订单额度和审核被拒
const
faceValueNew
=
this
.
selectedCoupon
.
faceValueNew
;
const
orderCanUseAmt
=
this
.
creditQuotaInfo
?.
orderCanUseAmt
;
// 风控金额为0的时候享花卡不可选中
if
(
+
orderCanUseAmt
===
0
)
{
return
true
;
}
if
(
!
faceValueNew
)
{
// (是否是信用支付状态已开户并且 支付总金额是否大于可使用信用额度)或者 信用账户vcc审核失败
return
(
accountStatus
===
5
&&
+
orderAmt
>
+
canAmt
)
||
accountStatus
===
3
;
}
return
(
accountStatus
===
5
&&
+
orderAmt
>
+
canAmt
+
+
faceValueNew
)
||
accountStatus
===
3
;
},
getBtnStatus
(
isRiskLimit
)
{
const
{
accountStatus
}
=
this
.
creditPayInfo
;
if
(
!
accountStatus
)
return
;
...
...
@@ -661,6 +680,6 @@ export default {
};
</
script
>
<
style
lang=
"less"
>
<
style
lang=
"less"
scoped
>
@import './index.less';
</
style
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment