books.wxml 258 B

123456
  1. <view class = 'allBooks' >
  2. <view class="book" wx:for="{{allBooks}}" wx:key="{{index}}" data-id="{{item.id}}" data-title="{{item.title}}" bindtap="goToBook">
  3. <image src="{{item.iconImg}}" />
  4. <text >{{item.title}}</text>
  5. </view>
  6. </view>