|
@@ -515,6 +515,26 @@ export default {
|
|
|
courseList() {
|
|
|
var param = this.paramList[0];
|
|
|
// /app/common/goods/list
|
|
|
+ // this.$http({
|
|
|
+ // url: '/app/common/activity/recommend/list',
|
|
|
+ // method: 'get',
|
|
|
+ // data: {
|
|
|
+ // platform: 1,
|
|
|
+ // status: 1,
|
|
|
+ // },
|
|
|
+ // noToken: true
|
|
|
+ // }).then((res) => {
|
|
|
+ // console.log('s---->', res)
|
|
|
+ // if (res.data.code == 200) {
|
|
|
+ // this.list1 = res.data.rows && (res.data.rows[0].goodsList || [])
|
|
|
+ // this.list1 = this.list1.sort((a, b) => a.sort - b.sort)
|
|
|
+ // // this.goodsList2 = goodsList2.sort((a, b) => a.sort - b.sort);
|
|
|
+ // this.total1 = res.data.rows[0].goodsList.length
|
|
|
+ // if (this.list1.length === this.total1) {
|
|
|
+ // this.showStatus1 = true
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // })
|
|
|
this.$api.goodsList(param).then(res => {
|
|
|
if (res.data.code == 200) {
|
|
|
this.list1 = res.data.rows || []
|