From 2190db054006731dc5657bb2673dee4cc60f0fa2 Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Wed, 19 May 2021 13:48:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.vue | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index 6596a52..8669aa3 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -132,24 +132,13 @@ let _objData = { page: 1, row: 5, - communityId: this.currentCommunityId + locationTypeCd: '4000' }; loadAdvert(this, _objData) .then(function(res) { if (res.statusCode == 200) { let _advertPhotos = res.data; - let _aPhotos = []; - let _urlPath = ''; - // #ifdef MP-WEIXIN - _urlPath = _that.java110Constant.url.hcBaseUrl - // #endif - _advertPhotos.forEach(function(_item) { - _item.type = "image"; - _item.url = _urlPath + _item.url + "&time=" + new Date(); - _aPhotos.push(_item); - }); - - _that.swiperList = _aPhotos; + _that.swiperList = _advertPhotos; _that._loadActivitys(); return; }