poster.wxml
1.6 KB
<view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" bindtap="__e">分享海报</view><u-popup vue-id="8db79f7a-1" show="{{showFen}}" round="{{10}}" mode="bottom" data-event-opts="{{[['^close',[['close']]],['^open',[['open']]]]}}" bind:close="__e" bind:open="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="topText flexC">立即分享给好友</view><view class="centerBox flexJ"><view class="item flexA"><button open-type="share"></button><image src="/static/WeChat.png" mode="scaleToFill"></image><view>微信好友</view></view><view data-event-opts="{{[['tap',[['showHandler',['$event']]]]]}}" class="item flexA" bindtap="__e"><image src="/static/posterFen.png" mode="scaleToFill"></image><view>分享海报</view></view></view><view class="lineBox"></view><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="bottom flexC" bindtap="__e">取消</view></u-popup><view style="margin-top:-9999rpx;"><r-canvas class="vue-ref" vue-id="8db79f7a-2" data-ref="rCanvas" bind:__l="__l"></r-canvas></view><block wx:if="{{showPoster}}"><view data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" class="maskBox flexA" bindtap="__e"><image class="posterImg flexC" src="{{tempFilePath}}" mode="scaleToFill" data-event-opts="{{[['tap',[['e3',['$event']]]]]}}" catchtap="__e"></image><view data-event-opts="{{[['tap',[['saveQrCodeHandler',['$event']]]]]}}" class="whiteBtnBox flexC" catchtap="__e"><image src="/static/downLoad.png" mode="scaleToFill"></image></view><view data-event-opts="{{[['tap',[['saveQrCodeHandler',['$event']]]]]}}" class="text flexC" catchtap="__e">保存图片</view></view></block></view>