Commit 74b04f12 by LJM

css

parent 48d3c537
Showing with 12 additions and 7 deletions
......@@ -407,7 +407,6 @@ export default {
sessionStorage.removeItem('msg_id');
sessionStorage.setItem('msg_id', res.data.list[0].id);
this.msg_id = res.data.list[0].id;//存储最新id
let has_more = data.has_more;
let html = '';
if (has_more) {
......@@ -415,12 +414,17 @@ export default {
} 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>';
}
htmlArr.push(html +
'<p>' + data.content[0].name + '' + data.content[0].value + '</p>' +
'<p>' + data.content[1].name + '' + data.content[1].value + '</p>' +
'<p>' + data.content[2].name + '' + data.content[2].value + '</p>' +
'<p>' + data.content[3].name + '' + data.content[3].value + '</p>' +
'<p>' + data.content[4].name + '' + data.content[4].value + '</p>');
if (data.content.length > 0) {
htmlArr.push(html +
'<p>' + data.content[0].name + '' + data.content[0].value + '</p>' +
'<p>' + data.content[1].name + '' + data.content[1].value + '</p>' +
'<p>' + data.content[2].name + '' + data.content[2].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.$notify({
title: '提示',
......@@ -429,6 +433,7 @@ export default {
message: htmlArr.join(''),
position: 'bottom-right'
});
} else {
this.$message({
message: res.msg,
......
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 sign in to comment