From 8be0ed5b773420ac48fb72636445f22b4e88153c Mon Sep 17 00:00:00 2001 From: gaoting <837082729@qq.com> Date: Mon, 23 Oct 2023 16:50:58 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=8A=A0=E6=8C=89=E9=92=AE=20+=20title?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 2 +- src/pages/index.vue | 22 ++++++++++++++++++---- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index fb81ddc..1749996 100644 --- a/index.html +++ b/index.html @@ -9,7 +9,7 @@ '') - + 灯板上料机人机交互 diff --git a/src/pages/index.vue b/src/pages/index.vue index adaae72..274ecd3 100644 --- a/src/pages/index.vue +++ b/src/pages/index.vue @@ -1,7 +1,7 @@ @@ -21,6 +24,7 @@ import http from "../config/request.js"; let load1 = ref(false); let load2 = ref(false); let load3 = ref(false); +let load4 = ref(false) let data = ref({}); const feed = async () => { @@ -51,6 +55,16 @@ const rest = async () => { console.log(res); }; +const reposition = async () => { + // load4.value = true; + const res = await http.post({ + url: "/agvinteractionlabel/ResetElevator", + params: data.value, + }); + // load4.value = false; + console.log(res); +}; + onMounted(() => { const idData = uni.getStorageSync("agv_id"); if (!idData) { @@ -95,9 +109,9 @@ onMounted(() => { button { min-width: 320px; width: 100%; - height: 8vh; - line-height: 8vh; - font-size: 1.6rem; + height: 5vh; + line-height: 5vh; + font-size: 1.3rem; } } }