Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高淑倩
7-Eleven
Commits
0428f2f7
Commit
0428f2f7
authored
Aug 31, 2019
by
赵雅纹
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-zyw-sc' into 'dev_7.1.0'
推广 See merge request
!107
parents
cf3541f0
f5e7318f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
extendProduct.js
src/pages/extendProduct/extendProduct.js
+5
-0
No files found.
src/pages/extendProduct/extendProduct.js
View file @
0428f2f7
...
@@ -117,6 +117,10 @@ wxService.page({
...
@@ -117,6 +117,10 @@ wxService.page({
//生成卡片
//生成卡片
onTapPoster
()
{
onTapPoster
()
{
console
.
log
(
'----------'
,
this
.
data
.
proData
)
console
.
log
(
'----------'
,
this
.
data
.
proData
)
this
.
data
.
proData
.
forEach
((
item
)
=>
{
item
.
url
=
item
.
productImgUrl
item
.
title
=
item
.
productName
})
if
(
!
this
.
data
.
proData
){
if
(
!
this
.
data
.
proData
){
wx
.
showToast
({
wx
.
showToast
({
title
:
'请先选择商品'
,
title
:
'请先选择商品'
,
...
@@ -130,6 +134,7 @@ wxService.page({
...
@@ -130,6 +134,7 @@ wxService.page({
title
:
this
.
data
.
proData
[
0
].
productName
,
title
:
this
.
data
.
proData
[
0
].
productName
,
type
:
3
// 1:门店,2:员工(暂时不做),3:会员,4:第三方外部渠道,5:智能营销
type
:
3
// 1:门店,2:员工(暂时不做),3:会员,4:第三方外部渠道,5:智能营销
}
}
console
.
log
(
'4444'
,
tentacleInfo
.
content
)
this
.
data
.
currentShareContent
=
this
.
data
.
proData
[
0
];
this
.
data
.
currentShareContent
=
this
.
data
.
proData
[
0
];
...
...
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