weex icon indicating copy to clipboard operation
weex copied to clipboard

loading 控件不显示的bug

Open haicuan139 opened this issue 10 years ago • 7 comments

<loading class="refresh-view" display="{{loading_display}}" onloading="onloading">
      <text class="refresh-arrow" style="text-align: center; color:rgb(238, 162, 54)" if="{{(refresh_display==='hide')}}">Load more</text>
      <loading-indicator style="height:60;width:60;color:#3192e1"></loading-indicator>
</loading>

例子中的这个上啦加载的控件不显示

haicuan139 avatar Sep 08 '16 13:09 haicuan139

我的也是,ios平台

xyduane avatar Sep 09 '16 00:09 xyduane

这个loading 控件只有在 Scroller 上面才会显示。在list 上面是没有效果的

haicuan139 avatar Sep 09 '16 01:09 haicuan139

@haicuan139 Scroller还是有问题 image

xyduane avatar Sep 09 '16 03:09 xyduane

那list里是用refresh? @haicuan139

happybobo avatar Oct 28 '16 03:10 happybobo

@happybobo 如果你一定要显示的话,这么做:把loading 这个标签放在list标签里面最顶端的位置 <list > <loading class="loading-view" display="show" onloading="onloading" style="background-color: #0000ed"> <loading-indicator style="height:60;width:60" ></loading-indicator> <text>asdasdasd</text> </loading> <cell></cell> </list>

haicuan139 avatar Oct 28 '16 07:10 haicuan139

Android 的是号号的,就是IOS有问题。 UI友好性太差了,这个下拉

cooliean avatar Oct 29 '16 05:10 cooliean

你的if 语句里面 loading_status 的控制检查一下~

acton393 avatar Oct 31 '16 04:10 acton393