Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
7f84a931
Commit
7f84a931
authored
Apr 19, 2022
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新
parent
12f35aa7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletions
+4
-1
src/pages/pages_subpack/article/index.vue
+1
-1
src/pages/wxPay/index.vue
+3
-0
src/utils/themeModule.js
+0
-0
No files found.
src/pages/pages_subpack/article/index.vue
View file @
7f84a931
<
template
>
<div
class=
"article_container"
>
<div
class=
"article_container"
v-if=
"article"
>
<div
class=
"richText"
>
<div
class=
"title"
v-if=
"article.title"
>
{{
article
.
title
}}
</div>
...
...
src/pages/wxPay/index.vue
View file @
7f84a931
...
...
@@ -33,6 +33,7 @@ export default {
});
Object
.
assign
(
this
.
$data
,
this
.
$options
.
data
());
//mpvue 的混合周期 使用小程序生命周期数据未初始化
log
.
info
(
"onload//"
,
options
);
console
.
log
(
options
,
'--onLoad-options'
)
if
(
options
.
batchNumber
)
{
let
ordercode
=
JSON
.
parse
(
options
.
ordercode
);
ordercode
.
orderSn
=
""
;
...
...
@@ -96,6 +97,7 @@ export default {
this
.
message
=
"支付成功"
;
const
orderSn
=
this
.
options
.
orderSn
;
let
vm
=
this
;
console
.
log
(
res
,
'---------------支付成功'
)
try
{
const
subscribeMessageObj
=
this
.
$store
.
state
...
...
@@ -160,6 +162,7 @@ export default {
}
// sso场景(跳转第三方url)
if
(
_this
.
scene
==
"sso"
)
{
console
.
log
(
_this
.
backUrl
,
'----------pay--_this.backUrl'
)
setTimeout
(()
=>
{
wx
.
redirectTo
({
url
:
`../wxArticle/main?from=sso&link=
${
_this
.
backUrl
}
`
,
...
...
src/utils/themeModule.js
View file @
7f84a931
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