From a717b2ecfd0c8d95042886d07ad38e6be6e277d7 Mon Sep 17 00:00:00 2001 From: xiangxy Date: Thu, 8 Dec 2022 16:49:33 +0800 Subject: [PATCH] home --- pages/home/home.vue | 60 ++++++++++++++++++++++----------------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/pages/home/home.vue b/pages/home/home.vue index 1ed872e..ff0284d 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -39,14 +39,14 @@ export default { data() { return { - menu: [{url: '/pages/ProductManage/SboProdProgress', name: '生箔生产进度'}, {url: '/pages/ProductManage/SboProcess', name: '生箔工序'}, {url: '/pages/ProductManage/BakeProcess', name: '烘烤工序'}, {url: '/pages/ProductManage/PointManage', name: '点位管理'}, {url: '/pages/ProductManage/EmptyPipeInStore', name: '空管入库'}, {url: '/pages/ProductManage/EmptyPipeOutStore', name: '空管出库'}, {url: '/pages/ProductManage/ZjCasing', name: '子卷套管'}, {url: '/pages/ProductManage/ZjDelivery', name: '子卷配送'}, {url: '/pages/ProductManage/ZjInStore', name: '子卷进站'}, {url: '/pages/ProductManage/ZjOutStore', name: '子卷出站'}, {url: '/pages/WarehouseManage/SemifinishedInStore', name: '半成品入库'}, {url: '/pages/WarehouseManage/CheckList', name: '盘点管理'}, {url: '/pages/WarehouseManage/SemifinishedOutStore', name: '半成品出库'}, {url: '/pages/WarehouseManage/ReturngoodsInStore', name: '退货入库'}, {url: '/pages/WarehouseManage/ScrapInStore', name: '报废入库'}, {url: '/pages/WarehouseManage/InStoreConfirm', name: '生产入库'}, {url: '/pages/WarehouseManage/ProdDeliveryConfirm', name: '生产区发货确认'}, {url: '/pages/WarehouseManage/XuniDelivery', name: '虚拟区发货'}, {url: '/pages/WarehouseManage/EmptyInStore', name: '空载具入库'}, {url: '/pages/WarehouseManage/EmptyOutStore', name: '空载具出库'}, {url: '/pages/WarehouseManage/CustomerLabelPrint', name: '客户标签打印'}], - menuList: [], - show: false, + menu: [{url: '/pages/ProductManage/SboProdProgress', name: '生箔生产进度'}, {url: '/pages/ProductManage/SboProcess', name: '生箔工序'}, {url: '/pages/ProductManage/BakeProcess', name: '烘烤工序'}, {url: '/pages/ProductManage/ManmadeBake', name: '人工烘烤'}, {url: '/pages/ProductManage/PointManage', name: '点位管理'}, {url: '/pages/ProductManage/EmptyPipeInStore', name: '空管入库'}, {url: '/pages/ProductManage/EmptyPipeOutStore', name: '空管出库'}, {url: '/pages/ProductManage/ZjCasing', name: '子卷套管'}, {url: '/pages/ProductManage/ZjDelivery', name: '子卷配送'}, {url: '/pages/ProductManage/ZjInStore', name: '子卷进站'}, {url: '/pages/ProductManage/ZjOutStore', name: '子卷出站'}, {url: '/pages/WarehouseManage/SemifinishedInStore', name: '半成品入库'}, {url: '/pages/WarehouseManage/CheckList', name: '盘点管理'}, {url: '/pages/WarehouseManage/SemifinishedOutStore', name: '半成品出库'}, {url: '/pages/WarehouseManage/ReturngoodsInStore', name: '退货入库'}, {url: '/pages/WarehouseManage/ScrapInStore', name: '报废入库'}, {url: '/pages/WarehouseManage/InStoreConfirm', name: '生产入库'}, {url: '/pages/WarehouseManage/ProdDeliveryConfirm', name: '生产区发货确认'}, {url: '/pages/WarehouseManage/XuniDelivery', name: '虚拟区发货'}, {url: '/pages/WarehouseManage/EmptyInStore', name: '空载具入库'}, {url: '/pages/WarehouseManage/EmptyOutStore', name: '空载具出库'}, {url: '/pages/WarehouseManage/CustomerLabelPrint', name: '客户标签打印'}], + menuList: [], + show: false, secM: [] }; }, - created () { - this._authority() + created () { + this._authority() }, methods: { async _authority () { @@ -55,9 +55,9 @@ }, toPage1 (e) { - if (e.sonTree.length > 0) { - this.show = true - this.secM = e.sonTree + if (e.sonTree.length > 0) { + this.show = true + this.secM = e.sonTree } }, toPage2 (e) { @@ -132,40 +132,40 @@ .menu-name _font(28rpx, 38rpx, #444,,center) .sec_menu_wraper - position fixed - top 0 - left 0 - _wh(100%, 100%) - background-color rgba(0, 0, 0, .9) - z-index 2017 + position fixed + top 0 + left 0 + _wh(100%, 100%) + background-color rgba(0, 0, 0, .9) + z-index 2017 flex-direction column .sec_menu_w _fj() - _wh(100%, calc(100% - 100rpx)) - padding 0 24rpx - flex-wrap wrap - align-content center - &::after - content '' - display block + _wh(100%, calc(100% - 100rpx)) + padding 0 24rpx + flex-wrap wrap + align-content center + &::after + content '' + display block _wh(30%,0) .sec_menu-col - background-color transparent - border none + background-color transparent + border none height auto .sec_menu-col_inner _fj(center) - _wh(160rpx, 160rpx) - border-radius 50% - background-color $yellow + _wh(160rpx, 160rpx) + border-radius 50% + background-color $yellow margin 0 auto .menu-name_inner color #fff padding 0 20rpx .cancel - _wh(100%, 100rpx) - padding 0 24rpx - overflow hidden - background-color rgba(255, 255, 255, .3) + _wh(100%, 100rpx) + padding 0 24rpx + overflow hidden + background-color rgba(255, 255, 255, .3) box-shadow 0 1rpx 4rpx 0 rgba(160,160,160,0.9)