Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
Y
ybf
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xulili
ybf
Commits
8bb3c8b6
Commit
8bb3c8b6
authored
Mar 20, 2020
by
Z
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Z: Dot: Wx: 兼容性问题解决中版本。
parent
ce93e684
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
14 deletions
+2
-14
index.vue
ybf_wx/src/views/sideNav/discount/index.vue
+2
-14
No files found.
ybf_wx/src/views/sideNav/discount/index.vue
View file @
8bb3c8b6
...
...
@@ -264,7 +264,7 @@ export default {
},
zpick
(
inMsgType
,
inUrl
)
{
//
alert(`--->discount.vue: zpick: IN.`);
alert
(
`--->discount.vue: zpick: IN.`
);
switch
(
inMsgType
)
{
case
"text"
:
...
...
@@ -288,28 +288,16 @@ export default {
);
break
;
case
"h5"
:
// alert(`--->discount: zpick: sendChatMessage: news =${JSON.stringify(
// {
// // link: "http://qywx2.100smartdata.com/voucherInfo", //H5消息页面url 必填
// link: `http://qywx2.100smartdata.com/qrCode?Url=${inUrl}&activeId=${this.zcache.now.activeId}&voucherId=${this.zcache.now.voucherId}&unionId=1234`, //H5消息页面url 必填
// title: "Z: h5消息标题", //H5消息标题
// desc: inUrl, //H5消息摘要
// // imgUrl: "http://qywx2.100smartdata.com/hi.jpg" //H5消息封面图片URL
// imgUrl: inUrl //H5消息封面图片URL
// }
// )}`)
alert
(
`--->discount.vue: zpick: H5: IN.`
);
wx
.
invoke
(
"sendChatMessage"
,
{
msgtype
:
"text"
,
//消息类型,必填
news
:
{
// link: "http://qywx2.100smartdata.com/voucherInfo", //H5消息页面url 必填
// link: `http://qywx2.100smartdata.com/qrCode?Url=${inUrl}&activeId=${this.zcache.now.activeId}&voucherId=${this.zcache.now.voucherId}&unionId=${this.zcache.unionId}`, //H5消息页面url 必填
link
:
`http://qywx2.100smartdata.com/qrCode?Url=
${
inUrl
}
&activeId=
${
this
.
zcache
.
now
.
activeId
}
&voucherId=
${
this
.
zcache
.
now
.
voucherId
}
&unionId=1234`
,
//H5消息页面url 必填
title
:
"领取优惠券"
,
//H5消息标题
desc
:
inUrl
,
//H5消息摘要
// imgUrl: "http://qywx2.100smartdata.com/hi.jpg" //H5消息封面图片URL
imgUrl
:
inUrl
//H5消息封面图片URL
}
},
...
...
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