renjiaojiao 1 år sedan
förälder
incheckning
28b0f45f05
2 ändrade filer med 8 tillägg och 0 borttagningar
  1. 2 0
      src/jfw/front/index.go
  2. 6 0
      src/web/templates/pc/newIndex.html

+ 2 - 0
src/jfw/front/index.go

@@ -68,6 +68,8 @@ func (nIndex *NewIndex) NewIndex() error {
 
 	//项目专区
 
+	//中标喜报
+	nIndex.T["winnerGlad"] = WinnerGladTidings()
 	//热门行业
 	nIndex.T["hotIndustry"] = GetHotIndustry()
 	//热门中标企业

+ 6 - 0
src/web/templates/pc/newIndex.html

@@ -285,6 +285,12 @@
       </div>
       <div class="border" style="height: 200px">
         19会员中标喜报
+        {{.T.winnerGlad}}
+        <ul>
+          {{range $k,$v := .T.winnerGlad}}
+          <li>{{$v}}</li>
+          {{end}}
+        </ul>
       </div>
       <div class="border" style="height: 500px">
         20热门行业