111
This commit is contained in:
@@ -12,12 +12,10 @@
|
||||
<view v-if="state != 0 && state != 1">
|
||||
<slot></slot>
|
||||
</view>
|
||||
|
||||
|
||||
<!-- 无数据 -->
|
||||
<z-paging-empty-view v-if="state === 100" emptyViewText="没有数据哦~"
|
||||
:emptyViewImg="notDataImg" @reload="reload">
|
||||
</z-paging-empty-view>
|
||||
|
||||
<uni-load-more v-if="state === 100" status="noMore" :content-text="contentText"></uni-load-more>
|
||||
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
@@ -25,7 +23,12 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
state: 0
|
||||
state: 0,
|
||||
contentText: {
|
||||
contentdown: "上拉显示更多",
|
||||
contentrefresh: "正在加载...",
|
||||
contentnomore: "无数据"
|
||||
}
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
|
||||
Reference in New Issue
Block a user