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
909d1e01
Commit
909d1e01
authored
Oct 30, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分享文案
parent
34d4f9e2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
2 deletions
+15
-2
myShare.js
src/pages/myShare/myShare.js
+13
-1
myShare.wxml
src/pages/myShare/myShare.wxml
+1
-0
myRelease.js
src/subPackage/page/pages/myRelease/myRelease.js
+1
-1
No files found.
src/pages/myShare/myShare.js
View file @
909d1e01
...
...
@@ -25,6 +25,7 @@ wxService.page({
contentList
:[],
currentShareContent
:
null
,
contentPermission
:
false
,
validContentSetExplain
:
''
,
scene
:
''
},
...
...
@@ -79,11 +80,22 @@ wxService.page({
plus
:
0
})
}
this
.
getValidContentSetExplain
()
// 获取有效的种草配置文案
this
.
getCategoryList
()
this
.
getContentPermission
()
this
.
data
.
currentShareContent
=
null
;
},
// 获取有效的种草配置文案
getValidContentSetExplain
()
{
wxService
.
post
(
`/merchant/shareContentSet/getValidContentSetExplain`
).
then
(
res
=>
{
if
(
!
res
)
return
false
const
{
result
,
data
}
=
res
.
data
if
(
result
==
0
)
{
this
.
setData
({
validContentSetExplain
:
data
})
}
}).
finally
(()
=>
{
})
},
// 统计阅读和转发量
getReadyOrForwardNumber
(
params
)
{
wxService
.
post
(
`/merchant/contentMobileTerminal/operationSave`
,
params
).
then
(
res
=>
{
...
...
src/pages/myShare/myShare.wxml
View file @
909d1e01
...
...
@@ -48,6 +48,7 @@
show-card-modal="{{showCardModal}}"
card-title="{{cardTitle}}"
card-url="{{cardUrl}}"
card-explain="{{validContentSetExplain}}"
page-path="{{pagePath}}"
scene="{{scene}}"
/>
...
...
src/subPackage/page/pages/myRelease/myRelease.js
View file @
909d1e01
...
...
@@ -72,7 +72,7 @@ wxService.page({
plus
:
0
})
}
//
this.getValidContentSetExplain() // 获取有效的种草配置文案
this
.
getValidContentSetExplain
()
// 获取有效的种草配置文案
this
.
getBannerInfo
()
this
.
getContentPermission
()
this
.
data
.
currentShareContent
=
null
;
...
...
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