| | |
| | | <template> |
| | | <div> |
| | | <div v-infinite-scroll="loadMore" infinite-scroll-disabled="busy" :infinite-scroll-distance="10"> |
| | | <div v-for="temp in data"> |
| | | <newArticle v-bind="temp"></newArticle> |
| | | <div v-for="(temp,index) in data"> |
| | | <newArticle v-bind="temp" :index="index"></newArticle> |
| | | <!-- <box5 v-bind="temp"></box5> --> |
| | | </div> |
| | | <div class="mySecret" v-if="data.length==0"> |
| | | <p>空空如也..</p> |
| | | </div> |
| | | |
| | | <div v-if="loading && !busy" class="demo-loading-container"> |
| | | <a-spin /> |
| | | </div> |
| | |
| | | }, |
| | | typeId: function(newValue, oldValue) { |
| | | this.busy = true; |
| | | this.$message.info('loading',0.3); |
| | | this.$message.info('loading', 0.3); |
| | | this.onChange(1); |
| | | } |
| | | |