提交 f5fb092c045e169663cc8c925ab9e6446e9ffec6

作者 wangyu
1 个父辈 8730ed9d

调试

@@ -15,7 +15,8 @@ Page({ @@ -15,7 +15,8 @@ Page({
15 "support_duty": "赡养老人", 15 "support_duty": "赡养老人",
16 "medical_fund": "大病医疗", 16 "medical_fund": "大病医疗",
17 "house_fund": "住房", 17 "house_fund": "住房",
18 - "house_fund": "住房" 18 + "house_fund_rent": "住房",
  19 + "house_fund_loan": "住房"
19 }, 20 },
20 additiondata:{} 21 additiondata:{}
21 }, 22 },
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 <view class='page' style='margin-bottom:30rpx'> 2 <view class='page' style='margin-bottom:30rpx'>
3 <view class='text_gray_30' style='padding:30rpx'>您在“{{additiondata.legal_entity}}”申报的专项附加扣除项已添加完成,请完善各项的具体申报内容。</view> 3 <view class='text_gray_30' style='padding:30rpx'>您在“{{additiondata.legal_entity}}”申报的专项附加扣除项已添加完成,请完善各项的具体申报内容。</view>
4 <view wx:if="true"> 4 <view wx:if="true">
5 - <view wx:for="{{datas02}}"> 5 + <!-- <view wx:for="{{datas02}}">
6 <view hidden='{{false}}' class='card_rectangle_bg_column' style='padding:30rpx;margin-top:30rpx'> 6 <view hidden='{{false}}' class='card_rectangle_bg_column' style='padding:30rpx;margin-top:30rpx'>
7 <text class='text_black_32' wx:if="{{datas02[index].message!='住房'}}">{{datas02[index].message}}</text> 7 <text class='text_black_32' wx:if="{{datas02[index].message!='住房'}}">{{datas02[index].message}}</text>
8 <text class='text_black_32' wx:if="{{datas02[index].message=='住房'}}">{{datas02[index].extra_message}}</text> 8 <text class='text_black_32' wx:if="{{datas02[index].message=='住房'}}">{{datas02[index].extra_message}}</text>
@@ -17,6 +17,61 @@ @@ -17,6 +17,61 @@
17 <image class='arrow_img_wrap' src='/images/arrow_right.png'></image> 17 <image class='arrow_img_wrap' src='/images/arrow_right.png'></image>
18 </view> 18 </view>
19 </view> 19 </view>
20 - </view>  
21 - </view>  
22 -</view>  
  20 + </view> -->
  21 +<!-- <view wx:if="{{additiondata.options&&additiondata.options.length>0}}"> -->
  22 + <block wx:for="{{additiondata.options}}" wx:key="" wx:for-item="itemData" wx:for-index="idx02">
  23 + <view hidden="{{false}}">
  24 + <view class='divide_line' style='margin:0 50rpx'></view>
  25 + <view style='padding:30rpx 40rpx;display:flex;flex-direction:column '>
  26 + <view style='height:40rpx'>
  27 + <text class='text_333_32 float_left'>{{additiontitle[itemData.addition_category]}}</text>
  28 + <text class='text_333_32 float_left' hidden="{{(itemData.addition_category=='continuing_education'||itemData.addition_category=='house_fund')||itemData.count<2}}">({{itemData.count}})</text>
  29 + <image class='arrow_img_wrap float_right' src="/images/arrow_right.png"></image>
  30 + <text class='text_999_28' style='margin-bottom:8rpx;float:right' bindtap='lookandadd' id='{{idx01}}-{{idx02}}' >查看</text>
  31 + </view>
  32 + <view wx:if="{{itemData.addition_category=='continuing_education'}}" style='padding:20rpx'>
  33 + <view>
  34 + <text style='font-size:28rpx;color:#666'>学历教育</text>
  35 + <view style='width:100%;display:flex;flex-direction:row '>
  36 + <view class='float_left' style='flex:1'>
  37 + <text class='text_999_24 '>扣除方式</text>
  38 + <text class='text_gray_28' style='margin-left:20rpx'>{{reducetype[itemData.deduction_type]}}</text>
  39 + </view>
  40 + <view class='float_right' style='flex:1'>
  41 + <text class='text_999_24 '>可扣除金额</text>
  42 + <text class='text_orange_28 ' style='margin-left:20rpx'>¥{{itemData.deduction_amount}}/年</text>
  43 + </view>
  44 + </view>
  45 + </view>
  46 + <view >
  47 + <text style='font-size:28rpx;color:#666'>非学历教育</text>
  48 + <text style='font-size:28rpx;color:#666' hidden='{{itemData.count<2}}' >({{itemData.count}})</text>
  49 + <view style='width:100%;display:flex;flex-direction:row '>
  50 + <view class='float_left' style='flex:1'>
  51 + <text class='text_999_24 '>扣除方式</text>
  52 + <text class='text_gray_28' style='margin-left:20rpx'>{{reducetype[itemData.deduction_type]}}</text>
  53 + </view>
  54 + <view class='float_right' style='flex:1'>
  55 + <text class='text_999_24 '>可扣除金额</text>
  56 + <text class='text_orange_28 ' style='margin-left:20rpx'>¥{{itemData.deduction_amount}}/年</text>
  57 + </view>
  58 + </view>
  59 + </view>
  60 + </view>
  61 + <view wx:else style='width:100%;padding:20rpx 20rpx;display:flex;flex-direction:row '>
  62 + <view class='float_left' style='flex:1'>
  63 + <text class='text_999_24 '>扣除方式</text>
  64 + <text class='text_gray_28' style='margin-left:20rpx'>{{reducetype[itemData.deduction_type]}}</text>
  65 + </view>
  66 + <view class='float_right' style='flex:1'>
  67 + <text class='text_999_24 '>可扣除金额</text>
  68 + <text class='text_orange_28 ' style='margin-left:20rpx'>¥{{itemData.deduction_amount}}/{{reducetypeunit[itemData.deduction_type]}}</text>
  69 + </view>
  70 + </view>
  71 + </view>
  72 + </view>
  73 + </block>
  74 + </view>
  75 + </view>
  76 +
  77 +<!-- </view> -->
注册登录 后发表评论