Commit 0d014ab0 by Lyan

bug

parent d9d28701
NODE_ENV = "development" NODE_ENV = "development"
VUE_APP_CURRENTMODE = "development" VUE_APP_CURRENTMODE = "development"
VUE_APP_HOST_URL = "http://wudi.natapp1.cc" VUE_APP_HOST_URL = "http://116.204.118.109:9091"
VUE_APP_API_URL = "/" VUE_APP_API_URL = "/"
VUE_APP_GDS_URL = "/gds" VUE_APP_GDS_URL = "/gds"
VUE_APP_LOG = true VUE_APP_LOG = true
NODE_ENV = "production" NODE_ENV = "production"
VUE_APP_CURRENTMODE = "test" VUE_APP_CURRENTMODE = "test"
VUE_APP_HOST_URL = "http://wudi.natapp1.cc" VUE_APP_HOST_URL = "http://116.204.118.109:9091"
VUE_APP_API_URL = "http://wudi.natapp1.cc" VUE_APP_API_URL = "http://116.204.118.109:9091"
VUE_APP_GDS_URL = "http://data-studio.gds.org.cn" VUE_APP_GDS_URL = "http://data-studio.gds.org.cn"
VUE_APP_CHINATM_URL = "http://81.68.189.225:8080/chinatm" VUE_APP_CHINATM_URL = "http://81.68.189.225:8080/chinatm"
VUE_APP_LOG = false VUE_APP_LOG = false
...@@ -4,11 +4,15 @@ import { ...@@ -4,11 +4,15 @@ import {
const Prefix = process.env.NODE_ENV === 'development' ? '/gs1' : ''; const Prefix = process.env.NODE_ENV === 'development' ? '/gs1' : '';
// 条码查询—GLN查询/境外码查询 // 条码查询—境外码查询
const searchGln = (params = {}) => { const searchGln = (params = {}) => {
// return POST(`${Prefix}/office/codeSearch/api/gln`, params) // return POST(`${Prefix}/office/codeSearch/api/gln`, params)
return POST(`${Prefix}/office/gTinSearch/api/gtin`, params) return POST(`${Prefix}/office/gTinSearch/api/gtin`, params)
} }
// 条码查询—GLN查询
const searchCodeGln = (params = {}) => {
return POST(`${Prefix}/office/codeSearch/api/gln`, params)
}
// 条码查询—缩短码查询 // 条码查询—缩短码查询
const searchGetList = (params = {}) => { const searchGetList = (params = {}) => {
...@@ -49,4 +53,5 @@ export default { ...@@ -49,4 +53,5 @@ export default {
searchCompanyChange, searchCompanyChange,
searchBike, searchBike,
searchGlossary, searchGlossary,
searchCodeGln
} }
...@@ -5,6 +5,9 @@ ...@@ -5,6 +5,9 @@
</el-button> </el-button>
<el-button v-else type="primary" style="padding: 9px 30px;margin-right: 6px" size="small" @click="handleExit">退出登录 <el-button v-else type="primary" style="padding: 9px 30px;margin-right: 6px" size="small" @click="handleExit">退出登录
</el-button> </el-button>
<div class="top-banner-item tb-hover d-block d-xl-none d-lg-none" @click="handleSearch">
<img src="../../../assets/image/head/search.png" alt="" />
</div>
<!-- Toggler --> <!-- Toggler -->
<button class="navbar-toggler collapsed" type="button" data-toggle="collapse" <button class="navbar-toggler collapsed" type="button" data-toggle="collapse"
...@@ -40,10 +43,16 @@ export default { ...@@ -40,10 +43,16 @@ export default {
// this.$router.push({path: "/"}) // this.$router.push({path: "/"})
location.href = '/' location.href = '/'
this.user = null this.user = null
} },
handleSearch () {
this.$router.push({
path: "/Home/sousuo",
});
},
}, },
created() { created() {
this.user = localStorage.getItem('loginInfo') ? JSON.parse(localStorage.getItem('loginInfo')) : null this.user = localStorage.getItem('loginInfo') ? JSON.parse(localStorage.getItem('loginInfo')) : null
console.log(this.user)
}, },
} }
</script> </script>
...@@ -54,5 +63,11 @@ export default { ...@@ -54,5 +63,11 @@ export default {
background: #CC3C0F; background: #CC3C0F;
} }
} }
.tb-hover{
>img {
width: 16px;
height: 16px;
}
}
} }
</style> </style>
...@@ -163,6 +163,8 @@ export default { ...@@ -163,6 +163,8 @@ export default {
handleWindowClick() { handleWindowClick() {
console.log('handleWindowClick', this.fromNav, this.preActive); console.log('handleWindowClick', this.fromNav, this.preActive);
console.log('fromNav', this.fromNav);
console.log('preActive', this.preActive);
if (!this.fromNav) { if (!this.fromNav) {
this.showDropDown = '' this.showDropDown = ''
} }
...@@ -175,6 +177,7 @@ export default { ...@@ -175,6 +177,7 @@ export default {
}, },
handleNavClick(nav) { handleNavClick(nav) {
console.log('handleNavClick', nav) console.log('handleNavClick', nav)
this.showDropDown = nav.id; this.showDropDown = nav.id;
if (!nav.children || nav.children.length === 0) { if (!nav.children || nav.children.length === 0) {
...@@ -187,7 +190,9 @@ export default { ...@@ -187,7 +190,9 @@ export default {
// console.log('!this.fromDropdown', this.currentNav, nav.id) // console.log('!this.fromDropdown', this.currentNav, nav.id)
// 重复点击同一个nav // 重复点击同一个nav
if (this.currentNav === nav.id) { if (this.currentNav === nav.id) {
this.currentNav = this.preActive; // 不改变状态
// this.currentNav = this.preActive;
this.fromNav = true;
this.preActive = ""; this.preActive = "";
} else { } else {
// 点击的是有dropdown的nav 需要保存当前激活状态 // 点击的是有dropdown的nav 需要保存当前激活状态
...@@ -206,6 +211,10 @@ export default { ...@@ -206,6 +211,10 @@ export default {
this.fromDropdown = true; this.fromDropdown = true;
if (item.link.startsWith("http")) { if (item.link.startsWith("http")) {
window.open(item.link); window.open(item.link);
}else if(item.link==''){
// 导航link为空的
this.$message.error('此业务没有开通')
} else { } else {
// console.log(item.root) // console.log(item.root)
this.updateCurrent(item.root.id); this.updateCurrent(item.root.id);
......
...@@ -25,7 +25,7 @@ export default { ...@@ -25,7 +25,7 @@ export default {
data() { data() {
return { return {
bzkydtCate: { bzkydtCate: {
name: "标准", name: "政策法规&行业资讯",
ico: "", ico: "",
}, },
tableResult: { tableResult: {
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
<dd><i></i></dd> <dd><i></i></dd>
<dd> <dd>
<p> <p>
<em></em>中国商品信息服务平台<br /><a <em></em>中国商品信息服务平台<br /><a
href="https://www.gds.org.cn" href="https://www.gds.org.cn"
target="_blank" target="_blank"
>( https://www.gds.org.cn)</a >( https://www.gds.org.cn)</a
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
<dd><i></i></dd> <dd><i></i></dd>
<dd> <dd>
<p> <p>
<em></em>中国商品信息服务平台<a <em></em>中国商品信息服务平台<a
href="https://www.gds.org.cn" href="https://www.gds.org.cn"
target="_blank" target="_blank"
>(https://www.gds.org.cn)</a >(https://www.gds.org.cn)</a
......
...@@ -7,9 +7,7 @@ ...@@ -7,9 +7,7 @@
<b>1、成员专区培训</b> <b>1、成员专区培训</b>
</p> </p>
<p> <p>
登录中国物品编码中心官网<a :href="`${urls.origin}`" target="_blank">{{ 登录中国物品编码中心官网<a href="www.gs1cn.org" target="_blank">www.gs1cn.org</a
urls.host
}}</a
>,点击“成员专区”,通过条码卡卡号密码登录。 >,点击“成员专区”,通过条码卡卡号密码登录。
</p> </p>
<div class="text-center"> <div class="text-center">
...@@ -81,10 +79,7 @@ ...@@ -81,10 +79,7 @@
<div class="msg-title" ref="5-2">线下培训:</div> <div class="msg-title" ref="5-2">线下培训:</div>
<p> <p>
登录中国物品编码中心官网<a :href="`${urls.origin}`" target="_blank">{{ 登录中国物品编码中心官网<a href="www.gs1cn.org" target="_blank">www.gs1cn.org</a>,点击“我要培训”。
urls.origin
}}</a
>,点击“我要培训”。
</p> </p>
<div class="text-center"> <div class="text-center">
<img <img
......
...@@ -439,10 +439,10 @@ export default { ...@@ -439,10 +439,10 @@ export default {
children: [ children: [
{ {
name: "收费公示", name: "收费公示",
path: "/Business/Corppay", path: "/Business/Corppaynew",
active: "Corppaynew", active: "Corppaynew",
query: { query: {
id: "1", id: "0",
}, },
noneChild: true, noneChild: true,
}, },
...@@ -759,11 +759,13 @@ export default { ...@@ -759,11 +759,13 @@ export default {
} else { } else {
originPath = this.$route.path; originPath = this.$route.path;
} }
const currentRoute = this.deepFindCurrentRoute( const currentRoute = this.deepFindCurrentRoute(
this.routeList, this.routeList,
originPath originPath
); );
// console.log(currentRoute, "currentRoute");
console.log(currentRoute, "currentRoute11112222");
if (currentRoute.children && currentRoute.children.length > 0) { if (currentRoute.children && currentRoute.children.length > 0) {
newRouteList = currentRoute.children; newRouteList = currentRoute.children;
} else if (currentRoute.noneChild) { } else if (currentRoute.noneChild) {
...@@ -772,8 +774,9 @@ export default { ...@@ -772,8 +774,9 @@ export default {
} else { } else {
newRouteList = this.routeList; newRouteList = this.routeList;
} }
console.log(newRouteList, "newRouteListnewRouteList2");
localStorage.setItem("newRouteList", JSON.stringify(newRouteList)); localStorage.setItem("newRouteList", JSON.stringify(newRouteList));
// newRouteList = this.deepFindRouteList(this.routeList, currentPath); // newRouteList = this.deepFindRouteList(this.routeList, originPath);
console.log(newRouteList, "newRouteListnewRouteList2"); console.log(newRouteList, "newRouteListnewRouteList2");
return newRouteList; return newRouteList;
}, },
......
...@@ -91,7 +91,7 @@ export default { ...@@ -91,7 +91,7 @@ export default {
this.show = false; this.show = false;
}, },
handelJump() { handelJump() {
window.open("/Business/Corppay", "_blank"); window.open("/Business/Corppaynew", "_blank");
}, },
}, },
}; };
......
...@@ -263,7 +263,7 @@ ...@@ -263,7 +263,7 @@
</div> </div>
<div class="col-lg-7 chaxun-middle"> <div class="col-lg-7 chaxun-middle">
<el-input <el-input
placeholder="请输入厂商名称" :placeholder="optionLable"
v-model="chaxun.keywords" v-model="chaxun.keywords"
clearable clearable
> >
...@@ -724,6 +724,7 @@ export default { ...@@ -724,6 +724,7 @@ export default {
options2: [], options2: [],
keywords: "", keywords: "",
}, },
optionLable:'',
chaxun2:{ chaxun2:{
keywords: "", keywords: "",
}, },
...@@ -1004,14 +1005,18 @@ export default { ...@@ -1004,14 +1005,18 @@ export default {
data: [ data: [
{ {
name: "国家射频识别产品质量检验检测中心", name: "国家射频识别产品质量检验检测中心",
url: "http://www.spjc.org.cn/", // url: "http://www.spjc.org.cn/",
type: "link", // type: "link",
url: "/Org/Sites",
query: {
id: "1-2",
},
}, },
{ {
name: "国家条码质量检验检测中心", name: "国家条码质量检验检测中心",
url: "/Org/Sites", url: "/Org/Sites",
query: { query: {
id: "1-2", id: "1-1",
}, },
}, },
{ {
...@@ -1100,6 +1105,23 @@ export default { ...@@ -1100,6 +1105,23 @@ export default {
}, },
}; };
}, },
watch:{
'chaxun.type': {
handler(newVal, oldVal) {
if(newVal==1){
this.optionLable='请输入厂商识别代码'
}else if(newVal==2){
this.optionLable='请输入厂商名称'
}else if(newVal==3){
this.optionLable='请输入厂商地址'
}
},
deep: true,
immediate: true
}
},
created() { created() {
// console.log(this.$route, "this.$route"); // console.log(this.$route, "this.$route");
this.dzfw.push(this.dzfLastChild); this.dzfw.push(this.dzfLastChild);
...@@ -1310,8 +1332,10 @@ export default { ...@@ -1310,8 +1332,10 @@ export default {
}, },
// 要闻、中心、地方、国际点击 // 要闻、中心、地方、国际点击
handelNewsTab(i) { handelNewsTab(i) {
if (this.news[i].link) { if (this.news[i].link) {
window.open(this.news[i].link, "_blank"); window.open(this.news[i].link, "_blank");
// 是外链的需要初始化
} }
}, },
// 商品全球身份证 // 商品全球身份证
...@@ -2686,11 +2710,7 @@ export default { ...@@ -2686,11 +2710,7 @@ export default {
border-radius: 8px; border-radius: 8px;
img { img {
width: 100%; width: 100%;
@media screen and (max-width: 765px) {
width: calc(100% - 40px);
display: block;
margin: 0 20px 0 20px;
}
} }
} }
...@@ -2810,5 +2830,8 @@ export default { ...@@ -2810,5 +2830,8 @@ export default {
text-align: center; text-align: center;
} }
} }
.ywzxdfgj{
padding: 30px 0;
}
} }
</style> </style>
...@@ -258,8 +258,11 @@ export default { ...@@ -258,8 +258,11 @@ export default {
.nav-tabs { .nav-tabs {
margin: 10px 0; margin: 10px 0;
border-bottom: 1px solid #c5d8ee; border-bottom: 1px solid #c5d8ee;
display: flex;
justify-content: flex-start;
.nav-item { .nav-item {
margin-right: 60px; width: 110px;
// margin-right: 60px;
&:last-child { &:last-child {
margin-right: 0; margin-right: 0;
} }
......
...@@ -175,7 +175,7 @@ export default { ...@@ -175,7 +175,7 @@ export default {
} }
} }
li::before{ a::before{
content: "●"; content: "●";
color: #F26335; color: #F26335;
margin-right: 5px; margin-right: 5px;
......
...@@ -175,7 +175,7 @@ export default { ...@@ -175,7 +175,7 @@ export default {
} }
} }
li::before{ a::before{
content: "●"; content: "●";
color: #F26335; color: #F26335;
margin-right: 5px; margin-right: 5px;
......
...@@ -173,7 +173,7 @@ export default { ...@@ -173,7 +173,7 @@ export default {
} }
} }
li::before{ a::before{
content: "●"; content: "●";
color: #F26335; color: #F26335;
margin-right: 5px; margin-right: 5px;
......
...@@ -175,7 +175,7 @@ export default { ...@@ -175,7 +175,7 @@ export default {
} }
} }
li::before{ a::before{
content: "●"; content: "●";
color: #F26335; color: #F26335;
margin-right: 5px; margin-right: 5px;
......
...@@ -175,7 +175,7 @@ export default { ...@@ -175,7 +175,7 @@ export default {
} }
} }
li::before{ a::before{
content: "●"; content: "●";
color: #F26335; color: #F26335;
margin-right: 5px; margin-right: 5px;
......
...@@ -175,7 +175,7 @@ export default { ...@@ -175,7 +175,7 @@ export default {
} }
} }
li::before{ a::before{
content: "●"; content: "●";
color: #F26335; color: #F26335;
margin-right: 5px; margin-right: 5px;
......
...@@ -175,7 +175,7 @@ export default { ...@@ -175,7 +175,7 @@ export default {
} }
} }
li::before{ a::before{
content: "●"; content: "●";
color: #F26335; color: #F26335;
margin-right: 5px; margin-right: 5px;
......
...@@ -39,7 +39,7 @@ export default { ...@@ -39,7 +39,7 @@ export default {
this.$store.commit("system/SET_BREADCRUMB", [ this.$store.commit("system/SET_BREADCRUMB", [
{ name: "技术与标准", path: "/Knowledge" }, { name: "技术与标准", path: "/Knowledge" },
{ name: "GS1系统", path: "/Knowledge/GS1System2" }, { name: "GS1系统", path: "/Knowledge/GS1System2" },
{ name: "GS1系统的好处" }, { name: "GS1系统的特点" },
]); ]);
}, },
}; };
......
...@@ -175,7 +175,7 @@ export default { ...@@ -175,7 +175,7 @@ export default {
} }
} }
li::before{ a::before{
content: "●"; content: "●";
color: #F26335; color: #F26335;
margin-right: 5px; margin-right: 5px;
......
...@@ -176,7 +176,7 @@ export default { ...@@ -176,7 +176,7 @@ export default {
} }
} }
li::before{ a::before{
content: "●"; content: "●";
color: #F26335; color: #F26335;
margin-right: 5px; margin-right: 5px;
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<div class="col-lg-8 " > <div class="col-lg-8 " >
<div class="listStyle"> <div class="listStyle">
<table> <table style="width:100%;table-layout: fixed">
<thead> <thead>
<tr> <tr>
<th>标题</th> <th>标题</th>
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<td style="width:50%"> <td style="width:50%">
<ul> <ul>
<li> <li>
<a @click="getInfo(item.id,item.directpath,1)" role="button" > {{item.title}}</a> <a @click="getInfo(item.id,item.directpath,1)" role="button" > {{item.title}}</a>
</li> </li>
</ul> </ul>
</td> </td>
...@@ -255,7 +255,7 @@ export default { ...@@ -255,7 +255,7 @@ export default {
} }
} }
li::before{ a::before{
content: "●"; content: "●";
color: #F26335; color: #F26335;
margin-right: 5px; margin-right: 5px;
......
...@@ -187,6 +187,7 @@ export default { ...@@ -187,6 +187,7 @@ export default {
padding-bottom: 30px; padding-bottom: 30px;
} }
.showHtml { .showHtml {
width: 100%;
border-bottom: 1px solid #b2b2b8; border-bottom: 1px solid #b2b2b8;
padding-bottom: 30px; padding-bottom: 30px;
margin-bottom: 25px; margin-bottom: 25px;
...@@ -197,7 +198,16 @@ export default { ...@@ -197,7 +198,16 @@ export default {
color: #454545; color: #454545;
/deep/p { /deep/p {
margin: 0 0 10px; margin: 0 0 10px;
} }
/deep/p{
img{
width: 100%!important;
margin-left: -24px!important;
height: auto!important;
}
}
} }
} }
} }
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<el-select class="col-lg-2" <el-select class="col-lg-2"
v-model="chaxun.type" v-model="chaxun.type"
placeholder="请选择" placeholder="请选择"
clearable
> >
<el-option value="all" label="所有分类"></el-option> <el-option value="all" label="所有分类"></el-option>
<el-option <el-option
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
> >
</el-option> </el-option>
</el-select> </el-select>
<el-input class="col-lg-8" placeholder="请输入内容" clearable v-model="chaxun.keywords" style="margin-left:-30px"></el-input> <el-input class="col-lg-8" placeholder="请输入内容" v-model="chaxun.keywords" style="margin-left:-30px"></el-input>
<div class="top-form-btn col-lg-2" @click="goKnowledgeList" style="margin-left:-15px"> <div class="top-form-btn col-lg-2" @click="goKnowledgeList" style="margin-left:-15px">
<img src="../../assets/image/home/sousuo-ico1.png" alt="" /> <img src="../../assets/image/home/sousuo-ico1.png" alt="" />
</div> </div>
...@@ -86,9 +86,9 @@ ...@@ -86,9 +86,9 @@
</p> </p>
<p class="card-text"><span class="more-des" @click="goGs1">详情>></span></p> <p class="card-text"><span class="more-des" @click="goGs1">详情>></span></p>
<p class="card-text gsb-btn-cnt row"> <p class="card-text gsb-btn-cnt row">
<el-button type="primary" class="gsbtn col-lg-3" @click="goBmtx">编码体系</el-button> <el-button type="primary" class="gsbtn col-lg-3 " @click="goBmtx">编码体系</el-button>
<el-button type="primary" class="gsbtn col-lg-4" @click="goSjzt">数据载体体系</el-button> <el-button type="primary" class="gsbtn col-lg-4 " @click="goSjzt">数据载体体系</el-button>
<el-button type="primary" class="gsbtn col-lg-4" @click="goSjjh">数据交换体系</el-button> <el-button type="primary" class="gsbtn col-lg-4 " @click="goSjjh">数据交换体系</el-button>
</p> </p>
</div> </div>
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
<div class="col bzwx"> <div class="col bzwx">
<div class="card-body" style="padding-top:31px"> <div class="card-body" style="padding-top:31px">
<p class="card-text row"> <p class="card-text row">
<el-button type="primary" class="cjwtbtn col-lg-4" v-for="(tmp, i) in cjwt" :key="i" @click="cjwtHandelClick(tmp)">{{tmp.name}}</el-button> <el-button type="primary" class="cjwtbtn col-lg-5" v-for="(tmp, i) in cjwt" :key="i" @click="cjwtHandelClick(tmp)">{{tmp.name}}</el-button>
</p> </p>
</div> </div>
</div> </div>
...@@ -663,6 +663,9 @@ export default { ...@@ -663,6 +663,9 @@ export default {
.knowledge-top-form { .knowledge-top-form {
width: 100% !important; width: 100% !important;
} }
.gsbtn {
margin-left: 0!important;
}
} }
@media screen and (max-width: 1401px) { @media screen and (max-width: 1401px) {
.gsbtn { .gsbtn {
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<div class="col-lg-9 " > <div class="col-lg-9 " >
<div class="listStyle"> <div class="listStyle">
<div class="title">欢迎登系统成员服务专区</div> <div class="title">欢迎登系统成员服务专区</div>
<p>本专区面向中国商品条码系统成员开放,专区包括线上咨询、产品管理、共享中心、课程会议及应用市场等功能。</p> <p>本专区面向中国商品条码系统成员开放,专区包括线上咨询、产品管理、共享中心、课程会议及应用市场等功能。</p>
<p>专区功能简单介绍如下:</p> <p>专区功能简单介绍如下:</p>
<p>1. 线上咨询:供系统成员浏览条码常见问题并在线进行提问,问题会有专人进行回复;</p> <p>1. 线上咨询:供系统成员浏览条码常见问题并在线进行提问,问题会有专人进行回复;</p>
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
{{tmp.title}} {{tmp.title}}
</div> </div>
</li> </li>
<li style=" height: 0" v-for="(i,a) in 4" :key="'a'+a"></li> <li style=" height: 0;margin:0" v-for="(i,a) in 4" :key="'a'+a"></li>
</ul> </ul>
<div class="more"><span @click="lookMore">更多></span></div> <div class="more"><span @click="lookMore">更多></span></div>
</div> </div>
...@@ -117,12 +117,19 @@ export default { ...@@ -117,12 +117,19 @@ export default {
.Center { .Center {
@media screen and (min-width: 992px) { @media screen and (min-width: 992px) {
.picNews-ul { .picNews-ul {
justify-content: space-between; justify-content: space-between!important;
} }
} }
@media screen and (max-width: 992px) { @media screen and (max-width: 992px) {
.picNews-ul { .picNews-ul {
justify-content: space-around; justify-content: space-around!important;
}
}
@media screen and (max-width: 1400px) and (min-width: 992px) {
.picNews-ul {
li{
width: 24%!important;
}
} }
} }
} }
......
...@@ -170,6 +170,7 @@ export default { ...@@ -170,6 +170,7 @@ export default {
margin-top: 0; margin-top: 0;
margin-bottom: 1rem; margin-bottom: 1rem;
color: #414345; color: #414345;
word-break: break-all;
} }
.down{ .down{
border: 1px solid #E8DBC1; border: 1px solid #E8DBC1;
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
{{tmp.title}} {{tmp.title}}
</div> </div>
</li> </li>
<li style=" height: 0" v-for="(i,a) in 4" :key="'a'+a"></li> <li style=" height: 0;margin:0" v-for="(i,a) in 4" :key="'a'+a"></li>
</ul> </ul>
<pages :total="tableResult.totalCount" :currPage="tableResult.currPage" :pageSize="tableResult.pageSize" @getLimit='initListFn' /> <pages :total="tableResult.totalCount" :currPage="tableResult.currPage" :pageSize="tableResult.pageSize" @getLimit='initListFn' />
</div> </div>
...@@ -117,12 +117,24 @@ export default { ...@@ -117,12 +117,24 @@ export default {
.picNews { .picNews {
@media screen and (min-width: 992px) { @media screen and (min-width: 992px) {
.picNews-ul { .picNews-ul {
justify-content: space-between; justify-content: space-between!important;
} }
} }
@media screen and (max-width: 992px) { @media screen and (max-width: 992px) {
.picNews-ul { .picNews-ul {
justify-content: space-around; justify-content: space-around!important;
}
}
@media screen and (max-width: 1400px) and (min-width: 992px) {
.picNews-ul {
li{
width: 24%!important;
}
}
}
@media screen and (max-width: 992px) and (min-width: 768px) {
.picNews-ul {
justify-content: flex-start!important;
} }
} }
} }
......
...@@ -26,13 +26,13 @@ ...@@ -26,13 +26,13 @@
商品二维码推广工作组计划组织各地编码分支机构及有意愿、有条件的品牌商、生产商、零售商和系统服务商等相关企业共同参加。 商品二维码推广工作组计划组织各地编码分支机构及有意愿、有条件的品牌商、生产商、零售商和系统服务商等相关企业共同参加。
</p> </p>
<p>联系人:</p> <p>联系人:</p>
<p style="font-size: 12px"> <p style="font-size: 12px" class="div2-name">
李弘凯<i class="bi bi-telephone-fill"></i <span>李弘凯<i class="bi bi-telephone-fill"></i
>010-84295522<i class="bi bi-envelope-fill"></i>lihk@ancc.org.cn&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; >010-84295522<i class="bi bi-envelope-fill"></i>lihk@ancc.org.cn</span>
&nbsp;&nbsp;&nbsp;支俊凯<i class="bi bi-telephone-fill"></i>010-84295518<i <span>支俊凯<i class="bi bi-telephone-fill"></i>010-84295518<i
class="bi bi-envelope-fill" class="bi bi-envelope-fill"
></i ></i
>zhijk@ancc.org.cn >zhijk@ancc.org.cn</span>
</p> </p>
</div> </div>
</div> </div>
...@@ -208,6 +208,7 @@ import VueSlickCarousel from "vue-slick-carousel"; ...@@ -208,6 +208,7 @@ import VueSlickCarousel from "vue-slick-carousel";
import "vue-slick-carousel/dist/vue-slick-carousel.css"; import "vue-slick-carousel/dist/vue-slick-carousel.css";
import "vue-slick-carousel/dist/vue-slick-carousel-theme.css"; import "vue-slick-carousel/dist/vue-slick-carousel-theme.css";
import breadcrumb from "../comps/breadcrumb.vue"; import breadcrumb from "../comps/breadcrumb.vue";
import { Form } from 'element-ui';
export default { export default {
...@@ -295,11 +296,7 @@ export default { ...@@ -295,11 +296,7 @@ export default {
}; };
}, },
mounted() { mounted() {
// 面包屑单独处理
this.$store.commit("system/SET_BREADCRUMB", [
{ name: "应用领域", path: "/News/index" },
{ name: "零售" },
]);
this.getHomeLatestNews(); this.getHomeLatestNews();
this.getHomeGuideList(); this.getHomeGuideList();
this.getQRCodeList(); this.getQRCodeList();
...@@ -307,6 +304,21 @@ export default { ...@@ -307,6 +304,21 @@ export default {
}, },
watch:{
$route: {
handler () {
// 面包屑单独处理
this.$store.commit("system/SET_BREADCRUMB", [
{ name: "应用领域", path: "/News/index" },
{ name: "零售" },
]);
},
}
},
created(){
},
methods: { methods: {
// 初始化图片集 // 初始化图片集
initPicList(){ initPicList(){
...@@ -383,7 +395,7 @@ export default { ...@@ -383,7 +395,7 @@ export default {
async getQRCodeList() { async getQRCodeList() {
const params = { const params = {
page: "1", page: "1",
size: '9', size: '7',
}; };
const listRes = await this.$api.sell.getQRCodeList(params); const listRes = await this.$api.sell.getQRCodeList(params);
const { returnCode, data } = listRes; const { returnCode, data } = listRes;
...@@ -493,6 +505,9 @@ export default { ...@@ -493,6 +505,9 @@ export default {
font-size: 14px; font-size: 14px;
color: #414345; color: #414345;
line-height: 40px; line-height: 40px;
@media screen and (max-width: 992px) {
margin: 0 6px;
}
} }
img { img {
width: 100%; width: 100%;
...@@ -507,6 +522,11 @@ export default { ...@@ -507,6 +522,11 @@ export default {
font-size: 14px; font-size: 14px;
font-family: MicrosoftYaHei; font-family: MicrosoftYaHei;
color: #F05587; color: #F05587;
@media screen and (max-width: 992px) {
flex-wrap: wrap;
padding: 0 6px;
padding-top: 20px;
}
li{ li{
cursor: pointer; cursor: pointer;
.list_icon{ .list_icon{
...@@ -559,12 +579,28 @@ export default { ...@@ -559,12 +579,28 @@ export default {
i { i {
margin: 0 9px 0 20px; margin: 0 9px 0 20px;
} }
.div2-name{
padding-right: 5%;
display: flex;
justify-content: space-between;
@media screen and (max-width: 992px) {
flex-wrap: wrap;
}
}
} }
} }
} }
.div4 { .div4 {
margin-bottom: 30px; margin-bottom: 30px;
.row{
div:nth-child(2){
@media screen and (max-width: 992px) {
margin-top: 30px;
}
}
}
.list-style { .list-style {
min-height: 100%; min-height: 100%;
background: #fff; background: #fff;
...@@ -662,10 +698,10 @@ export default { ...@@ -662,10 +698,10 @@ export default {
} }
.banner { .banner {
height: 420px; height: 320px;
.banner-item { .banner-item {
width: 100%; width: 100%;
height: 420px; height: 320px;
position: relative; position: relative;
.banner-bg { .banner-bg {
...@@ -680,6 +716,11 @@ export default { ...@@ -680,6 +716,11 @@ export default {
margin-top: -30px; margin-top: -30px;
color: #fff; color: #fff;
font-size: 12px; font-size: 12px;
white-space: nowrap;
text-overflow:ellipsis;
overflow:hidden;
width: 90%;
margin-left: 5%;
} }
} }
} }
...@@ -743,7 +784,7 @@ export default { ...@@ -743,7 +784,7 @@ export default {
bottom: 0; bottom: 0;
} }
img{ img{
height: 411px; height: 311px;
background: url('../../assets/image/news/ls4.png') 100% 100%; background: url('../../assets/image/news/ls4.png') 100% 100%;
} }
} }
......
...@@ -626,6 +626,11 @@ export default { ...@@ -626,6 +626,11 @@ export default {
.tpzx-ul { .tpzx-ul {
justify-content: space-around; justify-content: space-around;
} }
.four-ul {
li {
width: 100%;
}
}
} }
} }
</style> </style>
......
...@@ -346,6 +346,7 @@ export default { ...@@ -346,6 +346,7 @@ export default {
} }
.msg-text { .msg-text {
p{ p{
word-break: break-all;
img{ img{
margin-left: -28px; margin-left: -28px;
max-width: 100%; max-width: 100%;
......
...@@ -115,7 +115,7 @@ ...@@ -115,7 +115,7 @@
</p> </p>
</div> </div>
<div class="nsjg"> <div class="nsjg">
<Title :father="site.title11"></Title> <Title :father="site.title11" ref="1-11"></Title>
<p> <p>
全球产品电子代码中国管理中心(EPCglobal 全球产品电子代码中国管理中心(EPCglobal
China)作为EPCglobal在中国大陆地区的唯一组织成员,负责中国范围内产品电子代码的注册、管理和标准化工作,推广EPC系统,提供技术支持和培训产品电子代码系统用户。EPCglobal China)作为EPCglobal在中国大陆地区的唯一组织成员,负责中国范围内产品电子代码的注册、管理和标准化工作,推广EPC系统,提供技术支持和培训产品电子代码系统用户。EPCglobal
......
<template> <template>
<div class="fqtable"> <div class="fqtable">
<div class="row fqthead"> <div class="row fqthead">
<div class="col-lg-2">序号</div> <div class="" style="width:10%;text-align:center">序号</div>
<div class="col-lg-3">文件编号</div> <div class="" style="width:37.5%;text-align:center">文件编号</div>
<div class="col-lg-5">文件名称</div> <div class="" style="width:37.5%;text-align:center">文件名称</div>
<div class="col-lg-2">列编时间</div> <div class="" style="width:15%;text-align:center">列编时间</div>
</div> </div>
<div class="fqtbody"> <div class="fqtbody">
<div class="row" v-for="(tmp, i) in list" :key="i"> <div class="row fqthead" v-for="(tmp, i) in list" :key="i">
<div class="col-lg-2">{{ i + 1 }}</div> <div class="" style="width:10%;text-align:center">{{ i + 1 }}</div>
<div class="col-lg-3">{{tmp.number}}</div> <div class="" style="width:37.5%;text-align:center">{{tmp.number}}</div>
<div class="col-lg-5">{{tmp.name}}</div> <div class="" style="width:37.5%;text-align:center">{{tmp.name}}</div>
<div class="col-lg-2">{{tmp.time}}</div> <div class="" style="width:15%;text-align:center">{{tmp.time}}</div>
</div> </div>
</div> </div>
</div> </div>
...@@ -28,6 +28,7 @@ export default { ...@@ -28,6 +28,7 @@ export default {
border-radius: 4px; border-radius: 4px;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between;
margin: 0; margin: 0;
padding: 10px 0; padding: 10px 0;
border-bottom: 1px solid #e9e9e9; border-bottom: 1px solid #e9e9e9;
...@@ -52,6 +53,11 @@ export default { ...@@ -52,6 +53,11 @@ export default {
&:nth-child(odd) { &:nth-child(odd) {
background: rgba(242, 99, 53, 0.04); background: rgba(242, 99, 53, 0.04);
} }
div{
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
} }
} }
} }
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
v-model="search.pack" v-model="search.pack"
class="w160" class="w160"
@input="handlePackChange" @input="handlePackChange"
oninput="value=value.replace(/[^\d.]/g,'')"
></el-input> ></el-input>
<span>(备注:单品为0)</span> <span>(备注:单品为0)</span>
</el-form-item> </el-form-item>
...@@ -17,6 +18,7 @@ ...@@ -17,6 +18,7 @@
<el-input <el-input
v-model="search.code" v-model="search.code"
class="w160" class="w160"
maxlength="12"
@input="handleCodeChange" @input="handleCodeChange"
></el-input> ></el-input>
</el-form-item> </el-form-item>
...@@ -64,6 +66,17 @@ export default { ...@@ -64,6 +66,17 @@ export default {
result: null, result: null,
}; };
}, },
watch:{
'search.code': {
handler(newVal, oldVal) {
if(newVal.length==0){
this.search.result=''
}
},
deep: true,
immediate: true
}
},
methods: { methods: {
handleCodeChange() { handleCodeChange() {
if (this.search.code.length === 13) { if (this.search.code.length === 13) {
......
...@@ -125,9 +125,14 @@ export default { ...@@ -125,9 +125,14 @@ export default {
}); });
}, },
hasSpecialString(string){ hasSpecialString(string){
const regName =/^[\u4e00-\u9fa5_a-zA-Z0-9]+$/; // const regName =/^[\u4e00-\u9fa5_a-zA-Z0-9]+$/;
// if(!regName.test(string)){
// this.$message.error('查询值只能包含中英文字符和数字!');
// return true;
// }
const regName =/^[0-9]*[1-9][0-9]*$/;
if(!regName.test(string)){ if(!regName.test(string)){
this.$message.error('查询值只能包含中英文字符和数字!'); this.$message.error('查询值只能数字!');
return true; return true;
} }
return false return false
...@@ -139,7 +144,7 @@ export default { ...@@ -139,7 +144,7 @@ export default {
} }
this.showResult = true; this.showResult = true;
const params = {...this.search}; const params = {...this.search};
const searchGlnRes = await this.$api.search.searchGln(params); const searchGlnRes = await this.$api.search.searchCodeGln(params);
const {returnCode, data} = searchGlnRes; const {returnCode, data} = searchGlnRes;
console.log(searchGlnRes) console.log(searchGlnRes)
console.log(data) console.log(data)
......
...@@ -55,8 +55,30 @@ export default { ...@@ -55,8 +55,30 @@ export default {
}, },
}; };
</script> </script>
<style lang="scss" scoped>
@media screen and (max-width: 1200px) and (min-width: 992px) {
.tool-card {
width: 23%!important;
}
}
@media screen and (max-width: 992px) {
.search-tools_s
{
.tools-wrapper{
justify-content: center!important;
.tool-card {
width: 100%;
height: auto;
.tool-img {
height: auto;
}
}
}
}
}
</style>
<style lang="scss" >
<style lang="scss">
.search-tools_s { .search-tools_s {
min-height: 100%; min-height: 100%;
...@@ -68,10 +90,11 @@ export default { ...@@ -68,10 +90,11 @@ export default {
line-height: 25px; line-height: 25px;
margin-bottom: 30px; margin-bottom: 30px;
} }
.tools-wrapper { .tools-wrapper {
min-height: 100%; min-height: 100%;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
.tool-card { .tool-card {
cursor: pointer; cursor: pointer;
width: 194px; width: 194px;
...@@ -80,7 +103,7 @@ export default { ...@@ -80,7 +103,7 @@ export default {
border-radius: 4px; border-radius: 4px;
border: 1px solid rgba(197, 216, 238, 0.5); border: 1px solid rgba(197, 216, 238, 0.5);
float: left; float: left;
margin-right: 30px; // margin-right: 30px;
margin-bottom: 30px; margin-bottom: 30px;
transition-duration: 0.2s; transition-duration: 0.2s;
transition-timing-function: ease; transition-timing-function: ease;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
{{tmp.title}} {{tmp.title}}
</div> </div>
</li> </li>
<li style=" height: 0" v-for="(i,a) in 4" :key="'a'+a"></li> <li style=" height: 0;margin:0" v-for="(i,a) in 4" :key="'a'+a"></li>
</ul> </ul>
<pages :total="tableResult.totalCount" :currPage="tableResult.currPage" :pageSize="tableResult.pageSize" @getLimit='initListFn' /> <pages :total="tableResult.totalCount" :currPage="tableResult.currPage" :pageSize="tableResult.pageSize" @getLimit='initListFn' />
</div> </div>
...@@ -103,7 +103,7 @@ export default { ...@@ -103,7 +103,7 @@ export default {
} }
@media screen and (max-width: 992px) { @media screen and (max-width: 992px) {
.picNews-ul { .picNews-ul {
justify-content: space-around; justify-content: space-around!important;
} }
} }
} }
......
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
<li v-for="(tmp, i) in list" :key="i" @click="handelJumpMsg(tmp)"> <li v-for="(tmp, i) in list" :key="i" @click="handelJumpMsg(tmp)">
<a> {{ tmp.title }}</a> <a> {{ tmp.title }}</a>
</li> </li>
<p v-if="list.length==0"> 没有可显示的内容!</p>
</ul> </ul>
<pages <pages
:currPage="pageParams.currPage" :currPage="pageParams.currPage"
......
...@@ -106,6 +106,15 @@ export default { ...@@ -106,6 +106,15 @@ export default {
img { img {
max-width: 95%; max-width: 95%;
} }
ul{
display: inline-block;
// width: 90%;
// margin-left: 10%;
padding-left: 50px;
p{
// text-indent: 0;
}
}
} }
} }
</style> </style>
...@@ -158,7 +158,8 @@ export default { ...@@ -158,7 +158,8 @@ export default {
}, },
async getBooks(page = 1) { async getBooks(page = 1) {
const res = await this.$api.service.getCodeBook({page: page, size: this.page.pageSize,id:Number(this.id)})
const res = await this.$api.service.getCodeBook({page: page, size: this.page.pageSize,id:this.id})
const {returnCode, data} = res; const {returnCode, data} = res;
if (returnCode === "0") { if (returnCode === "0") {
this.bookList = data.list this.bookList = data.list
......
src/views/User/img/logo.png

3 KB | W: | H:

src/views/User/img/logo.png

6 KB | W: | H:

src/views/User/img/logo.png
src/views/User/img/logo.png
src/views/User/img/logo.png
src/views/User/img/logo.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -3,11 +3,13 @@ ...@@ -3,11 +3,13 @@
<div class="gs-entry"> <div class="gs-entry">
<div class="header"> <div class="header">
<div class="content"> <div class="content">
<img @click="$router.push({path:'/'})" src="./img/logo.png" alt=""> <!-- <img @click="$router.push({path:'/'})" src="./img/logo.png" alt=""> -->
</div> </div>
</div> </div>
<div class="body"> <div class="body">
<div class="content"> <div class="content">
<img @click="$router.push({path:'/'})" src="./img/logo.png" alt="" class="logoCss">
<component v-bind:is="component"></component> <component v-bind:is="component"></component>
</div> </div>
<div class="bottom"> <div class="bottom">
...@@ -69,7 +71,7 @@ export default { ...@@ -69,7 +71,7 @@ export default {
.header { .header {
display: flex; display: flex;
flex: 0 0 112px; flex: 0 0 100px;
justify-content: center; justify-content: center;
//padding-top: 58px; //padding-top: 58px;
width: 100%; width: 100%;
...@@ -86,11 +88,21 @@ export default { ...@@ -86,11 +88,21 @@ export default {
max-width: 1500px; max-width: 1500px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
.content { .content {
flex: 1 1 auto; flex: 1 1 auto;
padding-top: 148px; padding-top: 108px;
text-align: center; text-align: center;
background: #fff;
position: relative;
.logoCss{
width: 93px;
height: 58px;
position:absolute;
top: 50px;
left: 50px;
}
} }
.bottom { .bottom {
...@@ -150,7 +162,7 @@ export default { ...@@ -150,7 +162,7 @@ export default {
.body { .body {
.content { .content {
padding-top: 30px; // padding-top: 30px;
} }
} }
} }
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
:page-size="pageSize" :page-size="pageSize"
:current-page="currPage" :current-page="currPage"
layout="prev, pager, next" layout="prev, pager, next"
:pager-count="5"
:total="total" :total="total"
@current-change="goPage" @current-change="goPage"
background background
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
:page-size="pageSize" :page-size="pageSize"
:current-page="currPage" :current-page="currPage"
layout="prev, pager, next" layout="prev, pager, next"
:pager-count="5"
:total="total" :total="total"
@size-change="changeSize" @size-change="changeSize"
@current-change="goPage" @current-change="goPage"
......
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