loading.vue 569 B

12345678910111213141516171819
  1. <template>
  2. <div v-if="more">
  3. <div class="weui-loadmore" v-if="loading">
  4. <i class="weui-loading"></i>
  5. <span class="weui-loadmore__tips">正在加载</span>
  6. </div>
  7. <div class="loading-com" v-else @click="loadMore2()">
  8. <div>加载更多</div>
  9. </div>
  10. </div>
  11. <div v-else class="weui-loadmore weui-loadmore_line">
  12. <span class="weui-loadmore__tips">暂无数据</span>
  13. </div>
  14. </template>
  15. <script>
  16. import page from './loading';
  17. export default page;
  18. </script>