| | |
| | | methods: { |
| | | Allread() { |
| | | getread().then(resp => { |
| | | |
| | | |
| | | this.getMessagelist() |
| | | }) |
| | | }, |
| | | getBanner() { |
| | | getBanner().then(resp => { |
| | | |
| | | |
| | | this.bannerlist = resp.data |
| | | }) |
| | | }, |
| | | getappletcinfo() { |
| | | getappletcinfo().then(resp => { |
| | | |
| | | |
| | | this.userInfo = resp.data |
| | | this.member = resp.data ? 2 : 1 |
| | | uni.setStorageSync('userInfo', resp.data) |
| | |
| | | pageSize: 5 |
| | | } |
| | | getMessagelist(data).then(resp => { |
| | | |
| | | |
| | | if (resp.data.records.length < 5 && this.pageNum == 1) { |
| | | this.msgListTotal = resp.data.records |
| | | this.isLoading = true |
| | |
| | | 1) |
| | | this.noreadlists = this.msgLists.filter(item => item.readStatus === 0) |
| | | this.noreadlist = this.msgList.filter(item => item.readStatus === 0) |
| | | |
| | | |
| | | }) |
| | | }, |
| | | changeActive(value) { |
| | |
| | | |
| | | }, |
| | | change() { |
| | | |
| | | |
| | | }, |
| | | |
| | | onClick() { |
| | | this.isClick = true |
| | | |
| | | |
| | | }, |
| | | goTopage() { |
| | | uni.navigateTo({ |
| | |
| | | getComplaintDetail({ |
| | | id: params.id |
| | | }).then(res => { |
| | | console.log('res', res) |
| | | |
| | | this.info = { |
| | | ...res.data |
| | | } |