no message

cyl/master
jscyl13849007907 1 week ago
parent ce0d1e71b1
commit 912f1504fd

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

Loading…
Cancel
Save