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