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
56b39fb7
Commit
56b39fb7
authored
Nov 15, 2023
by
Jianli Ou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、清除HealthDetail页面获取的html渲染内容中的autoplay
2、境外条码信息查询修改轮播图显示和跳转链接 3、境外条码信息查询中的提示 "690至697之间" 改为 "690至699之间"
parent
0a94f49b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
9 deletions
+8
-9
HealthDetail.vue
src/views/News/HealthDetail.vue
+1
-4
external.vue
src/views/Search/external.vue
+7
-5
query_external_banner2.png
src/views/Search/img/query_external_banner2.png
+0
-0
No files found.
src/views/News/HealthDetail.vue
View file @
56b39fb7
...
@@ -6,11 +6,7 @@
...
@@ -6,11 +6,7 @@
<div
class=
"health-detail"
v-if=
"detailInfo==''||detailInfo==null||detailInfo==undefined"
>
没有可显示的内容!
</div>
<div
class=
"health-detail"
v-if=
"detailInfo==''||detailInfo==null||detailInfo==undefined"
>
没有可显示的内容!
</div>
<div
class=
"health-detail"
v-else
v-html=
"detailInfo"
></div>
<div
class=
"health-detail"
v-else
v-html=
"detailInfo"
></div>
<!--
</div>
<!--
</div>
</div>
-->
</div>
-->
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -51,6 +47,7 @@ export default {
...
@@ -51,6 +47,7 @@ export default {
window
.
open
(
data
.
jumppath
,
"_self"
);
window
.
open
(
data
.
jumppath
,
"_self"
);
}
}
console
.
log
(
'medicalAndHealthDetailById'
,
returnCode
,
data
)
console
.
log
(
'medicalAndHealthDetailById'
,
returnCode
,
data
)
if
(
data
.
content
)
data
.
content
=
data
.
content
.
replace
(
/autoplay="autoplay"/g
,
''
)
this
.
detailInfo
=
data
.
content
;
this
.
detailInfo
=
data
.
content
;
}
else
{
}
else
{
this
.
$message
.
error
(
returnMsg
);
this
.
$message
.
error
(
returnMsg
);
...
...
src/views/Search/external.vue
View file @
56b39fb7
<
template
>
<
template
>
<div
class=
"search-content"
>
<div
class=
"search-content"
>
<div
class=
"banner-box"
>
<div
class=
"banner-box"
>
<img
src=
"./img/query_external_banner.jpeg"
<img
src=
"./img/query_external_banner2.png"
@
click=
"openUrl(`https://import.gds.org.cn/#/home/index`)"
/>
@
click=
"openUrl(`http://static.gds.org.cn/staticPage/GRPVbg/index.html`)"
/>
<!-- https://import.gds.org.cn/#/home/index 中国进口商品信息服务平台-->
<!-- http://static.gds.org.cn/staticPage/GRPVbg/index.html 中文版VbG宣传页面-->
</div>
</div>
<div
class=
"title"
>
境外条码信息查询
</div>
<div
class=
"title"
>
境外条码信息查询
</div>
<div
class=
"body"
>
<div
class=
"body"
>
...
@@ -66,7 +68,7 @@
...
@@ -66,7 +68,7 @@
<div
class=
"content-wrapper"
>
<div
class=
"content-wrapper"
>
<img
src=
"./img/query-external-barcode.png"
align=
"right"
alt=
""
/>
<img
src=
"./img/query-external-barcode.png"
align=
"right"
alt=
""
/>
<p>
<p>
1、目前,国际物品编码组织(GS1)已将690至69
7
之间的前缀码分配给中国物品编码中心使用,通常以这些前缀码开始的厂商识别代码都是由中国物品编码中心负责分配和管理的;以其他前缀码开始的则由境外GS1成员组织负责,一般称为"境外条码",以下为您提供了境外商品条码信息的查询工具,请根据提示进行相关查询。欲了解GS1分配的前缀码,请点击:
1、目前,国际物品编码组织(GS1)已将690至69
9
之间的前缀码分配给中国物品编码中心使用,通常以这些前缀码开始的厂商识别代码都是由中国物品编码中心负责分配和管理的;以其他前缀码开始的则由境外GS1成员组织负责,一般称为"境外条码",以下为您提供了境外商品条码信息的查询工具,请根据提示进行相关查询。欲了解GS1分配的前缀码,请点击:
<a
href=
"/search/country"
target=
"_blank"
style=
"color: #5AC8FA;"
>
了解更多 >>
</a>
<a
href=
"/search/country"
target=
"_blank"
style=
"color: #5AC8FA;"
>
了解更多 >>
</a>
</p>
</p>
<p
style=
"color: #FF3B30;"
>
2、本查询仅适用于中华人民共和国境外注册的商品条码信息。
</p>
<p
style=
"color: #FF3B30;"
>
2、本查询仅适用于中华人民共和国境外注册的商品条码信息。
</p>
...
@@ -117,7 +119,7 @@ export default {
...
@@ -117,7 +119,7 @@ export default {
if
(
this
.
hasSpecialString
(
this
.
searchCodeShow
)){
if
(
this
.
hasSpecialString
(
this
.
searchCodeShow
)){
return
true
return
true
}
}
const
params
=
{
const
params
=
{
"code"
:
this
.
search
.
code
,
"code"
:
this
.
search
.
code
,
"type"
:
"GTIN"
,
"type"
:
"GTIN"
,
...
@@ -132,7 +134,7 @@ export default {
...
@@ -132,7 +134,7 @@ export default {
if
(
returnCode
===
"0"
)
{
if
(
returnCode
===
"0"
)
{
let
redirectUrl
=
'https://www.gds.org.cn/#/importList/index?type=importProduct&keyword='
+
this
.
search
.
code
let
redirectUrl
=
'https://www.gds.org.cn/#/importList/index?type=importProduct&keyword='
+
this
.
search
.
code
window
.
open
(
redirectUrl
,
'_blank'
)
window
.
open
(
redirectUrl
,
'_blank'
)
}
else
{
}
else
{
this
.
showResult
=
true
;
this
.
showResult
=
true
;
this
.
errorMsg
=
this
.
errorMsg
=
...
...
src/views/Search/img/query_external_banner2.png
0 → 100644
View file @
56b39fb7
268 KB
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