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; } } }