<popUp id="popUp">
    <scroll-view class="popBox" scroll-y="true" enhanced show-scrollbar="{{false}}">
        <view class="header">
            分享
            <view class="close" bindtap="closeInvite">
                ×
            </view>
        </view>
        <view class="tips">
            通过下面分享都带有您的专属标签,邀请成功的用户，
        </view>
        <view class="tips">
            都属于您的用户资产，产生的订单和收益都会给到您佣金
        </view>
        <view class="shareText">
            <view class="title">
                分享时可选用文案
            </view>
            <swiper class="swiper" current="{{current}}" circular indicator-dots="{{true}}"
                indicator-active-color="#B2B8C3" indicator-color='#E5E5E5' bindchange="swiperChange">
                <swiper-item wx:for="{{list}}" wx:key="id">
                    <view class="content">{{item.text}}</view>
                </swiper-item>
            </swiper>
            <view class="copy" bindtap="clipboar">
                复制当前话术
            </view>
        </view>
        <view class="shareType">
            <button class="resetBtn box" open-type="share">
                <image src="/static/wx.png" class="icon" />
                <view class="label">微信好友</view>
            </button>
            <view class="box" bindtap="createPoster">
                <image src="/static/hb.png" class="icon" />
                <view class="label">生成海报</view>
            </view>
            <view class="box" bindtap="jump">
                <image src="/static/gzh.png" class="icon" />
                <view class="label">公众号</view>
            </view>
        </view>
    </scroll-view>
</popUp>
<createPoster id="createPoster"></createPoster>