From 9b09d13712c0c005891450a3bf4b6d848ec0ff37 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期三, 29 十一月 2023 10:28:24 +0800
Subject: [PATCH] 2023.11.29

---
 pages/mConsult/consultsearch/consultsearch.wxml |   42 +++++++++++++++++++++++++++++++++++-------
 1 files changed, 35 insertions(+), 7 deletions(-)

diff --git a/pages/mConsult/consultsearch/consultsearch.wxml b/pages/mConsult/consultsearch/consultsearch.wxml
index 5e2c2c8..dfa4715 100644
--- a/pages/mConsult/consultsearch/consultsearch.wxml
+++ b/pages/mConsult/consultsearch/consultsearch.wxml
@@ -3,26 +3,54 @@
   <view class="page__hd">
     <view class="search-bar">
       <mp-icon icon="search" size="15" color="black"></mp-icon>
-      <input type="text" class="search-bar__input" placeholder="{{placeholder}}" value="{{value}}" focus="{{focus}}" bindinput="inputChange" />
-      <text class="weui-icon-clear" hover-class="weui-active" wx:if="{{value.length > 0}}" bindtap="clearInput"></text>
+      <input
+        type="text"
+        class="search-bar__input"
+        placeholder="{{placeholder}}"
+        value="{{value}}"
+        focus="{{focus}}"
+        bindinput="inputChange"
+      />
+      <text
+        class="weui-icon-clear"
+        hover-class="weui-active"
+        wx:if="{{value.length > 0}}"
+        bindtap="clearInput"
+      ></text>
     </view>
-    <view class="btn" bindtap="search">{{value.length > 0 ? '鎼滅储' : '鍙栨秷'}}</view>
+    <view class="btn" bindtap="search"
+      >{{value.length > 0 ? '鎼滅储' : '鍙栨秷'}}</view
+    >
   </view>
   <view class="page__bd">
     <view wx:if="{{history.length > 0}}">
       <view>鍘嗗彶璁板綍</view>
       <view class="history-record">
-        <text wx:for="{{history}}" wx:key="index" data-index="{{index}}" bindtap="selectHistory">{{item}}</text>
+        <text
+          wx:for="{{history}}"
+          wx:key="index"
+          data-index="{{index}}"
+          bindtap="selectHistory"
+          >{{item}}</text
+        >
       </view>
     </view>
 
     <view>澶у閮藉湪鎼�</view>
     <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
+        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.mfName}}</view>
       </view>
     </view>
   </view>
   <view class="page__ft"></view>
-</view>
\ No newline at end of file
+</view>

--
Gitblit v1.9.3