当前位置:网站首页>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.
边栏推荐
- 360 second understanding of smartx hyper converged infrastructure
- navicat16无线试用
- Butterknife unbinder uses flashback in fragment and viewpager
- Group counting notes - instruction pipeline of CPU
- Route jump: click the operation button of the list to jump to another menu page and activate the corresponding menu
- 经典模型——ResNet
- Tupu software is the digital twin of offshore wind power, striving to be the first
- Gradient
- Graphics card, GPU, CPU, CUDA, video memory, rtx/gtx and viewing mode
- 【论文笔记】Deep Reinforcement Learning Control of Hand-Eye Coordination with a Software Retina
猜你喜欢

小米电视的网页和珠宝的网页
HL7Exception: Can‘t XML-encode a GenericMessage. Message must have a recognized struct

Utonmos adheres to the principle of "collection and copyright" to help the high-quality development of traditional culture
![[reading papers] fbnetv3: joint architecture recipe search using predictor training network structure and super parameters are all trained by training parameters](/img/84/2b66b513a0a36464233708fbb4b57d.png)
[reading papers] fbnetv3: joint architecture recipe search using predictor training network structure and super parameters are all trained by training parameters

QT compilation error: unknown module (s) in qt: script

Types and application methods of screen printing

【论文笔记】Learning to Grasp with Primitive Shaped Object Policies

经典模型——AlexNet

Nebula Graph学习篇3_多线程完成6000w+关系数据迁移

论文回顾:Unmixing-Based Soft Color Segmentation for Image Manipulation
随机推荐
Solve the problem that the uniapp plug-in Robin editor reports an error when setting the font color and background color
Request object, send request
Wealth freedom skills: commercialize yourself
开通基金账户是安全的吗?怎么申请呢
Some mobile phones open USB debugging, and the solution to installation failure
QT compilation error: unknown module (s) in qt: script
Insect structure and Deconstruction
拖放
ArrayList # sublist these four holes, you get caught accidentally
Double carbon bonus + great year of infrastructure construction 𞓜 deep ploughing into the field of green intelligent equipment for water conservancy and hydropower
Solve the problem that the input box is blocked by the pop-up keyboard under the WebView transparent status bar
图扑软件数字孪生海上风电 | 向海图强,奋楫争先
Android gap animation translate, scale, alpha, rotate
类图
Graphics card, GPU, CPU, CUDA, video memory, rtx/gtx and viewing mode
Binary search
Types and application methods of screen printing
Plug in installation and shortcut keys of jupyter notebook
360 秒了解 SmartX 超融合基础设施
View of MySQL