Commit db895a67 by tang

Merge remote-tracking branch 'origin/master'

# Conflicts:
#	src/views/Home/index.vue
parents 28ead92d 4b78567a
......@@ -17,6 +17,12 @@ const businessGetTop4 = (params = {}) => {
return POST(`${Prefix}/office/policy/api/getTop4`, params)
}
// 右侧条码公告前四条数据
const businessGetEanUpcTop4 = (params = {}) => {
return POST(`${Prefix}/office/eanupc/api/getEanUpcTop4`, params)
}
// 条码注册/注销公告
const businessGetEanUpcByCondition = (params = {}) => {
return POST(`${Prefix}/office/eanupc/api/getEanUpcByCondition`, params)
......@@ -45,6 +51,7 @@ const businessGetFaqById = (params = {}) => {
export default {
businessDownLoad,
businessGetTop4,
businessGetEanUpcTop4,
businessGetEanUpcByCondition,
businessGetDetailById,
businessGetPlanBranchList,
......
......@@ -2,11 +2,11 @@
<div class="foot">
<div class="container">
<div class="link">
<div>国家市场监督管理总局</div>
<div>国家标准化管理委员会</div>
<div>地方编码分支机构</div>
<div>国际物品编码组织(GS1)</div>
<div>国际物品编码组织(GS1)成员网站</div>
<div><a href="https://www.samr.gov.cn/">国家市场监督管理总局</a></div>
<div><a href="http://www.sac.gov.cn/">国家标准化管理委员会</a></div>
<div><a href="/Org/Branch">地方编码分支机构</a></div>
<div><a href="https://www.gs1.org/">国际物品编码组织(GS1)</a></div>
<div><a href="/Org/GS1Members">国际物品编码组织(GS1)成员网站</a></div>
</div>
<div class="foot-line"></div>
<div class="row foot-bottom">
......@@ -16,7 +16,14 @@
<div>咨询电话:400-7000-690</div>
</div>
<div class="beian">
<div>京ICP备11036137号-10</div><span>|</span><div><img src="../../assets/image/foot/beian.png" alt="" />京公网安备11010102001434号</div>
<div>京ICP备11036137号-10</div>
<span>|</span>
<div>
<img
src="../../assets/image/foot/beian.png"
alt=""
/>京公网安备11010102001434号
</div>
</div>
<div class="address">
地址:北京市东城区安定门外大街138号皇城国际大厦座3-6层<span>|</span>邮编:100011
......@@ -57,26 +64,26 @@ export default {
<style lang="scss">
@media screen and (max-width: 992px) {
.foot{
.link{
div{
.foot {
.link {
div {
width: 100%;
text-align: center;
}
}
.foot-bottom{
div{
.foot-bottom {
div {
font-size: 12px !important;
}
}
.copright{
div{
.copright {
div {
width: 100%;
text-align: center;
}
}
.beian{
span{
.beian {
span {
padding: 0 8px !important;
}
}
......@@ -106,8 +113,11 @@ export default {
padding: 22px 0;
div {
line-height: 30px;
color: #0e2c6b;
font-size: 14px;
a {
color: #0e2c6b;
font-size: 14px;
}
// font-family: PingFangSC-Regular, PingFang SC;
}
}
......@@ -117,7 +127,6 @@ export default {
display: flex;
flex-direction: column;
justify-content: center;
}
.copright {
display: flex;
......@@ -130,11 +139,11 @@ export default {
}
}
}
.beian{
.beian {
display: flex;
justify-content: center;
align-items: center;
span{
span {
padding: 0 20px;
}
}
......
......@@ -386,7 +386,7 @@ export const nav = [
link: "/Business/Guide5",
breadcrumb: [
{ name: "业务大厅", path: "/Business" },
{ name: "操作指南", path: "/Business/Guide" },
{ name: "我是系统成员", path: "/Business/Register" },
{ name: "我要培训——现场培训/线上培训" },
],
},
......@@ -394,10 +394,10 @@ export const nav = [
id: uuid("gs_nav"),
name: "我要续展",
index: 2,
link: "/Business/Guide6",
link: "/Business/Renewal",
breadcrumb: [
{ name: "业务大厅", path: "/Business" },
{ name: "操作指南", path: "/Business/Guide" },
{ name: "我是系统成员", path: "/Business/Register" },
{ name: "我要续展" },
],
},
......@@ -412,7 +412,7 @@ export const nav = [
breadcrumb: [
{ name: "业务大厅", path: "/Business" },
{ name: "我是系统成员", path: "/Business/Register" },
// { name: "我要编码", path: "/Business/Code1?id=1-1" },
{ name: "我要编码", path: "/Business/Code1?id=1-1" },
{ name: "零售商品" },
],
},
......@@ -488,7 +488,7 @@ export const nav = [
breadcrumb: [
{ name: "业务大厅", path: "/Business" },
{ name: "我是系统成员", path: "/Business/Register" },
// { name: "我要编码", path: "/Business/Code1?id=1-1" },
{ name: "我要编码", path: "/Business/Code1?id=1-1" },
{ name: "非零售商品" },
],
},
......@@ -501,7 +501,7 @@ export const nav = [
breadcrumb: [
{ name: "业务大厅", path: "/Business" },
{ name: "我是系统成员", path: "/Business/Register" },
// { name: "我要编码", path: "/Business/Code1?id=1-1" },
{ name: "我要编码", path: "/Business/Code1?id=1-1" },
{ name: "物流单元" },
],
},
......
......@@ -112,9 +112,10 @@ export default {
},
methods: {
ckxqJump() {
this.$router.push({
path: '/Knowledge/xts'
})
window.open('/Knowledge/xts', '_blank');
// this.$router.push({
// path: '/Knowledge/xts'
// })
}
},
};
......
......@@ -51,7 +51,8 @@
>{{msg.logoutFlag}}</span>
</td>
</tr>
<!-- <tr v-if="this.$route.query.id === 'zhuxiao'">
<!-- <tr v-if="this.$route.query.type === 'zhuxiao'">
<th>注销时间:</th>
<td>
<span
......@@ -127,11 +128,11 @@ export default {
vertical-align: top;
border-top: 1px solid #dddddd;
}
&:nth-child(odd) {
td {
border-bottom: 0;
}
}
// &:nth-child(odd) {
// td {
// border-bottom: 0;
// }
// }
}
}
}
......
......@@ -3,7 +3,14 @@
<cate :father="dffzjgCate"></cate>
<div class="container">
<div class="row dffzjg-ul">
<div class="col-auto" v-for="(tmp, i) in 20" :key="i">北京{{i}}</div>
<div
class="col-auto"
v-for="(tmp, i) in list"
:key="i"
@click="openMsg(tmp.branchCode)"
>
{{ tmp.name }}
</div>
</div>
</div>
</div>
......@@ -21,17 +28,225 @@ export default {
name: "地方分支机构",
ico: require("../../../assets/image/business/icon_jigou.png"),
},
list: [
{
name: "北京",
branchCode: "1105",
},
{
name: "天津",
branchCode: "1201",
},
{
name: "河北",
branchCode: "1301",
},
{
name: "山西",
branchCode: "1405",
},
{
name: "内蒙古",
branchCode: "1505",
},
{
name: "辽宁",
branchCode: "2101",
},
{
name: "沈阳",
branchCode: "2105",
},
{
name: "大连",
branchCode: "2106",
},
{
name: "吉林",
branchCode: "2201",
},
{
name: "长春",
branchCode: "2205",
},
{
name: "黑龙江",
branchCode: "2301",
},
{
name: "哈尔滨",
branchCode: "",
},
{
name: "上海",
branchCode: "3101",
},
{
name: "江苏",
branchCode: "3201",
},
{
name: "南京办事处",
branchCode: "3205",
},
{
name: "浙江",
branchCode: "3301",
},
{
name: "杭州",
branchCode: "3302",
},
{
name: "宁波",
branchCode: "3302",
},
{
name: "安徽",
branchCode: "3405",
},
{
name: "福建",
branchCode: "3501",
},
{
name: "厦门办事处",
branchCode: "3505",
},
{
name: "江西",
branchCode: "3605",
},
{
name: "山东",
branchCode: "3701",
},
{
name: "青岛办事处",
branchCode: "3705",
},
{
name: "烟台办事处",
branchCode: "3706",
},
{
name: "河南",
branchCode: "4101",
},
{
name: "湖北",
branchCode: "4201",
},
{
name: "武汉",
branchCode: "4202",
},
{
name: "湖南",
branchCode: "4305",
},
{
name: "广东",
branchCode: "4401",
},
{
name: "深圳",
branchCode: "4402",
},
{
name: "广州",
branchCode: "4404",
},
{
name: "珠海",
branchCode: "4405",
},
{
name: "广西",
branchCode: "4505",
},
{
name: "海南",
branchCode: "4605",
},
{
name: "四川",
branchCode: "5101",
},
{
name: "成都办事处",
branchCode: "5105",
},
{
name: "重庆",
branchCode: "5106",
},
{
name: "贵州",
branchCode: "5205",
},
{
name: "云南",
branchCode: "5305",
},
{
name: "西藏",
branchCode: "5405",
},
{
name: "陕西",
branchCode: "6106",
},
{
name: "西安",
branchCode: "6107",
},
{
name: "甘肃",
branchCode: "6201",
},
{
name: "青海",
branchCode: "6305",
},
{
name: "宁夏",
branchCode: "6405",
},
{
name: "新疆",
branchCode: "6501",
},
],
};
},
methods: {
openMsg(branchCode) {
let routeData = this.$router.resolve({
path: '/Org/BranchMsg',
query: {
branchCode,
},
});
window.open(routeData.href, "_blank");
// this.$router.push({
// path: "/Org/BranchMsg",
// query: {
// branchCode,
// },
// });
},
},
};
</script>
<style lang="scss">
.dffzjg {
@include module-box;
.dffzjg-ul {
padding: 10px 0;
div{
margin: 5px 0;
padding: 10px 0;
div {
margin: 5px 0;
cursor: pointer;
}
}
}
......
......@@ -2,12 +2,12 @@
<div class="tmgg">
<cate :father="tmggCate"></cate>
<div class="container">
<ul class="tmgg-ul">
<li v-for="(tmp, i) in list" :key="i">
<span>{{tmp.name}}</span>
<span>{{tmp.content}}</span>
</li>
</ul>
<ul class="tmgg-ul">
<li v-for="(tmp, i) in list" :key="i" @click="openMsg(tmp)">
<span>{{ tmp.logoutFlag === '0' ? '注销' : '注册' }}</span>
<span>{{ tmp.firmName }}</span>
</li>
</ul>
</div>
</div>
</template>
......@@ -25,52 +25,68 @@ export default {
ico: require("../../../assets/image/business/icon_gonggao.png"),
},
list: [
{
type: 'zhuce',
name: '注册',
content: '武隆区陈氏面条加工坊'
},
{
type: 'zhuce',
name: '注册',
content: '重庆功存科技有限公司'
},
{
type: 'zhuxiao',
name: '注销',
content: '杭州瀚扬科技有限公司'
},
{
type: 'zhuxiao',
name: '注销',
content: '贵州国伟自由行智能科技有限公司'
}
]
],
};
},
created() {
this.getEanUpcTop4();
},
methods: {
// 条码公告前四条数据
async getEanUpcTop4() {
// console.log(params, "params");
const businessGetEanUpcTop4Res =
await this.$api.business.businessGetEanUpcTop4();
const { success, data } = businessGetEanUpcTop4Res;
if (success) {
console.log(businessGetEanUpcTop4Res, "条码公告前四条数据");
this.list = data;
}
},
openMsg(tmp) {
console.log(tmp, 'openMsg');
let type;
if (tmp.logoutFlag === "0") {
type = "zhuxiao";
} else {
type = "zhuce";
}
let routeData = this.$router.resolve({
path: "/Business/Notice/Msg",
query: {
type,
fId: tmp.fid,
code: tmp.code,
},
});
window.open(routeData.href, "_blank");
},
},
};
</script>
<style lang="scss">
.tmgg {
@include module-box;
.tmgg-ul{
.tmgg-ul {
padding: 10px 0;
margin: 0;
li {
font-size: 14px;
display: flex;
align-items: center;
padding: 10px 0;
margin: 0;
li{
font-size: 14px;
display: flex;
align-items: center;
padding: 10px 0;
span{
&:nth-child(1){
color: rgba(0, 121, 158, 1);
}
&:nth-child(2){
flex: 1;
@include ellipsis;
}
}
cursor: pointer;
span {
&:nth-child(1) {
color: rgba(0, 121, 158, 1);
}
&:nth-child(2) {
flex: 1;
@include ellipsis;
}
}
}
}
}
</style>
......@@ -3,7 +3,7 @@
<cate :father="zcfgCate"></cate>
<div class="container">
<ul class="zcfg-ul">
<li v-for="(tmp, i) in list" :key="i">
<li v-for="(tmp, i) in list" :key="i" @click="openMsg(tmp.id)">
<span>{{tmp.title}}</span>
</li>
</ul>
......@@ -40,6 +40,15 @@ export default {
}
console.log(businessGetTop4Res, "右侧政策法规前四条数据");
},
openMsg(id) {
let routeData = this.$router.resolve({
path: '/Knowledge/Statuteinfo',
query: {
id,
},
});
window.open(routeData.href, "_blank");
},
},
};
</script>
......@@ -54,6 +63,7 @@ export default {
display: flex;
align-items: center;
padding: 10px 0;
cursor: pointer;
span {
&:nth-child(1) {
flex: 1;
......
......@@ -13,11 +13,11 @@
{{ el.brief }}
</p>
<button
:class="['carousel-btn', el.colorMore]"
@click="learnMore(i)"
:class="['carousel-btn', el.colorMore]"
@click="learnMore(i)"
>
<span>了解更多</span
><img src="../../assets/image/home/more-arrow.png" alt=""/>
><img src="../../assets/image/home/more-arrow.png" alt="" />
</button>
</div>
</div>
......@@ -26,7 +26,7 @@
<!-- <img :src="el.picIndexPath" alt="" class="container"/>-->
<!-- </div>-->
<div class="banner-bg">
<img :src="el.picIndexPath" alt=""/>
<img :src="el.picIndexPath" alt="" />
</div>
</div>
</div>
......@@ -58,7 +58,9 @@
v-for="el in newsBanner"
:key="el.id"
>
<img :src="el.picFile" alt="..." class="newsBanner-tp"/>
<a :href="el.jumppath" target="_blank"
><img :src="el.picFile" alt="..." class="newsBanner-tp"
/></a>
</div>
</VueSlickCarousel>
<VueSlickCarousel
......@@ -74,7 +76,7 @@
:key="el.id"
>
<div class="newsBanner-title" :title="el.title">
{{ el.title }}
<a :href="el.jumppath" target="_blank">{{ el.title }}</a>
</div>
</div>
<template #prevArrow>
......@@ -89,21 +91,21 @@
<div class="col-lg-6">
<ul class="nav nav-tabs tabs1" id="myTab" role="tablist">
<li
class="nav-item"
role="presentation"
v-for="(tmp, i) in news"
:key="i"
@click="handelNewsTab(i)"
class="nav-item"
role="presentation"
v-for="(tmp, i) in news"
:key="i"
@click="handelNewsTab(i)"
>
<button
:class="['nav-link', { active: i === 0 }]"
:id="tmp.type + '-tab'"
data-bs-toggle="tab"
:data-bs-target="'#' + tmp.type"
type="button"
role="tab"
:aria-controls="tmp.type"
aria-selected="true"
:class="['nav-link', { active: i === 0 }]"
:id="tmp.type + '-tab'"
data-bs-toggle="tab"
:data-bs-target="'#' + tmp.type"
type="button"
role="tab"
:aria-controls="tmp.type"
aria-selected="true"
>
<span>{{ tmp.name }}</span>
</button>
......@@ -111,11 +113,11 @@
</ul>
<div class="tab-content marginTop10">
<div
class="tab-pane fade show active"
role="tabpanel"
aria-labelledby="yaowen-tab"
class="tab-pane fade show active"
role="tabpanel"
aria-labelledby="yaowen-tab"
>
<list :list="news[0].data"/>
<list :list="news[0].data" />
</div>
</div>
</div>
......@@ -139,13 +141,13 @@
</button>
<div class="row ywdt-kj whbsxtcy-row">
<div
class="col-6"
v-for="(tmp, i) in whbsxtcy"
:key="i"
@click="whbsxtcyHandelClick(i)"
class="col-6"
v-for="(tmp, i) in whbsxtcy"
:key="i"
@click="whbsxtcyHandelClick(i)"
>
<div class="ywdt-tp">
<img :src="tmp.ico" alt=""/>
<img :src="tmp.ico" alt="" />
</div>
<div class="ywdt-bt">{{ tmp.name }}</div>
</div>
......@@ -158,13 +160,13 @@
</div>
<div class="row ywdt-kj wsxtcy-row">
<div
class="col-6"
v-for="(tmp, i) in wsxtcy"
:key="i"
@click="wsxtcyHandelClick(i)"
class="col-6"
v-for="(tmp, i) in wsxtcy"
:key="i"
@click="wsxtcyHandelClick(i)"
>
<div class="ywdt-tp">
<img :src="tmp.ico" alt=""/>
<img :src="tmp.ico" alt="" />
</div>
<div class="ywdt-bt">{{ tmp.name }}</div>
</div>
......@@ -178,13 +180,13 @@
</div>
<div class="row ywdt-kj wsylqy-row">
<div
class="col-6"
v-for="(tmp, i) in wsylqy"
:key="i"
@click="wsylqyHandelClick(i)"
class="col-6"
v-for="(tmp, i) in wsylqy"
:key="i"
@click="wsylqyHandelClick(i)"
>
<div class="ywdt-tp">
<img :src="tmp.ico" alt=""/>
<img :src="tmp.ico" alt="" />
</div>
<div class="ywdt-bt">{{ tmp.name }}</div>
</div>
......@@ -196,21 +198,19 @@
</div>
<div class="row ywdt-kj kjywblzq-row" v-if="false">
<div
class="col-6"
v-for="(tmp, i) in kjywblzq"
:key="i"
@click="kjywblzqHandelClick(i)"
class="col-6"
v-for="(tmp, i) in kjywblzq"
:key="i"
@click="kjywblzqHandelClick(i)"
>
<div class="ywdt-tp">
<img :src="tmp.ico" alt=""/>
<img :src="tmp.ico" alt="" />
</div>
<div class="ywdt-bt">{{ tmp.name }}</div>
</div>
</div>
<div class="row ywdt-kj kjywblzq-row">
<div
class="kjywblzq-col"
>
<div class="kjywblzq-col">
<div class="ywdt-bt">跨境业务办理(GLN/LEI/其他)</div>
</div>
</div>
......@@ -225,14 +225,14 @@
<div class="row">
<template v-for="(tmp, i) in dzfw">
<div
class="col-6 col-lg-4 dzfw-li"
:key="i"
v-if="tmp.isChecked"
@click="dzfwHandelClick(i)"
class="col-6 col-lg-4 dzfw-li"
:key="i"
v-if="tmp.isChecked"
@click="dzfwHandelClick(i)"
>
<div class="dzfw-border">
<div class="dzfw-tp">
<img :src="tmp.ico" alt=""/>
<img :src="tmp.ico" alt="" />
</div>
<div class="dzfw-bt">{{ tmp.name }}</div>
</div>
......@@ -248,28 +248,28 @@
<ul class="nav nav-tabs tabs2 row" id="myTab" role="tablist">
<li class="nav-item col-lg-2" role="presentation">
<button
class="nav-link active"
id="home-tab"
data-bs-toggle="tab"
data-bs-target="#csxx"
type="button"
role="tab"
aria-controls="home"
aria-selected="true"
class="nav-link active"
id="home-tab"
data-bs-toggle="tab"
data-bs-target="#csxx"
type="button"
role="tab"
aria-controls="home"
aria-selected="true"
>
<span>厂商信息</span>
</button>
</li>
<li class="nav-item col-lg-2" role="presentation">
<button
class="nav-link"
id="profile-tab"
data-bs-toggle="tab"
data-bs-target="#cpxx"
type="button"
role="tab"
aria-controls="profile"
aria-selected="false"
class="nav-link"
id="profile-tab"
data-bs-toggle="tab"
data-bs-target="#cpxx"
type="button"
role="tab"
aria-controls="profile"
aria-selected="false"
>
<span>产品信息</span>
</button>
......@@ -277,34 +277,34 @@
</ul>
<div class="tab-content" id="myTabContent">
<div
class="tab-pane fade show active"
id="csxx"
role="tabpanel"
aria-labelledby="home-tab"
class="tab-pane fade show active"
id="csxx"
role="tabpanel"
aria-labelledby="home-tab"
>
<div class="chaxun">
<div class="chaxun-kj">
<div class="row">
<div class="col-lg-2 chaxun-left">
<el-select
v-model="chaxun.type"
placeholder="请选择"
clearable
v-model="chaxun.type"
placeholder="请选择"
clearable
>
<el-option
v-for="(item, i) in chaxun.options"
:key="i"
:label="item.label"
:value="item.value"
v-for="(item, i) in chaxun.options"
:key="i"
:label="item.label"
:value="item.value"
>
</el-option>
</el-select>
</div>
<div class="col-lg-7 chaxun-middle">
<el-input
placeholder="请输入厂商名称"
v-model="chaxun.keywords"
clearable
placeholder="请输入厂商名称"
v-model="chaxun.keywords"
clearable
>
</el-input>
</div>
......@@ -316,10 +316,10 @@
</div>
</div>
<div
class="tab-pane fade"
id="cpxx"
role="tabpanel"
aria-labelledby="profile-tab"
class="tab-pane fade"
id="cpxx"
role="tabpanel"
aria-labelledby="profile-tab"
>
<div class="chaxun">
<div class="chaxun-kj">
......@@ -360,9 +360,9 @@
<div class="spqqsfz-cate">
<div class="spqqsfz-cate-left">商品全球身份证</div>
<div
class="spqqsfz-cate-right"
@click="spqqsfzHandelClick"
v-if="false"
class="spqqsfz-cate-right"
@click="spqqsfzHandelClick"
v-if="false"
>
更多>
</div>
......@@ -370,7 +370,7 @@
<div class="spqqsfz-cont row">
<div class="spqqsfz-cont-left col-lg-2">
<div class="spqqsfz-cont-left-tp">
<img :src="spqqsfz.surl" alt=""/>
<img :src="spqqsfz.surl" alt="" />
</div>
</div>
<div class="spqqsfz-cont-right col-lg-10">
......@@ -394,7 +394,7 @@
<div class="col offset-2 offset-lg-3">
<button class="spqqsfz-btn blue" @click="spqqsfzHandelClick">
<span>更多商品信息</span
><img src="../../assets/image/home/more-arrow.png" alt=""/>
><img src="../../assets/image/home/more-arrow.png" alt="" />
</button>
</div>
</div>
......@@ -413,56 +413,56 @@
<div class="home-bottom-cate">党建文化</div>
<div class="djwh-tp">
<a href="/djwh" target="blank"
><img
><img
src="../../assets/image/home/dangjianwenhua.png"
alt=""
/></a>
</div>
<list2 :list="djwh.data"/>
<list2 :list="djwh.data" />
</div>
<div class="ztjj">
<div class="home-bottom-cate">专题聚焦</div>
<div class="djwh-tp">
<a href="/News/DepthTopics" target="blank"
><img
><img
src="../../assets/image/home/zhuantijujiao.png"
alt=""
/></a>
</div>
<list2 :list="ztjj.data"/>
<list2 :list="ztjj.data" />
</div>
<div class="yyly">
<div class="home-bottom-cate">应用领域</div>
<yylyList :list="yyly.data"/>
<yylyList :list="yyly.data" />
</div>
<div class="other">
<div class="home-bottom-cate">
质检中心/协会/杂志社/标准委/其他
</div>
<otherList :list="other.data"/>
<otherList :list="other.data" />
</div>
</div>
</div>
</div>
<div class="smallPCImages pc">
<VueSlickCarousel
v-bind="smallPCImagesSettings"
v-if="smallPCImages.length > 0"
ref="smallPCImages"
v-bind="smallPCImagesSettings"
v-if="smallPCImages.length > 0"
ref="smallPCImages"
>
<div
class="smallPCImages-item"
v-for="(tmpA, i) in smallPCImages"
:key="i"
class="smallPCImages-item"
v-for="(tmpA, i) in smallPCImages"
:key="i"
>
<div class="row">
<div
class="col-lg-4"
v-for="(tmpB, ii) in tmpA"
:key="ii"
@click="handelSmallImagesClick(tmpB)"
class="col-lg-4"
v-for="(tmpB, ii) in tmpA"
:key="ii"
@click="handelSmallImagesClick(tmpB)"
>
<img :src="tmpB.picIndexPath"/>
<img :src="tmpB.picIndexPath" />
</div>
</div>
</div>
......@@ -476,18 +476,18 @@
</div>
<div class="smallPCImages H5">
<VueSlickCarousel
v-bind="smallH5ImagesSettings"
v-if="smallPCImages.length > 0"
ref="smallPCImages"
v-bind="smallH5ImagesSettings"
v-if="smallPCImages.length > 0"
ref="smallPCImages"
>
<div
class="smallPCImages-item"
v-for="(tmpA, i) in smallH5Images"
:key="i"
class="smallPCImages-item"
v-for="(tmpA, i) in smallH5Images"
:key="i"
>
<div class="row">
<div class="col" @click="handelSmallImagesClick(tmpA)">
<img :src="tmpA.picIndexPath"/>
<img :src="tmpA.picIndexPath" />
</div>
</div>
</div>
......@@ -504,11 +504,11 @@
</div>
</div>
</div>
<notice/>
<notice />
<modal
:dialogData="dzfwMoreDialog"
@toFatherClose="dzfwMoreHandel(false)"
v-if="dzfwMoreDialog.isShow"
:dialogData="dzfwMoreDialog"
@toFatherClose="dzfwMoreHandel(false)"
v-if="dzfwMoreDialog.isShow"
>
<template v-slot:body>
<div class="dzfwDialog">
......@@ -517,12 +517,12 @@
<li :key="i" v-if="tmp.name !== '更多定制'">
<div class="li-kj">
<el-checkbox
:value="tmp.isChecked"
class="dzfwDialog-checkbox"
@change="dzfwHandelChange(i)"
:value="tmp.isChecked"
class="dzfwDialog-checkbox"
@change="dzfwHandelChange(i)"
></el-checkbox>
<div class="dzfwDialog-ico">
<img :src="tmp.ico" alt=""/>
<img :src="tmp.ico" alt="" />
</div>
<div class="dzfwDialog-title">{{ tmp.name }}</div>
</div>
......@@ -716,7 +716,7 @@ export default {
{
ico: require("../../assets/image/home/kjywblzq-ico1.png"),
name: "LEI业务办理",
url: '/Business/GLN',
url: "/Business/GLN",
},
{
ico: require("../../assets/image/home/kjywblzq-ico2.png"),
......@@ -1044,7 +1044,7 @@ export default {
async homeBigImages() {
// console.log(this.$api, 'this.$api');
const homeBigImagesRes = await this.$api.home.homeBigImages();
const {returnCode, data} = homeBigImagesRes;
const { returnCode, data } = homeBigImagesRes;
if (returnCode === "0") {
this.banner = data;
console.log(this.banner, "this.banner");
......@@ -1058,8 +1058,8 @@ export default {
// 要闻左侧图片资讯
async homePictureImageList() {
const homePictureImageListRes =
await this.$api.home.homePictureImageList();
const {returnCode, data} = homePictureImageListRes;
await this.$api.home.homePictureImageList();
const { returnCode, data } = homePictureImageListRes;
if (returnCode === "0") {
data.forEach((el) => {
el.picFile = `http://www.gs1cn.org/news/newsimg/${el.picFile}`;
......@@ -1071,8 +1071,8 @@ export default {
// 要闻右侧标题列表
async homeImportantNewList() {
const homeImportantNewListRes =
await this.$api.home.homeImportantNewList();
const {returnCode, data} = homeImportantNewListRes;
await this.$api.home.homeImportantNewList();
const { returnCode, data } = homeImportantNewListRes;
if (returnCode === "0") {
data.forEach((el) => {
el.time = this.$moment(el.showtime).format("MM-DD");
......@@ -1091,12 +1091,12 @@ export default {
async homeNewGtin() {
console.log(process.env, "process.env");
this.$http
.get(`${process.env.VUE_APP_GDS_URL}/Data/NewGtin`)
.then((res) => {
res.body.murl = `http://data-studio.gds.org.cn/${res.body.murl}`;
res.body.surl = `http://data-studio.gds.org.cn/${res.body.surl}`;
this.spqqsfz = res.body;
});
.get(`${process.env.VUE_APP_GDS_URL}/Data/NewGtin`)
.then((res) => {
res.body.murl = `http://data-studio.gds.org.cn/${res.body.murl}`;
res.body.surl = `http://data-studio.gds.org.cn/${res.body.surl}`;
this.spqqsfz = res.body;
});
},
// 党建文化新闻列表
async homeGet4PartyTopNews() {
......@@ -1105,9 +1105,9 @@ export default {
classid: 428,
};
const homeGet4PartyTopNewsRes = await this.$api.home.homeGet4PartyTopNews(
params
params
);
const {returnCode, data} = homeGet4PartyTopNewsRes;
const { returnCode, data } = homeGet4PartyTopNewsRes;
if (returnCode === "0") {
console.log(homeGet4PartyTopNewsRes, "党建文化新闻列表");
this.djwh.data = data;
......@@ -1116,7 +1116,7 @@ export default {
// 首页小轮播图
async homeSmallImages() {
const homeSmallImagesRes = await this.$api.home.homeSmallImages();
const {returnCode, data} = homeSmallImagesRes;
const { returnCode, data } = homeSmallImagesRes;
if (returnCode === "0") {
let list = [];
data.forEach((el, i) => {
......@@ -1139,41 +1139,62 @@ export default {
},
// 我要申请商品条码
wysqsptmHandelClick() {
this.$router.push({
path: "/Business/Register",
});
window.open("/Business/Register", "_blank");
// this.$router.push({
// path: "/Business/Register",
// });
},
// 我还不是系统成员点击事件
whbsxtcyHandelClick(i) {
console.log(i, "我还不是系统成员点击事件");
this.$router.push({
let routeData = this.$router.resolve({
path: this.whbsxtcy[i].url,
query: this.whbsxtcy[i].query,
});
window.open(routeData.href, "_blank");
// this.$router.push({
// path: this.whbsxtcy[i].url,
// query: this.whbsxtcy[i].query,
// });
},
// 我是系统成员点击事件
wsxtcyHandelClick(i) {
console.log(i, "我是系统成员点击事件");
this.$router.push({
let routeData = this.$router.resolve({
path: this.wsxtcy[i].url,
query: this.wsxtcy[i].query,
});
window.open(routeData.href, "_blank");
// this.$router.push({
// path: this.wsxtcy[i].url,
// query: this.wsxtcy[i].query,
// });
},
// 我是医疗企业点击事件
wsylqyHandelClick(i) {
console.log(i, "我是医疗企业点击事件");
this.$router.push({
let routeData = this.$router.resolve({
path: this.wsylqy[i].url,
query: this.wsylqy[i].query,
});
window.open(routeData.href, "_blank");
// this.$router.push({
// path: this.wsylqy[i].url,
// query: this.wsylqy[i].query,
// });
},
// 跨境业务办理专区
kjywblzqHandelClick(i) {
console.log(i, "跨境业务办理专区");
this.$router.push({
let routeData = this.$router.resolve({
path: this.kjywblzq[i].url,
query: this.kjywblzq[i].query,
});
window.open(routeData.href, "_blank");
// this.$router.push({
// path: this.kjywblzq[i].url,
// query: this.kjywblzq[i].query,
// });
},
dzfwHandelChange(i) {
this.dzfw[i].isChecked = !this.dzfw[i].isChecked;
......@@ -1205,9 +1226,13 @@ export default {
if (this.dzfw[i].type === "link") {
window.open(this.dzfw[i].url, "_blank");
} else {
this.$router.push({
let routeData = this.$router.resolve({
path: this.dzfw[i].url,
});
window.open(routeData.href, "_blank");
// this.$router.push({
// path: this.dzfw[i].url,
// });
}
},
// 打开更多定制
......@@ -1410,7 +1435,8 @@ export default {
&::before {
width: 24px;
height: 50px;
background: url("../../assets/image/home/prevArrow-hover2.png") no-repeat;
background: url("../../assets/image/home/prevArrow-hover2.png")
no-repeat;
background-size: 100% 100%;
}
}
......@@ -1420,7 +1446,8 @@ export default {
&::before {
width: 24px;
height: 50px;
background: url("../../assets/image/home/nextArrow-hover2.png") no-repeat;
background: url("../../assets/image/home/nextArrow-hover2.png")
no-repeat;
background-size: 100% 100%;
}
}
......@@ -1793,8 +1820,11 @@ export default {
width: 100%;
text-align: center;
line-height: 50px;
color: rgba(255, 255, 255, 1);
@include ellipsis;
a {
color: rgba(255, 255, 255, 1);
}
}
}
}
......@@ -1946,7 +1976,6 @@ export default {
align-items: center;
justify-content: center;
}
.kjywblzq-col {
display: flex;
align-items: center;
......@@ -2031,7 +2060,8 @@ export default {
// padding: 0 10px;
cursor: pointer;
@media screen and (min-width: 992px) {
background: url("../../assets/image/home/line.png") no-repeat right center;
background: url("../../assets/image/home/line.png") no-repeat right
center;
&:nth-child(-n + 3) {
.dzfw-border {
border: 0;
......
......@@ -13,7 +13,7 @@
<el-option
v-for="item in serviceList"
:key="item.value"
:label="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
......@@ -60,21 +60,21 @@ export default {
total: 0,
},
search: {
service: "全部服务行业",
service: "",
},
serviceList: [
{ value: "全部服务行业" },
{ value: "医疗" },
{ value: "零售" },
{ value: "电子商务" },
{ value: "食品烟酒" },
{ value: "物流" },
{ value: "服装" },
{ value: "快速消费品" },
{ value: "消费电子产品" },
{ value: "制造和零部件" },
{ value: "建材" },
{ value: "其他" },
{ value: "", label: "全部服务行业" },
{ value: "医疗", label: "医疗" },
{ value: "零售", label: "零售" },
{ value: "电子商务", label: "电子商务" },
{ value: "食品烟酒", label: "食品烟酒" },
{ value: "物流", label: "物流" },
{ value: "服装", label: "服装" },
{ value: "快速消费品", label: "快速消费品" },
{ value: "消费电子产品", label: "消费电子产品" },
{ value: "制造和零部件", label: "制造和零部件" },
{ value: "建材", label: "建材" },
{ value: "其他", label: "其他" },
],
list: [],
};
......
......@@ -18,7 +18,7 @@
<el-option
v-for="item in technologyList"
:key="item.value"
:label="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
......@@ -34,7 +34,7 @@
<el-option
v-for="item in serviceList"
:key="item.value"
:label="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
......@@ -79,30 +79,30 @@ export default {
total: 0,
},
search: {
technology: "全部技术领域",
service: "全部服务行业",
technology: "",
service: "",
},
technologyList: [
{ value: "全部技术领域" },
{ value: "标识的打印和制作" },
{ value: "系统集成" },
{ value: "信息服务" },
{ value: "咨询服务" },
{ value: "其他" },
{ value: "", label: '全部技术领域' },
{ value: "标识的打印和制作", label: '标识的打印和制作' },
{ value: "系统集成", label: '系统集成' },
{ value: "信息服务", label: '信息服务' },
{ value: "咨询服务", label: '咨询服务' },
{ value: "其他", label: '其他' },
],
serviceList: [
{ value: "全部服务行业" },
{ value: "医疗" },
{ value: "零售" },
{ value: "电子商务" },
{ value: "食品烟酒" },
{ value: "物流" },
{ value: "服装" },
{ value: "快速消费品" },
{ value: "消费电子产品" },
{ value: "制造和零部件" },
{ value: "建材" },
{ value: "其他" },
{ value: "", label: '全部服务行业' },
{ value: "医疗", label: '医疗' },
{ value: "零售", label: '零售' },
{ value: "电子商务", label: '电子商务' },
{ value: "食品烟酒", label: '食品烟酒' },
{ value: "物流", label: '物流' },
{ value: "服装", label: '服装' },
{ value: "快速消费品", label: '快速消费品' },
{ value: "消费电子产品", label: '消费电子产品' },
{ value: "制造和零部件", label: '制造和零部件' },
{ value: "建材", label: '建材' },
{ value: "其他", label: '其他' },
],
list: [],
};
......@@ -142,6 +142,9 @@ export default {
console.log(data, "服务商列表");
this.pageParams.total = data.totalCount;
this.list = data.list;
this.list.forEach(el => {
el.title = el.firmname;
})
}
},
},
......
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