Gao xiaosong
4 years ago
4 changed files with 77 additions and 55 deletions
@ -1,27 +1,21 @@
|
||||
<template> |
||||
<view |
||||
class="Loads acea-row row-center-wrapper" |
||||
v-if="loading || !loaded" |
||||
style="margin-top: 20rpx;" |
||||
> |
||||
<view class="Loads acea-row row-center-wrapper" v-if="loading || !loaded" style="margin-top: 20rpx;"> |
||||
<template v-if="loading"> |
||||
<view |
||||
class="iconfont icon-jiazai loading acea-row row-center-wrapper" |
||||
></view> |
||||
<view class="iconfont icon-jiazai loading acea-row row-center-wrapper"></view> |
||||
正在加载中 |
||||
</template> |
||||
<template v-else> |
||||
<template v-if="!loading"> |
||||
上拉加载更多 |
||||
</template> |
||||
</view> |
||||
</template> |
||||
|
||||
<script> |
||||
export default { |
||||
name: "Loading", |
||||
props: { |
||||
loaded: Boolean, |
||||
loading: Boolean |
||||
} |
||||
}; |
||||
export default { |
||||
name: "Loading", |
||||
props: { |
||||
loaded: Boolean, |
||||
loading: Boolean |
||||
} |
||||
}; |
||||
</script> |
||||
|
Loading…
Reference in new issue