Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
455d0da9
Commit
455d0da9
authored
May 17, 2021
by
张卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
来源门店登陆注册埋点
parent
7a095a0e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
6 deletions
+10
-6
src/pages/home/index.vue
+2
-2
src/pages/index/index.vue
+7
-4
src/pages/login/index.vue
+1
-0
No files found.
src/pages/home/index.vue
View file @
455d0da9
...
...
@@ -308,9 +308,9 @@ export default {
console
.
log
(
app
.
globalData
.
shopInfo
,
'app'
)
wx
.
setNavigationBarTitle
({
title
:
app
.
globalData
.
shopInfo
.
shopName
})
wx
.
stopPullDownRefresh
()
if
(
wx
.
getStorageSync
(
"sessionid"
))
{
//清空门店id
wx
.
setStorageSync
(
this
.
$store
.
state
.
mixid
+
'storeId'
,
''
)
console
.
log
(
111222
,
app
.
fenxiaoModel
)
app
.
fenxiaoModel
.
query_isEntry
().
then
((
data
)
=>
{
//分销弹框信息
...
...
src/pages/index/index.vue
View file @
455d0da9
...
...
@@ -77,8 +77,10 @@ export default {
},
onLoad
(
options
)
{
if
(
wx
.
getStorageSync
(
"sessionid"
))
{
//清空门店id
wx
.
setStorageSync
(
this
.
$store
.
state
.
mixid
+
'storeId'
,
''
)
}
this
.
options
=
options
;
Object
.
assign
(
this
.
$data
,
this
.
$options
.
data
());
...
...
@@ -191,7 +193,8 @@ export default {
if
(
res
.
data
.
code
==
'200'
){
this
.
page
=
res
.
data
.
data
.
pageUri
;
let
paramsObj
=
JSON
.
parse
(
res
.
data
.
data
.
scene
);
wx
.
setStorageSync
(
'attractingCustomerChannelId'
,
paramsObj
.
attractingCustomerChannelId
)
wx
.
setStorageSync
(
'attractingCustomerChannelId'
,
paramsObj
.
attractingCustomerChannelId
);
wx
.
setStorageSync
(
this
.
$store
.
state
.
mixid
+
'storeId'
,
paramsObj
.
storeId
);
console
.
log
(
res
.
data
.
data
)
console
.
log
(
wx
.
getStorageSync
(
"openid"
))
console
.
log
(
333333
)
...
...
@@ -205,7 +208,7 @@ export default {
}
).
then
(
ele
=>
{
//清空引客渠道id
wx
.
setStorageSync
(
'attractingCustomerChannelId'
,
''
)
wx
.
setStorageSync
(
'attractingCustomerChannelId'
,
''
)
;
})
}
let
params
=
''
;
...
...
src/pages/login/index.vue
View file @
455d0da9
...
...
@@ -330,6 +330,7 @@ export default {
province
:
this
.
userInfo
.
province
,
city
:
this
.
userInfo
.
city
,
otherPhone
:
0
,
storeId
:
wx
.
getStorageSync
(
this
.
$store
.
state
.
mixid
+
'storeId'
)
||
''
,
articleId
:
wx
.
getStorageSync
(
this
.
$store
.
state
.
mixid
+
"articleId"
)
||
''
,
customerSourceType
:
wx
.
getStorageSync
(
this
.
$store
.
state
.
mixid
+
"articleId"
)?
8
:
''
,
customerSourceId
:
wx
.
getStorageSync
(
this
.
$store
.
state
.
mixid
+
"articleId"
)
||
''
...
...
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