Browse Source

更新 图片显示模式

wzh 3 years ago
parent
commit
d857d51fd8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      miniprogram/pages/takePhoto/success/success.wxml

+ 1 - 1
miniprogram/pages/takePhoto/success/success.wxml

@@ -1,4 +1,4 @@
-<image mode="heightFix" style="height: 60vh;margin:0 auto;display: block;" src="{{shareImageUrl}}"></image>
+<image mode="aspectFit" style="height: 60vh;width: 100vw;display: block;" src="{{shareImageUrl}}"></image>
 <view class="success">图片上传成功</view>
 <view class="success">图片上传成功</view>
 <view bindtap="go" class="go">继续拍照</view>
 <view bindtap="go" class="go">继续拍照</view>
 <button open-type="share" bindtap="share" class="share">分享</button>
 <button open-type="share" bindtap="share" class="share">分享</button>