From 56a2db2b48115549a25b20bc203133524ea1812a Mon Sep 17 00:00:00 2001 From: GGJ <357021191@qq.com> Date: Mon, 23 Sep 2024 08:50:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20app=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/js/mqtt.js | 2 +- manifest.json | 4 +- pages/device/APF/report.vue | 2 +- pages/index/index.vue | 8 +- pages/index/message.vue | 51 + pages/message/message.vue | 9 +- pages/mine/about.vue | 2 +- .../uni-list-chat/uni-list-chat.vue | 1091 +++++++++-------- .../uni-list-item/uni-list-item.vue | 8 +- 9 files changed, 635 insertions(+), 542 deletions(-) diff --git a/common/js/mqtt.js b/common/js/mqtt.js index 951f5ea..7b13a36 100644 --- a/common/js/mqtt.js +++ b/common/js/mqtt.js @@ -1,4 +1,4 @@ -// export const MQTT_IP = '192.168.1.18:8083/mqtt'//mqtt地址端口, 使用emqx时一定要加mqtt +// export const MQTT_IP = '192.168.1.24:10215/mqtt'//mqtt地址端口, 使用emqx时一定要加mqtt export const MQTT_IP = 'pqmcn.com:8085/mqtt'//mqtt地址端口, 使用emqx时一定要加mqtt const MQTT_USERNAME = 't_user'//mqtt用户名 diff --git a/manifest.json b/manifest.json index 12c1338..fabcc27 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,8 @@ "name" : "灿能物联", "appid" : "__UNI__88BC25B", "description" : "", - "versionName" : "1.6.0", - "versionCode" : 160, + "versionName" : "1.6.1", + "versionCode" : 161, "transformPx" : false, /* 5+App特有相关 */ "app-plus" : { diff --git a/pages/device/APF/report.vue b/pages/device/APF/report.vue index 7dfaf4c..1d697f7 100644 --- a/pages/device/APF/report.vue +++ b/pages/device/APF/report.vue @@ -88,7 +88,7 @@ export default { onNavigationBarButtonTap(e) { uni.showModal({ title: '提示', - content: '确定要全部标记为已读吗1?', + content: '确定要全部标记为已读吗?', success: (res) => { if (res.confirm) { updateStatus({ diff --git a/pages/index/index.vue b/pages/index/index.vue index 6d8a5d7..b044853 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -30,7 +30,7 @@ - + - diff --git a/uni_modules/uni-list/components/uni-list-item/uni-list-item.vue b/uni_modules/uni-list/components/uni-list-item/uni-list-item.vue index 27db90a..62850e2 100644 --- a/uni_modules/uni-list/components/uni-list-item/uni-list-item.vue +++ b/uni_modules/uni-list/components/uni-list-item/uni-list-item.vue @@ -187,10 +187,10 @@ }, watch: { 'customStyle.padding': { - handler(padding) { - if(typeof padding == 'number'){ - padding += '' - } + handler(padding) { + if(typeof padding == 'number'){ + padding += '' + } let paddingArr = padding.split(' ') if (paddingArr.length === 1) { this.padding = {