- <view class="hotSection">
- <view class="hotWares" style="flex-direction:row;">
- <view wx:for="{{recommend}}" bindtap="openClass" wx:key="{{index}}" class="hotWareCard" data-classId="{{item.classId}}" data-title="{{item.title}}">
- <image class="wareCardImg" src="{{item.img}}" />
- <view class="titleSummary">
- <text class="wareCardTitle">{{item.title}}</text>
- <text class="wareCardTip">{{item.grade}}</text>
- </view>
- </view>
- </view>
- </view>
|