<style lang="sass">
@import './scss/invite.scss'
</style>

<template>
    <div class="page-invite" :style="{minHeight: winHeight + 'px' }">
        <div class="cover-wrap">
            <img :src="cover" alt="">
        </div>
        <h2>答对12题，获得 <em>{{bonus/100}}</em> 元奖金</h2>
        <p class="tip-code">
            <span>{{code}}</span>
        </p>
        <div class="btn-copy" ref="copy" :data-clipboard-text="code" @click="copy">复制邀请码并下载微剧院</div>
        <p class="tip-invite">使用我的邀请码，你和我都将获得一次复活机会！</p>
        <div class="mod-ad"></div>
    </div>
</template>

<script>
    import invite from './js/invite.js'
    export default invite
</script>