2 Commits fb0cc056dc ... f2a67dae98

Auteur SHA1 Bericht Datum
  wangzhe f2a67dae98 Merge remote-tracking branch 'origin/master' 3 maanden geleden
  wangzhe 944b3788fd 首页 3 maanden geleden

+ 1 - 1
src/main/resources/templates/www/tuiyijunren/include/header.html

@@ -46,7 +46,7 @@
         [1229, 1230, 1231], // 学历提升
         [1236, 1235, 1234, 1233], // 综合服务
         [1238, 1239, 1240], // 孵化基地
-        // [1213], // 合作企业
+        [1241], // 合作企业
         // [1213], // 证书认证
     ]
     let url = window.location.href;

+ 33 - 10
src/main/resources/templates/www/tuiyijunren/index.html

@@ -133,10 +133,15 @@
                             <img src="${bean.thumb!}" alt="${bean.title!}"/>
                             <a class="text" href="${bean.url!}">
                                 <h5>${bean.title!}</h5>
-                                <p><span>联系人:${bean.author!}</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span>咨询电话:${bean.author!}</span></p>
-                                <span>${bean.description!}</span>
+                                <p><span>联系人:${bean.author!}</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span>咨询电话:${bean.keywords!}</span></p>
+                                <span style="height: 105px !important;
+                                    overflow:hidden !important;
+                                    text-overflow: ellipsis !important;
+                                    -webkit-line-clamp: 4 !important;
+                                    display: -webkit-box !important;
+                                    -webkit-box-orient: vertical !important;font-size: 16px;">${bean.description!}</span>
                             </a>
-                            <a class="more">查看详细</a>
+                            <a class="more" href="${bean.url!}">查看详细</a>
                         </li>
                     </a>
                 </#cms_content_list>
@@ -192,11 +197,16 @@
         <div class="dpsg_list">
             <#cms_content_list siteId="${site.siteId}" categoryId="1225" orderBy="2" isHot="0" hasChild="0" isRecommend="0" size="3" titleLen="30" var="bean">
                 <a class="dpsg_list_div clearfix" aos="fade-up" href="${bean.url!}">
-                    <img src="${resPath}/tuiyijunren/images/twjr_img5.png"/>
+                    <img src="${bean.thumb!}" alt="${bean.title!}"/>
                     <div class="text">
                         <h1>${bean.title!}</h1>
-                        <h4>3月培训期</h4>
-                        <p>${bean.description!}</p>
+                        <h4>${bean.keywords!}</h4>
+                        <p style="height: 60px !important;
+                                    overflow:hidden !important;
+                                    text-overflow: ellipsis !important;
+                                    -webkit-line-clamp: 2 !important;
+                                    display: -webkit-box !important;
+                                    -webkit-box-orient: vertical !important;">${bean.description!}</p>
                     </div>
                 </a>
 
@@ -249,10 +259,23 @@
         <div class="yzgw_list clearfix">
             <#cms_content_list siteId="${site.siteId}" categoryId="1223" orderBy="2" isHot="0" hasChild="0" isRecommend="0" size="6" titleLen="12" var="bean">
                 <a class="yzgw_list_div" aos="fade-up" href="${bean.url!}">
-                    <h1>${bean.title!}<b>5K-8K</b></h1>
-                    <h4><span class="address">长春-南关</span><span>五险一金</span><span>周末双休</span></h4>
-                    <h5>长春动画学院</h5>
-                    <p>民营教育企业&nbsp;&nbsp;|&nbsp;&nbsp;20-99人</p>
+                    <h1>
+                        ${bean.title!}
+                        <!--<b>5K-8K</b>-->
+                        <b>${bean.content}</b>
+                    </h1>
+                    <!--<h4><span class="address">长春-南关</span><span>五险一金</span><span>周末双休</span></h4>-->
+                    <h4><span class="address">${bean.keywords!}</span></h4>
+                    <!--<h4><span class="address">长春-南关 五险一金 周末双休</span></h4>-->
+                    <!--<h5>长春动画学院</h5>-->
+                    <h5>${bean.author!}</h5>
+                    <!--<p>民营教育企业&nbsp;&nbsp;|&nbsp;&nbsp;20-99人</p>-->
+                    <p style="height: 20px !important;
+                        overflow:hidden !important;
+                        text-overflow: ellipsis !important;
+                        -webkit-line-clamp: 1 !important;
+                        display: -webkit-box !important;
+                        -webkit-box-orient: vertical !important;">${bean.description!}</p>
                 </a>
 
                 <!--<li aos="fade-up" aos-duration="500">-->