From 4c29b79d485d68d506e798f4fd381232ebc55a86 Mon Sep 17 00:00:00 2001
From: litian <C21AF165>
Date: 星期六, 14 九月 2024 11:27:33 +0800
Subject: [PATCH] bug

---
 pages/retrievalPage/index.wxml |   93 ++++++++++++++++++++--------------------------
 1 files changed, 41 insertions(+), 52 deletions(-)

diff --git a/pages/retrievalPage/index.wxml b/pages/retrievalPage/index.wxml
index 05e391a..f05e3dc 100644
--- a/pages/retrievalPage/index.wxml
+++ b/pages/retrievalPage/index.wxml
@@ -8,31 +8,23 @@
       <view class="cancellation" bind:tap="onCancellation">鍙栨秷</view>
     </view>
   </view>
-
-
   <view>
     <!-- Tab甯冨眬 -->
-    <view class="navBox">
-      <view class="titleBox" wx:for="{{tabList}}" bindtap="tabsOn" data-idx="{{item.index}}">
-
-        <view class="tabIndexBox">
-
-
-          <text class="{{item.index == tabsId ? 'fontColorBox' : ''}}">{{item.title}} </text>
-          <!-- <view style="font-size: 22rpx;"> ({{bookTotal}}) </view> -->
+    <scroll-view scroll-x="{{true}}" class="scroll-x">
+      <view class="navBox">
+        <view class="titleBox" wx:for="{{tabList}}" bindtap="tabsOn" data-idx="{{item.index}}">
+          <view class="tabIndexBox">
+            <text class="{{item.index == tabsId ? 'fontColorBox' : ''}}">{{item.title}} ({{item.bookTotal}})
+            </text>
+          </view>
+          <hr class="{{item.index == tabsId ? 'lineBox' : ''}}" />
         </view>
-
-
-        <hr class="{{item.index == tabsId ? 'lineBox' : ''}}" />
       </view>
-    </view>
+    </scroll-view>
     <!-- 鍐呭甯冨眬 -->
     <swiper class="swiperTtemBox" bindchange="slideOn" current="{{tabsId}}" circular>
       <!-- circular 鍚敤寰幆婊戝姩 -->
       <swiper-item>
-        <view wx:if="{{bookData.length <= 0}}" class="noDataBox">
-          <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" />
-        </view>
         <scroll-view scroll-y="{{true}}" class="scrollViewBox" bindscrolltolower="onScrollToLower">
           <view class="bookDataBox">
             <view class="bookDataForBox" wx:for="{{bookData}}" wx:key="index" wx:for-item="item" wx:for-index="index" data-item="{{item}}" bind:tap="onBook">
@@ -55,14 +47,6 @@
         </scroll-view>
       </swiper-item>
       <swiper-item>
-
-
-
-
-        <view wx:if="{{courseData.length <= 0}}" class="noDataBox">
-          <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" />
-        </view>
-
         <scroll-view scroll-y="{{true}}" class="scrollViewBox" bindscrolltolower="onScrollToLower">
           <view class="listBox1">
             <view>
@@ -96,13 +80,8 @@
             <empty />
           </view>
         </scroll-view>
-
       </swiper-item>
       <swiper-item>
-        <view wx:if="{{digitalTextbooksData.length <= 0}}" class="noDataBox">
-          <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" />
-        </view>
-
         <scroll-view scroll-y="{{true}}" class="scrollViewBox" bindscrolltolower="onScrollToLower">
           <view class="bookDataBox">
             <view class="bookDataForBox" wx:for="{{digitalTextbooksData}}" wx:key="index" wx:for-item="item" wx:for-index="index" data-item="{{item}}" bind:tap="underConstruction">
@@ -123,14 +102,8 @@
             <empty />
           </view>
         </scroll-view>
-
       </swiper-item>
       <swiper-item>
-
-        <view wx:if="{{seminarData.length <= 0}}" class="noDataBox">
-          <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" />
-        </view>
-
         <scroll-view scroll-y="{{true}}" class="scrollViewBox" bindscrolltolower="onScrollToLower">
           <view class="listBox">
             <view wx:for="{{seminarData}}" wx:for-item="item" wx:for-index="index" wx:key="index" class="listItemBox" data-item="{{item}}" bind:tap="underConstruction">
@@ -161,19 +134,15 @@
             <empty />
           </view>
         </scroll-view>
-
       </swiper-item>
       <swiper-item>
-        <view wx:if="{{bookFairData.length <= 0 }}" class="noDataBox">
-          <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" />
-        </view>
         <scroll-view scroll-y="{{true}}" class="scrollViewBox" bindscrolltolower="onScrollToLower">
           <view class="outsideHigherBox">
             <view class="higherBox" wx:for="{{bookFairData}}" wx:key="index" wx:for-item="item" wx:for-index="index">
               <view class="outsideHigherImageBox">
-                <view class="higherImageBox" data-item="{{item}}">
-                  <image bind:tap="downloadData" src="{{item.icon}}" mode="aspectFill" />
-                  <view class="downloadIcon" data-item="{{item}}" data-key="showWithInput" bind:tap="mailbox">
+                <view class="higherImageBox" bind:tap="openBookFair" data-item="{{item}}">
+                  <image src="{{item.icon}}" mode="aspectFill" />
+                  <view class="downloadIcon" data-item="{{item}}" data-key="showWithInput" catch:tap="mailbox">
                     <image wx:if="{{determine}}" class="download" src="/static/images/bibliographyList/email-click.png" mode="aspectFit" />
                     <image wx:else="" class="downloadshiftin" src="/static/images/bibliographyList/email.png" mode="aspectFit" />
                   </view>
@@ -194,11 +163,6 @@
         </scroll-view>
       </swiper-item>
       <swiper-item>
-        <view wx:if="{{biblioClassificationData.length <= 0}}" class="noDataBox">
-          <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" />
-        </view>
-
-
         <scroll-view scroll-y="{{true}}" class="scrollViewBox" bindscrolltolower="onScrollToLower">
           <view class="outside">
             <view class="contentBox" wx:for="{{biblioClassificationData}}" wx:key="index" wx:for-item="item" wx:for-index="index" bindtap="onBookExhibitionDetails" data-item="{{item}}">
@@ -220,10 +184,35 @@
         </scroll-view>
       </swiper-item>
     </swiper>
-    <view class="dialogBox">
-      <t-dialog visible="{{showWithInput}}" title="璇疯緭鍏ラ偖绠�" confirm-btn="纭畾" cancel-btn="鍙栨秷" bind:confirm="onConfirm" bind:cancel="closeDialog">
-        <t-input model:value="{{input}}" borderless class="dialog-input" clearable slot="content" placeholder="璇疯緭鍏ラ偖绠卞彿" placeholder-class="placeholder" bindchange="onEmailInput" />
-      </t-dialog>
+  </view>
+  <!-- <view class="dialogBox" wx:if="{{showWithInput}}">
+    <t-dialog visible="{{showWithInput}}" title="璇疯緭鍏ラ偖绠�" confirm-btn="纭畾" cancel-btn="鍙栨秷" bind:confirm="onConfirm" bind:cancel="closeDialog">
+      <t-input value="{{input}}" borderless class="dialog-input" clearable slot="content" placeholder="璇疯緭鍏ラ偖绠卞彿" placeholder-class="placeholder" bindchange="onEmailInput" />
+    </t-dialog>
+  </view> -->
+</view>
+<view wx:if="{{showWithInput}}"> 
+  <view class="popup-box" bindtap="closeDialog"></view>
+  <view class="info-center" style="top:{{height*0.4}}px;">
+    <view>
+      <view class="row-info">
+        <view class="body">
+          <view class="dialog-title">璇疯緭鍏ラ偖绠�</view>
+          <view class="input-box">
+            <t-input
+              style="{{inputStyle}}"
+              class="input"
+              placeholder="璇疯緭鍏ラ偖绠卞彿"
+              value="{{input}}"
+              bind:change="onEmailInput"
+            ></t-input>
+          </view>
+        </view>
+        <view class="row-btn">
+          <view class="left-btn" bindtap="closeDialog">鍙栨秷</view>
+          <view class="right-btn" bindtap="onConfirm">纭</view>
+        </view>
+      </view>
     </view>
   </view>
 </view>
\ No newline at end of file

--
Gitblit v1.9.1