Browse Source

新闻资讯优化

gzb
wangzhonglu 1 year ago
parent
commit
bb1de96bc6
3 changed files with 3 additions and 3 deletions
  1. 1
    1
      js/news.js
  2. 1
    1
      sections/news.html
  3. 1
    1
      sections/news_detail.html

+ 1
- 1
js/news.js View File

15
   function loadNewsList(params) {
15
   function loadNewsList(params) {
16
     let newsItemHtml = "";
16
     let newsItemHtml = "";
17
     $.each(params.list, function (newsIndex, newsItem) {
17
     $.each(params.list, function (newsIndex, newsItem) {
18
-      newsItemHtml =
18
+      newsItemHtml +=
19
         '<div class="news_list_item" data-newsid="' +
19
         '<div class="news_list_item" data-newsid="' +
20
         newsItem.newsid +
20
         newsItem.newsid +
21
         '"><img class="news_item_img" src="' +
21
         '"><img class="news_item_img" src="' +

+ 1
- 1
sections/news.html View File

17
       <img src="../img/news/news_banner.png" />
17
       <img src="../img/news/news_banner.png" />
18
       <div class="news_header_info">
18
       <div class="news_header_info">
19
         <div class="news_header_title">新闻资讯</div>
19
         <div class="news_header_title">新闻资讯</div>
20
-        <div class="news_header_stitle">星火最新资讯,让一切皆有可能</div>
20
+        <div class="news_header_stitle">聚焦行业资讯,掌握前沿发展脉络</div>
21
       </div>
21
       </div>
22
     </div>
22
     </div>
23
     <div class="news_info">
23
     <div class="news_info">

+ 1
- 1
sections/news_detail.html View File

17
       <img src="../img/news/news_banner.png" />
17
       <img src="../img/news/news_banner.png" />
18
       <div class="news_header_info">
18
       <div class="news_header_info">
19
         <div class="news_header_title">新闻资讯</div>
19
         <div class="news_header_title">新闻资讯</div>
20
-        <div class="news_header_stitle">星火最新资讯,让一切皆有可能</div>
20
+        <div class="news_header_stitle">聚焦行业资讯,掌握前沿发展脉络</div>
21
       </div>
21
       </div>
22
     </div>
22
     </div>
23
     <div class="news_detail_box">
23
     <div class="news_detail_box">

Loading…
Cancel
Save