From c9c263dc43ad90f95f24a036cee9e6b47afb596c Mon Sep 17 00:00:00 2001 From: skyouc Date: 星期六, 21 十二月 2024 18:44:20 +0800 Subject: [PATCH] 新建盐城德森项目 --- uni_modules/uni-nav-bar/components/uni-nav-bar/uni-status-bar.vue | 54 +++++++++++++++++++++++++++--------------------------- 1 files changed, 27 insertions(+), 27 deletions(-) diff --git a/uni_modules/uni-nav-bar/components/uni-nav-bar/uni-status-bar.vue b/uni_modules/uni-nav-bar/components/uni-nav-bar/uni-status-bar.vue index 6a68874..75ce541 100644 --- a/uni_modules/uni-nav-bar/components/uni-nav-bar/uni-status-bar.vue +++ b/uni_modules/uni-nav-bar/components/uni-nav-bar/uni-status-bar.vue @@ -1,27 +1,27 @@ -<template> - <view :style="{ height: statusBarHeight }" class="uni-status-bar"> - <slot /> - </view> -</template> - -<script> - export default { - name: 'UniStatusBar', - data() { - return { - statusBarHeight: 20 - } - }, - mounted() { - this.statusBarHeight = uni.getSystemInfoSync().statusBarHeight + 'px' - } - } -</script> - -<style lang="scss" > - .uni-status-bar { - // width: 750rpx; - height: 20px; - // height: var(--status-bar-height); - } -</style> +<template> + <view :style="{ height: statusBarHeight }" class="uni-status-bar"> + <slot /> + </view> +</template> + +<script> + export default { + name: 'UniStatusBar', + data() { + return { + statusBarHeight: 20 + } + }, + mounted() { + this.statusBarHeight = uni.getSystemInfoSync().statusBarHeight + 'px' + } + } +</script> + +<style lang="scss" > + .uni-status-bar { + // width: 750rpx; + height: 20px; + // height: var(--status-bar-height); + } +</style> -- Gitblit v1.9.1