searchResult.wxml 695 B

12345678910111213
  1. <view class="hotWares">
  2. <view wx:for="{{wareCards}}" wx:key="{{index}}" class="hotWareCard" bindtap="openClass" data-classId="{{item.classId}}" data-title="{{item.title}}">
  3. <image class="wareCardImg" src="{{item.img}}" />
  4. <view class="resultData">
  5. <text class="wareCardTitle">{{item.title}}</text>
  6. <text class="wareCardTip">{{item.grade}}</text>
  7. </view>
  8. <!-- <view class="bottomData">
  9. <text class="wareCardTip">{{item.grade}}</text>
  10. </view> -->
  11. </view>
  12. <myPlacerholder line1="{{'没有您想要的结果'}}" line2="{{'换个关键词再试'}}" wx:if="{{wareCards.length <= 0}}" />
  13. </view>