BookListItem.wxml 1.1 KB

1
  1. <view class="book-item data-v-36f2319a"><image class="book-cover data-v-36f2319a" src="{{book.coverUrl}}" mode="aspectFill"></image><view class="book-info data-v-36f2319a"><view class="book-title data-v-36f2319a">{{book.title}}</view><view class="book-price data-v-36f2319a"><text class="data-v-36f2319a">回收价:</text><text class="price data-v-36f2319a">{{"¥"+book.price}}</text></view><view class="{{['action-btn','data-v-36f2319a',book.status]}}"><block wx:if="{{book.status==='pending'}}"><u-icon vue-id="b156faa8-1" name="plus" size="16" class="data-v-36f2319a" bind:__l="__l"></u-icon></block><text style="margin-left:6rpx;" class="data-v-36f2319a">{{$root.m0}}</text></view></view><block wx:if="{{isEditMode}}"><view class="checkbox-wrapper data-v-36f2319a"><u-checkbox bind:input="__e" class="checkbox-item data-v-36f2319a" vue-id="b156faa8-2" label-size="{{0}}" name="{{book.id}}" shape="circle" active-color="#38C148" value="{{book.selected}}" data-event-opts="{{[['^input',[['__set_model',['$0','selected','$event',[]],['book']]]]]}}" bind:__l="__l"></u-checkbox></view></block></view>