|
|
@@ -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
|