Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
cloudSystem
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
73a60f18
authored
Feb 28, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
href
parent
2beb2698
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
src/components/menu.vue
src/components/menu.vue
View file @
73a60f18
...
...
@@ -225,19 +225,19 @@
<span
style=
"margin-right: 4px;"
>
{{
JSON
.
parse
(
scope
.
row
.
msg_data
).
title
}}
</span>
<template
v-if=
"JSON.parse(scope.row.msg_data).cate_id == 6"
>
<a
style=
"color: #409EFF"
target=
"_blank"
:href=
"JSON.parse(scope.row.msg_data).link"
>
{{
JSON
.
parse
(
scope
.
row
.
msg_data
).
title_suffix
}}
</a>
<a
style=
"color: #409EFF"
:href=
"JSON.parse(scope.row.msg_data).link"
>
{{
JSON
.
parse
(
scope
.
row
.
msg_data
).
title_suffix
}}
</a>
</
template
>
<
template
v-else-if=
"JSON.parse(scope.row.msg_data).cate_id == 7"
>
<a
style=
"color: #1969F9"
target=
"_blank"
:href=
"JSON.parse(scope.row.msg_data).link"
>
{{
JSON
.
parse
(
scope
.
row
.
msg_data
).
title_suffix
}}
</a>
<a
style=
"color: #1969F9"
:href=
"JSON.parse(scope.row.msg_data).link"
>
{{
JSON
.
parse
(
scope
.
row
.
msg_data
).
title_suffix
}}
</a>
</
template
>
<
template
v-else-if=
"JSON.parse(scope.row.msg_data).cate_id == 8"
>
<a
style=
"color: #FF870E"
target=
"_blank"
:href=
"JSON.parse(scope.row.msg_data).link"
>
{{
JSON
.
parse
(
scope
.
row
.
msg_data
).
title_suffix
}}
</a>
<a
style=
"color: #FF870E"
:href=
"JSON.parse(scope.row.msg_data).link"
>
{{
JSON
.
parse
(
scope
.
row
.
msg_data
).
title_suffix
}}
</a>
</
template
>
<
template
v-else-if=
"JSON.parse(scope.row.msg_data).cate_id == 9"
>
<a
style=
"color: #FF0000"
target=
"_blank"
:href=
"JSON.parse(scope.row.msg_data).link"
>
{{
JSON
.
parse
(
scope
.
row
.
msg_data
).
title_suffix
}}
</a>
<a
style=
"color: #FF0000"
:href=
"JSON.parse(scope.row.msg_data).link"
>
{{
JSON
.
parse
(
scope
.
row
.
msg_data
).
title_suffix
}}
</a>
</
template
>
<
template
v-else
>
<a
style=
"color: #409EFF"
target=
"_blank"
:href=
"JSON.parse(scope.row.msg_data).link"
>
{{
JSON
.
parse
(
scope
.
row
.
msg_data
).
title_suffix
}}
</a>
<a
style=
"color: #409EFF"
:href=
"JSON.parse(scope.row.msg_data).link"
>
{{
JSON
.
parse
(
scope
.
row
.
msg_data
).
title_suffix
}}
</a>
</
template
>
</template>
</el-table-column>
...
...
@@ -257,7 +257,7 @@
<div
class=
"notice-content"
v-html=
"noticeMsg.content"
></div>
<div
class=
"enclosure row verCenter"
>
<span>
附件:
</span>
<a
class=
"down"
:href=
"noticeMsg.attachment_url "
target=
"_blank"
>
{{ noticeMsg.attachment_name || '暂无附件' }}
</a>
<a
class=
"down"
:href=
"noticeMsg.attachment_url "
>
{{ noticeMsg.attachment_name || '暂无附件' }}
</a>
</div>
<div
class=
"notice-bottom row bothSide verCenter"
>
<span>
发件人:深圳市猎芯科技有限公司
</span>
...
...
@@ -461,9 +461,9 @@ export default {
}
}
if
(
has_more
)
{
html
=
'
<
P
class
=
"notify-text"
><
b
>
' + data.date + '
<
/b><b>' + data.title + '</
b
><
a
style
=
"' + colorStyle + '"
target
=
"_blank"
href
=
"' + data.link + '"
>
' + data.title_suffix + '
<
/a><a style="margin-left: 8px;" class="alink" target="_blank"
href="' + data.has_more + '">更多>>></
a
><
/P>'
;
html
=
'
<
P
class
=
"notify-text"
><
b
>
' + data.date + '
<
/b><b>' + data.title + '</
b
><
a
style
=
"' + colorStyle + '"
href
=
"' + data.link + '"
>
' + data.title_suffix + '
<
/a><a style="margin-left: 8px;" class="alink"
href="' + data.has_more + '">更多>>></
a
><
/P>'
;
}
else
{
html
=
'
<
P
class
=
"notify-text"
><
b
>
' + data.date + '
<
/b><b>' + data.title + '</
b
><
a
style
=
"' + colorStyle + '"
target
=
"_blank"
href
=
"' + data.link + '"
>
' + data.title_suffix + '
<
/a></
P
>
';
html
=
'
<
P
class
=
"notify-text"
><
b
>
' + data.date + '
<
/b><b>' + data.title + '</
b
><
a
style
=
"' + colorStyle + '"
href
=
"' + data.link + '"
>
' + data.title_suffix + '
<
/a></
P
>
';
}
if (data.content.length > 0) {
htmlArr.push(html +
...
...
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