Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
A
accord-with-name
Project
Project
Details
Activity
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
malin
accord-with-name
Commits
0118c61b
Commit
0118c61b
authored
Apr 09, 2021
by
malin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
f07cb30d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
2 deletions
+19
-2
PayInfo.vue
src/views/Pay/child_cpn/PayInfo.vue
+19
-2
No files found.
src/views/Pay/child_cpn/PayInfo.vue
View file @
0118c61b
...
@@ -91,11 +91,11 @@ import utils from "@/utils";
...
@@ -91,11 +91,11 @@ import utils from "@/utils";
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
cash
:
48
,
originalPrice
:
188
,
hour
:
"00"
,
hour
:
"00"
,
minute
:
"00"
,
minute
:
"00"
,
second
:
"00"
,
second
:
"00"
,
cash
:
0
,
originalPrice
:
"139"
,
};
};
},
},
...
@@ -110,9 +110,26 @@ export default {
...
@@ -110,9 +110,26 @@ export default {
this
.
second
=
"00"
;
this
.
second
=
"00"
;
}
}
},
1000
);
},
1000
);
this
.
_payConfig
();
},
},
methods
:
{
methods
:
{
// 获取支付价格
_payConfig
()
{
let
h5LogsObj
=
JSON
.
parse
(
decodeURI
(
utils
.
getCookie
(
"h5LogsObj"
)));
API
.
API_payConfig
({
pkg
:
h5LogsObj
.
pkg
?
h5LogsObj
.
pkg
:
"com.h5game.peidui"
,
zygt
:
"hzwz"
,
tgtk
:
1
,
uid
:
1008611
,
}).
then
((
res
)
=>
{
this
.
cash
=
res
.
result
.
data
.
goodsList
[
0
].
cash
;
this
.
originalPrice
=
res
.
result
.
data
.
goodsList
[
0
].
originalPrice
;
});
},
// 支付
// 支付
async
_payment
()
{
async
_payment
()
{
const
h5LogsObj
=
JSON
.
parse
(
decodeURI
(
utils
.
getCookie
(
"h5LogsObj"
)));
const
h5LogsObj
=
JSON
.
parse
(
decodeURI
(
utils
.
getCookie
(
"h5LogsObj"
)));
...
...
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