通知和提示

This commit is contained in:
2020-08-28 14:51:35 +08:00
parent 40e252c400
commit 1305931e3b
7 changed files with 134 additions and 17 deletions

View File

@@ -12,9 +12,9 @@
<image src="" ></image>
</view>
<view class="names">活动消息</view>
<view class="content u-line-1">12121212</view>
<view class="times">12121</view>
<view class="tishi" v-if="true"></view>
<view class="content u-line-1">{{huodong.data.title}}</view>
<view class="times">{{huodong.data.addtime}}</view>
<view class="tishi" v-if="huodong.count != 0"></view>
</view>
<!-- <u-empty text="并没有什么消息" mode="message" v-if="Object.keys(list).length == 0" style="margin: auto"></u-empty> -->
<view class="massage_list" v-for="(item,index) in list" :key="index" @click="gochat(item)">
@@ -37,6 +37,11 @@
list: [
],
huodong:{
data:{
}
}
};
},
methods: {
@@ -73,6 +78,10 @@
const res = uni.getSystemInfoSync();
this.swiperHeight = res.windowHeight;
this.list = this.imService.friends;
this.$u.api.isread().then((res)=>{
console.log(res)
this.huodong = res.data
})
}
};
</script>