From e6e0218a1abd7395d00ade401c6ea6a02e7c3ece Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 01 八月 2024 18:20:28 +0800
Subject: [PATCH] lll

---
 wechat_staff/components/disRealpic/index.wxml |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/wechat_staff/components/disRealpic/index.wxml b/wechat_staff/components/disRealpic/index.wxml
index 1a43096..f10a0d9 100644
--- a/wechat_staff/components/disRealpic/index.wxml
+++ b/wechat_staff/components/disRealpic/index.wxml
@@ -29,11 +29,11 @@
       </view>
       <view wx:if="{{ activeParam.length > 0 }}" class="shade"></view>
       <view class="status">
-        <view class="item {{ sortType == 'NORMAL' ? 'active' : '' }}" data-status="NORMAL" bindtap="statusChange">榛樿</view>
+        <view class="item {{ sortType == '' ? 'active' : '' }}" data-status="" bindtap="statusChange">榛樿</view>
         <view class="separate"></view>
-        <view class="item {{ sortType == 'HOT' ? 'active' : '' }}" data-status="HOT" bindtap="statusChange">鏈�鐑�</view>
+        <view class="item {{ sortType == 'greet' ? 'active' : '' }}" data-status="greet" bindtap="statusChange">鏈�鐑�</view>
         <view class="separate"></view>
-        <view class="item {{ sortType == 'LATEST' ? 'active' : '' }}" data-status="LATEST" bindtap="statusChange">鏈�鏂�</view>
+        <view class="item {{ sortType == 'time' ? 'active' : '' }}" data-status="time" bindtap="statusChange">鏈�鏂�</view>
       </view>
       <!-- goods_list -->
       <scroll-view bindscrolltolower="scrolltolower" scroll-y enable-passive enable-flex class="goods_list">
@@ -54,7 +54,7 @@
             <image wx:else data-code="like_cancel" bindtap="handleAction" class="icon" src="../../static/icon/detail_nav_collected.png" mode="widthFix"></image>
             <text class="num {{item.isCollection ? 'primary' : ''}}">{{ item.collectCount }}</text>
             <image class="icon" src="../../static/icon/zixun_ic_liulan.png" mode="widthFix"></image>
-            <text>{{ item.viewCount }}</text>
+            <text>{{ format.formarCount(item.viewCount) }}</text>
           </view>
         </view>
         <view wx:if="{{ dataList.length == 0 }}" class="empty_wrap">
@@ -65,4 +65,5 @@
   </view>
 
   <videoPlay class="videoPlay"/>
-</view>
\ No newline at end of file
+</view>
+<wxs module="format" src="../../utils/format.wxs"></wxs>
\ No newline at end of file

--
Gitblit v1.9.3