Commit 453bf5ec by Lyan
parents 0602736c 56b39fb7
......@@ -6,11 +6,7 @@
<div class="health-detail" v-if="detailInfo==''||detailInfo==null||detailInfo==undefined">没有可显示的内容!</div>
<div class="health-detail" v-else v-html="detailInfo"></div>
<!-- </div>
</div> -->
</div>
</template>
<script>
......@@ -51,6 +47,7 @@ export default {
window.open(data.jumppath, "_self");
}
console.log('medicalAndHealthDetailById', returnCode, data)
if (data.content) data.content = data.content.replace(/autoplay="autoplay"/g, '')
this.detailInfo = data.content;
this.$store.commit("system/SET_BREADCRUMB", [
{ name: "应用领域", path: "/News/index" },
......
<template>
<div class="search-content">
<div class="banner-box">
<img src="./img/query_external_banner.jpeg"
@click="openUrl(`https://import.gds.org.cn/#/home/index`)"/>
<img src="./img/query_external_banner2.png"
@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 class="title">境外条码信息查询</div>
<div class="body">
......@@ -117,7 +119,7 @@ export default {
if(this.hasSpecialString(this.searchCodeShow)){
return true
}
const params = {
"code": this.search.code,
"type": "GTIN",
......@@ -132,7 +134,7 @@ export default {
if (returnCode === "0") {
let redirectUrl='https://www.gds.org.cn/#/importList/index?type=importProduct&keyword='+this.search.code
window.open(redirectUrl, '_blank')
} else {
this.showResult = true;
this.errorMsg =
......
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