Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴迪
gs1
Commits
2979fd8c
Commit
2979fd8c
authored
Dec 15, 2021
by
tang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 首页查询跳转
parent
bb5e2c13
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
189 additions
and
167 deletions
+189
-167
index.vue
src/views/Home/index.vue
+177
-167
internal.vue
src/views/Search/internal.vue
+12
-0
No files found.
src/views/Home/index.vue
View file @
2979fd8c
...
@@ -13,11 +13,11 @@
...
@@ -13,11 +13,11 @@
{{
el
.
brief
}}
{{
el
.
brief
}}
</p>
</p>
<button
<button
:class=
"['carousel-btn', el.colorMore]"
:class=
"['carousel-btn', el.colorMore]"
@
click=
"learnMore(i)"
@
click=
"learnMore(i)"
>
>
<span>
了解更多
</span
<span>
了解更多
</span
><img
src=
"../../assets/image/home/more-arrow.png"
alt=
""
/>
><img
src=
"../../assets/image/home/more-arrow.png"
alt=
""
/>
</button>
</button>
</div>
</div>
</div>
</div>
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
<!--
<img
:src=
"el.picIndexPath"
alt=
""
class=
"container"
/>
-->
<!--
<img
:src=
"el.picIndexPath"
alt=
""
class=
"container"
/>
-->
<!--
</div>
-->
<!--
</div>
-->
<div
class=
"banner-bg"
>
<div
class=
"banner-bg"
>
<img
:src=
"el.picIndexPath"
alt=
""
/>
<img
:src=
"el.picIndexPath"
alt=
""
/>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -48,30 +48,30 @@
...
@@ -48,30 +48,30 @@
<div
class=
"col-lg-6"
>
<div
class=
"col-lg-6"
>
<div
class=
"newsBanner"
>
<div
class=
"newsBanner"
>
<VueSlickCarousel
<VueSlickCarousel
v-bind=
"newsBannerSettingsA"
v-bind=
"newsBannerSettingsA"
v-if=
"newsBanner.length > 0"
v-if=
"newsBanner.length > 0"
ref=
"newsBannerA"
ref=
"newsBannerA"
:asNavFor=
"$refs.newsBannerB"
:asNavFor=
"$refs.newsBannerB"
>
>
<div
<div
class=
"newsBanner-item"
class=
"newsBanner-item"
v-for=
"el in newsBanner"
v-for=
"el in newsBanner"
:key=
"el.id"
:key=
"el.id"
>
>
<img
:src=
"el.picFile"
alt=
"..."
class=
"newsBanner-tp"
/>
<img
:src=
"el.picFile"
alt=
"..."
class=
"newsBanner-tp"
/>
</div>
</div>
</VueSlickCarousel>
</VueSlickCarousel>
<VueSlickCarousel
<VueSlickCarousel
v-bind=
"newsBannerSettingsB"
v-bind=
"newsBannerSettingsB"
v-if=
"newsBanner.length > 0"
v-if=
"newsBanner.length > 0"
ref=
"newsBannerB"
ref=
"newsBannerB"
class=
"newsBannerB"
class=
"newsBannerB"
:asNavFor=
"$refs.newsBannerA"
:asNavFor=
"$refs.newsBannerA"
>
>
<div
<div
class=
"newsBanner-item"
class=
"newsBanner-item"
v-for=
"el in newsBanner"
v-for=
"el in newsBanner"
:key=
"el.id"
:key=
"el.id"
>
>
<div
class=
"newsBanner-title"
:title=
"el.title"
>
<div
class=
"newsBanner-title"
:title=
"el.title"
>
{{ el.title }}
{{ el.title }}
...
@@ -89,21 +89,21 @@
...
@@ -89,21 +89,21 @@
<div
class=
"col-lg-6"
>
<div
class=
"col-lg-6"
>
<ul
class=
"nav nav-tabs tabs1"
id=
"myTab"
role=
"tablist"
>
<ul
class=
"nav nav-tabs tabs1"
id=
"myTab"
role=
"tablist"
>
<li
<li
class=
"nav-item"
class=
"nav-item"
role=
"presentation"
role=
"presentation"
v-for=
"(tmp, i) in news"
v-for=
"(tmp, i) in news"
:key=
"i"
:key=
"i"
@
click=
"handelNewsTab(i)"
@
click=
"handelNewsTab(i)"
>
>
<button
<button
:class=
"['nav-link', { active: i === 0 }]"
:class=
"['nav-link', { active: i === 0 }]"
:id=
"tmp.type + '-tab'"
:id=
"tmp.type + '-tab'"
data-bs-toggle=
"tab"
data-bs-toggle=
"tab"
:data-bs-target=
"'#' + tmp.type"
:data-bs-target=
"'#' + tmp.type"
type=
"button"
type=
"button"
role=
"tab"
role=
"tab"
:aria-controls=
"tmp.type"
:aria-controls=
"tmp.type"
aria-selected=
"true"
aria-selected=
"true"
>
>
<span>
{{ tmp.name }}
</span>
<span>
{{ tmp.name }}
</span>
</button>
</button>
...
@@ -111,11 +111,11 @@
...
@@ -111,11 +111,11 @@
</ul>
</ul>
<div
class=
"tab-content marginTop10"
>
<div
class=
"tab-content marginTop10"
>
<div
<div
class=
"tab-pane fade show active"
class=
"tab-pane fade show active"
role=
"tabpanel"
role=
"tabpanel"
aria-labelledby=
"yaowen-tab"
aria-labelledby=
"yaowen-tab"
>
>
<list
:list=
"news[0].data"
/>
<list
:list=
"news[0].data"
/>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -139,13 +139,13 @@
...
@@ -139,13 +139,13 @@
</button>
</button>
<div
class=
"row ywdt-kj whbsxtcy-row"
>
<div
class=
"row ywdt-kj whbsxtcy-row"
>
<div
<div
class=
"col-6"
class=
"col-6"
v-for=
"(tmp, i) in whbsxtcy"
v-for=
"(tmp, i) in whbsxtcy"
:key=
"i"
:key=
"i"
@
click=
"whbsxtcyHandelClick(i)"
@
click=
"whbsxtcyHandelClick(i)"
>
>
<div
class=
"ywdt-tp"
>
<div
class=
"ywdt-tp"
>
<img
:src=
"tmp.ico"
alt=
""
/>
<img
:src=
"tmp.ico"
alt=
""
/>
</div>
</div>
<div
class=
"ywdt-bt"
>
{{ tmp.name }}
</div>
<div
class=
"ywdt-bt"
>
{{ tmp.name }}
</div>
</div>
</div>
...
@@ -158,13 +158,13 @@
...
@@ -158,13 +158,13 @@
</div>
</div>
<div
class=
"row ywdt-kj wsxtcy-row"
>
<div
class=
"row ywdt-kj wsxtcy-row"
>
<div
<div
class=
"col-6"
class=
"col-6"
v-for=
"(tmp, i) in wsxtcy"
v-for=
"(tmp, i) in wsxtcy"
:key=
"i"
:key=
"i"
@
click=
"wsxtcyHandelClick(i)"
@
click=
"wsxtcyHandelClick(i)"
>
>
<div
class=
"ywdt-tp"
>
<div
class=
"ywdt-tp"
>
<img
:src=
"tmp.ico"
alt=
""
/>
<img
:src=
"tmp.ico"
alt=
""
/>
</div>
</div>
<div
class=
"ywdt-bt"
>
{{ tmp.name }}
</div>
<div
class=
"ywdt-bt"
>
{{ tmp.name }}
</div>
</div>
</div>
...
@@ -178,13 +178,13 @@
...
@@ -178,13 +178,13 @@
</div>
</div>
<div
class=
"row ywdt-kj wsylqy-row"
>
<div
class=
"row ywdt-kj wsylqy-row"
>
<div
<div
class=
"col-6"
class=
"col-6"
v-for=
"(tmp, i) in wsylqy"
v-for=
"(tmp, i) in wsylqy"
:key=
"i"
:key=
"i"
@
click=
"wsylqyHandelClick(i)"
@
click=
"wsylqyHandelClick(i)"
>
>
<div
class=
"ywdt-tp"
>
<div
class=
"ywdt-tp"
>
<img
:src=
"tmp.ico"
alt=
""
/>
<img
:src=
"tmp.ico"
alt=
""
/>
</div>
</div>
<div
class=
"ywdt-bt"
>
{{ tmp.name }}
</div>
<div
class=
"ywdt-bt"
>
{{ tmp.name }}
</div>
</div>
</div>
...
@@ -196,20 +196,20 @@
...
@@ -196,20 +196,20 @@
</div>
</div>
<div
class=
"row ywdt-kj kjywblzq-row"
v-if=
"false"
>
<div
class=
"row ywdt-kj kjywblzq-row"
v-if=
"false"
>
<div
<div
class=
"col-6"
class=
"col-6"
v-for=
"(tmp, i) in kjywblzq"
v-for=
"(tmp, i) in kjywblzq"
:key=
"i"
:key=
"i"
@
click=
"kjywblzqHandelClick(i)"
@
click=
"kjywblzqHandelClick(i)"
>
>
<div
class=
"ywdt-tp"
>
<div
class=
"ywdt-tp"
>
<img
:src=
"tmp.ico"
alt=
""
/>
<img
:src=
"tmp.ico"
alt=
""
/>
</div>
</div>
<div
class=
"ywdt-bt"
>
{{ tmp.name }}
</div>
<div
class=
"ywdt-bt"
>
{{ tmp.name }}
</div>
</div>
</div>
</div>
</div>
<div
class=
"row ywdt-kj kjywblzq-row"
>
<div
class=
"row ywdt-kj kjywblzq-row"
>
<div
<div
class=
"kjywblzq-col"
class=
"kjywblzq-col"
>
>
<div
class=
"ywdt-bt"
>
跨境业务办理(GLN/LEI/其他)
</div>
<div
class=
"ywdt-bt"
>
跨境业务办理(GLN/LEI/其他)
</div>
</div>
</div>
...
@@ -225,14 +225,14 @@
...
@@ -225,14 +225,14 @@
<div
class=
"row"
>
<div
class=
"row"
>
<
template
v-for=
"(tmp, i) in dzfw"
>
<
template
v-for=
"(tmp, i) in dzfw"
>
<div
<div
class=
"col-6 col-lg-4 dzfw-li"
class=
"col-6 col-lg-4 dzfw-li"
:key=
"i"
:key=
"i"
v-if=
"tmp.isChecked"
v-if=
"tmp.isChecked"
@
click=
"dzfwHandelClick(i)"
@
click=
"dzfwHandelClick(i)"
>
>
<div
class=
"dzfw-border"
>
<div
class=
"dzfw-border"
>
<div
class=
"dzfw-tp"
>
<div
class=
"dzfw-tp"
>
<img
:src=
"tmp.ico"
alt=
""
/>
<img
:src=
"tmp.ico"
alt=
""
/>
</div>
</div>
<div
class=
"dzfw-bt"
>
{{
tmp
.
name
}}
</div>
<div
class=
"dzfw-bt"
>
{{
tmp
.
name
}}
</div>
</div>
</div>
...
@@ -248,28 +248,28 @@
...
@@ -248,28 +248,28 @@
<ul
class=
"nav nav-tabs tabs2 row"
id=
"myTab"
role=
"tablist"
>
<ul
class=
"nav nav-tabs tabs2 row"
id=
"myTab"
role=
"tablist"
>
<li
class=
"nav-item col-lg-2"
role=
"presentation"
>
<li
class=
"nav-item col-lg-2"
role=
"presentation"
>
<button
<button
class=
"nav-link active"
class=
"nav-link active"
id=
"home-tab"
id=
"home-tab"
data-bs-toggle=
"tab"
data-bs-toggle=
"tab"
data-bs-target=
"#csxx"
data-bs-target=
"#csxx"
type=
"button"
type=
"button"
role=
"tab"
role=
"tab"
aria-controls=
"home"
aria-controls=
"home"
aria-selected=
"true"
aria-selected=
"true"
>
>
<span>
厂商信息
</span>
<span>
厂商信息
</span>
</button>
</button>
</li>
</li>
<li
class=
"nav-item col-lg-2"
role=
"presentation"
>
<li
class=
"nav-item col-lg-2"
role=
"presentation"
>
<button
<button
class=
"nav-link"
class=
"nav-link"
id=
"profile-tab"
id=
"profile-tab"
data-bs-toggle=
"tab"
data-bs-toggle=
"tab"
data-bs-target=
"#cpxx"
data-bs-target=
"#cpxx"
type=
"button"
type=
"button"
role=
"tab"
role=
"tab"
aria-controls=
"profile"
aria-controls=
"profile"
aria-selected=
"false"
aria-selected=
"false"
>
>
<span>
产品信息
</span>
<span>
产品信息
</span>
</button>
</button>
...
@@ -277,49 +277,49 @@
...
@@ -277,49 +277,49 @@
</ul>
</ul>
<div
class=
"tab-content"
id=
"myTabContent"
>
<div
class=
"tab-content"
id=
"myTabContent"
>
<div
<div
class=
"tab-pane fade show active"
class=
"tab-pane fade show active"
id=
"csxx"
id=
"csxx"
role=
"tabpanel"
role=
"tabpanel"
aria-labelledby=
"home-tab"
aria-labelledby=
"home-tab"
>
>
<div
class=
"chaxun"
>
<div
class=
"chaxun"
>
<div
class=
"chaxun-kj"
>
<div
class=
"chaxun-kj"
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-lg-2 chaxun-left"
>
<div
class=
"col-lg-2 chaxun-left"
>
<el-select
<el-select
v-model=
"chaxun.type"
v-model=
"chaxun.type"
placeholder=
"请选择"
placeholder=
"请选择"
clearable
clearable
>
>
<el-option
<el-option
v-for=
"(item, i) in chaxun.options"
v-for=
"(item, i) in chaxun.options"
:key=
"i"
:key=
"i"
:label=
"item.label"
:label=
"item.label"
:value=
"item.value"
:value=
"item.value"
>
>
</el-option>
</el-option>
</el-select>
</el-select>
</div>
</div>
<div
class=
"col-lg-7 chaxun-middle"
>
<div
class=
"col-lg-7 chaxun-middle"
>
<el-input
<el-input
placeholder=
"请输入厂商名称"
placeholder=
"请输入厂商名称"
v-model=
"chaxun.keywords"
v-model=
"chaxun.keywords"
clearable
clearable
>
>
</el-input>
</el-input>
</div>
</div>
<div
class=
"col-lg-3 chaxun-right"
>
<div
class=
"col-lg-3 chaxun-right"
>
<button>
境内条码查询
</button>
<button
@
click=
"toSearch(chaxun.type,chaxun.keywords,'company')"
>
境内条码查询
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
<div
class=
"tab-pane fade"
class=
"tab-pane fade"
id=
"cpxx"
id=
"cpxx"
role=
"tabpanel"
role=
"tabpanel"
aria-labelledby=
"profile-tab"
aria-labelledby=
"profile-tab"
>
>
<div
class=
"chaxun"
>
<div
class=
"chaxun"
>
<div
class=
"chaxun-kj"
>
<div
class=
"chaxun-kj"
>
...
@@ -327,24 +327,24 @@
...
@@ -327,24 +327,24 @@
<div
class=
"col-lg-2 chaxun-left"
>
<div
class=
"col-lg-2 chaxun-left"
>
<el-select
v-model=
"chaxun.type"
placeholder=
"请选择"
>
<el-select
v-model=
"chaxun.type"
placeholder=
"请选择"
>
<el-option
<el-option
v-for=
"(item, i) in chaxun.options"
v-for=
"(item, i) in chaxun.options"
:key=
"i"
:key=
"i"
:label=
"item.label"
:label=
"item.label"
:value=
"item.value"
:value=
"item.value"
>
>
</el-option>
</el-option>
</el-select>
</el-select>
</div>
</div>
<div
class=
"col-lg-7 chaxun-middle"
>
<div
class=
"col-lg-7 chaxun-middle"
>
<el-input
<el-input
placeholder=
"请输入厂商名称"
placeholder=
"请输入厂商名称"
v-model=
"chaxun.keywords"
v-model=
"chaxun.keywords"
clearable
clearable
>
>
</el-input>
</el-input>
</div>
</div>
<div
class=
"col-lg-3 chaxun-right"
>
<div
class=
"col-lg-3 chaxun-right"
>
<button>
境内条码查询
</button>
<button
@
click=
"toSearch(chaxun.type,chaxun.keywords,'product')"
>
境内条码查询
</button>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -360,9 +360,9 @@
...
@@ -360,9 +360,9 @@
<div
class=
"spqqsfz-cate"
>
<div
class=
"spqqsfz-cate"
>
<div
class=
"spqqsfz-cate-left"
>
商品全球身份证
</div>
<div
class=
"spqqsfz-cate-left"
>
商品全球身份证
</div>
<div
<div
class=
"spqqsfz-cate-right"
class=
"spqqsfz-cate-right"
@
click=
"spqqsfzHandelClick"
@
click=
"spqqsfzHandelClick"
v-if=
"false"
v-if=
"false"
>
>
更多>
更多>
</div>
</div>
...
@@ -370,7 +370,7 @@
...
@@ -370,7 +370,7 @@
<div
class=
"spqqsfz-cont row"
>
<div
class=
"spqqsfz-cont row"
>
<div
class=
"spqqsfz-cont-left col-lg-2"
>
<div
class=
"spqqsfz-cont-left col-lg-2"
>
<div
class=
"spqqsfz-cont-left-tp"
>
<div
class=
"spqqsfz-cont-left-tp"
>
<img
:src=
"spqqsfz.surl"
alt=
""
/>
<img
:src=
"spqqsfz.surl"
alt=
""
/>
</div>
</div>
</div>
</div>
<div
class=
"spqqsfz-cont-right col-lg-10"
>
<div
class=
"spqqsfz-cont-right col-lg-10"
>
...
@@ -394,7 +394,7 @@
...
@@ -394,7 +394,7 @@
<div
class=
"col offset-2 offset-lg-3"
>
<div
class=
"col offset-2 offset-lg-3"
>
<button
class=
"spqqsfz-btn blue"
@
click=
"spqqsfzHandelClick"
>
<button
class=
"spqqsfz-btn blue"
@
click=
"spqqsfzHandelClick"
>
<span>
更多商品信息
</span
<span>
更多商品信息
</span
><img
src=
"../../assets/image/home/more-arrow.png"
alt=
""
/>
><img
src=
"../../assets/image/home/more-arrow.png"
alt=
""
/>
</button>
</button>
</div>
</div>
</div>
</div>
...
@@ -413,56 +413,56 @@
...
@@ -413,56 +413,56 @@
<div
class=
"home-bottom-cate"
>
党建文化
</div>
<div
class=
"home-bottom-cate"
>
党建文化
</div>
<div
class=
"djwh-tp"
>
<div
class=
"djwh-tp"
>
<a
href=
"/djwh"
target=
"blank"
<a
href=
"/djwh"
target=
"blank"
><img
><img
src=
"../../assets/image/home/dangjianwenhua.png"
src=
"../../assets/image/home/dangjianwenhua.png"
alt=
""
alt=
""
/></a>
/></a>
</div>
</div>
<list2
:list=
"djwh.data"
/>
<list2
:list=
"djwh.data"
/>
</div>
</div>
<div
class=
"ztjj"
>
<div
class=
"ztjj"
>
<div
class=
"home-bottom-cate"
>
专题聚焦
</div>
<div
class=
"home-bottom-cate"
>
专题聚焦
</div>
<div
class=
"djwh-tp"
>
<div
class=
"djwh-tp"
>
<a
href=
"/News/DepthTopics"
target=
"blank"
<a
href=
"/News/DepthTopics"
target=
"blank"
><img
><img
src=
"../../assets/image/home/zhuantijujiao.png"
src=
"../../assets/image/home/zhuantijujiao.png"
alt=
""
alt=
""
/></a>
/></a>
</div>
</div>
<list2
:list=
"ztjj.data"
/>
<list2
:list=
"ztjj.data"
/>
</div>
</div>
<div
class=
"yyly"
>
<div
class=
"yyly"
>
<div
class=
"home-bottom-cate"
>
应用领域
</div>
<div
class=
"home-bottom-cate"
>
应用领域
</div>
<yylyList
:list=
"yyly.data"
/>
<yylyList
:list=
"yyly.data"
/>
</div>
</div>
<div
class=
"other"
>
<div
class=
"other"
>
<div
class=
"home-bottom-cate"
>
<div
class=
"home-bottom-cate"
>
质检中心/协会/杂志社/标准委/其他
质检中心/协会/杂志社/标准委/其他
</div>
</div>
<otherList
:list=
"other.data"
/>
<otherList
:list=
"other.data"
/>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"smallPCImages pc"
>
<div
class=
"smallPCImages pc"
>
<VueSlickCarousel
<VueSlickCarousel
v-bind=
"smallPCImagesSettings"
v-bind=
"smallPCImagesSettings"
v-if=
"smallPCImages.length > 0"
v-if=
"smallPCImages.length > 0"
ref=
"smallPCImages"
ref=
"smallPCImages"
>
>
<div
<div
class=
"smallPCImages-item"
class=
"smallPCImages-item"
v-for=
"(tmpA, i) in smallPCImages"
v-for=
"(tmpA, i) in smallPCImages"
:key=
"i"
:key=
"i"
>
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
<div
class=
"col-lg-4"
class=
"col-lg-4"
v-for=
"(tmpB, ii) in tmpA"
v-for=
"(tmpB, ii) in tmpA"
:key=
"ii"
:key=
"ii"
@
click=
"handelSmallImagesClick(tmpB)"
@
click=
"handelSmallImagesClick(tmpB)"
>
>
<img
:src=
"tmpB.picIndexPath"
/>
<img
:src=
"tmpB.picIndexPath"
/>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -476,18 +476,18 @@
...
@@ -476,18 +476,18 @@
</div>
</div>
<div
class=
"smallPCImages H5"
>
<div
class=
"smallPCImages H5"
>
<VueSlickCarousel
<VueSlickCarousel
v-bind=
"smallH5ImagesSettings"
v-bind=
"smallH5ImagesSettings"
v-if=
"smallPCImages.length > 0"
v-if=
"smallPCImages.length > 0"
ref=
"smallPCImages"
ref=
"smallPCImages"
>
>
<div
<div
class=
"smallPCImages-item"
class=
"smallPCImages-item"
v-for=
"(tmpA, i) in smallH5Images"
v-for=
"(tmpA, i) in smallH5Images"
:key=
"i"
:key=
"i"
>
>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col"
@
click=
"handelSmallImagesClick(tmpA)"
>
<div
class=
"col"
@
click=
"handelSmallImagesClick(tmpA)"
>
<img
:src=
"tmpA.picIndexPath"
/>
<img
:src=
"tmpA.picIndexPath"
/>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -504,11 +504,11 @@
...
@@ -504,11 +504,11 @@
</div>
</div>
</div>
</div>
</div>
</div>
<notice
/>
<notice/>
<modal
<modal
:dialogData=
"dzfwMoreDialog"
:dialogData=
"dzfwMoreDialog"
@
toFatherClose=
"dzfwMoreHandel(false)"
@
toFatherClose=
"dzfwMoreHandel(false)"
v-if=
"dzfwMoreDialog.isShow"
v-if=
"dzfwMoreDialog.isShow"
>
>
<
template
v-slot:body
>
<
template
v-slot:body
>
<div
class=
"dzfwDialog"
>
<div
class=
"dzfwDialog"
>
...
@@ -517,12 +517,12 @@
...
@@ -517,12 +517,12 @@
<li
:key=
"i"
v-if=
"tmp.name !== '更多定制'"
>
<li
:key=
"i"
v-if=
"tmp.name !== '更多定制'"
>
<div
class=
"li-kj"
>
<div
class=
"li-kj"
>
<el-checkbox
<el-checkbox
:value=
"tmp.isChecked"
:value=
"tmp.isChecked"
class=
"dzfwDialog-checkbox"
class=
"dzfwDialog-checkbox"
@
change=
"dzfwHandelChange(i)"
@
change=
"dzfwHandelChange(i)"
></el-checkbox>
></el-checkbox>
<div
class=
"dzfwDialog-ico"
>
<div
class=
"dzfwDialog-ico"
>
<img
:src=
"tmp.ico"
alt=
""
/>
<img
:src=
"tmp.ico"
alt=
""
/>
</div>
</div>
<div
class=
"dzfwDialog-title"
>
{{
tmp
.
name
}}
</div>
<div
class=
"dzfwDialog-title"
>
{{
tmp
.
name
}}
</div>
</div>
</div>
...
@@ -625,11 +625,11 @@ export default {
...
@@ -625,11 +625,11 @@ export default {
},
},
],
],
chaxun
:
{
chaxun
:
{
type
:
""
,
type
:
"
1
"
,
options
:
[
options
:
[
{
{
label
:
"根据厂商名称查询"
,
label
:
"根据厂商名称查询"
,
value
:
"
根据厂商名称查询
"
,
value
:
"
1
"
,
},
},
],
],
keywords
:
""
,
keywords
:
""
,
...
@@ -968,6 +968,17 @@ export default {
...
@@ -968,6 +968,17 @@ export default {
this
.
getCustomServiceFromServer
();
this
.
getCustomServiceFromServer
();
},
},
methods
:
{
methods
:
{
toSearch
(
type
,
keyword
,
infoType
)
{
console
.
log
(
type
)
this
.
$router
.
push
({
path
:
'/search/internal'
,
query
:
{
keyword
,
type
,
infoType
}
})
},
getCustomService
()
{
getCustomService
()
{
let
service
=
localStorage
.
getItem
(
"gs-custom-service"
)
||
""
;
let
service
=
localStorage
.
getItem
(
"gs-custom-service"
)
||
""
;
console
.
log
(
"getCustomService-----------"
,
service
);
console
.
log
(
"getCustomService-----------"
,
service
);
...
@@ -979,7 +990,7 @@ export default {
...
@@ -979,7 +990,7 @@ export default {
async
getCustomServiceFromServer
()
{
async
getCustomServiceFromServer
()
{
const
searchGlnRes
=
await
this
.
$api
.
home
.
customService
();
const
searchGlnRes
=
await
this
.
$api
.
home
.
customService
();
const
{
returnCode
,
data
}
=
searchGlnRes
;
const
{
returnCode
,
data
}
=
searchGlnRes
;
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
localStorage
.
setItem
(
"gs-custom-service"
,
JSON
.
stringify
(
data
));
localStorage
.
setItem
(
"gs-custom-service"
,
JSON
.
stringify
(
data
));
this
.
showCustomService
(
data
);
this
.
showCustomService
(
data
);
...
@@ -1032,7 +1043,7 @@ export default {
...
@@ -1032,7 +1043,7 @@ export default {
async
homeBigImages
()
{
async
homeBigImages
()
{
// console.log(this.$api, 'this.$api');
// console.log(this.$api, 'this.$api');
const
homeBigImagesRes
=
await
this
.
$api
.
home
.
homeBigImages
();
const
homeBigImagesRes
=
await
this
.
$api
.
home
.
homeBigImages
();
const
{
returnCode
,
data
}
=
homeBigImagesRes
;
const
{
returnCode
,
data
}
=
homeBigImagesRes
;
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
this
.
banner
=
data
;
this
.
banner
=
data
;
console
.
log
(
this
.
banner
,
"this.banner"
);
console
.
log
(
this
.
banner
,
"this.banner"
);
...
@@ -1046,8 +1057,8 @@ export default {
...
@@ -1046,8 +1057,8 @@ export default {
// 要闻左侧图片资讯
// 要闻左侧图片资讯
async
homePictureImageList
()
{
async
homePictureImageList
()
{
const
homePictureImageListRes
=
const
homePictureImageListRes
=
await
this
.
$api
.
home
.
homePictureImageList
();
await
this
.
$api
.
home
.
homePictureImageList
();
const
{
returnCode
,
data
}
=
homePictureImageListRes
;
const
{
returnCode
,
data
}
=
homePictureImageListRes
;
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
data
.
forEach
((
el
)
=>
{
data
.
forEach
((
el
)
=>
{
el
.
picFile
=
`http://www.gs1cn.org/news/newsimg/
${
el
.
picFile
}
`
;
el
.
picFile
=
`http://www.gs1cn.org/news/newsimg/
${
el
.
picFile
}
`
;
...
@@ -1059,8 +1070,8 @@ export default {
...
@@ -1059,8 +1070,8 @@ export default {
// 要闻右侧标题列表
// 要闻右侧标题列表
async
homeImportantNewList
()
{
async
homeImportantNewList
()
{
const
homeImportantNewListRes
=
const
homeImportantNewListRes
=
await
this
.
$api
.
home
.
homeImportantNewList
();
await
this
.
$api
.
home
.
homeImportantNewList
();
const
{
returnCode
,
data
}
=
homeImportantNewListRes
;
const
{
returnCode
,
data
}
=
homeImportantNewListRes
;
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
data
.
forEach
((
el
)
=>
{
data
.
forEach
((
el
)
=>
{
el
.
time
=
this
.
$moment
(
el
.
showtime
).
format
(
"MM-DD"
);
el
.
time
=
this
.
$moment
(
el
.
showtime
).
format
(
"MM-DD"
);
...
@@ -1079,12 +1090,12 @@ export default {
...
@@ -1079,12 +1090,12 @@ export default {
async
homeNewGtin
()
{
async
homeNewGtin
()
{
console
.
log
(
process
.
env
,
"process.env"
);
console
.
log
(
process
.
env
,
"process.env"
);
this
.
$http
this
.
$http
.
get
(
`
${
process
.
env
.
VUE_APP_GDS_URL
}
/Data/NewGtin`
)
.
get
(
`
${
process
.
env
.
VUE_APP_GDS_URL
}
/Data/NewGtin`
)
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
res
.
body
.
murl
=
`http://data-studio.gds.org.cn/
${
res
.
body
.
murl
}
`
;
res
.
body
.
murl
=
`http://data-studio.gds.org.cn/
${
res
.
body
.
murl
}
`
;
res
.
body
.
surl
=
`http://data-studio.gds.org.cn/
${
res
.
body
.
surl
}
`
;
res
.
body
.
surl
=
`http://data-studio.gds.org.cn/
${
res
.
body
.
surl
}
`
;
this
.
spqqsfz
=
res
.
body
;
this
.
spqqsfz
=
res
.
body
;
});
});
},
},
// 党建文化新闻列表
// 党建文化新闻列表
async
homeGet4PartyTopNews
()
{
async
homeGet4PartyTopNews
()
{
...
@@ -1093,9 +1104,9 @@ export default {
...
@@ -1093,9 +1104,9 @@ export default {
classid
:
428
,
classid
:
428
,
};
};
const
homeGet4PartyTopNewsRes
=
await
this
.
$api
.
home
.
homeGet4PartyTopNews
(
const
homeGet4PartyTopNewsRes
=
await
this
.
$api
.
home
.
homeGet4PartyTopNews
(
params
params
);
);
const
{
returnCode
,
data
}
=
homeGet4PartyTopNewsRes
;
const
{
returnCode
,
data
}
=
homeGet4PartyTopNewsRes
;
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
console
.
log
(
homeGet4PartyTopNewsRes
,
"党建文化新闻列表"
);
console
.
log
(
homeGet4PartyTopNewsRes
,
"党建文化新闻列表"
);
this
.
djwh
.
data
=
data
;
this
.
djwh
.
data
=
data
;
...
@@ -1104,7 +1115,7 @@ export default {
...
@@ -1104,7 +1115,7 @@ export default {
// 首页小轮播图
// 首页小轮播图
async
homeSmallImages
()
{
async
homeSmallImages
()
{
const
homeSmallImagesRes
=
await
this
.
$api
.
home
.
homeSmallImages
();
const
homeSmallImagesRes
=
await
this
.
$api
.
home
.
homeSmallImages
();
const
{
returnCode
,
data
}
=
homeSmallImagesRes
;
const
{
returnCode
,
data
}
=
homeSmallImagesRes
;
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
let
list
=
[];
let
list
=
[];
data
.
forEach
((
el
,
i
)
=>
{
data
.
forEach
((
el
,
i
)
=>
{
...
@@ -1398,8 +1409,7 @@ export default {
...
@@ -1398,8 +1409,7 @@ export default {
&::before
{
&::before
{
width
:
24px
;
width
:
24px
;
height
:
50px
;
height
:
50px
;
background
:
url("../../assets/image/home/prevArrow-hover2.png")
background
:
url("../../assets/image/home/prevArrow-hover2.png")
no-repeat
;
no-repeat
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
}
}
}
}
...
@@ -1409,8 +1419,7 @@ export default {
...
@@ -1409,8 +1419,7 @@ export default {
&::before
{
&::before
{
width
:
24px
;
width
:
24px
;
height
:
50px
;
height
:
50px
;
background
:
url("../../assets/image/home/nextArrow-hover2.png")
background
:
url("../../assets/image/home/nextArrow-hover2.png")
no-repeat
;
no-repeat
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
}
}
}
}
...
@@ -1936,11 +1945,13 @@ export default {
...
@@ -1936,11 +1945,13 @@ export default {
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
}
}
.kjywblzq-col
{
.kjywblzq-col
{
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
}
}
.ywdt-bt
{
.ywdt-bt
{
color
:
#0e2c6b
;
color
:
#0e2c6b
;
font-size
:
14px
;
font-size
:
14px
;
...
@@ -2019,8 +2030,7 @@ export default {
...
@@ -2019,8 +2030,7 @@ export default {
//
padding
:
0
10px
;
//
padding
:
0
10px
;
cursor
:
pointer
;
cursor
:
pointer
;
@media
screen
and
(
min-width
:
992px
)
{
@media
screen
and
(
min-width
:
992px
)
{
background
:
url("../../assets/image/home/line.png")
no-repeat
right
background
:
url("../../assets/image/home/line.png")
no-repeat
right
center
;
center
;
&:nth-child(-n
+
3)
{
&:nth-child(-n
+
3)
{
.dzfw-border
{
.dzfw-border
{
border
:
0
;
border
:
0
;
...
...
src/views/Search/internal.vue
View file @
2979fd8c
...
@@ -212,6 +212,18 @@ export default {
...
@@ -212,6 +212,18 @@ export default {
components
:
{
components
:
{
Vcode
,
Vcode
,
},
},
created
()
{
if
(
this
.
$route
.
query
.
infoType
){
if
(
this
.
$route
.
query
.
infoType
===
'product'
){
this
.
activeName
=
'second'
this
.
productSearch
.
code
=
this
.
$route
.
query
.
keyword
}
else
if
(
this
.
$route
.
query
.
infoType
===
'company'
){
this
.
activeName
=
'first'
this
.
company
=
NAME
this
.
companySearch
.
name
=
this
.
$route
.
query
.
keyword
}
}
},
methods
:
{
methods
:
{
// 点击此处进行验证
// 点击此处进行验证
handleVerification
()
{
handleVerification
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment