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
2ee76a27
Commit
2ee76a27
authored
Mar 05, 2024
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
加参数
parent
8e74d94a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
src/pages/home/index.vue
+3
-0
src/pages/index/index.vue
+6
-0
No files found.
src/pages/home/index.vue
View file @
2ee76a27
...
@@ -458,6 +458,9 @@ export default {
...
@@ -458,6 +458,9 @@ export default {
if
(
paramsObj
.
setGuideEmployeeId
)
{
if
(
paramsObj
.
setGuideEmployeeId
)
{
wx
.
setStorageSync
(
this
.
$store
.
state
.
mixid
+
'setGuideEmployeeId'
,
paramsObj
.
setGuideEmployeeId
);
wx
.
setStorageSync
(
this
.
$store
.
state
.
mixid
+
'setGuideEmployeeId'
,
paramsObj
.
setGuideEmployeeId
);
}
}
if
(
paramsObj
.
QRCodeType
)
{
wx
.
setStorageSync
(
this
.
$store
.
state
.
mixid
+
'guide_QRCodeType'
,
paramsObj
.
QRCodeType
);
}
this
.
showStoreAddr
=
true
;
this
.
showStoreAddr
=
true
;
wx
.
setStorageSync
(
'attractingCustomerChannelId'
,
sceneObj
.
attractingCustomerChannelId
);
wx
.
setStorageSync
(
'attractingCustomerChannelId'
,
sceneObj
.
attractingCustomerChannelId
);
wx
.
setStorageSync
(
this
.
$store
.
state
.
mixid
+
'storeId'
,
sceneObj
.
storeId
);
wx
.
setStorageSync
(
this
.
$store
.
state
.
mixid
+
'storeId'
,
sceneObj
.
storeId
);
...
...
src/pages/index/index.vue
View file @
2ee76a27
...
@@ -88,6 +88,12 @@ export default {
...
@@ -88,6 +88,12 @@ export default {
if
(
setGuideEmployeeId
)
{
if
(
setGuideEmployeeId
)
{
this
.
params
+=
`&setGuideEmployeeId=
${
setGuideEmployeeId
}
`
;
this
.
params
+=
`&setGuideEmployeeId=
${
setGuideEmployeeId
}
`
;
}
}
// 导购分享类型
const
guide_QRCodeType
=
wx
.
getStorageSync
(
this
.
$store
.
state
.
mixid
+
'guide_QRCodeType'
);
if
(
guide_QRCodeType
)
{
this
.
params
+=
`&QRCodeType=
${
guide_QRCodeType
}
`
;
wx
.
removeStorageSync
(
this
.
$store
.
state
.
mixid
+
'guide_QRCodeType'
);
}
console
.
log
(
this
.
link
,
'======='
,
this
.
page
,
'++++++++++++++'
,
this
.
params
,
'************'
)
console
.
log
(
this
.
link
,
'======='
,
this
.
page
,
'++++++++++++++'
,
this
.
params
,
'************'
)
let
pageUrl1
=
(
this
.
page
.
startsWith
(
'http://'
)
||
this
.
page
.
startsWith
(
'https://'
))?
(
this
.
page
+
this
.
params
)
:
this
.
link
+
this
.
page
+
this
.
params
let
pageUrl1
=
(
this
.
page
.
startsWith
(
'http://'
)
||
this
.
page
.
startsWith
(
'https://'
))?
(
this
.
page
+
this
.
params
)
:
this
.
link
+
this
.
page
+
this
.
params
console
.
log
(
pageUrl1
,
'--------pageUrl1--'
)
console
.
log
(
pageUrl1
,
'--------pageUrl1--'
)
...
...
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