From 3b9a0380f8dfb24964c0afbd635dc7d2f013d475 Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期一, 08 五月 2023 10:38:58 +0800 Subject: [PATCH] # --- pages/home/home.vue | 144 ++++++++++++++++++++++++++++------------------- 1 files changed, 85 insertions(+), 59 deletions(-) diff --git a/pages/home/home.vue b/pages/home/home.vue index 6ebdd2d..7f03271 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -2,7 +2,7 @@ <view> <scroll-view scroll-y class="page"> <view class="nav-list"> - <navigator hover-class='none' :url="'/pages/component/' + item.name" class="nav-li" navigateTo :class="'bg-'+item.color" + <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"> <view class="nav-title">{{item.title}}</view> <view class="nav-name">{{item.name}}</view> @@ -18,66 +18,92 @@ export default { data() { return { - elements: [{ - title: '鎿嶄綔鏉�', - name: 'bar', - color: 'purple', - cuIcon: 'vipcard' - }, + elements: [ { - title: '瀵艰埅鏍� ', - name: 'nav', - color: 'mauve', - cuIcon: 'formfill' - }, - { - title: '鍒楄〃', - name: 'list', - color: 'pink', - cuIcon: 'list' - }, - { - title: '鍗$墖', - name: 'card', - color: 'brown', - cuIcon: 'newsfill' - }, - { - title: '琛ㄥ崟', - name: 'form', - color: 'red', - cuIcon: 'formfill' - }, - { - title: '鏃堕棿杞�', - name: 'timeline', - color: 'orange', - cuIcon: 'timefill' - }, - { - title: '鑱婂ぉ', - name: 'chat', - color: 'green', - cuIcon: 'messagefill' - }, - { - title: '杞挱', - name: 'swiper', - color: 'olive', - cuIcon: 'album' - }, - { - title: '妯℃�佹', - name: 'modal', - color: 'grey', - cuIcon: 'squarecheckfill' - }, - { - title: '姝ラ鏉�', - name: 'steps', + title: '缁勬墭鍏ュ簱', + name: 'pakin', color: 'cyan', - cuIcon: 'roundcheckfill' - } + cuIcon: 'pullup', + url: '/pakin/pakin' + }, + { + title: '璁㈠崟鍏ュ簱', + name: 'orderPakin', + color: 'blue', + cuIcon: 'pullup', + url: '/order/orderPakin' + }, + { + title: '鎵撳嵃', + name: 'print', + color: 'purple', + cuIcon: 'text', + url: '/print/print' + }, + { + title: '璁㈠崟涓婃灦', + name: 'orderPutOn', + color: 'mauve', + cuIcon: 'pullup', + url: '/order/orderPutOn' + }, + { + title: '璁㈠崟涓嬫灦', + name: 'orderPutDown', + color: 'pink', + cuIcon: 'pulldown', + url: '/order/orderPutDown' + }, + { + title: '搴撳瓨鏌ヨ', + name: 'stockQuery', + color: 'brown', + cuIcon: 'check', + url: '/stock/stockQuery' + }, + { + title: '鐩樼偣', + name: 'stockCheck', + color: 'red', + cuIcon: 'post', + url: '/stock/stockCheck' + }, + { + title: '鍟嗗搧鍒楄〃', + name: 'matList', + color: 'orange', + cuIcon: 'post', + url: '/mat/matList' + }, + { + title: '琛ヨ揣', + name: 'restock', + color: 'yellow', + cuIcon: 'punch', + url: '/stock/restock' + }, + { + title: '杞叏鏉�', + name: 'piking', + color: 'olive', + cuIcon: 'order', + url: '/pakin/piking' + }, + { + title: '鎹㈡澘缁戝畾', + name: 'changePallet', + color: 'green', + cuIcon: 'order', + url: '/stock/changePallet' + }, + { + title: '閫�鍑虹櫥褰�', + name: 'logOut', + color: 'grey', + cuIcon: 'exit', + url: '/login/logOut' + }, + ], }; } -- Gitblit v1.9.1