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
fc89f46e
Commit
fc89f46e
authored
Aug 03, 2022
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试订阅
parent
651f7d68
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
54 additions
and
1 deletions
+54
-1
src/app.json
+2
-1
src/pages/paySuccess/index.vue
+35
-0
src/pages/paySuccess/main.js
+5
-0
src/pages/paySuccess/main.json
+12
-0
No files found.
src/app.json
View file @
fc89f46e
...
@@ -17,7 +17,8 @@
...
@@ -17,7 +17,8 @@
"pages/wxArticle/main"
,
"pages/wxArticle/main"
,
"pages/userInfo/main"
,
"pages/userInfo/main"
,
"pages/memberCode/main"
,
"pages/memberCode/main"
,
"pages/toMini/main"
"pages/toMini/main"
,
"pages/paySuccess/main"
],
],
"subPackages"
:
[
"subPackages"
:
[
{
{
...
...
src/pages/paySuccess/index.vue
0 → 100644
View file @
fc89f46e
<
template
>
<!-- 支付成功页 -->
<div
class=
"paySuccess"
@
click=
"toDingyue"
>
点击订阅
</div>
</
template
>
<
script
type=
"text/ecmascript-6"
>
export
default
{
name
:
""
,
data
()
{
return
{};
},
components
:
{},
computed
:
{},
created
()
{},
mounted
()
{},
methods
:
{
toDingyue
()
{
wx
.
requestSubscribeMessage
({
tmplIds
:
[
'cTgB0EMEibieOPU6HWPbmr3YCea7MZYCryxmi2_fS5o'
,
'pWi2-icKybK1fSSjRf-wrsQE1jmsuEp1QgPTAxn2nB0'
],
success
(
res
)
{
console
.
log
(
res
,
'-------------res'
)
}
})
}
},
};
</
script
>
<
style
lang=
"scss"
scoped
>
.paySuccess
{
margin-top
:
200px
;
}
</
style
>
src/pages/paySuccess/main.js
0 → 100644
View file @
fc89f46e
import
Vue
from
'vue'
import
App
from
'./index'
const
app
=
new
Vue
(
App
)
app
.
$mount
()
src/pages/paySuccess/main.json
0 → 100644
View file @
fc89f46e
{
"navigationBarTitleText"
:
"登录"
,
"usingComponents"
:
{
"van-checkbox"
:
"/static/vant/checkbox/index"
,
"van-popup"
:
"/static/vant/popup/index"
,
"van-picker"
:
"/static/vant/picker/index"
,
"van-icon"
:
"/static/vant/icon/index"
,
"photo-gallery"
:
"/static/nativeComponents/PhotoGallery/index"
,
"notice"
:
"/static/nativeComponents/Notice/index"
},
"navigationStyle"
:
"custom"
}
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