no message

cyl/job_im
jscyl13849007907 1 week ago
parent 3362c31121
commit 49d3faded7

@ -53,8 +53,6 @@
</div> </div>
</div> </div>
<!--为最外层的大盒子--> <!--为最外层的大盒子-->
<!-- && appid != 'wxb0c590fd696b79be' -->
<!-- noticList.length > 0 && -->
<view class="g_flex_row_start flex_center g_bg_f g_ml_10 g_mr_10 g_radius_8" style="overflow: hidden;margin-top: 8px;" <view class="g_flex_row_start flex_center g_bg_f g_ml_10 g_mr_10 g_radius_8" style="overflow: hidden;margin-top: 8px;"
@click="getMore" @click="getMore"
> >
@ -67,7 +65,7 @@
}" }"
> >
<u-notice-bar ref="noticeBar" <u-notice-bar ref="noticeBar"
color="#333" :color="noticeColor"
padding="0rpx" padding="0rpx"
font-size="32" font-size="32"
style="width: calc(100% - 54px)" style="width: calc(100% - 54px)"
@ -307,10 +305,10 @@ 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 = [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.noticeColor = uni.getStorageSync("miniApp-info").noticeColor;
that.showNotic = "play"; that.showNotic = "play";
} }
console.log("that.noticList", that.noticList);
}, 100); }, 100);
}); });
that.isShowTab = true; that.isShowTab = true;
@ -388,14 +386,15 @@ 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 = [notice, notice]; that.noticList = [notice];
that.noticeColor = uni.getStorageSync("miniApp-info").noticeColor;
that.showNotic = "play"; that.showNotic = "play";
} }
console.log("that.noticList", that.noticList);
}, 100); }, 100);
}, },
data() { data() {
return { return {
noticeColor: "#333",
isAgency: uni.getStorageSync("apply-userinfo") && uni.getStorageSync("apply-userinfo").agencyId, isAgency: uni.getStorageSync("apply-userinfo") && uni.getStorageSync("apply-userinfo").agencyId,
isJm:uni.getStorageSync("apply-userinfo") && uni.getStorageSync("apply-userinfo").agencyId && uni.getStorageSync("apply-userinfo").agencyId == '114827', isJm:uni.getStorageSync("apply-userinfo") && uni.getStorageSync("apply-userinfo").agencyId && uni.getStorageSync("apply-userinfo").agencyId == '114827',
hrtext: 2, hrtext: 2,

Loading…
Cancel
Save