#
whycq
2023-05-06 fe8804a0c9f4fda3910c95fc1c7e114b2b6fe08e
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,85 @@
   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: 'logOut',
                  color: 'grey',
                  cuIcon: 'exit',
                  url: '/login/logOut'
               },
            ],
         };
      }