From 38430ddb8612fce15a2f1c940f9bd57d4da3e70b Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期四, 16 九月 2021 11:59:39 +0800
Subject: [PATCH] add new key
---
components/uni-status-bar/uni-status-bar.vue | 48 ++++++++++++++++++++++++------------------------
1 files changed, 24 insertions(+), 24 deletions(-)
diff --git a/components/uni-status-bar/uni-status-bar.vue b/components/uni-status-bar/uni-status-bar.vue
index af15275..4d9fb30 100644
--- a/components/uni-status-bar/uni-status-bar.vue
+++ b/components/uni-status-bar/uni-status-bar.vue
@@ -1,25 +1,25 @@
-<template>
- <view :style="{ height: statusBarHeight }" class="uni-status-bar">
- <slot />
- </view>
-</template>
-
-<script>
- var statusBarHeight = uni.getSystemInfoSync().statusBarHeight + 'px'
- export default {
- name: 'UniStatusBar',
- data() {
- return {
- statusBarHeight: statusBarHeight
- }
- }
- }
-</script>
-
-<style lang="scss" scoped>
- .uni-status-bar {
- width: 750rpx;
- height: 20px;
- // height: var(--status-bar-height);
- }
+<template>
+ <view :style="{ height: statusBarHeight }" class="uni-status-bar">
+ <slot />
+ </view>
+</template>
+
+<script>
+ var statusBarHeight = uni.getSystemInfoSync().statusBarHeight + 'px'
+ export default {
+ name: 'UniStatusBar',
+ data() {
+ return {
+ statusBarHeight: statusBarHeight
+ }
+ }
+ }
+</script>
+
+<style lang="scss" scoped>
+ .uni-status-bar {
+ width: 750rpx;
+ height: 20px;
+ // height: var(--status-bar-height);
+ }
</style>
--
Gitblit v1.8.0