Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
xugong
hls-xcmg-vue-app
Commits
4f94472e
Commit
4f94472e
authored
Oct 28, 2019
by
李晓兵
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
https://hel.hand-china.com/xugong/hls-xcmg-vue-app
into develop
parents
b133af0f
9ccf375b
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
99 additions
and
8 deletions
+99
-8
bank.png
src/assets/payment/bank.png
+0
-0
pay-entry.vue
src/pages/pay/firstPay/pay-entry.vue
+49
-2
pay-entry.vue
src/pages/pay/payment/pay-entry.vue
+48
-4
bankInfo.vue
src/pages/userBind/np/bankInfo.vue
+1
-1
bankInfo.vue
src/pages/userBind/org/bankInfo.vue
+1
-1
No files found.
src/assets/payment/bank.png
0 → 100644
View file @
4f94472e
861 Bytes
src/pages/pay/firstPay/pay-entry.vue
View file @
4f94472e
...
...
@@ -28,7 +28,7 @@
</section>
</item>
<item
v-for=
"(item,index) in lists"
:proportion=
"[7,1,1]"
:key=
"index"
@
click
.
native=
"isSelect(`three$
{index}`)">
<div
slot=
"name"
style=
"flex=3"
>
<img
src=
"@/assets/payment/ly.png
"
alt=
""
class=
"icon"
>
{{
item
.
bank_full_name
}}
(
{{
selectLast
(
item
)
}}
)
</div>
<div
slot=
"name"
style=
"flex=3"
>
<img
:src=
"selectImg(item)
"
alt=
""
class=
"icon"
>
{{
item
.
bank_full_name
}}
(
{{
selectLast
(
item
)
}}
)
</div>
<section
slot=
"content"
>
<img
v-show=
"select === `three$
{index}`" src="@/assets/payment/select.png" alt="">
<img
v-show=
"select !== `three$
{index}`" src="@/assets/payment/unselect.png" alt="">
...
...
@@ -46,7 +46,21 @@
</
template
>
<
script
>
import
js
from
'@/assets/payment/js.png'
import
ny
from
'@/assets/payment/ly.png'
import
pf
from
'@/assets/payment/pf.png'
import
gd
from
'@/assets/payment/gd.png'
import
gf
from
'@/assets/payment/gf.png'
import
jt
from
'@/assets/payment/jt.png'
import
gs
from
'@/assets/payment/gs.png'
import
ms
from
'@/assets/payment/ms.png'
import
pa
from
'@/assets/payment/pa.png'
import
xy
from
'@/assets/payment/xy.png'
import
yzcx
from
'@/assets/payment/yzcx.png'
import
zg
from
'@/assets/payment/zg.png'
import
zs
from
'@/assets/payment/zs.png'
import
zx
from
'@/assets/payment/zx.png'
import
bank
from
'@/assets/payment/bank.png'
export
default
{
name
:
'PayEntry'
,
components
:
{
...
...
@@ -71,6 +85,39 @@ export default {
this
.
money
=
this
.
$route
.
params
.
money
},
methods
:
{
selectImg
(
e
)
{
if
(
e
.
bank_full_name
.
indexOf
(
'建设'
)
!==
-
1
)
{
return
js
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'农业'
)
!==
-
1
)
{
return
ny
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'光大'
)
!==
-
1
)
{
return
gd
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'广发'
)
!==
-
1
)
{
return
gf
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'浦'
)
!==
-
1
)
{
return
pf
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'工商'
)
!==
-
1
)
{
return
gs
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'交通'
)
!==
-
1
)
{
return
jt
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'民生'
)
!==
-
1
)
{
return
ms
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'平安'
)
!==
-
1
)
{
return
pa
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'兴业'
)
!==
-
1
)
{
return
xy
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'邮'
)
!==
-
1
)
{
return
yzcx
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'中国'
)
!==
-
1
)
{
return
zg
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'招商'
)
!==
-
1
)
{
return
zs
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'中信'
)
!==
-
1
)
{
return
zx
}
else
{
return
bank
}
},
selectLast
(
item
)
{
let
num
=
item
.
bank_account_num
return
num
.
substring
(
num
.
length
-
4
)
...
...
src/pages/pay/payment/pay-entry.vue
View file @
4f94472e
...
...
@@ -28,7 +28,7 @@
</section>
</item>
<item
v-for=
"(item,index) in lists"
:proportion=
"[7,1,1]"
:key=
"index"
@
click
.
native=
"isSelect(`three$
{index}`)">
<div
slot=
"name"
style=
"flex=3"
>
<img
src=
"@/assets/payment/ly.png
"
alt=
""
class=
"icon"
>
{{
item
.
bank_full_name
}}
(
{{
selectLast
(
item
)
}}
)
</div>
<div
slot=
"name"
style=
"flex=3"
>
<img
:src=
"selectImg(item)
"
alt=
""
class=
"icon"
>
{{
item
.
bank_full_name
}}
(
{{
selectLast
(
item
)
}}
)
</div>
<section
slot=
"content"
>
<img
v-show=
"select === `three$
{index}`" src="@/assets/payment/select.png" alt="">
<img
v-show=
"select !== `three$
{index}`" src="@/assets/payment/unselect.png" alt="">
...
...
@@ -54,7 +54,20 @@
</
template
>
<
script
>
import
js
from
'@/assets/payment/js.png'
import
ny
from
'@/assets/payment/ly.png'
import
pf
from
'@/assets/payment/pf.png'
import
gd
from
'@/assets/payment/gd.png'
import
gf
from
'@/assets/payment/gf.png'
import
jt
from
'@/assets/payment/jt.png'
import
gs
from
'@/assets/payment/gs.png'
import
ms
from
'@/assets/payment/ms.png'
import
pa
from
'@/assets/payment/pa.png'
import
xy
from
'@/assets/payment/xy.png'
import
yzcx
from
'@/assets/payment/yzcx.png'
import
zg
from
'@/assets/payment/zg.png'
import
zs
from
'@/assets/payment/zs.png'
import
zx
from
'@/assets/payment/zx.png'
export
default
{
name
:
'PaymentPayEntry'
,
components
:
{
...
...
@@ -67,7 +80,8 @@ export default {
}
},
computed
:
{},
watch
:
{},
watch
:
{
},
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
if
(
from
.
name
===
'PaymentFirstPay'
)
{
...
...
@@ -91,6 +105,37 @@ export default {
let
num
=
item
.
bank_account_num
return
num
.
substring
(
num
.
length
-
4
)
},
selectImg
(
e
)
{
if
(
e
.
bank_full_name
.
indexOf
(
'建设'
)
!==
-
1
)
{
return
js
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'农业'
)
!==
-
1
)
{
return
ny
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'光大'
)
!==
-
1
)
{
return
gd
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'广发'
)
!==
-
1
)
{
return
gf
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'浦'
)
!==
-
1
)
{
return
pf
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'工商'
)
!==
-
1
)
{
return
gs
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'交通'
)
!==
-
1
)
{
return
jt
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'民生'
)
!==
-
1
)
{
return
ms
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'平安'
)
!==
-
1
)
{
return
pa
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'兴业'
)
!==
-
1
)
{
return
xy
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'邮'
)
!==
-
1
)
{
return
yzcx
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'中国'
)
!==
-
1
)
{
return
zg
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'招商'
)
!==
-
1
)
{
return
zs
}
else
if
(
e
.
bank_full_name
.
indexOf
(
'中信'
)
!==
-
1
)
{
return
zx
}
},
goSuccess
()
{
this
.
$router
.
push
({
name
:
'Success'
,
...
...
@@ -114,7 +159,6 @@ export default {
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
vm
.
lists
=
res
.
lists
vm
.
userName
=
res
.
lists
[
0
].
bank_account_name
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
...
...
src/pages/userBind/np/bankInfo.vue
View file @
4f94472e
...
...
@@ -75,7 +75,7 @@ export default {
this
.
sendFlag
(
false
)
},
changeBgImg
(
item
)
{
if
(
item
.
bank_full_name
===
'中国农业银行'
)
{
if
(
item
.
bank_full_name
.
indexOf
(
'农业银行'
)
!==
-
1
)
{
return
backImg1
}
else
{
return
backImg2
...
...
src/pages/userBind/org/bankInfo.vue
View file @
4f94472e
...
...
@@ -82,7 +82,7 @@ export default {
this
.
sendFlag
(
false
)
},
changeBgImg
(
item
)
{
if
(
item
.
bank_full_name
===
'中国农业银行'
)
{
if
(
item
.
bank_full_name
.
indexOf
(
'农业银行'
)
!==
-
1
)
{
return
backImg1
}
else
{
return
backImg2
...
...
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