Demo entry 6358643

js

   

Submitted by zy on Apr 26, 2017 at 11:29
Language: HTML. Code size: 3.8 kB.

<div class="box-left box">
    <div class="panel-session">
        <div class="panel-head">
            <span class="panel-title">最新活动</span>
            <c:if test="${not empty Activity}">
                <div class="fr">
                    |&nbsp;&nbsp;
                    <a href="${webSite}/web/index/jsp/industrialActivities/industrialActivities" class="more">更多</a>
                </div>
            </c:if>
        </div>
        <div class="panel-content">
            <ul class="activite">
                <c:if test="${empty Activity}">暂无数据</c:if>
                <c:forEach items="${Activity}"  var="Activity" varStatus="y">
                    <li class="list-group-item row">
                        <div class="col-5">
                            <a href="${webSite}/web/index/newest/activitySignup?id=${Activity.id }">
                                <c:choose>
                                    <c:when test="${Activity.image != null  && Activity.image !=''}">
                                        <img style="padding:0px 5px;" src="${Activity.image}" class="activiteImg" onerror=""/>
                                    </c:when>
                                    <c:otherwise>
                                        <img src="${ctxStatic}/web/images/touch.png" class="activiteImg" onerror="">
                                    </c:otherwise>
                                </c:choose>
                            </a>
                        </div>
                        <div class="col-7">
                            <h3 style="word-break: keep-all; white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">${Activity.title }</h3>
                            <p style="word-break: keep-all;white-space: nowrap;overflow: hidden;text-overflow: ellipsis">主办:${Activity.host }</p>
                            <p>时间:<fmt:formatDate value="${Activity.time }" pattern="yyyy-MM-dd"/></p>
                            <div class="col-6 text-center white-t">
                                <a href="${webSite}/web/index/newest/activitySignup?id=${Activity.id }"
                                   class="btn-activit btn-blue">查看详情</a>
                            </div>
                        </div>
                    </li>
                </c:forEach>
            </ul>
        </div>
    </div>
</div>
<!--left end-->
<!--right-->
<div class="box-center box">
    <div class="panel-blue row">

        <div class="panel-head">
            <span class="panel-title">问卷调查</span>
        </div>
        <div class="panel-content">
            <ul class="qustionnaire">
                <c:if test="${empty survey}">暂无数据</c:if>
                <c:forEach items="${survey}"  var="survey" varStatus="y">
                    <li class="col-6">
                        <a href="${webSite}/web/index/newest/getsurveydetail?id=${survey.id}">
                            <c:choose>
                                <c:when test="${not empty survey.image }">
                                    <img src="${survey.image}" onerror=""/>
                                </c:when>
                                <c:otherwise>
                                    <img src="${ctxStatic}/web/images/data.png" onerror=""/>
                                </c:otherwise>
                            </c:choose>
                            <p>${survey.title }</p>
                            <b>调查方:<span>${survey.user }</span></b>
                            <b>时间:<span><fmt:formatDate value="${survey.updateDate }" pattern="yyyy-MM-dd"/></span></b>
                        </a>
                    </li>
                </c:forEach>

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

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).