From 7edbade4d2b1c74360d0cf40cdaa2eb0de379132 Mon Sep 17 00:00:00 2001
From: unknown <unknown@example.com>
Date: 星期二, 27 二月 2024 09:32:14 +0800
Subject: [PATCH] 中台

---
 pages/home/home.wxml |   52 ++++++++++++++++++++++++++++++----------------------
 1 files changed, 30 insertions(+), 22 deletions(-)

diff --git a/pages/home/home.wxml b/pages/home/home.wxml
index f92982d..63c8cd3 100644
--- a/pages/home/home.wxml
+++ b/pages/home/home.wxml
@@ -2,35 +2,43 @@
   <t-loading theme="circular" size="40rpx" text="鍔犺浇涓�..." inherit-color />
 </view>
 <view class="home-page-header">
-  <view class="search" bind:tap="navToSearchPage">
-    <t-search t-class-input="t-search__input" t-class-input-container="t-search__input-container" placeholder="璇疯緭鍏ュ叧閿瘝/涔﹀悕/ISBN/浣滆��" leftIcon="" disabled>
-      <t-icon slot="left-icon" prefix="wr" name="search" size="40rpx" color="#bbb" />
+  <view class="search">
+    <t-search t-class-input="t-search__input" t-class-input-container="t-search__input-container" placeholder="璇疯緭鍏ュ叧閿瘝/涔﹀悕/ISBN/浣滆��" leftIcon="">
+      <t-icon slot="left-icon" prefix="wr" name="search" size="40rpx" color="#bbb" bind:tap="navToSearchPage" />
     </t-search>
   </view>
   <view class="swiper-wrap">
-    <t-swiper 
-    wx:if="{{bannerList.length > 0}}" 
-    list="{{bannerList}}" 
-    current="{{current}}" 
-    autoplay="{{autoplay}}" 
-    duration="{{duration}}" 
-    interval="{{interval}}"
-    navigation="{{navigation}}" 
-    bind:click="navToActivityDetail" 
-    />
-  </view>
-  <view class="headerList">
-    
+    <t-swiper wx:if="{{bannerList.length > 0}}" list="{{bannerList}}" current="{{current}}" autoplay="{{autoplay}}" duration="{{duration}}" interval="{{interval}}" navigation="{{navigation}}" bind:click="navToActivityDetail" />
   </view>
 </view>
+<view class="home-page-menu">
+  <t-grid class="t-grid-block" theme="card" border="{{border}}" column="{{5}}">
+    <t-grid-item wx:for="{{tabList}}" wx:for-index="index" wx:key="index" text="{{item.text}}" image="{{item.icon}}" data-info="{{item}}" bindtap="toPages" />
+  </t-grid>
+</view>
 <view class="home-page-container">
-  <view class="home-page-tabs">
-    <t-tabs t-class="t-tabs" t-class-active="tabs-external__active" t-class-item="tabs-external__item" defaultValue="{{0}}" space-evenly="{{false}}" bind:change="tabChangeHandle">
-      <t-tab-panel wx:for="{{tabList}}" wx:for-index="index" wx:key="index" label="{{item.text}}" value="{{item.key}}" />
-    </t-tabs>
-  </view>
+  <view class="home-page-list">
+    <view class="tabCardPublic">
+      <view class="icon">
+        <t-image src="/static/images/home/zhuantitaolun.png" mode="heightFix" class="iconImage" />
+      </view>
+      <view bindtap="onMoreGuide">
+        <text class="more">鏇村</text>
+      </view>
+    </view>
+    <view>
+      <view wx:for="{{specialSubjectList}}" wx:for-item="item" wx:for-index="index" wx:key="index" bindtap="toList" data-info="{{item}}">
+        <view class="specialSubject-img">
+          <t-image src="{{item.icon}}" mode="aspectFill" width="50" height="50" />
+        </view>
+        <view class="body-info">
+          <view>{{item.name}}</view>
+        </view>
+      </view>
+    </view>
 
-  <goods-list wr-class="goods-list-container" goodsList="{{goodsList}}" bind:click="goodListClickHandle" bind:addcart="goodListAddCartHandle" />
+
+  </view>
   <load-more list-is-empty="{{!goodsList.length}}" status="{{goodsListLoadStatus}}" bind:retry="onReTry" />
   <t-toast id="t-toast" />
 </view>
\ No newline at end of file

--
Gitblit v1.9.1