forked from gzzfw/frontEnd/gzDyh

liuwh
2024-09-10 31e3890c2a6a81bcc22b6f68c129d580df8e1f0c
修改小程序
7 files modified
103 ■■■■ changed files
gz-wxparty/pages/AIAideDetail/index.js 6 ●●●● patch | view | raw | blame | history
gz-wxparty/pages/AIAideDetail/index.wxml 17 ●●●●● patch | view | raw | blame | history
gz-wxparty/pages/addPerson/index.js 4 ●●●● patch | view | raw | blame | history
gz-wxparty/pages/homePage/index.js 3 ●●●● patch | view | raw | blame | history
gz-wxparty/pages/homePage/index.wxml 29 ●●●●● patch | view | raw | blame | history
gz-wxparty/pages/homePage/index.wxss 40 ●●●●● patch | view | raw | blame | history
gz-wxparty/pages/register/index.js 4 ●●● patch | view | raw | blame | history
gz-wxparty/pages/AIAideDetail/index.js
@@ -18,7 +18,8 @@
   * 页面的初始数据
   */
  data: {
    data: {}
    data: {},
    lastData: {}
  },
  async getaw(data) {
@@ -39,6 +40,9 @@
    let nowData = {
      ...options
    }
    this.setData({
      lastData: nowData
    })
    this.getaw(nowData)
  },
gz-wxparty/pages/AIAideDetail/index.wxml
@@ -1,7 +1,22 @@
<!--pages/AIAideDetail/index.wxml-->
<view class="title">{{data.caseTitle||'-'}}</view>
<view class="line"></view>
<view class="card">
<view class="card" wx:if="{{lastData.type==='1'}}">
  <view class="subtitle">【案件描述】</view>
  <view class="text">
    {{data.caseDesc||'-'}}
  </view>
  <view class="subtitle">【群众诉求】</view>
  <view class="text">
    {{data.caseclaim||'-'}}
  </view>
  <view class="subtitle">【和解协议】</view>
  <view class="text">
    {{data.agreecontent||'-'}}
  </view>
</view>
<view class="card" wx:if="{{lastData.type==='2'}}">
  <view class="subtitle">【案件描述】</view>
  <view class="text">
    {{data.caseDesc||'-'}}
gz-wxparty/pages/addPerson/index.js
@@ -32,8 +32,8 @@
    formData: {
      trueName: '',
      mobile: '',
      certiType: '',
      certiTypeName: '',
      certiType: '09_00015-1',
      certiTypeName: '身份证',
      certiNo: '',
      addr: '',
      placeAddr: '',
gz-wxparty/pages/homePage/index.js
@@ -53,7 +53,8 @@
    imgUrl: $$.url.img,
    agreementMsg: '', // 服务协议
    popupVisible: false,
    banner: [`${$$.url.img}banner-1.png`, `${$$.url.img}banner-2.jpg`, `${$$.url.img}banner-3.jpg`], // 轮播图
    banner: [`${$$.url.img}Banner1.png`, `${$$.url.img}Banner2.png`], // 轮播图
    // banner: [`${$$.url.img}Banner1.png`, `${$$.url.img}Banner2.png`, `${$$.url.img}banner3.png`, `${$$.url.img}banner4.png`], // 轮播图
    countUnitData: {}, //化解资源
    userInfo: {}, //用户信息
    video: [], // 热门视频
gz-wxparty/pages/homePage/index.wxml
@@ -6,17 +6,22 @@
<!-- 幻灯片 -->
<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>
@@ -67,7 +72,7 @@
    <!-- 咨询动态 -->
    <view>
      <view class="flex_dt">
        <view class="main_title">咨询动态</view>
        <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" />
@@ -81,7 +86,7 @@
          </view>
        </view>
        <view class="dt_card_r">
          <image src="{{item.showUrl}}" mode="" />
          <image src="{{item.imageUrl}}" mode="" />
        </view>
      </view>
    </view>
gz-wxparty/pages/homePage/index.wxss
@@ -172,6 +172,14 @@
  align-items: center;
  padding: 0 32rpx;
  justify-content: space-between;
  margin: 0 32rpx;
}
.swiper-head {
  position: absolute;
  width: 100%;
  z-index: 100;
  bottom: -64rpx;
}
.mediate-image {
@@ -434,14 +442,42 @@
  font-size: 34rpx;
  line-height: 50rpx;
  color: var(--main-color);
  margin-bottom:24rpx;
  margin-bottom: 24rpx;
}
.AiModal-subTitle {
  color: rgba(23,26,29,0.60);
  color: rgba(23, 26, 29, 0.60);
  text-align: center;
  margin-bottom: 24rpx;
}
.AiModal-button {
  width: 100%;
}
.swiper {
  padding: 32rpx;
}
.swiper-bg {
  position: relative;
  background: linear-gradient(106deg, #5fa6d4 0%, #1a6fb8 100%);
}
.swiper-bg::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 20px;
  border-radius: 100%;
  background: inherit;
  /*继承父级背景*/
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
}
.swiper-main {
  position: absolute;
  top: 0;
}
gz-wxparty/pages/register/index.js
@@ -697,7 +697,9 @@
          perTypeName: '申请方当事人',
          perClass: '09_01001-1',
          perClassName: '自然人',
          certiNo: data.idcard || ''
          certiNo: data.idcard || '',
          certiType: data.certiType || '09_00015-1',
          certiTypeName: data.certiTypeName || '身份证',
        }]
      })
    };