From 00bf17838b496e6fcfed2e521f9c27f8f0e3e3c7 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期一, 05 八月 2024 18:38:20 +0800
Subject: [PATCH] ‘’

---
 wechat_jiaxuan/components/disRealpic/index.wxml |   27 ++++++++++++++-------------
 1 files changed, 14 insertions(+), 13 deletions(-)

diff --git a/wechat_jiaxuan/components/disRealpic/index.wxml b/wechat_jiaxuan/components/disRealpic/index.wxml
index 88c3210..1a9e570 100644
--- a/wechat_jiaxuan/components/disRealpic/index.wxml
+++ b/wechat_jiaxuan/components/disRealpic/index.wxml
@@ -1,5 +1,5 @@
 <view class="app">
-  <view class="home_top" style="top:{{ menuButtonInfo.top + menuButtonInfo.height + 6 }}px">
+  <view class="home_top">
     <view class="search_wrap">
       <image src="../../static/icon/ic_search@2x.png" mode="widthFix"></image>
       <input bindconfirm="bindblur"  model:value="{{ query }}" type="text" placeholder="鎼滅储瀹炴櫙鍚嶇О" />
@@ -7,7 +7,7 @@
   </view>
 
   <!--  -->
-  <view class="home_content" style="padding-top:{{ menuButtonInfo.top + menuButtonInfo.height + 6 }}px;">
+  <view class="home_content">
     <view class="main_content">
       <scroll-view class="query_wrap_scroll" scroll-x>
         <view class="query_wrap">
@@ -28,7 +28,7 @@
         </view>
       </view>
       <view wx:if="{{ activeParam.length > 0 }}" class="shade"></view>
-      <view class="status">
+      <view wx:if="{{ showTouch }}" animation="{{animationData}}" class="status">
         <view class="item {{ sortType == '' ? 'active' : '' }}" data-status="" bindtap="statusChange">榛樿</view>
         <view class="separate"></view>
         <view class="item {{ sortType == 'greet' ? 'active' : '' }}" data-status="greet" bindtap="statusChange">鏈�鐑�</view>
@@ -36,13 +36,13 @@
         <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">
+      <scroll-view bindscrolltoupper="bindscrolltoupper" bindscrolltolower="scrolltolower" binddragging="touchmove" binddragstart="touchstart" scroll-y enhanced class="goods_list">
+        <view class="empty"></view>
         <view wx:for="{{ dataList }}" data-item="{{item}}" class="item" bindtap="handleDetail">
           <view class="img_wrap">
             <image src="{{ item.coverImage }}" class="img"></image>
-            <view wx:if="{{ item.openType == 'link' }}" data-item="{{item}}" bindtap="priviewFull" class="full">
-              <image class="icon" src="../../static/icon/ic_720.png" mode="widthFix"></image>
-              <text>鍏ㄦ櫙</text>
+            <view wx:if="{{ item.openType == 'link' }}" data-item="{{item}}" bindtap="priviewFull" class="full"> 
+              <text>VR</text>
             </view>
             <image wx:if="{{ item.openType == 'video' }}" bindtap="videoClick" data-videourl="{{ item.openContent }}" class="play" src="../../static/icon/ic_play.png" mode="widthFix"></image>
             <image wx:if="{{ false }}" class="new" src="../../static/icon/chanpin_ic_new@2x.png" mode="widthFix"></image>
@@ -51,11 +51,11 @@
             <view class="name">{{ item.title }}</view>
           </view>
           <view class="info">
-            <image wx:if="{{ !item.collection }}" data-code="like" bindtap="handleAction" class="icon" src="../../static/icon/detail_nav_collect.png" mode="widthFix"></image>
-            <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.collection ? 'primary' : ''}}">{{ item.collectCount }}</text>
-            <image class="icon" src="../../static/icon/zixun_ic_liulan.png" mode="widthFix"></image>
-            <text>{{ item.viewCount }}</text>
+            <image wx:if="{{ !item.isCollection }}" data-code="like" bindtap="handleAction" class="icon" src="../../static/icon/detail_nav_collect.png"></image>
+            <image wx:else data-code="like_cancel" bindtap="handleAction" class="icon" src="../../static/icon/detail_nav_collected.png"></image>
+            <text class="num {{item.isCollection ? 'primary' : ''}}">{{ item.collectCount }}</text>
+            <image class="icon" src="../../static/icon/zixun_ic_liulan.png" ></image>
+            <text>{{ math.formarCount(item.viewCount) }}</text>
           </view>
         </view>
         <view wx:if="{{ dataList.length == 0 }}" class="empty_wrap">
@@ -67,4 +67,5 @@
 
 
   <videoPlay class="videoPlay"/>
-</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