From 43a0780edd2db8e841325cb73032e819716c3595 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期三, 10 八月 2022 09:27:59 +0800
Subject: [PATCH] 智能咨询模块、台账模块

---
 pages/module_consult/consultsearch/consultsearch.wxml |   17 ++++++++++-------
 1 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/pages/module_consult/consultsearch/consultsearch.wxml b/pages/module_consult/consultsearch/consultsearch.wxml
index 69eadf8..6490d24 100644
--- a/pages/module_consult/consultsearch/consultsearch.wxml
+++ b/pages/module_consult/consultsearch/consultsearch.wxml
@@ -9,17 +9,20 @@
     <view class="btn" bindtap="search">{{value.length > 0 ? '鎼滅储' : '鍙栨秷'}}</view>
   </view>
   <view class="page__bd">
-    <view wx:if="{{histroy.length > 0}}">
+    <view wx:if="{{history.length > 0}}">
       <view>鍘嗗彶璁板綍</view>
-      <text wx:for="{{history}}" wx:key="index">{{item}}</text>
+      <view class="history-record">
+        <text wx:for="{{history}}" wx:key="index" data-index="{{index}}" bindtap="selectHistory">{{item}}</text>
+      </view>
     </view>
 
     <view>澶у閮藉湪鎼�</view>
-    <view wx:for="{{hotTopic}}" wx:key="index">
-      <text>{{index + 1}}</text>
-      <text>{{item.name}}</text>
-      <image src=""></image>
+    <view class="hot-topic">
+      <view wx:for="{{hotTopic}}" wx:key="index" class="hot-topic__item" data-index="{{index}}" bindtap="gotoDetail">
+        <view class="{{index < 3 ? 'hot-topic__hot' : 'hot-topic__normal'}}">{{index + 1}}</view>
+        <view class="hot-topic__name">{{item.name}}</view>
+      </view>
     </view>
   </view>
   <view class="page__ft"></view>
-</view>
+</view>
\ No newline at end of file

--
Gitblit v1.9.3