|
@@ -384,7 +384,7 @@ func (tg *Tags) StrategyIndex() {
|
|
|
tg.T["hotArea"] = jyutil.HotAreas
|
|
|
tg.T["infoTypeList"] = infoTypeList
|
|
|
tg.T["areaList"] = jyutil.AreaInfo
|
|
|
- tg.T["tdk"] = jyutil.GetTdk("strategy", "")
|
|
|
+ tg.T["tdk"] = jyutil.GetTdk("strategy", "ztbgl")
|
|
|
tg.T["Home"] = qu.If(platform == "PC", "/", "/jyapp/jylab/mainSearch").(string)
|
|
|
tg.T["currentLocation"] = jyutil.NavigationBar(qu.ObjToString(config.Seoconfig["strategyCode"]), false)
|
|
|
tg.Render("/tags/strategy.html", &tg.T)
|
|
@@ -441,7 +441,7 @@ func (tg *Tags) Class(thisCode string, pageNumStr string) {
|
|
|
tg.T["nextPage"] = qu.If(nextPage != "", fmt.Sprintf("/jySchool/%s/index_%s.html", thisCode, nextPage), "").(string)
|
|
|
tg.T["totalPage"] = (total-1)/qu.IntAll(pageSize) + 1
|
|
|
tg.T["pageNum"] = qu.IntAll(pageNum)
|
|
|
- tg.T["tdk"] = jyutil.GetTdk("strategy", "")
|
|
|
+ tg.T["tdk"] = jyutil.GetTdk("strategy", thisCode)
|
|
|
tg.Render("/tags/class.html", &tg.T)
|
|
|
}
|
|
|
|
|
@@ -472,6 +472,10 @@ func (tg *Tags) Details(id string) {
|
|
|
tg.T["Home"] = qu.If(platform == "PC", "/", "/jyapp/jylab/mainSearch").(string)
|
|
|
currentLocation := jyutil.NavigationBar(tCode, true)
|
|
|
tg.T["currentLocation"] = append(currentLocation, jyutil.Navigation{Name: qu.ObjToString((*data)["s_title"])})
|
|
|
- tg.T["tdk"] = jyutil.GetTdk("strategy", "")
|
|
|
+ tg.T["tdk"] = jyutil.TdkStruct{
|
|
|
+ Title: fmt.Sprintf("%s-剑鱼标讯", qu.ObjToString((*data)["s_title"])),
|
|
|
+ Keywords: qu.ObjToString((*data)["s_keywords"]),
|
|
|
+ Description: qu.ObjToString((*data)["s_description"]),
|
|
|
+ }
|
|
|
tg.Render("/tags/details.html", &tg.T)
|
|
|
}
|