<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>熊猫美妆F码</title>
    <meta name="format-detection" content="telephone=no" />
    <script src="<?php echo RESOURCE_SITE_URL; ?>/mobile/comm/flexible.js?<?php echo bonus_version(); ?>"></script>
    <link rel="stylesheet" href="<?php echo RESOURCE_SITE_URL; ?>/mobile/fcode/css/main.css?<?php echo bonus_version(); ?>"/>
</head>
<body>
<div class="container-fluid bg_write layout_center p_relative">
    <div>
        <img src="<?php echo RESOURCE_SITE_URL; ?>/mobile/fcode/images/content_bg.png" alt="熊猫美妆"/>
    </div>
    <div class="prompt_text t_left">
        <ul class="layout_center">
            <li>1.领取后进入APP“我的F码”中使用</li>
            <li>2.请注意F码使用有效期</li>
            <li>3.商品退货后F码不退</li>
        </ul>
    </div>

    <!--领取状态显示-->
    <div class="bind_tel_box p_absolute bg_write">
        <div class="fcode t_center layout_center fcode_success_bg"><?php echo $output['fcode']['fc_code']; ?></div>
        <div class="receive_state layout_center">
            <img src="<?php echo RESOURCE_SITE_URL; ?>/mobile/fcode/images/success.png" alt="成功"/>
        </div>
        <h4 class="t_center">恭喜你领取成功！</h4>
        <p class="t_center">请在APP<我的F码>中查看</p>
    </div>

    <div class="p_absolute advert bg_write">
        <div class="f_left logo">
            <img src="<?php echo RESOURCE_SITE_URL; ?>/mobile/fcode/images/logo.png" alt="logo"/>
        </div>
        <div class="f_left">
            <h4>熊猫美妆</h4>
            <p>专柜美妆&nbsp;&nbsp;内买平台</p>
        </div>
        <div class="f_right">
            <a href="javascript:void(0)" class="btn btn_down block t_center" id="link">立即下载</a>
        </div>
    </div>
</div>
<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL; ?>/mobile/bonus/js/zepto.min.js?<?php echo bonus_version(); ?>"></script>
<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL; ?>/mobile/fcode/js/fcode.js?<?php echo bonus_version(); ?>"></script>
<script type="text/javascript" src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js?<?php echo bonus_version(); ?>"></script>
<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL; ?>/mobile/comm/wx_share.js?<?php echo bonus_version(); ?>"></script>
<script type="text/javascript">
    $(function()
    {
        $('#link').attr('href',app());
        $('body').height($('body')[0].clientHeight);

        var shareData = (function()
        {
            var url = "<?php echo url_helper::fcode_url($output['fcode']['goods_commonid'],$output['fcode']['batch_code']); ?>";
            return  {
                title:"领取熊猫美妆F码",
                desc:'享<?php echo "{$output['price']}元购{$output['name']}"; ?>福利\n点击领取',
                link:url,
                imgUrl:"<?php echo $output['image']; ?>"
            };
        })();
        weiXinShare.init(shareData);
    });
</script>
</body>
</html>