index.wxml
331 Bytes
<template name="loadMore">
<view class="loadMore" hidden="{{!isLoading}}">
<image class="loading-icon" src="/pages/loading/images/loading.gif"></image>
<text class="loadText">正在加载...</text>
</view>
<view class="loadMore" hidden="{{isLoading}}">
<text class="loadText">没有更多啦</text>
</view>
</template>