...
|
...
|
@@ -99,6 +99,10 @@ |
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
import Vue from 'vue';
|
|
|
import { List } from 'vant';
|
|
|
|
|
|
Vue.use(List);
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
...
|
...
|
@@ -106,8 +110,8 @@ export default { |
|
|
keyword: '',
|
|
|
showkeyword: false,
|
|
|
type: 1,
|
|
|
finished: "",
|
|
|
loading: false,
|
|
|
loading: false,
|
|
|
finished: false,
|
|
|
page: 1,
|
|
|
this_page: "",
|
|
|
total_page: "",
|
...
|
...
|
@@ -225,6 +229,7 @@ export default { |
|
|
},
|
|
|
// 视频上拉加载
|
|
|
onLoad() {
|
|
|
console.log(437349)
|
|
|
let that = this;
|
|
|
// 异步更新数据
|
|
|
// setTimeout 仅做示例,真实场景中一般为 ajax 请求
|
...
|
...
|
@@ -259,6 +264,8 @@ export default { |
|
|
.then(function (res) {
|
|
|
console.log(res);
|
|
|
that.sucailist = that.sucailist.concat(res.data.sort);
|
|
|
that.this_page=res.data.this_page;
|
|
|
that.total_page=res.data.total_page
|
|
|
console.log(that.sucailist)
|
|
|
})
|
|
|
.catch(function (err) {
|
...
|
...
|
|