From 7dc29ed74ebaa8a0e66f68264d9a13f95dc3af21 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 02 八月 2024 11:09:06 +0800
Subject: [PATCH] aa

---
 wechat_jiaxuan/pages/consult/consult.wxml |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/wechat_jiaxuan/pages/consult/consult.wxml b/wechat_jiaxuan/pages/consult/consult.wxml
index 06a8342..5080bc5 100644
--- a/wechat_jiaxuan/pages/consult/consult.wxml
+++ b/wechat_jiaxuan/pages/consult/consult.wxml
@@ -2,7 +2,7 @@
   <view class="home_top">
     <view class="search_wrap">
       <image src="../../static/icon/ic_search@2x.png" mode="widthFix"></image>
-      <input bindblur="getList" model:value="{{ query }}" type="text" placeholder="鎼滅储璧勮鏍囬" />
+      <input bindconfirm="searchList" model:value="{{ query }}" type="text" placeholder="鎼滅储璧勮鏍囬" />
     </view>
   </view>
   <!-- 鍒嗙被 -->
@@ -23,7 +23,7 @@
     </view>
   </view>
   <!-- content -->
-  <view class="content" style="padding-top: {{ secondCategory.length > 0 ? 276 : 186 }}rpx;">
+  <view class="content" style="padding-top: {{ secondCategory.length > 0 ? 274 : 184 }}rpx;">
     <view wx:for="{{ dataList }}" class="item" bindtap="itemClick" data-item="{{item}}">
       <image class="img" src="{{ item.coverImage }}" mode="widthFix"></image>
       <view class="title">{{ item.title }}</view>
@@ -31,9 +31,13 @@
         <view>{{ item.publishDt || '' }}</view>
         <view class="df_sb">
           <image class="liulan" src="../../static/icon/zixun_ic_liulan.png" mode="widthFix"></image>
-          <text>{{ item.viewCount }}</text>
+          <text>{{ math.formarCount(item.viewCount) }}</text>
         </view>
       </view>
     </view>
+    <view wx:if="{{ dataList.length == 0 }}" class="empty_wrap">
+      <image class="default_empty" src="../../static/images/default_empty.png"></image>
+    </view>
   </view>
-</view>
\ No newline at end of file
+</view>
+<wxs module="math" src="../../utils/math.wxs"></wxs>
\ No newline at end of file

--
Gitblit v1.9.3