#
whycq
2024-03-15 86bccbfa3fc4b3961914f9750091b412e7a126a4
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
@@ -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>