<!-- //画布 -->
<view style="width: 100%;height: 100%;">
	<view style='width:0px;height:0px;overflow:hidden;'>
  <canvas  canvas-id="myCanvas" style='width:{{canvasWidth}}px; height:{{canvasHeight}}px;padding:30rpx;min-height: 900rpx;' catchtap="previewImage" />
	</view>
	<view style='width:{{canvasWidth}}px; height:{{canvasHeight}}px;padding:30rpx;min-height: 900rpx;' catchtap="previewImage">
		<image src="{{ithumb}}" mode='scaleToFill' style="width: 100%;height: 100%;"  />
	</view>
  <!-- <button wx:if="{{showBtn}}" style="width:80%;height:40px;line-height:40px;background-color: #50a6f9;margin-top:60rpx;color:#fff;margin-left:70rpx;;" bindtap="saveShareImg">
    保存名片码图片
  </button> -->
  <view class="icon_btn">
		<view class="box">
      <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/images/poster_share.png" />
      <text>分享好友</text>
      <button style="position:absolute;width:100%;height:100%;opacity:0;top: 0;right: 0;" open-type="share"></button>
    </view>
    <view class="box" catchtap='saveShareImg'>
      <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/images/poster_save.png" />
      <text>保存名片</text>
    </view>
	</view>
</view>