From 86cbb2a45a153a704bcc0d63697f83d2832caa71 Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期二, 09 七月 2024 09:51:15 +0800 Subject: [PATCH] css,token --- pages/retrievalPage/index.wxml | 50 ++++++++------------------------------------------ 1 files changed, 8 insertions(+), 42 deletions(-) diff --git a/pages/retrievalPage/index.wxml b/pages/retrievalPage/index.wxml index 05e391a..a097d87 100644 --- a/pages/retrievalPage/index.wxml +++ b/pages/retrievalPage/index.wxml @@ -8,31 +8,22 @@ <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 +46,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> @@ -99,10 +82,6 @@ </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"> @@ -126,11 +105,6 @@ </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"> @@ -164,9 +138,6 @@ </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"> @@ -194,11 +165,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}}"> -- Gitblit v1.9.1