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