diff --git a/jiuyi2/App.vue b/jiuyi2/App.vue index 7b35e690..edff6b17 100644 --- a/jiuyi2/App.vue +++ b/jiuyi2/App.vue @@ -14,8 +14,6 @@ onLaunch(() => { getUserinfo() // 获取系统配置 getConfig() - // 获取未读消息数量 - getNoReadNum() }) // 获取用户信息 @@ -53,41 +51,6 @@ function getConfig() { } }) } - -// 获取未读消息数量 -async function getNoReadNum() { - // uni.removeTabBarBadge({ - // index: 2, - // text: "", - // }); - // api.getNoReadNum().then(rs => { - // if (rs.code == 200) { - // uni.setTabBarBadge({ - // index: 0, - // text: "11", - // }); - // } - // }) - - // uni.setTabBarBadge({ - // index: 2, - // text: "11", - // }); - - // const res = await uni.request({ url: 'API_URL' }); - // const count = res.data.unread; - - - // setTimeout(() => { - // uni.setTabBarBadge({ - // index: 1, - // text: '10', - // success: function () { - // console.log(11111); - // }, - // }) - // }, 1000) -} \ No newline at end of file diff --git a/jiuyi2/pages/merchant/order/index.vue b/jiuyi2/pages/merchant/order/index.vue deleted file mode 100644 index bed50595..00000000 --- a/jiuyi2/pages/merchant/order/index.vue +++ /dev/null @@ -1,68 +0,0 @@ - - - - - \ No newline at end of file diff --git a/jiuyi2/pages/merchant/specifications/index.vue b/jiuyi2/pages/merchant/specifications/index.vue deleted file mode 100644 index 4f7292cc..00000000 --- a/jiuyi2/pages/merchant/specifications/index.vue +++ /dev/null @@ -1,33 +0,0 @@ - - - - - \ No newline at end of file diff --git a/jiuyi2/pages/merchant/specifications/jy-specifications-card/index.vue b/jiuyi2/pages/merchant/specifications/jy-specifications-card/index.vue deleted file mode 100644 index 7afb47d1..00000000 --- a/jiuyi2/pages/merchant/specifications/jy-specifications-card/index.vue +++ /dev/null @@ -1,51 +0,0 @@ - - - - - \ No newline at end of file diff --git a/jiuyi2/pages/news/chatGroup.vue b/jiuyi2/pages/news/chatGroup.vue index b3ef684e..0ab363d6 100644 --- a/jiuyi2/pages/news/chatGroup.vue +++ b/jiuyi2/pages/news/chatGroup.vue @@ -59,7 +59,7 @@ // 移除监听 function removeListener() { - uni.$chat.off(TencentCloudChat.EVENT.GROUP_LIST_UPDATED); + uni.$chat.off(TencentCloudChat.EVENT.GROUP_LIST_UPDATED,()=>{}); } // 获取群组列表 diff --git a/jiuyi2/pages/news/news.vue b/jiuyi2/pages/news/news.vue index a81b3c52..29316378 100644 --- a/jiuyi2/pages/news/news.vue +++ b/jiuyi2/pages/news/news.vue @@ -1,161 +1,176 @@ \ No newline at end of file diff --git a/jiuyi2/pages/shop/store/components/jy-store-head/index.vue b/jiuyi2/pages/shop/store/components/jy-store-head/index.vue index 65249312..06380079 100644 --- a/jiuyi2/pages/shop/store/components/jy-store-head/index.vue +++ b/jiuyi2/pages/shop/store/components/jy-store-head/index.vue @@ -43,7 +43,6 @@ import { statusBarHeight, goBack } from '@/components/public/Mixins.js' -import JyCommonHead from '@/components/public/jy-common-head' import { shareToPlatform } from '@/components/public/share.js' const share_more = ref(null) const more_share_data = ref([])