k94314517
2025-05-19 16e8c7adbee6c9ee9bac09a80d44d3bfd3fe2f0c
wx/pages/add_subtract_insurance/add_subtract_insurance.vue
@@ -1,7 +1,7 @@
<template>
   <view class="policy">
      <Search :list="cate" @search="getValue" label="批单生效期" />
      <view class="policy_list">
        <Search :list="cate" @search="getValue" label="申请日期" />
      <view class="policy_list" v-if="list.length > 0">
         <view class="policy_list_item" v-for="(item, index) in list" :key="index" @click="jump(item.id)">
            <view class="item_top" :style="{ background: returnStyle(item.status) }">
               <view class="item_top_info">
@@ -10,7 +10,8 @@
               </view>
               <view class="item_top_img">
                  <image v-if="item.status === 2" src="@/static/icon/progress_yishengxiao@2x.png" mode="widthFix"></image>
                  <image v-if="item.status === 1 || item.status === 9" src="@/static/icon/progress_daishenhe@2x.png" mode="widthFix"></image>
                  <image v-if="item.status === 9" src="@/static/icon/ic_toubaozhong.png" mode="widthFix"></image>
                  <image v-if="item.status === 1" src="@/static/icon/progress_daishenhe@2x.png" mode="widthFix"></image>
                  <image v-if="item.status === 0" src="@/static/icon/progress_daiqianshu@2x.png" mode="widthFix"></image>
                  <image v-if="item.status === 3" src="@/static/icon/progress_shenqingtuihui@2x.png" mode="widthFix"></image>
                  <image v-if="item.status === 5" src="@/static/icon/progress_yituihui@2x.png" mode="widthFix"></image>
@@ -32,13 +33,18 @@
               </view>
               <view class="item_list_item" style="width: 100%;">
                  <view class="item_list_item_label">费用变更:</view>
                  <view class="item_list_item_val">-{{item.fee}}元</view>
                  <view class="item_list_item_val">{{item.fee}}元</view>
               </view>
               <view class="item_list_item" style="width: 100%;">
                  <view class="item_list_item_label">批单生效期:</view>
                  <view class="item_list_item_label">申请日期:</view>
                  <view class="item_list_item_val">{{item.applyStartTime}}</view>
               </view>
            </view>
         </view>
      </view>
      <view class="policy_list" v-else>
         <view class="policy_list_image">
            <image src="@/static/icon/default_nodata@2x.png" mode="widthFix"></image>
         </view>
      </view>
   </view>
@@ -63,7 +69,7 @@
            cate: [
               { name: '全部', id: '' },
               { name: '待签署', id: '0' },
               { name: '待审核', id: '1,9' },
               { name: '待审核', id: '1' },
               { name: '待出单', id: '7' },
               { name: '投保中', id: '9' },
               { name: '申请退回', id: '3' },
@@ -96,9 +102,9 @@
            this.getList()
         },
         returnStyle(type) {
            if ([2].includes(type)) {
            if ([2,9].includes(type)) {
               return 'linear-gradient( 180deg, #E5F7F1 0%, rgba(255,255,255,0) 100%);'
            } else if ([0,1,9,7].includes(type)) {
            } else if ([0,1,7].includes(type)) {
               return 'linear-gradient( 180deg, #FFF2E3 0%, rgba(255,255,255,0) 100%);'
            } else if ([3,5,6].includes(type)) {
               return '#ffffff'
@@ -136,6 +142,17 @@
         width: 100%;
         padding: 20rpx 30rpx;
         box-sizing: border-box;
         .policy_list_image {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 300rpx;
            image {
               width: 272rpx;
               height: 272rpx;
            }
         }
         .policy_list_item {
            margin-top: 20rpx;
            width: 100%;