MrShi
2024-04-12 fe7ac1ca4e17db22417d1d61c084a0ab9857b77f
wx/pages/addition_subtraction_details/addition_subtraction_details.vue
@@ -12,7 +12,8 @@
                     <text>关联保单号:{{info.applyCode}}</text>
                  </view>
                  <image v-if="info.status === 2" src="@/static/icon/progress_yishengxiao@2x.png" mode="widthFix"></image>
                  <image v-if="info.status === 1 || info.status === 9" src="@/static/icon/progress_daishenhe@2x.png" mode="widthFix"></image>
                  <image v-if="info.status === 9" src="@/static/icon/ic_toubaozhong.png" mode="widthFix"></image>
                  <image v-if="info.status === 1" src="@/static/icon/progress_daishenhe@2x.png" mode="widthFix"></image>
                  <image v-if="info.status === 0" src="@/static/icon/progress_daiqianshu@2x.png" mode="widthFix"></image>
                  <image v-if="info.status === 3" src="@/static/icon/progress_shenqingtuihui@2x.png" mode="widthFix"></image>
                  <image v-if="info.status === 5" src="@/static/icon/progress_yituihui@2x.png" mode="widthFix"></image>
@@ -34,7 +35,7 @@
               </view>
               <view class="box_info_list_item">
                  <view class="box_info_list_item_label">费用变更:</view>
                  <view class="box_info_list_item_val">-{{info.fee}}元</view>
                  <view class="box_info_list_item_val">{{info.fee}}元</view>
               </view>
               <view class="box_info_list_item">
                  <view class="box_info_list_item_label">保单生效期:</view>
@@ -96,9 +97,9 @@
      <template v-if="info && info.solutionType === 0">
         <!-- 已生效 -->
         <view class="details_footer" v-if="info.status === 2">
            <u-button type="primary" shape="circle" color="#437CB3" :plain="true" text="查看申请单" @click="seePdf(info.applyFile.fileurlFull)"></u-button>
            <u-button type="primary" shape="circle" color="#437CB3" text="查看申请单" @click="seePdf(info.applyFile.fileurlFull)"></u-button>
            <view style="width: 44rpx; height: 50rpx;"></view>
            <u-button type="primary" shape="circle" color="#437CB3" :plain="true" text="查看批单" @click="seePdf(info.pidanFile.fileurlFull)"></u-button>
            <u-button type="primary" shape="circle" color="#437CB3" text="查看批单" @click="seePdf(info.pidanFile.fileurlFull)"></u-button>
         </view>
         <!-- 待审核 -->
         <view class="details_footer" v-if="info.status === 1">
@@ -119,6 +120,12 @@
      </template>
      <!-- 委托保 -->
      <template v-if="info && info.solutionType === 1">
         <!-- 已生效 -->
         <view class="details_footer" v-if="info.status === 2">
            <u-button type="primary" shape="circle" color="#437CB3" text="查看申请单" @click="seePdf(info.applyFile.fileurlFull)"></u-button>
            <view style="width: 44rpx; height: 50rpx;"></view>
            <u-button type="primary" shape="circle" color="#437CB3" text="查看批单" @click="seePdf(info.pidanFile.fileurlFull)"></u-button>
         </view>
         <!-- 待审核/待出单/投保中 -->
         <view class="details_footer" v-if="info.status === 1 || info.status === 9 || info.status === 7">
            <u-button type="primary" shape="circle" color="#437CB3" text="查看申请单" @click="seePdf(info.applyFile.fileurlFull)"></u-button>
@@ -368,18 +375,18 @@
            this.show2 = false
         },
         returnStyle(type) {
            if ([2].includes(type)) {
            if ([2,9].includes(type)) {
               return 'linear-gradient(#97DDC5 0%, #F7F7F7 100%);'
            } else if ([0,1,9,7].includes(type)) {
            } else if ([0,1,7].includes(type)) {
               return 'linear-gradient( 180deg, #FBC88C 0%, #F7F7F7 100%);'
            } else if ([3,5,6].includes(type)) {
               return ''
            }
         },
         returnStyle1(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'
@@ -598,12 +605,11 @@
         position: fixed;
         bottom: 0;
         left: 0;
         padding: 10rpx 30rpx;
         padding: 10rpx 30rpx calc(env(safe-area-inset-bottom) + 10rpx) 30rpx;
         box-sizing: border-box;
         background-color: #ffffff;
         display: flex;
         align-items: center;
         padding-bottom: env(safe-area-inset-bottom);
      }
      .code {
         width: 100%;