Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NVUE 安卓(iOS 和 H5 正常) loading slot flex: 1 无效,底部存在空白 #157

Open
kosuke-zhang opened this issue Aug 22, 2024 · 6 comments

Comments

@kosuke-zhang
Copy link

编译平台
npm

VUE版本
vue2

运行平台
安卓(存在问题),iOS(正常),H5(正常)

z-paging版本
2.7.11

问题描述

无效:

<!-- 全屏Loading -->
<component :is="nViewIs" v-if="showLoading&&zSlots.loading&&!loadingFullFixed" :class="{'z-paging-content-fixed':usePageScroll}" style="flex:1" :style="[chatRecordRotateStyle]">
  <slot name="loading" />
</component>

Screenshot_1724314521

修复后:

<!-- 全屏Loading -->
<component :is="nViewIs" v-if="showLoading&&zSlots.loading&&!loadingFullFixed" :class="{'z-paging-content-fixed':usePageScroll}" style="flex:1  !important;" :style="[chatRecordRotateStyle]">
  <slot name="loading" />
</component>

Screenshot_1724314619

@SmileZXLee
Copy link
Owner

是加了!important;吗 我试了下还是有此问题

@kosuke-zhang
Copy link
Author

是加了!important;吗 我试了下还是有此问题

是的,不过你不会是加错行数了吧

@SmileZXLee
Copy link
Owner

是加了!important;吗 我试了下还是有此问题

是的,不过你不会是加错行数了吧

没错呀,就只有一处。你方便提供一个fixed的版本吗?我测试下

@kosuke-zhang
Copy link
Author

z-paging.zip

@SmileZXLee
Copy link
Owner

z-paging-demo.zip
我这边测试还是红色loading未铺满页面,帮忙试下你那边是正常的吗?普通模式演示(nvue),common-demo-n。
QQ_1725549221344

@kosuke-zhang
Copy link
Author

z-paging-demo.zip 我这边测试还是红色loading未铺满页面,帮忙试下你那边是正常的吗?普通模式演示(nvue),common-demo-n。 QQ_1725549221344

大佬我今天找时间试一下!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants