Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
fireflyReg
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
11383df7
authored
a year ago
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
8e24e39a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
js/newpcjs/index.js
js/newpcjs/index.js
View file @
11383df7
...
...
@@ -1234,8 +1234,8 @@ function getPayInfo(codeNum){
if
(
data
.
code
==
1
){
var
html
=
[]
for
(
var
i
=
0
;
i
<
data
.
payTypeList
.
length
;
i
++
){
if
(
i
==
0
)
html
+=
'<div data-type="'
+
data
.
payTypeList
[
i
].
payType
+
'" class="pay-list-click"><img src="newPayImg/'
+
data
.
payTypeList
[
i
].
payType
+
'.png" alt=""></div>'
;
else
html
+=
'<div data-type="'
+
data
.
payTypeList
[
i
].
payType
+
'"><img src="newPayImg/'
+
data
.
payTypeList
[
i
].
payType
+
'.png" alt=""></div>'
;
if
(
i
==
0
)
html
+=
'<div data-type="'
+
data
.
payTypeList
[
i
].
payType
+
'"
data-type2="'
+
i
+
'"
class="pay-list-click"><img src="newPayImg/'
+
data
.
payTypeList
[
i
].
payType
+
'.png" alt=""></div>'
;
else
html
+=
'<div data-type="'
+
data
.
payTypeList
[
i
].
payType
+
'"
data-type2="'
+
i
+
'"
><img src="newPayImg/'
+
data
.
payTypeList
[
i
].
payType
+
'.png" alt=""></div>'
;
}
$
(
".pay-list-left"
).
html
(
html
)
getRecharge
(
data
.
payTypeList
[
0
].
payType
)
...
...
@@ -1249,6 +1249,7 @@ function getPayInfo(codeNum){
_self
.
addClass
(
"pay-list-click"
)
getRecharge
(
_self
.
attr
(
"data-type"
))
sessionStorage
.
pay
=
_self
.
attr
(
"data-type"
)
$
(
".pay-list-exc-tips span"
).
text
(
data
.
payTypeList
[
_self
.
attr
(
"data-type2"
)].
unitPrice
)
})
}
}
...
...
This diff is collapsed.
Click to expand it.
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