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
a73a5b73
Commit
a73a5b73
authored
Mar 26, 2021
by
张卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分销隔断
parent
68673523
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletions
+9
-1
src/pages/home/index.vue
+9
-1
No files found.
src/pages/home/index.vue
View file @
a73a5b73
...
...
@@ -145,6 +145,7 @@ export default {
showHomepage
:
false
,
//分销商首页入口
applySucessEntry
:
false
,
//成为分销弹框
getDistributorHomepageName
:
''
,
//小店入口名称
toHomePage
:
false
,
//是否分销隔断
};
},
components
:{
...
...
@@ -285,6 +286,13 @@ export default {
},
onShow
()
{
if
(
this
.
toHomePage
)
{
let
linkVal
=
'/personalCenter/spokesmanCenter/mine/spokesmanHomePage?from=_goodsInfo'
app
.
$themeToLink
({
type
:
1
,
link
:
linkVal
,
});
}
this
.
getCartNum
();
setTabBarActive
.
bind
(
this
)(
checkTabbarPage
(
'/'
));
this
.
$mp
.
page
.
onPageScroll
=
(
el
)
=>
{
...
...
@@ -315,7 +323,6 @@ export default {
},
getSpokesmanInfo
(
extConfig
)
{
let
linkVal
=
'/personalCenter/spokesmanCenter/mine/spokesmanHomePage?from=_goodsInfo'
;
console
.
log
(
1111112222233333
,
linkVal
)
getMiniProgram
().
then
(
res
=>
{
app
.
globalData
.
spokesmanInfo
=
res
;
if
(
...
...
@@ -325,6 +332,7 @@ export default {
res
.
distributorHomepage
!=
'null'
&&
res
.
parentPartitionHomepageFlag
==
'1'
)
{
this
.
toHomePage
=
true
;
// let linkVal = '/personalCenter/spokesmanCenter/mine/spokesmanHomePage?from=_goodsInfo'
app
.
$themeToLink
({
type
:
1
,
...
...
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