Commit d9a8b424 by tang

feat: 头部导航更新

parent 495f0b18
...@@ -6,13 +6,20 @@ export default { ...@@ -6,13 +6,20 @@ export default {
nav: Object, nav: Object,
}, },
data() { data() {
return {}; return {
rows:ROW_NUM
};
}, },
computed: { computed: {
rowNum() { rowNum() {
return ROW_NUM - 1; return this.rows - 1;
}, },
}, },
created() {
if(this.nav.rowNum){
this.rows = this.nav.rowNum
}
},
methods: { methods: {
// 目前只支持两级子代 主要是设计图布局不递归 // 目前只支持两级子代 主要是设计图布局不递归
renderDropdown() { renderDropdown() {
...@@ -130,8 +137,8 @@ export default { ...@@ -130,8 +137,8 @@ export default {
color: #04408d; color: #04408d;
line-height: 25px; line-height: 25px;
padding-bottom: 10px; padding-bottom: 10px;
margin-bottom: 29px; //margin-bottom: 29px;
border-bottom: 1px solid rgba(4, 64, 141, 0.18); //border-bottom: 1px solid rgba(4, 64, 141, 0.18);
} }
.navbar-dropdown-menu-inner { .navbar-dropdown-menu-inner {
...@@ -142,14 +149,21 @@ export default { ...@@ -142,14 +149,21 @@ export default {
} }
.gs-dropdown-rect { .gs-dropdown-rect {
flex:1 0 auto;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
padding-right: 75px; padding-right: 75px;
margin-bottom: 20px; margin-bottom: 20px;
padding-top: 28px;
border-top: 1px solid rgba(4, 64, 141, 0.18);
.gs-dropdown-col{
border-top: none;
}
.rect-title { .rect-title {
font-weight: 500; font-weight: 600;
color: #04408d; color: #002C6C;
line-height: 22px; line-height: 22px;
font-size: 16px; font-size: 16px;
padding-bottom: 13px; padding-bottom: 13px;
...@@ -162,11 +176,13 @@ export default { ...@@ -162,11 +176,13 @@ export default {
} }
.gs-dropdown-col { .gs-dropdown-col {
flex:1 0 auto;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
padding-top: 35px; padding-top: 35px;
padding-right: 75px; padding-right: 75px;
margin-bottom: 20px; margin-bottom: 20px;
border-top: 1px solid rgba(4, 64, 141, 0.18);
&.no-padding-top { &.no-padding-top {
padding-top: 0; padding-top: 0;
...@@ -176,10 +192,18 @@ export default { ...@@ -176,10 +192,18 @@ export default {
.gs-dropdown-item { .gs-dropdown-item {
//width: 180px; //width: 180px;
padding: 7px 0; padding: 7px 0;
font-weight: 400;
font-size: 14px; font-size: 14px;
color: #414345; color: #00799E;
line-height: 20px; line-height: 20px;
} }
} }
@media (max-width: 992px) {
.gs-dropdown-rect{
padding-top: 0;
}
.gs-dropdown-rect,.gs-dropdown-col{
border-top: none;
}
}
</style> </style>
...@@ -192,6 +192,7 @@ export default { ...@@ -192,6 +192,7 @@ export default {
<style lang="scss"> <style lang="scss">
.navbar { .navbar {
background: #fff; background: #fff;
font-family: "Microsoft YaHei";
} }
.gs-header-nav { .gs-header-nav {
...@@ -218,10 +219,11 @@ export default { ...@@ -218,10 +219,11 @@ export default {
&::after { &::after {
content: ""; content: "";
position: absolute; position: absolute;
left: 8px; left: 15px;
right: 8px; right: 15px;
bottom: 0; bottom: 0;
height: 2px; height: 3px;
border-radius: 1.5px;
background-color: #f26335; background-color: #f26335;
} }
} }
...@@ -230,7 +232,7 @@ export default { ...@@ -230,7 +232,7 @@ export default {
display: inline-block; display: inline-block;
position: relative; position: relative;
font-size: 14px; font-size: 14px;
font-weight: bold; font-weight: 600;
color: #002c6c; color: #002c6c;
padding: 10px 15px; padding: 10px 15px;
// margin: 0 16px; // margin: 0 16px;
...@@ -294,6 +296,11 @@ export default { ...@@ -294,6 +296,11 @@ export default {
.gs-header-nav .gs-nav-item.nav-item { .gs-header-nav .gs-nav-item.nav-item {
> a { > a {
padding: 10px 10px; padding: 10px 10px;
&.show::after {
left: 10px;
right: 10px;
}
} }
} }
} }
......
...@@ -14,6 +14,7 @@ export const nav = [ ...@@ -14,6 +14,7 @@ export const nav = [
name: "机构概况", name: "机构概况",
index: 1, index: 1,
link: "/Org", link: "/Org",
rowNum: 4,
children: [ children: [
{ {
id: uuid("gs_nav"), id: uuid("gs_nav"),
...@@ -143,7 +144,7 @@ export const nav = [ ...@@ -143,7 +144,7 @@ export const nav = [
}, },
{ {
id: uuid("gs_nav"), id: uuid("gs_nav"),
name: "国际物品编码组织", name: "国际物品编码组织(GS1)",
index: 0, index: 0,
link: "/Org/BranchMsg", link: "/Org/BranchMsg",
breadcrumb: [ breadcrumb: [
...@@ -171,14 +172,15 @@ export const nav = [ ...@@ -171,14 +172,15 @@ export const nav = [
name: "业务大厅", name: "业务大厅",
index: 2, index: 2,
link: "/Business", link: "/Business",
rowNum: 5,
children: [ children: [
{ {
id: uuid("gs_nav"), id: uuid("gs_nav"),
name: "我还不是系统成员", name: "我还不是系统成员(企业初次申请)",
nameInHeaderNav: "我还不是系统成员", nameInHeaderNav: "我还不是系统成员",
index: 2, index: 2,
link: "", link: "",
breadcrumb: [{ name: "业务大厅", path: "/Business" }, { name: "我还不是系统成员" }], breadcrumb: [{ name: "业务大厅", path: "/Business" }, { name: "我还不是系统成员(企业初次申请)" }],
children: [ children: [
{ {
id: uuid("gs_nav"), id: uuid("gs_nav"),
...@@ -202,74 +204,61 @@ export const nav = [ ...@@ -202,74 +204,61 @@ export const nav = [
{ name: "操作指南" }, { name: "操作指南" },
], ],
}, },
// {
{ // id: uuid("gs_nav"),
id: uuid("gs_nav"), // name: "我要申请商品条码",
name: "我要申请商品条码", // index: 2,
index: 2, // link: "/Business/Guide1",
link: "/Business/Guide1", // breadcrumb: [
breadcrumb: [ // { name: "业务大厅", path: "/Business" },
{ name: "业务大厅", path: "/Business" }, // { name: "操作指南", path: "/Business/Guide" },
{ name: "操作指南", path: "/Business/Guide" }, // { name: "我要申请商品条码" },
{ name: "我要通报编码信息" }, // ],
], // },
}, // {
{ // id: uuid("gs_nav"),
id: uuid("gs_nav"), // name: "我要编码",
name: "我要编码", // index: 2,
index: 2, // link: "/Business/Guide2",
link: "/Business/Guide2", // breadcrumb: [
breadcrumb: [ // { name: "业务大厅", path: "/Business" },
{ name: "业务大厅", path: "/Business" }, // { name: "操作指南", path: "/Business/Guide" },
{ name: "操作指南", path: "/Business/Guide" }, // { name: "我要编码" },
{ name: "我要编码" }, // ],
], // },
}, // {
{ // id: uuid("gs_nav"),
id: uuid("gs_nav"), // name: "微信共享",
name: "我要通报编码信息", // index: 2,
index: 2, // link: "/Business/Guide4",
link: "/Business/Guide3", // breadcrumb: [
breadcrumb: [ // { name: "业务大厅", path: "/Business" },
{ name: "业务大厅", path: "/Business" }, // { name: "操作指南", path: "/Business/Guide" },
{ name: "操作指南", path: "/Business/Guide" }, // { name: "微信共享" },
{ name: "我要通报编码信息" }, // ],
], // },
}, // {
{ // id: uuid("gs_nav"),
id: uuid("gs_nav"), // name: "我要咨询",
name: "微信共享", // index: 2,
index: 2, // link: "/Business/Guide7",
link: "/Business/Guide4", // breadcrumb: [
breadcrumb: [ // { name: "业务大厅", path: "/Business" },
{ name: "业务大厅", path: "/Business" }, // { name: "操作指南", path: "/Business/Guide" },
{ name: "操作指南", path: "/Business/Guide" }, // { name: "我要咨询" },
{ name: "微信共享" }, // ],
], // },
}, // {
// id: uuid("gs_nav"),
{ // name: "常见问题",
id: uuid("gs_nav"), // index: 2,
name: "我要咨询", // link: "/Business/Guide8",
index: 2, // breadcrumb: [
link: "/Business/Guide7", // { name: "业务大厅", path: "/Business" },
breadcrumb: [ // { name: "操作指南", path: "/Business/Guide" },
{ name: "业务大厅", path: "/Business" }, // { name: "常见问题" },
{ name: "操作指南", path: "/Business/Guide" }, // ],
{ name: "我要咨询" }, // },
],
},
{
id: uuid("gs_nav"),
name: "常见问题",
index: 2,
link: "/Business/Guide8",
breadcrumb: [
{ name: "业务大厅", path: "/Business" },
{ name: "操作指南", path: "/Business/Guide" },
{ name: "常见问题" },
],
},
{ {
id: uuid("gs_nav"), id: uuid("gs_nav"),
name: "收费公示", name: "收费公示",
...@@ -281,33 +270,33 @@ export const nav = [ ...@@ -281,33 +270,33 @@ export const nav = [
{ name: "收费公示" }, { name: "收费公示" },
], ],
}, },
{ // {
id: uuid("gs_nav"), // id: uuid("gs_nav"),
name: "收费目录清单", // name: "收费目录清单",
index: 2, // index: 2,
link: "/Business/Corppay", // link: "/Business/Corppay",
breadcrumb: [ // breadcrumb: [
{ name: "业务大厅", path: "/Business" }, // { name: "业务大厅", path: "/Business" },
{ name: "我还不是系统成员", path: "/Business/Register" }, // { name: "我还不是系统成员", path: "/Business/Register" },
{ name: "收费目录清单" }, // { name: "收费目录清单" },
], // ],
}, // },
{ // {
id: uuid("gs_nav"), // id: uuid("gs_nav"),
name: "其他增值服务费", // name: "其他增值服务费",
index: 2, // index: 2,
link: "/Business/serviceFee", // link: "/Business/serviceFee",
breadcrumb: [ // breadcrumb: [
{ name: "业务大厅", path: "/Business" }, // { name: "业务大厅", path: "/Business" },
{ name: "我还不是系统成员", path: "/Business/Register" }, // { name: "我还不是系统成员", path: "/Business/Register" },
{ name: "其他增值服务费" }, // { name: "其他增值服务费" },
], // ],
}, // },
{ {
id: uuid("gs_nav"), id: uuid("gs_nav"),
name: "条码注册公告", name: "条码注册公告",
index: 2, index: 2,
link: "/Business/Notice", link: "/Business/Notice?id=zhuce",
breadcrumb: [ breadcrumb: [
{ name: "业务大厅", path: "/Business" }, { name: "业务大厅", path: "/Business" },
{ name: "我还不是系统成员", path: "/Business/Register" }, { name: "我还不是系统成员", path: "/Business/Register" },
...@@ -318,95 +307,115 @@ export const nav = [ ...@@ -318,95 +307,115 @@ export const nav = [
id: uuid("gs_nav"), id: uuid("gs_nav"),
name: "条码注销公告", name: "条码注销公告",
index: 2, index: 2,
link: "/Business/Notice", link: "/Business/Notice?id=zhuxiao",
breadcrumb: [ breadcrumb: [
{ name: "业务大厅", path: "/Business" }, { name: "业务大厅", path: "/Business" },
{ name: "我还不是系统成员", path: "/Business/Register" }, { name: "我还不是系统成员", path: "/Business/Register" },
{ name: "条码注销公告" }, { name: "条码注销公告" },
], ],
}, },
{ // {
id: uuid("gs_nav"), // id: uuid("gs_nav"),
name: "我要续展", // name: "我要续展",
// index: 2,
// link: "/Business/Renewal",
// breadcrumb: [
// { name: "业务大厅", path: "/Business" },
// { name: "我是系统成员", path: "/Service/Training" },
// { name: "我要续展" },
// ],
// },
// {
// id: uuid("gs_nav"),
// name: "零售商品",
// index: 2,
// link: "/Business/Code1",
// breadcrumb: [
// { name: "业务大厅", path: "/Business" },
// { name: "我是系统成员", path: "/Business/Register" },
// { name: "我要编码", path: "/Business/Code1?id=1-1" },
// { name: "零售商品" },
// ],
// },
// {
// id: uuid("gs_nav"),
// name: "非零售商品",
// index: 2,
// link: "/Business/Code2",
// breadcrumb: [
// { name: "业务大厅", path: "/Business" },
// { name: "我是系统成员", path: "/Business/Register" },
// { name: "我要编码", path: "/Business/Code1?id=1-1" },
// { name: "非零售商品" },
// ],
// },
// {
// id: uuid("gs_nav"),
// name: "物流单元",
// index: 2,
// link: "/Business/Code3",
// breadcrumb: [
// { name: "业务大厅", path: "/Business" },
// { name: "我是系统成员", path: "/Business/Register" },
// { name: "我要编码", path: "/Business/Code1?id=1-1" },
// { name: "物流单元" },
// ],
// },
],
},
{
id: uuid("gs_nav"),
name: "我是系统成员(成员专区)",
nameInHeaderNav: "我是系统成员",
index: 2, index: 2,
link: "/Business/Renewal", link: "/Business",
breadcrumb: [ breadcrumb: [{ name: "业务大厅", path: "/Business" }, { name: "我是系统成员(成员专区)" }],
{ name: "业务大厅", path: "/Business" }, children: [
{ name: "我是系统成员", path: "/Service/Training" },
{ name: "我要续展" },
],
},
{ {
id: uuid("gs_nav"), id: uuid("gs_nav"),
name: "零售商品", name: "我要培训——现场培训/线上培训",
index: 2, index: 2,
link: "/Business/Code1", link: "/Business/Guide5",
breadcrumb: [ breadcrumb: [
{ name: "业务大厅", path: "/Business" }, { name: "业务大厅", path: "/Business" },
{ name: "我是系统成员", path: "/Business/Register" }, { name: "操作指南", path: "/Business/Guide" },
{ name: "我要编码", path: "/Business/Code1?id=1-1" }, { name: "我要培训——现场培训/线上培训" },
{ name: "零售商品" },
], ],
}, },
{ {
id: uuid("gs_nav"), id: uuid("gs_nav"),
name: "非零售商品", name: "我要续展",
index: 2, index: 2,
link: "/Business/Code2", link: "/Business/Guide6",
breadcrumb: [ breadcrumb: [
{ name: "业务大厅", path: "/Business" }, { name: "业务大厅", path: "/Business" },
{ name: "我是系统成员", path: "/Business/Register" }, { name: "操作指南", path: "/Business/Guide" },
{ name: "我要编码", path: "/Business/Code1?id=1-1" }, { name: "我要续展" },
{ name: "非零售商品" },
], ],
}, },
{ {
id: uuid("gs_nav"), id: uuid("gs_nav"),
name: "物流单元", name: "我要编码(零售商品、非零售商品、物流单元)",
index: 2, index: 2,
link: "/Business/Code3", link: "/Business/Code1",
breadcrumb: [ breadcrumb: [
{ name: "业务大厅", path: "/Business" }, { name: "业务大厅", path: "/Business" },
{ name: "我是系统成员", path: "/Business/Register" }, { name: "我是系统成员", path: "/Business/Register" },
{ name: "我要编码", path: "/Business/Code1?id=1-1" }, { name: "我要编码", path: "/Business/Code1?id=1-1" },
{ name: "物流单元" }, { name: "我要编码(零售商品、非零售商品、物流单元)" },
],
},
],
},
{
id: uuid("gs_nav"),
name: "我是系统成员",
nameInHeaderNav: "我是系统成员",
index: 2,
link: "/Business",
breadcrumb: [{ name: "业务大厅", path: "/Business" }, { name: "我还不是系统成员" }],
children: [
{
id: uuid("gs_nav"),
name: "我要培训",
index: 2,
link: "/Business/Guide5",
breadcrumb: [
{ name: "业务大厅", path: "/Business" },
{ name: "操作指南", path: "/Business/Guide" },
{ name: "我要培训" },
], ],
}, },
{ {
id: uuid("gs_nav"), id: uuid("gs_nav"),
name: "我要续展", name: "我要通报编码信息(领取条码卡、激活条码卡、通报编码信息)",
index: 2, index: 2,
link: "/Business/Guide6", link: "/Business/Guide3",
breadcrumb: [ breadcrumb: [
{ name: "业务大厅", path: "/Business" }, { name: "业务大厅", path: "/Business" },
{ name: "操作指南", path: "/Business/Guide" }, { name: "操作指南", path: "/Business/Guide" },
{ name: "我要续展" }, { name: "我要通报编码信息(领取条码卡、激活条码卡、通报编码信息)" },
], ],
}, },
{ {
id: uuid("gs_nav"), id: uuid("gs_nav"),
name: "我要生成商品二维码", name: "我要生成商品二维码",
...@@ -440,6 +449,12 @@ export const nav = [ ...@@ -440,6 +449,12 @@ export const nav = [
{ name: "条码微站" }, { name: "条码微站" },
], ],
}, },
{
id: uuid("gs_nav"),
name: "条码商桥",
index: 2,
link: "http://so.anccnet.com/Home/Login",
},
], ],
}, },
{ {
...@@ -477,10 +492,10 @@ export const nav = [ ...@@ -477,10 +492,10 @@ export const nav = [
{ {
id: uuid("gs_nav"), id: uuid("gs_nav"),
name: "办理其他业务", name: "办理其他业务",
nameInHeaderNav: "办理其他业务", nameInHeaderNav: "跨境业务办理专区",
index: 2, index: 2,
link: "/Business", link: "/Business",
breadcrumb: [{ name: "业务大厅", path: "/Business" }, { name: "我还不是系统成员" }], breadcrumb: [{ name: "业务大厅", path: "/Business" }, { name: "跨境业务办理专区" }],
children: [ children: [
{ {
id: uuid("gs_nav"), id: uuid("gs_nav"),
...@@ -493,50 +508,6 @@ export const nav = [ ...@@ -493,50 +508,6 @@ export const nav = [
{ name: "全球参与方位置代码(GLN)业务办理" }, { name: "全球参与方位置代码(GLN)业务办理" },
], ],
}, },
{
id: uuid("gs_nav"),
name: "办理产品电子代码(EPC)",
index: 2,
link: "/Business/cpdzdm",
breadcrumb: [
{ name: "业务大厅", path: "/Business" },
{ name: "办理其他业务", path: "/Business/GLN" },
{ name: "办理产品电子代码(EPC)" },
],
},
{
id: uuid("gs_nav"),
name: "办理资产标识代码",
index: 2,
link: "/Business/GIAI",
breadcrumb: [
{ name: "业务大厅", path: "/Business" },
{ name: "办理其他业务", path: "/Business/GLN" },
{ name: "办理资产标识代码" },
],
},
{
id: uuid("gs_nav"),
name: "办理全球服务关系代码",
index: 2,
link: "/Business/GSRN",
breadcrumb: [
{ name: "业务大厅", path: "/Business" },
{ name: "办理其他业务", path: "/Business/GLN" },
{ name: "办理全球服务关系代码" },
],
},
{
id: uuid("gs_nav"),
name: "办理动物管理者代码",
index: 2,
link: "/Business/Animalcode",
breadcrumb: [
{ name: "业务大厅", path: "/Business" },
{ name: "办理其他业务", path: "/Business/GLN" },
{ name: "办理动物管理者代码" },
],
},
], ],
} }
], ],
...@@ -548,6 +519,7 @@ export const nav = [ ...@@ -548,6 +519,7 @@ export const nav = [
name: "资讯中心", name: "资讯中心",
index: 5, index: 5,
link: "/News/index", link: "/News/index",
rowNum: 4,
children: [ children: [
{ {
id: uuid("gs_nav"), id: uuid("gs_nav"),
...@@ -753,6 +725,7 @@ export const nav = [ ...@@ -753,6 +725,7 @@ export const nav = [
name: "知识中心", name: "知识中心",
index: 6, index: 6,
link: "/Knowledge", link: "/Knowledge",
rowNum: 6,
children: [ children: [
{ {
id: uuid("gs_nav"), id: uuid("gs_nav"),
...@@ -816,49 +789,48 @@ export const nav = [ ...@@ -816,49 +789,48 @@ export const nav = [
}, },
{ {
id: uuid("gs_nav"), id: uuid("gs_nav"),
name: "标准文献", name: "常见知识",
index: 2, index: 5,
link: "/Knowledge/Standard", link: "/Knowledge/xts",
breadcrumb: [ breadcrumb: [
{ name: "技术与标准", path: "/Knowledge" }, { name: "技术与标准", path: "/Knowledge" },
{ name: "技术知识", path: "/Knowledge/" }, { name: "技术知识", path: "/Knowledge/" },
{ name: "标准文献" }, { name: "常见知识" },
], ],
}, },
{ {
id: uuid("gs_nav"), id: uuid("gs_nav"),
name: "专业术语", name: "小贴士",
index: 3, index: 4,
link: "/Knowledge/Glossary", link: "/Knowledge/xts",
breadcrumb: [ breadcrumb: [
{ name: "技术与标准", path: "/Knowledge" }, { name: "技术与标准", path: "/Knowledge" },
{ name: "技术知识", path: "/Knowledge/" }, { name: "技术知识", path: "/Knowledge/" },
{ name: "专业术语" }, { name: "小贴士" },
], ],
}, },
{ {
id: uuid("gs_nav"), id: uuid("gs_nav"),
name: "小贴士", name: "标准文献",
index: 4, index: 2,
link: "/Knowledge/xts", link: "/Knowledge/Standard",
breadcrumb: [ breadcrumb: [
{ name: "技术与标准", path: "/Knowledge" }, { name: "技术与标准", path: "/Knowledge" },
{ name: "技术知识", path: "/Knowledge/" }, { name: "技术知识", path: "/Knowledge/" },
{ name: "小贴士" }, { name: "标准文献" },
], ],
}, },
{ {
id: uuid("gs_nav"), id: uuid("gs_nav"),
name: "常见知识", name: "专业术语",
index: 5, index: 3,
link: "/Knowledge/xts", link: "/Knowledge/Glossary",
breadcrumb: [ breadcrumb: [
{ name: "技术与标准", path: "/Knowledge" }, { name: "技术与标准", path: "/Knowledge" },
{ name: "技术知识", path: "/Knowledge/" }, { name: "技术知识", path: "/Knowledge/" },
{ name: "常见知识" }, { name: "专业术语" },
], ],
}, },
], ],
}, },
{ {
......
...@@ -5,6 +5,7 @@ export default { ...@@ -5,6 +5,7 @@ export default {
name: "条码查询", name: "条码查询",
index: 3, index: 3,
link: "/search", link: "/search",
rowNum: 5,
breadcrumb: [ breadcrumb: [
{ name: "服务中心", path: "/service" }, { name: "服务中心", path: "/service" },
{ name: "查询服务", path: "/search/tool" }, { name: "查询服务", path: "/search/tool" },
......
import {uuid} from "@/utils/utils"; import {uuid} from "@/utils/utils";
import search from "./search.js";
export default { export default {
id: "4", id: "4",
name: "服务中心", name: "服务中心",
index: 4, index: 4,
link: "/Service", link: "/Service",
rowNum: 7,
breadcrumb: [ breadcrumb: [
{ name: "服务中心", path: "/Service/BarcodeV" }, { name: "服务中心", path: "/Service/BarcodeV" },
{ name: "产品服务", path: "/Service/BarcodeV" }, { name: "产品服务", path: "/Service/BarcodeV" },
...@@ -79,58 +79,6 @@ export default { ...@@ -79,58 +79,6 @@ export default {
}, },
{ {
id: uuid("gs_nav"), id: uuid("gs_nav"),
name: "软件下载",
index: 1,
link: "/Service/Book",
breadcrumb: [
{ name: "服务中心", path: "/Service/Book" },
{ name: "软件下载" },
],
children:[
{
id: uuid("gs_nav"),
name: "中国编码",
index: 0,
link: "/Service/Book",
breadcrumb: [
{ name: "服务中心", path: "/Service/Book" },
{ name: "软件下载" },
],
},
{
id: uuid("gs_nav"),
name: "条码追溯",
index: 1,
link: "/Service/Book",
breadcrumb: [
{ name: "服务中心", path: "/Service/Book" },
{ name: "软件下载" },
],
},
{
id: uuid("gs_nav"),
name: "一扫通",
index: 2,
link: "/Service/Book",
breadcrumb: [
{ name: "服务中心", path: "/Service/Book" },
{ name: "软件下载" },
],
},
{
id: uuid("gs_nav"),
name: "汉信码生成与识读工具",
index: 3,
link: "/Service/Book",
breadcrumb: [
{ name: "服务中心", path: "/Service/Book" },
{ name: "软件下载" },
],
},
]
},
{
id: uuid("gs_nav"),
name: "条码/RFID/软件检测服务", name: "条码/RFID/软件检测服务",
index: 2, index: 2,
link: "/Service/jcyxz/Barcode", link: "/Service/jcyxz/Barcode",
...@@ -209,6 +157,166 @@ export default { ...@@ -209,6 +157,166 @@ export default {
}, },
{ {
id: uuid("gs_nav"), id: uuid("gs_nav"),
name: "条码信息查询",
nameInHeaderNav: "查询服务",
index: 0,
link: "/search/tool",
breadcrumb: [
{ name: "服务中心", path: "/service" },
{ name: "查询服务", path: "/search/tool" },
{ name: "条码信息查询" },
],
children: [
{
id: uuid("gs_nav"),
name: "境内条码信息查询",
index: 0,
link: "/search/internal",
breadcrumb: [
{ name: "服务中心", path: "/service" },
{ name: "查询服务", path: "/search/tool" },
{ name: "境内条码信息查询" },
],
},
{
id: uuid("gs_nav"),
name: "境外条码信息查询",
index: 1,
link: "/search/external",
breadcrumb: [
{ name: "服务中心", path: "/service" },
{ name: "查询服务", path: "/search/tool" },
{ name: "境外条码信息查询" },
],
},
{
id: uuid("gs_nav"),
name: "缩短码查询",
index: 2,
link: "/search/shortcode",
breadcrumb: [
{ name: "服务中心", path: "/service" },
{ name: "查询服务", path: "/search/tool" },
{ name: "缩短码查询" },
],
},
{
id: uuid("gs_nav"),
name: "追溯信息查询",
index: 3,
link: "http://www.chinatrace.org/",
},
{
id: uuid("gs_nav"),
name: "GLN查询",
index: 1,
link: "/search/gln",
breadcrumb: [
{ name: "服务中心", path: "/service" },
{ name: "查询服务", path: "/search/tool" },
{ name: "GLN查询" },
],
},
{
id: uuid("gs_nav"),
name: "自行车企业代码公告查询",
index: 2,
link: "/search/bike",
breadcrumb: [
{ name: "服务中心", path: "/service" },
{ name: "查询服务", path: "/search/tool" },
{ name: "自行车企业代码公告查询" },
],
},
{
id: uuid("gs_nav"),
name: "条码术语查询",
index: 3,
link: "/search/glossary",
breadcrumb: [
{ name: "服务中心", path: "/service" },
{ name: "查询服务", path: "/search/tool" },
{ name: "条码术语查询" },
],
},
{
id: uuid("gs_nav"),
name: "国家及地区前缀码查询",
index: 5,
link: "/search/country",
breadcrumb: [
{ name: "服务中心", path: "/service" },
{ name: "查询服务", path: "/search/tool" },
{ name: "国家及地区前缀码查询" },
],
},
{
id: uuid("gs_nav"),
name: "校验码计算工具",
index: 4,
link: "/search/check",
breadcrumb: [
{ name: "服务中心", path: "/service" },
{ name: "查询服务", path: "/search/tool" },
{ name: "校验码计算工具" },
],
},
],
},
{
id: uuid("gs_nav"),
name: "软件下载",
index: 1,
link: "/Service/Book",
breadcrumb: [
{ name: "服务中心", path: "/Service/Book" },
{ name: "软件下载" },
],
children:[
{
id: uuid("gs_nav"),
name: "中国编码",
index: 0,
link: "/Service/Book",
breadcrumb: [
{ name: "服务中心", path: "/Service/Book" },
{ name: "软件下载" },
],
},
{
id: uuid("gs_nav"),
name: "条码追溯",
index: 1,
link: "/Service/Book",
breadcrumb: [
{ name: "服务中心", path: "/Service/Book" },
{ name: "软件下载" },
],
},
{
id: uuid("gs_nav"),
name: "一扫通",
index: 2,
link: "/Service/Book",
breadcrumb: [
{ name: "服务中心", path: "/Service/Book" },
{ name: "软件下载" },
],
},
{
id: uuid("gs_nav"),
name: "汉信码生成与识读工具",
index: 3,
link: "/Service/Book",
breadcrumb: [
{ name: "服务中心", path: "/Service/Book" },
{ name: "软件下载" },
],
},
]
},
{
id: uuid("gs_nav"),
name: "GS1标准服务提供商", name: "GS1标准服务提供商",
index: 3, index: 3,
link: "/Service/Partners/index", link: "/Service/Partners/index",
...@@ -264,7 +372,6 @@ export default { ...@@ -264,7 +372,6 @@ export default {
}, },
] ]
}, },
...JSON.parse(JSON.stringify(search.children)),
{ {
id: uuid("gs_nav"), id: uuid("gs_nav"),
name: "平台服务", name: "平台服务",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment