Browse Source

no message

sys 2 years ago
parent
commit
84fc57ade6
1 changed files with 7 additions and 1 deletions
  1. 7 1
      pages/index/model/slide-item.vue

+ 7 - 1
pages/index/model/slide-item.vue

@@ -6,7 +6,7 @@
 
 <script>
 import tantan from '@/components/dgex-tantan/dgex-tantan.vue'
-import {getDiscoverList} from "@/api/discovery";
+import {getDiscoverList, getMoments} from "@/api/discovery";
 import tools from "@/service/tools";
 export default {
   name: "slide-item",
@@ -28,8 +28,14 @@ export default {
 
     // this.change({'currentIndex':1})
     this.getDiscoverList()
+    this.getMoments()
   },
   methods: {
+    getMoments(){
+      getMoments({'pageNo':1,'pageSize':20}).then((res)=>{
+
+      })
+    },
     getDiscoverList(){
       if(this.isAjax){
         return