From 097cdcd70b1d95f5fc581ea2bedc4faeba8259f2 Mon Sep 17 00:00:00 2001
From: yiming <m13691596795@163.com>
Date: 星期五, 15 三月 2024 18:36:24 +0800
Subject: [PATCH] fix: 购物车的样式

---
 pages/bookServices/list/index.wxml |   75 ++++++++++++-------------------------
 1 files changed, 25 insertions(+), 50 deletions(-)

diff --git a/pages/bookServices/list/index.wxml b/pages/bookServices/list/index.wxml
index 20900a8..c06275a 100644
--- a/pages/bookServices/list/index.wxml
+++ b/pages/bookServices/list/index.wxml
@@ -1,18 +1,10 @@
 <!-- 鍥句功鏈嶅姟-鍒楄〃 -->
 <view style="width: 100%; height: {{barHeight}}px;"></view>
-
 <view class="nacigationBar" style="width: 70%; height: {{navBarHeight}}px;">
   <view>
     <t-icon name="chevron-left" size="30" data-name="{{item}}" bind:click="goBack" />
   </view>
-  <t-search
-    model:value="{{searchValue}}"
-    shape="round"
-    placeholder="璇疯緭鍏ュ叧閿瘝/涔﹀悕/ISBN/浣滆��"
-    class="navBar-search"
-    style="width: 464rpx"
-    bind:submit="searchBook"
-  />
+  <t-search model:value="{{searchValue}}" shape="round" placeholder="璇疯緭鍏ュ叧閿瘝/涔﹀悕/ISBN/浣滆��" class="navBar-search" style="width: 464rpx" bind:submit="searchBook" />
 </view>
 
 <view class="bookServices-list">
@@ -20,32 +12,9 @@
     <scroll-view scroll-x="{{true}}" class="header-scroll">
       <t-dropdown-menu>
         <t-dropdown-item options="{{stairList.options}}" value="{{stairList.value}}" bindchange="onChangeStair" />
-        <t-dropdown-item
-          label="浜岀骇"
-          options="{{secondList.options}}"
-          optionsColumns="2"
-          multiple
-          defaultValue="{{secondList.value}}"
-          bind:confirm="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"
-        />
+        <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" />
       </t-dropdown-menu>
     </scroll-view>
     <view class="header-sort" bind:tap="sortClick">
@@ -56,19 +25,25 @@
       </view>
     </view>
   </view>
-  <scroll-view scroll-y="{{true}}" class="list-container">
-    <view class="assort-title">
-      <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>
-        <view class="book-name book-color">{{ item.name}}</view>
-        <view class="book-author book-color">{{item.author}}</view>
+  <t-pull-down-refresh value="{{enable}}" loadingProps="{{loadingProps}}" loadingTexts="{{['涓嬫媺鍒锋柊', '鏉炬墜鍒锋柊', '姝e湪鍒锋柊', '鍒锋柊瀹屾垚']}}" bind:refresh="onRefresh">
+    <scroll-view scroll-y="{{true}}" class="list-container" bindrefresherrefresh="onPullDownRefresh" bindscrolltolower="onReachBottom">
+      <view class="assort-title">
+        <view class="title-box"></view>
+        <view class="title-name">{{assortCheck.name}}</view>
       </view>
-    </view>
-  </scroll-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>
+          <view class="book-name book-color">{{ item.name}}</view>
+          <view class="book-author book-color">{{item.author}}</view>
+        </view>
+      </view>
+      <view class="bottom-box">
+        <t-loading theme="circular" size="40rpx" class="wrapper" wx:if="{{isMore == true}}" />
+        <text wx:if="{{isMore == false}}">娌℃湁鏇村浜�</text>
+      </view>
+    </scroll-view>
+  </t-pull-down-refresh>
+</view>
\ No newline at end of file

--
Gitblit v1.9.1