zhongshujie
18 小时以前 e2bf73079051769b7b7cdc9627fc32ce64226144
packageBookService/pages/bookServices/detail/index.wxml
@@ -16,6 +16,8 @@
      scroll-y="{{true}}"
      class="book"
      bindscrolltolower="onReachBottom"
      scroll-with-animation="{{true}}"
      scroll-top="{{scrollTop}}"
    >
      <!-- 图书详情 -->
      <view class="book-box">
@@ -52,7 +54,16 @@
                    src="/static/images/bookService/detail/suggest.png"
                  />
                </view>
                <view class="use-title">我要建议</view>
                <view class="use-title">建议</view>
              </view>
              <view class="suggest" bindtap="editPhone">
                <t-icon
                  class="editIcon"
                  style="color: rgb(194, 194, 194)"
                  name="calendar-edit"
                  size="40rpx"
                />
                <view class="use-title">联系</view>
              </view>
            </view>
          </view>
@@ -186,13 +197,7 @@
              <empty />
            </view>
          </t-tab-panel>
          <!-- <t-tab-panel
          label="电子书"
          icon="{{tabValue == 'jsek_eBook' ? eBookClickIcon : eBookIcon}}"
          value="jsek_eBook"
          style="{{tabPanelstyle}}"
        >
        </t-tab-panel> -->
          <t-tab-panel
            label="教学资源"
            icon="{{tabValue == 'jsek_teachingResources' ? teachResourcesClickIcon : teachResourcesIcon}}"
@@ -205,7 +210,7 @@
                rejectCause="{{rejectCause}}"
                deadline="{{deadline}}"
                bind:applyResource="applyResource"
                treeList="{{teach}}"
                md5List="{{md5List}}"
                applyResourceLoading="{{applyResourceLoading}}"
                bind:uploadFile="uploadFile"
              ></teach-resource>
@@ -220,17 +225,14 @@
                bind:downloadTeach="downloadTeach"
                bind:handleTree="handleTree"
                openTeachids="{{openTeachids}}"
                source="{{source}}"
                activeId="{{activeId}}"
                wx:if="{{teach.length}}"
                isShoppingCart="isShoppingCart"
                bind:updateCloudLearning="updateCloudLearning"
                bind:handleScrollTop="handleScrollTop"
              ></tree>
            </view>
            <!-- <t-loading
              theme="circular"
              size="60rpx"
              class="loading"
              loading="{{loading }}"
            /> -->
            <view wx:if="{{loading}}" style="width: 100%; height: min-content">
              <t-skeleton
                row-col="{{rowCol}}"
@@ -238,6 +240,9 @@
                animation="gradient"
                loading="{{loading}}"
              ></t-skeleton>
            </view>
            <view wx:if="{{noResources && !loading}}" class="noData">
              <empty />
            </view>
          </t-tab-panel>
          <t-tab-panel
@@ -274,13 +279,15 @@
                cloundMenuIsBuy="{{cloundMenuIsBuy}}"
                learnMenu="{{learnMenu}}"
                isCloundHaveSaleMethod="{{isCloundHaveSaleMethod}}"
                source="{{source}}"
                activeId="{{activeId}}"
                bind:updateShoppingCartHidden="updateShoppingCartHidden"
                bind:updateCloudLearning="updateCloudLearning"
                bind:getCloundIsBuy="getCloundIsBuy"
                bind:handleScrollTop="handleScrollTop"
              ></tree>
            </view>
            <view wx:if="{{noResources && !loading}}" class="noData">
              <!-- <t-empty icon="folder-open" description="暂无数据" /> -->
              <empty />
            </view>
          </t-tab-panel>
@@ -294,6 +301,9 @@
              <test-resource
                id="test-resource"
                list="{{test}}"
                bankSaleData="{{bankSaleData}}"
                isBuyBank="{{isBuyBank}}"
                isShoppingBank="{{isShoppingBank}}"
                bookInfo="{{bookDetail}}"
                openIds="{{openLearnids}}"
                mockData="{{mockData}}"
@@ -301,6 +311,8 @@
                storeInfo="{{options.storeInfo}}"
                jslx="{{jslx}}"
                bind:buyMock="buyMock"
                bind:buyBank="buyBank"
                bind:handleShoppingBank="handleShoppingBank"
              ></test-resource>
            </view>
          </t-tab-panel>
@@ -341,6 +353,13 @@
      </view>
    </movable-view>
  </movable-area>
  <!-- 联系编辑弹窗 -->
  <t-dialog visible="{{editDialog}}" close-btn bind:close="closeEditDialog">
    <view slot="content" class="editContent">
      <view class="editText">图书编辑:{{bookDetail.bookEditor}}</view>
      <view class="editText">联系方式:{{bookDetail.contactInformation}}</view>
    </view>
  </t-dialog>
  <!-- 我要建议弹窗 -->
  <suggest
    class="suggest-component"
@@ -377,8 +396,9 @@
      <view class="btn-text">纸质样书申请</view>
    </view>
    <view
      class="{{!bookBuy && bookDetail.isSell ? 'bottom-btn tryRead' : 'bottom-btn try'}}"
      class="{{!bookBuy  ? 'bottom-btn tryRead' : 'bottom-btn try'}}"
      bind:tap="goRead"
      data-type="freeFile"
      wx:if="{{!bookBuy || applicationState == 'overdue'}}"
    >
      <view>
@@ -408,6 +428,7 @@
    <view
      class="buy read"
      bind:tap="goRead"
      data-type="file"
      wx:if="{{bookBuy || applicationState == 'Normal'}}"
      >立即查看</view
    >