Browse Source

Merge branch 'feature/v4.8.83_wky' of qmx/jy into feature/v4.8.83

wangkaiyue 1 year ago
parent
commit
132b5eb63b
3 changed files with 12 additions and 20 deletions
  1. 4 4
      src/index.yaml
  2. 4 4
      src/jfw/front/index.go
  3. 4 12
      src/web/templates/common/pc-header-nav-mini.html

+ 4 - 4
src/index.yaml

@@ -74,14 +74,14 @@ topMenu:
       - name: 企业认证
       - name: 企业认证
         href: /swordfish/frontPage/enterpriseCertificatio/free/index
         href: /swordfish/frontPage/enterpriseCertificatio/free/index
       - name: 展会报名
       - name: 展会报名
-        href: /exhibition/list/pc/index.htmlSDq1d
+        href: /exhibition/list/pc/index.html
       - name: 商务合作
       - name: 商务合作
-        href:
+        href: /swordfish/frontPage/cooperation/free/index
         class: red
         class: red
       - name: 合作招募
       - name: 合作招募
-        href:
+        href: /swordfish/frontPage/recruitment/free/index
       - name: 发布供需信息
       - name: 发布供需信息
-        href:
+        href:  /swordfish/frontPage/InformationDistribution/free/index
         class: red
         class: red
   - title: 企业服务
   - title: 企业服务
     child:
     child:

+ 4 - 4
src/jfw/front/index.go

@@ -47,7 +47,7 @@ func init() {
 	entServerTransferMap = map[string]map[bool]string{
 	entServerTransferMap = map[string]map[bool]string{
 		"yxgl": map[bool]string{ //【营销管理】根据code判断是否有权限 bi_yx
 		"yxgl": map[bool]string{ //【营销管理】根据code判断是否有权限 bi_yx
 			true:  fmt.Sprintf("/page_workDesktop/work-bench/page?link=%s/succbi/crm_system/app/crm.app/sales_clues.spg", config.Sysconfig["webdomain"].(string)),
 			true:  fmt.Sprintf("/page_workDesktop/work-bench/page?link=%s/succbi/crm_system/app/crm.app/sales_clues.spg", config.Sysconfig["webdomain"].(string)),
-			false: "/helpCenter/index",
+			false: "/swordfish/frontPage/digitalMarketing/free/index",
 		},
 		},
 		"yxt": map[bool]string{ //【医械通】根据code判断是否有权限  lyh_yl_yldy
 		"yxt": map[bool]string{ //【医械通】根据code判断是否有权限  lyh_yl_yldy
 			true:  "/page_workDesktop/work-bench/app/big/medical/Credentials",
 			true:  "/page_workDesktop/work-bench/app/big/medical/Credentials",
@@ -55,15 +55,15 @@ func init() {
 		},
 		},
 		"khgl": map[bool]string{ //【客户管理】根据code判断是否有权限 bi_yx
 		"khgl": map[bool]string{ //【客户管理】根据code判断是否有权限 bi_yx
 			true:  fmt.Sprintf("/page_workDesktop/work-bench/page?link=%s/succbi/crm_system/app/crm.app/sales_clues.spg", config.Sysconfig["webdomain"].(string)),
 			true:  fmt.Sprintf("/page_workDesktop/work-bench/page?link=%s/succbi/crm_system/app/crm.app/sales_clues.spg", config.Sysconfig["webdomain"].(string)),
-			false: "/helpCenter/index",
+			false: "/swordfish/frontPage/customanage/free/index",
 		},
 		},
 		"tbxmgl": map[bool]string{ //【投标项目管理】根据code判断是否有权限 cb_zy_code
 		"tbxmgl": map[bool]string{ //【投标项目管理】根据code判断是否有权限 cb_zy_code
 			true:  "/big/attend_bidding/mine",
 			true:  "/big/attend_bidding/mine",
-			false: "/helpCenter/index",
+			false: "/swordfish/frontPage/biddingProject/free/index",
 		},
 		},
 		"nzbg": map[bool]string{ //【年终报告】根据code判断是否有权限
 		"nzbg": map[bool]string{ //【年终报告】根据code判断是否有权限
 			true:  fmt.Sprintf("/page_workDesktop/work-bench/page?link=%s/succbi/nzbg/app/nzbg.app/nzbg_entrance_pc.spg", config.Sysconfig["webdomain"].(string)),
 			true:  fmt.Sprintf("/page_workDesktop/work-bench/page?link=%s/succbi/nzbg/app/nzbg.app/nzbg_entrance_pc.spg", config.Sysconfig["webdomain"].(string)),
-			false: "/helpCenter/index",
+			false: "/swordfish/frontPage/AnnualReport/free/index",
 		},
 		},
 	}
 	}
 }
 }

+ 4 - 12
src/web/templates/common/pc-header-nav-mini.html

@@ -31,19 +31,11 @@
                 <li class="menu-item">
                 <li class="menu-item">
                     <a class="menu-vip-button" href="/product/index?serviceType=0"><i class="j-icon base-icon icon-img-vip-v-deep"></i>服务列表</a>
                     <a class="menu-vip-button" href="/product/index?serviceType=0"><i class="j-icon base-icon icon-img-vip-v-deep"></i>服务列表</a>
                 </li>
                 </li>
-                <li class="menu-item hover-underline" name="付费指导">
-                    <a href="">付费指导</a>
-                </li>
-                <li class="menu-item hover-underline download-app" name="APP下载">
-                    <a href="/front/appDownload">APP下载</a>
-                    <!-- <a href="javascript:void(0);">APP下载</a> -->
-                </li>
-                <li class="menu-item hover-underline" name="帮助中心">
-                    <a href="/helpCenter/index">帮助中心</a>
-                </li>
-                <li class="menu-item hover-underline" name="关于剑鱼">
-                    <a href="/brand/index">关于剑鱼</a>
+                {{range $menu :=(Ad "jy-pc-new-top-btns" -1 .Host )}}
+                <li class="menu-item hover-underline" name="{{$menu.S_remark}}">
+                  <a href="{{$menu.S_link}}">{{$menu.S_remark}}</a>
                 </li>
                 </li>
+                {{end}}
                 <li class="menu-item message-menu login-show" id="noticed" style="display: none;">
                 <li class="menu-item message-menu login-show" id="noticed" style="display: none;">
                     <a class="message-menu-link" href="/swordfish/frontPage/messageCenter/sess/index">
                     <a class="message-menu-link" href="/swordfish/frontPage/messageCenter/sess/index">
                         <div class="icon-img-message">
                         <div class="icon-img-message">