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