|
@@ -83,8 +83,8 @@ module.exports = {
|
|
|
|
|
|
// VR看菜园:轮播图只取前三个
|
|
|
if (that.data.listUrl === '/api/user/vr/list') {
|
|
|
- temp['topSwiperData'] = _list.slice(0, 3)
|
|
|
- temp['listData'] = _list.filter((item, index) => index > 2)
|
|
|
+ temp['topSwiperData'] = _list.filter(item => item.top === 1)
|
|
|
+ temp['listData'] = _list.filter(item => item.top !== 1)
|
|
|
}
|
|
|
|
|
|
if (isRefresh && this.data.hasOwnProperty('leftList')) {
|