index.html 4.4 KB
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <link rel="stylesheet" type="text/css" href="__CDN__/assets/css/dcompetition_detial.css" />
    <link rel="stylesheet" type="text/css" href="__CDN__/assets/libs/swiper/package/swiper-bundle.min.css" />
    <title></title>
    <style type="text/css">
        #modal2 {
            padding: 0.5rem 1rem;
        }
        
        .m_item {
            padding: 0.5rem 0;
            font-size: 1rem;
            border-bottom: 1px solid #eee;
        }
    </style>
</head>

<body>

    <div id="modal2" style="display: none;">
        {foreach name="types" item="vo"}
        <a data-url="/project/enter/{$vo.id}" class="go-sign">
            <div class="m_item">
                <p style="color: #0066FF;font-size: 14px;">{$vo.name}</p>
                <p style="color: #999;">{$vo.desc_content}</p>
            </div>
        </a>
        {/foreach}
    </div>

    <style type="text/css">
        .rotation {
            width: 100%;
            height: 200px;
        }
        
        .rotation img {
            width: 100%;
            height: 100%;
        }
    </style>
    <div class="rotation">
        <img src="__CDN__/assets/img/teacherRotation.png" />
    </div>

    <div class="main">
        <ul class="main_left">
            <li>双创项目</li>
            <li class="left_active">双创项目</li>
            <!--<li>项目管理</li>
				<li>教师登录</li>-->
            <img src="__CDN__/assets/img/bulbs.png" class="bulbs">
        </ul>
        <div class="main_right">
            <div class="title">
                <div class="title_left">
                    <text style="color: #555;font-weight: 550;">项目申报</text>
                    <text style="color: #999;">DECLARE</text>
                </div>
                <div class="title_right">
                    <a style="background: #26c6da; height: 32px;line-height: 32px;text-align: center;color: #ffffff;border-radius: 5px;display: block;" href="javascript:history.back()">返回</a>
                </div>
            </div>

            <div class="science-competition">
                <div class="detial_title">{$project.container_name}</div>
                <div class="detial_info">
                    <text class="iconfont" style="color: #f57f17;">&#xe611;&nbsp;&nbsp;比赛时间:{$project['project_starttime']|date='Y-m-d',###}至{$project['project_endtime']|date='Y-m-d',###}</text>
<!--                    <text>主办单位:{$project.organizer}</text>-->
                    <text class="iconfont">&#xe620;已报名{$projectRegisterCount}人</text>
                </div>
                <div class="mybutton">
                    {if $project['can_apply_approval']} {if $project['project_starttime'] > time()}
                    <a style="background: #dadada;width: 120px;height: 32px;line-height: 32px;text-align: center;color: #ffffff;border-radius: 5px" href="javascript:;">报名未开始</a> {/if} {if $project['project_starttime']
                    < time() AND $project[ 'project_endtime']> time()}
                        <a id="apply" style="background: #00caff;width: 90px;height: 32px;line-height: 32px;text-align: center;color: #ffffff;border-radius: 5px;" href="javascript:;">立即报名</a> {/if} {if $project['project_endtime']
                        < time()} <a style="background: #dadada;width: 90px;height: 32px;line-height: 32px;text-align: center;color: #ffffff;border-radius: 5px"
                            href="javascript:;">报名已结束</a>
                            {/if}
                    {else/}
                            <a style="background: #dadada;width: 120px;height: 32px;line-height: 32px;text-align: center;color: #ffffff;border-radius: 5px" href="javascript:;">报名未开启</a>
                    {/if}
                    {if($project.can_double == 3)}
                        <a class="btn btn-info" href="{:url('double_choose/index',['container_id'=>$project['id'] ])}">项目双选(报名中)</a>
                    {else/}
                        <a style="background: #dadada;width: 120px;height: 32px;line-height: 32px;text-align: center;color: #ffffff;border-radius: 5px" href="javascript:;">项目双选({$project['double_desc']})</a>
                    {/if}
                </div>
                <div class="detial_content">
                    {$project.project_content}

                </div>
            </div>
        </div>
    </div>
</body>

</html>