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
d144bc6b
Commit
d144bc6b
authored
Jul 13, 2023
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
沉浸式导航
parent
a7506ca8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
+6
-1
src/pages/home/index.vue
+6
-1
No files found.
src/pages/home/index.vue
View file @
d144bc6b
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<div
v-if=
"showSpokesManHome"
>
<div
v-if=
"showSpokesManHome"
>
<get-index-homepage
class=
"getIndexHomePage"
></get-index-homepage>
<get-index-homepage
class=
"getIndexHomePage"
></get-index-homepage>
</div>
</div>
<CustomNav
:customBgOpacity=
"
true
"
></CustomNav>
<CustomNav
:customBgOpacity=
"
customBgOpacity
"
></CustomNav>
<StoreAddr
@
toUpdate=
"reloadEnterShopRule"
@
toPageLoading=
"toPageLoading"
ref=
"StoreAddr"
></StoreAddr>
<StoreAddr
@
toUpdate=
"reloadEnterShopRule"
@
toPageLoading=
"toPageLoading"
ref=
"StoreAddr"
></StoreAddr>
<ThemeDataPlant></ThemeDataPlant>
<ThemeDataPlant></ThemeDataPlant>
<div
v-for=
"(item,index) in pageData"
:key=
"index"
>
<div
v-for=
"(item,index) in pageData"
:key=
"index"
>
...
@@ -227,6 +227,7 @@ export default {
...
@@ -227,6 +227,7 @@ export default {
firstOpenPage
:
true
,
//首次打开页面
firstOpenPage
:
true
,
//首次打开页面
h5Params
:
{},
//params
h5Params
:
{},
//params
fromPage
:
""
,
fromPage
:
""
,
customBgOpacity
:
true
,
// 沉浸式风格
};
};
},
},
components
:{
components
:{
...
@@ -712,6 +713,10 @@ export default {
...
@@ -712,6 +713,10 @@ export default {
log
.
info
(
app
.
globalData
.
shopInfo
,
'app'
)
log
.
info
(
app
.
globalData
.
shopInfo
,
'app'
)
wx
.
setNavigationBarTitle
({
title
:
app
.
globalData
.
shopInfo
.
shopName
})
wx
.
setNavigationBarTitle
({
title
:
app
.
globalData
.
shopInfo
.
shopName
})
if
(
this
.
pageInfo
.
pageSettingData
&&
JSON
.
parse
(
this
.
pageInfo
.
pageSettingData
).
topNavStyleType
)
{
this
.
customBgOpacity
=
JSON
.
parse
(
this
.
pageInfo
.
pageSettingData
).
topNavStyleType
;
}
console
.
log
(
this
.
pageInfo
.
pageSettingData
,
'-this.pageInfo.pageSettingData'
)
if
(
wx
.
getStorageSync
(
"sessionid"
))
{
if
(
wx
.
getStorageSync
(
"sessionid"
))
{
//清空门店id
//清空门店id
wx
.
setStorageSync
(
this
.
$store
.
state
.
mixid
+
'storeId'
,
''
)
wx
.
setStorageSync
(
this
.
$store
.
state
.
mixid
+
'storeId'
,
''
)
...
...
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