From 7eea32a9a7a034e951468bea279688e8db5c1c98 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期一, 09 九月 2024 14:31:51 +0800 Subject: [PATCH] bug --- pages/retrievalPage/index.wxml | 70 ++++++++-------------------------- 1 files changed, 17 insertions(+), 53 deletions(-) diff --git a/pages/retrievalPage/index.wxml b/pages/retrievalPage/index.wxml index 05e391a..0a5b738 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,10 @@ </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> + <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> \ No newline at end of file -- Gitblit v1.9.1