From 60c29bb25fdcac42004abfd81b0927d7e95360bf Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期五, 15 三月 2024 15:13:40 +0800 Subject: [PATCH] # --- pages/project/jmAGV/home.vue | 20 +++++++++++++++++++- 1 files changed, 19 insertions(+), 1 deletions(-) diff --git a/pages/project/jmAGV/home.vue b/pages/project/jmAGV/home.vue index 9797922..02e5634 100644 --- a/pages/project/jmAGV/home.vue +++ b/pages/project/jmAGV/home.vue @@ -1,5 +1,6 @@ <template> <view class="container"> + <uni-icons type="bars" size="30" color="#b1b3b8" class="select" @click="jump()"></uni-icons> <!-- 宸� --> <view class="zcard"> <view class="zcard-flex"> @@ -12,6 +13,7 @@ <view class="button-nk" style="background-color: brown;" v-for="item in traySiteList" @click="click(item,'right')">{{item.name}}</view> </view> </view> + <view> <uni-popup ref="revise" type="dialog"> @@ -119,6 +121,11 @@ this.token = uni.getStorageSync('token'); }, methods: { + jump() { + uni.navigateTo({ + url: '/pages/project/jmAGV/floorOne' + }) + }, click(item,type) { this.item = item this.text = item.name @@ -195,7 +202,7 @@ this.meterShow = false let that = this uni.request({ - url: `${that.baseUrl}/open/asrs/getEmptyMat`, + url: `${that.baseUrl}/agv/getEmptyMat`, header: { 'token': uni.getStorageSync('token') }, method: 'GET', success(res) { @@ -296,6 +303,7 @@ /* background-color: aqua; */ display: grid; grid-template-columns: 50% 50%; + width: 100%; } .btn-box { @@ -395,4 +403,14 @@ background-color: #09d174; color: #cecece; } + .select { + position: absolute; + bottom: 12px; + right: 16px; + border-radius: 10px; + padding: 4px 10px; + box-shadow: inset 2px 2px 2px rgba(0, 0, 0, .3), + inset -2px -2px 2px rgba(255, 255, 255, .7), + -2px -2px 2px rgba(0, 0, 0, .4); + } </style> -- Gitblit v1.9.1