zhangxinlei1996 2 年之前
父节点
当前提交
9f81fedb15
共有 58 个文件被更改,包括 5068 次插入699 次删除
  1. 5 1
      src/go.mod
  2. 7 2
      src/go.sum
  3. 1 1
      src/jfw/front/login.go
  4. 1 1
      src/jfw/front/otherAct.go
  5. 10 5
      src/jfw/front/pcIndex.go
  6. 24 9
      src/jfw/front/shorturl.go
  7. 1 2
      src/jfw/front/tags.go
  8. 1 1
      src/jfw/jyutil/sessionkeep.go
  9. 1 1
      src/jfw/modules/app/src/app/front/front.go
  10. 1 1
      src/jfw/modules/app/src/app/front/login.go
  11. 1 2
      src/jfw/modules/app/src/go.mod
  12. 2 4
      src/jfw/modules/app/src/go.sum
  13. 11 8
      src/jfw/modules/app/src/web/templates/big-member/page_pro_follow_detail.html
  14. 18 6
      src/jfw/modules/bigmember/src/service/chatShare/obtainDetails.go
  15. 13 13
      src/jfw/modules/bigmember/src/service/follow/project.go
  16. 2 0
      src/jfw/modules/publicapply/src/go.mod
  17. 4 0
      src/jfw/modules/publicapply/src/go.sum
  18. 1 0
      src/jfw/modules/publicapply/src/main.go
  19. 280 0
      src/jfw/modules/publicapply/src/transfer/transfer.go
  20. 1 2
      src/jfw/modules/subscribepay/src/go.mod
  21. 2 4
      src/jfw/modules/subscribepay/src/go.sum
  22. 1 1
      src/jfw/modules/subscribepay/src/service/userAccountInfo.go
  23. 1 1
      src/jfw/modules/subscribepay/src/service/vipSubscribeTrial.go
  24. 3 2
      src/main.go
  25. 813 0
      src/web/staticres/brand/css/index.css
  26. 9 6
      src/web/staticres/common-module/big-member/js/page_client_follow_detail.js
  27. 二进制
      src/web/staticres/commonFunctions/pc-project-board.png
  28. 365 387
      src/web/staticres/css/pc/index.css
  29. 1423 0
      src/web/staticres/css/pc/index_old_23_06_16.css
  30. 二进制
      src/web/staticres/images/index/new/Insight1.png
  31. 二进制
      src/web/staticres/images/index/new/Insight2.png
  32. 二进制
      src/web/staticres/images/index/new/Insight3.png
  33. 二进制
      src/web/staticres/images/index/new/Insight4.png
  34. 二进制
      src/web/staticres/images/index/new/Insight5.png
  35. 二进制
      src/web/staticres/images/index/new/banner.png
  36. 二进制
      src/web/staticres/images/index/new/bg.png
  37. 二进制
      src/web/staticres/images/index/new/down.png
  38. 二进制
      src/web/staticres/images/index/new/free-bg.png
  39. 二进制
      src/web/staticres/images/index/new/ic-1.png
  40. 二进制
      src/web/staticres/images/index/new/ic-2.png
  41. 二进制
      src/web/staticres/images/index/new/ic-3.png
  42. 二进制
      src/web/staticres/images/index/new/ic-4.png
  43. 二进制
      src/web/staticres/images/index/new/news-bg.png
  44. 二进制
      src/web/staticres/images/index/new/serve-1.png
  45. 二进制
      src/web/staticres/images/index/new/serve-2.png
  46. 二进制
      src/web/staticres/images/index/new/serve-3.png
  47. 二进制
      src/web/staticres/images/index/new/serve-4.png
  48. 二进制
      src/web/staticres/images/index/new/serve-5.png
  49. 二进制
      src/web/staticres/images/index/new/serve-6.png
  50. 二进制
      src/web/staticres/images/index/new/serves-bg.png
  51. 二进制
      src/web/staticres/images/index/new/品牌.png
  52. 二进制
      src/web/staticres/images/index/new/行业资讯.png
  53. 1 1
      src/web/staticres/js/index/index.js
  54. 318 0
      src/web/staticres/js/index/index_old_23_06_16.js
  55. 11 8
      src/web/templates/big-member/wx/page_pro_follow_detail.html
  56. 491 0
      src/web/templates/pc/brand/index.html
  57. 151 230
      src/web/templates/pc/index.html
  58. 1094 0
      src/web/templates/pc/index_old_23_06_16.html

+ 5 - 1
src/go.mod

@@ -4,11 +4,15 @@ go 1.18
 
 require (
 	app.yhyue.com/moapp/jyMarketing v0.0.2-0.20230307011807-2ef7ef8e0c09
+<<<<<<< HEAD
 	app.yhyue.com/moapp/jybase v0.0.0-20230517064222-e0bdfc8ee0e8
+=======
+	app.yhyue.com/moapp/jybase v0.0.0-20230614085041-f8f20842d5cb
+	app.yhyue.com/moapp/jylog v0.0.0-20230522075550-05d7230ca545
+>>>>>>> feature/v4.8.31
 	app.yhyue.com/moapp/jypkg v0.0.0-20230530080115-eeb9ad32daf0
 	bp.jydev.jianyu360.cn/BaseService/userCenter v1.2.13
 	github.com/SKatiyar/qr v0.0.0-20151201054752-25b6bdf44e67
-	github.com/dchest/captcha v1.0.0
 	github.com/fsnotify/fsnotify v1.6.0
 	github.com/gogf/gf v1.16.9
 	github.com/gogf/gf/v2 v2.3.1

+ 7 - 2
src/go.sum

@@ -5,8 +5,15 @@ app.yhyue.com/moapp/jyMarketing v0.0.2-0.20230307011807-2ef7ef8e0c09/go.mod h1:J
 app.yhyue.com/moapp/jyPoints v1.1.1/go.mod h1:SvP8p5L3jGrejHiH2LXfgCg/NPlFiKBC5Yd0gsI12FU=
 app.yhyue.com/moapp/jybase v0.0.0-20220427020729-974c1a148186/go.mod h1:qNRA0sHuYqcLoYoP8irpaWnW9YsXixe6obBIkwaXpD0=
 app.yhyue.com/moapp/jybase v0.0.0-20230117032034-ad7c00ffe11a/go.mod h1:zB47XTeJvpcbtBRYgkQuxOICWNexiZfbUO+7aUf6mNs=
+<<<<<<< HEAD
 app.yhyue.com/moapp/jybase v0.0.0-20230517064222-e0bdfc8ee0e8 h1:0ukFbYC7yRkFvRsr0bFCgV2SHsc1TvE+kW5MlttQEzE=
 app.yhyue.com/moapp/jybase v0.0.0-20230517064222-e0bdfc8ee0e8/go.mod h1:zB47XTeJvpcbtBRYgkQuxOICWNexiZfbUO+7aUf6mNs=
+=======
+app.yhyue.com/moapp/jybase v0.0.0-20230614085041-f8f20842d5cb h1:fT7FIKElKjkRHTmDxXPeNr5LWe2RmyJU+5aod1nptek=
+app.yhyue.com/moapp/jybase v0.0.0-20230614085041-f8f20842d5cb/go.mod h1:D40Ae0rQilH8Hc5o2Vtt04Tjh/DNEFpcS3/WkJMPJb8=
+app.yhyue.com/moapp/jylog v0.0.0-20230522075550-05d7230ca545 h1:+Lak4m1zgsigQloOsvp8AJ+0XeX/+PGp9QP550xlbBQ=
+app.yhyue.com/moapp/jylog v0.0.0-20230522075550-05d7230ca545/go.mod h1:uFrsdUBFbETiJlEmr4PtJWPsZlUpPj2bHQRhryu6ggk=
+>>>>>>> feature/v4.8.31
 app.yhyue.com/moapp/jypkg v0.0.0-20230530080115-eeb9ad32daf0 h1:b3CN45x2afp2mUyGJZsa01CiFfw4v4TvY0B5fbbOW78=
 app.yhyue.com/moapp/jypkg v0.0.0-20230530080115-eeb9ad32daf0/go.mod h1:Ize93SJEPkBR0Tz8PM2KTJK3bpzlD/qp1JwJ4kdmlss=
 app.yhyue.com/moapp/message v0.0.0-20221223100203-6402e389d9ae h1:6rDDaz6yxvE8viTSzEBwKYOFWq14TMfuBivSazUZMz4=
@@ -489,8 +496,6 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs
 github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
 github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
 github.com/dchest/captcha v0.0.0-20200903113550-03f5f0333e1f/go.mod h1:QGrK8vMWWHQYQ3QU9bw9Y9OPNfxccGzfb41qjvVeXtY=
-github.com/dchest/captcha v1.0.0 h1:vw+bm/qMFvTgcjQlYVTuQBJkarm5R0YSsDKhm1HZI2o=
-github.com/dchest/captcha v1.0.0/go.mod h1:7zoElIawLp7GUMLcj54K9kbw+jEyvz2K0FDdRRYhvWo=
 github.com/denisenkom/go-mssqldb v0.0.0-20190707035753-2be1aa521ff4/go.mod h1:zAg7JM8CkOJ43xKXIj7eRO9kmWm/TW578qo+oDO6tuM=
 github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ=
 github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f h1:lO4WD4F/rVNCu3HqELle0jiPLLBs70cWOduZpkS1E78=

+ 1 - 1
src/jfw/front/login.go

@@ -21,7 +21,7 @@ import (
 	"app.yhyue.com/moapp/jybase/go-xweb/httpsession"
 	"app.yhyue.com/moapp/jybase/go-xweb/xweb"
 	"bp.jydev.jianyu360.cn/BaseService/userCenter/rpc/pb"
-	"github.com/dchest/captcha"
+	"app.yhyue.com/moapp/jybase/dchest/captcha"
 	"go.mongodb.org/mongo-driver/bson/primitive"
 )
 

+ 1 - 1
src/jfw/front/otherAct.go

@@ -10,7 +10,7 @@ import (
 
 	util "app.yhyue.com/moapp/jybase/common"
 
-	"github.com/dchest/captcha"
+	"app.yhyue.com/moapp/jybase/dchest/captcha"
 	"app.yhyue.com/moapp/jybase/go-xweb/httpsession"
 )
 

+ 10 - 5
src/jfw/front/pcIndex.go

@@ -29,11 +29,12 @@ const (
 
 type PcIndex struct {
 	*xweb.Action
-	newSordfish  xweb.Mapper `xweb:"/(old|)"`                  //剑鱼标讯pc首页
-	brandIndex   xweb.Mapper `xweb:"/brand/index"`             //品牌网站首页
-	productIndex xweb.Mapper `xweb:"/product/index"`           //品牌网站首页
-	newSordfishC xweb.Mapper `xweb:"/pcindex.html"`            //剑鱼标讯pc首页-统计
-	searchResult xweb.Mapper `xweb:"/list/(\\w+)/(\\w+).html"` //剑鱼标讯分类 地区结果列表
+	newSordfish   xweb.Mapper `xweb:"/(old|)"`                  //剑鱼标讯pc首页
+	brandIndex    xweb.Mapper `xweb:"/brand/index"`             //品牌网站首页
+	brandIndexOld xweb.Mapper `xweb:"/brand/index_old"`         //品牌网站首页
+	productIndex  xweb.Mapper `xweb:"/product/index"`           //品牌网站首页
+	newSordfishC  xweb.Mapper `xweb:"/pcindex.html"`            //剑鱼标讯pc首页-统计
+	searchResult  xweb.Mapper `xweb:"/list/(\\w+)/(\\w+).html"` //剑鱼标讯分类 地区结果列表
 }
 
 func init() {
@@ -41,6 +42,10 @@ func init() {
 }
 
 func (this PcIndex) BrandIndex() error {
+	return this.Render("/pc/brand/index.html")
+}
+
+func (this PcIndex) BrandIndexOld() error {
 	return this.Render("/frontRouter/pc/brand/free/index.html")
 }
 func (this PcIndex) ProductIndex() error {

+ 24 - 9
src/jfw/front/shorturl.go

@@ -55,7 +55,22 @@ var Map_stype = map[string]bool{
 	"advancedProject": true,
 }
 
+var seoAgentReg = regexp.MustCompile("Baiduspider|360Spider|bingbot|Googlebot")
+
 func (s *Short) Article(stype, id string) error {
+	userId, _ := s.GetSession("userId").(string)
+	if (stype == "content" || stype == "indexcontent") && userId == "" {
+		if seoAgentReg.MatchString(s.UserAgent()) {
+			sids := encrypt.CommonDecodeArticle(stype, id)
+			return s.NologinCommon("", stype, id, sids[0])
+		} else {
+			return s.Redirect("/notin/page")
+		}
+	}
+	return s.LoginCommon(userId, stype, id)
+}
+
+func (s *Short) LoginCommon(userId, stype, id string) error {
 	client := s.Header("User-Agent")
 	bm := mobileReg.MatchString(client)
 	//电脑端 剑鱼快照页面访问
@@ -96,12 +111,11 @@ func (s *Short) Article(stype, id string) error {
 		}
 		aboutUrl += "&from=" + from_userid
 	}
-	userId, _ := s.GetSession("userId").(string)
 	if !Map_stype[stype] {
 		s.Redirect("/not/nottype", 302)
 		return nil
 	} else if stype == "content" || stype == "bdcontent" || stype == "advancedProject" {
-		if s.Session().Get("userId") == nil {
+		if userId == "" {
 			if s.GetString("state") == "wx" {
 				//微信跳回来的
 				if code := s.GetString("code"); code != "" {
@@ -119,7 +133,7 @@ func (s *Short) Article(stype, id string) error {
 		if disWord != "" {
 			from_userid = disWordNil(disWord, userId)
 		}
-		if s.Session().Get("userId") == nil { //} && !regclient.MatchString(client) { //没有用户session //搜索引擎让过
+		if userId == "" { //} && !regclient.MatchString(client) { //没有用户session //搜索引擎让过
 			s.Session().Set("referer", s.Request.RequestURI)
 			if bm { //是否是移动端访问
 				s.Redirect(aboutUrl, 302)
@@ -283,7 +297,7 @@ func (s *Short) Article(stype, id string) error {
 				return s.Redirect(aboutUrl, 302)
 			}
 			//之前sessionkeep.go中没有放userId,造成关注有问题
-			if s.GetSession("userId") == nil {
+			if userId == "" {
 				FindUserAndCreateSess(ssOpenid.(string), s.Session(), "wx", false, true)
 			}
 		}
@@ -977,13 +991,14 @@ func (s *Short) NologinArticle(stype, id string) error {
 		s.Redirect("/notin/page", 302)
 		return nil
 	}
-	sid := sids[0]
-
-	tg := &Tags{}
-
 	if userId != "" { //已登录用户直接跳转至正常三级页
-		return s.Redirect(fmt.Sprintf("/article/content/%s.html", encrypt.CommonEncodeArticle("content", sid)))
+		return s.LoginCommon(userId, stype, id)
 	}
+	return s.NologinCommon(userId, stype, id, sids[0])
+}
+
+func (s *Short) NologinCommon(userId, stype, id, sid string) error {
+	tg := &Tags{}
 	catchKey := fmt.Sprintf("jypcdetail_nologin_%s_%s", stype, sid)
 	if res := redis.Get("newother", catchKey); res == nil || res == "" {
 		industry := s.GetString("industry")

+ 1 - 2
src/jfw/front/tags.go

@@ -506,8 +506,7 @@ func (this *Tags) GetConsult() (list []map[string]interface{}) {
 	} else {
 
 		rs, _, _ := jyutil.JyCmsSearch(map[string]string{
-			"s_contenttype": "hyzc",
-			"perPage":       "10",
+			"perPage": "10",
 		}, "/jyblog/index_%s.html")
 		if rs != nil {
 			for _, v := range *rs {

+ 1 - 1
src/jfw/jyutil/sessionkeep.go

@@ -95,7 +95,7 @@ func (sk *SessionKeep) Do() bool {
 			}
 		} else {
 			if strings.HasPrefix(rqu, "/article/") {
-				if strings.HasPrefix(rqu, "/article/mailprivate") || strings.HasPrefix(rqu, "/article/bdprivate") || strings.HasPrefix(rqu, "/article/bdcontent") || reg.MatchString(rhdua) || strings.HasPrefix(rqu, "/article/indexcontent") {
+				if strings.HasPrefix(rqu, "/article/content") || strings.HasPrefix(rqu, "/article/mailprivate") || strings.HasPrefix(rqu, "/article/bdprivate") || strings.HasPrefix(rqu, "/article/bdcontent") || reg.MatchString(rhdua) || strings.HasPrefix(rqu, "/article/indexcontent") {
 					return true
 				} else { //只处理pc
 					sk.SetSession["referer"] = sk.R.RequestURI

+ 1 - 1
src/jfw/modules/app/src/app/front/front.go

@@ -24,7 +24,7 @@ import (
 
 	"app.yhyue.com/moapp/jybase/go-xweb/xweb"
 	"github.com/SKatiyar/qr"
-	"github.com/dchest/captcha"
+	"app.yhyue.com/moapp/jybase/dchest/captcha"
 	"go.mongodb.org/mongo-driver/bson"
 )
 

+ 1 - 1
src/jfw/modules/app/src/app/front/login.go

@@ -26,7 +26,7 @@ import (
 
 	"app.yhyue.com/moapp/jybase/go-xweb/httpsession"
 	"app.yhyue.com/moapp/jybase/go-xweb/xweb"
-	"github.com/dchest/captcha"
+	"app.yhyue.com/moapp/jybase/dchest/captcha"
 	"go.mongodb.org/mongo-driver/bson"
 )
 

+ 1 - 2
src/jfw/modules/app/src/go.mod

@@ -3,12 +3,11 @@ module jy/src/jfw/modules/app/src
 go 1.18
 
 require (
-	app.yhyue.com/moapp/jybase v0.0.0-20230517064222-e0bdfc8ee0e8
+	app.yhyue.com/moapp/jybase v0.0.0-20230614085041-f8f20842d5cb
 	app.yhyue.com/moapp/jylog v0.0.0-20230522075550-05d7230ca545
 	app.yhyue.com/moapp/jypkg v0.0.0-20230531014856-12e9a04b5c44
 	bp.jydev.jianyu360.cn/BaseService/userCenter v1.2.13
 	github.com/SKatiyar/qr v0.0.0-20151201054752-25b6bdf44e67
-	github.com/dchest/captcha v1.0.0
 	github.com/gogf/gf/v2 v2.3.1
 	github.com/pkg/errors v0.9.1
 	go.mongodb.org/mongo-driver v1.11.1

+ 2 - 4
src/jfw/modules/app/src/go.sum

@@ -5,8 +5,8 @@ app.yhyue.com/moapp/jyMarketing v0.0.2-0.20230304035551-21bb1eedf547/go.mod h1:J
 app.yhyue.com/moapp/jyPoints v1.1.1/go.mod h1:SvP8p5L3jGrejHiH2LXfgCg/NPlFiKBC5Yd0gsI12FU=
 app.yhyue.com/moapp/jybase v0.0.0-20220427020729-974c1a148186/go.mod h1:qNRA0sHuYqcLoYoP8irpaWnW9YsXixe6obBIkwaXpD0=
 app.yhyue.com/moapp/jybase v0.0.0-20230117032034-ad7c00ffe11a/go.mod h1:zB47XTeJvpcbtBRYgkQuxOICWNexiZfbUO+7aUf6mNs=
-app.yhyue.com/moapp/jybase v0.0.0-20230517064222-e0bdfc8ee0e8 h1:0ukFbYC7yRkFvRsr0bFCgV2SHsc1TvE+kW5MlttQEzE=
-app.yhyue.com/moapp/jybase v0.0.0-20230517064222-e0bdfc8ee0e8/go.mod h1:zB47XTeJvpcbtBRYgkQuxOICWNexiZfbUO+7aUf6mNs=
+app.yhyue.com/moapp/jybase v0.0.0-20230614085041-f8f20842d5cb h1:fT7FIKElKjkRHTmDxXPeNr5LWe2RmyJU+5aod1nptek=
+app.yhyue.com/moapp/jybase v0.0.0-20230614085041-f8f20842d5cb/go.mod h1:D40Ae0rQilH8Hc5o2Vtt04Tjh/DNEFpcS3/WkJMPJb8=
 app.yhyue.com/moapp/jylog v0.0.0-20230522075550-05d7230ca545 h1:+Lak4m1zgsigQloOsvp8AJ+0XeX/+PGp9QP550xlbBQ=
 app.yhyue.com/moapp/jylog v0.0.0-20230522075550-05d7230ca545/go.mod h1:uFrsdUBFbETiJlEmr4PtJWPsZlUpPj2bHQRhryu6ggk=
 app.yhyue.com/moapp/jypkg v0.0.0-20230531014856-12e9a04b5c44 h1:u7Y263EJvcCZDqJTwOfT+QkVQ6sJ/ZCBZxejEk8H9cI=
@@ -492,8 +492,6 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs
 github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
 github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
 github.com/dchest/captcha v0.0.0-20200903113550-03f5f0333e1f/go.mod h1:QGrK8vMWWHQYQ3QU9bw9Y9OPNfxccGzfb41qjvVeXtY=
-github.com/dchest/captcha v1.0.0 h1:vw+bm/qMFvTgcjQlYVTuQBJkarm5R0YSsDKhm1HZI2o=
-github.com/dchest/captcha v1.0.0/go.mod h1:7zoElIawLp7GUMLcj54K9kbw+jEyvz2K0FDdRRYhvWo=
 github.com/denisenkom/go-mssqldb v0.0.0-20190707035753-2be1aa521ff4/go.mod h1:zAg7JM8CkOJ43xKXIj7eRO9kmWm/TW578qo+oDO6tuM=
 github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ=
 github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f h1:lO4WD4F/rVNCu3HqELle0jiPLLBs70cWOduZpkS1E78=

+ 11 - 8
src/jfw/modules/app/src/web/templates/big-member/page_pro_follow_detail.html

@@ -561,16 +561,17 @@
             } else {
                 this.isAddClass = true
             }
-            if (utils.getParam('fid')) {
-                this.fid = utils.getParam('fid')
+            // utils.getParam('fid') 社交分享版本发现的问题(fid有时为空且不同人打开分享链接fid不是自己的)fid不从url和缓存中取  获取从detail接口取
+            if (utils.getParam('sid')) {
+                // this.fid = utils.getParam('fid')
                 this.sid = utils.getParam('sid')
                 var objId = {
-                    fid: utils.getParam('fid'),
+                    // fid: utils.getParam('fid'),
                     sid: utils.getParam('sid')
                 }
                 sessionStorage.setItem('bigvip-fid', JSON.stringify(objId))
             } else {
-                this.fid = JSON.parse(sessionStorage.getItem('bigvip-fid')).fid
+                // this.fid = JSON.parse(sessionStorage.getItem('bigvip-fid')).fid
                 this.sid = JSON.parse(sessionStorage.getItem('bigvip-fid')).sid
             }
             this.getProDetail()
@@ -801,8 +802,8 @@
               data: JSON.stringify(params),
               success: function(res) {
                 if(res.error_code === 0) {
-                  let list = res.data.list
-                  if(!list) {list = []}
+                  let list = res.data.list ? res.data.list : []
+                  // if(!list) {list = []}
                   if (list.length > 0) {
                     _this.cbInfo.isShowRefer = true
                   } else {
@@ -1035,10 +1036,11 @@
               }
             },
             getShareParams () {
+              var params = location.href.indexOf('?') > -1 ? '&fid=' + this.fid + '&sid=' + this.sid : '?fid=' + this.fid + '&sid=' + this.sid
               this.proParams = {
                 type: '2',
                 id: this.sid,
-                referer: location.href
+                referer: location.href + params
               }
             },
             goAnalysis: function () {
@@ -1147,7 +1149,7 @@
                     url: '/bigmember/follow/project/detail',
                     data: {
                         sid: _this.sid,
-                        fid: _this.fid
+                        // fid: _this.fid
                     },
                     success: function (res) {
                         if (res.error_code == 0) {
@@ -1157,6 +1159,7 @@
                             _this.prolist = projectInfos
                             _this.projectname = projectInfos.projectname
                             _this.sid = resdata.sid
+                            _this.fid= resdata.fid
                             _this.careShow = resdata.isfollow
                             // 地区显示
                             var getAreas = ['北京', '天津', '重庆', '上海']

+ 18 - 6
src/jfw/modules/bigmember/src/service/chatShare/obtainDetails.go

@@ -8,6 +8,7 @@ import (
 	"app.yhyue.com/moapp/jybase/redis"
 	"app.yhyue.com/moapp/jypkg/common/src/qfw/util/jy"
 	"app.yhyue.com/moapp/jypkg/public"
+	"encoding/hex"
 	"encoding/json"
 	"errors"
 	"fmt"
@@ -36,6 +37,7 @@ type UserPower struct {
 type ForwardData struct {
 	Label string `json:"label"`
 	Value string `json:"value"`
+	IsUrl bool   `json:"isUrl"`
 }
 
 var (
@@ -109,7 +111,7 @@ func (this *ChatShareProject) BeaconDetails() ([]ForwardData, error) {
 		isEntniche = true
 	}
 
-	return append(SignalSharing(this.GetString("id"), this.GetString("stype"), (isVip && isOldVip) || isMember || isEntniche), ForwardData{Label: signalKeys["referer"], Value: this.GetString("referer")}), nil
+	return append(SignalSharing(this.GetString("id"), this.GetString("stype"), (isVip && isOldVip) || isMember || isEntniche), ForwardData{IsUrl: true, Label: signalKeys["referer"], Value: fmt.Sprintf("/publicapply/transfer?url=%s", hex.EncodeToString([]byte(HostRemove(this.GetString("referer")))))}), nil
 }
 
 // BuyerPortrait 采购单位画像
@@ -146,7 +148,7 @@ func (this *ChatShareProject) BuyerPortrait() ([]ForwardData, error) {
 		for _, v := range buyerKey {
 			res = append(res, ForwardData{Label: buyerKeys[v], Value: qutil.InterfaceToStr(qutil.If(qutil.InterfaceToStr(rData[v]) == "", "--", rData[v]))})
 		}
-		return append(res, ForwardData{Label: buyerKeys["referer"], Value: this.GetString("referer")}), nil
+		return append(res, ForwardData{Label: buyerKeys["referer"], IsUrl: true, Value: fmt.Sprintf("/publicapply/transfer?url=%s", hex.EncodeToString([]byte(HostRemove(this.GetString("referer")))))}), nil
 	}()
 	return rData, errMsg
 }
@@ -190,7 +192,7 @@ func (this *ChatShareProject) EntDetail() ([]ForwardData, error) {
 			}
 			res = append(res, ForwardData{Label: entKeys[v], Value: qutil.InterfaceToStr(qutil.If(qutil.InterfaceToStr(entInfo[v]) == "", "--", entInfo[v]))})
 		}
-		return append(res, ForwardData{Label: entKeys["referer"], Value: this.GetString("referer")}), nil
+		return append(res, ForwardData{Label: entKeys["referer"], IsUrl: true, Value: fmt.Sprintf("/publicapply/transfer?url=%s", hex.EncodeToString([]byte(HostRemove(this.GetString("referer")))))}), nil
 	}()
 	return rData, errMsg
 }
@@ -284,7 +286,7 @@ func (this *ChatShareProject) GetProjectDetail() (res []ForwardData, err error)
 			for _, v := range projectKey {
 				res = append(res, ForwardData{Label: projectKeys[v], Value: qutil.InterfaceToStr(qutil.If(qutil.InterfaceToStr(req[v]) == "", "--", req[v]))})
 			}
-			res = append(res, ForwardData{Label: projectKeys["referer"], Value: this.GetString("referer")})
+			res = append(res, ForwardData{Label: projectKeys["referer"], IsUrl: true, Value: fmt.Sprintf("/publicapply/transfer?url=%s", hex.EncodeToString([]byte(HostRemove(this.GetString("referer")))))})
 			return
 		}
 	}
@@ -297,7 +299,7 @@ func (this *ChatShareProject) GetProjectDetail() (res []ForwardData, err error)
 	for _, v := range projectKey {
 		res = append(res, ForwardData{Label: projectKeys[v], Value: qutil.InterfaceToStr(qutil.If(finalDate[v] == nil, "--", finalDate[v]))})
 	}
-	res = append(res, ForwardData{Label: projectKeys["referer"], Value: this.GetString("referer")})
+	res = append(res, ForwardData{Label: projectKeys["referer"], IsUrl: true, Value: fmt.Sprintf("/publicapply/transfer?url=%s", hex.EncodeToString([]byte(HostRemove(this.GetString("referer")))))})
 	return
 }
 
@@ -329,6 +331,16 @@ func (this *ChatShareProject) ProposedConstruction() (res []ForwardData, err err
 		}
 		res = append(res, ForwardData{Label: constructionKeys[v], Value: qutil.InterfaceToStr(qutil.If(qutil.InterfaceToStr((*data)[0][v]) == "", "--", (*data)[0][v]))})
 	}
-	res = append(res, ForwardData{Label: constructionKeys["referer"], Value: fmt.Sprintf("https://%s/succbi/nzj/app/nzj.app/nzj_detail_1.spg?pid=%s", this.Host(), pid)})
+	res = append(res, ForwardData{Label: constructionKeys["referer"], IsUrl: true, Value: fmt.Sprintf("/publicapply/transfer?url=%s", hex.EncodeToString([]byte(fmt.Sprintf("/succbi/nzj/app/nzj.app/nzj_detail_1.spg?pid=%s", pid))))})
 	return
 }
+func HostRemove(s string) string {
+	s = strings.ReplaceAll(s, "https://", "")
+	s = strings.ReplaceAll(s, "http://", "")
+	urlArr := strings.Split(s, "/")
+	if len(urlArr) > 0 {
+		urlArr[0] = ""
+	}
+	newUrl := strings.Join(urlArr, "/")
+	return newUrl
+}

+ 13 - 13
src/jfw/modules/bigmember/src/service/follow/project.go

@@ -179,17 +179,15 @@ func (this *FollowProject) FollowDetail() {
 		if err != nil {
 			return nil, err
 		}
-		fid := util.DecodeId(this.GetString("fid")) //获取关注项目id
+		//fid := util.DecodeId(this.GetString("fid")) //获取关注项目id
 		sid := util.DecodeId(this.GetString("sid")) //获取信息id
-		if sid == "" && fid == "" {
+		if sid == "" {
 			return nil, errors.New("请求参数有误")
 		}
+		fid, _, _ := projectManager.FollowedCheck(sid)
 		//若前端未传fid,则根据sid查询获取fid
-		if fid == "" {
-			fid, _, _ = projectManager.FollowedCheck(sid)
-		}
 		var followData, projectInfo map[string]interface{}
-		if fid != "" { //已关注 查询详情
+		if fid != "" { //已关注 查询详情z
 			followData, projectInfo, err = projectManager.GetDetailByFid(fid)
 			sid = qutil.ObjToString(followData["sid"])
 			if sid != "" { //关注项目的来源信息id
@@ -204,7 +202,7 @@ func (this *FollowProject) FollowDetail() {
 			}
 		}
 		//查询结果合并
-		return mergeFollowDetail(followData, projectInfo, sid)
+		return mergeFollowDetail(followData, projectInfo, sid, fid)
 	}()
 	if errMsg != nil {
 		log.Printf("%s 项目关注详情页出错:%s\n", userId, errMsg.Error())
@@ -223,18 +221,20 @@ func GetWinnerFromProjectSet(sid string) (winner string) {
 	}
 	return
 }
-func mergeFollowDetail(followInfo, projectInfo map[string]interface{}, sid string) (map[string]interface{}, error) {
+func mergeFollowDetail(followInfo, projectInfo map[string]interface{}, sid, fid string) (map[string]interface{}, error) {
 	//未关注查看项目信息
 	visitArr := []string{}
 	if followInfo == nil {
 		followInfo = map[string]interface{}{
-			"isfollow":    false,              //是否关注
-			"sid":         util.EncodeId(sid), //关注项目的来源信息id
-			"remind":      0,                  //是否开启提醒
-			"bidopentime": nil,                //开标时间
-			"remindtime":  nil,                //提醒时间
+			"isfollow":    false,                                       //是否关注
+			"sid":         util.EncodeId(sid),                          //关注项目的来源信息id
+			"fid":         qutil.If(fid == "", "", util.EncodeId(fid)), //关注项目的来源信息id
+			"remind":      0,                                           //是否开启提醒
+			"bidopentime": nil,                                         //开标时间
+			"remindtime":  nil,                                         //提醒时间
 		}
 	} else { //已关注
+		followInfo["fid"] = qutil.If(fid == "", "", util.EncodeId(fid))
 		if followInfo["bidopentime"] == nil && projectInfo["bidopentime"] != nil {
 			followInfo["bidopentime"] = projectInfo["bidopentime"]
 		}

+ 2 - 0
src/jfw/modules/publicapply/src/go.mod

@@ -89,10 +89,12 @@ require (
 	github.com/spf13/viper v1.15.0 // indirect
 	github.com/subosito/gotenv v1.4.2 // indirect
 	github.com/tealeg/xlsx v1.0.5 // indirect
+	github.com/thinxer/go-word2vec v0.0.0-20150917053916-5c19ec7379ed // indirect
 	github.com/xdg-go/pbkdf2 v1.0.0 // indirect
 	github.com/xdg-go/scram v1.1.1 // indirect
 	github.com/xdg-go/stringprep v1.0.3 // indirect
 	github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d // indirect
+	github.com/ziutek/blas v0.0.0-20190227122918-da4ca23e90bb // indirect
 	go.etcd.io/etcd/api/v3 v3.5.6 // indirect
 	go.etcd.io/etcd/client/pkg/v3 v3.5.6 // indirect
 	go.etcd.io/etcd/client/v3 v3.5.6 // indirect

+ 4 - 0
src/jfw/modules/publicapply/src/go.sum

@@ -1132,6 +1132,8 @@ github.com/subosito/gotenv v1.4.2/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNG
 github.com/tal-tech/go-zero v1.1.5/go.mod h1:LbN0C7/rbl2+LUWTSUYx5leXmgedeMWjt1jc3/8/zFA=
 github.com/tealeg/xlsx v1.0.5 h1:+f8oFmvY8Gw1iUXzPk+kz+4GpbDZPK1FhPiQRd+ypgE=
 github.com/tealeg/xlsx v1.0.5/go.mod h1:btRS8dz54TDnvKNosuAqxrM1QgN1udgk9O34bDCnORM=
+github.com/thinxer/go-word2vec v0.0.0-20150917053916-5c19ec7379ed h1:1+oKuPuDQ4AbN1WRMFxl9WQClH80GuZ81X/4FsOshjI=
+github.com/thinxer/go-word2vec v0.0.0-20150917053916-5c19ec7379ed/go.mod h1:WE5pZgSp3RwicfhHQmOJOexA0n4AKTzBqmnSu7R8Nbk=
 github.com/tidwall/pretty v1.0.0 h1:HsD+QiTn7sK6flMKIvNmpqz1qrpP3Ps6jOKIKMooyg4=
 github.com/tidwall/pretty v1.0.0/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk=
 github.com/tklauser/go-sysconf v0.3.10/go.mod h1:C8XykCvCb+Gn0oNCWPIlcb0RuglQTYaQ2hGm7jmxEFk=
@@ -1174,6 +1176,8 @@ github.com/zenazn/goji v0.9.0/go.mod h1:7S9M489iMyHBNxwZnk9/EHS098H4/F6TATF2mIxt
 github.com/zeromicro/go-zero v1.3.5/go.mod h1:wh4o794b7Ul3W0k35Pw9nc3iB4O0OpaQTMQz/PJc1bc=
 github.com/zeromicro/go-zero v1.4.4 h1:J8M768EVFNtIQJ/GCEsoIQPanxbx2HHT0it7r69U76Y=
 github.com/zeromicro/go-zero v1.4.4/go.mod h1:5WSUwtJm0bYdDZ69GlckigcT6D0EyAPbDaX3unbSY/4=
+github.com/ziutek/blas v0.0.0-20190227122918-da4ca23e90bb h1:uWiILQloLUVdtPYr1ZZo2zqtlpzo4G8vUpglo/Fs2H8=
+github.com/ziutek/blas v0.0.0-20190227122918-da4ca23e90bb/go.mod h1:J3xKssoVdrwZ2E29fIox/EKxOZWimS7AZ4fOTCFkOLo=
 github.com/ziutek/mymysql v1.5.4/go.mod h1:LMSpPZ6DbqWFxNCHW77HeMg9I646SAhApZ/wKdgO/C0=
 go.etcd.io/bbolt v1.3.4/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ=
 go.etcd.io/etcd v0.0.0-20200402134248-51bdeb39e698/go.mod h1:YoUyTScD3Vcv2RBm3eGVOq7i1ULiz3OuXoQFWOirmAM=

+ 1 - 0
src/jfw/modules/publicapply/src/main.go

@@ -21,6 +21,7 @@ import (
 	_ "jy/src/jfw/modules/publicapply/src/message"
 	_ "jy/src/jfw/modules/publicapply/src/npsValue"
 	_ "jy/src/jfw/modules/publicapply/src/project"
+	_ "jy/src/jfw/modules/publicapply/src/transfer"
 	"net/http"
 
 	_ "jy/src/jfw/modules/publicapply/src/shareFission"

+ 280 - 0
src/jfw/modules/publicapply/src/transfer/transfer.go

@@ -0,0 +1,280 @@
+package transfer
+
+import (
+	"app.yhyue.com/moapp/jybase/go-xweb/httpsession"
+	"app.yhyue.com/moapp/jybase/go-xweb/xweb"
+	"app.yhyue.com/moapp/jypkg/common/src/qfw/util/jy"
+	"app.yhyue.com/moapp/jypkg/public"
+	"encoding/hex"
+	"fmt"
+	"jy/src/jfw/modules/publicapply/src/config"
+	"log"
+	"net/url"
+	"regexp"
+	"strings"
+)
+
+func init() {
+	xweb.AddAction(&Transfer{})
+}
+
+type Transfer struct {
+	*xweb.Action
+	transfer xweb.Mapper `xweb:"/transfer"`
+}
+
+func (this *Transfer) Transfer() error {
+	newUrl := func() string {
+		urlStr := this.GetString("url")
+		if urlStr == "" {
+			return ""
+		}
+		/*urlStr, _ = url.QueryUnescape(urlStr)*/
+		urlByte, _ := hex.DecodeString(urlStr)
+		urlStr = string(urlByte)
+		isWX := public.CheckWxBrowser(this.Request)
+		repType := "pc"
+		if isWX {
+			repType = "wx"
+		} else {
+			var mobileReg = regexp.MustCompile("(?i)(Android|Mobile|Phone)")
+			log.Println("11111", this.Request.UserAgent())
+			isApp := mobileReg.MatchString(this.Request.UserAgent())
+			if isApp {
+				repType = "app"
+			}
+		}
+		return UrlHandle(urlStr, repType, this.Session())
+	}()
+	if newUrl != "" {
+		log.Println("最近地址", newUrl)
+		return this.Redirect(newUrl)
+	}
+	return this.WriteBytes([]byte("请求异常"))
+}
+
+// 标讯
+var PCWXArticle = "/article/content/%s"
+var APPArticle = "/jyapp/article/content/%s"
+
+// 项目
+var PCProject = "/swordfish/page_big_pc/pro_follow_detail?sid=%s"
+var APPProject = "/jyapp/big/page/pro_follow_detail?sid=%s"
+var WXProject = "/big/wx/page/pro_follow_detail?sid=%s"
+var APPEntProject = "/jyapp/big/page/client_follow_detail?sid=%s&from=client"
+var WXEntProject = "/big/wx/page/client_follow_detail?sid=%s&from=client"
+
+// 拟在建项目
+var PCLandingPage = "/succbi/nzj/app/nzj.app/nzj_detail_0.spg?pid=%s"
+var AppLandingPage = "/jyapp/big/page/landingPage"
+var WXLandingPage = "/big/wx/page/landingPage"
+
+// 采购单位画像
+var PCBuyPortrait = "/swordfish/page_big_pc/unit_portrayal/%s"
+var APPBuyPortrait = "/jyapp/big/page/unit_portrayal?entName=%s"
+var WXBuyPortrait = "/big/wx/page/unit_portrayal?entName=%s"
+var PCEntBuyPortrait = "/entpc/unit_portrayal/%s"
+var APPEntBuyPortrait = "/jyapp/big/page/client_portrayal?type=replace&entName=%s"
+var WXEntBuyPortrait = "/big/wx/page/client_portrayal?entName=%s"
+
+// 企业画像
+var PCEntPortrait = "/swordfish/page_big_pc/ent_portrait/%s"
+var PCVipEntPortrait = "/swordfish/page_big_pc/svip/ent_ser_portrait/%s"
+var APPEntPortrait = "/jyapp/big/page/ent_portrait?eId=%s"
+var WXEntPortrait = "/weixin/frontPage/collection/sess/ent_portrait?eId=%s"
+
+func UrlHandle(urlStr string, repType string, u *httpsession.Session) string {
+	newUrl := ""
+	lastPath, queryMap := QueryHadle(urlStr)
+	if strings.Contains(urlStr, "/jyapp/article/content") {
+		//移动端地址
+		if repType == "app" {
+			newUrl = fmt.Sprintf(APPArticle, lastPath)
+		} else if repType == "wx" {
+			newUrl = fmt.Sprintf(PCWXArticle, lastPath)
+		} else {
+			newUrl = fmt.Sprintf(PCWXArticle, lastPath)
+		}
+		return newUrl
+	}
+	if strings.Contains(urlStr, "/article/content") {
+		//可能是pc或者微信地址
+		if repType == "app" {
+			newUrl = fmt.Sprintf(APPArticle, lastPath)
+		} else if repType == "wx" {
+			newUrl = fmt.Sprintf(PCWXArticle, lastPath)
+		} else {
+			newUrl = fmt.Sprintf(PCWXArticle, lastPath)
+		}
+	}
+
+	if strings.Contains(urlStr, "/pro_follow_detail") {
+		//移动端项目详情页
+		if repType == "app" {
+			newUrl = fmt.Sprintf(APPProject, url.QueryEscape(strings.Join(queryMap["sid"], "")))
+		} else if repType == "wx" {
+			newUrl = fmt.Sprintf(WXProject, url.QueryEscape(strings.Join(queryMap["sid"], "")))
+		} else {
+			newUrl = fmt.Sprintf(PCProject, url.QueryEscape(strings.Join(queryMap["sid"], "")))
+		}
+	}
+	if strings.Contains(urlStr, "/client_follow_detail") {
+		//商机管理项目详情页
+		if repType == "app" {
+			newUrl = fmt.Sprintf(APPEntProject, url.QueryEscape(strings.Join(queryMap["sid"], "")))
+		} else if repType == "wx" {
+			newUrl = fmt.Sprintf(WXEntProject, url.QueryEscape(strings.Join(queryMap["sid"], "")))
+		} else {
+			newUrl = fmt.Sprintf(PCProject, url.QueryEscape(strings.Join(queryMap["sid"], "")))
+		}
+	}
+	if strings.Contains(urlStr, "/succbi/nzj/app/nzj.app") {
+		//pc拟在建项目
+		if repType == "app" {
+			newUrl = AppLandingPage
+		} else if repType == "wx" {
+			newUrl = WXLandingPage
+		} else {
+			newUrl = fmt.Sprintf(PCLandingPage, url.QueryEscape(strings.Join(queryMap["pid"], "")))
+		}
+	}
+	if strings.Contains(urlStr, "/swordfish/page_big_pc/svip/ent_ser_portrait") || strings.Contains(urlStr, "/swordfish/page_big_pc/ent_portrait") {
+		//pc企业画像
+		Big := jy.GetBigVipUserBaseMsg(u, *config.Middleground)
+		if repType == "app" {
+			newUrl = fmt.Sprintf(APPEntPortrait, lastPath)
+		} else if repType == "wx" {
+			newUrl = fmt.Sprintf(WXEntPortrait, lastPath)
+		} else {
+			if Big.Status > 0 {
+				newUrl = fmt.Sprintf(PCEntPortrait, lastPath)
+			} else if Big.VipStatus > 0 {
+				newUrl = fmt.Sprintf(PCVipEntPortrait, lastPath)
+			} else {
+				newUrl = fmt.Sprintf(PCEntPortrait, lastPath)
+			}
+		}
+	}
+	if strings.Contains(urlStr, "/jyapp/big/page/ent_portrait") {
+		//移动端企业画像
+		//权限获取
+		Big := jy.GetBigVipUserBaseMsg(u, *config.Middleground)
+		if repType == "app" {
+			newUrl = fmt.Sprintf(APPEntPortrait, url.QueryEscape(strings.Join(queryMap["eId"], "")))
+		} else if repType == "wx" {
+			newUrl = fmt.Sprintf(WXEntPortrait, url.QueryEscape(strings.Join(queryMap["eId"], "")))
+		} else {
+			if Big.Status > 0 {
+				newUrl = fmt.Sprintf(PCEntPortrait, url.QueryEscape((strings.Join(queryMap["eId"], ""))))
+			} else if Big.VipStatus > 0 {
+				newUrl = fmt.Sprintf(PCVipEntPortrait, url.QueryEscape(strings.Join(queryMap["eId"], "")))
+			} else {
+				newUrl = fmt.Sprintf(PCEntPortrait, url.QueryEscape(strings.Join(queryMap["eId"], "")))
+			}
+		}
+	}
+	if strings.Contains(urlStr, "/weixin/frontPage/collection/sess/ent_portrait") {
+		//微信端企业画像
+		Big := jy.GetBigVipUserBaseMsg(u, *config.Middleground)
+		if repType == "app" {
+			newUrl = fmt.Sprintf(APPEntPortrait, url.QueryEscape(strings.Join(queryMap["eId"], "")))
+		} else if repType == "wx" {
+			newUrl = fmt.Sprintf(WXEntPortrait, url.QueryEscape(strings.Join(queryMap["eId"], "")))
+		} else {
+			if Big.Status > 0 {
+				newUrl = fmt.Sprintf(PCEntPortrait, url.QueryEscape(strings.Join(queryMap["eId"], "")))
+			} else if Big.VipStatus > 0 {
+				newUrl = fmt.Sprintf(PCVipEntPortrait, url.QueryEscape(strings.Join(queryMap["eId"], "")))
+			} else {
+				newUrl = fmt.Sprintf(PCEntPortrait, url.QueryEscape(strings.Join(queryMap["eId"], "")))
+			}
+		}
+	}
+	if strings.Contains(urlStr, "/swordfish/page_big_pc/unit_portrayal") {
+		//pc采购单位画像
+		lastPath, queryMap = NameQueryHadle(urlStr)
+		if repType == "app" {
+			newUrl = fmt.Sprintf(APPBuyPortrait, lastPath)
+		} else if repType == "wx" {
+			newUrl = fmt.Sprintf(WXBuyPortrait, lastPath)
+		} else {
+			newUrl = fmt.Sprintf(PCBuyPortrait, lastPath)
+		}
+	}
+	if strings.Contains(urlStr, "/jyapp/big/page/unit_portrayal") {
+		//移动端采购单位画像
+		if repType == "app" {
+			newUrl = fmt.Sprintf(APPBuyPortrait, url.QueryEscape(strings.Join(queryMap["entName"], "")))
+		} else if repType == "wx" {
+			newUrl = fmt.Sprintf(WXBuyPortrait, url.QueryEscape(strings.Join(queryMap["entName"], "")))
+		} else {
+			newUrl = fmt.Sprintf(PCBuyPortrait, url.QueryEscape(strings.Join(queryMap["entName"], "")))
+		}
+	}
+	if strings.Contains(urlStr, "/big/wx/page/unit_portrayal") {
+		//微信端采购单位画像
+		if repType == "app" {
+			newUrl = fmt.Sprintf(APPBuyPortrait, url.QueryEscape(strings.Join(queryMap["entName"], "")))
+		} else if repType == "wx" {
+			newUrl = fmt.Sprintf(WXBuyPortrait, url.QueryEscape(strings.Join(queryMap["entName"], "")))
+		} else {
+			newUrl = fmt.Sprintf(PCBuyPortrait, url.QueryEscape(strings.Join(queryMap["entName"], "")))
+		}
+	}
+	if strings.Contains(urlStr, "/entpc/unit_portrayal") {
+		//商机管理pc采购单位画像
+		lastPath, queryMap = NameQueryHadle(urlStr)
+		if repType == "app" {
+			newUrl = fmt.Sprintf(APPEntBuyPortrait, lastPath)
+		} else if repType == "wx" {
+			newUrl = fmt.Sprintf(WXEntBuyPortrait, lastPath)
+		} else {
+			newUrl = fmt.Sprintf(PCEntBuyPortrait, lastPath)
+		}
+	}
+	if strings.Contains(urlStr, "/jyapp/big/page/client_portrayal") {
+		//商机管理移动端采购单位画像
+		if repType == "app" {
+			newUrl = fmt.Sprintf(APPEntBuyPortrait, url.QueryEscape(strings.Join(queryMap["entName"], "")))
+		} else if repType == "wx" {
+			newUrl = fmt.Sprintf(WXEntBuyPortrait, url.QueryEscape(strings.Join(queryMap["entName"], "")))
+		} else {
+			newUrl = fmt.Sprintf(PCEntBuyPortrait, url.QueryEscape(strings.Join(queryMap["entName"], "")))
+		}
+	}
+	if strings.Contains(urlStr, "/big/wx/page/client_portrayal") {
+		//商机管理微信端采购单位画像
+		if repType == "app" {
+			newUrl = fmt.Sprintf(APPEntBuyPortrait, url.QueryEscape(strings.Join(queryMap["entName"], "")))
+		} else if repType == "wx" {
+			newUrl = fmt.Sprintf(WXEntBuyPortrait, url.QueryEscape(strings.Join(queryMap["entName"], "")))
+		} else {
+			newUrl = fmt.Sprintf(PCEntBuyPortrait, url.QueryEscape(strings.Join(queryMap["entName"], "")))
+		}
+	}
+	return newUrl
+}
+func QueryHadle(urlStr string) (string, url.Values) {
+	u, err := url.Parse(urlStr)
+	if err != nil {
+		return "", nil
+	}
+	pathArr := []string{}
+	if u.RawPath == "" {
+		pathArr = strings.Split(u.Path, "/")
+	} else {
+		pathArr = strings.Split(u.RawPath, "/")
+	}
+	m, _ := url.ParseQuery(u.RawQuery)
+	return pathArr[len(pathArr)-1], m
+}
+func NameQueryHadle(urlStr string) (string, url.Values) {
+	urlStr, _ = url.QueryUnescape(urlStr)
+	u, err := url.Parse(urlStr)
+	if err != nil {
+		return "", nil
+	}
+	pathArr := strings.Split(u.Path, "/")
+	m, _ := url.ParseQuery(u.RawQuery)
+	return pathArr[len(pathArr)-1], m
+}

+ 1 - 2
src/jfw/modules/subscribepay/src/go.mod

@@ -3,13 +3,12 @@ module jy/src/jfw/modules/subscribepay/src
 go 1.18
 
 require (
-	app.yhyue.com/moapp/jybase v0.0.0-20230517064222-e0bdfc8ee0e8
+	app.yhyue.com/moapp/jybase v0.0.0-20230614085041-f8f20842d5cb
 	app.yhyue.com/moapp/jylog v0.0.0-20230522075550-05d7230ca545
 	app.yhyue.com/moapp/jypkg v0.0.0-20230517064346-54ec66481628
 	bp.jydev.jianyu360.cn/BaseService/pushpkg v0.0.0-20230225061813-384daf716c9d
 	bp.jydev.jianyu360.cn/BaseService/userCenter v1.2.13
 	github.com/SKatiyar/qr v0.0.0-20151201054752-25b6bdf44e67
-	github.com/dchest/captcha v1.0.0
 	github.com/gogf/gf/v2 v2.3.3
 	github.com/shopspring/decimal v1.3.1
 	github.com/tealeg/xlsx v1.0.5

+ 2 - 4
src/jfw/modules/subscribepay/src/go.sum

@@ -5,8 +5,8 @@ app.yhyue.com/moapp/jyMarketing v0.0.2-0.20230304035551-21bb1eedf547/go.mod h1:J
 app.yhyue.com/moapp/jyPoints v1.1.1/go.mod h1:SvP8p5L3jGrejHiH2LXfgCg/NPlFiKBC5Yd0gsI12FU=
 app.yhyue.com/moapp/jybase v0.0.0-20220427020729-974c1a148186/go.mod h1:qNRA0sHuYqcLoYoP8irpaWnW9YsXixe6obBIkwaXpD0=
 app.yhyue.com/moapp/jybase v0.0.0-20230117032034-ad7c00ffe11a/go.mod h1:zB47XTeJvpcbtBRYgkQuxOICWNexiZfbUO+7aUf6mNs=
-app.yhyue.com/moapp/jybase v0.0.0-20230517064222-e0bdfc8ee0e8 h1:0ukFbYC7yRkFvRsr0bFCgV2SHsc1TvE+kW5MlttQEzE=
-app.yhyue.com/moapp/jybase v0.0.0-20230517064222-e0bdfc8ee0e8/go.mod h1:zB47XTeJvpcbtBRYgkQuxOICWNexiZfbUO+7aUf6mNs=
+app.yhyue.com/moapp/jybase v0.0.0-20230614085041-f8f20842d5cb h1:fT7FIKElKjkRHTmDxXPeNr5LWe2RmyJU+5aod1nptek=
+app.yhyue.com/moapp/jybase v0.0.0-20230614085041-f8f20842d5cb/go.mod h1:D40Ae0rQilH8Hc5o2Vtt04Tjh/DNEFpcS3/WkJMPJb8=
 app.yhyue.com/moapp/jylog v0.0.0-20230522075550-05d7230ca545 h1:+Lak4m1zgsigQloOsvp8AJ+0XeX/+PGp9QP550xlbBQ=
 app.yhyue.com/moapp/jylog v0.0.0-20230522075550-05d7230ca545/go.mod h1:uFrsdUBFbETiJlEmr4PtJWPsZlUpPj2bHQRhryu6ggk=
 app.yhyue.com/moapp/jypkg v0.0.0-20230517064346-54ec66481628 h1:JrlY3EGZv+sNffZSRXNFSCYtudPXKD3Dks3970vqJ40=
@@ -494,8 +494,6 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs
 github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
 github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
 github.com/dchest/captcha v0.0.0-20200903113550-03f5f0333e1f/go.mod h1:QGrK8vMWWHQYQ3QU9bw9Y9OPNfxccGzfb41qjvVeXtY=
-github.com/dchest/captcha v1.0.0 h1:vw+bm/qMFvTgcjQlYVTuQBJkarm5R0YSsDKhm1HZI2o=
-github.com/dchest/captcha v1.0.0/go.mod h1:7zoElIawLp7GUMLcj54K9kbw+jEyvz2K0FDdRRYhvWo=
 github.com/denisenkom/go-mssqldb v0.0.0-20190707035753-2be1aa521ff4/go.mod h1:zAg7JM8CkOJ43xKXIj7eRO9kmWm/TW578qo+oDO6tuM=
 github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ=
 github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f h1:lO4WD4F/rVNCu3HqELle0jiPLLBs70cWOduZpkS1E78=

+ 1 - 1
src/jfw/modules/subscribepay/src/service/userAccountInfo.go

@@ -24,7 +24,7 @@ import (
 	"app.yhyue.com/moapp/jybase/usercenter"
 	"app.yhyue.com/moapp/jypkg/common/src/qfw/util/jy"
 	"bp.jydev.jianyu360.cn/BaseService/userCenter/rpc/pb"
-	"github.com/dchest/captcha"
+	"app.yhyue.com/moapp/jybase/dchest/captcha"
 )
 
 type UserAccount struct {

+ 1 - 1
src/jfw/modules/subscribepay/src/service/vipSubscribeTrial.go

@@ -17,7 +17,7 @@ import (
 	"app.yhyue.com/moapp/jybase/go-xweb/httpsession"
 	"app.yhyue.com/moapp/jybase/go-xweb/xweb"
 	"app.yhyue.com/moapp/jypkg/common/src/qfw/util/jy"
-	"github.com/dchest/captcha"
+	"app.yhyue.com/moapp/jybase/dchest/captcha"
 	"go.mongodb.org/mongo-driver/bson"
 )
 

+ 3 - 2
src/main.go

@@ -1,13 +1,14 @@
 package main
 
 import (
-	"app.yhyue.com/moapp/jybase/fsw"
-	"app.yhyue.com/moapp/jylog"
 	_ "jy/src/jfw/active"
 	"jy/src/jfw/config"
 	. "jy/src/jfw/config"
 	_ "jy/src/jfw/site"
 
+	"app.yhyue.com/moapp/jybase/fsw"
+	"app.yhyue.com/moapp/jylog"
+
 	// _ "jy/src/jfw/modules/app/src/jfw/course"  线下课程 dev3.5.2 21年2.24 下线
 	_ "jy/src/jfw/filter"
 	"jy/src/jfw/front"

+ 813 - 0
src/web/staticres/brand/css/index.css

@@ -0,0 +1,813 @@
+/* 公共 */
+.w1200{
+  width: 1200px;
+  margin: 0 auto;
+}
+.jy-index .module-title{
+  padding-bottom: 40px;
+  text-align: center;
+  color: #1D1D1D;
+  font-size: 28px;
+  line-height: 36px;
+  letter-spacing: 0.1em;
+}
+.jy-index .card-time{
+  position: relative;
+  display: inline-block;
+  padding: 0 16px;
+  color: #2CB7CA;
+  font-size: 14px;
+  line-height: 22px;
+  font-style: oblique;
+}
+
+/* banner */
+.jy-index-banner{
+  width: 100%;
+  height: 500px;
+  overflow: hidden;
+}
+.jy-index-banner > .swiper-container,
+.jy-index-banner > .swiper-container .swiper-slide{
+  width: 100%;
+  height: 100%;
+  overflow: hidden;
+  cursor: pointer;
+}
+.jy-index-banner .swiper-slide > img{
+  width: 100%;
+  height: 500px;
+  object-fit: cover;
+}
+.jy-index-banner .custom-dot {
+  bottom: 28px;
+}
+.jy-index-banner .custom-dot .swiper-pagination-bullet{
+  width: 40px;
+  height: 4px;
+  margin: 0 8px;
+  background: rgba(0, 0, 0, 0.2);
+  border-radius: 10px;
+  cursor: pointer;
+  opacity: 1;
+}
+.jy-index-banner .custom-dot.light-swiper-bg-light-color .swiper-pagination-bullet {
+  background: rgba(255, 255, 255, 0.32);
+  opacity: 1;
+}
+.jy-index-banner .custom-dot.light-swiper-bg-light-color .swiper-pagination-bullet-active {
+  background: #fff
+}
+.jy-index-banner .custom-dot .swiper-pagination-bullet-active{
+  background: #2CB7CA;
+}
+.jy-index-banner .swiper-pagination-bullet:only-child{
+  display: none!important;
+}
+
+/* 公司动态 */
+.jy-index-dt{
+  width: 100%;
+  height: 730px;
+  padding: 56px 0;
+  background: url(/images/index/dt-bg.png) no-repeat center;
+  background-size: cover;
+}
+.jy-index-dt .more{
+  text-align: right;
+}
+.jy-index-dt .more .item-link{
+  color: #686868;
+  font-size: 14px;
+  line-height: 24px;
+  text-decoration: none;
+  padding-right: 24px;
+  background: url(/images/index/link-arrow.png) right center no-repeat;
+  background-size: 20px 20px;
+}
+
+.jy-index-dt .item-link:hover{
+  background: url(/images/index/link-arrow-active.png) right center no-repeat;
+  background-size: 20px 20px;
+  color: #2CB7CA;
+}
+.jy-index-dt .dt-container{
+  display: flex;
+  align-items: center;
+  margin-top: 16px;
+}
+.jy-index-dt .dt-container .dt-card{
+  flex-shrink: 0;
+  width: 380px;
+  height: 500px;
+  margin-right: 30px;
+  background: #FFFFFF;
+  box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.1);
+  cursor: pointer;
+  overflow: hidden;
+  border-radius: 8px;
+  /* transition-property: transform,top;
+  transition-duration: 1s,0.3s; */
+}
+/* .jy-index-dt .dt-container .dt-card:hover{
+  transform: scale(1.08);
+  top: 10px;
+} */
+.jy-index-dt .dt-container .dt-card:last-child{
+  margin-right: 0;
+}
+.jy-index-dt .dt-card .card-img{
+  width: 100%;
+  height: 252px;
+  overflow: hidden;
+
+}
+.jy-index-dt .dt-card .card-img > img{
+  width: 100%;
+  height: 100%;
+  transition: all 0.6s;
+}
+.jy-index-dt .dt-card .card-img > img:hover{
+  transform: scale(1.1);
+}
+.jy-index-dt .dt-card .card-main{
+  padding: 28px;
+}
+.jy-index-dt .dt-card .card-title{
+  margin-top: 20px;
+  height: 72px;
+  font-size: 24px;
+  line-height: 36px;
+  color: #333333;
+  overflow: hidden;
+}
+.jy-index-dt .dt-card .card-summary{
+  margin-top: 10px;
+  font-size: 14px;
+  line-height: 22px;
+  color: #686868;
+  text-align: justify;
+}
+.jy-index-dt .dt-card:hover .card-title{
+  color: #2CB7CA;
+}
+
+/* 核心产品 */
+.jy-index-product{
+  padding: 70px 0;
+}
+.jy-index-product .main-product,
+.jy-index-product .other-product{
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
+  margin-top: 15px;
+}
+.jy-index-product .main-product-item {
+  position: relative;
+  width: 588px;
+  height: 216px;
+  padding: 0 32px;
+  background-repeat: no-repeat;
+  background-position: center;
+  background-size: 100% 100%;
+  cursor: pointer;
+  overflow: hidden;
+}
+.jy-index-product .other-product-item{
+  position: relative;
+  width: 384px;
+  height: 216px;
+  padding: 0 32px;
+  background-repeat: no-repeat;
+  background-position: center;
+  background-size: 100% 100%;
+  cursor: pointer;
+  overflow: hidden;
+}
+
+.jy-index-product .svip-product{
+  background-image: url(/images/index/svip-product.png);
+}
+.jy-index-product .bigmember-product{
+  background-image: url(/images/index/bigmember-product.png);
+}
+.jy-index-product .buyer-product{
+  background-image: url(/images/index/buyer-product.png);
+}
+.jy-index-product .agency-product{
+  background-image: url(/images/index/agency-product.png);
+}
+.jy-index-product .data-market-product{
+  background-image: url(/images/index/data-market-product.png);
+}
+.jy-index-product .p-link{
+  position: absolute;
+  top: 24px;
+  display: none;
+  padding-right: 32px;
+  background: url(/images/index/link-arrow.png) 60px center no-repeat;
+  background-size: 20px 20px;
+  font-size: 14px;
+  line-height: 22px;
+  color: #686868;
+}
+
+.jy-index-product .p-name{
+  padding: 150px 0 0;
+  font-size: 24px;
+  line-height: 36px;
+}
+.jy-index-product .main-product-item .p-name{
+  color: #fff;
+  transition: All 0.4s ease-in-out;
+  -webkit-transition: All 0.4s ease-in-out;
+  -moz-transition: All 0.4s ease-in-out;
+  -o-transition: All 0.4s ease-in-out;
+}
+.jy-index-product .other-product-item .p-name{
+  color: #1D1D1D;
+  transition: All 0.4s ease-in-out;
+  -webkit-transition: All 0.4s ease-in-out;
+  -moz-transition: All 0.4s ease-in-out;
+  -o-transition: All 0.4s ease-in-out;
+}
+
+.jy-index-product .p-detail{
+  /* display: none; */
+  margin-top: 100px;
+  max-width: 262px;
+  text-align: justify;
+  transition: All 0.4s ease-in-out;
+  -webkit-transition: All 0.4s ease-in-out;
+  -moz-transition: All 0.4s ease-in-out;
+  -o-transition: All 0.4s ease-in-out;
+}
+.jy-index-product .other-product-item:hover{
+  /* position: relative; */
+  display: inline-block;
+  /* margin: 0px; */
+  max-width: 100%;
+  color: #fff;
+  overflow: hidden;
+}
+.jy-index-product .main-product-item:hover .p-link{
+  display: block;
+  color: #fff;
+  padding-right: 32px;
+  background: url(/images/index/link-arrow-light.png) 60px center no-repeat;
+  background-size: 20px 20px;
+  transition: All 0.8s ease-in-out;
+  -webkit-transition: All 0.8s ease-in-out;
+  -moz-transition: All 0.8s ease-in-out;
+  -o-transition: All 0.8s ease-in-out;
+}
+.jy-index-product .main-product-item:hover .p-name{
+  padding-top: 96px;
+}
+.jy-index-product .main-product-item:hover .p-detail{
+  margin-top: 8px;
+  font-size: 14px;
+  color: #fff;
+  line-height: 20px;
+}
+.jy-index-product .other-product-item:hover .p-link{
+  display: block;
+  transition: All 0.8s ease-in-out;
+  -webkit-transition: All 0.8s ease-in-out;
+  -moz-transition: All 0.8s ease-in-out;
+  -o-transition: All 0.8s ease-in-out;
+}
+.jy-index-product .other-product-item:hover .p-name{
+  padding-top: 116px;
+}
+.jy-index-product .other-product-item:hover .p-detail{
+  max-width: 234px;
+  line-height: 20px;
+  margin-top: 8px;
+  color: #1D1D1D;
+  font-size: 14px;
+}
+
+/* 行业解决方案 */
+.jy-index-plan{
+  width: 100%;
+  height: 570px;
+  padding: 56px 0;
+  background: url(/images/index/plan-bg.png) no-repeat center center;
+  background-size: 100% 100%;
+}
+.jy-index-plan .plan-container{
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
+  margin-top: 40px;
+}
+.jy-index-plan .plan-item{
+  position: relative;
+  width: 384px;
+  height: 340px;
+  padding: 0 42px;
+  background: #fff;
+  border-radius: 8px;
+  box-sizing: border-box;
+  cursor: pointer;
+}
+
+.jy-index-plan .plan-item-1 > .item-icon{
+  position: absolute;
+  right: 24px;
+  top: -40px;
+  width: 150px;
+  height: 150px;
+  background: url(/images/index/plan-item-1.png) no-repeat center center;
+  background-size: contain;
+}
+.jy-index-plan .plan-item-2 > .item-icon{
+  position: absolute;
+  right: 24px;
+  top: -40px;
+  width: 150px;
+  height: 150px;
+  background: url(/images/index/plan-item-2.png) no-repeat center center;
+  background-size: contain;
+}
+.jy-index-plan .plan-item-3 > .item-icon{
+  position: absolute;
+  right: 24px;
+  top: -40px;
+  width: 150px;
+  height: 130px;
+  background: url(/images/index/plan-item-3.png) no-repeat center center;
+  background-size: contain;
+}
+.jy-index-plan .item-header{
+  padding-top: 60px;
+  color: #1D1D1D;
+  font-size: 24px;
+  line-height: 28px;
+}
+
+.jy-index-plan .item-content{
+  padding-top: 48px;
+  font-size: 14px;
+  line-height: 26px;
+  letter-spacing: 0.08em;
+  color: #1D1D1D;
+  text-align: justify;
+}
+.jy-index-plan .item-link{
+  position: absolute;
+  padding-right: 24px;
+  bottom: 24px;
+  font-size: 14px;
+  line-height: 22px;
+  color: #686868;
+  background: url(/images/index/link-arrow.png) right center no-repeat;
+  background-size: 20px 20px;
+}
+
+.jy-index-plan .plan-item:hover{
+  background: url(/images/index/plan-hover.png) no-repeat bottom center #fff;
+  background-size: 384px 135px;
+}
+
+.jy-index-plan .plan-item:hover::after{
+  position: absolute;
+  content: '';
+  top: 0;
+  left: 42px;
+  width: 50px;
+  height: 4px;
+  background: linear-gradient(90deg, #95CDFF 1.92%, #2CB7CA 100%);
+  -webkit-animation: borderTo 0.5s alternate 1 ease;
+  animation: borderTo 0.5s alternate 1 ease;
+}
+.jy-index-plan .plan-item:hover .item-header,
+.jy-index-plan .plan-item:hover .item-link
+{
+  color: #2ABED1;
+  transition: all 0.5s;
+}
+.jy-index-plan .plan-item:hover .item-link{
+  background: url(/images/index/link-arrow-active.png) right center no-repeat;
+  background-size: 20px 20px;
+}
+
+@-webkit-keyframes borderTo {
+  from {
+    left: 0;
+  }
+  to {
+    left: 42px;
+  }
+}
+@keyframes borderTo {
+  from {
+    left: 0;
+  }
+  to {
+    left: 42px;
+  }
+}
+
+/* 合作伙伴 */
+.jy-index-partners{
+  width: 100%;
+  padding: 70px 0;
+  background: #FFF;
+}
+.jy-index-partners .swiper-wrapper{
+  -webkit-transition-timing-function: linear !important;
+  -moz-transition-timing-function: linear !important;
+  -ms-transition-timing-function: linear !important;
+  -o-transition-timing-function: linear !important;
+  transition-timing-function: linear !important;
+}
+.jy-index-partners .swiper-slide{
+  width: auto!important;
+  padding: 4px 8px;
+  text-align: center;
+}
+.jy-index-partners img{
+  display: inline-block;
+  width: 152px;
+  height: 100px;
+  transition: ease 0.3s;
+  position: relative;
+  /* cursor: pointer; */
+}
+.jy-index-partners ul li{
+  width: 130px;
+  height: 100px;
+  margin: 2px;
+  transition: ease 0.3s;
+  position: relative;
+}
+.jy-index-partners ul li img{
+  width: 130px;
+  height: 100px;
+}
+.jy-index-partners ul li:hover img{
+  border-radius: 8px;
+  /* box-shadow: 0px 0px 4px 4px rgb(233, 230, 230);  */
+  box-shadow: 0px 0px 24px rgb(0 0 0 / 16%);
+  position: absolute;
+  z-index: 1;
+}
+
+
+/*******************底部************************/
+.pc-index-bottom{
+  position: fixed;
+  bottom: 0;
+  left: 0;
+  right: 0;
+  display: flex;
+  justify-content: center;
+  width: 100%;
+  z-index: 999;
+}
+
+.pc-index-bottom > .bottom-member-ad {
+  display: inline-block;
+  width: 100%;
+  height: 100%;
+  max-height: 200px;
+  object-fit: contain;
+  cursor: pointer;
+}
+
+.j-bottom{
+  background-color: #2B2D30;
+  color: #fff;
+  padding: 40px 0px 25px 0px;
+  text-align: center;
+  font-weight: normal;
+}
+.j-bottom>div{
+  width: 1200px;
+  margin: 0px auto;
+}
+.j-bottom-b,.j-bottom-t{
+  display: inline-block;
+  vertical-align: top;
+}
+.j-bottom-t a{
+  color: #fff;
+  margin: 0px 10px;
+  text-decoration: none;
+}
+.j-bottom-t a:first-of-type{
+  margin-left: 0px;
+}
+.j-bottom-t [type="text"]{
+  height: 50px;
+  width: 450px;
+  border-radius: 0px;
+  background-color: #3E3D42;
+  padding-left: 20px;
+  border-width: 0px;
+  font-size: 16px;
+  padding-right: 40px;
+}
+.j-bottom-t [type="text"]::-webkit-input-placeholder{
+  color: #A9A9A9;
+}
+.j-bottom-t form{
+  margin-top: 10px;
+}
+.j-bottom-t .j-inputgroup{
+  position: relative;
+}
+.j-bottom-t .j-searchbtn{
+  display: inline-block;
+  width: 65px;
+  border: 2px solid #fff;
+  height: 48px;
+  vertical-align: top;
+  padding-top: 9px;
+  cursor: pointer;
+}
+.j-bottom-t>div:first-of-type{
+  margin-top: 45px;
+  font-size: 16px;
+}
+.j-bottom-t>div:last-of-type{
+  color: #B9B9BB;
+  margin-top: 20px;
+}
+.j-bottom-b{
+  margin-left: 250px;
+  line-height: 25px;
+  font-size: 14px;
+}
+.j-bottom-b>img{
+  width: 120px;
+  height: 120px;
+  margin-bottom: 5px;
+}
+.j-bottom-b>font:first-of-type{
+  font-size: 16px;
+}
+.backTop{
+  width: 44px;
+  height: 44px;
+  position: fixed;
+  right: 10px;
+  bottom: 10px;
+  cursor: pointer;
+  display: none;
+}
+.backTop-a{
+  bottom: 340px;
+  position: absolute;
+  z-index: 1;
+}
+/*底部*/
+.j-bottom{
+  line-height:22px;
+  position: relative;
+  padding-bottom: 65px;
+}
+
+
+/* 友情链接 */
+.jy_friendlink{
+  color: rgba(255,255,255,.8);
+  display: flex;
+  padding: 0px 0 32px;
+  border-bottom: 1px solid rgba(255,255,255,0.12);
+}
+.jy_friendlink_content ul li{
+  padding: 0 16px;
+}
+.jy_friendlink_title{
+  margin-right: 40px;
+  word-break: keep-all;
+}
+.jy_friendlink_content ul li img{
+  height: 28px;
+}
+
+
+.jy_classify{
+  padding: 32px 0 68px;
+  display: flex;
+  justify-content: space-between;
+}
+.jy_classify_l{
+  position: relative;
+  display: flex;
+  /* border-right: 1px solid rgba(255, 255, 255, 0.12); */
+}
+.jy_classify_l::after{
+  position: absolute;
+  content: '';
+  top: 0;
+  right: -28px;
+  width: 1px;
+  height: 168px;
+  background: rgba(255, 255, 255, 0.12);
+  z-index: 9;
+}
+.jy_classify_l dl{
+  margin-right: 40px;
+  flex: 1;
+}
+.jy_classify_l dl dt,
+.jy_classify_l dl dt > a{
+  font-size: 14px;
+  color: rgba(255,255,255,.8);
+  line-height: 22px;
+  margin-bottom: 8px;
+  white-space: nowrap;
+  font-weight: 400;
+}
+.jy_classify_l dl dt > a:hover{
+  text-decoration: none;
+  color: #2cb7ca;
+}
+
+.jy_classify_l dl dd{
+  position: relative;
+}
+.jy_classify_l dl dd a{
+  display: block;
+  font-size: 12px;
+  color: rgba(255,255,255,.6);
+  line-height: 20px;
+  white-space: nowrap;
+}
+.jy_classify_l dl dd a:hover{
+  text-decoration: none;
+  color: #2cb7ca;
+}
+.jy_classify_l dl dd:hover .jy_community{
+  display: block;
+}
+.jy_classify_l dl dd .jy_community{
+  display: none;
+  position: absolute;
+  right: -130px;
+  top: -50px;
+  background: #fff;
+  border-radius: 4px;
+  width: 120px;
+  padding: 10px 10px 5px;
+}
+.jy_classify_l dl dd .jy_community p{
+  color: #1d1d1d;
+  font-size: 14px;
+  text-align: center;
+}
+.jy_classify_l dl dd .jy_community img{
+  width: 100px;
+}
+.jy_classify_r .jy_classify_kefu{
+  display: flex;
+  /* align-items: center; */
+  flex-direction: column;
+}
+.jy_classify_r .jy_classify_kefu img{
+  width: 128px;
+}
+.jy_classify_r .jy_classify_kefu span{
+  font-size: 16px;
+  color: rgba(255,255,255,.8);
+  line-height: 22px;
+  height: 24px;
+  line-height: 24px;
+  padding-left: 25px;
+  background: url(/images/pc/phone-grey.png) no-repeat left center;
+  background-size: 20px;
+  /* margin-left: 20px; */
+  margin-top: 12px;
+  white-space: nowrap;
+}
+.jy_classify_list ul{
+  margin-top: 16px;
+  display: flex;
+}
+.jy_classify_list ul li{
+  position: relative;
+  margin-right: 8px;
+}
+.jy_classify_list ul li span{
+  display: block;
+  width: 40px;
+  height: 40px;
+  background: #fff;
+  cursor: pointer;
+}
+.jy_classify_list ul li span a{
+  display: block;
+  height: 40px;
+}
+.jy_classify_list ul li:nth-child(1) span{
+  background: url(/images/pc/phone_white.png) no-repeat left center;
+  background-size: 40px;
+}
+.jy_classify_list ul li:nth-child(2) span{
+  background: url(/images/pc/window_white.png) no-repeat left center;
+  background-size: 40px;
+}
+.jy_classify_list ul li:nth-child(3) span{
+  background: url(/images/pc/ios_white.png) no-repeat left center;
+  background-size: 40px;
+}
+.jy_classify_list ul li:nth-child(4) span{
+  background: url(/images/pc/weixin_white.png) no-repeat left center;
+  background-size: 40px;
+}
+.jy_classify_list ul li:nth-child(5) span{
+  background: url(/images/pc/qq_white.png) no-repeat left center;
+  background-size: 40px;
+}
+.jy_classify_list ul li:nth-child(1).active span{
+  background: url(/images/pc/phone_light.png) no-repeat left center;
+  background-size: 40px;
+}
+.jy_classify_list ul li:nth-child(2).active span{
+  background: url(/images/pc/window_light.png) no-repeat left center;
+  background-size: 40px;
+}
+.jy_classify_list ul li:nth-child(3).active span{
+  background: url(/images/pc/ios_light.png) no-repeat left center;
+  background-size: 40px;
+}
+.jy_classify_list ul li:nth-child(4).active span{
+  background: url(/images/pc/weixin_light.png) no-repeat left center;
+  background-size: 40px;
+}
+.jy_classify_list ul li:nth-child(5).active span{
+  background: url(/images/pc/qq_light.png) no-repeat left center;
+  background-size: 40px;
+}
+.jy_classify_list ul li div{
+  position: absolute;
+  bottom: 0;
+  left: 50%;
+  transform: translate(-20%,106%);
+  width:80px;
+  height: 98px;
+  background: #fff;
+  display: none;
+  border-radius: 4px;
+  overflow: hidden;
+  z-index: 9;
+}
+.jy_classify_list ul li img{
+  width: 80px;
+}
+.jy_classify_list ul li:nth-child(1) div{
+  display: block;
+}
+.jy_classify_list ul li div p{
+  color: #1d1d1d;
+  font-size: 14px;
+  line-height: 20px;
+  text-align: center;
+  position: absolute;
+  bottom: 2px;
+  left: 13px;
+}
+
+
+
+.jy_proandcify{
+  text-align:left;
+  /* width:880px;
+  float:left; */
+}
+.jy_imgright{
+  float:right;
+  text-align:center;
+  width:194px;
+  /*	width:240px;*/
+}
+.jy_imgright img{
+  /**width:194px;**/
+  width:180px;
+}
+
+.jy_renzheng{
+  position: absolute;
+  bottom: 0;
+  left: 0;
+  width: 100%;
+  height: 40px;
+  line-height: 40px;
+  background: #000;
+  box-sizing: content-box;
+}
+.jy_renzheng div a{
+  display: inline-block;
+}
+.jy_renzheng div{
+  width: 1200px;
+  margin: 0 auto;
+  font-size: 12px;
+  color: rgba(255,255,255,.8);
+  text-align: left;
+}

+ 9 - 6
src/web/staticres/common-module/big-member/js/page_client_follow_detail.js

@@ -197,16 +197,17 @@ var vNode = {
         } else {
             this.isAddClass = true
         }
-        if (utils.getParam('fid')) {
-            this.fid = utils.getParam('fid')
+        // utils.getParam('fid') 社交分享版本发现的问题(fid有时为空且不同人打开分享链接fid不是自己的)fid不从url和缓存中取  获取从detail接口取
+        if (utils.getParam('sid')) {
+            // this.fid = utils.getParam('fid')
             this.sid = utils.getParam('sid')
             var objId = {
-                fid: utils.getParam('fid'),
+                // fid: utils.getParam('fid'),
                 sid: utils.getParam('sid')
             }
             sessionStorage.setItem('bigvip-fid', JSON.stringify(objId))
         } else {
-            this.fid = JSON.parse(sessionStorage.getItem('bigvip-fid')).fid
+            // this.fid = JSON.parse(sessionStorage.getItem('bigvip-fid')).fid
             this.sid = JSON.parse(sessionStorage.getItem('bigvip-fid')).sid
         }
         this.getProDetail()
@@ -667,10 +668,11 @@ var vNode = {
           this.bidProject = false
         },
         getShareParams () {
+          var params = location.href.indexOf('?') > -1 ? '&fid=' + this.fid + '&sid=' + this.sid : '?fid=' + this.fid + '&sid=' + this.sid
           this.proParams = {
             type: '2',
             id: this.sid,
-            referer: location.href
+            referer: location.href + params
           }
         },
         goAnalysis: function () {
@@ -791,7 +793,7 @@ var vNode = {
                 url: url,
                 data: {
                     sid: _this.sid,
-                    fid: _this.fid
+                    // fid: _this.fid
                 },
                 success: function (res) {
                     if (res.error_code == 0) {
@@ -801,6 +803,7 @@ var vNode = {
                         _this.prolist = projectInfos
                         _this.projectname = projectInfos.projectname
                         _this.sid = resdata.sid
+                        _this.fid= resdata.fid
                         _this.careShow = resdata.isfollow
                         // 地区显示
                         var getAreas = ['北京', '天津', '重庆', '上海']

二进制
src/web/staticres/commonFunctions/pc-project-board.png


文件差异内容过多而无法显示
+ 365 - 387
src/web/staticres/css/pc/index.css


+ 1423 - 0
src/web/staticres/css/pc/index_old_23_06_16.css

@@ -0,0 +1,1423 @@
+.jy-index{
+  overflow-x: hidden!important;
+}
+@keyframes CfadeInUp{
+  from {
+    transform: translateY(50px);
+  }
+  to {
+    transform: translateY(0px);
+    opacity:1;
+  }
+}
+.CfadeInUp{
+  opacity: 0;
+  animation: 1s ease  forwards  alternate;
+}
+
+/* 公共 */
+.w1200{
+  width: 1200px;
+  margin: 0 auto;
+}
+.jy-index .module-title{
+  padding-bottom: 40px;
+  text-align: center;
+  color: #1D1D1D;
+  font-size: 28px;
+  line-height: 36px;
+  letter-spacing: 0.1em;
+}
+.jy-index .card-time{
+  position: relative;
+  display: inline-block;
+  padding: 0 16px;
+  color: #2CB7CA;
+  font-size: 14px;
+  line-height: 22px;
+  font-style: oblique;
+}
+.jy-index .card-time::before
+{
+  position: absolute;
+  content: '';
+  left: 0;
+  top: 50%;
+  width: 9px;
+  height: 14px;
+  margin-top: -7px;
+  background: url(/images/index/card-time-badge.png) no-repeat left center;
+  background-size: contain;
+}
+.jy-index .card-time::after{
+  position: absolute;
+  content: '';
+  right: 0;
+  top: 50%;
+  width: 9px;
+  height: 14px;
+  margin-top: -7px;
+  background: url(/images/index/card-time-badge.png) no-repeat right center;
+  background-size: contain;
+}
+
+.jy-index .list-msg {
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
+  width: 960px;
+  height: 24px;
+  margin: 24px auto 0;
+}
+.jy-index .noActive {
+  margin-top: 56px;
+}
+.jy-index .list-msg .l-msg .words {
+  display: flex;
+  flex-direction: initial;
+  align-items: center;
+}
+.jy-index .list-msg .l-msg .words .icon_voice{
+  margin-right: 4px;
+  width: 24px;
+  height: 24px;
+}
+.jy-index .list-msg .l-msg .words:nth-child(2) {
+  margin-top: 8px;
+}
+.jy-index .list-msg .r-msg {
+  width: 20px;
+  height: 20px;
+  cursor: pointer;
+}
+.jy-index .list-msg .l-msg .words i {
+  width: 6px;
+  height: 6px;
+  background: #FF3A20;
+  border-radius: 50%;
+  margin-right: 9px;
+}
+.jy-index .list-msg .l-msg .words h3 {
+  font-size: 16px;
+  font-weight: 400;
+  color: #1D1D1D;
+  line-height: 24px;
+}
+.jy-index .list-msg .l-msg .words span {
+  font-size: 14px;
+  color: #1D1D1D;
+  line-height: 24px;
+  margin: 0 16px;
+}
+.jy-index .list-msg .l-msg .words span:hover {
+  color: #2CB7CA;
+  cursor: pointer;
+}
+.jy-index .list-msg .l-msg .words p {
+  font-size: 12px;
+  color: #999999;
+  line-height: 24px;
+}
+.jy-index .list-msg .l-msg .words .isActive {
+  margin-left: 15px;
+}
+/* banner */
+.jy-index-banner{
+  width: 100%;
+  height: 500px;
+  overflow: hidden;
+}
+.jy-index-banner > .swiper-container,
+.jy-index-banner > .swiper-container .swiper-slide{
+  width: 100%;
+  height: 100%;
+  overflow: hidden;
+  cursor: pointer;
+}
+.jy-index-banner .swiper-slide > img{
+  width: 100%;
+  height: 500px;
+  object-fit: cover;
+}
+.jy-index-banner .custom-dot {
+  bottom: 28px;
+}
+.jy-index-banner .custom-dot .swiper-pagination-bullet{
+  width: 40px;
+  height: 4px;
+  margin: 0 8px;
+  background: rgba(0, 0, 0, 0.2);
+  border-radius: 10px;
+  cursor: pointer;
+  opacity: 1;
+}
+.jy-index-banner .custom-dot.light-swiper-bg-light-color .swiper-pagination-bullet {
+  background: rgba(255, 255, 255, 0.32);
+  opacity: 1;
+}
+.jy-index-banner .custom-dot.light-swiper-bg-light-color .swiper-pagination-bullet-active {
+  background: #fff
+}
+.jy-index-banner .custom-dot .swiper-pagination-bullet-active{
+  background: #2CB7CA;
+}
+.jy-index-banner .swiper-pagination-bullet:only-child{
+  display: none!important;
+}
+/* 搜索 */
+.jy-index-search{
+  position: relative;
+  width: 1200px;
+  margin: 32px auto 0;
+  background: transparent;
+  z-index: 1;
+}
+.jy-index-search .form-search{
+  position: relative;
+  display: flex;
+  align-items: center;
+  width: 960px;
+  margin: 0 auto;
+}
+
+.jy-index-search .search{
+  width: 960px;
+  position: relative;
+  text-align: center;
+  position: relative;
+  margin: 0 auto;
+}
+
+.jy-index-search .ser {
+  width: 888px;
+  height: 48px;
+  padding: 0 24px;
+  border: 2px solid #2ABED1;
+  border-radius: 8px 0 0 8px;
+  color: #1d1d1d;
+  box-sizing: border-box;
+  font-size: 14px;
+}
+.jy-index-search .btn {
+  width: 68px;
+  height: 48px;
+  border-radius: 0 8px 8px 0;
+  border: none;
+  background:#2CB7CA url(/images/pc/index-searchicon.png) center center no-repeat;
+  background-size: 20px 20px;
+  cursor: pointer;
+}
+.jy-index-search .ser::-webkit-input-placeholder{
+  color: #999;
+  font-size: 14px;
+}
+.jy-index-search .ser::-moz-placeholder{
+  color: #999;
+  font-size: 14px;
+}
+.jy-index-search .ser:-ms-input-placeholder{
+  color: #999;
+  font-size: 14px;
+}
+.jy-index-search .ser::-ms-input-placeholder{
+  color: #999;
+  font-size: 14px;
+}
+.jy-index-search .ser::placeholder{
+  color: #999;
+  font-size: 14px;
+}
+
+.jy-index-search .index_search_thikn{
+  display: none;
+  position: absolute;
+  left: 50%;
+  top: 134px;
+  z-index: 99;
+  margin-left: -310px;
+  background: #fff;
+  width: 620px;
+  height: 200px;
+  border-radius: 10px;
+  box-shadow: 0px 0px 28px 0px rgba(0,0,0,0.08);
+  padding: 16px 24px;
+
+}
+.jy-index-search .index_search_thikn ul{
+  height: 100%;
+  overflow: auto;
+}
+.jy-index-search .index_search_thikn li{
+  float: inherit;
+  text-align: left;
+}
+.jy-index-search .index_search_thikn li a{
+  width: 100%;
+  display: block;
+  color: #1d1d1d;
+  line-height: 24px;
+  overflow: hidden;
+  text-overflow:ellipsis;
+  white-space: nowrap;
+  font-size: 14px;
+}
+.jy-index-search .index_search_thikn li a:hover{
+  text-decoration: none;
+  color: #2CB7CA;
+}
+
+.jy-index-search .tips{
+  display: inline-block;
+  /* width: 620px; */
+  /* margin-top: 8px; */
+  text-align: left;
+  font-size: 14px;
+  line-height: 22px;
+  color: #1d1d1d;
+  position: relative;
+}
+.jy-index-search .tips i{
+  position: absolute;
+  top: 41px;
+  left: 58px;
+  display: inline-block;
+  width: 14px;
+  height: 6px;
+  background: url(/images/index/up-arrow.png) no-repeat center;
+  background-size: contain;
+}
+.jy-index-search .tips span{
+  display: inline-block;
+  text-align: center;
+  padding: 12px 20px;
+  white-space: nowrap;
+  cursor: pointer;
+}
+.jy-index-search .tips span.active{
+  font-weight: bold;
+}
+.jy-index-search .tips .cai-gou{
+  display: none;
+}
+.jy-index-search .tips span.active,.search .tips span:hover{
+  color: #2CB7CA;
+}
+.jy-index-search .pre-search-list {
+  position: absolute;
+  padding: 20px 0;
+  z-index: 6;
+  top: 100px;
+  left: 0;
+  width: 788px;
+  background: #fff;
+  box-shadow: 0 0 20px rgb(0,0,0,0.1);
+  border-radius: 8px;
+  overflow: hidden;
+  /* transform: translateX(-50%); */
+}
+.jy-index-search .pre-search-item {
+  padding: 12px 40px;
+  width: 100%;
+  font-size: 16px;
+  line-height: 24px;
+  color: #686868;
+  box-sizing: border-box;
+  transition: all .3s;
+  cursor: pointer;
+}
+.jy-index-search .pre-search-item:hover {
+  padding: 12px 30px;
+  color: #1d1d1d;
+  background-color: #ececec;
+}
+
+/* 热点事件 */
+.jy-index-hot{
+  margin-top: 48px;
+}
+.jy-index-hot > .hot-container{
+  display: flex;
+  justify-content: space-between;
+}
+.jy-index-hot > .hot-container .hot-banner{
+  flex: 1;
+  max-width: 588px;
+  height: 172px;
+  overflow: hidden;
+}
+.jy-index-hot > .hot-container .hot-banner img{
+  width: 100%;
+  height: 100%;
+  cursor: pointer;
+}
+
+/* 核心产品 */
+.jy-index-product{
+  padding: 70px 0;
+}
+.jy-index-product .main-product,
+.jy-index-product .other-product{
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
+  margin-top: 15px;
+}
+.jy-index-product .main-product-item {
+  position: relative;
+  width: 588px;
+  height: 216px;
+  padding: 0 32px;
+  background-repeat: no-repeat;
+  background-position: center;
+  background-size: 100% 100%;
+  cursor: pointer;
+  overflow: hidden;
+}
+.jy-index-product .other-product-item{
+  position: relative;
+  width: 384px;
+  height: 216px;
+  padding: 0 32px;
+  background-repeat: no-repeat;
+  background-position: center;
+  background-size: 100% 100%;
+  cursor: pointer;
+  overflow: hidden;
+}
+
+.jy-index-product .svip-product{
+  background-image: url(/images/index/svip-product.png);
+}
+.jy-index-product .bigmember-product{
+  background-image: url(/images/index/bigmember-product.png);
+}
+.jy-index-product .buyer-product{
+  background-image: url(/images/index/buyer-product.png);
+}
+.jy-index-product .agency-product{
+  background-image: url(/images/index/agency-product.png);
+}
+.jy-index-product .data-market-product{
+  background-image: url(/images/index/data-market-product.png);
+}
+.jy-index-product .p-link{
+  position: absolute;
+  top: 24px;
+  display: none;
+  padding-right: 32px;
+  background: url(/images/index/link-arrow.png) 60px center no-repeat;
+  background-size: 20px 20px;
+  font-size: 14px;
+  line-height: 22px;
+  color: #686868;
+}
+
+.jy-index-product .p-name{
+  padding: 150px 0 0;
+  font-size: 24px;
+  line-height: 36px;
+}
+.jy-index-product .main-product-item .p-name{
+  color: #fff;
+  transition: All 0.4s ease-in-out;
+  -webkit-transition: All 0.4s ease-in-out;
+  -moz-transition: All 0.4s ease-in-out;
+  -o-transition: All 0.4s ease-in-out;
+}
+.jy-index-product .other-product-item .p-name{
+  color: #1D1D1D;
+  transition: All 0.4s ease-in-out;
+  -webkit-transition: All 0.4s ease-in-out;
+  -moz-transition: All 0.4s ease-in-out;
+  -o-transition: All 0.4s ease-in-out;
+}
+
+.jy-index-product .p-detail{
+  /* display: none; */
+  margin-top: 100px;
+  max-width: 262px;
+  text-align: justify;
+  transition: All 0.4s ease-in-out;
+  -webkit-transition: All 0.4s ease-in-out;
+  -moz-transition: All 0.4s ease-in-out;
+  -o-transition: All 0.4s ease-in-out;
+}
+.jy-index-product .other-product-item:hover{
+  /* position: relative; */
+  display: inline-block;
+  /* margin: 0px; */
+  max-width: 100%;
+  color: #fff;
+  overflow: hidden;
+}
+.jy-index-product .main-product-item:hover .p-link{
+  display: block;
+  color: #fff;
+  padding-right: 32px;
+  background: url(/images/index/link-arrow-light.png) 60px center no-repeat;
+  background-size: 20px 20px;
+  transition: All 0.8s ease-in-out;
+  -webkit-transition: All 0.8s ease-in-out;
+  -moz-transition: All 0.8s ease-in-out;
+  -o-transition: All 0.8s ease-in-out;
+}
+.jy-index-product .main-product-item:hover .p-name{
+  padding-top: 96px;
+}
+.jy-index-product .main-product-item:hover .p-detail{
+  margin-top: 8px;
+  font-size: 14px;
+  color: #fff;
+  line-height: 20px;
+}
+.jy-index-product .other-product-item:hover .p-link{
+  display: block;
+  transition: All 0.8s ease-in-out;
+  -webkit-transition: All 0.8s ease-in-out;
+  -moz-transition: All 0.8s ease-in-out;
+  -o-transition: All 0.8s ease-in-out;
+}
+.jy-index-product .other-product-item:hover .p-name{
+  padding-top: 116px;
+}
+.jy-index-product .other-product-item:hover .p-detail{
+  max-width: 234px;
+  line-height: 20px;
+  margin-top: 8px;
+  color: #1D1D1D;
+  font-size: 14px;
+}
+
+/* 行业解决方案 */
+.jy-index-plan{
+  width: 100%;
+  height: 570px;
+  padding: 56px 0;
+  background: url(/images/index/plan-bg.png) no-repeat center center;
+  background-size: 100% 100%;
+}
+.jy-index-plan .plan-container{
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
+  margin-top: 40px;
+}
+.jy-index-plan .plan-item{
+  position: relative;
+  width: 384px;
+  height: 340px;
+  padding: 0 42px;
+  background: #fff;
+  border-radius: 8px;
+  box-sizing: border-box;
+  cursor: pointer;
+}
+
+.jy-index-plan .plan-item-1 > .item-icon{
+  position: absolute;
+  right: 24px;
+  top: -40px;
+  width: 150px;
+  height: 150px;
+  background: url(/images/index/plan-item-1.png) no-repeat center center;
+  background-size: contain;
+}
+.jy-index-plan .plan-item-2 > .item-icon{
+  position: absolute;
+  right: 24px;
+  top: -40px;
+  width: 150px;
+  height: 150px;
+  background: url(/images/index/plan-item-2.png) no-repeat center center;
+  background-size: contain;
+}
+.jy-index-plan .plan-item-3 > .item-icon{
+  position: absolute;
+  right: 24px;
+  top: -40px;
+  width: 150px;
+  height: 130px;
+  background: url(/images/index/plan-item-3.png) no-repeat center center;
+  background-size: contain;
+}
+.jy-index-plan .item-header{
+  padding-top: 60px;
+  color: #1D1D1D;
+  font-size: 24px;
+  line-height: 28px;
+}
+
+.jy-index-plan .item-content{
+  padding-top: 48px;
+  font-size: 14px;
+  line-height: 26px;
+  letter-spacing: 0.08em;
+  color: #1D1D1D;
+  text-align: justify;
+}
+.jy-index-plan .item-link{
+  position: absolute;
+  padding-right: 24px;
+  bottom: 24px;
+  font-size: 14px;
+  line-height: 22px;
+  color: #686868;
+  background: url(/images/index/link-arrow.png) right center no-repeat;
+  background-size: 20px 20px;
+}
+
+.jy-index-plan .plan-item:hover{
+
+  background: url(/images/index/plan-hover.png) no-repeat bottom center #fff;
+  background-size: 384px 135px;
+}
+
+.jy-index-plan .plan-item:hover::after{
+  position: absolute;
+  content: '';
+  top: 0;
+  left: 42px;
+  width: 50px;
+  height: 4px;
+  background: linear-gradient(90deg, #95CDFF 1.92%, #2CB7CA 100%);
+  -webkit-animation: borderTo 0.5s alternate 1 ease;
+  animation: borderTo 0.5s alternate 1 ease;
+}
+.jy-index-plan .plan-item:hover .item-header,
+.jy-index-plan .plan-item:hover .item-link
+{
+  color: #2ABED1;
+  transition: all 0.5s;
+}
+.jy-index-plan .plan-item:hover .item-link{
+  background: url(/images/index/link-arrow-active.png) right center no-repeat;
+  background-size: 20px 20px;
+}
+
+@-webkit-keyframes borderTo {
+  from {
+    left: 0;
+  }
+  to {
+    left: 42px;
+  }
+}
+@keyframes borderTo {
+  from {
+    left: 0;
+  }
+  to {
+    left: 42px;
+  }
+}
+
+/* 专业的招投标大数据服务平台 */
+.jy-index-platform{
+  padding: 70px 0;
+  background: #fff;
+}
+.jy-index-platform .platform-container{
+  display: flex;
+  /* align-items: center; */
+}
+.jy-index-platform .platform-left{
+  padding-top: 72px;
+  margin-right: 108px;
+  max-height: 580px;
+  overflow: hidden;
+}
+.jy-index-platform .tab-menu{
+  margin-bottom: 60px;
+}
+.jy-index-platform .tab-menu:last-child{
+  margin-bottom: 0;
+}
+.jy-index-platform .tab-header{
+  position: relative;
+  display: inline-block;
+  font-size: 32px;
+  line-height: 42px;
+  color: #1D1D1D;
+  cursor: pointer;
+}
+.jy-index-platform .tab-header.active{
+  color: #2CB7CA;
+  padding: 14px;
+}
+.jy-index-platform .tab-header.active::before {
+  position: absolute;
+  content: '';
+  top: 0;
+  left: 0;
+  width: 20px;
+  height: 20px;
+  background: url(/images/index/top-badge.png) no-repeat center center;
+  background-size: 24px;
+}
+.jy-index-platform .tab-header.active::after {
+  position: absolute;
+  content: '';
+  bottom: 0;
+  right: 0;
+  width: 20px;
+  height: 20px;
+  background: url(/images/index/bottom-badge.png) no-repeat center center;
+  background-size: 24px;
+}
+.jy-index-platform .platform-content{
+  margin-top: 20px;
+  font-size: 16px;
+  line-height: 32px;
+  color: #686868;
+  text-align: justify;
+}
+.jy-index-platform .platform-footer{
+  display: flex;
+  align-items: center;
+  margin-top: 8px;
+  font-size: 14px;
+  line-height: 18px;
+  color: #999999;
+}
+.jy-index-platform .platform-footer .text-line{
+  display: inline-block;
+  width: 1px;
+  height: 14px;
+  margin: 0 10px;
+  background-color: #999999;
+}
+
+.jy-index-platform .platform-right{
+  flex-shrink: 0;
+  width: 512px;
+  height: 580px;
+  overflow: hidden;
+}
+.jy-index-platform .platform-right > img{
+  width: 100%;
+  height: 100%;
+}
+
+/* 在线数据 */
+.jy-index-online{
+  width: 100%;
+  height: 268px;
+  padding: 45px 0;
+  background: url(/images/index/online-data-bg.png) no-repeat center;
+  background-size: cover;
+}
+.jy-index-online .online-container{
+  width: 1200px;
+  margin: 0 auto;
+}
+.jy-index-online .online-container ul{
+  display: flex;
+  justify-content: space-between;
+  color: #fff;
+}
+.jy-index-online .online-container ul li{
+  position: relative;
+  flex: 1;
+  text-align: center;
+}
+.jy-index-online .online-container ul li:not(:last-child)::after {
+  position: absolute;
+  content: '';
+  right: 0;
+  top: 50%;
+  width: 1px;
+  height: 126px;
+  background: rgba(234, 248, 250, 0.3);
+  transform: translateY(-50%);
+}
+.jy-index-online .online-container ul li h4{
+  font-size: 32px;
+  line-height: 36px;
+  padding-top: 8px;
+  letter-spacing: 0.1em;
+}
+
+.jy-index-online .online-container ul li p{
+  font-size: 16px;
+  line-height: 20px;
+  margin-top: 32px;
+  letter-spacing: 0.1em;
+}
+.jy-index-online .online-container ul li strong{
+  display: inline-block;
+  font-size: 48px;
+  line-height: 54px;
+  margin-top: 20px;
+}
+.jy-index-online .online-container ul li strong mark{
+  background-color: transparent;
+  color: #fff;
+  padding: 0.1em;
+}
+.jy-index-online .online-container ul li i{
+  font-size: 24px;
+  line-height: 24px;
+}
+/* 最新资讯 */
+.jy-index-news{
+  padding: 70px 0;
+  background: #fff;
+}
+.jy-index-news .news-container{
+  display: flex;
+}
+.jy-index-news .news-card{
+  flex-shrink: 0;
+  width: 560px;
+  margin-right: 24px;
+  box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.1);
+  cursor: pointer;
+  overflow: hidden;
+  border-radius: 8px;
+}
+.jy-index-news .card-img{
+  position: relative;
+  width: 100%;
+  height: 318px;
+  overflow: hidden;
+}
+.jy-index-news .card-img > img{
+  width: 100%;
+  height: 100%;
+  object-fit: cover;
+  transition: all 1s;
+}
+.jy-index-news .card-img > img:hover{
+  transform: scale(1.1);
+}
+.jy-index-news .card-main{
+  padding: 32px 24px;
+}
+.jy-index-news .card-title{
+  margin-top: 20px;
+  height: 68px;
+  font-size: 24px;
+  line-height: 36px;
+  color: #333333;
+  overflow: hidden;
+}
+.jy-index-news .card-summary{
+  margin-top: 10px;
+  font-size: 14px;
+  line-height: 18px;
+  color: #686868;
+  text-align: justify;
+}
+.jy-index-news .news-card:hover .card-title{
+  color: #2CB7CA;
+}
+.jy-index-news .news-list{
+  flex: 1;
+}
+.jy-index-news .news-item{
+  position: relative;
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
+  padding-left: 16px;
+  margin-bottom: 30px;
+  text-decoration: none;
+  cursor: pointer;
+}
+.jy-index-news .news-item:last-child{
+  margin-bottom: 0;
+}
+.jy-index-news .news-item::after{
+  position: absolute;
+  content: '';
+  width: 4px;
+  height: 4px;
+  left: 0;
+  top: 50%;
+  margin-top: -2px;
+  background: #CCCCCC;
+  border-radius: 50%;
+}
+.jy-index-news .news-item .news-item-text{
+  display: inline-block;
+  max-width: 460px;
+  overflow: hidden;
+  text-overflow: ellipsis;
+  white-space: nowrap;
+  color: #333333;
+  font-size: 16px;
+  line-height: 20px;
+}
+
+.jy-index-news .news-item .news-item-date{
+  font-size: 14px;
+  line-height: 20px;
+  color: #999999;
+}
+.jy-index-news .news-item:hover .news-item-text{
+  color: #2CB7CA;
+}
+.jy-index-news .news-item:hover::after{
+  background: #2CB7CA;
+}
+
+/* 公司动态 */
+.jy-index-dt{
+  width: 100%;
+  height: 730px;
+  padding: 56px 0;
+  background: url(/images/index/dt-bg.png) no-repeat center;
+  background-size: cover;
+}
+.jy-index-dt .more{
+  text-align: right;
+}
+.jy-index-dt .more .item-link{
+  color: #686868;
+  font-size: 14px;
+  line-height: 24px;
+  text-decoration: none;
+  padding-right: 24px;
+  background: url(/images/index/link-arrow.png) right center no-repeat;
+  background-size: 20px 20px;
+}
+
+.jy-index-dt .item-link:hover{
+  background: url(/images/index/link-arrow-active.png) right center no-repeat;
+  background-size: 20px 20px;
+  color: #2CB7CA;
+}
+.jy-index-dt .dt-container{
+  display: flex;
+  align-items: center;
+  margin-top: 16px;
+}
+.jy-index-dt .dt-container .dt-card{
+  flex-shrink: 0;
+  width: 380px;
+  height: 500px;
+  margin-right: 30px;
+  background: #FFFFFF;
+  box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.1);
+  cursor: pointer;
+  overflow: hidden;
+  border-radius: 8px;
+  /* transition-property: transform,top;
+  transition-duration: 1s,0.3s; */
+}
+/* .jy-index-dt .dt-container .dt-card:hover{
+  transform: scale(1.08);
+  top: 10px;
+} */
+.jy-index-dt .dt-container .dt-card:last-child{
+  margin-right: 0;
+}
+.jy-index-dt .dt-card .card-img{
+  width: 100%;
+  height: 252px;
+  overflow: hidden;
+
+}
+.jy-index-dt .dt-card .card-img > img{
+  width: 100%;
+  height: 100%;
+  transition: all 0.6s;
+}
+.jy-index-dt .dt-card .card-img > img:hover{
+  transform: scale(1.1);
+}
+.jy-index-dt .dt-card .card-main{
+  padding: 28px;
+}
+.jy-index-dt .dt-card .card-title{
+  margin-top: 20px;
+  height: 72px;
+  font-size: 24px;
+  line-height: 36px;
+  color: #333333;
+  overflow: hidden;
+}
+.jy-index-dt .dt-card .card-summary{
+  margin-top: 10px;
+  font-size: 14px;
+  line-height: 22px;
+  color: #686868;
+  text-align: justify;
+}
+.jy-index-dt .dt-card:hover .card-title{
+  color: #2CB7CA;
+}
+
+/* 合作伙伴 */
+.jy-index-partners{
+  width: 100%;
+  padding: 70px 0;
+  background: #FFF;
+}
+.jy-index-partners .swiper-wrapper{
+  -webkit-transition-timing-function: linear !important;
+  -moz-transition-timing-function: linear !important;
+  -ms-transition-timing-function: linear !important;
+  -o-transition-timing-function: linear !important;
+  transition-timing-function: linear !important;
+}
+.jy-index-partners .swiper-slide{
+  width: auto!important;
+  padding: 4px 8px;
+  text-align: center;
+}
+.jy-index-partners img{
+  display: inline-block;
+  width: 152px;
+  height: 100px;
+  transition: ease 0.3s;
+  position: relative;
+  /* cursor: pointer; */
+}
+.jy-index-partners ul li{
+  width: 130px;
+  height: 100px;
+  margin: 2px;
+  transition: ease 0.3s;
+  position: relative;
+}
+.jy-index-partners ul li img{
+  width: 130px;
+  height: 100px;
+}
+.jy-index-partners ul li:hover img{
+  border-radius: 8px;
+  /* box-shadow: 0px 0px 4px 4px rgb(233, 230, 230);  */
+  box-shadow: 0px 0px 24px rgb(0 0 0 / 16%);
+  position: absolute;
+  z-index: 1;
+}
+/* 预约留资 */
+.jy-index-yuyue {
+  width: 100%;
+  height: 182px;
+  background: url(/images/index/yuyue-bg.png) no-repeat center;
+  background-size: 100% 100%;
+}
+.jy-index-yuyue .yuyue-container > h3{
+  padding-top: 40px;
+  font-size: 20px;
+  line-height: 32px;
+  letter-spacing: 0.1em;
+  color: #1D1D1D;
+}
+.jy-index-yuyue .app-btn{
+  position: relative;
+  width: 180px;
+  height: 46px;
+  margin-top: 24px;
+  background: #2ABED1;
+  border-radius: 6px;
+  color: #fff;
+  text-align: center;
+  font-size: 16px;
+  line-height: 46px;
+  cursor: pointer;
+  overflow: hidden;
+}
+.jy-index-yuyue .app-btn::after{
+  content: '';
+  display: block;
+  position: absolute;
+  top: -120px;
+  left: -80px;
+  width: 36px;
+  height: 360px;
+  background: #fff;
+  opacity: 0.16;
+  transform: rotate(-45deg);
+  transition: all 800ms ease-out;
+}
+.jy-index-yuyue .app-btn:hover::after{
+  left: 200%;
+}
+
+/* 原页面弹框等样式 */
+@-webkit-keyframes myfirst
+{
+0% {top: -20px;}
+50% {top: -25px;}
+100% {top: -20px;}
+}
+@keyframes myfirst
+{
+0% {top: -20px;}
+50% {top: -25px;}
+100% {top: -20px;}
+}
+
+.tc_button{
+  -webkit-animation: ttcc 0.8s alternate infinite ease;
+          animation: ttcc 0.8s alternate infinite ease;
+  position: absolute;
+  bottom: 64px;
+  left: 83px;
+  width: 260px;
+  height: 52px;
+  background:url();
+  background-size: cover;
+}
+@-webkit-keyframes ttcc {
+  to {
+    transform: scale(1.1);
+    transform-origin: 50% 50%;
+  }
+}
+@keyframes ttcc {
+  to {
+    transform: scale(1.1);
+    transform-origin: 50% 50%;
+  }
+}
+.tc{
+  position: relative;
+  width: 426px;
+  height: 400px;
+	background: url();
+	background-size: cover;
+	border-radius: 8px;
+	cursor: pointer;
+	display: none;
+	-webkit-border-radius: 8px;
+	-moz-border-radius: 8px;
+	z-index: 1000;
+}
+#close2x{
+	width: 30px;
+	height: 30px;
+	position: absolute;
+	left: 50%;
+	bottom: -40px;
+	margin-left: -15px;
+	cursor: pointer;
+	display: none;
+	z-index: 1000;
+}
+.tans{
+	position: fixed;
+	top: 0;
+	right: 0;
+	bottom: 0;
+	left: 0;
+	background-color: #000;
+	display: none;
+	filter:alpha(opacity=60);  /*设置透明度为60%*/
+	opacity:0.9;  /*非IE浏览器下设置透明度为60%*/
+	z-index: 999;
+}
+.pc_tc{
+	position: fixed;
+  margin-top: -213px;
+  margin-left: -200px;
+	left: 50%;
+	top: 50%;
+	z-index: 1001;
+}
+/*主弹窗*/
+.tc_master{
+	width: 621px;
+	height: 209px;
+	background: url();
+	background-size: cover;
+	border-radius: 8px;
+	cursor: pointer;
+	display: none;
+	-webkit-border-radius: 8px;
+	-moz-border-radius: 8px;
+	z-index: 1000;
+}
+.pc_tc_master{
+	position: fixed;
+	margin-top: -110px;
+	margin-left: -310.5px;
+	left: 50%;
+	top: 50%;
+	z-index: 1001;
+}
+.pc-index-bottom{
+  position: fixed;
+  bottom: 0;
+  left: 0;
+  right: 0;
+  display: flex;
+  justify-content: center;
+  width: 100%;
+  z-index: 999;
+}
+
+.pc-index-bottom > .bottom-member-ad {
+  display: inline-block;
+  width: 100%;
+  height: 100%;
+  max-height: 200px;
+  object-fit: contain;
+  cursor: pointer;
+}
+.visited-hd{
+  overflow: hidden;
+  text-overflow: ellipsis;
+  display: -webkit-box;
+  -webkit-line-clamp: 2;
+  -webkit-box-orient: vertical;
+  word-break: break-all;
+}
+.jy-index-links{
+  padding: 70px 0;
+}
+.jy-index-links .links-container{
+  height: 442px;
+  display: flex;
+  flex-direction: row;
+  background: linear-gradient(180deg, #EAEEF4 0%, #F7F9FC 7.24%);
+  border-radius: 8px;
+}
+
+.jy-index-links .links-container .links-item-title{
+  width: 200px;
+  padding-top: 16px;
+  border-right: 1px solid #ececec;
+}
+
+.jy-index-links .links-container  .links-item-title>span{
+  width: 200px;
+  height: 56px;
+  display: block;
+  line-height: 56px;
+  font-weight: 400;
+  font-size: 16px;
+  cursor: pointer;
+  border-left: 4px solid transparent;
+}
+.jy-index-links .links-container  .links-item-title>span>i{
+  padding: 0 12px 0 20px;
+  font-size: 24px;
+  vertical-align: bottom;
+}
+.jy-index-links .links-container  .links-item-title>span.active{
+  position: relative;
+  color:#2ABED1;
+  background: linear-gradient(180deg, #D6F1F4 0%, #EAF8FA 100%);
+}
+
+.jy-index-links .links-container  .links-item-title>span.active::after{
+  content: '';
+  width: 100%;
+  height: 12px;
+  position: absolute;
+  left: 0;
+  background: linear-gradient(180deg, #A4E5E9 0%, rgba(217, 242, 246, 0) 100%);
+}
+
+.jy-index-links .links-container  .links-item-title>span.active::before{
+  content: '';
+  width: 4px;
+  position: absolute;
+  background: linear-gradient(180deg, #95CDFF 1.92%, #2CB7CA 100%);
+  height: 100%;
+  left: -3px;
+}
+
+.jy-index-links .links-item-content{
+  margin: 24px 4px;
+}
+
+.jy-index-links .links-item-content>div{
+  display: none;
+}
+.jy-index-links .links-item-content>div.show{
+  display: unset;
+}
+
+.jy-index-links .links-container .line-show{
+  overflow-y: scroll;
+  height: 100%;
+}
+
+.jy-index-links .links-container .line-show li{
+  display: flex;
+  width: 100%;
+  min-height: 46px;
+  line-height: 26px;
+  padding: 10px 0;
+  font-size: 14px;
+  border-bottom: 1px solid #ececec;
+}
+
+.jy-index-links .links-container .line-show li .tab-link{
+  color: #686868;
+  padding: 0 16px;
+  font-size: 14px;
+  line-height: 22px;
+  text-decoration: none;
+  white-space: nowrap;
+}
+
+.jy-index-links .links-container .line-show li .tab-link.tab-label{
+  color: #1d1d1d;
+  white-space: nowrap;
+  min-width: 86px;
+}
+
+.jy-index-links .links-container .simple-show{
+  overflow-y: scroll;
+  height: 100%;
+  padding: 16px 0 0 50px;
+}
+
+.jy-index-links .links-container .simple-show a{
+  color: #1D1D1D;
+  font-style: normal;
+  font-weight: 400;
+  font-size: 14px;
+  line-height: 32px;
+  padding-right: 32px;
+  white-space: nowrap;
+  text-decoration:none;
+}
+
+.jy-index-recommend{
+  padding-top: 70px;
+  height: 900px;
+  background: url("/images/index/recommend-bg.png") no-repeat center center;
+  background-size: 100% 100%;
+}
+.jy-index-recommend .recommend-context{
+  display: flex;
+  flex-direction: row;
+  flex-wrap: wrap;
+  justify-content: space-between;
+}
+
+.jy-index-recommend .recommend-context .item-one{
+  width: 580px;
+  display: flex;
+  flex-direction: column;
+  margin-bottom: 40px;
+}
+
+.jy-index-recommend .recommend-context .item-one .item-header{
+  display: flex;
+  justify-content: space-between;
+  border-bottom: 1px solid #ECECEC;
+  padding-left: 16px;
+  height: 36px;
+}
+
+.jy-index-recommend .recommend-context .item-one .item-header span{
+  font-size: 16px;
+  line-height: 28px;
+  color: #1D1D1D;
+}
+
+.jy-index-recommend .recommend-context .item-one .item-header span i{
+  font-size: 18px;
+  position: relative;
+  height: 100%;
+  display: inline-block;
+}
+
+.jy-index-recommend .recommend-context .item-one .item-header span i:after{
+  content: "";
+  display: block;
+  width: 100%;
+  height: 3px;
+  background: linear-gradient(90deg, #95CDFF 14.71%, #2CB7CA 100%);
+  position: absolute;
+  bottom: -1px;
+  left: 0;
+}
+
+
+.jy-index-recommend .recommend-context .item-one .item-header a{
+  font-weight: 400;
+  font-size: 14px;
+  color: #686868;
+  text-decoration: none;
+  padding-right: 23px;
+  align-self: flex-end;
+  display: inline-block;
+  line-height: 38px;
+}
+
+.jy-index-recommend .recommend-context .item-one .item-header a:hover{
+  color: #2CB7CA;
+  background: url(/images/index/link-arrow-active.png) right center no-repeat;
+  background-size: 20px 20px;
+}
+
+.jy-index-recommend .recommend-context .item-one ul li {
+  margin-top: 16px;
+  width: 100%;
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
+  position: relative;
+  text-indent: 12px;
+}
+
+.jy-index-recommend .recommend-context .item-one ul li:before {
+  content: "";
+  width: 4px;
+  height: 4px;
+  display: inline-block;
+  border-radius: 50%;
+  background: #CCCCCC;
+  vertical-align: middle;
+  position: absolute;
+}
+
+.jy-index-recommend .recommend-context .item-one ul li:hover:before {
+  background: #2CB7CA;
+}
+
+.jy-index-recommend .recommend-context .item-one ul li span {
+  color: #999999;
+  font-style: normal;
+  font-weight: 400;
+  font-size: 14px;
+  line-height: 20px;
+}
+
+.jy-index-recommend .recommend-context .item-one ul li a{
+  font-weight: 400;
+  font-size: 16px;
+  line-height: 20px;
+  color: #333333;
+  text-decoration: none;
+
+  overflow: hidden;
+  max-width: 440px;
+  text-overflow: ellipsis;
+  white-space: nowrap;
+  display: inline-block;
+}
+
+.jy-index-recommend .recommend-context .item-one ul li:hover a{
+  color: #2CB7CA;
+}
+
+.jy-index-recommend .recommend-context .item-one .more{
+  background: url(/images/index/link-arrow.png) right center no-repeat;
+  background-size: 20px 20px;
+}
+
+/* 滚动条样式 */
+.jy-index-links .links-item-content .line-show::-webkit-scrollbar {
+  /*滚动条整体样式*/
+  width: 6px;
+  height: 1px;
+}
+.jy-index-links .links-item-content .line-show::-webkit-scrollbar-thumb {
+  /*滚动条里面小方块*/
+  border-radius: 10px;
+  background: #e0e0e0;
+}
+.jy-index-links .links-item-content .line-show::-webkit-scrollbar-track {
+  /*滚动条里面轨道*/
+  border-radius: unset;
+}

二进制
src/web/staticres/images/index/new/Insight1.png


二进制
src/web/staticres/images/index/new/Insight2.png


二进制
src/web/staticres/images/index/new/Insight3.png


二进制
src/web/staticres/images/index/new/Insight4.png


二进制
src/web/staticres/images/index/new/Insight5.png


二进制
src/web/staticres/images/index/new/banner.png


二进制
src/web/staticres/images/index/new/bg.png


二进制
src/web/staticres/images/index/new/down.png


二进制
src/web/staticres/images/index/new/free-bg.png


二进制
src/web/staticres/images/index/new/ic-1.png


二进制
src/web/staticres/images/index/new/ic-2.png


二进制
src/web/staticres/images/index/new/ic-3.png


二进制
src/web/staticres/images/index/new/ic-4.png


二进制
src/web/staticres/images/index/new/news-bg.png


二进制
src/web/staticres/images/index/new/serve-1.png


二进制
src/web/staticres/images/index/new/serve-2.png


二进制
src/web/staticres/images/index/new/serve-3.png


二进制
src/web/staticres/images/index/new/serve-4.png


二进制
src/web/staticres/images/index/new/serve-5.png


二进制
src/web/staticres/images/index/new/serve-6.png


二进制
src/web/staticres/images/index/new/serves-bg.png


二进制
src/web/staticres/images/index/new/品牌.png


二进制
src/web/staticres/images/index/new/行业资讯.png


+ 1 - 1
src/web/staticres/js/index/index.js

@@ -99,7 +99,7 @@ $(function () {
     var left = this.offsetLeft + offset
     $(this).parent().find('i').animate({
       left: left
-    }, 200)
+    }, 0)
     if (dataId == 'zb') {
       $("#zbIndex").attr("action", '/jylab/supsearch/index.html');
       $("#zbIndex .ser").attr("name", 'keywords')

+ 318 - 0
src/web/staticres/js/index/index_old_23_06_16.js

@@ -0,0 +1,318 @@
+var req_base = '/'
+
+
+function changeHorse (timp) {
+  return Math.floor(timp / 1000 / 60 / 60)
+}
+// 格式化数字,没三位添加分号
+function toThousands (num) {
+  return (num || 0).toString().replace(/(\d)(?=(?:\d{3})+$)/g, '$1,');
+}
+// 获取图片颜色
+function getImageColor(img) {
+  var canvas = document.createElement('canvas')
+  canvas.width = img.width;
+  canvas.height = img.height;
+  var context = canvas.getContext("2d");
+  img.crossOrigin = "Anonymous"
+  context.drawImage(img, 0, 0, canvas.width, canvas.height);
+  // 获取像素数据
+  var data = context.getImageData(0, 0, img.width, img.height).data;
+  console.log(data)
+  var r = 1,
+    g = 1,
+    b = 1;
+  // 取所有像素的平均值
+  for (var row = 0; row < img.height; row++) {
+    for (var col = 0; col < img.width; col++) {
+      // console.log(data[((img.width * row) + col) * 4])
+      if (row == 0) {
+        r += data[((img.width * row) + col)];
+        g += data[((img.width * row) + col) + 1];
+        b += data[((img.width * row) + col) + 2];
+      } else {
+        r += data[((img.width * row) + col) * 4];
+        g += data[((img.width * row) + col) * 4 + 1];
+        b += data[((img.width * row) + col) * 4 + 2];
+      }
+    }
+  }
+  console.log(r, g, b)
+  // 求取平均值
+  r /= (img.width * img.height);
+  g /= (img.width * img.height);
+  b /= (img.width * img.height);
+
+  // 将最终的值取整
+  r = Math.round(r);
+  g = Math.round(g);
+  b = Math.round(b);
+  console.log(r, g, b)
+  return [r, g, b]
+}
+// 将rgb色转位hsl色并增强 s,l值
+function rgbToHsl(rgb) {
+  r = rgb[0] / 255;
+  g = rgb[1] / 255;
+  b = rgb[2] / 255;
+
+  var min = Math.min(r, g, b);
+  var max = Math.max(r, g, b);
+  var l = (min + max) / 2;
+  var difference = max - min;
+  var h, s, l;
+  if (max == min) {
+    h = 0;
+    s = 0;
+  } else {
+    s = l > 0.5 ? difference / (2.0 - max - min) : difference / (max + min);
+    switch (max) {
+      case r:
+        h = (g - b) / difference + (g < b ? 6 : 0);
+        break;
+      case g:
+        h = 2.0 + (b - r) / difference;
+        break;
+      case b:
+        h = 4.0 + (r - g) / difference;
+        break;
+    }
+    h = Math.round(h * 60);
+  }
+  s = Math.round(s * 100 * 1.5)+ '%'; //转换成百分比的形式
+  l = Math.round(l * 100 * 0.8)+ '%';
+  const str = "hsl(" + h + "," + s + "," + l + ")";
+  console.log('str', str)
+  return str
+}
+
+$(function () {
+  // 搜索框类型选择
+  $("#jy-index .search .tips .spa1").on("click", function () {
+    var dataId = $(this).attr('data-id')
+    var activeTip = $("#jy-index .search .tips i")
+    var activeTipWidth = activeTip.width()
+    $("#jy-index .search .tips span").removeClass('active')
+    $(this).addClass('active')
+    var i = $(this).index('.spa1:not(:hidden)')
+    var offset = ($(this).outerWidth() - activeTipWidth) / 2
+    var left = this.offsetLeft + offset
+    $(this).parent().find('i').animate({
+      left: left
+    }, 200)
+    if (dataId == 'zb') {
+      $("#zbIndex").attr("action", '/jylab/supsearch/index.html');
+      $("#zbIndex .ser").attr("name", 'keywords')
+      $("#jy-index .search .index_search_thikn").hide()
+      $("#zbIndex input").attr('placeholder', '请输入您想要查询的招标信息,多个关键词用空格隔开')
+    } else if (dataId == 'qy') {
+      $("#zbIndex").attr("action", '/jylab/entSearch/index.html');
+      $("#zbIndex .ser").attr("name", 'searchvalue')
+      $("#zbIndex input").attr('placeholder', '请输入企业名称')
+    } else if (dataId == 'cg') {
+      $("#zbIndex").attr("action", '/jylab/purSearch/index.html');
+      $("#zbIndex .ser").attr("name", 'searchvalue')
+      $("#zbIndex input").attr('placeholder', '请输入采购单位名称')
+    } else if (dataId == 'gy') {
+      $("#zbIndex").attr("action", '/swordfish/page_web_pc/search/issued');
+      $("#zbIndex .ser").attr("name", 'keywords')
+      $("#zbIndex input").attr('placeholder', '请输入您想要查询的供应信息,多个关键词用空格隔开')
+    }
+  })
+
+  function thinkList () {
+    var entName = $("#jy-index .ser").val()
+    $.ajax({
+      type: "POST",
+      url: req_base + 'jylab/bidsearchforent/recList',
+      data: {
+        entName: entName
+      },
+      success: function (result) {
+        if (result.recList) {
+          $("#jy-index .search .index_search_thikn").show()
+          var str = ''
+          result.recList.forEach(function (v, i) {
+            str += '<li><a href="/jylab/bidsearchforent/index.html?searchvalue=' + v.name + '">' + v.name + '</a></li>'
+          })
+          $("#jy-index .search .index_search_thikn ul").html(str)
+        } else {
+          $("#jy-index .search .index_search_thikn").hide()
+        }
+
+      },
+    })
+  }
+
+  function debounce (fn, delay) {
+    var timeout = null; // 创建一个标记用来存放定时器的返回值
+    return function (e) {
+      // 每当用户输入的时候把前一个 setTimeout clear 掉
+      clearTimeout(timeout);
+      // 然后又创建一个新的 setTimeout, 这样就能保证interval 间隔内如果时间持续触发,就不会执行 fn 函数
+      var _this = this
+      timeout = setTimeout(function () {
+        fn.apply(_this, arguments);
+      }, delay);
+    };
+  }
+
+  $("#jy-index .ser").bind("input propertychange", function () {
+    if ($("#zbIndex").attr("action") == '/jylab/bidsearchforent/index.html') {
+      debounce(thinkList(), 500)
+    }
+  })
+
+
+});
+
+
+(function animateUp () {
+  var obj = $('.CfadeInUp');
+  var objH = $('.CfadeInUp').outerHeight();
+  var num = [];
+  var wH = $(window).height();
+  var wScrollTop = $(window).scrollTop();
+
+  // 获取页面所有obj的top位置,存入数组
+  for (var i = 0; i < obj.length; i++) {
+    num.push(obj.eq(i).offset().top + (objH / 3));
+  }
+  // console.log(num)
+  // 循环数组,判断obj的位置是否在可视区中
+  function judgeTop () {
+    for (var j = 0; j < num.length; j++) {
+      if (num[j] >= wScrollTop && num[j] < (wScrollTop + wH - 50)) {
+        // console.log(j)
+        if (j == 0) {
+          obj.eq(j).css({
+            'animation-name': 'CfadeInUp',
+            'animation-duration': 0.8 + 's',
+            'opacity': '1'
+          });
+        } else {
+          obj.eq(j).css({
+            'animation-name': 'CfadeInUp',
+            'animation-duration': 1.4 + 's',
+            'opacity': '1'
+          });
+        }
+      }
+    }
+  };
+  // 页面初始化时先调用一次
+  judgeTop();
+
+  // 触发滚动事件调用判断函数
+  $(window).scroll(function (event) {
+    wH = $(window).height();
+    wScrollTop = $(window).scrollTop();
+    judgeTop();
+  });
+})();
+
+var entAssoc = {
+  list: [],
+  preSearch: {
+    hover: false,
+    focus: false
+  },
+  init: function () {
+    this.initDOMEvents()
+  },
+  initDOMEvents: function () {
+    var _this = this
+    $('#keywords').on('input', this.debounce(function () {
+      var isEntSearch = $('.search .tips .active').text().indexOf('企业搜索') !== -1
+      if (isEntSearch) {
+        _this.getAssocList()
+        _this.checkListShow()
+      }
+    }, 300))
+    $('.pre-search-list').on('click', '.pre-search-item', function () {
+      var id = $(this).attr('data-id')
+      window.open('/swordfish/page_big_pc/svip/ent_ser_portrait/' + id)
+    })
+    // 控制list显示隐藏
+    $('#keywords').on('focus', function () {
+      _this.preSearch.focus = true
+      _this.checkListShow()
+    }).on('blur', function () {
+      _this.preSearch.focus = false
+      _this.checkListShow()
+    })
+    $('.pre-search-list').on('mouseout', function () {
+      _this.preSearch.hover = false
+      _this.checkListShow()
+    }).on('mouseover', function () {
+      _this.preSearch.hover = true
+      _this.checkListShow()
+    })
+  },
+  checkListShow: function () {
+    var isEntSearch = $('.search .tips .active').text().indexOf('企业搜索') !== -1
+    var show = $('#keywords').val().length >= 2 && this.list.length && (this.preSearch.focus || this.preSearch.hover) && isEntSearch
+    this.listShow(show)
+  },
+  getAssocList: function () {
+    var _this = this
+    var data = {
+      name: $('#keywords').val()
+    }
+    if (data.name.length < 2) return
+    $.ajax({
+      url: '/bigmember/search/ent/association',
+      method: 'POST',
+      data: data,
+      success: function (res) {
+        if (res.error_code === 0) {
+          if (res.data) {
+            _this.list = res.data.list || []
+            if (_this.list.length) {
+              _this.render()
+              _this.checkListShow()
+            }
+          }
+        }
+      }
+    })
+  },
+  render: function () {
+    var container = $('.pre-search-list')
+    var html = ''
+    this.list.forEach(function (item) {
+      html += ('<div class="pre-search-item ellipsis" data-id=' + item.entId + '>' + item.name + '</div>')
+    })
+    container.html(html)
+  },
+  listShow: function (f) {
+    if (f) {
+      $('.pre-search-list').show()
+    } else {
+      $('.pre-search-list').hide()
+    }
+  },
+  debounce: function (func, delay, immediate) {
+    var timer = null;
+    delay = delay || 200
+    return function () {
+      var context = this;
+      var args = arguments;
+      if (timer) clearTimeout(timer);
+      if (immediate) {
+        var doNow = !timer;
+        timer = setTimeout(function () {
+          timer = null;
+        }, delay);
+        if (doNow) {
+          func.apply(context, args);
+        }
+      } else {
+        timer = setTimeout(function () {
+          func.apply(context, args);
+        }, delay);
+      }
+    }
+  }
+}
+entAssoc.init()

+ 11 - 8
src/web/templates/big-member/wx/page_pro_follow_detail.html

@@ -558,16 +558,17 @@
             } else {
                 this.isAddClass = true
             }
-            if (utils.getParam('fid')) {
-                this.fid = utils.getParam('fid')
+            // utils.getParam('fid') 社交分享版本发现的问题(fid有时为空且不同人打开分享链接fid不是自己的)fid不从url和缓存中取  获取从detail接口取
+            if (utils.getParam('sid')) {
+                // this.fid = utils.getParam('fid')
                 this.sid = utils.getParam('sid')
                 var objId = {
-                    fid: utils.getParam('fid'),
+                    // fid: utils.getParam('fid'),
                     sid: utils.getParam('sid')
                 }
                 sessionStorage.setItem('bigvip-fid', JSON.stringify(objId))
             } else {
-                this.fid = JSON.parse(sessionStorage.getItem('bigvip-fid')).fid
+                // this.fid = JSON.parse(sessionStorage.getItem('bigvip-fid')).fid
                 this.sid = JSON.parse(sessionStorage.getItem('bigvip-fid')).sid
             }
             this.getCanBiaoInfo()
@@ -812,8 +813,8 @@
               data: JSON.stringify(params),
               success: function(res) {
                 if(res.error_code === 0) {
-                  let list = res.data.list
-                  if(!list) {list = []}
+                  let list = res.data && res.data.list ? res.data.list : []
+                  // if(!list) {list = []}
                   if (list.length > 0) {
                     _this.cbInfo.isShowRefer = true
                   } else {
@@ -1065,10 +1066,11 @@
               this.bidProject = false
             },
             getShareParams () {
+              var params = location.href.indexOf('?') > -1 ? '&fid=' + this.fid + '&sid=' + this.sid : '?fid=' + this.fid + '&sid=' + this.sid
               this.proParams = {
                 type: '2',
                 id: this.sid,
-                referer: location.href
+                referer: location.href + params
               }
             },
             goAnalysis: function () {
@@ -1180,7 +1182,7 @@
                     url: '/bigmember/follow/project/detail',
                     data: {
                         sid: _this.sid,
-                        fid: _this.fid
+                        // fid: _this.fid
                     },
                     success: function (res) {
                         if (res.error_code == 0) {
@@ -1190,6 +1192,7 @@
                             _this.prolist = projectInfos
                             _this.projectname = projectInfos.projectname
                             _this.sid = resdata.sid
+                            _this.fid = resdata.fid
                             _this.careShow = resdata.isfollow
                             // 地区显示
                             var getAreas = ['北京', '天津', '重庆', '上海']

+ 491 - 0
src/web/templates/pc/brand/index.html

@@ -0,0 +1,491 @@
+<!DOCTYPE html>
+<html lang="zh">
+<head>
+  <meta charset="UTF-8" />
+  <title>{{Msg "seo" "qfw.swordfish.title"}}</title>
+  <meta name="Keywords" content='{{Msg "seo" "qfw.swordfish.key"}}'/>
+  <meta name="Description" content='{{Msg "seo" "qfw.swordfish.description"}}'/>
+  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
+  <meta name="format-detection" content="tephone=no" />
+  <meta content="品牌首页" theme="dark" name="enable-header"/>
+  <meta http-equiv="X-UA-Compatible" content="ie=edge" />
+  <script>
+    if(window !== window.parent){
+      window.parent.location.replace(window.location.href)
+    }
+  </script>
+  {{include "/common/pnc.html"}}
+  <link rel="stylesheet" href='{{Msg "seo" "cdn"}}/css/swiper.min.css?v={{Msg "seo" "version"}}'>
+  <link rel="stylesheet" type="text/css" href='{{Msg "seo" "cdn"}}/pccss/reset_pc.css?v={{Msg "seo" "version"}}' />
+  <link rel="stylesheet" type="text/css" href='{{Msg "seo" "cdn"}}/brand/css/index.css?v={{Msg "seo" "version"}}' />
+  <link rel="stylesheet" type="text/css" href='{{Msg "seo" "cdn"}}/pccss/public-nav-1200.css?v={{Msg "seo" "version"}}' />
+  <link href='{{Msg "seo" "cdn"}}/css/pc.css?v={{Msg "seo" "version"}}' rel="stylesheet">
+  <link href="//cdn-common.jianyu360.com/cdn/lib/element-ui/2.15.7/lib/theme-chalk/index.css" rel="stylesheet" />
+</head>
+<body>
+{{include "/common/pchead.html"}}
+
+<section class="jy-index" id="jy-index">
+  <!--轮播广告-->
+  <div class="jy-index-banner">
+    <div class="swiper-container" id="bannerSwiper">
+      <div class="swiper-wrapper">
+        {{range $k,$v:=Ad "jy_pc_brand_index_banner" -1 .Host}}
+        <a class="swiper-slide"
+           {{if $v.S_link }}href="{{$v.S_link}}"{{end}}
+           {{if eq $v.O_extend.Linktype "abroad" }} target="_blank" {{else}} target="_self" {{end}}
+        >
+        <img class="img-banner" data-theme="{{$v.O_extend.Theme}}" src='{{$v.S_pic}}' alt="{{$v.S_remark}}">
+        </a>
+        {{end}}
+      </div>
+      <div class="swiper-pagination custom-dot"></div>
+    </div>
+  </div>
+
+  <!-- 公司动态 -->
+  <div class="jy-index-dt CfadeInUp">
+    <h3 class="module-title">公司动态</h3>
+    <p class="w1200 more">
+      <a href="/jyCms/gsdt/index.html" class="item-link" target="_blank">查看更多</a>
+    </p>
+    <div class="w1200 dt-container">
+      {{range $i, $v := JyCms "gsdt" 3}}
+      <div class="dt-card" onclick="window.open('/jyblog/{{$v._id}}.html')">
+        <div class="card-img">
+          <img src="{{$v.s_pic1}}" alt="{{$v.s_title}}">
+        </div>
+        <div class="card-main">
+          <div class="card-time">{{$v.time}}</div>
+          <div class="card-title">{{$v.s_title}}</div>
+          <div class="ellipsis-3 card-summary">{{$v.s_description}}</div>
+        </div>
+      </div>
+      {{end}}
+    </div>
+  </div>
+
+  <!-- 核心产品区域 -->
+  <div class="jy-index-product CfadeInUp">
+    <h3 class="module-title">核心产品</h3>
+    <div class="w1200 product-container">
+      <div class="main-product">
+        <div class="product-item main-product-item svip-product" data-href="/front/subscribe.html">
+          <div class="p-link">了解详情</div>
+          <div class="p-name">超级订阅</div>
+          <div class="p-detail">按需订阅,实时推送,高效获取最新招标信息。</div>
+        </div>
+        <div class="product-item main-product-item bigmember-product"  data-href="/big/page/index">
+          <div class="p-link">了解详情</div>
+          <div class="p-name">大会员</div>
+          <div class="p-detail">招投标大数据帮你推荐超前项目、分析业主、企业画像,针对目标市场数据导出、分析。</div>
+        </div>
+      </div>
+      <div class="other-product">
+        <div class="product-item other-product-item buyer-product" data-href="/swordfish/frontPage/serviceSystem/free/index?serviceType=1">
+          <div class="p-link">了解详情</div>
+          <div class="p-name">采购单位服务</div>
+          <div class="p-detail">提供信息发布、供应商招募、供应商推荐,精准对接海量供需资源。</div>
+        </div>
+        <div class="product-item other-product-item agency-product" data-href="/swordfish/frontPage/serviceSystem/free/index?serviceType=2">
+          <div class="p-link">了解详情</div>
+          <div class="p-name">招标代理机构服务</div>
+          <div class="p-detail">帮招标代理机构推荐可信赖的供应商、采购单位,拓宽采购的渠道!</div>
+        </div>
+        <div class="product-item other-product-item data-market-product" data-href="/front/dataMarket/index">
+          <div class="p-link">了解详情</div>
+          <div class="p-name">数据市场</div>
+          <div class="p-detail">1.8亿+ 条招标数据开放交易,根据企业自身需求自行构建各类数据应用!</div>
+        </div>
+      </div>
+    </div>
+  </div>
+
+  <!-- 行业解决方案 -->
+  <div class="jy-index-plan CfadeInUp">
+    <h3 class="module-title">行业解决方案</h3>
+    <div class="w1200 plan-container">
+      <div class="plan-item plan-item-1" onclick="window.open('/swordfish/frontPage/solution/free/index')">
+        <div class="item-icon"></div>
+        <div class="item-header">电信运营商</div>
+        <div class="item-content">以剑鱼标讯收录的海量招投标信息及企业公示数据为基础,实现省、市、县三级数据联动,通过对源数据进行清洗、整理、分析,提供相应的行业解决方案。</div>
+        <div class="item-link">了解详情</div>
+      </div>
+      <div class="plan-item plan-item-2" onclick="window.open('http://clpages.cn/yxtgwyxy?from_wecom=1')">
+        <div class="item-icon"></div>
+        <div class="item-header">医疗器械</div>
+        <div class="item-content">为企业提供医疗市场情报、竞争对手情报、客户情报、合作伙伴情报、商机管理等服务,帮助企业全面透视市场情况,解决医疗器械市场数据监测难题,辅助市场决策,做好渠道建设和维护,提升企业竞争力。</div>
+        <div class="item-link">了解详情</div>
+      </div>
+      <div class="plan-item plan-item-3" onclick="window.open('/bank/pc/scheme')">
+        <div class="item-icon"></div>
+        <div class="item-header">银行</div>
+        <div class="item-content">剑鱼标讯充分利用人工智能和大数据技术,帮助银行对公营销挖掘“机构、大中小”客户,为银行提供基于大数据技术构建的批量、精准、高效的整合营销解决方案。</div>
+        <div class="item-link">了解详情</div>
+      </div>
+    </div>
+  </div>
+
+  <!-- 合作伙伴 -->
+  <div class="jy-index-partners CfadeInUp">
+    <h3 class="module-title">合作伙伴</h3>
+    <div class="partners-container swiper-container">
+      <div class="swiper-wrapper">
+        <div class="swiper-slide">
+          <div class="img-box">
+            <img src='{{Msg "seo" "cdn"}}/images/index/huawei.png?v={{Msg "seo" "version"}}'>
+          </div>
+          <div class="img-box">
+            <img src='{{Msg "seo" "cdn"}}/images/index/xinyu.png?v={{Msg "seo" "version"}}'>
+          </div>
+          <div class="img-box">
+            <img src='{{Msg "seo" "cdn"}}/images/index/duopuduo.png?v={{Msg "seo" "version"}}'>
+          </div>
+        </div>
+        <div class="swiper-slide">
+          <div class="img-box">
+            <img src='{{Msg "seo" "cdn"}}/images/index/baidu.png?v={{Msg "seo" "version"}}'>
+          </div>
+          <div class="img-box">
+            <img src='{{Msg "seo" "cdn"}}/images/index/ruijie.png?v={{Msg "seo" "version"}}'>
+          </div>
+          <div class="img-box">
+            <img src='{{Msg "seo" "cdn"}}/images/index/haikang.png?v={{Msg "seo" "version"}}'>
+          </div>
+        </div>
+        <div class="swiper-slide">
+          <div class="img-box">
+            <img src='{{Msg "seo" "cdn"}}/images/index/taipingyang.png?v={{Msg "seo" "version"}}'>
+          </div>
+          <div class="img-box">
+            <img src='{{Msg "seo" "cdn"}}/images/index/yitu.png?v={{Msg "seo" "version"}}'>
+          </div>
+          <div class="img-box">
+            <img src='{{Msg "seo" "cdn"}}/images/index/hanhe.png?v={{Msg "seo" "version"}}'>
+          </div>
+        </div>
+        <div class="swiper-slide">
+          <div class="img-box">
+            <img src='{{Msg "seo" "cdn"}}/images/index/guangda.png?v={{Msg "seo" "version"}}'>
+          </div>
+          <div class="img-box">
+            <img src='{{Msg "seo" "cdn"}}/images/index/dekey.png?v={{Msg "seo" "version"}}'>
+          </div>
+          <div class="img-box">
+            <img src='{{Msg "seo" "cdn"}}/images/index/jida.png?v={{Msg "seo" "version"}}'>
+          </div>
+        </div>
+        <div class="swiper-slide">
+          <div class="img-box">
+            <img src='{{Msg "seo" "cdn"}}/images/index/ali.png?v ={{Msg "seo" "version"}}'>
+          </div>
+          <div class="img-box">
+            <img src='{{Msg "seo" "cdn"}}/images/index/zhonghui.png?v={{Msg "seo" "version"}}'>
+          </div>
+          <div class="img-box">
+            <img src='{{Msg "seo" "cdn"}}/images/index/lianruan.png?v={{Msg "seo" "version"}}'>
+          </div>
+        </div>
+        <div class="swiper-slide">
+          <div class="img-box">
+            <img src='{{Msg "seo" "cdn"}}/images/index/minsheng.png?v={{Msg "seo" "version"}}'>
+          </div>
+          <div class="img-box">
+            <img src='{{Msg "seo" "cdn"}}/images/index/lehe.png?v={{Msg "seo" "version"}}'>
+          </div>
+          <div class="img-box">
+            <img src='{{Msg "seo" "cdn"}}/images/index/meinian.png?v={{Msg "seo" "version"}}'>
+          </div>
+        </div>
+        <div class="swiper-slide">
+          <div class="img-box">
+            <img src='{{Msg "seo" "cdn"}}/images/index/dianxin.png?v={{Msg "seo" "version"}}'>
+          </div>
+          <div class="img-box">
+            <img src='{{Msg "seo" "cdn"}}/images/index/jingyi.png?v={{Msg "seo" "version"}}'>
+          </div>
+          <div class="img-box">
+            <img src='{{Msg "seo" "cdn"}}/images/index/siem.png?v={{Msg "seo" "version"}}'>
+          </div>
+        </div>
+        <div class="swiper-slide">
+          <div class="img-box">
+            <img src='{{Msg "seo" "cdn"}}/images/index/shenxin.png?v={{Msg "seo" "version"}}'>
+          </div>
+          <div class="img-box">
+            <img src='{{Msg "seo" "cdn"}}/images/index/bot.png?v={{Msg "seo" "version"}}'>
+          </div>
+          <div class="img-box">
+            <img src='{{Msg "seo" "cdn"}}/images/index/yidong.png?v={{Msg "seo" "version"}}'>
+          </div>
+        </div>
+        <div class="swiper-slide">
+          <div class="img-box">
+            <img src='{{Msg "seo" "cdn"}}/images/index/wandong.png?v={{Msg "seo" "version"}}'>
+          </div>
+          <div class="img-box">
+            <img src='{{Msg "seo" "cdn"}}/images/index/aite.png?v={{Msg "seo" "version"}}'>
+          </div>
+          <div class="img-box">
+            <img src='{{Msg "seo" "cdn"}}/images/index/yushi.png?v={{Msg "seo" "version"}}'>
+          </div>
+        </div>
+        <div class="swiper-slide">
+          <div class="img-box">
+            <img src='{{Msg "seo" "cdn"}}/images/index/wanfu.png?v={{Msg "seo" "version"}}'>
+          </div>
+          <div class="img-box">
+            <img src='{{Msg "seo" "cdn"}}/images/index/lianying.png?v={{Msg "seo" "version"}}'>
+          </div>
+          <div class="img-box">
+            <img src='{{Msg "seo" "cdn"}}/images/index/ruiwode.png?v={{Msg "seo" "version"}}'>
+          </div>
+        </div>
+        <div class="swiper-slide">
+          <div class="img-box">
+            <img src='{{Msg "seo" "cdn"}}/images/index/drager.png?v={{Msg "seo" "version"}}'>
+          </div>
+          <div class="img-box">
+            <img src='{{Msg "seo" "cdn"}}/images/index/stryker.png?v={{Msg "seo" "version"}}'>
+          </div>
+          <div class="img-box">
+            <img src='{{Msg "seo" "cdn"}}/images/index/mindray.png?v={{Msg "seo" "version"}}'>
+          </div>
+        </div>
+        <div class="swiper-slide">
+          <div class="img-box">
+            <img src='{{Msg "seo" "cdn"}}/images/index/zhongtongfu.png?v={{Msg "seo" "version"}}'>
+          </div>
+          <div class="img-box">
+            <img src='{{Msg "seo" "cdn"}}/images/index/braun.png?v={{Msg "seo" "version"}}'>
+          </div>
+          <div class="img-box">
+            <img src='{{Msg "seo" "cdn"}}/images/index/neusoft.png?v={{Msg "seo" "version"}}'>
+          </div>
+        </div>
+      </div>
+    </div>
+  </div>
+
+
+  <!-- 底部广告位 -->
+  <div class="pc-index-bottom">
+    <img class="bottom-member-ad" adv_name="PC首页广告位-底部" src="" alt="底部广告位">
+  </div>
+
+  {{include "/common/pcbottom.html"}}
+</section>
+
+</body>
+<script src='{{Msg "seo" "cdn"}}/js/swiper.min.js?v={{Msg "seo" "version"}}'></script>
+<script type="text/javascript" src='{{Msg "seo" "cdn"}}/js/public-nav.js?v={{Msg "seo" "version"}}'></script>
+<script type="text/javascript">
+  var pageIndex = {
+    init: function() {
+      this.lunBoFn() // banner轮播
+      this.setCopyRightForBottom() // 设置copyright
+    },
+    lunBoFn: function () {
+      // banner广告位轮播
+      var bannerSwiper = new Swiper('#bannerSwiper', {
+        slidesPerView: 1,
+        centeredSlides: true,
+        observer: true,
+        speed: 800,
+        pagination: {
+          el: '.swiper-pagination',
+          clickable :true
+        },
+        autoplay: $('#bannerSwiper').find('.swiper-slide').length > 1 ? {
+          delay: 10000
+        } : false, // imageList.length > 1 ? true : false
+        paginationClickable: true,
+        loop: $('#bannerSwiper').find('.swiper-slide').length > 1 ? true : false, // imageList.length > 1 ? true : false
+        on: {
+          slideChangeTransitionStart: function() {
+            var img = document.getElementsByClassName('swiper-slide-active')[0].children[0];
+            var theme = $(img).attr('data-theme')
+            var opa = $(document).scrollTop() / 20
+            if (opa < 1) {
+              if (theme === 'light') {
+                setTimeout(function(){
+                  $('.public-nav').addClass('light-bg-dark-color').removeClass('light-bg-light-color')
+                  $('.swiper-pagination').addClass('light-swiper-bg-dark-color').removeClass('light-swiper-bg-light-color')
+                  $('.loginBtn').css('color', '#1d1d1d')
+                }, 100)
+              } else {
+                setTimeout(function(){
+                  $('.public-nav').addClass('light-bg-light-color').removeClass('light-bg-dark-color')
+                  $('.loginBtn').css('color', '#fff')
+                  var a = $('.jy-index .jy-index-banner .custom-dot .swiper-pagination-bullet-active')
+                  // $('.jy-index .jy-index-banner .custom-dot .swiper-pagination-bullet').css('background', 'rgba(255, 255, 255, 0.32)')
+                  $('.swiper-pagination').addClass('light-swiper-bg-light-color').removeClass('light-swiper-bg-dark-color')
+                }, 100)
+              }
+            }
+          }
+        }
+      });
+      bannerSwiper.init();
+      // 合作伙伴走马灯
+      var partners = new Swiper('.partners-container', {
+        slidesPerView: "auto",
+        centeredSlides: true,
+        speed: 4000,
+        // autoplay: true,
+        freeMode: true,
+        loop: true,
+        slidesPerGroup: 1,
+        autoplay: {
+          delay: 1, //自动切换的时间间隔
+          disableOnInteraction: false,
+          pauseOnMouseEnter: true, //鼠标置于swiper时暂停自动切换,鼠标离开时恢复自动切换。
+        }
+      });
+      partners.init()
+    },
+    setCopyRightForBottom: function (url) {
+      var host = url || location.host
+      var nowCopyRightInfo = {
+        rule: '',
+        icp: ''
+      }
+      var copyRightMap = [
+        {
+          rule: 'jianyu360.com',
+          icp: '京ICP备14030217号-3'
+        },
+        {
+          rule: 'jianyu360.cn',
+          icp: '京ICP备2021020018号-1'
+        },
+        {
+          rule: 'jianyubiaoxun.com',
+          icp: '京ICP备14030217号-8'
+        }
+      ]
+      copyRightMap.forEach(function (v) {
+        if (host.indexOf(v.rule) !== -1) {
+          nowCopyRightInfo = v
+        }
+      })
+      var copyright = '©2015-' + new Date().getFullYear() + ' ' +nowCopyRightInfo.rule+ ' 版权所有 | ' + '<a style="color: inherit; font-size: inherit;" href="https://beian.miit.gov.cn/" target="_blank">' + nowCopyRightInfo.icp + '</a>'
+      $('.copyright').html(copyright)
+    },
+
+    onClickEvent: function() {
+      $("#close2x").click(function () {
+        localStorage.setItem("tc", day)
+        $("#index_tc").animate({
+          opacity: "hide"
+        }, "slow");
+        $("#close2x").animate({
+          opacity: "hide"
+        }, "slow");
+        $(".tans").animate({
+          opacity: "hide"
+        }, "slow");
+      });
+      $("#index_tc").on("click", function () {
+        var dataUrl = $(this).attr("dataUrl")
+        if (dataUrl!=""){
+          localStorage.setItem("tc", day)
+          window.location.href = dataUrl;
+        }
+      })
+
+      $('.product-item').on('click', function() {
+        window.location.href = $(this).attr('data-href')
+      })
+
+      $('#app-btn').on('click', function(){
+        if (!loginflag ) {
+          openLoginDig()
+          return
+        }
+        vm.dialogTitle = '请填写信息,我们会根据您的需求,提供最适合的产品演示服务!'
+        vm.isNeedSubmit('pc_index_bid_data')
+      })
+
+      $('.jy-index-platform .tab-header').hover(function() {
+        $(this).stop().addClass('active').siblings('.tab-content').stop().slideDown()
+        $(this).parent('.tab-menu').siblings().children('.tab-header').stop().removeClass('active').siblings('.tab-content').stop().slideUp()
+        $($('.platform-right img[data-index="' + $(this).attr('data-index') +'"]')).stop().fadeIn('fast').siblings().stop().fadeOut('fast')
+      })
+
+      $("strong[data-format-time]").each(function () {
+        var timeStr = $(this).attr('data-format-time')
+        if (timeStr) {
+          $(this).text(utils.dateFromNow(timeStr * 1000))
+        }
+      })
+
+      $('#jy-index').css('min-height', document.documentElement.clientHeight + 'px')
+
+      clearInterval(memberTimer)
+      var memberTimer = setInterval(function () {
+        if (window.memberStatus >= 0) {
+          clearInterval(memberTimer)
+        }
+        adBottomFn()
+      }, 2000)
+      function adBottomFn () {
+        console.log(window.memberStatus, 'dahuiyuan');
+
+        if (window.memberStatus > 0) {
+
+          $('.pc-index-bottom').hide()
+          fixBottomADHeight(false)
+        } else {
+          var top1 = 0;
+          var top2 = 0;
+          var timer = null;
+          $(document).scroll(function(){
+            clearTimeout(timer)
+            timer = setTimeout(isScrollEnd, 1000);
+            top1 = document.documentElement.scrollTop || document.body.scrollTop;
+
+            $('.pc-index-bottom').fadeOut()
+          })
+          function isScrollEnd() {
+            top2 = document.documentElement.scrollTop || document.body.scrollTop;
+            if(top1 == top2 && (window.memberStatus <= 0 || !window.memberStatus)){
+
+              $('.pc-index-bottom').fadeIn()
+            }
+          }
+        }
+      }
+    }
+  }
+  $(function () {
+    pageIndex.init()
+    haslogin({{.T.logid}});
+
+
+    // 首页底部广告位
+    {{$bottom:=(Ad "jy_pc_brand_index_bottom" -1 .Host)}}
+    var bottom_img = ({{$bottom}})
+
+    // 首页底部样式调整,适配广告位
+    function fixBottomADHeight (type) {
+      var adHeight = $('.pc-index-bottom').height()
+      if (type) {
+        $(".jy_renzheng").css('padding-bottom', adHeight)
+        $(".j-bottom").attr('data-padding-bottom', Number($(".j-bottom").css('padding-bottom').replace('px', '')))
+        $(".j-bottom").css('padding-bottom', Number($(".j-bottom").css('padding-bottom').replace('px', '')) + adHeight)
+      } else {
+        $(".jy_renzheng").css('padding-bottom', 0)
+        $(".j-bottom").css('padding-bottom', Number($(".j-bottom").attr('data-padding-bottom')))
+      }
+    }
+    $('.pc-index-bottom .bottom-member-ad').on('load', function () {
+      fixBottomADHeight(true)
+    })
+    $('.pc-index-bottom .bottom-member-ad').attr('src', bottom_img[0].s_pic)
+    $('.pc-index-bottom .bottom-member-ad').unbind('click').click(function () {
+      window.open(bottom_img[0].s_link)
+    })
+  })
+</script>
+</html>

+ 151 - 230
src/web/templates/pc/index.html

@@ -29,39 +29,26 @@
 		{{include "/common/pchead.html"}}
 
 		<section class="jy-index" id="jy-index">
-      <!--轮播广告-->
+      <!--头图区域-->
       <div class="jy-index-banner">
-        <div class="swiper-container" id="bannerSwiper">
-            <div class="swiper-wrapper">
-              {{range $k,$v:=Ad "index-banner-top" -1 .Host}}
-                <a class="swiper-slide"
-                   {{if $v.S_link }}href="{{$v.S_link}}"{{end}}
-                   {{if eq $v.O_extend.Linktype "abroad" }} target="_blank" {{else}} target="_self" {{end}}
-                  >
-                  <img class="img-banner" data-theme="{{$v.O_extend.Theme}}" src='{{$v.S_pic}}' alt="{{$v.S_remark}}">
-                </a>
-              {{end}}
-            </div>
-            <div class="swiper-pagination custom-dot"></div>
-        </div>
-      </div>
-      <div class="section-light">
-        <!-- 搜索框区域 -->
-        <div class="jy-index-search">
+       <div class="content" data-theme="dark" id="bg_">
+        <h1 class="title">全国招标信息免费看,不遮挡</h1>
+         <!-- 搜索框区域 -->
+         <div class="jy-index-search">
           <div class="search">
             <div class="tips">
               <span class="active spa1" data-id="zb">招标采购搜索</span>
               <span class="spa1" data-id="qy">企业搜索</span>
-              <span id="buyUnits" class="spa1 cai-gou" data-id="cg">采购单位搜索</span>
+              <span class="spa1 cai-gou" data-id="cg" id="buyUnits">采购单位搜索</span>
               <span class="spa1" data-id="gy">供应搜索</span>
               <i></i>
             </div>
-            <form method="post" action="/jylab/supsearch/index.html" class="form-search" id="zbIndex" name="zbIndex" target="stop" onsubmit="return false">
+            <form method="post" action="/jylab/supsearch/index.html" class="form-search blur-effect" id="zbIndex" name="zbIndex" target="stop" onsubmit="return false">
               <input class="ser" onkeydown="onkeydownSearch()" autocomplete="off"  type="text" name="keywords" placeholder="请输入项目名称等关键词,例如:医疗设备" id="keywords" value="" />
               <input type="hidden" name="searchvalue">
               <input type="hidden" name="selectType" value="title">
               <input type="hidden">
-              <input class="btn" type="button" onclick="zbIndexSearch()" />
+              <input class="btn" type="button" onclick="zbIndexSearch()" value="剑鱼一下"/>
             </form>
             <iframe  name="stop" style="display:none;"></iframe>
             <div class="index_search_thikn">
@@ -71,80 +58,85 @@
             <div class="pre-search-list" style="display: none;"></div>
           </div>
         </div>
+        <div class="hot-search">
+          <div class="left-tit">热门搜索</div>
+          <div class="right-con">
+            <a href="">云计算</a>
+          </div>
+        </div>
+       </div>
+      </div>
+      <div class="section-light">
          <!-- 消息展示 -->
         <div id="vue-message-index-pc"></div>
-        <!-- 热点事件 -->
+        <!--  -->
         <div class="jy-index-hot CfadeInUp">
           <div class="w1200 hot-container">
-            {{range $i, $v :=Ad "index-hot-list" -1 .Host}}
-            <div class="hot-banner" {{if $v.S_link }} onclick="window.location.href='{{$v.S_link}}'" {{end}}>
-              <img src='{{$v.S_pic}}' alt="{{$v.S_remark}}">
+            <div class="hot-banner">
+              <div class="left blue">招标公告</div>
+              <div class="right">
+                <a href="">招标公告</a>
+              </div>
+            </div>
+            <div class="hot-banner">
+              <div class="left yellow">项目数据</div>
+              <div class="right">
+                <a href="">拟建项目</a>
+              </div>
+            </div>
+            <div class="hot-banner">
+              <div class="left green">机构数据</div>
+              <div class="right">
+                <a href="">企业搜索</a>
+              </div>
+            </div>
+            <div class="hot-banner">
+              <div class="left violet">数据市场</div>
+              <div class="right">
+                <a href="">自助数据导出</a>
+              </div>
             </div>
-            {{end}}
           </div>
         </div>
-        <!-- 核心产品区域 -->
+        <!-- 独家行业洞察区域 -->
         <div class="jy-index-product CfadeInUp">
-          <h3 class="module-title">核心产品</h3>
+          <h3 class="module-title">独家行业洞察</h3>
           <div class="w1200 product-container">
-            <div class="main-product">
-              <div class="product-item main-product-item svip-product" data-href="/front/subscribe.html">
-                <div class="p-link">了解详情</div>
-                <div class="p-name">超级订阅</div>
-                <div class="p-detail">按需订阅,实时推送,高效获取最新招标信息。</div>
-              </div>
-              <div class="product-item main-product-item bigmember-product"  data-href="/big/page/index">
-                <div class="p-link">了解详情</div>
-                <div class="p-name">大会员</div>
-                <div class="p-detail">招投标大数据帮你推荐超前项目、分析业主、企业画像,针对目标市场数据导出、分析。</div>
-              </div>
-            </div>
             <div class="other-product">
               <div class="product-item other-product-item buyer-product" data-href="/swordfish/frontPage/serviceSystem/free/index?serviceType=1">
                 <div class="p-link">了解详情</div>
-                <div class="p-name">采购单位服务</div>
-                <div class="p-detail">提供信息发布、供应商招募、供应商推荐,精准对接海量供需资源。</div>
+                <div class="p-name">商机情报</div>
+                <div class="p-detail">提前推送超前项目,优先对接项目负责人,抢占绝对先机。</div>
               </div>
               <div class="product-item other-product-item agency-product" data-href="/swordfish/frontPage/serviceSystem/free/index?serviceType=2">
                 <div class="p-link">了解详情</div>
-                <div class="p-name">招标代理机构服务</div>
-                <div class="p-detail">帮招标代理机构推荐可信赖的供应商、采购单位,拓宽采购的渠道!</div>
+                <div class="p-name">企业全景分析</div>
+                <div class="p-detail">360°全景洞察,全面掌握企业动态,分析企业中标项目,了解客户和竞争对手。</div>
               </div>
               <div class="product-item other-product-item data-market-product" data-href="/front/dataMarket/index">
                 <div class="p-link">了解详情</div>
-                <div class="p-name">数据市场</div>
-                <div class="p-detail">1.8亿+ 条招标数据开放交易,根据企业自身需求自行构建各类数据应用!</div>
+                <div class="p-name">投标决策分析</div>
+                <div class="p-detail">分析同类项目,优化投标分析流程,提高企业投标决策效率。</div>
+              </div>
+            </div>
+            <div class="main-product">
+              <div class="product-item main-product-item svip-product" data-href="/front/subscribe.html">
+                <div class="p-link">了解详情</div>
+                <div class="p-name">市场洞察</div>
+                <div class="p-detail">针对目标市场、区域进行市场分析、定制市场分析报告,精准分析客户、竞对、市场 ,帮助市场决策和拓展。</div>
+              </div>
+              <div class="product-item main-product-item bigmember-product"  data-href="/big/page/index">
+                <div class="p-link">了解详情</div>
+                <div class="p-name">医械行业版</div>
+                <div class="p-detail">面向医械领域的行业专版,汇集专业数据帮助医械厂商、经销商拓展优质经销商渠道、拓展合作关系,掌握市场格局和趋势。</div>
               </div>
             </div>
-          </div>
-        </div>
-      </div>
-      <!-- 行业解决方案 -->
-      <div class="jy-index-plan CfadeInUp">
-        <h3 class="module-title">行业解决方案</h3>
-        <div class="w1200 plan-container">
-          <div class="plan-item plan-item-1" onclick="window.open('/swordfish/frontPage/solution/free/index')">
-            <div class="item-icon"></div>
-            <div class="item-header">电信运营商</div>
-            <div class="item-content">以剑鱼标讯收录的海量招投标信息及企业公示数据为基础,实现省、市、县三级数据联动,通过对源数据进行清洗、整理、分析,提供相应的行业解决方案。</div>
-            <div class="item-link">了解详情</div>
-          </div>
-          <div class="plan-item plan-item-2" onclick="window.open('http://clpages.cn/yxtgwyxy?from_wecom=1')">
-            <div class="item-icon"></div>
-            <div class="item-header">医疗器械</div>
-            <div class="item-content">为企业提供医疗市场情报、竞争对手情报、客户情报、合作伙伴情报、商机管理等服务,帮助企业全面透视市场情况,解决医疗器械市场数据监测难题,辅助市场决策,做好渠道建设和维护,提升企业竞争力。</div>
-            <div class="item-link">了解详情</div>
-          </div>
-          <div class="plan-item plan-item-3" onclick="window.open('/bank/pc/scheme')">
-            <div class="item-icon"></div>
-            <div class="item-header">银行</div>
-            <div class="item-content">剑鱼标讯充分利用人工智能和大数据技术,帮助银行对公营销挖掘“机构、大中小”客户,为银行提供基于大数据技术构建的批量、精准、高效的整合营销解决方案。</div>
-            <div class="item-link">了解详情</div>
           </div>
         </div>
       </div>
       <!-- 各类链接-->
       <div class="jy-index-links CfadeInUp">
+        <h3 class="module-title">招标导航</h3>
         <div class="w1200 links-container">
           <div class="links-item-title">
             <span class="area active"><i class="iconfont icon-dizhi"></i>按地域</span>
@@ -251,6 +243,46 @@
           $(".jy-index-links .links-item-content ."+$(this).attr("class").split(" ")[0]+"-content").addClass("show")
         })
       </script>
+      <div class="jy-index-newsbeacon CfadeInUp">
+        <div class="title-box w1200">
+          <h3 class="module-title">最新标讯</h3>
+          <p class="more">
+            <a href="" class="item-link" target="_blank">查看更多</a>
+          </p>
+        </div>
+        <div class="newsbeacon-content w1200">
+          <div class="newsbeacon-item">
+            <div class="title">松江河镇特色小镇道路工程(一期)建设项目、长白山智慧仓储物流园建设项目造价咨询服务</div>
+            <div class="con">
+              <div class="tips">
+                <p class="text">江苏</p>
+                <p class="text">成交</p>
+              </div>
+              <div class="time">2022-05-10</div>
+            </div>
+          </div>
+          <div class="newsbeacon-item">
+            <div class="title">松江河镇特色小镇道路工程(一期)建设项目、长白山智慧仓储物流园建设项目造价咨询服务</div>
+            <div class="con">
+              <div class="tips">
+                <p class="text">江苏</p>
+                <p class="text">成交</p>
+              </div>
+              <div class="time">2022-05-10</div>
+            </div>
+          </div>
+          <div class="newsbeacon-item">
+            <div class="title">松江河镇特色小镇道路工程(一期)建设项目、长白山智慧仓储物流园建设项目造价咨询服务</div>
+            <div class="con">
+              <div class="tips">
+                <p class="text">江苏</p>
+                <p class="text">成交</p>
+              </div>
+              <div class="time">2022-05-10</div>
+            </div>
+          </div>
+        </div>
+      </div>
       <!--推荐标讯专区-->
       <div class="jy-index-recommend CfadeInUp">
         <h3 class="module-title">推荐标讯专区</h3>
@@ -270,126 +302,59 @@
           {{end}}
         </div>
       </div>
-      <!-- 专业的招投标大数据服务平台 -->
-      <div class="jy-index-platform CfadeInUp">
-        <h3 class="module-title">专业的招投标大数据服务平台</h3>
-        <div class="w1200 platform-container">
-          <div class="platform-left">
-            <div class="tab-menu">
-              <div data-index="1" class="tab-header active">亿万级数据库,不漏掉一个标讯</div>
-              <div class="tab-content">
-                <div class="platform-content">剑鱼标讯可第一时间采集全国权威机构公开的招标采购信息,实现招投标数据的结构化的自动流水线处理。目前剑鱼标讯已拥有亿万级数据库,数据覆盖建筑工程、信息技术等12个领域。标讯数据可实现分秒级更新,确保全面性、及时性。</div>
-                <div class="platform-footer">
-                  <span>6600万+项目库</span>
-                  <em class="text-line"></em>
-                  <span>5465万+企业库</span>
-                  <em class="text-line"></em>
-                  <span>260万+采购单位库</span>
-                  <em class="text-line"></em>
-                  <span>10W+日更新数据</span>
-                </div>
-              </div>
-            </div>
-            <div class="tab-menu">
-              <div data-index="2" class="tab-header platform-header">挖掘标讯数据潜力,快速达成销售目标</div>
-              <div class="tab-content" style="display: none;">
-                <div class="platform-content">目前产品体系覆盖标讯实时搜索、订阅推送、结构化数据、商机管理、行业解决方案等板块,成熟的产品体系企业商机获取能力提升100%。基于标讯的深度数据整理分析,可降低企业获取利用标讯数据的成本,更好洞察市场提升销售额。</div>
-              </div>
-            </div>
-            <div class="tab-menu">
-              <div data-index="3" class="tab-header platform-header">一站式服务,辅助企业数据变现</div>
-              <div class="tab-content" style="display: none;">
-                <div class="platform-content">拥有专业的开发、产品、运营、售前、售后团队,可提供全方位的产品使用指导和问题解决方案。2小时内快速响应、提供全方位的产品使用指导和问题解决方案,确保所有服务真正为企业所用。</div>
-              </div>
+      <!--  注册提示 -->
+      <div class="jy-index-freeRegistration CfadeInUp">
+        <div class="freeRegistration-content w1200">
+          <div class="left">
+            <p class="title">免费发布采购需求,快速获得合作机会!</p>
+            <div class="service">
+              <div class="item"><img src="{{Msg "seo" "cdn"}}/images/index/new/ic-1.png?v={{Msg "seo" "version"}}" alt="">供采双方直接对接</div>
+              <div class="item"><img src="{{Msg "seo" "cdn"}}/images/index/new/ic-2.png?v={{Msg "seo" "version"}}" alt="">获得合理报价,控制成本</div>
+              <div class="item"><img src="{{Msg "seo" "cdn"}}/images/index/new/ic-3.png?v={{Msg "seo" "version"}}" alt="">筛选优质供应商</div>
+              <div class="item"><img src="{{Msg "seo" "cdn"}}/images/index/new/ic-4.png?v={{Msg "seo" "version"}}" alt="">拓宽采购渠道</div>
             </div>
           </div>
-          <div class="platform-right">
-            <img  data-index="1" src='{{Msg "seo" "cdn"}}/images/index/platform-img-1.png?v={{Msg "seo" "version"}}' alt="">
-            <img  data-index="2" src='{{Msg "seo" "cdn"}}/images/index/platform-img-2.png?v={{Msg "seo" "version"}}' alt="" style="display: none;">
-            <img  data-index="3" src='{{Msg "seo" "cdn"}}/images/index/platform-img-3.png?v={{Msg "seo" "version"}}' alt="" style="display: none;">
-          </div>
+          <div class="btn_">免费注册</div>
         </div>
       </div>
-      <!-- 在线数据 -->
-      <div class="jy-index-online CfadeInUp">
-        <div class="w1200 online-container">
-           <ul>
-              <li>
-                <h4>自上线以来</h4>
-                <p>剑鱼标讯为用户成功推送了信息</p>
-                <strong><mark id="flip-number-1">{{.T.infoNum.i_push}}</mark><i>条</i></strong>
-              </li>
-              <li>
-                <h4>最近三十天</h4>
-                <p>剑鱼标讯从{{.T.infoNum.i_site}}个招标网站收录了</p>
-                <strong><mark id="flip-number-2">{{.T.infoNum.i_bidmonth}}</mark><i>条</i></strong>
-              </li>
-              <li>
-                <h4>今天</h4>
-                <p>剑鱼标讯成功为用户推送了信息</p>
-                <strong><mark id="flip-number-3">{{.T.infoNum.i_bidtoday}}</mark><i>条</i></strong>
-              </li>
-           </ul>
+      <div class="jy-index-dataServices CfadeInUp">
+        <h3 class="module-title">专业的招投标大数据服务平台</h3>
+        <div class="dataServices-content">
+          <div class="items">
+            <img src="{{Msg "seo" "cdn"}}/images/index/new/serve-1.png?v={{Msg "seo" "version"}}" alt="">
+            <div class="tit">1.8 <span>&nbsp;亿万+</span></div>
+            <p class="desc">招标信息</p>
+          </div>
+          <div class="items">
+            <img src="{{Msg "seo" "cdn"}}/images/index/new/serve-2.png?v={{Msg "seo" "version"}}" alt="">
+            <div class="tit">6600 <span>&nbsp;万+</span></div>
+            <p class="desc">招标采购项目</p>
+          </div>
+          <div class="items">
+            <img src="{{Msg "seo" "cdn"}}/images/index/new/serve-3.png?v={{Msg "seo" "version"}}" alt="">
+            <div class="tit">5465 <span>&nbsp;万+</span></div>
+            <p class="desc">企业数据库</p>
+          </div>
+          <div class="items">
+            <img src="{{Msg "seo" "cdn"}}/images/index/new/serve-4.png?v={{Msg "seo" "version"}}" alt="">
+            <div class="tit">260 <span>&nbsp;万+</span></div>
+            <p class="desc">采购单位库</p>
+          </div>
+          <div class="items">
+            <img src="{{Msg "seo" "cdn"}}/images/index/new/serve-5.png?v={{Msg "seo" "version"}}" alt="">
+            <div class="tit">306 <span>&nbsp;亿+</span></div>
+            <p class="desc">推送招标信息</p>
+          </div>
+          <div class="items">
+            <img src="{{Msg "seo" "cdn"}}/images/index/new/serve-6.png?v={{Msg "seo" "version"}}" alt="">
+            <div class="tit">10 <span>&nbsp;万+</span></div>
+            <p class="desc">每日更新招标信息</p>
+          </div>
         </div>
       </div>
-
       <!-- 多条广告如下脚本只需引入一次 -->
       <script type="text/javascript" src="//cpro.baidustatic.com/cpro/ui/cm.js" async="async" defer="defer" >
       </script>
-
-      <!-- 最新资讯 -->
-		  <div class="jy-index-news CfadeInUp">
-        <h3 class="module-title">最新资讯</h3>
-        <div class="w1200 news-container">
-        {{range $i, $v := JyCms "hyzx" 12}}
-          {{if eq $i 0}}
-          <div class="news-card" onclick="window.open('/jySite/{{$v._id}}.html')">
-            <div class="card-img">
-              <img src="{{$v.s_pic1}}" alt="{{$v.s_title}}">
-            </div>
-            <div class="card-main">
-              <div class="card-time">{{$v.time}}</div>
-              <div class="card-title">{{$v.s_title}}</div>
-              <div class="ellipsis-2 card-summary">{{$v.s_description}}</div>
-            </div>
-          </div>
-          {{end}}
-        {{end}}
-
-        <div class="news-list">
-          {{range $i, $v := JyCms "hyzx" 12}}
-            {{if gt $i 0}}
-              <a class="news-item" href="/jySite/{{$v._id}}.html" target="_blank">
-                <span class="news-item-text">{{$v.s_title}}</span>
-                <span class="news-item-date">{{$v.time}}</span>
-              </a>
-            {{end}}
-          {{end}}
-        </div>
-        </div>
-      </div>
-
-      <!-- 公司动态 -->
-      <div class="jy-index-dt CfadeInUp">
-        <h3 class="module-title">公司动态</h3>
-        <p class="w1200 more">
-          <a href="/jyCms/gsdt/index.html" class="item-link" target="_blank">查看更多</a>
-        </p>
-        <div class="w1200 dt-container">
-          {{range $i, $v := JyCms "gsdt" 3}}
-            <div class="dt-card" onclick="window.open('/jyblog/{{$v._id}}.html')">
-              <div class="card-img">
-                <img src="{{$v.s_pic1}}" alt="{{$v.s_title}}">
-              </div>
-              <div class="card-main">
-                <div class="card-time">{{$v.time}}</div>
-                <div class="card-title">{{$v.s_title}}</div>
-                <div class="ellipsis-3 card-summary">{{$v.s_description}}</div>
-              </div>
-            </div>
-          {{end}}
-        </div>
-      </div>
       <!-- 合作伙伴 -->
       <div class="jy-index-partners CfadeInUp">
           <h3 class="module-title">合作伙伴</h3>
@@ -611,8 +576,7 @@
           $('input[name="selectType"]').val('title,content')
         }
         this.getBuyerSearchPower() // 采购单位搜索权限
-        this.lunBoFn() // banner轮播
-        this.getOnlineDataFn() // 在线数据
+        // this.getOnlineDataFn() // 在线数据
         this.setCopyRightForBottom() // 设置copyright
         this.onClickEvent()
       },
@@ -632,52 +596,8 @@
             }
           }
         })
-      },
-      // 轮播图
-      lunBoFn: function () {
-        // banner广告位轮播
-        var bannerSwiper = new Swiper('#bannerSwiper', {
-          slidesPerView: 1,
-          centeredSlides: true,
-          observer: true,
-          speed: 800,
-          pagination: {
-            el: '.swiper-pagination',
-            clickable :true
-          },
-          autoplay: $('#bannerSwiper').find('.swiper-slide').length > 1 ? {
-            delay: 10000
-          } : false, // imageList.length > 1 ? true : false
-          paginationClickable: true,
-          loop: $('#bannerSwiper').find('.swiper-slide').length > 1 ? true : false, // imageList.length > 1 ? true : false
-          on: {
-            slideChangeTransitionStart: function() {
-              var img = document.getElementsByClassName('swiper-slide-active')[0].children[0];
-              var theme = $(img).attr('data-theme')
-              var opa = $(document).scrollTop() / 20
-              if (opa < 1) {
-                if (theme === 'light') {
-                  setTimeout(function(){
-                    $('.public-nav').addClass('light-bg-dark-color').removeClass('light-bg-light-color')
-                    $('.swiper-pagination').addClass('light-swiper-bg-dark-color').removeClass('light-swiper-bg-light-color')
-                    $('.loginBtn').css('color', '#1d1d1d')
-                  }, 100)
-                } else {
-                  setTimeout(function(){
-                    $('.public-nav').addClass('light-bg-light-color').removeClass('light-bg-dark-color')
-                    $('.loginBtn').css('color', '#fff')
-                    var a = $('.jy-index .jy-index-banner .custom-dot .swiper-pagination-bullet-active')
-                    // $('.jy-index .jy-index-banner .custom-dot .swiper-pagination-bullet').css('background', 'rgba(255, 255, 255, 0.32)')
-                    $('.swiper-pagination').addClass('light-swiper-bg-light-color').removeClass('light-swiper-bg-dark-color')
-                  }, 100)
-                }
-              }
-            }
-          }
-        });
-        bannerSwiper.init();
-        // 合作伙伴走马灯
-        var partners = new Swiper('.partners-container', {
+         // 合作伙伴走马灯
+         var partners = new Swiper('.partners-container', {
           slidesPerView: "auto",
           centeredSlides: true,
           speed: 4000,
@@ -868,7 +788,8 @@
       $("#share-weixin").addClass("hidden");
     });
     window.addEventListener('scroll', function() {
-      var img = document.getElementsByClassName('swiper-slide-active')[0].children[0];
+      // var img = document.getElementsByClassName('swiper-slide-active')[0].children[0];
+      var img = document.getElementById('bg_')
       var theme = $(img).attr('data-theme')
       var opa = $(document).scrollTop() / 20
       if (opa < 1) {

+ 1094 - 0
src/web/templates/pc/index_old_23_06_16.html

@@ -0,0 +1,1094 @@
+<!DOCTYPE html>
+<html lang="zh">
+  <head>
+  <meta charset="UTF-8" />
+  <title>{{Msg "seo" "qfw.swordfish.title"}}</title>
+  <meta name="Keywords" content='{{Msg "seo" "qfw.swordfish.key"}}'/>
+  <meta name="Description" content='{{Msg "seo" "qfw.swordfish.description"}}'/>
+  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
+  <meta name="format-detection" content="tephone=no" />
+  <meta content="首页" theme="dark" name="enable-header"/>
+  <meta http-equiv="X-UA-Compatible" content="ie=edge" />
+  <script>
+    if(window !== window.parent){
+      window.parent.location.replace(window.location.href)
+    }
+  </script>
+  {{include "/common/pnc.html"}}
+  <link rel="stylesheet" type="text/css" href='{{Msg "seo" "cdn"}}/pccss/reset_pc.css?v={{Msg "seo" "version"}}' />
+  <link rel="stylesheet" type="text/css" href='{{Msg "seo" "cdn"}}/pccss/public-nav-1200.css?v={{Msg "seo" "version"}}' />
+  <link rel="stylesheet" href='{{Msg "seo" "cdn"}}/css/swiper.min.css?v={{Msg "seo" "version"}}'>
+  <link rel="stylesheet" type="text/css" href='{{Msg "seo" "cdn"}}/css/pc/index_old_23_06_16.css?v={{Msg "seo" "version"}}' />
+  <link href='{{Msg "seo" "cdn"}}/css/pc.css?v={{Msg "seo" "version"}}' rel="stylesheet">
+  <link href="//cdn-common.jianyu360.com/cdn/lib/element-ui/2.15.7/lib/theme-chalk/index.css" rel="stylesheet" />
+  <link href='{{Msg "seo" "cdn"}}/css/collect-user-info.css?v={{Msg "seo" "version"}}' rel="stylesheet">
+  <link href='//cdn-common.jianyu360.com/cdn/assets/iconfont/pc/23.5.23/iconfont.css' rel="stylesheet" />
+  <script src="//cdn-common.jianyu360.com/cdn/lib/vue/2.7.14/vue.min.js"></script>
+  </head>
+	<body>
+		{{include "/common/pchead.html"}}
+
+		<section class="jy-index" id="jy-index">
+      <!--轮播广告-->
+      <div class="jy-index-banner">
+        <div class="swiper-container" id="bannerSwiper">
+            <div class="swiper-wrapper">
+              {{range $k,$v:=Ad "index-banner-top" -1 .Host}}
+                <a class="swiper-slide"
+                   {{if $v.S_link }}href="{{$v.S_link}}"{{end}}
+                   {{if eq $v.O_extend.Linktype "abroad" }} target="_blank" {{else}} target="_self" {{end}}
+                  >
+                  <img class="img-banner" data-theme="{{$v.O_extend.Theme}}" src='{{$v.S_pic}}' alt="{{$v.S_remark}}">
+                </a>
+              {{end}}
+            </div>
+            <div class="swiper-pagination custom-dot"></div>
+        </div>
+      </div>
+      <div class="section-light">
+        <!-- 搜索框区域 -->
+        <div class="jy-index-search">
+          <div class="search">
+            <div class="tips">
+              <span class="active spa1" data-id="zb">招标采购搜索</span>
+              <span class="spa1" data-id="qy">企业搜索</span>
+              <span id="buyUnits" class="spa1 cai-gou" data-id="cg">采购单位搜索</span>
+              <span class="spa1" data-id="gy">供应搜索</span>
+              <i></i>
+            </div>
+            <form method="post" action="/jylab/supsearch/index.html" class="form-search" id="zbIndex" name="zbIndex" target="stop" onsubmit="return false">
+              <input class="ser" onkeydown="onkeydownSearch()" autocomplete="off"  type="text" name="keywords" placeholder="请输入项目名称等关键词,例如:医疗设备" id="keywords" value="" />
+              <input type="hidden" name="searchvalue">
+              <input type="hidden" name="selectType" value="title">
+              <input type="hidden">
+              <input class="btn" type="button" onclick="zbIndexSearch()" />
+            </form>
+            <iframe  name="stop" style="display:none;"></iframe>
+            <div class="index_search_thikn">
+              <ul>
+              </ul>
+            </div>
+            <div class="pre-search-list" style="display: none;"></div>
+          </div>
+        </div>
+         <!-- 消息展示 -->
+        <div id="vue-message-index-pc"></div>
+        <!-- 热点事件 -->
+        <div class="jy-index-hot CfadeInUp">
+          <div class="w1200 hot-container">
+            {{range $i, $v :=Ad "index-hot-list" -1 .Host}}
+            <div class="hot-banner" {{if $v.S_link }} onclick="window.location.href='{{$v.S_link}}'" {{end}}>
+              <img src='{{$v.S_pic}}' alt="{{$v.S_remark}}">
+            </div>
+            {{end}}
+          </div>
+        </div>
+        <!-- 核心产品区域 -->
+        <div class="jy-index-product CfadeInUp">
+          <h3 class="module-title">核心产品</h3>
+          <div class="w1200 product-container">
+            <div class="main-product">
+              <div class="product-item main-product-item svip-product" data-href="/front/subscribe.html">
+                <div class="p-link">了解详情</div>
+                <div class="p-name">超级订阅</div>
+                <div class="p-detail">按需订阅,实时推送,高效获取最新招标信息。</div>
+              </div>
+              <div class="product-item main-product-item bigmember-product"  data-href="/big/page/index">
+                <div class="p-link">了解详情</div>
+                <div class="p-name">大会员</div>
+                <div class="p-detail">招投标大数据帮你推荐超前项目、分析业主、企业画像,针对目标市场数据导出、分析。</div>
+              </div>
+            </div>
+            <div class="other-product">
+              <div class="product-item other-product-item buyer-product" data-href="/swordfish/frontPage/serviceSystem/free/index?serviceType=1">
+                <div class="p-link">了解详情</div>
+                <div class="p-name">采购单位服务</div>
+                <div class="p-detail">提供信息发布、供应商招募、供应商推荐,精准对接海量供需资源。</div>
+              </div>
+              <div class="product-item other-product-item agency-product" data-href="/swordfish/frontPage/serviceSystem/free/index?serviceType=2">
+                <div class="p-link">了解详情</div>
+                <div class="p-name">招标代理机构服务</div>
+                <div class="p-detail">帮招标代理机构推荐可信赖的供应商、采购单位,拓宽采购的渠道!</div>
+              </div>
+              <div class="product-item other-product-item data-market-product" data-href="/front/dataMarket/index">
+                <div class="p-link">了解详情</div>
+                <div class="p-name">数据市场</div>
+                <div class="p-detail">1.8亿+ 条招标数据开放交易,根据企业自身需求自行构建各类数据应用!</div>
+              </div>
+            </div>
+          </div>
+        </div>
+      </div>
+      <!-- 行业解决方案 -->
+      <div class="jy-index-plan CfadeInUp">
+        <h3 class="module-title">行业解决方案</h3>
+        <div class="w1200 plan-container">
+          <div class="plan-item plan-item-1" onclick="window.open('/swordfish/frontPage/solution/free/index')">
+            <div class="item-icon"></div>
+            <div class="item-header">电信运营商</div>
+            <div class="item-content">以剑鱼标讯收录的海量招投标信息及企业公示数据为基础,实现省、市、县三级数据联动,通过对源数据进行清洗、整理、分析,提供相应的行业解决方案。</div>
+            <div class="item-link">了解详情</div>
+          </div>
+          <div class="plan-item plan-item-2" onclick="window.open('http://clpages.cn/yxtgwyxy?from_wecom=1')">
+            <div class="item-icon"></div>
+            <div class="item-header">医疗器械</div>
+            <div class="item-content">为企业提供医疗市场情报、竞争对手情报、客户情报、合作伙伴情报、商机管理等服务,帮助企业全面透视市场情况,解决医疗器械市场数据监测难题,辅助市场决策,做好渠道建设和维护,提升企业竞争力。</div>
+            <div class="item-link">了解详情</div>
+          </div>
+          <div class="plan-item plan-item-3" onclick="window.open('/bank/pc/scheme')">
+            <div class="item-icon"></div>
+            <div class="item-header">银行</div>
+            <div class="item-content">剑鱼标讯充分利用人工智能和大数据技术,帮助银行对公营销挖掘“机构、大中小”客户,为银行提供基于大数据技术构建的批量、精准、高效的整合营销解决方案。</div>
+            <div class="item-link">了解详情</div>
+          </div>
+        </div>
+      </div>
+      <!-- 各类链接-->
+      <div class="jy-index-links CfadeInUp">
+        <div class="w1200 links-container">
+          <div class="links-item-title">
+            <span class="area active"><i class="iconfont icon-dizhi"></i>按地域</span>
+            <span class="info-type"><i class="iconfont icon-danweileixing"></i>按信息类型</span>
+            <span class="hot-bidding"><i class="iconfont icon-remenzhaobiao"></i>热门招标</span>
+            <span class="hot-subject"><i class="iconfont icon-biaodewu"></i>热门标的物</span>
+            <span class="recommend"><i class="iconfont icon-shiyongtuijian"></i>实用内容推荐</span>
+          </div>
+          <div class="links-item-content">
+            <div class="area-content line-show show">
+              <!--按地域-->
+              <ul class="clearfix">
+                <li class="zxs">
+                  {{range $i, $v := .T.labUrl_1}}
+                    {{range $y, $x := $v}}
+                      {{if lt (len $x) 3}}
+                        {{range $yi, $xi := $x}}
+                          {{if eq $yi 0}}<a class="tab-link tab-label" href="{{$xi.url}}" target="_blank">{{ $xi.city }}</a>{{end}}
+                        {{end}}
+                      {{end}}
+                    {{end}}
+                  {{end}}
+                </li>
+              {{range $i, $v := .T.labUrl_1}}
+                {{range $y, $x := $v}}
+                  {{if gt (len $x) 2}}
+                    <li class="provice">
+                      {{range $yi, $xi := $x}}
+                        {{if eq $yi 0}}
+                        <a class="tab-link tab-label" href="{{$xi.url}}" target="_blank">{{ $xi.city }}</a>
+                        <div class="childlist">
+                          {{else}}
+                          <span><a class="tab-link" href="{{$xi.url}}" target="_blank">{{$xi.city}}</a></span>
+                          {{end}}
+                        {{end}}
+                      </div>
+                    </li>
+                    {{end}}
+                  {{end}}
+                {{end}}
+              </ul>
+            </div>
+            <div class="info-type-content line-show">
+              <ul class="clearfix">
+                {{range $i, $v := .T.labUrl_2}}
+                <li class="provice">
+                  {{range $y, $x := $v}}
+                  {{range $yi, $xi := $x}}
+                  {{if eq $yi 0}}
+                  <a class="tab-link tab-label" href="{{$xi.url}}" target="_blank">{{$xi.key}}</a>
+                  <div class="childlist">
+                    {{else}}
+                    <span><a class="tab-link" href="{{$xi.url}}" target="_blank">{{$xi.key}}</a></span>
+                    {{end}}
+                    {{end}}
+                    {{end}}
+                  </div>
+                </li>
+                {{end}}
+              </ul>
+            </div>
+            <div class="hot-bidding-content line-show">
+              <ul class="clearfix">
+                {{range $i, $v := .T.labUrl_3}}
+                <li class="provice industry">
+                  {{range $y, $x := $v}}
+                  <a class="tab-link tab-label" href="javascript:;" >{{$y}}</a><div class="childlist">
+                  {{range $yi, $xi := $x}}
+                  <span><a class="tab-link" href="{{$xi.url}}" target="_blank">{{$xi.key}}</a></span>
+                  {{end}}
+                  {{end}}
+                </div></li>
+                {{end}}
+              </ul>
+            </div>
+            <div class="hot-subject-content simple-show">
+              {{range $i,$v := .T.hotSubject}}
+              <a href="{{$v.url}}" target="_blank">{{$v.name}}</a>
+              {{end}}
+            </div>
+            <div class="recommend-content line-show">
+              <ul class="clearfix">
+                {{range $k,$v := .T.recommend}}
+                <li class="provice">
+                  <a class="tab-link tab-label" href="{{$v.Url}}" target="_blank">{{$v.Name}}</a>
+                  <div class="childlist">
+                    {{range $n,$m:=$v.SeedData}}
+                    <span><a class="tab-link" href="{{$m.Url}}" target="_blank">{{$m.Name}}</a></span>
+                    {{end}}
+                  </div>
+                </li>
+                {{end}}
+              </ul>
+            </div>
+          </div>
+        </div>
+      </div>
+      <script>
+        $(".jy-index-links .links-item-title span").on("click",function (){
+          $(this).siblings().removeClass("active");
+          $(this).addClass("active")
+          $(".jy-index-links .links-item-content>div").removeClass("show")
+          console.log(".jy-index-links .links-item-content ."+$(this).attr("class").split(" ")[0]+"-content")
+          $(".jy-index-links .links-item-content ."+$(this).attr("class").split(" ")[0]+"-content").addClass("show")
+        })
+      </script>
+      <!--推荐标讯专区-->
+      <div class="jy-index-recommend CfadeInUp">
+        <h3 class="module-title">推荐标讯专区</h3>
+        <div class="recommend-context w1200">
+          {{range $k,$v := .T.recommendBeacon}}
+          <div class="item-one">
+            <div class="item-header">
+              <span>{{if gt ( len $v.Name ) 6}} {{if $v.Name }}{{ index (slice $v.Name 0 6) }}<i>{{ index (slice $v.Name 6 ) }}</i>{{end}} {{end}}</span>
+              <a href="{{$v.Url}}" target="_blank" class="more">查看更多</a>
+            </div>
+            <ul>
+              {{range $n,$m := $v.Data}}
+              <li><a href="{{if .T.hasLogin }}/article/content/{{else}}/nologin/content/{{end}}{{$m._id}}.html" target="_blank">{{$m.title}}</a> <span>{{ LongToDate $m.publishtime 0}}</span></li>
+              {{end}}
+            </ul>
+          </div>
+          {{end}}
+        </div>
+      </div>
+      <!-- 专业的招投标大数据服务平台 -->
+      <div class="jy-index-platform CfadeInUp">
+        <h3 class="module-title">专业的招投标大数据服务平台</h3>
+        <div class="w1200 platform-container">
+          <div class="platform-left">
+            <div class="tab-menu">
+              <div data-index="1" class="tab-header active">亿万级数据库,不漏掉一个标讯</div>
+              <div class="tab-content">
+                <div class="platform-content">剑鱼标讯可第一时间采集全国权威机构公开的招标采购信息,实现招投标数据的结构化的自动流水线处理。目前剑鱼标讯已拥有亿万级数据库,数据覆盖建筑工程、信息技术等12个领域。标讯数据可实现分秒级更新,确保全面性、及时性。</div>
+                <div class="platform-footer">
+                  <span>6600万+项目库</span>
+                  <em class="text-line"></em>
+                  <span>5465万+企业库</span>
+                  <em class="text-line"></em>
+                  <span>260万+采购单位库</span>
+                  <em class="text-line"></em>
+                  <span>10W+日更新数据</span>
+                </div>
+              </div>
+            </div>
+            <div class="tab-menu">
+              <div data-index="2" class="tab-header platform-header">挖掘标讯数据潜力,快速达成销售目标</div>
+              <div class="tab-content" style="display: none;">
+                <div class="platform-content">目前产品体系覆盖标讯实时搜索、订阅推送、结构化数据、商机管理、行业解决方案等板块,成熟的产品体系企业商机获取能力提升100%。基于标讯的深度数据整理分析,可降低企业获取利用标讯数据的成本,更好洞察市场提升销售额。</div>
+              </div>
+            </div>
+            <div class="tab-menu">
+              <div data-index="3" class="tab-header platform-header">一站式服务,辅助企业数据变现</div>
+              <div class="tab-content" style="display: none;">
+                <div class="platform-content">拥有专业的开发、产品、运营、售前、售后团队,可提供全方位的产品使用指导和问题解决方案。2小时内快速响应、提供全方位的产品使用指导和问题解决方案,确保所有服务真正为企业所用。</div>
+              </div>
+            </div>
+          </div>
+          <div class="platform-right">
+            <img  data-index="1" src='{{Msg "seo" "cdn"}}/images/index/platform-img-1.png?v={{Msg "seo" "version"}}' alt="">
+            <img  data-index="2" src='{{Msg "seo" "cdn"}}/images/index/platform-img-2.png?v={{Msg "seo" "version"}}' alt="" style="display: none;">
+            <img  data-index="3" src='{{Msg "seo" "cdn"}}/images/index/platform-img-3.png?v={{Msg "seo" "version"}}' alt="" style="display: none;">
+          </div>
+        </div>
+      </div>
+      <!-- 在线数据 -->
+      <div class="jy-index-online CfadeInUp">
+        <div class="w1200 online-container">
+           <ul>
+              <li>
+                <h4>自上线以来</h4>
+                <p>剑鱼标讯为用户成功推送了信息</p>
+                <strong><mark id="flip-number-1">{{.T.infoNum.i_push}}</mark><i>条</i></strong>
+              </li>
+              <li>
+                <h4>最近三十天</h4>
+                <p>剑鱼标讯从{{.T.infoNum.i_site}}个招标网站收录了</p>
+                <strong><mark id="flip-number-2">{{.T.infoNum.i_bidmonth}}</mark><i>条</i></strong>
+              </li>
+              <li>
+                <h4>今天</h4>
+                <p>剑鱼标讯成功为用户推送了信息</p>
+                <strong><mark id="flip-number-3">{{.T.infoNum.i_bidtoday}}</mark><i>条</i></strong>
+              </li>
+           </ul>
+        </div>
+      </div>
+
+      <!-- 多条广告如下脚本只需引入一次 -->
+      <script type="text/javascript" src="//cpro.baidustatic.com/cpro/ui/cm.js" async="async" defer="defer" >
+      </script>
+
+      <!-- 最新资讯 -->
+		  <div class="jy-index-news CfadeInUp">
+        <h3 class="module-title">最新资讯</h3>
+        <div class="w1200 news-container">
+        {{range $i, $v := JyCms "hyzx" 12}}
+          {{if eq $i 0}}
+          <div class="news-card" onclick="window.open('/jySite/{{$v._id}}.html')">
+            <div class="card-img">
+              <img src="{{$v.s_pic1}}" alt="{{$v.s_title}}">
+            </div>
+            <div class="card-main">
+              <div class="card-time">{{$v.time}}</div>
+              <div class="card-title">{{$v.s_title}}</div>
+              <div class="ellipsis-2 card-summary">{{$v.s_description}}</div>
+            </div>
+          </div>
+          {{end}}
+        {{end}}
+
+        <div class="news-list">
+          {{range $i, $v := JyCms "hyzx" 12}}
+            {{if gt $i 0}}
+              <a class="news-item" href="/jySite/{{$v._id}}.html" target="_blank">
+                <span class="news-item-text">{{$v.s_title}}</span>
+                <span class="news-item-date">{{$v.time}}</span>
+              </a>
+            {{end}}
+          {{end}}
+        </div>
+        </div>
+      </div>
+
+      <!-- 公司动态 -->
+      <div class="jy-index-dt CfadeInUp">
+        <h3 class="module-title">公司动态</h3>
+        <p class="w1200 more">
+          <a href="/jyCms/gsdt/index.html" class="item-link" target="_blank">查看更多</a>
+        </p>
+        <div class="w1200 dt-container">
+          {{range $i, $v := JyCms "gsdt" 3}}
+            <div class="dt-card" onclick="window.open('/jyblog/{{$v._id}}.html')">
+              <div class="card-img">
+                <img src="{{$v.s_pic1}}" alt="{{$v.s_title}}">
+              </div>
+              <div class="card-main">
+                <div class="card-time">{{$v.time}}</div>
+                <div class="card-title">{{$v.s_title}}</div>
+                <div class="ellipsis-3 card-summary">{{$v.s_description}}</div>
+              </div>
+            </div>
+          {{end}}
+        </div>
+      </div>
+      <!-- 合作伙伴 -->
+      <div class="jy-index-partners CfadeInUp">
+          <h3 class="module-title">合作伙伴</h3>
+          <div class="partners-container swiper-container">
+            <div class="swiper-wrapper">
+              <div class="swiper-slide">
+                <div class="img-box">
+                  <img src='{{Msg "seo" "cdn"}}/images/index/huawei.png?v={{Msg "seo" "version"}}'>
+                </div>
+                <div class="img-box">
+                  <img src='{{Msg "seo" "cdn"}}/images/index/xinyu.png?v={{Msg "seo" "version"}}'>
+                </div>
+                <div class="img-box">
+                  <img src='{{Msg "seo" "cdn"}}/images/index/duopuduo.png?v={{Msg "seo" "version"}}'>
+                </div>
+              </div>
+              <div class="swiper-slide">
+                <div class="img-box">
+                  <img src='{{Msg "seo" "cdn"}}/images/index/baidu.png?v={{Msg "seo" "version"}}'>
+                </div>
+                <div class="img-box">
+                  <img src='{{Msg "seo" "cdn"}}/images/index/ruijie.png?v={{Msg "seo" "version"}}'>
+                </div>
+                <div class="img-box">
+                  <img src='{{Msg "seo" "cdn"}}/images/index/haikang.png?v={{Msg "seo" "version"}}'>
+                </div>
+              </div>
+              <div class="swiper-slide">
+                <div class="img-box">
+                  <img src='{{Msg "seo" "cdn"}}/images/index/taipingyang.png?v={{Msg "seo" "version"}}'>
+                </div>
+                <div class="img-box">
+                  <img src='{{Msg "seo" "cdn"}}/images/index/yitu.png?v={{Msg "seo" "version"}}'>
+                </div>
+                <div class="img-box">
+                  <img src='{{Msg "seo" "cdn"}}/images/index/hanhe.png?v={{Msg "seo" "version"}}'>
+                </div>
+              </div>
+              <div class="swiper-slide">
+                <div class="img-box">
+                  <img src='{{Msg "seo" "cdn"}}/images/index/guangda.png?v={{Msg "seo" "version"}}'>
+                </div>
+                <div class="img-box">
+                  <img src='{{Msg "seo" "cdn"}}/images/index/dekey.png?v={{Msg "seo" "version"}}'>
+                </div>
+                <div class="img-box">
+                  <img src='{{Msg "seo" "cdn"}}/images/index/jida.png?v={{Msg "seo" "version"}}'>
+                </div>
+              </div>
+              <div class="swiper-slide">
+                <div class="img-box">
+                  <img src='{{Msg "seo" "cdn"}}/images/index/ali.png?v ={{Msg "seo" "version"}}'>
+                </div>
+                <div class="img-box">
+                  <img src='{{Msg "seo" "cdn"}}/images/index/zhonghui.png?v={{Msg "seo" "version"}}'>
+                </div>
+                <div class="img-box">
+                  <img src='{{Msg "seo" "cdn"}}/images/index/lianruan.png?v={{Msg "seo" "version"}}'>
+                </div>
+              </div>
+              <div class="swiper-slide">
+                <div class="img-box">
+                  <img src='{{Msg "seo" "cdn"}}/images/index/minsheng.png?v={{Msg "seo" "version"}}'>
+                </div>
+                <div class="img-box">
+                  <img src='{{Msg "seo" "cdn"}}/images/index/lehe.png?v={{Msg "seo" "version"}}'>
+                </div>
+                <div class="img-box">
+                  <img src='{{Msg "seo" "cdn"}}/images/index/meinian.png?v={{Msg "seo" "version"}}'>
+                </div>
+              </div>
+              <div class="swiper-slide">
+                <div class="img-box">
+                  <img src='{{Msg "seo" "cdn"}}/images/index/dianxin.png?v={{Msg "seo" "version"}}'>
+                </div>
+                <div class="img-box">
+                  <img src='{{Msg "seo" "cdn"}}/images/index/jingyi.png?v={{Msg "seo" "version"}}'>
+                </div>
+                <div class="img-box">
+                  <img src='{{Msg "seo" "cdn"}}/images/index/siem.png?v={{Msg "seo" "version"}}'>
+                </div>
+              </div>
+              <div class="swiper-slide">
+                <div class="img-box">
+                  <img src='{{Msg "seo" "cdn"}}/images/index/shenxin.png?v={{Msg "seo" "version"}}'>
+                </div>
+                <div class="img-box">
+                  <img src='{{Msg "seo" "cdn"}}/images/index/bot.png?v={{Msg "seo" "version"}}'>
+                </div>
+                <div class="img-box">
+                  <img src='{{Msg "seo" "cdn"}}/images/index/yidong.png?v={{Msg "seo" "version"}}'>
+                </div>
+              </div>
+              <div class="swiper-slide">
+                <div class="img-box">
+                  <img src='{{Msg "seo" "cdn"}}/images/index/wandong.png?v={{Msg "seo" "version"}}'>
+                </div>
+                <div class="img-box">
+                  <img src='{{Msg "seo" "cdn"}}/images/index/aite.png?v={{Msg "seo" "version"}}'>
+                </div>
+                <div class="img-box">
+                  <img src='{{Msg "seo" "cdn"}}/images/index/yushi.png?v={{Msg "seo" "version"}}'>
+                </div>
+              </div>
+              <div class="swiper-slide">
+                <div class="img-box">
+                  <img src='{{Msg "seo" "cdn"}}/images/index/wanfu.png?v={{Msg "seo" "version"}}'>
+                </div>
+                <div class="img-box">
+                  <img src='{{Msg "seo" "cdn"}}/images/index/lianying.png?v={{Msg "seo" "version"}}'>
+                </div>
+                <div class="img-box">
+                  <img src='{{Msg "seo" "cdn"}}/images/index/ruiwode.png?v={{Msg "seo" "version"}}'>
+                </div>
+              </div>
+              <div class="swiper-slide">
+                <div class="img-box">
+                  <img src='{{Msg "seo" "cdn"}}/images/index/drager.png?v={{Msg "seo" "version"}}'>
+                </div>
+                <div class="img-box">
+                  <img src='{{Msg "seo" "cdn"}}/images/index/stryker.png?v={{Msg "seo" "version"}}'>
+                </div>
+                <div class="img-box">
+                  <img src='{{Msg "seo" "cdn"}}/images/index/mindray.png?v={{Msg "seo" "version"}}'>
+                </div>
+              </div>
+              <div class="swiper-slide">
+                <div class="img-box">
+                  <img src='{{Msg "seo" "cdn"}}/images/index/zhongtongfu.png?v={{Msg "seo" "version"}}'>
+                </div>
+                <div class="img-box">
+                  <img src='{{Msg "seo" "cdn"}}/images/index/braun.png?v={{Msg "seo" "version"}}'>
+                </div>
+                <div class="img-box">
+                  <img src='{{Msg "seo" "cdn"}}/images/index/neusoft.png?v={{Msg "seo" "version"}}'>
+                </div>
+              </div>
+            </div>
+          </div>
+      </div>
+      <!-- 预约-留资 -->
+      <div class="jy-index-yuyue">
+        <div class="w1200 yuyue-container">
+          <h3>即刻预约,体验剑鱼标讯大数据服务</h3>
+          <div class="app-btn" id="app-btn">立即预约演示</div>
+        </div>
+      </div>
+      <!-- 底部广告位 -->
+      <div class="pc-index-bottom">
+        <img class="bottom-member-ad" adv_name="PC首页广告位-底部" src="" alt="底部广告位">
+      </div>
+      {{include "/common/pcbottom.html"}}
+		</section>
+
+
+    <!-- 弹窗 -->
+		<div class="pc_tc" id="pc-index-alert">
+			<div id="index_tc"  class="tc" dataUrl="">
+        <div id="index_tc_svga"></div>
+        <div class="tc_button"></div>
+      </div>
+			<img src="/images/pc/close2x.png" id="close2x">
+		</div>
+		<div class="tans"></div>
+    <div class="live_preheat">
+      <div>
+        <img src="/qr?url=%2factive%2flivePage%2findex" class="live_preheat_qr"/>
+        <img src='{{Msg "seo" "cdn"}}/images/pc/live_preheat_close.png' class="live_preheat_close"/>
+      </div>
+    </div>
+    <!-- 用户留资 -->
+    <div id="vue-collect-user-info"></div>
+
+		{{include "/common/pc_ad_dialog.html"}}
+
+  </body>
+  <script src='{{Msg "seo" "cdn"}}/common-module/public/js/china-map-data.js?v={{Msg "seo" "version"}}'></script>
+  <script src='{{Msg "seo" "cdn"}}/common-module/selector/js/static-data.js?v={{Msg "seo" "version"}}'></script>
+  <script src='{{Msg "seo" "cdn"}}/js/swiper.min.js?v={{Msg "seo" "version"}}'></script>
+  <script type="text/javascript" src='{{Msg "seo" "cdn"}}/js/public-nav.js?v={{Msg "seo" "version"}}'></script>
+  <script src="//cdn-common.jianyu360.com/cdn/lib/countup/2.0.8/dist/countUp.js"></script>
+  <script src="//cdn-common.jianyu360.com/cdn/lib/element-ui/2.15.7/lib/index.js"></script>
+  <script src='{{Msg "seo" "cdn"}}/js/dateFunc.js?v={{Msg "seo" "version"}}'></script>
+  <script src='{{Msg "seo" "cdn"}}/js/pc-collect-user-info.js?v={{Msg "seo" "version"}}'></script>
+  <script src='{{Msg "seo" "cdn"}}/js/pc-message-index.js?v={{Msg "seo" "version"}}'></script>
+  <script src=//cdn-common.jianyu360.com/cdn/lib/svga-web/svga.min.js></script>
+  <script src='{{Msg "seo" "cdn"}}/js/pc-message-index.js?v={{Msg "seo" "version"}}'></script>
+  <script type="text/javascript" src='{{Msg "seo" "cdn"}}/js/index/index_old_23_06_16.js?v={{Msg "seo" "version"}}'></script>
+  <script src='{{Msg "seo" "cdn"}}/common-module/chat/jy-chat-mini.umd.js?auto=false&v={{Msg "seo" "version"}}'></script>
+  <script>
+    try {
+      var cdnPrefix = (window.goTemplateData && window.goTemplateData.cdn) || ''
+      window.__initChatPlugin({
+        CDN: cdnPrefix,
+        checkUserPower: function (state) {
+          if (!state.hasLogin) {
+            openLoginDig()
+            return false
+          }
+          else if (!state.hasPower) {
+            window.open('/aiChatWait')
+            return false
+          }
+          return true
+        },
+      })
+    } catch (e) {
+      console.warn(e)
+    }
+  </script>
+  <script type="text/javascript" >
+    // 模板变量(注释一下)
+    var onlineData_arr = [{{.T.infoNum.i_push}},{{.T.infoNum.i_bidmonth}},{{.T.infoNum.i_bidtoday}}]
+    var logId = {{.T.logid}}
+    var pageIndex = {
+      // 变量
+      init: function() {
+        if(localStorage.pcMainSearchRangeForContent == 'true'){
+          $('input[name="selectType"]').val('title,content')
+        }
+        this.getBuyerSearchPower() // 采购单位搜索权限
+        this.lunBoFn() // banner轮播
+        this.getOnlineDataFn() // 在线数据
+        this.setCopyRightForBottom() // 设置copyright
+        this.onClickEvent()
+      },
+      // 是否有采购单位搜索权限
+      getBuyerSearchPower: function () {
+        $.ajax({
+          type:'POST',
+          url:'/entbase/ent/power',
+          data:{isNewEntniche:true},
+          success:function (res) {
+            if (res.data){
+              if (res.data.isNewEntniche) {
+                $('#buyUnits').css('display', 'inline-block')
+              } else {
+                $('#buyUnits').css('display', 'none')
+              }
+            }
+          }
+        })
+      },
+      // 轮播图
+      lunBoFn: function () {
+        // banner广告位轮播
+        var bannerSwiper = new Swiper('#bannerSwiper', {
+          slidesPerView: 1,
+          centeredSlides: true,
+          observer: true,
+          speed: 800,
+          pagination: {
+            el: '.swiper-pagination',
+            clickable :true
+          },
+          autoplay: $('#bannerSwiper').find('.swiper-slide').length > 1 ? {
+            delay: 10000
+          } : false, // imageList.length > 1 ? true : false
+          paginationClickable: true,
+          loop: $('#bannerSwiper').find('.swiper-slide').length > 1 ? true : false, // imageList.length > 1 ? true : false
+          on: {
+            slideChangeTransitionStart: function() {
+              var img = document.getElementsByClassName('swiper-slide-active')[0].children[0];
+              var theme = $(img).attr('data-theme')
+              var opa = $(document).scrollTop() / 20
+              if (opa < 1) {
+                if (theme === 'light') {
+                  setTimeout(function(){
+                    $('.public-nav').addClass('light-bg-dark-color').removeClass('light-bg-light-color')
+                    $('.swiper-pagination').addClass('light-swiper-bg-dark-color').removeClass('light-swiper-bg-light-color')
+                    $('.loginBtn').css('color', '#1d1d1d')
+                  }, 100)
+                } else {
+                  setTimeout(function(){
+                    $('.public-nav').addClass('light-bg-light-color').removeClass('light-bg-dark-color')
+                    $('.loginBtn').css('color', '#fff')
+                    var a = $('.jy-index .jy-index-banner .custom-dot .swiper-pagination-bullet-active')
+                    // $('.jy-index .jy-index-banner .custom-dot .swiper-pagination-bullet').css('background', 'rgba(255, 255, 255, 0.32)')
+                    $('.swiper-pagination').addClass('light-swiper-bg-light-color').removeClass('light-swiper-bg-dark-color')
+                  }, 100)
+                }
+              }
+            }
+          }
+        });
+        bannerSwiper.init();
+        // 合作伙伴走马灯
+        var partners = new Swiper('.partners-container', {
+          slidesPerView: "auto",
+          centeredSlides: true,
+          speed: 4000,
+          // autoplay: true,
+          freeMode: true,
+          loop: true,
+          slidesPerGroup: 1,
+          autoplay: {
+            delay: 1, //自动切换的时间间隔
+            disableOnInteraction: false,
+            pauseOnMouseEnter: true, //鼠标置于swiper时暂停自动切换,鼠标离开时恢复自动切换。
+          }
+        });
+        partners.init()
+      },
+      // 在线数据
+      getOnlineDataFn: function () {
+        var onlineData_arr1 = []
+        onlineData_arr.forEach(function(v,i){
+          v = Number(v.replace(/,/g,''))
+          if(v == 0 && i == 0){
+            v = 15852678064
+          }
+          if(v == 0 && i == 1){
+            v =  339526007
+          }
+          if(v == 0 && i == 2){
+            v = 388773
+          }
+          onlineData_arr1.push(v)
+        })
+        function filpNumber () {
+          onlineData_arr1.map(function (v, i) {
+            var demo = new CountUp('flip-number-' + (i + 1), 0, v, 0,2,{
+              useEasing: false,
+              useGrouping: false
+            });
+            if (!demo.error) {
+              demo.start();
+            } else {
+              console.error(demo.error);
+            }
+          })
+        }
+        // 格式化数字,没三位添加分号
+        function toThousands(num) {
+          return (num || 0).toString().replace(/(\d)(?=(?:\d{3})+$)/g, '$1,');
+        }
+        function windowScrollFn (){
+          var numberBox = $(".jy-index-online")
+          var numberBoxH = numberBox.offset().top
+          if ($(window).scrollTop() + $(window).height()  >= numberBoxH) {
+            if (!numberBox.attr('data-show-an')) {
+              numberBox.attr('data-show-an','true')
+              filpNumber()
+            }
+          } else {
+            numberBox.removeAttr('data-show-an')
+          }
+        }
+        $(window).scroll(windowScrollFn)
+      },
+      // 动态设置copyright
+      setCopyRightForBottom: function (url) {
+        var host = url || location.host
+        var nowCopyRightInfo = {
+          rule: '',
+          icp: ''
+        }
+        var copyRightMap = [
+          {
+            rule: 'jianyu360.com',
+            icp: '京ICP备14030217号-3'
+          },
+          {
+            rule: 'jianyu360.cn',
+            icp: '京ICP备2021020018号-1'
+          },
+          {
+            rule: 'jianyubiaoxun.com',
+            icp: '京ICP备14030217号-8'
+          }
+        ]
+        copyRightMap.forEach(function (v) {
+          if (host.indexOf(v.rule) !== -1) {
+            nowCopyRightInfo = v
+          }
+        })
+        var copyright = '©2015-' + new Date().getFullYear() + ' ' +nowCopyRightInfo.rule+ ' 版权所有 | ' + '<a style="color: inherit; font-size: inherit;" href="https://beian.miit.gov.cn/" target="_blank">' + nowCopyRightInfo.icp + '</a>'
+        $('.copyright').html(copyright)
+      },
+      // click事件、页面初始化执行
+      onClickEvent: function() {
+        $("#close2x").click(function () {
+          localStorage.setItem("tc", day)
+          $("#index_tc").animate({
+            opacity: "hide"
+          }, "slow");
+          $("#close2x").animate({
+            opacity: "hide"
+          }, "slow");
+          $(".tans").animate({
+            opacity: "hide"
+          }, "slow");
+        });
+        $("#index_tc").on("click", function () {
+          var dataUrl = $(this).attr("dataUrl")
+          if (dataUrl!=""){
+            localStorage.setItem("tc", day)
+            window.location.href = dataUrl;
+          }
+        })
+        // 产品跳转
+        $('.product-item').on('click', function() {
+          window.location.href = $(this).attr('data-href')
+        })
+        // 留资按钮-弹框
+        $('#app-btn').on('click', function(){
+           if (!loginflag ) {
+            openLoginDig()
+            return
+          }
+          vm.dialogTitle = '请填写信息,我们会根据您的需求,提供最适合的产品演示服务!'
+          vm.isNeedSubmit('pc_index_bid_data')
+        })
+        // 鼠标悬浮切换数据服务平台
+        $('.jy-index-platform .tab-header').hover(function() {
+          $(this).stop().addClass('active').siblings('.tab-content').stop().slideDown()
+          $(this).parent('.tab-menu').siblings().children('.tab-header').stop().removeClass('active').siblings('.tab-content').stop().slideUp()
+          $($('.platform-right img[data-index="' + $(this).attr('data-index') +'"]')).stop().fadeIn('fast').siblings().stop().fadeOut('fast')
+        })
+        // 处理时间格式化
+        $("strong[data-format-time]").each(function () {
+          var timeStr = $(this).attr('data-format-time')
+          if (timeStr) {
+            $(this).text(utils.dateFromNow(timeStr * 1000))
+          }
+        })
+        // 处理低高度屏幕下无法显示下方文字
+        $('#jy-index').css('min-height', document.documentElement.clientHeight + 'px')
+        // 从login.js isAdd接口取大会员状态  赋值给全局变量
+        clearInterval(memberTimer)
+        var memberTimer = setInterval(function () {
+          if (window.memberStatus >= 0) {
+            clearInterval(memberTimer)
+          }
+          adBottomFn()
+        }, 2000)
+        function adBottomFn () {
+          console.log(window.memberStatus, 'dahuiyuan');
+          // 是大会员则不显示底部广告位
+          if (window.memberStatus > 0) {
+            // 首页底部广告位隐藏
+            $('.pc-index-bottom').hide()
+            fixBottomADHeight(false)
+          } else {
+            var top1 = 0;
+            var top2 = 0;
+            var timer = null; // 定时器
+            $(document).scroll(function(){
+              clearTimeout(timer)
+              timer = setTimeout(isScrollEnd, 1000);
+              top1 = document.documentElement.scrollTop || document.body.scrollTop;
+              // console.log("滚动中")
+              $('.pc-index-bottom').fadeOut()
+            })
+            function isScrollEnd() {
+              top2 = document.documentElement.scrollTop || document.body.scrollTop;
+              if(top1 == top2 && (window.memberStatus <= 0 || !window.memberStatus)){
+                // console.log('滚动结束了')
+                $('.pc-index-bottom').fadeIn()
+              }
+            }
+          }
+        }
+      }
+    }
+  </script>
+  <script>
+  $(function () {
+    pageIndex.init()
+    setTimeout("document.getElementById(\"keywords\").focus()",50);
+    haslogin(logId);
+    $("#share-weixinF").mouseover(function(){
+      $("#share-weixin").removeClass("hidden");
+    });
+    $("#share-weixinF").mouseout(function(){
+      $("#share-weixin").addClass("hidden");
+    });
+    window.addEventListener('scroll', function() {
+      var img = document.getElementsByClassName('swiper-slide-active')[0].children[0];
+      var theme = $(img).attr('data-theme')
+      var opa = $(document).scrollTop() / 20
+      if (opa < 1) {
+        if (theme === 'light') {
+          $('.public-nav').addClass('light-bg-dark-color').removeClass('light-bg-light-color')
+        } else {
+          $('.public-nav').addClass('light-bg-light-color').removeClass('light-bg-dark-color')
+        }
+      }
+    })
+    $('.public-nav .jynav li').hover(function(){
+      setNavTheme('light')
+      $('.loginBtn').css({'color': '#1d1d1d', 'border-color': 'rgb(224, 224, 224)'})
+      $('.public-nav').removeClass('light-bg-light-color').removeClass('light-bg-dark-color')
+    }, function() {
+      var bannerHeight = $('#bannerSwiper').height()
+      var scrollTop = $(window).scrollTop()
+      if (scrollTop >= bannerHeight) {
+        console.log('轮播图离开视图')
+      } else {
+        setNavTheme('dark')
+        // $('.loginBtn').css({'color': '#fff', 'border-color': '#fff'})
+        var img = document.getElementsByClassName('swiper-slide-active')[0].children[0];
+        var theme = $(img).attr('data-theme')
+        if (theme === 'light') {
+          $('.public-nav').addClass('light-bg-dark-color').removeClass('light-bg-light-color')
+        } else {
+          $('.public-nav').addClass('light-bg-light-color').removeClass('light-bg-dark-color')
+        }
+      }
+    })
+  })
+  // 弹窗(优化一下?)
+  var times = new Date().getTime();
+  var day = new Date().getDay();
+  var activestart = {{.T.activestart}}
+  var activeend = {{.T.activeend}}
+  var adv_url = "";
+  var adv_img = "";
+  var adv_margin_left = "310";
+  var adv_margin_top = "110";
+  var adv_width = "620";
+  var adv_height = "210";
+  var adv_background_opacity = 0.6;
+  {{$s:=(Ad "jy-pc-index-tap" -1 .Host)}}
+  {{if $s}}
+  var ADList={{$s}}
+  if (ADList.length>0){
+    for (var i=0;i<ADList.length;i++ ){
+      var AD=ADList[i]
+      if(AD.s_link){
+        adv_url = AD.s_link
+      }
+      if(AD.s_pic){
+        adv_img = AD.s_pic
+      }
+      if (AD.o_extend != undefined) {
+        var nowTime = new Date().getTime();
+        if (AD.o_extend.startTime!=undefined){
+          var stArr = AD.o_extend.startTime.split("-");
+          if (stArr.length==6){
+            var stStr = stArr[0]+"-"+stArr[1]+"-"+stArr[2]+" "+stArr[3]+":"+stArr[4]+":"+stArr[5]
+            var stTime = new Date(stStr.replace(/-/g, '/')).getTime();
+            //未开始
+            if (stTime>nowTime){
+              continue
+            }
+          }
+        }
+        if (AD.o_extend.endTime!=undefined){
+          var etArr = AD.o_extend.endTime.split("-");
+          if (etArr.length==6){
+            var etStr = etArr[0]+"-"+etArr[1]+"-"+etArr[2]+" "+etArr[3]+":"+etArr[4]+":"+etArr[5]
+            var etTime = new Date(etStr.replace(/-/g, '/')).getTime();
+            //已结束
+            if (etTime<nowTime){
+              continue
+            }
+          }
+        }
+        if (AD.o_extend.width!=undefined){
+          adv_width = AD.o_extend.width;
+          adv_margin_left = parseInt(adv_width)/2;
+        }
+        if (AD.o_extend.height!=undefined){
+          adv_height = AD.o_extend.height;
+          adv_margin_top =  parseInt(adv_height)/2;
+        }
+        if (AD.o_extend.opacity!=undefined){
+          adv_background_opacity = AD.o_extend.opacity;
+        }
+      }
+      if (adv_img!=""&&times> parseInt(activestart)*1000){
+        $(".tc_button").remove();
+        $("#pc-index-alert").removeClass("pc_tc").addClass("pc_tc_master").css({"margin-top":"-"+adv_margin_top+"px","margin-left":"-"+adv_margin_left+"px"});
+        $("#index_tc").removeClass("tc").addClass("tc_master").css({
+          "width":adv_width+"px",
+          "height":adv_height+"px",
+          // "background":"url('"+adv_img+"')",
+          "background-size":"cover"}).attr("dataurl",adv_url);
+        // SVGA 动画支持
+        if (adv_img.indexOf('.svga') !== -1) {
+          $('#index_tc_svga').css({
+            "width":adv_width+"px",
+            "height":adv_height+"px"
+          })
+          var player = new SVGA.Player('#index_tc_svga');
+          var parser = new SVGA.Parser('#index_tc_svga');
+          parser.load(adv_img, function(videoItem) {
+            player.setVideoItem(videoItem);
+            player.startAnimation();
+          })
+        } else {
+          $("#index_tc").css("background-image", "url('"+adv_img+"')")
+        }
+        $(".tans").css({"opacity":adv_background_opacity});//遮罩层透明度
+        break;
+      }
+    }
+  }
+  {{end}}
+
+  // 首页活动弹窗迁移至工作桌面首页,此处活动弹窗不再展示
+  // var showDay = localStorage.tc;
+  // if(adv_img!=""){
+  //   if(localStorage.tc === undefined){
+  //     $("#index_tc").css("display","block");
+  //     $("#close2x").css("display","block");
+  //     $(".tans").css("display","block");
+  //   }else{
+  //     if(showDay != day){
+  //       $("#index_tc").css("display","block");
+  //       $("#close2x").css("display","block");
+  //       $(".tans").css("display","block");
+  //     }else{
+  //       $("#index_tc").css("display","none");
+  //       $("#close2x").css("display","none");
+  //       $(".tans").css("display","none");
+  //     }
+  //   }
+  // }
+
+  // 首页底部广告位
+  {{$bottom:=(Ad "jy_pc_index_bottom" -1 .Host)}}
+  var bottom_img = ({{$bottom}})
+
+  // 首页底部样式调整,适配广告位
+  function fixBottomADHeight (type) {
+    var adHeight = $('.pc-index-bottom').height()
+    if (type) {
+      $(".jy_renzheng").css('padding-bottom', adHeight)
+      $(".j-bottom").attr('data-padding-bottom', Number($(".j-bottom").css('padding-bottom').replace('px', '')))
+      $(".j-bottom").css('padding-bottom', Number($(".j-bottom").css('padding-bottom').replace('px', '')) + adHeight)
+    } else {
+      $(".jy_renzheng").css('padding-bottom', 0)
+      $(".j-bottom").css('padding-bottom', Number($(".j-bottom").attr('data-padding-bottom')))
+    }
+  }
+  $('.pc-index-bottom .bottom-member-ad').on('load', function () {
+    fixBottomADHeight(true)
+  })
+  $('.pc-index-bottom .bottom-member-ad').attr('src', bottom_img[0].s_pic)
+  $('.pc-index-bottom .bottom-member-ad').unbind('click').click(function () {
+    window.open(bottom_img[0].s_link)
+  })
+
+
+  // 不知道干啥用的
+  var localhref = location.href;
+  window._bd_share_config = {
+    common : {
+      bdText : '',
+      bdDesc : '',
+      bdUrl : localhref+'front/aboutus.html',
+      bdPic : localhref+'images/appext/fixed-sm.jpg?v=1'
+    },
+    share : [{
+      "bdSize" : 16
+    }],
+    slide : [{
+      bdImg : 0,
+      bdPos : "right",
+      bdTop : 100
+    }],
+  }
+
+  /**
+   * 前往工作台打开对应搜索
+   */
+  function onkeydownSearch () {
+    if (window.event.keyCode == 13) {
+			zbIndexSearch()
+      return
+		}
+  }
+  function zbIndexSearch () {
+    var activeTab = $('.tips span.active').attr('data-id')
+    if (activeTab === 'zb') {//招标采购搜索
+      sessionStorage.setItem('is-click-search', 1)
+      if(!loginflag){
+        window.location.href= '/jylab/supsearch/index.html' + '?' + $('#zbIndex').serialize()
+      }else{
+        submitNavHeaderSearch('zbIndex')
+      }
+
+    } else {
+      sessionStorage.removeItem('is-click-search')
+      submitNavHeaderSearch('zbIndex') //打开工作桌面并传入form ID
+    }
+
+  }
+  </script>
+  {{include "/common/baiducc.html"}}
+  <script type="text/javascript">
+	var tjhost = location.host;
+	if(tjhost.indexOf("jianyu360.com")>=0){
+		var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1261815924'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s11.cnzz.com/z_stat.php%3Fid%3D1261815924' type='text/javascript'%3E%3C/script%3E"));
+		setTimeout(function(){
+			$("#cnzz_stat_icon_1261815924 a").text("");
+		},1000)
+	}
+  </script>
+</html>

部分文件因为文件数量过多而无法显示