فهرست منبع

Merge branch 'feature/v4.8.12-zyh' of qmx/jy into feature/v4.8.12

wangkaiyue 2 سال پیش
والد
کامیت
658df31351
3فایلهای تغییر یافته به همراه6 افزوده شده و 2 حذف شده
  1. 2 2
      src/jfw/front/jyCommon.go
  2. 2 0
      src/web/templates/common/include-footer.html
  3. 2 0
      src/web/templates/common/include-head.html

+ 2 - 2
src/jfw/front/jyCommon.go

@@ -13,9 +13,9 @@ func init() {
 }
 
 func (p *CommonPage) JyCommonHead() error {
-	return p.Render("/common/pchead.html")
+	return p.Render("/common/include-head.html")
 }
 
 func (p *CommonPage) JyCommonFooter() error {
-	return p.Render("/common/pcbottom.html")
+	return p.Render("/common/include-footer.html")
 }

+ 2 - 0
src/web/templates/common/include-footer.html

@@ -0,0 +1,2 @@
+{{include "/common/pcbottom.html"}}
+{{include "/common/baiducc.html"}}

+ 2 - 0
src/web/templates/common/include-head.html

@@ -0,0 +1,2 @@
+{{include "/common/pnc.html"}}
+{{include "/common/pchead.html"}}