|
@@ -215,7 +215,7 @@ onceAgain:
|
|
|
} else if name == "all" {
|
|
|
biddingInfo.IsEffective = true
|
|
|
biddingInfo.IsSearch = false
|
|
|
- tg.T["industryData"] = jyutil.GetIndustry("/jyapp/s/tags/industry/%d_all_all_%d.html") // 行业标的物全部
|
|
|
+ tg.T["industryData"] = jyutil.GetIndustry("/tags/industry/%d_all_all_%d.html") // 行业标的物全部
|
|
|
}
|
|
|
case jyutil.Label["buyer"]: //采购单位
|
|
|
biddingInfo.IsEffective = true
|
|
@@ -278,8 +278,8 @@ onceAgain:
|
|
|
if biddingInfo.PageNum == (biddingInfo.Total-1)/biddingInfo.PageSize+1 {
|
|
|
nextPage = ""
|
|
|
}
|
|
|
- tg.T["prevPage"] = qu.If(prevPage != "", fmt.Sprintf("/jyapp/s/tags/%s/%s.html", types, prevPage), "").(string)
|
|
|
- tg.T["nextPage"] = qu.If(nextPage != "", fmt.Sprintf("/jyapp/s/tags/%s/%s.html", types, nextPage), "").(string)
|
|
|
+ tg.T["prevPage"] = qu.If(prevPage != "", fmt.Sprintf("/tags/%s/%s.html", types, prevPage), "").(string)
|
|
|
+ tg.T["nextPage"] = qu.If(nextPage != "", fmt.Sprintf("/tags/%s/%s.html", types, nextPage), "").(string)
|
|
|
tg.T["totalPage"] = (biddingInfo.Total-1)/biddingInfo.PageSize + 1
|
|
|
tg.T["pageNum"] = biddingInfo.PageNum
|
|
|
tg.T["hotArea"] = jyutil.HotAreas
|
|
@@ -298,13 +298,13 @@ onceAgain:
|
|
|
//}
|
|
|
}
|
|
|
if hasIndustryNav {
|
|
|
- tg.T["industryNav"] = jyutil.GetIndustryNav(jyutil.GetIndustry("/jyapp/s/tags/industry/%d_all_all_%d.html")) // 标的物小于等于5个字的
|
|
|
+ tg.T["industryNav"] = jyutil.GetIndustryNav(jyutil.GetIndustry("/tags/industry/%d_all_all_%d.html")) // 标的物小于等于5个字的
|
|
|
}
|
|
|
tg.T["areaTopTip"] = areaTopTip
|
|
|
//todo 获取tdk
|
|
|
tg.T["tdk"] = jyutil.GetTdk(types, tdk)
|
|
|
- tg.T["HomeOrigin"] = "/jyapp/s/tags/home/home.html"
|
|
|
- tg.T["Home"] = "/jyapp/jylab/mainSearch"
|
|
|
+ tg.T["HomeOrigin"] = "/tags/home/home.html"
|
|
|
+ tg.T["Home"] = "/"
|
|
|
tg.T["isInfoList"] = isInfoList
|
|
|
//模板redis缓存
|
|
|
content, _ := tg.Render4Cache("/tags/index.html", &tg.T)
|