diff --git a/manifest.json b/manifest.json index bf621a3..e9a261a 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "appid" : "__UNI__933D519", "description" : "", "versionName" : "1.1.0", - "versionCode" : "23", + "versionCode" : "24", "transformPx" : false, /* 小程序特有相关 */ "mp-weixin" : { diff --git a/pages/home/home.vue b/pages/home/home.vue index 874f957..9e3ae1e 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -5,7 +5,7 @@ - + @@ -14,7 +14,7 @@ - 填加锁时,手机必须在锁旁边 + 添加锁时,手机必须在锁旁边 diff --git a/pages/notificationList/notificationList.vue b/pages/notificationList/notificationList.vue index 28b8412..25d4c38 100644 --- a/pages/notificationList/notificationList.vue +++ b/pages/notificationList/notificationList.vue @@ -2,7 +2,7 @@ + :refresher-triggered="refresherTriggered" @scroll="scroll"> @@ -11,7 +11,8 @@ + :threshold="50" @click="deleteNotification(notification, index)" :index="index" + :name="index"> @@ -78,6 +79,13 @@ export default { timeFormat, ...mapActions(useNotificationStore, ['getNotificationList', 'updateNotificationSearch', 'updateNotificationItem','deleteNotificationItem']), ...mapActions(useBasicStore, ['routeJump', 'getDeviceInfo', 'getNetworkType']), + scroll(e) { + this.$refs.swipeItem.forEach(item => { + if(item.show) { + item.closeHandler() + } + }) + }, async deleteNotification (notification, index) { const netWork = await this.getNetworkType() if (!netWork) { diff --git a/pages/setting/setting.vue b/pages/setting/setting.vue index 9149230..39f3c1b 100644 --- a/pages/setting/setting.vue +++ b/pages/setting/setting.vue @@ -2,7 +2,7 @@ - 名称 + 名称 {{currentLockInfo.lockAlias}}