wesmiler 6 سال پیش
والد
کامیت
57d03b3146

+ 1 - 1
public/themes/mjmls/index/news/list.html

@@ -22,7 +22,7 @@
                         </a>
                     </div>
                     <div class="fl listent">
-                        <a class="nowrap" href="/news{$v.id}" target="">{$v.title}</a>
+                        <a class="nowrap" href="/news{$v.id}/" target="">{$v.title}</a>
                         <p>{$v.description}</p>
                         <div>
                             <span><i class="fa fa-clock-o"></i>{:date('Y-m-d',$v.create_time)}</span>

+ 3 - 3
public/themes/mjmls/index/news/show.html

@@ -28,7 +28,7 @@
             <if condition="$info.keywords">
             <div class="related-tags">关键词:
                 <foreach name="keywords" id="v">
-                    <a href="/news/{$v}" target="_blank" title="{$v}">{$v}</a>
+                    <a href="/news/{$v}/" target="_blank" title="{$v}">{$v}</a>
                 </foreach>
             </div>
             </if>
@@ -78,7 +78,7 @@
             <h2>相关资讯</h2>
             <ul>
                 <foreach name="other_news" id="v">
-                <li><a href="/news{$v.id}" target="_blank" title="{$v.title}">{$v.title}</a></li>
+                <li><a href="/news{$v.id}/" target="_blank" title="{$v.title}">{$v.title}</a></li>
                 </foreach>
             </ul>
         </div>
@@ -115,7 +115,7 @@
             <h2>加盟资讯</h2>
             <ul class="join-information">
                 <foreach name="jm_news" id="v">
-                <li><a href="/news{$v.id}" target="" title="{$v.title}">{$v.title}</a></li>
+                <li><a href="/news{$v.id}/" target="" title="{$v.title}">{$v.title}</a></li>
                 </foreach>
             </ul>
         </div>

+ 2 - 2
public/themes/mjmls/index/top10/index.html

@@ -141,7 +141,7 @@
         <div class="new-infor-box">
             <foreach name="zuixin_news" id="v">
                 <if condition="$key eq 0">
-                <a href="/news{$v.id}" target="" title="{$v.title}">
+                <a href="/news{$v.id}/" target="" title="{$v.title}">
                     <h3 class="nowrap">{$v.title}</h3>
                     <img src="{:cmf_get_image_preview_url($v.thumb)}" width="100" height="75" alt="{$v.title}">
                     <p>{$v.description}</p>
@@ -153,7 +153,7 @@
                 <foreach name="zuixin_news" id="v">
                     <if condition="$key gt 0">
                     <li>
-                        <a href="/news{$v.id}" target="" title="{$v.title}">{$v.title}</a>
+                        <a href="/news{$v.id}/" target="" title="{$v.title}">{$v.title}</a>
                         <span>02-21</span>
                     </li>
                     </if>