| 
					
				 | 
			
			
				@@ -1,4 +1,5 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <!-- #ifdef H5 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <zj-page-layout 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   	:hasFooter="false" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   	:isScroll="true" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -6,52 +7,60 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   	@refresherrefresh="refresherrefresh" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   	@scrolltolower="scrolltolower"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <view class="common-goods-list"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <view class="item"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <view class="item" v-for="(item, index) in dataList" :key="index" @tap="toGoodsDetail(item.id)"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <view class="top"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <image src="@/static/common/logo.png"></image> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <view class="user"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <view class="name">张三</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <view class="time">23小时前发布</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <view class="name">{{item.userName}}</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <view class="time">{{item.createTime}}</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <view class="price">¥1888.00</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <view class="price">{{item.amount | priceFilter}}</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <view class="title">商品名称</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <view class="des">商品描述</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <view class="title">{{item.title}}</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <view class="des">{{item.content}}</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <view class="imgs"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <image src="@/static/user/other_speech.png"></image> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <image src="@/static/user/other_speech.png"></image> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <image src="@/static/user/other_speech.png"></image> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <image :src="imgUrl + it.imgUrl" v-for="(it, idx) in item.goodsFiles" :key="idx"></image> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <view class="bottom"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <view class="left-location">天河区棠下</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <view class="left-location"><text class="iconfont icon-dingwei"></text>{{item.address}}</view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <view class="right-btn"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            <u-button text="取消收藏" shape="circle"></u-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <u-button text="取消点赞" shape="circle"></u-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <Loading :loadStatus="loadStatus" :dataList="dataList" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </zj-page-layout> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <!-- #endif --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <!-- #ifndef H5 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <web-view :src="webViewHref('/pages/mine/myCollection')"></web-view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  <!-- #endif --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  // #ifdef H5 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     data() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       return { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         imgUrl: this.$imageUrl, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         dataList: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        pageNum: 1, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        pageNum: 1,
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				loadStatus: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         refresherTriggered: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     async onLoad() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      // await this.getList() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      await this.getList() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     methods: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       //获取列表数据 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       async getList() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.$api.post('/xxx/xxxlist', { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.$api.get('/likeOrCollect/list', { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          userId: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          type: 2, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           pageNum: this.pageNum, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           pageSize: 10, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }).then(res => { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -84,8 +93,18 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       	this.getList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      toGoodsDetail(id) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.$navToPage({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          url: `/pages/goods/detail?id=${id}` 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  // #endif 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  // #ifndef H5 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  // #endif 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <style lang="scss" scoped> 
			 |