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
f25fa410
Commit
f25fa410
authored
Dec 15, 2020
by
张卓
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'product_dev' of
http://code.mayi888.com/chengmo/mayi-mp-shop
into product_dev
parents
3473488f
a1386757
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
12 deletions
+5
-12
src/pages/index/index.vue
+2
-10
src/pages/wxPay/index.vue
+3
-2
No files found.
src/pages/index/index.vue
View file @
f25fa410
...
...
@@ -272,7 +272,6 @@ export default {
// var query = options.query.dentistId; // 参数二维码传递过来的场景参数
}
console
.
log
(
"url"
,
this
.
link
+
this
.
page
+
this
.
params
);
this
.
getSpokesman
();
this
.
init
();
},
onShow
()
{
...
...
@@ -408,15 +407,8 @@ export default {
onUnload
()
{
console
.
log
(
"卸载----------------"
,
this
.
options
);
},
onShareAppMessage
(
res
)
{
console
.
log
(
res
)
console
.
log
(
this
.
shareShopName
,
"share"
,
res
.
webViewUrl
,
"0000"
,
this
.
shareLogoUrl
);
async
onShareAppMessage
(
res
)
{
await
this
.
getSpokesman
();
let
url
=
''
console
.
log
(
this
.
newWindowHref
+
'this.newWindowHref'
)
//分享路径
...
...
src/pages/wxPay/index.vue
View file @
f25fa410
...
...
@@ -81,7 +81,7 @@ export default {
console
.
log
(
'wxPay'
,
res
.
data
)
payData
.
success
=
res
=>
{
console
.
log
(
"支付成功"
,
res
,
this
.
options
);
this
.
message
=
"支付成功"
;
const
orderSn
=
this
.
options
.
orderSn
;
let
vm
=
this
...
...
@@ -110,6 +110,7 @@ export default {
console
.
log
(
"message success response: "
,
res
);
},
fail
(
res
)
{
fn
(
vm
)
console
.
log
(
"message fail response: "
,
res
)
}
})
...
...
@@ -125,7 +126,7 @@ export default {
console
.
error
(
"subscribeMessage-err"
,
err
);
}
function
fn
(
_this
){
_this
.
message
=
"支付成功"
;
//
_this.message = "支付成功";
if
(
!
_this
.
options_isCard
){
let
query
;
if
(
_this
.
batchNumber
){
...
...
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