From 8758dde802bcf136a64b01da5a3c630056bae24a Mon Sep 17 00:00:00 2001 From: xuyonghao <898441624@qq.com> Date: 星期三, 12 三月 2025 14:30:37 +0800 Subject: [PATCH] 注释天气部分 --- 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