当前位置:网站首页>Non H5 end of uni app, regional setting of status bar on the top of mobile phone
Non H5 end of uni app, regional setting of status bar on the top of mobile phone
2022-06-26 03:40:00 【yyxhzdm】
design sketch :
Because of special needs , The page does not need a default status bar , You need to hide the status bar
Hide status bar method :
stay pages.json In profile , Find the page configuration where the status bar does not need to be displayed
add to :"navigationStyle":"custom"
for example :
After the vue Medium
template:
<!-- Status bar height css Variable -->
<view class="status_bar"></view>
css :
.status_bar {
height: var(--status-bar-height);
width: 100%;
background-color: #007AFF;
}
for example :
Be careful : You need to use a real machine to see the effect ,H5 End settings "navigationStyle":"custom" after , The height is 0.
边栏推荐
- Scratch returns 400
- An easy-to-use tablayout
- 经典模型——NiN&GoogLeNet
- 培育项目式Steam教育理念下的儿童创造力
- gstreamer分配器与pool的那些事
- Hardware creation principle of campus maker space
- todolist未完成,已完成
- Double carbon bonus + great year of infrastructure construction 𞓜 deep ploughing into the field of green intelligent equipment for water conservancy and hydropower
- 校园创客空间的硬件造物原理
- GStreamer allocator and pool
猜你喜欢
Analysis of the multiple evaluation system of children's programming
云计算基础-0
Double carbon bonus + great year of infrastructure construction 𞓜 deep ploughing into the field of green intelligent equipment for water conservancy and hydropower
MySQL数据库基础
“再谈”协议
分割、柱子、list
How Inkscape converts PNG pictures to SVG pictures without distortion
Drag and drop
Utonmos adheres to the principle of "collection and copyright" to help the high-quality development of traditional culture
项目部署遇到的问题-生产环境
随机推荐
关于#sql#的问题:SQL问题--账号多地登录的SQL代码
HL7Exception: Can‘t XML-encode a GenericMessage. Message must have a recognized struct
解析创客空间机制建设的多样化
Route jump: click the operation button of the list to jump to another menu page and activate the corresponding menu
[hash table] improved, zipper hash structure - directly use two indexes to search, instead of hashing and% every time
解决uniapp插件robin-editor设置字体颜色和背景颜色报错的问题
面试阿里测开岗失败后,被面试官在朋友圈吐槽了......(心塞)
显卡、GPU、CPU、CUDA、显存、RTX/GTX及查看方式
Clion项目中运行多个main函数
360 秒了解 SmartX 超融合基础设施
小米电视的网页和珠宝的网页
Multimedia elements, audio, video
分割、柱子、list
JS array array JSON de duplication
redux-thunk 简单案例,优缺点和思考
Graphics card, GPU, CPU, CUDA, video memory, rtx/gtx and viewing mode
MySQL高级部分( 四: 锁机制、SQL优化 )
Types and application methods of screen printing
图扑软件数字孪生海上风电 | 向海图强,奋楫争先
Using meta analysis to drive the development of educational robot