提交 604fb4410c76df1617773a602d5da951d1192afb

作者 wangyu
1 个父辈 cea485b9

优化

... ... @@ -98,7 +98,7 @@
98 98 <view style='padding:30rpx' wx:if="{{cur_status=='support_duty'}}">
99 99 <view style='height:90rpx;width:100%;clear:both;'>
100 100 <text class='text_left'>是否独生子女</text>
101   - <text class='text_right_333'>{{singlechildtype[datas.support_type]}}</text>
  101 + <text class='text_right_333'>{{datas.is_single=='y'?"是":"否"}}</text>
102 102 </view>
103 103 <view style='height:90rpx;width:100%;clear:both;'>
104 104 <text class='text_left'>被赡养人姓名</text>
... ... @@ -162,12 +162,12 @@
162 162 <text class='text_right_333'>{{datas.owner_credit_no}}</text>
163 163 </view>
164 164 <view style='height:90rpx;width:100%;clear:both;'>
165   - <text class='text_left'>证件类型</text>
166   - <text class='text_right_333'>{{datas.certification_type}}</text>
  165 + <text class='text_left'>证书类型</text>
  166 + <text class='text_right_333'>{{datas.owner_id_cartd_type=='1'?"居民身份证":datas.owner_id_cartd_type}}</text>
167 167 </view>
168 168 <view style='height:90rpx;width:100%;clear:both;'>
169   - <text class='text_left'>证件号码</text>
170   - <text class='text_right_333'>{{datas.certification_no}}</text>
  169 + <text class='text_left'>证书号码</text>
  170 + <text class='text_right_333'>{{datas.owner_id_cartd_no}}</text>
171 171 </view>
172 172 <view style='width:100%;height:20rpx;background:#f9f9f9'></view>
173 173 <view style='height:90rpx;width:100%;clear:both;'>
... ...
... ... @@ -9,6 +9,7 @@ Page({
9 9 data: {
10 10 datas: ["", ""],
11 11 is_declared: false,
  12 + hascompleted:false,
12 13 additionlist: [],
13 14 declareStatus: {
14 15 "to_declare ": "待申报",
... ... @@ -77,6 +78,9 @@ Page({
77 78 onShow: function () {
78 79 console.log("onShow");
79 80 var that = this
  81 + wx.showLoading({
  82 + title: '',
  83 + })
80 84 this.getAdditionList()
81 85 },
82 86
... ... @@ -100,6 +104,13 @@ Page({
100 104 additionlist: res.data.items
101 105 })
102 106 }
  107 + wx.hideLoading()
  108 + },
  109 + complete(res) {
  110 + that.setData({
  111 + hascompleted: true
  112 + })
  113 + console.log(res.data)
103 114 }
104 115 })
105 116 },
... ...
... ... @@ -74,7 +74,7 @@
74 74 </view> -->
75 75
76 76 </view>
77   - <view wx:else style='background:#fff;'>
  77 + <view wx:if="{{hascompleted&&additionlist.length<1}}" style='background:#fff;'>
78 78 <image style='width:55%;height:254rpx;margin:400rpx 166rpx 0 166rpx;' src='/images/noreduce_img.png'></image>
79 79 </view>
80 80 </view>
\ No newline at end of file
... ...
... ... @@ -276,7 +276,7 @@ Page({
276 276 return
277 277 }
278 278 if (this.data.reduce_amount < 1 || this.data.reduce_amount > 1000) {
279   - this.showToast("请输入合理金额")
  279 + this.showToast("本年度月扣除金额不得大于1000")
280 280 return
281 281 }
282 282 } else {
... ...
... ... @@ -21,9 +21,9 @@
21 21 <template is="picker_cell_normal" data="{{...shareMethodData}}" />
22 22 <view class='divide_line_f5f5f5'></view>
23 23 <view style='height:90rpx'>
24   - <text style='line-height: 90rpx;text-align:right;font-size: 30rpx;color: #666;'>本年度月扣除金额</text>
25   - <text class='float_right' style='line-height: 90rpx;text-align:right;font-size: 30rpx;color: #999;' name='country'>/月</text>
26   - <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入扣除金额(不超过1000)' type='digit' name='reduce_amount' bindinput='bindinput'></input>
  24 + <text style='line-height: 90rpx;text-align:right;font-size: 30rpx;color: #666'>本年度月扣除金额</text>
  25 + <text class='float_right' style='line-height: 90rpx;text-align:right;font-size: 30rpx;color: #333;margin-left:20rpx' name='country'>/月</text>
  26 + <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入(不超过1000)' type='digit' name='reduce_amount' bindinput='bindinput'></input>
27 27 </view>
28 28 </view>
29 29 <view wx:elif="{{issinglechildData.selected=='是'}}">
... ...
... ... @@ -126,7 +126,7 @@
126 126 }
127 127
128 128 .input_wrap {
129   - width: 380rpx;
  129 + width: 360rpx;
130 130 height: 90rpx;
131 131 font-size: 30rpx;
132 132 color: #333;
... ...
注册登录 后发表评论