提交 f91b90d2e1387d8293f04f30e924dd5d9c083fe8

作者 wangyu
1 个父辈 9d4762b8

优化

... ... @@ -8,7 +8,7 @@ Page({
8 8 * Page initial data
9 9 */
10 10 data: {
11   - additiondata:{}
  11 + additiondata: {}
12 12 },
13 13
14 14 /**
... ...
... ... @@ -4,11 +4,11 @@
4 4
5 5 <view wx:if="{{additiondata.options&&additiondata.options.length>0}}">
6 6 <block wx:for="{{additiondata.options}}" wx:key="" wx:for-item="item" wx:for-index="idx" >
7   - <view wx:if="{{item=='children_education'}}" style='padding:30rpx 40rpx;display:flex;flex-direction:column '>
  7 + <view wx:if="{{item=='children_education'}}" style='margin:30rpx 40rpx;display:flex;flex-direction:column ' bindtap='lookandadd' id='{{idx}}'>
8 8 <view style='height:40rpx'>
9 9 <text class='text_333_32 float_left'>子女教育</text>
10 10 <image class='arrow_img_wrap float_right' src="/images/arrow_right.png"></image>
11   - <text class='text_999_28' style='float:right' bindtap='lookandadd' id='{{idx}}'>查看</text>
  11 + <text class='text_999_28' style='float:right' >查看</text>
12 12 </view>
13 13 <view style='width:100%;padding:20rpx 20rpx;display:flex;flex-direction:row '>
14 14 <view class='float_left' style='flex:1'>
... ... @@ -21,12 +21,11 @@
21 21 </view>
22 22 </view>
23 23 </view>
24   - <view class='divide_line_f5f5f5' style='margin-left: 30rpx;margin-right: 30rpx'></view>
25   - <view wx:if="{{item=='continuing_education'}}" style='padding:30rpx 40rpx;display:flex;flex-direction:column '>
  24 + <view wx:if="{{item=='continuing_education'}}" style='margin:30rpx 40rpx;display:flex;flex-direction:column ' bindtap='lookandadd' id='{{idx}}'>
26 25 <view style='height:40rpx'>
27 26 <text class='text_333_32 float_left'>继续教育</text>
28 27 <image class='arrow_img_wrap float_right' src="/images/arrow_right.png"></image>
29   - <text class='text_999_28' style='margin-bottom:8rpx;float:right' bindtap='lookandadd' id='{{idx}}'>查看</text>
  28 + <text class='text_999_28' style='margin-bottom:8rpx;float:right'>查看</text>
30 29 </view>
31 30 <view style='width:100%;padding:20rpx 20rpx;display:flex;flex-direction:row '>
32 31 <view class='float_left' style='flex:1'>
... ... @@ -67,11 +66,11 @@
67 66 </view>
68 67 </view> -->
69 68 </view>
70   - <view wx:if="{{item=='medical_fund'}}" style='padding:30rpx 40rpx;display:flex;flex-direction:column'>
  69 + <view wx:if="{{item=='medical_fund'}}" style='padding:30rpx 40rpx;display:flex;flex-direction:column' bindtap='lookandadd' id='{{idx}}'>
71 70 <view style='height:40rpx'>
72 71 <text class='text_333_32 float_left'>大病医疗</text>
73 72 <image class='arrow_img_wrap float_right' src="/images/arrow_right.png"></image>
74   - <text class='text_999_28' style='margin-bottom:8rpx;float:right' bindtap='lookandadd' id='{{idx}}'>查看</text>
  73 + <text class='text_999_28' style='margin-bottom:8rpx;float:right'>查看</text>
75 74 </view>
76 75 <view style='width:100%;padding:20rpx 20rpx;display:flex;flex-direction:row '>
77 76 <view class='float_left' style='flex:1'>
... ... @@ -84,11 +83,11 @@
84 83 </view>
85 84 </view>
86 85 </view>
87   - <view wx:if="{{item=='support_duty'}}" style='padding:30rpx 40rpx;display:flex;flex-direction:column '>
  86 + <view wx:if="{{item=='support_duty'}}" style='padding:30rpx 40rpx;display:flex;flex-direction:column ' bindtap='lookandadd' id='{{idx}}'>
88 87 <view style='height:40rpx'>
89 88 <text class='text_333_32 float_left'>赡养老人</text>
90 89 <image class='arrow_img_wrap float_right' src="/images/arrow_right.png"></image>
91   - <text class='text_999_28' style='margin-bottom:8rpx;float:right' bindtap='lookandadd' id='{{idx}}'>查看</text>
  90 + <text class='text_999_28' style='margin-bottom:8rpx;float:right' >查看</text>
92 91 </view>
93 92 <view style='width:100%;padding:20rpx 20rpx;display:flex;flex-direction:row '>
94 93 <view class='float_left' style='flex:1'>
... ... @@ -101,11 +100,11 @@
101 100 </view>
102 101 </view>
103 102 </view>
104   - <view wx:if="{{item=='house_fund_rent'||item=='house_fund_loan'}}" style='padding:30rpx 40rpx;display:flex;flex-direction:column '>
  103 + <view wx:if="{{item=='house_fund_rent'||item=='house_fund_loan'}}" style='padding:30rpx 40rpx;display:flex;flex-direction:column ' bindtap='lookandadd' id='{{idx}}'>
105 104 <view style='height:40rpx'>
106 105 <text class='text_333_32 float_left'>住房</text>
107 106 <image class='arrow_img_wrap float_right' src="/images/arrow_right.png"></image>
108   - <text class='text_999_28' style='margin-bottom:8rpx;float:right' bindtap='lookandadd' id='{{idx}}'>查看</text>
  107 + <text class='text_999_28' style='margin-bottom:8rpx;float:right' >查看</text>
109 108 </view>
110 109 <view style='width:100%;padding:20rpx 20rpx;display:flex;flex-direction:row '>
111 110 <view class='float_left' style='flex:1'>
... ... @@ -118,6 +117,7 @@
118 117 </view>
119 118 </view>
120 119 </view>
  120 + <view style='margin: 0 30rpx;height:1px;background:#f5f5f5'></view>
121 121 </block>
122 122 </view>
123 123
... ...
注册登录 后发表评论