空状态需要处理,需要添加分享页面
This commit is contained in:
18
components/cb-loading/cb-loading.vue
Normal file
18
components/cb-loading/cb-loading.vue
Normal file
@@ -0,0 +1,18 @@
|
||||
<script setup>
|
||||
const props = defineProps({
|
||||
/** 距离顶部高度 */
|
||||
top: {
|
||||
type: Number,
|
||||
default: 32
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<uni-load-more
|
||||
:style="{ 'margin-top': `${props.top}rpx` }"
|
||||
status="loading"
|
||||
></uni-load-more>
|
||||
</template>
|
||||
|
||||
<style lang="scss" scoped></style>
|
||||
Reference in New Issue
Block a user