From d9a89d83c2048a964f16ca179feb2b7f21b9d33a Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期一, 29 七月 2024 16:28:47 +0800
Subject: [PATCH] 提交

---
 wechat_staff/pages/index/index.wxml |   34 ++++++++++++++++++----------------
 1 files changed, 18 insertions(+), 16 deletions(-)

diff --git a/wechat_staff/pages/index/index.wxml b/wechat_staff/pages/index/index.wxml
index 04cfb41..e850ee5 100644
--- a/wechat_staff/pages/index/index.wxml
+++ b/wechat_staff/pages/index/index.wxml
@@ -1,16 +1,17 @@
-<view class="container">
-  <view style="height: {{clientTop - 2}}px;"></view>
-  <buoyClient />
-  <view class="search_wrap">
-    <image class="icon" src="../../static/home_ic_search@2x.png" mode="widthFix"></image>
-    <input model:value="{{ searchValue }}" placeholder="鎼滅储" type="text" />
+<view class="container" > 
+  <view class="search_fix">
+    <view style="height: {{clientTop - 2}}px;"></view>
+    <view class="search_wrap">
+      <image class="icon" src="../../static/home_ic_search@2x.png" mode="widthFix"></image>
+      <input model:value="{{ searchValue }}" placeholder="鎼滅储" type="text" />
+    </view>
   </view>
-  <view class="everyday">
+  <view class="everyday"  >
     <view class="header" bindtap="promotionClick">
       <view class="title">姣忔棩涓婃柊</view>
       <view class="more">
         <text class="placeholder9">鏌ョ湅鏇村</text>
-        <image class="ar_new" src="../../static/ar_new@2x.png" mode="widthFix"></image>
+        <image class="ar_new" src="../../static/ar_new@2x.png"></image>
       </view>
     </view>
     <view class="desc">
@@ -19,30 +20,30 @@
         <text class="num">{{ DailyUpdates.dailyUpdateNum }}</text>
         <text>鏉�</text>
       </view>
-      <view class="right">{{ DailyUpdates.shareNum }}w鍔犲凡杞彂</view>
+      <view class="right">1w+宸茶浆鍙�</view>
     </view>
     <view class="imgs">
       <view wx:for="{{ DailyUpdates.newsList}}" class="img_wrap">
-        <image class="img" src="{{ item.fileList[0].fileurlFull }}" mode="widthFix"></image>
+        <image class="img" src="{{ item.fileList[0].fileurlFull }}" mode="aspectFill"></image>
         <image class="icon" src="{{everydayTop[index]}}" mode="widthFix"></image>
       </view>
     </view>
   </view>
   <!--  -->
   <view class="func_lsit">
-    <view class="item">
+    <view data-i="0" bindtap="funClick" class="item">
       <image src="../../static/icon/home_ic_chanpin@2x 2.png"></image>
       <view class="text">浜у搧</view>
     </view>
-    <view class="item">
+    <view data-i="1" bindtap="funClick" class="item">
       <image src="../../static/icon/home_ic_anli@2x 2.png"></image>
       <view class="text">妗堜緥</view>
     </view>
-    <view class="item">
+    <view data-i="2" bindtap="funClick" class="item">
       <image src="../../static/icon/home_ic_shijing@2x 2.png"></image>
       <view class="text">瀹炴櫙</view>
     </view>
-    <view class="item">
+    <view data-i="3" bindtap="funClick" class="item">
       <image src="../../static/icon/home_ic_zixun.png"></image>
       <view class="text">璧勮</view>
     </view>
@@ -62,7 +63,7 @@
       <image class="ar_right" src="../../static/icon/home_ar@2x.png"></image>
     </view>
     <view class="video_wrap">
-      <image class="img" src="{{ productVideo[0].coverImage }}" mode="widthFix"></image>
+      <image class="img" src="{{ productVideo[0].coverImage }}" mode="aspectFill"></image>
       <image bindtap="videoClick" data-videourl="{{ productVideo[0].videoUrl }}" class="play" src="../../static/icon/ic_play.png" mode="widthFix"></image>
     </view>
   </view>
@@ -109,7 +110,7 @@
         <view class="desc">璁捐韩澶勫湴涓轰綘鎬濊檻鏇村锛岄櫔浼翠綘鐨勭編濂界敓娲�</view>
       </view>
     </view>
-    <swiper class="consult_swiper" circular indicator-dots="{{ bannerSwiperOption.indicatorDots }}" autoplay="{{ bannerSwiperOption.autoplay }}" interval="{{ bannerSwiperOption.interval }}" style="height:{{serviceHeight}}rpx" duration="{{ bannerSwiperOption.duration }}">
+    <swiper class="consult_swiper" circular indicator-dots="{{ bannerSwiperOption.indicatorDots }}" autoplay="{{ bannerSwiperOption.autoplay }}" interval="{{ bannerSwiperOption.interval }}" style="height:{{serviceHeight + 22}}rpx" duration="{{ bannerSwiperOption.duration }}">
       <block wx:for="{{ serviceList }}" wx:key="index">
         <swiper-item>
           <image bindload='goserHeight' data-id="{{ item.id }}" data-title="{{item.title}}" bindtap="seriveClick" mode="widthFix" src="{{ item.fileList[0].fileurlFull }}"></image>
@@ -121,4 +122,5 @@
   <view class="logo_wrap">
     <image src="../../static/home_logo@2x.png" class="logo" mode="widthFix"></image>
   </view>
+  <videoPlay class="videoPlay"/>
 </view>
\ No newline at end of file

--
Gitblit v1.9.3