<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title><?php $tpl_obj = $output['tpl_obj']; echo $tpl_obj->browse_title();?></title>
    <meta name="viewport" content="width=750,user-scalable=no,target-densitydpi=device-dpi">
    <meta name="layoutmode" content="standard"/>
    <meta name="imagemode" content="force"/>
    <meta name="format-detection" content="telephone=no">
    <meta name="screen-orientation" content="portrait">
    <meta name="x5-fullscreen" content="true"/>
    <link rel="stylesheet" href="<?php echo RESOURCE_SITE_URL; ?>/mobile/ugc/css/main.css?<?php echo bonus_version(); ?>">
</head>
<body data-special_id="<?php $tpl_obj = $output['tpl_obj']; echo $tpl_obj->special_id();?>">

<?php $tpl_obj = $output['tpl_obj']; $tpl_obj->show_title();?>
<div class="author" >
    <div class="author_msg" style="font-size: 34px;margin-bottom: 10px;">
        <?php $tpl_obj = $output['tpl_obj']; $tpl_obj->show_sender();?>
    </div>
    <?php $tpl_obj = $output['tpl_obj']; $tpl_obj->show_relation();?>
</div>
<?php $tpl_obj = $output['tpl_obj']; $tpl_obj->show_blocks();?>
<?php $tpl_obj = $output['tpl_obj']; $tpl_obj->show_comments();?>

<div class="pop">
    <a href="javascript:void(0)" class="bonus_page">
        <img src="" alt="熊猫美妆">
        <div class="bonus_label"></div>
    </a>
    <a href="javascript:void(0)" class="close_icon"></a>
</div>

<div class="answer_comments">
    <div class="comments_box">
        <textarea id="comments"  cols="30" rows="10" maxlength="150" minlength="1" class="comments"></textarea>
    </div>
    <div class="comments_submit">
        <button type="button" class="comments_submit submit">发送</button>
    </div>
</div>

<div class="appreciate_pop">
    <div class="discount">
        <div class="label">折扣率</div>
        <div class="discount">
            <select name="" id="discount"></select>
        </div>
    </div>
    <div class="bonus">
        <div class="label">选择红包金额</div>
        <div class="bonus_box">
            <div><span class="bonus_item"><span class="money">1</span>元</span></div>
            <div><span class="bonus_item"><span class="money">3</span>元</span></div>
            <div><span class="bonus_item"><span class="money">5</span>元</span></div>
            <div><span class="bonus_item"><span class="money">10</span>元</span></div>
        </div>
    </div>
    <div class="live_msg">
        <div class="label">留言</div>
        <div class="msg_content">
            <input name="" id="live_msg" placeholder="好文章值得赞赏">
        </div>
    </div>
    <div class="handle">
        <button class="button_appreciate" id="submit_appreciate">打赏</button>
        <button class="button_null" id="close_appreciate">取消</button>
    </div>
</div>

<div class="handle_result"></div>

<div class="question_result">
    <span class="close"></span>
    <p></p>
</div>
<div class='loader loader--circularSquare'></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/ugc/js/picLazyLoad.min.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" src="<?php echo RESOURCE_SITE_URL; ?>/mobile/comm/bridge.js?<?php echo bonus_version(); ?>"></script>
<script type="text/javascript" src="<?php echo RESOURCE_SITE_URL; ?>/mobile/ugc/js/zepto_touch.js?<?php echo bonus_version(); ?>"></script>

<script type="text/javascript">
    var url         = "<?php $tpl_obj = $output['tpl_obj']; echo $tpl_obj->url();?>";
    var img_url     = "<?php $tpl_obj = $output['tpl_obj']; echo $tpl_obj->image();?>";
    var title       = "<?php $tpl_obj = $output['tpl_obj']; echo $tpl_obj->title();?>";

    var sub_title   = "<?php $tpl_obj = $output['tpl_obj']; echo $tpl_obj->sub_title();?>\n\n<?php $tpl_obj = $output['tpl_obj']; echo $tpl_obj->last_title();?>";

    var from_app = <?php $t = session_helper::isapp(); echo $t ? 'true' : 'false'; ?>;
    var logined  = <?php $t = session_helper::logined(); echo $t ? 'true' : 'false'; ?>;

    weiXinShare.init({
        title:title,
        desc:sub_title,
        link:url,
        imgUrl:img_url
    });

    if(isMobile.iOS()) {
        init_ios_bridge(function(bridge) { });
    } else if (isMobile.Android) {
        init_android_bridge();
    } else {

    }
</script>
<script src="<?php echo RESOURCE_SITE_URL; ?>/mobile/ugc/js/main.js?<?php echo bonus_version(); ?>"></script>
</body>
</html>