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
d538278f
Commit
d538278f
authored
Apr 01, 2021
by
张卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分享带分销数据用于绑定
parent
b1d73cc2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
src/pages/home/index.vue
+9
-2
No files found.
src/pages/home/index.vue
View file @
d538278f
...
...
@@ -7,6 +7,7 @@
<div
v-if=
"showSpokesManHome"
>
<get-index-homepage
class=
"getIndexHomePage"
></get-index-homepage>
</div>
{{
options
}}
<ThemeDataPlant></ThemeDataPlant>
<div
v-for=
"(item,index) in pageData"
:key=
"index"
>
<div
v-if=
"item.componentCode=='banner' && item.componentInfo.visible == 1"
>
...
...
@@ -146,6 +147,7 @@ export default {
getDistributorHomepageName
:
''
,
//小店入口名称
active
:
-
1
,
toHomePage
:
false
,
//是否分销隔断
options
:
1
,
};
},
components
:{
...
...
@@ -219,7 +221,7 @@ export default {
key
:
"openid"
});
}
this
.
options
=
JSON
.
stringify
(
options
);
this
.
changeLocation
=
options
.
changeLocation
||
''
if
(
this
.
changeLocation
==
1
){
...
...
@@ -460,7 +462,12 @@ export default {
let
title
=
app
.
globalData
.
shopInfo
.
shopName
;
await
app
.
fenxiaoModel
.
getSpokesmanidByShare
().
then
(
data
=>
{
if
(
data
.
hasInvitationStatus
==
1
)
{
newHref
=
concatUrl
(
newHref
,
data
)
let
newData
=
{
spokesmanGroupId
:
data
.
groupId
,
spokesmanShopId
:
data
.
shopId
,
spokesmanRelId
:
data
.
spokesmanId
,
}
newHref
=
concatUrl
(
newHref
,
newData
)
}
})
console
.
log
(
newHref
,
3333555666
,
title
,
res
)
...
...
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