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
c6a6063e
Commit
c6a6063e
authored
Nov 22, 2019
by
谢中龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改华东
parent
a2b34680
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
IntegralMallGoods.json
...ckage/page/pages/IntegralMallGoods/IntegralMallGoods.json
+0
-1
wxService.js
src/utils/wxService.js
+6
-3
No files found.
src/subPackage/page/pages/IntegralMallGoods/IntegralMallGoods.json
View file @
c6a6063e
{
"enablePullDownRefresh"
:
true
,
"navigationBarTitleText"
:
"积分商城"
,
"usingComponents"
:
{
"no-more"
:
"/component/noMore/noMore"
,
...
...
src/utils/wxService.js
View file @
c6a6063e
...
...
@@ -599,12 +599,15 @@ class WXService extends Http {
if
(
item
[
'scene'
])
{
pageIsFromShare
=
true
;
let
idParam
=
decodeURIComponent
(
item
[
'scene'
]).
split
(
'&'
)[
0
];
let
shareId
=
idParam
&&
idParam
.
split
(
'='
)[
1
]
||
0
let
shareId
=
idParam
&&
idParam
.
split
(
'='
)[
1
]
||
0
;
//处理pageId的
if
(
idParam
.
indexOf
(
'pageId'
)
>
-
1
){
item
[
'pageId'
]
=
shareId
;
}
//
item
[
'id'
]
=
Integer
.
digit
(
shareId
,
64
,
10
)
// console.log(item['id'])
id
=
item
[
'id'
];
}
});
//如果打开的是分享界面则进行触点对象信息请求并存储到本地 放到后续的header中
if
(
pageIsFromShare
)
{
...
...
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