From 46484b9bea431054820dd30b33f0255aff366ee7 Mon Sep 17 00:00:00 2001
From: yiming <m13691596795@163.com>
Date: 星期三, 17 四月 2024 18:07:38 +0800
Subject: [PATCH] 2024417bug

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

diff --git a/pages/home/home.wxml b/pages/home/home.wxml
index 9678950..a5b37b2 100644
--- a/pages/home/home.wxml
+++ b/pages/home/home.wxml
@@ -1,5 +1,5 @@
 <view class="container">
-  <t-pull-down-refresh value="{{baseRefresh.value}}" loadingTexts="{{['涓嬫媺鍒锋柊', '鏉炬墜鍒锋柊', '姝e湪鍒锋柊', '鍒锋柊瀹屾垚']}}" bind:refresh="onPullDownRefresh" bind:scroll="onScroll">
+  <t-pull-down-refresh value="{{baseRefresh.value}}" loadingTexts="{{['涓嬫媺鍒锋柊', '鏉炬墜鍒锋柊', '姝e湪鍒锋柊', '鍒锋柊瀹屾垚']}}" bind:refresh="onPullDownRefresh" bind:scroll="onScroll" wx:if="{{!loading}}">
     <view class="background {{ isWhite ? 'white':''}}" style="padding-top: {{barHeight}}px">
       <text class="text">浜笀E璇�</text>
     </view>
@@ -14,16 +14,13 @@
       </view>
       <view class="swiper-wrap">
         <!-- <t-swiper wx:if="{{bannerList.length > 0}}" list="{{bannerList}}" autoplay="{{autoplay}}" duration="{{duration}}" interval="{{interval}}" navigation="{{ { type: 'dots' } }}" height="380rpx" bind:click="navToActivityDetail" /> -->
-        <swiper interval="5000" indicator-dots="true" autoplay="true" circular="true" class="swiper" wx:if="{{bannerList.length > 0}}">
+        <swiper interval="5000" indicator-dots="true" autoplay="true" circular="true" class="swiper">
           <swiper-item wx:for="{{bannerList}}" wx:for-index="index" wx:key="index" data-info="{{item}}" bindtap="navToActivityDetail">
             <view class="swiperItem">
               <image src="{{item.value}}" mode="widthFix" class="img" />
             </view>
           </swiper-item>
         </swiper>
-        <view class="body-loading" wx:else>
-          <t-loading theme="circular" size="40rpx" class="wrapper" />
-        </view>
       </view>
     </view>
     <view class="home-page-menu">
@@ -37,7 +34,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>
@@ -215,4 +212,6 @@
       </view>
     </view>
   </t-pull-down-refresh>
-</view>
\ No newline at end of file
+</view>
+<import src="home.skeleton.wxml" />
+<template is="skeleton" wx:if="{{loading}}" />
\ No newline at end of file

--
Gitblit v1.9.1