|
|
@@ -73,7 +73,7 @@
|
|
|
noticeTextTime:60000,
|
|
|
//图片定时
|
|
|
noticeImgInterval:null,
|
|
|
- noticeImgTime:3000,
|
|
|
+ noticeImgTime:30000,
|
|
|
//滚动定时监测
|
|
|
noticeIntervalType:false,
|
|
|
/****图片数据****/
|
|
|
@@ -108,7 +108,7 @@
|
|
|
dashboardsMediaAnnouncements().then(res => {
|
|
|
if(res.data){
|
|
|
this.$set(this,'noticeIndex',0);
|
|
|
- this.$set(this,'noticeList',res.data);
|
|
|
+ this.$set(this,'noticeList',[res.data[2],res.data[3]]);
|
|
|
}else{
|
|
|
this.$set(this,'noticeIndex',0);
|
|
|
this.$set(this,'noticeList',[]);
|
|
|
@@ -207,7 +207,7 @@
|
|
|
}else{
|
|
|
setTimeout(function() {
|
|
|
self.dashboardsMediaAnnouncements();
|
|
|
- },30000)
|
|
|
+ },300)
|
|
|
}
|
|
|
},
|
|
|
initialize(item){
|
|
|
@@ -225,12 +225,7 @@
|
|
|
}else if(item.content.indexOf('.docx') != -1){
|
|
|
this.$set(this,'lookUrl',item.content);
|
|
|
this.$set(this,'pageType','2');
|
|
|
- }else if(item.content.indexOf('.png') != -1){
|
|
|
- this.$set(this,'pageType','3');
|
|
|
- setTimeout(function() {
|
|
|
- self.getImgData(item.content);
|
|
|
- },500)
|
|
|
- }else if(item.content.indexOf('.jpg') != -1){
|
|
|
+ }else if(item.content.indexOf('.png') != -1||item.content.indexOf('.jpg') != -1||item.content.indexOf('.jpeg') != -1||item.content.indexOf('.gif') != -1){
|
|
|
this.$set(this,'pageType','3');
|
|
|
setTimeout(function() {
|
|
|
self.getImgData(item.content);
|