wangzhe 3 ماه پیش
والد
کامیت
b5a102d505

+ 1 - 1
src/main/resources/templates/www/tuiyijunren/content-zxdt.html

@@ -3,7 +3,7 @@
 <!--头部结束-->
 <!--中间内容开始-->
 <div class="er_content"> 
-	<div class="dqwz"><span>当前位置:<a href="${frontPath}/${site.siteId}">网站首页</a><a href="${frontPath}/${site.siteId}/${category.categoryId}.html">${category.categoryName}</a></span></div>
+	<div class="dqwz"><span>当前位置:<a href="${frontPath}/${site.siteId}">网站首页 ></a><a href="${frontPath}/${site.siteId}/${category.categoryId}.html">${category.categoryName}</a></span></div>
 	<div class="news_txt">
 		<h1>${content.title!}</h1>
 		<h5><i class="laiy">来源:${content.author!}</i><i class="date">时间:${content.inputdate,dateFormat="yyyy-MM-dd"}</i></h5>

+ 17 - 4
src/main/resources/templates/www/tuiyijunren/index.html

@@ -257,15 +257,28 @@
             <span>-坚持追求卓越&nbsp;&nbsp;成就职业巅峰-</span>
         </div>
         <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">
+            <#cms_content_list siteId="${site.siteId}" categoryId="1223" orderBy="2" isHot="0" hasChild="0" isRecommend="0" size="6" titleLen="10" var="bean">
                 <a class="yzgw_list_div" aos="fade-up" href="${bean.url!}">
                     <h1>
-                        ${bean.title!}
+                        <span style="overflow:hidden !important;
+                                    text-overflow: ellipsis !important;
+                                    -webkit-line-clamp: 1 !important;
+                                    display: inline !important;
+                                    -webkit-box-orient: vertical !important;">${bean.title!}</span>
                         <!--<b>5K-8K</b>-->
-                        <b>${bean.content}</b>
+                        <b style="overflow:hidden !important;
+                                    text-overflow: ellipsis !important;
+                                    -webkit-line-clamp: 1 !important;
+                                    display: inline !important;
+                                    -webkit-box-orient: vertical !important;">${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" style="height: 40px !important;
+                                    overflow:hidden !important;
+                                    text-overflow: ellipsis !important;
+                                    -webkit-line-clamp: 1 !important;
+                                    display: -webkit-box !important;
+                                    -webkit-box-orient: vertical !important;">${bean.keywords!}</span></h4>
                     <!--<h4><span class="address">长春-南关 五险一金 周末双休</span></h4>-->
                     <!--<h5>长春动画学院</h5>-->
                     <h5>${bean.author!}</h5>