exhibition.html 6.8 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>
    <style>
        @media screen and (min-width:600px) {
            .teacherCate{
                min-height: 79.4vh !important;
            }
        }
        .rotation {
            width: 100%;
            /*height: 200px;*/
        }
        .rotation img{
            width: 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;
        }
        
        .teacherCate .active a {
            color: #5f4793 !important;
            font-weight: bold;
        }
        
        .teacherCate ul li {
            height: 4rem;
            width: 100%;
            border-bottom: 2px solid #ebecee;
            text-align: center;
            line-height: 4rem;
            font-size: 16px;
            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: 5px 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 #f3f3f3;
            display: flex;
            flex-direction: row;
            justify-content: left;
            align-items: center;
        }
        .intro .teacherIntro a{
            margin-left: 20px;
        }
        
        .intro .teacherIntro img {
            width: 150px;
            height: 100px;
            object-fit: cover;
            border-radius: 10px;
        }
        
        .intro .teacherIntro .brief {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            align-items: left;
            position: relative;
            padding: 10px 0 10px 20px;
        }
        
        .intro .teacherIntro .brief p {
            color: #000 !important;
        }
        
        .intro .teacherIntro .brief p:nth-child(1) {
            font-size: 14px;
            font-weight: bold;
        }
        
        .intro .teacherIntro .brief p:nth-child(1):hover {
            color: #7177b0 !important;
            font-size: 14px;
            font-weight: bold;
        }
        
        .intro .teacherIntro .brief p:nth-child(2) {
            font-size: 12px;
        }
        
        .intro .teacherIntro .brief p:nth-child(3) {
            font-size: 12px;
            text-indent: 2rem;
            width: 100%;
            height: 38px;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
            padding: 5px 0 0 0;
        }
        
        .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;
        }
    </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><a href="{:url('event_list',['type'=>1])}">双创风云榜</a></li>
                    <li class="active"><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="list" id="data"}
                    <div class="teacherIntro">
                        <img src="__SUBDOMAIN__{$data.image}" />
                        <a href="{:url('exhibition_detail',['id'=>$data.elegant_id])}">
                            <div class="brief">
                                <p>{$data.elegant_title}</p>
                                <p>{$data.tag}</p>
                                <p>{$data.desc}</p>
                            </div>
                        </a>
                    </div>
                    {/volist}
                </div>
            </div>
        </div>
    </div>
</body>

</html>