sharePopup.wxml
1.03 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%, calc(-50% + {{navHeight / 2}}px));">
<view class="close-box">
<view class="close_btn" bindtap="close">
<image webp src="{{IMGURL}}popup_close_btn.png"></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>