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
74b04f12
authored
Feb 20, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
css
parent
48d3c537
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
7 deletions
src/components/menu.vue
src/components/menu.vue
View file @
74b04f12
...
@@ -407,7 +407,6 @@ export default {
...
@@ -407,7 +407,6 @@ export default {
sessionStorage
.
removeItem
(
'msg_id'
);
sessionStorage
.
removeItem
(
'msg_id'
);
sessionStorage
.
setItem
(
'msg_id'
,
res
.
data
.
list
[
0
].
id
);
sessionStorage
.
setItem
(
'msg_id'
,
res
.
data
.
list
[
0
].
id
);
this
.
msg_id
=
res
.
data
.
list
[
0
].
id
;
//存储最新id
this
.
msg_id
=
res
.
data
.
list
[
0
].
id
;
//存储最新id
let
has_more
=
data
.
has_more
;
let
has_more
=
data
.
has_more
;
let
html
=
''
;
let
html
=
''
;
if
(
has_more
)
{
if
(
has_more
)
{
...
@@ -415,12 +414,17 @@ export default {
...
@@ -415,12 +414,17 @@ export default {
}
else
{
}
else
{
html
=
'
<
P
class
=
"notify-text"
><
b
>
' + data.date + '
<
/b><b>' + data.title + '</
b
><
a
class
=
"alink"
target
=
"_blank"
href
=
"' + data.link + '"
>
' + data.title_suffix + '
<
/a></
P
>
';
html
=
'
<
P
class
=
"notify-text"
><
b
>
' + data.date + '
<
/b><b>' + data.title + '</
b
><
a
class
=
"alink"
target
=
"_blank"
href
=
"' + data.link + '"
>
' + data.title_suffix + '
<
/a></
P
>
';
}
}
htmlArr.push(html +
if (data.content.length > 0) {
'
<
p
>
' + data.content[0].name + '
:
' + data.content[0].value + '
<
/p>'
+
htmlArr.push(html +
'
<
p
>
' + data.content[1].name + '
:
' + data.content[1].value + '
<
/p>'
+
'
<
p
>
' + data.content[0].name + '
:
' + data.content[0].value + '
<
/p>'
+
'
<
p
>
' + data.content[2].name + '
:
' + data.content[2].value + '
<
/p>'
+
'
<
p
>
' + data.content[1].name + '
:
' + data.content[1].value + '
<
/p>'
+
'
<
p
>
' + data.content[3].name + '
:
' + data.content[3].value + '
<
/p>'
+
'
<
p
>
' + data.content[2].name + '
:
' + data.content[2].value + '
<
/p>'
+
'
<
p
>
' + data.content[4].name + '
:
' + data.content[4].value + '
<
/p>'
)
;
'
<
p
>
' + data.content[3].name + '
:
' + data.content[3].value + '
<
/p>'
+
'
<
p
>
' + data.content[4].name + '
:
' + data.content[4].value + '
<
/p>'
)
;
}
else
{
htmlArr
.
push
(
html
+
'上架有效期到期后,该型号将会从【猎芯网】下架,不再进行展示;并且不参与【猎芯询报价】系统的自动推送询价'
);
}
this
.
countDown
();
this
.
countDown
();
this
.
$notify
({
this
.
$notify
({
title
:
'提示'
,
title
:
'提示'
,
...
@@ -429,6 +433,7 @@ export default {
...
@@ -429,6 +433,7 @@ export default {
message
:
htmlArr
.
join
(
''
),
message
:
htmlArr
.
join
(
''
),
position
:
'bottom-right'
position
:
'bottom-right'
});
});
}
else
{
}
else
{
this
.
$message
({
this
.
$message
({
message
:
res
.
msg
,
message
:
res
.
msg
,
...
...
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