优化蜂箱录入

This commit is contained in:
3321822538@qq.com 2024-11-21 10:51:59 +08:00
parent 30eb2768e2
commit 8f179a4d25
4 changed files with 25 additions and 8 deletions

View File

@ -1,6 +1,6 @@
<template>
<view class="pages">
<u-navbar title="设备录入" :border-bottom="false" :background="bgc" title-size='38' title-color='#000'
<u-navbar title="设备录入" :border-bottom="false" :background="bgc" title-size='38' title-color='#000' :custom-back="btns"
back-icon-color="#000" height='50'></u-navbar>
<view class="title">
<text>设备录入列表</text>
@ -124,9 +124,14 @@
// this.videoContext = uni.createVideoContext('myVideo', this)
},
methods: {
btns(){
uni.reLaunch({
url:'/pages/my'
})
},
//
btnkzt(){
uni.navigateTo({
uni.reLaunch({
url:'/page_user/lurutwo'
})
},
@ -294,7 +299,7 @@
//
createBLEConnections(e) {
let Bluetoothmac = e.name.substring(5)
uni.navigateTo({
uni.reLaunch({
url:'/page_user/luruone?mac=' + Bluetoothmac
})
},

View File

@ -1,6 +1,6 @@
<template>
<view class="page">
<u-navbar title="设备录入" :border-bottom="false" :background="bgc" title-color='#000' back-icon-color="#000" title-size='38'
<u-navbar title="设备录入" :border-bottom="false" :background="bgc" title-color='#000' back-icon-color="#000" title-size='38' :custom-back="btns"
height='50'></u-navbar>
<view class="iptbox" @click="backpage()">
@ -177,6 +177,11 @@
},
methods: {
btns(){
uni.reLaunch({
url:'/page_user/luru'
})
},
confirm(e) {
// console.log(e);
this.banben = e[0].label
@ -264,7 +269,7 @@
deviceId: this.deviceId,
})
setTimeout(()=>{
uni.navigateTo({
uni.reLaunch({
url:'/page_user/lurutwo?sn=' + this.storeId
})
},1500)

View File

@ -1,6 +1,6 @@
<template>
<view class="">
<u-navbar title="设备控制" :border-bottom="false" :background="bgc" title-color='#000' back-icon-color="#000"
<u-navbar title="设备控制" :border-bottom="false" :background="bgc" title-color='#000' back-icon-color="#000" :custom-back="btnshang"
title-size='36' height='50'></u-navbar>
<view class="title">
控制台
@ -127,6 +127,11 @@
this.clearInterval();
},
methods: {
btnshang(){
uni.reLaunch({
url:'/page_user/luru'
})
},
startInterval() {
//
const timerCallback = () => {
@ -225,7 +230,9 @@
//
btnfh() {
uni.navigateBack()
uni.reLaunch({
url:'/page_user/luru'
})
},
//

View File

@ -68,7 +68,7 @@
methods: {
//
btnluru(){
uni.navigateTo({
uni.reLaunch({
url:'/page_user/luru'
})
},