提交 36c13a9be7aa1287429c1fe0def1c6b45dc04604

作者 wangyu
1 个父辈 70ca33a4

优化

@@ -38,7 +38,7 @@ Page({ @@ -38,7 +38,7 @@ Page({
38 "continuing_education": "/images/continueedu_declare.png", 38 "continuing_education": "/images/continueedu_declare.png",
39 "support_duty": "/images/support_older_declare.png", 39 "support_duty": "/images/support_older_declare.png",
40 "medical_fund": "/images/health_declare.png", 40 "medical_fund": "/images/health_declare.png",
41 - "house_fund": "/images/house_declare.png" 41 + // "house_fund": "/images/house_declare_loan.png"
42 }, 42 },
43 showModal_img: false, 43 showModal_img: false,
44 showModal_reducetype: false, 44 showModal_reducetype: false,
@@ -388,13 +388,12 @@ @@ -388,13 +388,12 @@
388 </view> 388 </view>
389 </view> 389 </view>
390 390
391 -</view>  
392 -  
393 -  
394 -<view class="mask" hidden="{{!showModal_img&&!showModal_reducetype&&!showModal_addtype}}" bindtap='closeModalImg'></view> 391 + <view class="mask" hidden="{{!showModal_img&&!showModal_reducetype&&!showModal_addtype}}" bindtap='closeModalImg'></view>
395 <!-- 申报说明 --> 392 <!-- 申报说明 -->
396 -<view style='top:250rpx;position:absolute;z-index:10;width:325px;right:0;left:0;margin:auto' hidden="{{!showModal_img}}">  
397 - <image class='modal_img' src="{{modal_images[cur_status]}}"></image> 393 +<view style='top:200rpx;position:absolute;z-index:10;width:325px;right:0;left:0;margin:auto' hidden="{{!showModal_img}}">
  394 + <image wx:if="{{cur_status!='house_fund'}}" class='modal_img' src="{{modal_images[cur_status]}}"></image>
  395 + <image wx:if="{{cur_status=='house_fund'&&house_type=='house_fund_rent'}}" class='modal_img02' src="/images/house_declare_rent.png"></image>
  396 + <image wx:if="{{cur_status=='house_fund'&&house_type=='house_fund_loan'}}" class='modal_img' src="/images/house_declare_loan.png"></image>
398 <!-- <text style='position:absolute;font-size:20px;color:#fff;float:right;top:0;right:100rpx' bindtap='closeModalImg'>x</text> --> 397 <!-- <text style='position:absolute;font-size:20px;color:#fff;float:right;top:0;right:100rpx' bindtap='closeModalImg'>x</text> -->
399 <view style='width:80rpx;height:80rpx;position:absolute;float:right;top:0;right:0;display:flex;align-items:center;justify-content:center;' bindtap='closeModalImg'> 398 <view style='width:80rpx;height:80rpx;position:absolute;float:right;top:0;right:0;display:flex;align-items:center;justify-content:center;' bindtap='closeModalImg'>
400 <image style='width:30rpx;height:30rpx;' src='/images/close.png'></image> 399 <image style='width:30rpx;height:30rpx;' src='/images/close.png'></image>
@@ -472,4 +471,8 @@ @@ -472,4 +471,8 @@
472 <view style='width:1px;background:#F5F5F5;margin:20rpx 0'></view> 471 <view style='width:1px;background:#F5F5F5;margin:20rpx 0'></view>
473 <text class='text_confirm01' bindtap='modalRight'>{{modalData.righttext}}</text> 472 <text class='text_confirm01' bindtap='modalRight'>{{modalData.righttext}}</text>
474 </view> 473 </view>
475 -</view>  
  474 +</view>
  475 +
  476 +</view>
  477 +
  478 +
@@ -166,6 +166,13 @@ page { @@ -166,6 +166,13 @@ page {
166 display: block; 166 display: block;
167 } 167 }
168 168
  169 +.modal_img02 {
  170 + width: 325px;
  171 + height: 460px;
  172 + margin: 0 auto;
  173 + display: block;
  174 +}
  175 +
169 .modal_lg { 176 .modal_lg {
170 width: 72%; 177 width: 72%;
171 position: fixed; 178 position: fixed;
注册登录 后发表评论