From bac73fb0b9bc55eb76a26adbc8ada71a1566a8de Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期三, 26 六月 2024 12:38:47 +0800 Subject: [PATCH] # --- pages/home/home.vue | 67 +++++++++++---------------------- 1 files changed, 23 insertions(+), 44 deletions(-) diff --git a/pages/home/home.vue b/pages/home/home.vue index 2ad9a04..2fb44c5 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -4,7 +4,7 @@ <view class="nav-list"> <navigator hover-class='none' :url="'/pages' + item.url" class="nav-li" navigateTo :class="'bg-'+item.color" :style="[{animation: 'show ' + ((index+1)*0.2+1) + 's 1'}]" - v-for="(item,index) in elements" :key="index"> + v-for="(item,index) in elements2" :key="index"> <view class="nav-title">{{item.title}}</view> <view class="nav-name">{{item.name}}</view> <text :class="'cuIcon-' + item.cuIcon"></text> @@ -32,42 +32,21 @@ url: '/pakin/pakin' }, { - title: '鍐嶆鎷f枡', - name: 'changePallet', - color: 'green', - cuIcon: 'order', - url: '/pakin/pickAgain' - }, - { - title: 'AGV缁勬墭', - name: 'AGVPakin', - color: 'blue', + title: '瀹氱偣鍑哄簱', + name: 'pakin', + color: 'yellow', cuIcon: 'pullup', - url: '/AGV/AGVPakin' + url: '/pakin/pakin2' }, - { - title: 'AGV涓婃灦缁戝畾', - name: 'AGVPakinBing', - color: 'mauve', - // cuIcon: 'pullup', - url: '/AGV/AGVPakinBing' - }, - { - title: 'AGV鍚姩鍏ュ簱', - name: 'AGVStart', - color: 'pink', - // cuIcon: 'pullup', - url: '/AGV/AGVStart' - }, - { - title: 'AGV涓婃灦缁勬墭', - name: 'AGVPakinOn', - color: 'brown', - // cuIcon: 'pullup', - url: '/AGV/AGVPakinOn' - }, - { - title: '璁㈠崟缁勬墭', + // { + // title: '鍐嶆鎷f枡', + // name: 'changePallet', + // color: 'green', + // cuIcon: 'order', + // url: '/pakin/pickAgain' + // }, + /* { + title: '璁㈠崟鍏ュ簱', name: 'orderPakin', color: 'red', cuIcon: 'pullup', @@ -80,13 +59,13 @@ cuIcon: 'pullup', url: '/pakin/putOn' }, - // { - // title: '鎵撳嵃', - // name: 'print', - // color: 'purple', - // cuIcon: 'text', - // url: '/print/print' - // }, + { + title: '鎵撳嵃', + name: 'print', + color: 'purple', + cuIcon: 'text', + url: '/print/print' + }, { title: '璁㈠崟涓婃灦', name: 'orderPutOn', @@ -142,7 +121,7 @@ color: 'green', cuIcon: 'order', url: '/stock/changePallet' - }, + }, */ { title: '閫�鍑虹櫥褰�', name: 'logOut', @@ -158,7 +137,7 @@ onShow() { this.baseUrl = uni.getStorageSync('baseUrl'); this.token = uni.getStorageSync('token'); - this.getAuth() + // this.getAuth() }, methods: { getAuth() { -- Gitblit v1.9.1