From fa6247894dd69aa63daa26f12b1a6f99cacbdabb Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期一, 05 九月 2022 17:59:08 +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