提交 b4d1e164 作者: 方治民

Merge branch '3.x' of https://gitlab.yiring.com/basic/basic-uniapp-v3 into examples

...@@ -180,6 +180,14 @@ ...@@ -180,6 +180,14 @@
this.handleFade() this.handleFade()
this.endObserver() this.endObserver()
} }
// #ifndef H5
// 当前版本 SDK 存在 Bug 会导致无法触发可视观测 observe 回调, 所以直接执行
// https://github.com/dcloudio/uni-app/issues/5201
this.handleFade()
this.endObserver()
console.warn('[Bug] uni.createIntersectionObserver')
// #endif
}, },
handleAppear(e) { handleAppear(e) {
if (this.observer || this.show) return; if (this.observer || this.show) return;
......
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
<view class="h-auto p-1"> <view class="h-auto p-1">
<scroll-view scroll-y :style="{ height: `${height}px` }"> <scroll-view scroll-y :style="{ height: `${height}px` }">
<FuiParseGroup class="notice-content" @preview="preview" @atap="atap"> <FuiParseGroup class="notice-content" @preview="preview" @atap="atap">
<FuiParse :nodes="notice.content" language="md" /> <FuiParse :nodes="notice.content" />
</FuiParseGroup> </FuiParseGroup>
</scroll-view> </scroll-view>
</view> </view>
...@@ -125,6 +125,7 @@ ...@@ -125,6 +125,7 @@
} }
.notice-mask { .notice-mask {
width: 100%;
height: 100%; height: 100%;
position: fixed; position: fixed;
inset: 0; inset: 0;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论