|
|
|
|
@ -301,11 +301,11 @@ export default {
|
|
|
|
|
console.log("that.showNotic1", that.showNotic);
|
|
|
|
|
that.getJobNum();
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
if (uni.getStorageSync("miniApp-info").notice) {
|
|
|
|
|
let notice = uni.getStorageSync("miniApp-info").notice || '愿祖国繁荣富强,山河锦绣如画;盼华夏儿女同心,共筑盛世中华!';
|
|
|
|
|
let _notice = uni.getStorageSync("miniApp-info").notice || '愿祖国繁荣富强,山河锦绣如画;盼华夏儿女同心,共筑盛世中华!';
|
|
|
|
|
if (_notice) {
|
|
|
|
|
var reg = /[\r\n]/g;
|
|
|
|
|
notice = notice.replace(reg, "");
|
|
|
|
|
that.noticList = [notice];
|
|
|
|
|
_notice = _notice.replace(reg, "");
|
|
|
|
|
that.noticList = [_notice];
|
|
|
|
|
that.noticeColor = uni.getStorageSync("miniApp-info").noticeColor;
|
|
|
|
|
that.showNotic = "play";
|
|
|
|
|
}
|
|
|
|
|
@ -392,11 +392,11 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
if (uni.getStorageSync("miniApp-info").notice) {
|
|
|
|
|
let notice = uni.getStorageSync("miniApp-info").notice || '愿祖国繁荣富强,山河锦绣如画;盼华夏儿女同心,共筑盛世中华!';
|
|
|
|
|
let _notice = uni.getStorageSync("miniApp-info").notice || '愿祖国繁荣富强,山河锦绣如画;盼华夏儿女同心,共筑盛世中华!';
|
|
|
|
|
if (_notice) {
|
|
|
|
|
var reg = /[\r\n]/g;
|
|
|
|
|
notice = notice.replace(reg, "");
|
|
|
|
|
that.noticList = [notice];
|
|
|
|
|
notice = _notice.replace(reg, "");
|
|
|
|
|
that.noticList = [_notice];
|
|
|
|
|
that.noticeColor = uni.getStorageSync("miniApp-info").noticeColor;
|
|
|
|
|
that.showNotic = "play";
|
|
|
|
|
}
|
|
|
|
|
|