闫增涛
2024-09-18 c96612e8a63ecef9590be0f8b5199277ec94e5b9
pages/digitalTextbooks/index.wxml
@@ -4,8 +4,9 @@
<view wx:if="{{!loading}}">
  <view style="width: 100%; height: {{barHeight}}px;"></view>
  <view class="nacigationBar" style="width: 70%; height: {{navBarHeight}}px;">
    <view>
      <t-icon name="chevron-left" size="30" data-name="{{item}}" bind:click="goBack" />
    <view class="back-icon">
      <!-- <t-icon name="chevron-left" size="30" data-name="{{item}}" bind:click="goBack" /> -->
      <image src="/static/images/digitalTextbooks/chevron-left.png" bind:tap="goBack" mode="aspectFit" />
    </view>
    <t-search model:value="{{searchValue}}" shape="round" placeholder="请输入教材名称/ISBN/作者" class="navBar-search" style="width: 464rpx" bind:submit="searchBook" />
  </view>
@@ -35,10 +36,10 @@
        <view class="external" wx:for="{{digitalTextbooksData}}" wx:key="index" wx:for-item="item" wx:for-index="index" data-item="{{item}}" bind:tap="jumpDetails">
          <view class="amountClick">
            <t-icon name="browse" size="15" data-name="{{item}}" bind:click="goBack" />
            <view style="margin-left: 5rpx;">{{item.viewCount}}</view>
            <view style="margin-left: 5rpx">{{item.viewCount}}</view>
          </view>
          <view class="imageBox">
            <image src="{{item.icon ? item.icon : '/static/images/default-book-img.png'}}" mode="" />
            <image src="{{item.icon ? item.icon : 'https://jsek.bnuic.com/home/image/textBookIcon.png'}}" mode="" />
          </view>
          <view class="bookName">{{item.name}}</view>
          <view class="information">
@@ -58,5 +59,4 @@
      </view>
    </scroll-view>
  </view>
</view>