pyt
2025-02-27 cb429a55a72f46bc8b749e0870b4a006fd066c78
H5/pages/index/index.vue
@@ -163,19 +163,19 @@
      methods: {
         Allread() {
            getread().then(resp => {
               console.log(resp, '=====');
               this.getMessagelist()
            })
         },
         getBanner() {
            getBanner().then(resp => {
               console.log(resp, '获取banner');
               this.bannerlist = resp.data
            })
         },
         getappletcinfo() {
            getappletcinfo().then(resp => {
               console.log(resp, '-----判断角色');
               this.userInfo = resp.data
               this.member = resp.data ? 2 : 1
               uni.setStorageSync('userInfo', resp.data)
@@ -188,7 +188,7 @@
               pageSize: 5
            }
            getMessagelist(data).then(resp => {
               console.log(resp, '获取消息列表');
               if (resp.data.records.length < 5 && this.pageNum == 1) {
                  this.msgListTotal = resp.data.records
                  this.isLoading = true
@@ -232,7 +232,7 @@
                  1)
               this.noreadlists = this.msgLists.filter(item => item.readStatus === 0)
               this.noreadlist = this.msgList.filter(item => item.readStatus === 0)
               console.log(this.msgListTotal, 'this.msgListTotal');
            })
         },
         changeActive(value) {
@@ -251,12 +251,12 @@
         },
         change() {
            console.log('1111');
         },
         onClick() {
            this.isClick = true
            console.log('this.isClick', this.isClick);
         },
         goTopage() {
            uni.navigateTo({