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
5b7162c2
Commit
5b7162c2
authored
Apr 09, 2021
by
malin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
t
parent
0118c61b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
AccordWithName.vue
src/views/Home/child_cpn/AccordWithName.vue
+2
-1
PayInfo.vue
src/views/Pay/child_cpn/PayInfo.vue
+5
-4
No files found.
src/views/Home/child_cpn/AccordWithName.vue
View file @
5b7162c2
...
...
@@ -79,6 +79,7 @@
</template>
<
script
>
import
utils
from
"@/utils"
;
export
default
{
data
()
{
return
{
...
...
@@ -161,7 +162,7 @@ export default {
{
gender
:
0
,
name
:
this
.
female
},
],
};
utils
.
setCookie
(
"baseInfo"
,
JSON
.
stringify
(
params
.
info
),
0
);
this
.
$router
.
push
({
path
:
"/pay"
,
query
:
params
});
},
},
...
...
src/views/Pay/child_cpn/PayInfo.vue
View file @
5b7162c2
...
...
@@ -8,7 +8,7 @@
<div
class=
"col-center-center"
>
<img
class=
"img3"
src=
"@/assets/img/pay/img3.png"
alt=
""
/>
<span
style=
"margin: 0.2rem 0 0.1rem 0"
>
{{
$route
.
query
.
info
?
$route
.
query
.
info
[
0
].
name
:
"xxx
"
baseInfo
.
length
>
0
?
baseInfo
[
0
].
name
:
"
"
}}
</span>
<span
class=
"fs-24 fc-21 fw-4"
>
男主角
</span>
</div>
...
...
@@ -18,7 +18,7 @@
<div
class=
"col-center-center"
>
<img
class=
"img4"
src=
"@/assets/img/pay/img4.png"
alt=
""
/>
<span
style=
"margin: 0.2rem 0 0.1rem 0"
>
{{
$route
.
query
.
info
?
$route
.
query
.
info
[
1
].
name
:
"xxx
"
baseInfo
.
length
>
0
?
baseInfo
[
1
].
name
:
"
"
}}
</span>
<span
class=
"fs-24 fc-21 fw-4"
>
女主角
</span>
</div>
...
...
@@ -96,6 +96,7 @@ export default {
second
:
"00"
,
cash
:
0
,
originalPrice
:
"139"
,
baseInfo
:
[],
};
},
...
...
@@ -111,6 +112,8 @@ export default {
}
},
1000
);
this
.
baseInfo
=
JSON
.
parse
(
utils
.
getCookie
(
"baseInfo"
));
this
.
_payConfig
();
},
...
...
@@ -150,9 +153,7 @@ export default {
);
const
orderId
=
res_order
.
result
.
data
.
orderId
;
const
baseInfo
=
res_order
.
result
.
data
.
baseInfo
;
utils
.
setCookie
(
"orderId"
,
orderId
,
0
);
// 将orderId放入cookie中
utils
.
setCookie
(
"baseInfo"
,
JSON
.
stringify
(
baseInfo
),
0
);
// 上报-- > 信息收集;
API
.
API_h5Logs
({
...
...
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