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
74106942
Commit
74106942
authored
Mar 23, 2020
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
8a9b92b3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
src/components/livedModel/notStarted.vue
+3
-1
src/pages/index/index.vue
+3
-0
No files found.
src/components/livedModel/notStarted.vue
View file @
74106942
...
@@ -54,7 +54,8 @@ export default {
...
@@ -54,7 +54,8 @@ export default {
if
(
tmplIds
.
length
>
0
)
{
if
(
tmplIds
.
length
>
0
)
{
wx
.
requestSubscribeMessage
({
wx
.
requestSubscribeMessage
({
tmplIds
:
tmplIds
,
tmplIds
:
tmplIds
,
success
(
res
)
{
success
:(
res
)
=>
{
if
(
res
.
tmplIds
[
0
]
==
"accept"
){
wx
.
showToast
({
wx
.
showToast
({
title
:
"您已成功订阅~"
,
title
:
"您已成功订阅~"
,
icon
:
"success"
icon
:
"success"
...
@@ -65,6 +66,7 @@ export default {
...
@@ -65,6 +66,7 @@ export default {
subMessageTemplateId
:
tmplIds
[
0
],
subMessageTemplateId
:
tmplIds
[
0
],
};
};
live
.
addLiveNoticeByCustomer
(
query
).
then
(
res
=>
{});
live
.
addLiveNoticeByCustomer
(
query
).
then
(
res
=>
{});
}
console
.
log
(
"message success response: "
,
res
);
console
.
log
(
"message success response: "
,
res
);
},
},
fail
(
res
)
{
fail
(
res
)
{
...
...
src/pages/index/index.vue
View file @
74106942
...
@@ -174,6 +174,9 @@ export default {
...
@@ -174,6 +174,9 @@ export default {
}
else
if
(
querys
.
length
==
2
){
}
else
if
(
querys
.
length
==
2
){
this
.
params
+=
`&userId=
${
querys
[
1
]}
`
this
.
params
+=
`&userId=
${
querys
[
1
]}
`
}
}
}
else
if
(
querys
[
0
]
==
"coupon"
){
this
.
page
=
`/personalCenter/coupon/getCoupon`
;
this
.
params
+=
`&couponId=
${
querys
[
1
]}
`
}
}
}
}
console
.
log
(
querys
,
"scene"
);
console
.
log
(
querys
,
"scene"
);
...
...
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