From 31e3890c2a6a81bcc22b6f68c129d580df8e1f0c Mon Sep 17 00:00:00 2001
From: liuwh <964324856@qq.com>
Date: Tue, 10 Sep 2024 18:27:40 +0800
Subject: [PATCH] 修改小程序

---
 gz-wxparty/pages/homePage/index.wxml |   89 ++++++++++++++++++++++++++++++++++----------
 1 files changed, 68 insertions(+), 21 deletions(-)

diff --git a/gz-wxparty/pages/homePage/index.wxml b/gz-wxparty/pages/homePage/index.wxml
index ffe903b..27c21ff 100644
--- a/gz-wxparty/pages/homePage/index.wxml
+++ b/gz-wxparty/pages/homePage/index.wxml
@@ -6,36 +6,47 @@
 
 <!-- 幻灯片 -->
 <view class="homePage-main">
-  <swiper autoplay="{{ true }}" class="swiper" indicator-dots="{{ true }}">
-    <swiper-item wx:for="{{ banner }}" wx:key="index">
-      <image class="swiper-item" src="{{ item }}" />
-    </swiper-item>
-  </swiper>
-  <view class="main">
-    <view class="mediate">
-      <view>你好,{{userInfo.trueName||'游客'}}</view>
-      <view bindtap="_handleGoPage" data-url="../../pages/me/index" wx:if="{{userInfo.realStatus===1}}" class="public-color">个人中心</view>
-      <view wx:else bindtap="handleNavigateTo" data-url="../../pages/realNameAuthentication/index" data-type="register" class="public-color">实名认证</view>
+  <view class="swiper-bg">
+    <swiper autoplay="{{ true }}" class="swiper" indicator-dots="{{ true }}">
+      <swiper-item class="swiper-main" wx:for="{{ banner }}" wx:key="index">
+        <image class="swiper-item" src="{{ item }}" />
+      </swiper-item>
+    </swiper>
+    <view class="swiper-head">
+      <view class="mediate">
+        <view>你好,{{userInfo.trueName||'游客'}}</view>
+        <view bindtap="_handleGoPage" data-url="../../pages/me/index" wx:if="{{userInfo.realStatus===1}}" class="public-color">个人中心</view>
+        <view wx:else bindtap="handleNavigateTo" data-url="../../pages/realNameAuthentication/index" data-type="register" class="public-color">实名认证</view>
+      </view>
     </view>
+  </view>
+  <view class="main">
+
     <!-- 服务申请 -->
     <view>
       <view class="main_title">服务申请</view>
       <view class="flex">
         <view bindtap="handleNavigateTo" data-url="../../pages/register/index" data-type="register" class="flex_1 flex_blue">
-          <view class="main_subTitle">反映诉求</view>
-          <view>轻松来访</view>
+          <view>
+            <view class="main_subTitle">反映诉求</view>
+            <!-- <view>轻松来访</view> -->
+          </view>
+          <image class="home-image" src="{{imgUrl}}home_3.png" mode="" />
         </view>
         <view bindtap="handleNavigateTo" data-url="../../pages/myRegisterList/index" data-type="register" class="flex_1 flex_orange">
-          <view class="main_subTitle">我的申请</view>
-          <view>申请进度查询</view>
+          <view>
+            <view class="main_subTitle">进度查询</view>
+            <!-- <view>申请进度查询</view> -->
+          </view>
+          <image class="home-image" src="{{imgUrl}}home_4.png" mode="" />
         </view>
       </view>
-      <view class="flex marginTop_12">
+      <!-- <view class="flex marginTop_12">
         <view class="flex_1 flex_green">
           <view class="main_subTitle">事项咨询</view>
           <view>解决您身边的问题</view>
         </view>
-      </view>
+      </view> -->
     </view>
     <!-- 化解资源 -->
     <view>
@@ -61,9 +72,10 @@
     <!-- 咨询动态 -->
     <view>
       <view class="flex_dt">
-        <view class="main_title">咨询动态</view>
-        <view bindtap="handleGetMore" data-type="newMsg" wx:if="{{ newMessageMore }}" class=" flex_dt_more">查看更多
-          <image class="flex_dt_more_img" src="./../../img/right.png" />
+        <view class="main_title">资讯动态</view>
+        <view bindtap="handleGetMore" data-type="newMsg" wx:if="{{ newMessageMore }}" class=" flex_dt_more">
+          <text>查看更多</text>
+          <van-icon name="arrow" size="16" />
         </view>
       </view>
       <view class="dt_card" bindtap="goSeeMessage" wx:for="{{ newMessage }}" style="margin-top:{{index===0?0:'8px'}}" wx:key="index">
@@ -73,7 +85,9 @@
             <time-format format="YYYY-MM-DD" value="{{ item.pushTime }}" /> {{item.playNum}}人阅读
           </view>
         </view>
-        <view class="dt_card_r"></view>
+        <view class="dt_card_r">
+          <image src="{{item.imageUrl}}" mode="" />
+        </view>
       </view>
     </view>
   </view>
@@ -121,4 +135,37 @@
       <van-button bind:click="handleClickPopupMsg" block data-index="{{ index }}" data-t="0" data-item="{{ item }}" type="primary">{{ item.buttonText }}</van-button>
     </view>
   </van-popup>
-</block>
\ No newline at end of file
+</block>
+
+<!-- AI弹窗 -->
+
+<van-overlay show="{{ AiModal.caseDes?true:false }}" bind:click="addClosePopup">
+
+</van-overlay>
+
+<view wx:if="{{  AiModal.caseDes?true:false }}" class="AiModal-search">
+  <view class="AiModal">
+    <image src="{{imgUrl}}AICase.png" mode="" />
+    <view class="AiModal-title">穗调解数智人提醒您</view>
+    <view class="AiModal-subTitle">为了更好的帮助您解决问题,向您推荐了与您反映问题相似的典型案例和相关法条</view>
+    <van-button bind:click="AiModalClick" class="AiModal-button" round block data-item="{{ AiModal }}" type="primary">前往查看</van-button>
+  </view>
+</view>
+
+<van-overlay show="{{ showModal }}" bind:click="addClosePopup">
+
+</van-overlay>
+
+<view wx:if="{{ showModal }}" class="showModal-search">
+  <view bindtap="searchChange" class="search">
+    <view class="search-title">{{searchValue}}</view>
+    <van-icon size='9' name="{{imgUrl}}down.png" />
+  </view>
+  <view class="showModal-select">
+    <view class="showModal-select-title">办理进度</view>
+    <view bindtap="searchSelect" class="showModal-select-flex" wx:for="{{processStatusList}}" data-item="{{ item }}" data-index="{{ index }}" wx:key="index">
+      <view class="showModal-select-flex-text {{item.hover&& 'public-color'}}">{{item.label}}</view>
+      <van-icon wx:if="{{item.hover}}" size='15' name="{{imgUrl}}myRegisterList_5.png" />
+    </view>
+  </view>
+</view>
\ No newline at end of file

--
Gitblit v1.8.0