当前位置:网站首页>Style modification of Mui bottom navigation
Style modification of Mui bottom navigation
2022-07-02 06:00:00 【Serena_ tz】
Problems encountered : Want to be MUI The bottom navigation bar plus an upper border and upper and inner margins are not displayed , But other styles of operating the navigation bar will show . Last , It was found that the problem reserved for the navigation bar at the beginning was not enough . therefore , When there is no response to the modified style, we should consider whether it is blocked by other elements .
Use MUI The bottom navigation bar of wants to modify the navigation top split line .
.mui-bar-tab {
background-color: #fff;
height: 49px;
box-shadow: 0px 0px 8px 0px rgba(102,102,102, 0.6);
padding-top: 5px;
}
When adding sub pages, reserve space for the bottom navigation .
var firstBack = null; // Record the first click back event
let plusReadyChildren = ['home']; // The record has plusReady Of the subpage of id. Subpage plusReady This array will be written after
var styles = {
top: '0px',
bottom: '50px',
scrollIndicator: 'none'
};
Above bottom The value of is 50px, So the bottom navigation bar only 50px The location of .
It is best to use lines to set the navigation bar split line , Because the shadow has an area , It's hard to reserve a place for them to show .
边栏推荐
- ES6的详细注解
- Stick to the big screen UI, finereport development diary
- Shenji Bailian 3.53-kruskal
- 51单片机——ADC讲解(A/D转换、D/A转换)
- 文件包含漏洞(二)
- Problems encountered in uni app development (continuous update)
- Unity shader learning notes (3) URP rendering pipeline shaded PBR shader template (ASE optimized version)
- How to change the IP address of computer mobile phone simulator
- Grbl software: basic knowledge of simple explanation
- 《CGNF: CONDITIONAL GRAPH NEURAL FIELDS》阅读笔记
猜你喜欢
[PHP是否安装了 SOAP 扩]对于php实现soap代理的一个常见问题:Class ‘SoapClient‘ not found in PHP的处理方法
经典文献阅读之--Deformable DETR
How to use mitmproxy
【論文翻譯】GCNet: Non-local Networks Meet Squeeze-Excitation Networks and Beyond
ROS2----LifecycleNode生命周期节点总结
数据回放伴侣Rviz+plotjuggler
Unity shader learning notes (3) URP rendering pipeline shaded PBR shader template (ASE optimized version)
我所理解的DRM显示框架
Zabbix Server trapper 命令注入漏洞 (CVE-2017-2824)
Spark概述
随机推荐
Stc8h8k Series Assembly and c51 Real combat - NIXIE TUBE displays ADC, Key Series port reply Key number and ADC value
Mathematical statistics and machine learning
Some experience of exercise and fitness
页面打印插件print.js
Oled12864 LCD screen
Gcnet: non - local Networks meet Squeeze excitation Networks and Beyond
Huawei Hongmeng OS, is it OK?
51 single chip microcomputer - ADC explanation (a/d conversion, d/a conversion)
Lantern Festival gift - plant vs zombie game (realized by Matlab)
"Simple" infinite magic cube
【论文翻译】GCNet: Non-local Networks Meet Squeeze-Excitation Networks and Beyond
memcached安装
深度学习分类网络--Network in Network
JWT工具类
数理统计与机器学习
脑与认知神经科学Matlab Psytoolbox认知科学实验设计——实验设计四
How to change the IP address of computer mobile phone simulator
php内的addChild()、addAttribute()函数
如何使用MITMPROXy
Cube magique infini "simple"