|
|
|
|
@ -29,6 +29,8 @@ export default {
|
|
|
|
|
return this.G.shareFun();
|
|
|
|
|
},
|
|
|
|
|
onLoad(options) {
|
|
|
|
|
let that = this;
|
|
|
|
|
console.log('动态公告',options)
|
|
|
|
|
let appId = getApp().globalData.appId;
|
|
|
|
|
if (appId == "wx581db3f39c49ed2b") {
|
|
|
|
|
this.noticeImg = "https://bocai-cms.oss-cn-beijing.aliyuncs.com/web-resource/pugongying/notice/yinghua.png";
|
|
|
|
|
@ -43,13 +45,14 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
console.log(this.appInfo);
|
|
|
|
|
var reg = /[\r\n]/g;
|
|
|
|
|
if(options.cont){
|
|
|
|
|
this.appInfo.notice = options.cont;
|
|
|
|
|
}
|
|
|
|
|
this.noticList[0] = this.appInfo.notice.replace(reg, "");
|
|
|
|
|
this.notice = this.appInfo.notice;
|
|
|
|
|
this.sqlStr = this.appInfo.notice;
|
|
|
|
|
this.playState = "play";
|
|
|
|
|
if(options.cont){
|
|
|
|
|
that.appInfo.notice = options.cont;
|
|
|
|
|
that.notice = that.appInfo.notice;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
|