Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
rs-pc
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
注册表
注册表
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
翟畅
rs-pc
Commits
18c8b296
提交
18c8b296
authored
12月 29, 2023
作者:
翟畅
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
zc资讯表格样式
上级
b2d4bf8a
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
24 行增加
和
5 行删除
+24
-5
package-lock.json
package-lock.json
+3
-3
index.vue
src/views/marketingService/index.vue
+4
-2
detail.vue
src/views/pressCenter/detail.vue
+17
-0
没有找到文件。
package-lock.json
浏览文件 @
18c8b296
...
...
@@ -7191,9 +7191,9 @@
}
},
"jquery"
:
{
"version"
:
"3.
5
.1"
,
"resolved"
:
"https://registry.npm
js.org/jquery/-/jquery-3.5
.1.tgz"
,
"integrity"
:
"sha512-
XwIBPqcMn57FxfT+Go5pzySnm4KWkT1Tv7gjrpT1srtf8Weynl6R273VJ5GjkRb51IzMp5nbaPjJXMWeju2MK
g=="
,
"version"
:
"3.
7
.1"
,
"resolved"
:
"https://registry.npm
mirror.com/jquery/-/jquery-3.7
.1.tgz"
,
"integrity"
:
"sha512-
m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLf
g=="
,
"dev"
:
true
},
"js-base64"
:
{
...
...
src/views/marketingService/index.vue
浏览文件 @
18c8b296
...
...
@@ -243,7 +243,7 @@
<
script
>
import
{
marketDownListAPI
,
marketContactUsListAPI
,
marketGroupBuyListAPI
,
marketDistributorListAPI
,
marketRetailListAPI
,
marketPiracyListAPI
,
getAdsignAPI
}
from
"@/api/home/index"
import
{
resourceLink
,
BASE_URL
}
from
"@/utils/global.js"
import
{
resourceLink
,
BASE_URL
,
fileUrl
}
from
"@/utils/global.js"
import
comHeader
from
"@/components/comHeader.vue"
import
comFooter
from
"@/components/comFooter.vue"
import
levitate
from
"@/components/index/levitate.vue"
...
...
@@ -276,6 +276,7 @@ export default {
return
{
resourceLink
,
BASE_URL
,
fileUrl
,
currentDownIndex
:
null
,
downLoadList
:[],
contactDetailList
:[],
...
...
@@ -404,7 +405,8 @@ export default {
//下载服务
downLoadInfo
(
item
){
if
(
item
.
file
){
window
.
open
(
this
.
BASE_URL
+
'/file/file/download/filePath?path='
+
item
.
file
)
window
.
open
(
this
.
fileUrl
+
'download/'
+
item
.
file
)
// window.open(this.BASE_URL + '/file/file/download/filePath?path=' + item.file)
}
else
{
this
.
$message
.
warning
(
'该资源无法下载'
)
}
...
...
src/views/pressCenter/detail.vue
浏览文件 @
18c8b296
...
...
@@ -130,12 +130,26 @@ export default {
specialDetAPI
(
this
.
id
).
then
((
res
)
=>
{
if
(
res
.
data
.
code
==
0
){
this
.
pressDetailInfo
=
res
.
data
.
data
let
str
=
/<table/g
if
(
this
.
pressDetailInfo
.
synopsis
){
this
.
pressDetailInfo
.
synopsis
=
this
.
pressDetailInfo
.
synopsis
.
replace
(
str
,
'<table border="1"'
)
}
if
(
this
.
pressDetailInfo
.
content
){
this
.
pressDetailInfo
.
content
=
this
.
pressDetailInfo
.
content
.
replace
(
str
,
'<table border="1"'
)
}
}
})
}
else
{
homeNewsDetailAPI
(
this
.
id
).
then
((
res
)
=>
{
if
(
res
.
data
.
code
==
0
){
this
.
pressDetailInfo
=
res
.
data
.
data
let
str
=
/<table/g
if
(
this
.
pressDetailInfo
.
synopsis
){
this
.
pressDetailInfo
.
synopsis
=
this
.
pressDetailInfo
.
synopsis
.
replace
(
str
,
'<table border="1"'
)
}
if
(
this
.
pressDetailInfo
.
content
){
this
.
pressDetailInfo
.
content
=
this
.
pressDetailInfo
.
content
.
replace
(
str
,
'<table border="1"'
)
}
}
})
}
...
...
@@ -295,6 +309,9 @@ export default {
margin-bottom: 8px;
text-decoration: none;
}
/deep/ table{
transform: translateX(32px);
}
}
.fileDownBox{
width: 100%;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论