@@ -34,7 +34,7 @@
</view>
- <view class="notice" >
+ <view class="notice" v-if="titleShow">
<view class="title">
停车场须知
@@ -52,6 +52,13 @@
export default {
data() {
return {
+ idList: [
+ '1597417780772667394',
+ '1597520273619877889',
+ '1597419066154876929',
+ '1598241772815319041'
+ ],
+ titleShow: false,
channelId:'',
detail:{},
message:"",
@@ -61,6 +68,13 @@
this.getNewsInfoDetail()
if(op.id){
this.channelId=op.id
+
+ for (var i = 0; i < this.idList.length; i++) {
+ if(this.idList[i] == this.channelId) {
+ this.titleShow = true;
+ }
this.getInfo()
}else{
uni.showModal({