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
e9a66d69
Commit
e9a66d69
authored
Oct 28, 2019
by
赵雅纹
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_7.1.0' into dev_7.2.0
parents
fe1d8fe4
df49ea04
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
6 deletions
+9
-6
userCenter.js
src/pages/userCenter/userCenter.js
+2
-2
grassCommunity.js
src/subPackage/page/pages/grassCommunity/grassCommunity.js
+4
-2
grassCommunity.wxml
src/subPackage/page/pages/grassCommunity/grassCommunity.wxml
+2
-1
share.js
src/subPackage/page/pages/share/share.js
+1
-1
No files found.
src/pages/userCenter/userCenter.js
View file @
e9a66d69
...
@@ -64,8 +64,8 @@ wxService.page({
...
@@ -64,8 +64,8 @@ wxService.page({
// 邀请奖励弹框
// 邀请奖励弹框
if
(
options
&&
options
[
'scene'
])
{
if
(
options
&&
options
[
'scene'
])
{
let
idParam
=
decodeURIComponent
(
options
[
'scene'
]).
split
(
'&'
)[
0
]
let
idParam
=
decodeURIComponent
(
options
[
'scene'
]).
split
(
'&'
)[
0
]
let
shareId
=
idParam
&&
idParam
.
split
(
'='
)[
1
]
||
0
let
TYPE
=
idParam
&&
idParam
.
split
(
'='
)[
1
]
||
0
if
(
shareId
==
10
){
if
(
TYPE
==
'-1'
){
this
.
setData
({
this
.
setData
({
shareBenefitModalShow
:
true
shareBenefitModalShow
:
true
})
})
...
...
src/subPackage/page/pages/grassCommunity/grassCommunity.js
View file @
e9a66d69
...
@@ -307,10 +307,12 @@ wxService.page({
...
@@ -307,10 +307,12 @@ wxService.page({
})
})
return
;
return
;
}
}
const
{
memberId
}
=
wx
.
getStorageSync
(
'_baseUserInfo'
)
this
.
setData
({
this
.
setData
({
'params.headline'
:
e
.
detail
.
value
.
headline
,
'params.headline'
:
e
.
detail
.
value
.
headline
,
'params.article'
:
e
.
detail
.
value
.
article
'params.article'
:
e
.
detail
.
value
.
article
,
'params.userId'
:
memberId
})
})
this
.
data
.
params
.
sspList
.
forEach
((
item
,
index
)
=>
{
this
.
data
.
params
.
sspList
.
forEach
((
item
,
index
)
=>
{
if
(
index
==
0
){
if
(
index
==
0
){
...
...
src/subPackage/page/pages/grassCommunity/grassCommunity.wxml
View file @
e9a66d69
...
@@ -38,7 +38,8 @@
...
@@ -38,7 +38,8 @@
<grass-item pro-goods="{{proGoods}}"/>
<grass-item pro-goods="{{proGoods}}"/>
</view>
</view>
</view>
</view>
<button class="post-notes fixed-bottom0" form-type="submit">发布笔记</button>
<button wx:if="{{!currentHasUserInfo}}" class="post-notes fixed-bottom0" bindgetuserinfo="_getUserInfo" data-jflag="false" open-type='getUserInfo'>发布笔记</button>
<button wx:if="{{currentHasUserInfo}}" class="post-notes fixed-bottom0" form-type="submit">发布笔记</button>
</form>
</form>
<!--goHome-->
<!--goHome-->
<go-home />
<go-home />
...
...
src/subPackage/page/pages/share/share.js
View file @
e9a66d69
...
@@ -118,7 +118,7 @@ wxService.page({
...
@@ -118,7 +118,7 @@ wxService.page({
let
data
=
{
let
data
=
{
"autoColor"
:
true
,
"autoColor"
:
true
,
"page"
:
'pages/userCenter/userCenter'
,
"page"
:
'pages/userCenter/userCenter'
,
"scene"
:
'type=
'
+
app
.
globalData
.
contants
.
SHARE_TYPE
.
INVITE_FRIENDS
,
"scene"
:
'type=
-1'
,
"width"
:
100
"width"
:
100
}
}
wxService
.
post
(
`/marketing/quickMark/getAppQrCodePicture`
,
data
).
then
(
res
=>
{
wxService
.
post
(
`/marketing/quickMark/getAppQrCodePicture`
,
data
).
then
(
res
=>
{
...
...
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