闫增涛
2024-04-03 34dd2d10cf26c86ed170a59aa36718f7c27f24d0
packagePersonal/pages/myCollection/index.wxml
@@ -13,14 +13,15 @@
        <view wx:if="{{activeName == 'FavoriteBookCity'}}" class="listBox">
          <view class="content-item" wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index">
            <view class="icon" data-book="{{item}}" bindtap="goBookDetails">
              <t-image src="{{item.icon}}" mode="" class="img" />
              <t-image src="{{item.icon}}" mode="aspectFit" class="img" wx:if="{{item.icon}}" />
              <t-image src="/static/images/default-book-img.png" mode="aspectFit" class="img" wx:else />
            </view>
            <view class="body-info" data-book="{{item}}" bindtap="goBookDetails">
              <view class="name">{{item.name}}</view>
              <view class="author">{{item.author}}</view>
            </view>
            <view class="currentBtn" data-info="{{item}}" bindtap="setCoolect">
              <t-image src="/static/images/personal/quxiaoshoucang.png" mode="heightFix" class="img" />
              <image src="/static/images/personal/quxiaoshoucang.png" mode="aspectFit" class="img" />
            </view>
          </view>
        </view>