feat:最新
This commit is contained in:
@@ -158,12 +158,12 @@
|
||||
/>
|
||||
<run-mode-explain-dialog v-model:visible="runModeExplainVisible" />
|
||||
|
||||
<!-- 页面居中加载,挡住下方操作区;顶栏返回仍可点 -->
|
||||
<!-- 页面居中加载,挡住下方操作区;顶栏返回/设置仍可点 -->
|
||||
<ble-reconnect-loading
|
||||
:visible="showReconnectLoading"
|
||||
:title="reconnectLoadingTitle"
|
||||
:desc="reconnectLoadingDesc"
|
||||
:top-offset-px="statusBarHeight + 44"
|
||||
:top-offset-px="statusBarHeight + navBarHeightPx"
|
||||
/>
|
||||
</view>
|
||||
</template>
|
||||
@@ -178,6 +178,8 @@ import RunModeExplainDialog from './components/run-mode-explain-dialog/index.vue
|
||||
import { useDeviceDetail } from './use-device-detail'
|
||||
|
||||
const statusBarHeight = ref(uni.getSystemInfoSync().statusBarHeight ?? 0)
|
||||
/** 与 .device-detail-hero__bar 高度 88rpx 对齐,避免遮罩盖住设置按钮 */
|
||||
const navBarHeightPx = uni.upx2px(88)
|
||||
const { scrollStyle: detailScrollStyle } = usePageScrollHeight({
|
||||
topSelector: '.device-detail-hero',
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user