Commit b97b7ee6617be23092761d362883fc6195c4a195

Authored by yvan.ni
1 parent 9070befe

弹出的图片要自适应

pages/index/index/index.wxml
... ... @@ -416,7 +416,7 @@
416 416 <view class="t-c">
417 417 <navigator bindtap="new_nav" hover-class="none">
418 418 <view class="img-box" style="position: relative;">
419   - <image class="receive" src="{{url}}{{new_image==''?'/miniapp/images/newpeople/newreceive.png':new_image}}"></image>
  419 + <image mode="widthFix" class="receive" src="{{url}}{{new_image==''?'/miniapp/images/newpeople/newreceive.png':new_image}}"></image>
420 420 </view>
421 421 <!-- <view> -->
422 422  
... ...
pages/index/index/index.wxss
... ... @@ -1067,6 +1067,6 @@ page {
1067 1067  
1068 1068 .img-box {
1069 1069 width: 560rpx;
1070   - height: 800rpx;
  1070 + height: auto;
1071 1071 }
1072 1072  
... ...