From 80232d691dd9c4989985b570ce4d745e5d2bc3f7 Mon Sep 17 00:00:00 2001 From: yiming <m13691596795@163.com> Date: 星期三, 20 三月 2024 18:34:19 +0800 Subject: [PATCH] Merge refs/remotes/origin/master into refs/heads/master --- packageBookService/pages/bookServices/list/index.wxml | 25 +++++++++++++++++-------- 1 files changed, 17 insertions(+), 8 deletions(-) diff --git a/packageBookService/pages/bookServices/list/index.wxml b/packageBookService/pages/bookServices/list/index.wxml index c06275a..81aa827 100644 --- a/packageBookService/pages/bookServices/list/index.wxml +++ b/packageBookService/pages/bookServices/list/index.wxml @@ -10,8 +10,8 @@ <view class="bookServices-list"> <view class="list-header"> <scroll-view scroll-x="{{true}}" class="header-scroll"> - <t-dropdown-menu> - <t-dropdown-item options="{{stairList.options}}" value="{{stairList.value}}" bindchange="onChangeStair" /> + <t-dropdown-menu style="width: 800rpx;"> + <t-dropdown-item options="{{stairList.options}}" value="{{stairList.value}}" bindchange="onChangeStair" style="background-color: #F6F6F6;" /> <t-dropdown-item label="浜岀骇" options="{{secondList.options}}" optionsColumns="2" multiple value="{{secondList.value}}" bind:confirm="onConfirmSecond" bind:change="onChangeSecond" /> <t-dropdown-item label="閲嶇偣椤圭洰" options="{{majorProjectList.options}}" optionsColumns="2" multiple defaultValue="{{majorProjectList.value}}" bind:confirm="changeMajorProject" bind:reset="resetMajorProject" /> <t-dropdown-item label="鏂板舰鎬佹暀鏉�" options="{{newTextBook.options}}" optionsColumns="2" multiple defaultValue="{{newTextBook.value}}" bind:confirm="changeNewText" bind:reset="resetNewText" /> @@ -31,13 +31,22 @@ <view class="title-box"></view> <view class="title-name">{{assortCheck.name}}</view> </view> - <view class="book-list"> - <view class="book-box" wx:for="{{bookList}}" wx:key="id" bind:tap="goDetail" data-book="{{item}}"> - <view class="book-img"> - <t-image src="{{item.icon}}" width="105" height="145" aria-label="{item.name{}}" /> + <view class="page-content"> + <view class="book-list" wx:if="{{!loaidng}}"> + <view class="book-box" wx:for="{{bookList}}" wx:key="id" bind:tap="goDetail" data-book="{{item}}"> + <view class="book-img"> + <t-image src="{{item.icon ? item.icon : '/static/images/default-book-img.png'}}" width="105" height="145" aria-label="{item.name{}}" /> + </view> + <view class="book-name book-color">{{ item.name}}</view> + <view class="book-author book-color">{{item.author}}</view> </view> - <view class="book-name book-color">{{ item.name}}</view> - <view class="book-author book-color">{{item.author}}</view> + <view wx:if="{{noData}}" class="noData"> + <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" /> + </view> + </view> + <!-- loading --> + <view class="loading-box" wx:if="{{loaidng}}"> + <t-loading theme="circular" size="60rpx" class="wrapper" loading="{{loaidng}}" wx:if="{{loaidng}}" /> </view> </view> <view class="bottom-box"> -- Gitblit v1.9.1