weilai.html 17.7 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="user-scalable=0,width=device-width,initial-scale=0.3,minimum-scale=0.3," />
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>{$schoolInfo['name'] | default = ''}创新创业平台</title>
    <link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="__CDN__/assets/css/index.css">
    <link rel="stylesheet" type="text/css" href="__CDN__/assets/fonts/icon-yxb/iconfont.css">
</head>

<body>
<div class="index">
    <!-- 轮播 -->
    <div class="shuffling-wrap">
        <img src="__CDN__/assets/img/swiper.png" alt="">
    </div>
    <!-- main -->
    <div class="main-wrap common-wrap">
        <!-- 动态 -->
        <div class="dynamic-wrap">
            {volist name="category" id="item"} {switch name="item.compose"} {case value="画廊"}
            <div class="part-wrap">
                <div class="part-head">
                    <div class="part-t pull-left">{$item.title}</div>
                    <a href="{:url('news/index',['category_id'=>$item['id'],'title' => $item['title']])}"
                       class="part-more pull-right">more+</a>
                </div>
                <div class="part-main">
                    {foreach name=":getNews($schoolInfo['id'], $item['id'], 3)" item="vo"}
                    <div class="dynamic-item h94">
                        <a href="{:url('news/news_detail',['id'=>$vo['id'],'title' => $item['title']])}">
                            <div class="dynamic-cover">
                                <img src="__SUBDOMAIN__{$vo.image_url}" alt="">
                            </div>
                            <div class="dynamic-cont row2-omit">
                                {$vo.title}
                                <div class="dynamic-date">{:date('Y-m-d',$vo.createtime)}</div>
                            </div>
                        </a>
                    </div>
                    {/foreach}
                </div>
            </div>
            {/case} {case value="日期型"}
            <div class="part-wrap part-notice">
                <div class="part-head">
                    <div class="part-t pull-left">{$item.title}</div>
                    <a href="{:url('news/index',['category_id'=>$item['id'],'title' => $item['title']])}"
                       class="part-more pull-right">more+</a>
                </div>
                <div class="part-main">
                    {foreach name=":getNews($schoolInfo['id'], $item['id'], 4)" item="vo"}
                    <div class="dynamic-item h53">
                        <a href="{:url('news/news_detail',['id'=>$vo['id'],'title' => $item['title']])}">
                            <div class="dynamic-cover">
                                {:date('m/d',$vo.createtime)}
                            </div>
                            <div class="dynamic-cont  ">
                                {$vo.title}
                            </div>
                        </a>
                    </div>
                    {/foreach}
                </div>
            </div>
            {/case} {case value="标题型"}
            <div class="part-wrap part-notice no-left">
                <div class="part-head">
                    <div class="part-t pull-left">{$item.title}</div>
                    <a href="{:url('news/index',['category_id'=>$item['id'],'title' => $item['title']])}"
                       class="part-more pull-right">more+</a>
                </div>
                {foreach name=":getNews($schoolInfo['id'], $item['id'], 4)" item="vo"}
                <div class="part-main">
                    <div class="dynamic-item h54">
                        <a href="{:url('news/news_detail',['id'=>$vo['id'],'title' => $item['title']])}">
                            <div class="dynamic-cont row2-omit">
                                {$vo.title}
                                <div class="dynamic-date">{:date('Y-m-d',$vo.createtime)}</div>
                            </div>
                        </a>
                    </div>
                </div>
                {/foreach}
            </div>
            {/case} {case value="普通新闻"}
            <div class="part-wrap part-notice no-left">
                <div class="part-head">
                    <div class="part-t pull-left">{$item.title}</div>
                    <a href="{:url('news/index',['category_id'=>$item['id'],'title' => $item['title']])}"
                       class="part-more pull-right">more+</a>
                </div>
                {foreach name=":getNews($schoolInfo['id'], $item['id'], 4)" item="vo"}
                <div class="part-main">
                    <div class="dynamic-item h54">
                        <a href="{:url('news/news_detail',['id'=>$vo['id'],'title' => $item['title']])}">
                            <div class="dynamic-cont row2-omit">
                                {$vo.title}
                                <div class="dynamic-date">{:date('Y-m-d',$vo.createtime)}</div>
                            </div>
                        </a>
                    </div>
                </div>
                {/foreach}
            </div>
            {/case} {/switch} {/volist}
            <div class="part-wrap part-notice">
                <div class="part-head">
                    <div class="part-t pull-left">项目双选</div>
                    <a href="{:url('double/double_list',['title' => '项目双选'])}" class="part-more pull-right">more+</a>
                </div>
                <div class="part-main">
                    <!-- 项目双选列表 -->
                    {volist name="double_list" id="double"}
                    <div class="h54 flexRowCenter double" style="    margin: 5px;">
                        {eq name="double.captain_type" value="1"}
                        <div class="dynamic-left">
                            <div class="dynamic-circle teacher">
                                <i class="iconfont icon-jiaoshi"></i>
                                <div>
                                    老师
                                </div>
                            </div>
                        </div>
                        {else /}
                        <div class="dynamic-left">
                            <div class="dynamic-circle student">
                                <i class="iconfont icon-xuesheng"></i>
                                <div>
                                    学生
                                </div>
                            </div>
                        </div>
                        {/eq}
                        <div class="dynamic-right">
                            <a href="{:url('double/double_detail',['id'=>$double['id']])}">
                                <div class="dynamic-right-up">
                                    <div class="dynamic-right-title">{$double.project_name}</div>
                                    <div class="dynamic-right-box flexRow">
                                        <!--                                        <div class="dynamic-right-bar">农业</div>-->
                                        <!--                                        <div class="dynamic-right-bar">互联网</div>-->
                                    </div>
                                </div>
                            </a>
                            <div class="dynamic-right-down">{$double.project_des}</div>
                        </div>
                    </div>
                    {/volist}
                </div>
            </div>
        </div>
        <!-- 菜单导航 -->
        <div class="menu-wrap">
            <div class="menu-list menu-top">
                <div class="menu-item menu1">
                    <a href="{:url('/index/study')}">
                        <div class="menu-t">课程管理</div>
                        <div class="menu-subt">Teaching management</div>
                    </a>
                </div>
                <div class="menu-item menu2">
                    <a href="{:url('science_competition/index')}">
                        <div class="menu-t">赛事管理</div>
                        <div class="menu-subt">Event management</div>
                    </a>
                </div>
                <div class="menu-item menu3">
                    <a href="{:url('index/sx_basement/index')}">
                        <div class="menu-t">基地管理</div>
                        <div class="menu-subt">Base management</div>
                    </a>
                </div>
            </div>
            <div class="menu-list menu-bottom">
                <div class="menu-item menu4">
                    <a href="/project/lst">
                        <div class="menu-t">项目管理</div>
                        <div class="menu-subt">Gen guest camp</div>
                    </a>
                </div>
                <div class="menu-item menu5">
                    <a href="{:url('index/serve/index')}">
                        <div class="menu-t">助创服务</div>
                        <div class="menu-subt">Help and service</div>
                    </a>
                </div>
            </div>
        </div>
        <!-- 双创风采 -->
        <div class="doubleGen-wrap">
            <div class="doubleGen-t">
                ——&emsp;双创风采&emsp;——
            </div>
            <div class="doubleGen-list">
                <div class="part-wrap">
                    <div class="part-head">
                        <div class="part-t pull-left">双创风云榜</div>
                        <a href="{:url('event_list',['type'=>1])}" class="part-more pull-right">more+</a>
                    </div>
                    <div class="part-main">
                        {volist name="elegant_person" id="person"}
                        <div class="item h94">
                            <a href="{:url('event_detail',['id'=>$person['elegant_id']])}">
                                <div class="left h94">
                                    <img style="width: 100%; height:100%; object-fit: cover;"
                                         src="{$cdnurl}{$person.image}" alt="">
                                </div>
                                <div class="right">
                                    <div class="item-t">{$person.elegant_title}</div>
                                    <div class="item-subt">{$person.tag}</div>
                                    <div class="item-cont row2-omit">
                                        {$person.desc}
                                    </div>
                                </div>
                            </a>
                        </div>
                        {/volist}
                    </div>

                </div>
                <div class="part-wrap">
                    <div class="part-head">
                        <div class="part-t pull-left">创意产品展</div>
                        <a href="{:url('exhibition',['type'=>2])}" class="part-more pull-right">more+</a>
                    </div>
                    <div class="part-main">
                        {volist name="elegant_product" id="product"}
                        <div class="item h94">
                            <a href="{:url('exhibition_detail',['id'=>$product['elegant_id']])}">
                                <div class="left h94">
                                    <img style="width: 100%; height:100%; object-fit: cover;"
                                         src="__SUBDOMAIN__{$product.image}" alt="">
                                </div>
                                <div class="right">
                                    <div class="item-t">{$product.elegant_title}</div>
                                    <div class="item-subt">{$product.tag}</div>
                                    <div class="item-cont row2-omit">
                                        {$product.desc}
                                    </div>
                                </div>
                            </a>
                        </div>
                        {/volist}
                    </div>
                </div>
            </div>
        </div>
        <!-- tab -->
        <div class="tab-wrap basedisplay">
            <div class="part-wrap">
                <div class="part-head">
                    <div class="part-t pull-left">基地展示</div>
                    <div class="tab-list">
                        {volist name="baseDisplayCategory" id="category" key="category_key"}
                        <div class="tab-item {eq name='category_key' value='1' } cur {/eq}" data-type="1"
                             data-id="{$category.category_id}" data-category_id="{$category.category_id}">
                            {$category.category_title}
                        </div>
                        {/volist}
                    </div>
                    <a data-type="1" href="javascript:;" class="part-more pull-right moreJ">more+</a>
                </div>
                <div class="part-main">
                    {volist name="baseDisplay" id="display"}
                    <div class="item">
                        <a href="{:url('basedisplay/detail',['id'=>$display['base_id'],'type'=>1])}"> <img
                                style="width: 100%; height:100%;object-fit: cover;" src="{$cdnurl}{$display.image}"
                                alt=""></a>
                        <div class="item-des">{$display.base_title}</div>
                    </div>
                    {/volist}
                </div>
            </div>
        </div>
        <!-- tab -->
        <div class="tab-wrap achievement">
            <div class="part-wrap">
                <div class="part-head">
                    <div class="part-t pull-left">成果展示</div>
                    <div class="tab-list">
                        {volist name="achievementsCategory" id="category" key="category_key"}
                        <div class="tab-item {eq name='category_key' value='1' } cur {/eq}" data-type="2"
                             data-id="{$category.category_id}" data-category_id="{$category.category_id}">
                            {$category.category_title}
                        </div>
                        {/volist}
                    </div>
                    <a data-type="2" href="javascript:;" class="part-more pull-right moreJ">more+</a>
                </div>
                <div class="part-main">
                    {volist name="achievements" id="achievement"}
                    <div class="item">
                        <a href="{:url('basedisplay/detail',['id'=>$achievement['achievements_id'],'type'=>2])}"><img
                                style="width: 100%; height:100%;object-fit: cover;" src="{$cdnurl}{$achievement.image}"
                                alt=""></a>
                        <div class="item-des">{$achievement.achievements_title}</div>
                    </div>
                    {/volist}
                </div>
            </div>
        </div>
        <!-- tab -->
        <div class="tab-wrap partner bottom30">
            <div class="part-wrap">
                <div class="part-head">
                    <div class="part-t pull-left">校企合作</div>
                    <div class="tab-list">
                        <div class="tab-item">产业学院</div>
                    </div>
                    <a href="{:url('friendlink/index')}" class="part-more pull-right">more+</a>
                </div>
                <div class="part-main">
                    {volist name="links" id="l"}
                    <div class="item">
                        <a href="{$l.link_url}" target="_blank"><img style="width: 100%; height:100%;object-fit: cover"
                                                                     src="{$cdnurl}{$l.image}" alt=""></a>
                    </div>
                    {/volist}
                </div>
            </div>
        </div>
    </div>
</div>


<script src="https://cdn.bootcdn.net/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.3.6/js/bootstrap.min.js"></script>
<script>
</script>
<style>
    @media screen and (min-width: 600px) {

    }



    .flexRow {
        display: flex;
        flex-direction: row;
    }

    .flexRowCenter {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .dynamic-circle {
        width: 50px;
        height: 50px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: 14px;
    }

    .student {
        background-color: #4169E1;
        color: #fff;
    }

    .teacher {
        background-color: #FFA500;
        color: #fff;
    }

    .dynamic-left {
        width: 20%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .dynamic-right-up {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .dynamic-right {
        width: 78%;
    }

    .dynamic-right-box {
        display: flex;
        flex-direction: row;
    }

    .dynamic-right-title {
        width: 67%;
        font-weight: 600;
    }

    .dynamic-right-bar {
        width: 50px;
        height: 22px;
        border-radius: 15px;
        text-align: center;
        line-height: 22px;
        background-color: #e6e6e6;
        font-size: 12px;
        margin-left: 2px;
    }

    .dynamic-right-down {
        width: 70%;
        height: 27px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        line-height: 27px;
    }
</style>
</body>

</html>