Sanakey
2020-08-13 d98d05000c3d14e1f12a7754ebeea11ec1fa0f0b
提交 | 用户 | age
d98d05 1 <!--pages/followGoods/followGoods.wxml-->
S 2 <import src="../template/goods-item-row/goods-item-row-template" />
3 <import src="../template/no-more/no-more-template" />
4
5
6 <view class="item-container">
7
8   <view class="item-list" wx:for="{{followGoods}}" wx:key="index" bindtap="goDetail" data-matcode="{{item.MatCode}}">
9     <text class="iconfont icon-lajixiang" catchtap="cancelFollow" data-matcode="{{item.MatCode}}"></text>
10
11     <!-- {{item}} -->
12     <view wx:if="{{followGoods==''}}">
13       暂无
14     </view>
15     <view class="goods-item" data-id="{{item.MatCode}}">
16       <image src="{{item.PhotoPath}}" class="item-img" />
17       <view class="item">
18         <view class="item-title" wx:if="{{item.isShowMatCode}}">编号:{{item.MatCode}}</view>
19         <view class="item-title" wx:if="{{item.isShowMatName}}">编号:{{item.MatName}}</view>
20         <text class="item-costprice" wx:if="{{costprice}}">¥{{item.costprice}}</text>
21         <view class="item-total" wx:if="{{item.isShowPrice}}">{{item.CurrencySign}}{{item.Price}}</view>
22       </view>
23     </view>
24
25
26   </view>
27 </view>
28 <template is="noMoreTemplate" />