Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
H
h5-baby
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
h5-baby
Commits
d184d179
Commit
d184d179
authored
Apr 06, 2021
by
malin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
t
parent
902d8df1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
index.vue
src/views/Result/index.vue
+9
-2
No files found.
src/views/Result/index.vue
View file @
d184d179
...
...
@@ -111,7 +111,10 @@
换一批
</div>
</div>
<div
class=
"fc-9 fs-28"
>
一共有200个起名推荐,请翻页查看
</div>
<div
class=
"fc-9 fs-28"
>
一共有200个起名推荐,请翻页查看{{ orderId }}
</div>
<div>
{{ testInfo }}
</div>
</div>
</div>
</div>
...
...
@@ -149,6 +152,8 @@ export default {
words
:
3
,
page
:
1
,
counter
:
1
,
orderId
:
""
,
testInfo
:
""
,
};
},
...
...
@@ -201,6 +206,7 @@ export default {
// 网络请求,当支付失败时,跳转到支付页面
_queryOrder
()
{
let
orderId
=
utils
.
getCookie
(
"orderId"
);
this
.
orderId
=
orderId
;
let
h5LogsObj
=
JSON
.
parse
(
decodeURI
(
utils
.
getCookie
(
"h5LogsObj"
)));
let
params
=
{
outTradeNo
:
orderId
,
...
...
@@ -210,11 +216,12 @@ export default {
// pkg: h5LogsObj.pkg
pkg
:
"com.h5game.bbqm"
,
};
this
.
testInfo
=
JSON
.
stringify
(
params
);
API
.
API_gatewayQueryOrder
(
params
).
then
((
res
)
=>
{
let
status
=
res
.
result
.
data
.
status
;
if
(
status
!=
200
)
{
// 支付不成功
this
.
$router
.
push
({
path
:
"/pay"
,
query
:
this
.
babyInfo
});
//
this.$router.push({ path: "/pay", query: this.babyInfo });
}
});
},
...
...
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