Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
quantum-blocks-h5
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
quantum-blocks-h5
Commits
b840efe3
Commit
b840efe3
authored
May 07, 2022
by
Xuguangxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 阻止导航点击事件
parent
3c8aa8a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
index.vue
app/web/page/activity/view/activity/index.vue
+8
-3
No files found.
app/web/page/activity/view/activity/index.vue
View file @
b840efe3
...
...
@@ -30,7 +30,7 @@
:class=
"{pic: item.type == 2, current: +navIndex === index}"
v-for=
"(item, index) in navigatorConfig.navigatorData"
:key=
"index"
@
click=
"handleNavUrl(item, +navIndex === index)"
@
click
.stop
=
"handleNavUrl(item, +navIndex === index)"
>
<img
class=
"icon"
:src=
"+navIndex === index ? item.selectIcon : item.icon"
alt=
""
>
<span
v-if=
"item.type == 1 && item.name"
class=
"text"
:style=
"computedNavTextStyle(item, +navIndex === index)"
>
{{item.name}}
</span>
...
...
@@ -46,13 +46,18 @@
height: 100%;
position: relative;
.bottomNav{
box-sizing: content-box;
width: 100%;
height: 55px;
position: fixed;
bottom: 0;
left: 0;
z-index: 99;
padding: 0 4px;
z-index: 999;
padding-top: 0;
padding-left: 4px;
padding-right: 4px;
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
display: flex;
justify-content: space-around;
.navItem{
...
...
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