sharePopup.wxml 1.01 KB
<!--components/sharePopup/sharePopup.wxml-->
<view class="share-popup" wx:if="{{data.showSharePopup && poster}}" catchtouchmove="emptyFunction">
  <view class="share-popup-bg"/>
  <view class="share-box" style="transform: translate(-50%, -50%);">
    <view class="close-box">
      <view class="close_btn" bindtap="close">
        <glsx-image webp src="store-assistant/popup_close_btn.png"></glsx-image>
      </view>
    </view>
    <scroll-view scroll-y class="share-popup-content" style="max-height: {{postersBoxHeight}}px;">
      <image mode="widthFix" src="{{poster}}"></image>
    </scroll-view>
    <view class="btn-box">
      <view class="btn" bind:tap="saveImage">保存至相册</view>
      <view class="tip">提示:这是您的专属活动海报,请保存至手机相册后转发给客户微信,系统将自动记录成交订单归属,并发放积分奖励!</view>
    </view>
  </view>
  <view class="canvas-box">
		<canvas style="width:355px;height:370px; margin:0 auto;" canvas-id="mycanvas" />
	</view>
</view>