公告模块重构样式

This commit is contained in:
Z
2022-02-21 13:27:46 +08:00
parent 4f7096a9c4
commit 57cba65206
7 changed files with 263 additions and 616 deletions

View File

@@ -72,11 +72,11 @@
this.getFriendList()
},
methods: {
onSearch(val) {
if (val) {
var ix = []
onSearch() {
if (this.searchTxt) {
console.log(this.searchTxt)
this.friends = this.orignalFriends.map((list, index) => {
const resList = list.filter(item => item.name.indexOf(val) > 0)
const resList = list.filter(item => item.name.indexOf(this.searchTxt) > 0)
if (resList.length > 0) {
this.indexs = this.orignalIndexs.map((t, i) => {})
} else {