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
5d18e796
Commit
5d18e796
authored
Jan 11, 2022
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页绑定关系
parent
f70cdaf5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletions
+9
-1
src/pages/home/index.vue
+8
-0
src/pages/wo/improveInformation/index.vue
+1
-1
No files found.
src/pages/home/index.vue
View file @
5d18e796
...
@@ -278,6 +278,7 @@ export default {
...
@@ -278,6 +278,7 @@ export default {
})
})
},
},
onLoad
(
options
)
{
onLoad
(
options
)
{
console
.
log
(
options
,
'---------home----options'
)
log
.
info
(
'--------on--------------load'
)
log
.
info
(
'--------on--------------load'
)
//进页面存储需要绑定的信息
//进页面存储需要绑定的信息
if
(
options
.
userId
||
options
.
spokesmanRelId
)
{
if
(
options
.
userId
||
options
.
spokesmanRelId
)
{
...
@@ -293,10 +294,17 @@ export default {
...
@@ -293,10 +294,17 @@ export default {
if
(
res
.
data
.
code
==
'200'
){
if
(
res
.
data
.
code
==
'200'
){
this
.
page
=
res
.
data
.
data
.
pageUri
;
this
.
page
=
res
.
data
.
data
.
pageUri
;
let
paramsObj
=
JSON
.
parse
(
res
.
data
.
data
.
scene
);
let
paramsObj
=
JSON
.
parse
(
res
.
data
.
data
.
scene
);
if
(
paramsObj
.
spokesmanRelId
){
wx
.
setStorage
({
key
:
"becomeInfo"
,
data
:
JSON
.
stringify
(
paramsObj
)
});
}
wx
.
setStorageSync
(
'attractingCustomerChannelId'
,
paramsObj
.
attractingCustomerChannelId
);
wx
.
setStorageSync
(
'attractingCustomerChannelId'
,
paramsObj
.
attractingCustomerChannelId
);
wx
.
setStorageSync
(
this
.
$store
.
state
.
mixid
+
'storeId'
,
paramsObj
.
storeId
);
wx
.
setStorageSync
(
this
.
$store
.
state
.
mixid
+
'storeId'
,
paramsObj
.
storeId
);
wx
.
setStorageSync
(
this
.
$store
.
state
.
mixid
+
'sellerId'
,
paramsObj
.
sellerId
);
wx
.
setStorageSync
(
this
.
$store
.
state
.
mixid
+
'sellerId'
,
paramsObj
.
sellerId
);
log
.
info
(
res
.
data
.
data
,
'getShareSceneRecord'
)
log
.
info
(
res
.
data
.
data
,
'getShareSceneRecord'
)
console
.
log
(
res
.
data
.
data
,
'----getShareSceneRecord'
)
log
.
info
(
wx
.
getStorageSync
(
"openid"
))
log
.
info
(
wx
.
getStorageSync
(
"openid"
))
log
.
info
(
333333
)
log
.
info
(
333333
)
if
(
wx
.
getStorageSync
(
"openid"
))
{
if
(
wx
.
getStorageSync
(
"openid"
))
{
...
...
src/pages/wo/improveInformation/index.vue
View file @
5d18e796
...
@@ -70,7 +70,7 @@
...
@@ -70,7 +70,7 @@
<p>
住宿地点
</p>
<p>
住宿地点
</p>
</div>
</div>
<div
class=
"text"
>
<div
class=
"text"
>
<p></p>
<p>
{{
userInfo
.
accommodation
}}
</p>
</div>
</div>
</div>
</div>
<div
class=
"cell flex"
>
<div
class=
"cell flex"
>
...
...
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