|
|
|
@ -324,9 +324,7 @@ export default {
|
|
|
|
let notice = uni.getStorageSync("miniApp-info").notice;
|
|
|
|
let notice = uni.getStorageSync("miniApp-info").notice;
|
|
|
|
var reg = /[\r\n]/g;
|
|
|
|
var reg = /[\r\n]/g;
|
|
|
|
notice = notice.replace(reg, "");
|
|
|
|
notice = notice.replace(reg, "");
|
|
|
|
that.noticList = [];
|
|
|
|
that.noticList = [notice,notice,notice,notice,notice,notice,notice,notice,notice,notice,notice,notice,notice,notice,notice,notice,notice,notice,notice,notice,notice];
|
|
|
|
// that.noticList = notice;
|
|
|
|
|
|
|
|
that.noticList.push(notice);
|
|
|
|
|
|
|
|
that.showNotic = "play";
|
|
|
|
that.showNotic = "play";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
console.log("that.noticList", that.noticList);
|
|
|
|
console.log("that.noticList", that.noticList);
|
|
|
|
@ -384,9 +382,7 @@ export default {
|
|
|
|
let notice = uni.getStorageSync("miniApp-info").notice;
|
|
|
|
let notice = uni.getStorageSync("miniApp-info").notice;
|
|
|
|
var reg = /[\r\n]/g;
|
|
|
|
var reg = /[\r\n]/g;
|
|
|
|
notice = notice.replace(reg, "");
|
|
|
|
notice = notice.replace(reg, "");
|
|
|
|
that.noticList = [];
|
|
|
|
that.noticList = [notice, notice];
|
|
|
|
// that.noticList = notice;
|
|
|
|
|
|
|
|
that.noticList.push(notice);
|
|
|
|
|
|
|
|
that.showNotic = "play";
|
|
|
|
that.showNotic = "play";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
console.log("that.noticList", that.noticList);
|
|
|
|
console.log("that.noticList", that.noticList);
|
|
|
|
|