diff --git a/HSLink-app/manifest.json b/HSLink-app/manifest.json index b4b693c..91c14d4 100644 --- a/HSLink-app/manifest.json +++ b/HSLink-app/manifest.json @@ -1,5 +1,5 @@ { - "name" : "peinikanxue", + "name" : "家校通", "appid" : "__UNI__7C9492E", "description" : "", "versionName" : "1.0.0", @@ -42,7 +42,44 @@ }, "ios" : {}, /* ios打包配置 */ - "sdkConfigs" : {} + "sdkConfigs" : { + "ad" : {} + }, + "icons" : { + "android" : { + "hdpi" : "unpackage/res/icons/72x72.png", + "xhdpi" : "unpackage/res/icons/96x96.png", + "xxhdpi" : "unpackage/res/icons/144x144.png", + "xxxhdpi" : "unpackage/res/icons/192x192.png" + }, + "ios" : { + "appstore" : "unpackage/res/icons/1024x1024.png", + "ipad" : { + "app" : "unpackage/res/icons/76x76.png", + "app@2x" : "unpackage/res/icons/152x152.png", + "notification" : "unpackage/res/icons/20x20.png", + "notification@2x" : "unpackage/res/icons/40x40.png", + "proapp@2x" : "unpackage/res/icons/167x167.png", + "settings" : "unpackage/res/icons/29x29.png", + "settings@2x" : "unpackage/res/icons/58x58.png", + "spotlight" : "unpackage/res/icons/40x40.png", + "spotlight@2x" : "unpackage/res/icons/80x80.png" + }, + "iphone" : { + "app@2x" : "unpackage/res/icons/120x120.png", + "app@3x" : "unpackage/res/icons/180x180.png", + "notification@2x" : "unpackage/res/icons/40x40.png", + "notification@3x" : "unpackage/res/icons/60x60.png", + "settings@2x" : "unpackage/res/icons/58x58.png", + "settings@3x" : "unpackage/res/icons/87x87.png", + "spotlight@2x" : "unpackage/res/icons/80x80.png", + "spotlight@3x" : "unpackage/res/icons/120x120.png" + } + } + }, + "splashscreen" : { + "androidStyle" : "common" + } } }, /* SDK配置 */ diff --git a/HSLink-app/pages/tabbar/message/chat-page.vue b/HSLink-app/pages/tabbar/message/chat-page.vue index f18a408..a01b954 100644 --- a/HSLink-app/pages/tabbar/message/chat-page.vue +++ b/HSLink-app/pages/tabbar/message/chat-page.vue @@ -45,12 +45,21 @@ //消息内容 messageContent: '', //私信列表 - letterList: [] + letterList: [], + //定时任务 + interval: {} } }, onShow() { this.updateRead(); this.getTwoLetterApp(); + + this.interval = setInterval(() => { + this.getTwoLetterApp(); + } ,1000); + }, + onBackPress() { + clearInterval(this.interval); }, onLoad() { uni.setNavigationBarTitle({