home.wxml 4.8 KB
<!--pages/main/addtionalreduce/home.wxml-->
<view class='page'>

  <view style='margin-bottom:30rpxbackground:#fff'>
    <view wx:for="{{additionlist}}" wx:key="" style='display:flex;flex-direction:column' wx:for-index="idx01"  wx:for-item="item">
      <view style='margin:30rpx 44rpx;float:left;display:flex;flex-direction:column'>
        <text class=' text_333_40  float_left'>{{item.legal_entity}}</text>
        <view wx:if="{{item.status=='to_declare'&&item.addition_items.length<1}}" class='view_godeclare_wrap' bindtap='godeclare' id='{{idx01}}'>
          <!-- <view wx:if="{{item.status=='to_declare'}}" class='view_godeclare_wrap' bindtap='godeclare' id='{{idx01}}'> -->
          立即申报
        </view>
      </view>
      <view wx:if="{{item.addition_items&&item.addition_items.length>0}}">
        <block wx:for="{{item.addition_items}}" wx:key="" wx:for-item="itemData" wx:for-index="idx02">
          <view >
            <view class='divide_line' style='margin:0 50rpx'></view>
            <view style='padding:30rpx 40rpx;display:flex;flex-direction:column '>
              <view style='height:40rpx'>
                <text class='text_333_32 float_left'>{{additiontitle[itemData.addition_category]}}</text>
                <text class='text_333_32 float_left' hidden="{{(itemData.addition_category=='continuing_education'||itemData.addition_category=='house_fund')||itemData.count<2}}">({{itemData.count}})</text>
                <image class='arrow_img_wrap float_right' src="/images/arrow_right.png"></image>
                <text class='text_999_28' style='margin-bottom:8rpx;float:right' bindtap='lookandadd' id='{{idx01}}-{{idx02}}'>查看</text>
              </view>
              <view wx:if="{{itemData.addition_category=='continuing_education'&&itemData.detail_items.length>0}}" style='padding:20rpx'>
                <view wx:for="{{itemData.detail_items}}" wx:key="" wx:for-item="itemtypedetail">
                  <view wx:if="{{itemtypedetail.continue_education_type=='title'}}">
                    <text style='font-size:28rpx;color:#666'>学历教育</text>
                    <view style='width:100%;display:flex;flex-direction:row '>
                      <view class='float_left' style='flex:1'>
                        <text class='text_999_24 '>扣除方式</text>
                        <text class='text_gray_28' style='margin-left:20rpx'>{{reducetype[itemtypedetail.deduction_type]}}度</text>
                      </view>
                      <view class='float_right' style='flex:1'>
                        <text class='text_999_24 '>可扣除金额</text>
                        <text class='text_orange_28 ' style='margin-left:20rpx'>¥{{itemtypedetail.deduction_amount}}/{{reducetype[itemtypedetail.deduction_type]}}</text>
                      </view>
                    </view>
                  </view>
                  <view wx:if="{{itemtypedetail.continue_education_type=='major'||itemdetail.continue_education_type=='profession'}}">
                    <text style='font-size:28rpx;color:#666'>非学历教育</text>
                    <text style='font-size:28rpx;color:#666' hidden='{{itemtypedetail.detail_count<2}}'>({{itemtypedetail.detail_count}})</text>
                    <view style='width:100%;display:flex;flex-direction:row '>
                      <view class='float_left' style='flex:1'>
                        <text class='text_999_24 '>扣除方式</text>
                        <text class='text_gray_28' style='margin-left:20rpx'>{{reducetype[itemtypedetail.deduction_type]}}度</text>
                      </view>
                      <view class='float_right' style='flex:1'>
                        <text class='text_999_24 '>可扣除金额</text>
                        <text class='text_orange_28 ' style='margin-left:20rpx'>¥{{itemtypedetail.deduction_amount}}/{{reducetype[itemtypedetail.deduction_type]}}</text>
                      </view>
                    </view>
                  </view>
                </view>

              </view>
              <view wx:else style='width:100%;padding:20rpx 20rpx;display:flex;flex-direction:row '>
                <view class='float_left' style='flex:1'>
                  <text class='text_999_24 '>扣除方式</text>
                  <text class='text_gray_28' style='margin-left:20rpx'>{{reducetype[itemData.deduction_type]}}度</text>
                </view>
                <view class='float_right' style='flex:1'>
                  <text class='text_999_24 '>可扣除金额</text>
                  <text class='text_orange_28 ' style='margin-left:20rpx'>¥{{itemData.deduction_amount}}/{{reducetype[itemData.deduction_type]}}</text>
                </view>
              </view>
            </view>
          </view>
        </block>
      </view>
      <view style='width:100%;height:20rpx;background:#F5F5F5'></view>
    </view>
  </view>
</view>