From 49bfb7c6c2afced096b77905467ab52eee7d839d Mon Sep 17 00:00:00 2001 From: lxz Date: Thu, 4 Jan 2024 11:32:58 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 12 +++- pages/Login/login.vue | 108 ++++++++++++++++++++++--------- pages/index/massif.vue | 25 ++++++- static/main/index/login_ad.png | Bin 3379 -> 1069 bytes static/main/index/login_r.png | Bin 0 -> 1051 bytes static/main/index/white_bg.png | Bin 0 -> 1136 bytes static/main/index/white_bg_r.png | Bin 0 -> 1068 bytes 7 files changed, 111 insertions(+), 34 deletions(-) create mode 100644 static/main/index/login_r.png create mode 100644 static/main/index/white_bg.png create mode 100644 static/main/index/white_bg_r.png diff --git a/App.vue b/App.vue index f182423..7377b6c 100644 --- a/App.vue +++ b/App.vue @@ -7,15 +7,23 @@ // uni.onSocketOpen(function(res) { // console.log('WebSocket连接已打开!'); + // // username: userInfo.value.master_phone, + // // device: 'lihai_lot_walnutpi_dev_' + userInfo.value.device_id + // uni.sendSocketMessage({ - // data: "你好,靓仔2" + // data: JSON.stringify({ + // "username": "1", + // "device": "lihai_lot_walnutpi_dev_5" + // }) // }); // }); // uni.onSocketError(function(res) { // console.log('WebSocket连接打开失败,请检查!'); // }); - + // uni.onSocketClose(function(res) { + // console.log('WebSocket 已关闭!'); + // }); }, onShow: function() { console.log('App Show') diff --git a/pages/Login/login.vue b/pages/Login/login.vue index d1c0b4f..9f319c2 100644 --- a/pages/Login/login.vue +++ b/pages/Login/login.vue @@ -17,27 +17,38 @@ 您好! - 欢迎进入吟龙土壤墒情监测溯系统! + 欢迎进入吟龙土壤墒情监测系统! - - -