From 93aadab3e592ccb4d2f7ff00f4bd79d6e7a7daec Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期四, 11 七月 2024 15:48:28 +0800
Subject: [PATCH] 详情页接口优化,图书列表页骨架屏优化

---
 pages/home/home.wxml |   18 +++++++++++-------
 1 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/pages/home/home.wxml b/pages/home/home.wxml
index 204d392..b8cc110 100644
--- a/pages/home/home.wxml
+++ b/pages/home/home.wxml
@@ -1,13 +1,14 @@
 <view class="container">
-  <t-pull-down-refresh value="{{baseRefresh.value}}" loadingTexts="{{['涓嬫媺鍒锋柊', '鏉炬墜鍒锋柊', '姝e湪鍒锋柊', '鍒锋柊瀹屾垚']}}" bind:refresh="onPullDownRefresh" bind:scroll="onScroll" wx:if="{{!loading}}">
+  <t-pull-down-refresh value="{{baseRefresh.value}}" loadingTexts="{{['涓嬫媺鍒锋柊', '鏉炬墜鍒锋柊', '姝e湪鍒锋柊', '鍒锋柊瀹屾垚']}}" bind:refresh="onPullDownRefresh" wx:if="{{!loading}}" bind:scroll="onScroll">
     <view class="background {{ isWhite ? 'white':''}}" style="padding-top: {{barHeight}}px">
-      <text class="text">浜笀E璇�</text>
+      <text class="text">浜笀鏅烘暀</text>
     </view>
     <view class="home-page-header">
       <view class="bg">
         <image src="/static/images/home/home-bg.png" mode="heightFix" class="image" />
       </view>
       <view class="search">
+        <image class="icon" src="/static/images/home/nav_icon_scan.png" bindtap="onIconScanTap" />
         <t-search t-class-input="t-search__input" t-class-input-container="t-search__input-container" placeholder="璇疯緭鍏ュ叧閿瘝/涔﹀悕/ISBN/浣滆��" leftIcon="" bind:submit="onRetrievalPage" model:value="{{searchVal}}">
           <t-icon slot="left-icon" prefix="wr" name="search" size="40rpx" color="#bbb" bind:tap="navToSearchPage" />
         </t-search>
@@ -34,7 +35,7 @@
           <view class="icon">
             <image src="/static/images/home/zhuantitaolun2.png" mode="aspectFit" class="iconImage" />
           </view>
-          <view data-info="{{'zhuantitaolun'}}" bindtap="onMoreGuide" class="flex">
+          <view data-info="{{'zhuantitaolun'}}" bindtap="onMoreGuide" class="flex" style="align-items: center">
             <text class="more">鏇村</text>
             <t-icon name="chevron-right" size="32rpx" color="#ff6d00" />
           </view>
@@ -96,7 +97,8 @@
             </view>
           </view>
           <view class="empyt" wx:else>
-            <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" font-size="80" />
+            <!-- <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" font-size="80" /> -->
+            <empty />
           </view>
         </view>
         <view class="tabCardPublic iconTwo">
@@ -128,7 +130,8 @@
             </view>
           </view>
           <view class="empyt" wx:else>
-            <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" font-size="80" />
+            <!-- <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" font-size="80" /> -->
+            <empty />
           </view>
         </view>
         <view class="tabCardPublic iconTwo">
@@ -183,7 +186,8 @@
             </view>
           </view>
           <view class="empyt" wx:else>
-            <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" font-size="80" />
+            <!-- <t-empty icon="folder-open" description="鏆傛棤鏁版嵁" font-size="80" /> -->
+            <empty />
           </view>
         </view>
         <view class="tabCardPublic">
@@ -192,7 +196,7 @@
           </view>
         </view>
         <view class="rankingList">
-          <scroll-view class="srcolbox" scroll-x scroll-with-animation='true'>
+          <scroll-view class="srcolbox" scroll-x scroll-with-animation="true">
             <view class="booksListBox">
               <view wx:for="{{rankingList}}" wx:for-item="item" wx:for-index="index" wx:key="index" class="booksListItemBox">
                 <view class="listItem" bind:tap="goDetail" data-book="{{item}}">

--
Gitblit v1.9.1