get_active_detail.html 2.1 KB
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>星际活动详情</title>
    <link rel="stylesheet" href="__TMPL__/public/assets/css/show.css">
    <link rel="stylesheet" href="__TMPL__/public/assets/css/mask.css">
    <style>
        .active_url{
            height:50px;
            background: #5454AF;
            margin-bottom:80px;
        }
        .active_url p{
            text-align: center;
            line-height: 50px;
            vertical-align: middle;
            font-size: 17px;
            color:#fff;
        }
        .active_url span{
            color:#3AFFA5;
        }
    </style>
</head>

<body>
    <include file="public@header"/>
    <div class="mask">
    </div>
    <!-- 侧边栏 -->
    <include file="public@slide"/>
    <!--主体内容-->
    <div class="show_2">
        <!--banner-->
        <div class="show_banner">
            <img src="{:cmf_get_image_url($res.image_url)}" alt="">
        </div>
        <!--main-->
        <div class="show_main">
            <!-- 头部 -->
            <div class="show_main_Tit clearfix">
                <h1>{$res.post_title}</h1>
                <p>{$res.create_time|date="Y-m-d",###}</p>
            </div>
            <!-- 文字内容 -->
            <div class="show_main_txt">
                {$res.post_content}
            </div>
        </div>
        <notempty name="user">
            <div class="active_url">
                <p>
                    活动外链:<a href="{$res.active_url}"><span>{$res.active_url}</span></a>
                </p>
            </div>
            <else/>
            <div class="active_url">
                <p>
                    登录后可见活动外链
                </p>
            </div>
        </notempty>
    </div>

    <include file="public@footer"/>
</body>
<script src="__TMPL__/public/assets/js/jquery-3.2.1.min.js"></script>
<script src="__TMPL__/public/assets/js/public.js"></script>

</html>