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
39172dc5
Commit
39172dc5
authored
Mar 31, 2022
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导航修改
parent
21a3899f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletions
+9
-1
src/components/tabbarPage.vue
+9
-1
src/utils/themeModule.js
+0
-0
No files found.
src/components/tabbarPage.vue
View file @
39172dc5
...
...
@@ -67,6 +67,7 @@ export default {
}
// tabbar 跳转
let
homeIndex
=
checkTabbarPage
(
"/"
);
console
.
log
(
homeIndex
,
tabIndex
,
'--tabIndex'
)
homeIndex
!=
0
&&
homeIndex
==
tabIndex
&&
(
tabIndex
=
0
);
console
.
log
(
this
.
mpApp
.
globalData
.
footerVal
,
tabIndex
,
this
.
mpApp
.
globalData
.
footerVal
.
componentData
.
list
.
length
,
'--this.mpApp.globalData.footerVal'
)
let
urlLink
=
this
.
mpApp
.
globalData
.
footerVal
.
componentData
.
list
[
tabIndex
].
link
;
...
...
@@ -76,7 +77,14 @@ export default {
urlLink
);
let
query
=
serialize
(
options
)
this
.
params
+=
query
?
'&'
+
query
:
''
let
urlPrams
=
urlLink
.
link
.
split
(
'?'
)[
1
]?
urlLink
.
link
.
split
(
'?'
)[
1
]:
""
;
console
.
log
(
query
,
'=================='
,
this
.
params
,
'-----------------'
,
urlPrams
)
// // 只兼容底部导航进入活动页面添加参数,跳转完成删除
if
(
query
){
this
.
params
+=
'&'
+
query
}
else
{
this
.
params
+=
urlPrams
?
'&'
+
urlPrams
:
''
}
}
let
reg
=
/^
\/
pages
\/
/
;
console
.
log
(
this
.
pageUrl
,
'pageUrl======================'
,
urlLink
)
...
...
src/utils/themeModule.js
View file @
39172dc5
This diff is collapsed.
Click to expand it.
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