event_list.html 8.5 KB
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="user-scalable=0,width=device-width, initial-scale=0.3">
    <title>教师列表</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.4.0/font/bootstrap-icons.css">

    <style>
        @media screen and (min-width:600px) {
            .teacherCate{
                min-height: 79.4vh !important;
            }
        }
        .rotation {
            width: 100%;
            height: 200px;
        }
        .rotation img{
            width: 100%;
            height: 100%;
        }
        
        .content {
            width: 100%;
        }
        
        .row {
            width: 70%;
            height: auto;
            margin: auto;
        }
        
        .teacherCate {
            background-color: #f7f9fc;
            height: auto;
            padding: 0;
            border-right: 3px solid #7177b0;
        }
        
        .teacherCate .title {
            width: 100%;
            height: 80px;
            background-image: url(../../assets/img/achievement_bg.png);
            text-align: center;
        }
        
        .teacherCate .title span {
            font-size: 1rem;
            color: #fff;
            line-height: 80px;
        }
        
        .teacherCate ul {
            width: 100%;
            height: 150px;
        }
        
        .teacherCate .active {
            border-left: 5px solid #f3b143;
            color: #5f4793;
            font-weight: bold;
        }
        
        .teacherCate .active a {
            color: #5f4793 !important;
        }
        
        .teacherCate ul li {
            height: 4rem;
            width: 100%;
            border-bottom: 2px solid #ebecee;
            text-align: center;
            line-height: 4rem;
            font-size: 1rem;
            color: #000 !important;
        }
        
        .teacherCate ul li a {
            color: #000 !important;
        }
        
        .teacherContent {
            background-color: #fff;
            height: auto;

            padding-left: 70px;
            min-height: 700px;
        }
        
        .teacherContent .title {
            width: 100%;
            height: 80px;
            border-bottom: 3px solid #f7f7f7;
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
            position: relative;
        }
        
        .teacherContent .title .name {
            width: 200px;
            height: 40px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding-left: 20px;
            border-left: 3px solid #f3b143;
            font-size: 16px
        }
        
        .teacherContent .title .name span:nth-child(2) {
            font-size: 12px;
            color: #d0d0d0;
        }
        
        .teacherContent .title .orign {
            font-size: 12px;
            color: #d0d0d0;
            position: absolute;
            bottom: 6px;
            right: 5px;
        }
        
        .intro {
            height: auto;
            width: 100%;
        }
        
        .intro .teacherIntro {
            height: 150px;
            width: 100%;
            padding: 20px 0;
            border-bottom: 1px solid #f0eeee;
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
        }
        
        .intro .teacherIntro .imgPart {
            border-radius: 0.3rem;
            overflow: hidden;
            width: 11.25rem;
            height: 100%;
            position: relative;
        }
        
        .intro .teacherIntro .service {
            width: 100%;
            height: 30px;
            position: absolute;
            z-index: 1;
            bottom: 0;
            background-color: #0093ed;
            color: #fff;
            font-size: 14px;
            line-height: 1.875rem;
            text-align: center;
        }
        
        .intro .teacherIntro img {
            width: 100%;
            height: 100%;
        }
        
        .intro .teacherIntro .brief {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: left;
            padding-left: 20px;
            position: relative;
        }
        
        .intro .teacherIntro .brief span:nth-child(1) a {
            color: #000 !important;
            font-size: 14px;
            font-weight: bold !important;
        }
        
        .intro .teacherIntro .brief span:nth-child(1) a:hover {
            color: #7177b0 !important;
        }
        
        .intro .teacherIntro .brief span:nth-child(2) {
            color: #000;
            font-size: 12px;
            margin-top: 10px;
        }
        
        .intro .teacherIntro .brief span:nth-child(3) {
            color: #000;
            font-size: 12px;
            text-indent: 2rem;
            width: 100%;
            height: 38px;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
            padding-top: 8px;
        }
        
        .intro .teacherIntro .brief .thumb {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            position: absolute;
            right: 10px;
            bottom: -6px;
            width: 100px;
            font-size: 14px;
        }
        
        .intro .teacherIntro .brief .thumb .icon-dianzan {
            color: red !important;
        }
        
        .teacherCate .title {
            width: 100%;
            height: 6.5rem;
            background-image: url(/assets/img/achievement_bg.png);
            text-align: center;
        }
        
        .teacherCate .title span {
            font-size: 1.8rem;
            color: #fff;
            line-height: 6.5rem;
        }
        
        .pagination {
            position: absolute !important;
            bottom: 20px !important;
        }
    </style>
</head>

<body>
    <!-- 轮播图 -->
    <div class="rotation">
        <img src="__CDN__/assets/img/teacherRotation.png" />
    </div>
    <div class="content">
        <div class="row">
            <div class="teacherCate col-md-2 col-sm-12">
                <div class="title">
                    <span>双创风采</span>
                </div>
                <ul>
                    <li class="active"><a href="{:url('event_list',['type'=>1])}">双创风云榜</a></li>
                    <li><a href="{:url('exhibition',['type'=>2])}">创意产品展</a></li>
                </ul>
            </div>
            <div class="teacherContent col-md-10 col-sm-12">
                <div class="title">
                    <div class="name">
                        <span>双创风采</span>
                        <span>Elegant demeanor</span>
                    </div>
                    <div class="orign">
                        当前位置: <a href="{:url('index')}">首页</a> >双创风采>双创风云榜
                    </div>
                </div>
                <div class="intro">
                    {volist name="elegant_person" id="person"}

                    <div class="teacherIntro">
                        <div class="imgPart">
                            <!-- <div class="service">在线咨询</div> -->
                            <img style="width: 100%; max-height:100%;" src="__SUBDOMAIN__{$person.image}" />
                        </div>
                        <div class="brief">
                            <span><a href="{:url('event_detail',['id'=>$person['elegant_id']])}">{$person.elegant_title}</a></span>
                            <span>{$person.tag}</span>
                            <span>{$person.desc}</span>
                            <div class="thumb">

                                <div><span class="bi bi-eye"></span>{$person.visits_count}</div>
                                <div class="like" data-id="{$person.elegant_id}">{eq name="person.like" value="1"}<span class="bi bi-hand-thumbs-up-fill"></span>{else/}<span class="bi bi-hand-thumbs-up"></span>{/eq}<text class="count">{$person.like_count}</text> </div>


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

                    {/volist} {notempty name="page"}{$page}{/notempty}
                </div>

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

</html>