This commit is contained in:
peihaoyu 2020-09-18 14:33:24 +08:00
parent 47bb90fc4d
commit f290b65694
2 changed files with 49 additions and 3 deletions

View File

@ -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 */

View File

@ -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({