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
323cf042
Commit
323cf042
authored
Oct 31, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_7.2.0' of
ssh://gitlab.bigaka.net:2287/gaoshq/7-Eleven
into dev_7.2.0
parents
8e2780bb
b3a518d3
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
6 deletions
+9
-6
tabBar.wxml
src/shoppingGuid/component/tabBar/tabBar.wxml
+3
-0
welfare.js
src/shoppingGuid/page/pages/welfare/welfare.js
+1
-1
Http.js
src/utils/Http.js
+2
-1
wxService.js
src/utils/wxService.js
+3
-4
No files found.
src/shoppingGuid/component/tabBar/tabBar.wxml
View file @
323cf042
<!--subPackage/component/tabBar/tabBar.wxml-->
<!-- <cover-view class='bottom-container'>
</cover-view> -->
<view class='bottom-tab-bar'>
<view class='tab-bar-item'
bindtap='onTapToPage'
...
...
src/shoppingGuid/page/pages/welfare/welfare.js
View file @
323cf042
...
...
@@ -159,7 +159,7 @@ wxService.page({
let
inner_tentacleId
=
Integer
.
digit
(
tentacleId
,
10
,
64
);
var
path
=
'pages/productDetail/productDetail'
+
'?i='
+
inner_id
+
'&t='
+
inner_tentacleId
;
// let path = 'pages/productDetail/productDetail';
console
.
log
(
'推荐商品path-----'
,
path
)
//
console.log('推荐商品path-----', path)
//打开企业微信通讯录选择会员
wx
.
qy
.
shareToExternalContact
({
appid
:
app
.
globalData
.
appId
,
//小程序的appid
...
...
src/utils/Http.js
View file @
323cf042
...
...
@@ -82,7 +82,7 @@ class Http {
get
(
url
,
parmas
)
{
let
baseUserInfo
=
wx
.
getStorageSync
(
'_baseUserInfo'
)
console
.
log
(
this
.
getTentacle
())
if
(
baseUserInfo
){
return
this
.
request
({
url
,
...
...
@@ -116,6 +116,7 @@ class Http {
post
(
url
,
parmas
,
channel
)
{
let
baseUserInfo
=
wx
.
getStorageSync
(
'_baseUserInfo'
)
let
guideUserInfo
=
wx
.
getStorageSync
(
'guidBaseInfo'
);
console
.
log
(
'getTentacle------'
,
this
.
getTentacle
())
// console.log('--------------header-----------------', this.getTentacle())
// console.log('--------------token-----------------', this.getToken())
...
...
src/utils/wxService.js
View file @
323cf042
...
...
@@ -590,21 +590,20 @@ class WXService extends Http {
if
(
item
[
'i'
])
{
item
[
'id'
]
=
Integer
.
digit
(
item
[
'i'
],
64
,
10
);
}
// id = item['memberId'];
}
if
(
item
[
'scene'
])
{
pageIsFromShare
=
true
;
let
idParam
=
decodeURIComponent
(
item
[
'scene'
]).
split
(
'&'
)[
0
]
console
.
log
(
'idParam---'
,
idParam
)
let
idParam
=
decodeURIComponent
(
item
[
'scene'
]).
split
(
'&'
)[
0
];
let
shareId
=
idParam
&&
idParam
.
split
(
'='
)[
1
]
||
0
item
[
'id'
]
=
Integer
.
digit
(
shareId
,
64
,
10
)
id
=
Integer
.
digit
(
shareId
,
64
,
10
)
;
id
=
item
[
'id'
]
;
}
});
//如果打开的是分享界面则进行触点对象信息请求并存储到本地 放到后续的header中
if
(
pageIsFromShare
)
{
//调用接口
console
.
log
(
id
)
_self
.
getTentacleContentByTentacleId
(
id
);
}
...
...
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