提交 09296520e044d4ec3ffbf72963d25b1479a15584

作者 pangy
1 个父辈 1a263397

优化

@@ -1158,19 +1158,19 @@ Page({ @@ -1158,19 +1158,19 @@ Page({
1158 this.showtoast('手机号码有误'); 1158 this.showtoast('手机号码有误');
1159 return 1159 return
1160 } 1160 }
1161 - if (this.data.curAddress_haschanged || this.data.taxInfo.current_address.province_code) {//选择了地址 1161 + if (this.data.curAddress_haschanged) {//选择了地址 || this.data.taxInfo.current_address.province_code
1162 if (formdata.current_address_detail.length < 1) { 1162 if (formdata.current_address_detail.length < 1) {
1163 this.showtoast('请填写详细居住地址'); 1163 this.showtoast('请填写详细居住地址');
1164 return 1164 return
1165 } 1165 }
1166 } 1166 }
1167 - if (this.data.birthAddress_haschanged || this.data.taxInfo.huji_address.province_code) {//选择了地址 1167 + if (this.data.birthAddress_haschanged) {//选择了地址 || this.data.taxInfo.huji_address.province_code
1168 if (formdata.huji_address_detail.length < 1) { 1168 if (formdata.huji_address_detail.length < 1) {
1169 this.showtoast('请填写详细户籍地址'); 1169 this.showtoast('请填写详细户籍地址');
1170 return 1170 return
1171 } 1171 }
1172 } 1172 }
1173 - if (this.data.contactAddress_haschanged || this.data.taxInfo.contact_address.province_code) {//选择了地址 1173 + if (this.data.contactAddress_haschanged) {//选择了地址 || this.data.taxInfo.contact_address.province_code
1174 if (formdata.contact_address_detail.length < 1) { 1174 if (formdata.contact_address_detail.length < 1) {
1175 this.showtoast('请填写详细联系地址'); 1175 this.showtoast('请填写详细联系地址');
1176 return 1176 return
@@ -260,9 +260,10 @@ @@ -260,9 +260,10 @@
260 260
261 </view> 261 </view>
262 </view> 262 </view>
263 -  
264 - <view hidden='{{isshow02}}' style='background:#f8f8f8;height:500rpx'></view>  
265 - <view hidden='{{!isshow02}}' style='background:#f8f8f8;height:200rpx'></view> 263 + <view class="divide_line_30"></view>
  264 + <view style='background:#FFF;height:84rpx'></view>
  265 + <!-- <view hidden='{{isshow02}}' style='background:#f8f8f8;height:500rpx'></view>
  266 + <view hidden='{{!isshow02}}' style='background:#f8f8f8;height:200rpx'></view> -->
266 267
267 <view class="btn_bottom"> 268 <view class="btn_bottom">
268 <button class="btn_bottom" formType="submit"> 保存</button> 269 <button class="btn_bottom" formType="submit"> 保存</button>
注册登录 后发表评论