diff --git a/src/views/Home/Index.vue b/src/views/Home/Index.vue index 57a8e89..3c85233 100644 --- a/src/views/Home/Index.vue +++ b/src/views/Home/Index.vue @@ -256,4 +256,52 @@ getAllApi() text-overflow: ellipsis; white-space: nowrap; } + + +/* 功能网格 */ +.mobile-home__grid { + display: grid; + grid-template-columns: repeat(4, 1fr); + gap: 12px 6px; // 网格间距变小 + min-height: 100px; +} + +.mobile-home__grid-item { + display: flex; + flex-direction: column; + align-items: center; + gap: 4px; // 图标和文字间距变小 + cursor: pointer; + -webkit-tap-highlight-color: transparent; + + &:active { + opacity: 0.7; + } +} + +.mobile-home__grid-icon { + width: 65px; // 图标变大 + height: 65px; + border-radius: 14px; + display: flex; + align-items: center; + justify-content: center; + font-size: 26px; // 图标字体大小变大 + transition: transform 0.2s; + + &:active { + transform: scale(0.92); + } +} + +.mobile-home__grid-label { + font-size: 12px; // 文字略大,可根据需求微调 + color: #303133; + text-align: center; + line-height: 1.2; + max-width: 64px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} diff --git a/src/views/erp/stock/record/index.vue b/src/views/erp/stock/record/index.vue index 8825dbe..a13e729 100644 --- a/src/views/erp/stock/record/index.vue +++ b/src/views/erp/stock/record/index.vue @@ -1,205 +1,248 @@ - + + + diff --git a/src/views/erp/stock/stock/index.vue b/src/views/erp/stock/stock/index.vue index 7d55640..d3f0690 100644 --- a/src/views/erp/stock/stock/index.vue +++ b/src/views/erp/stock/stock/index.vue @@ -1,107 +1,137 @@ - + + + diff --git a/src/views/erp/stock/warehouse/WarehouseForm.vue b/src/views/erp/stock/warehouse/WarehouseForm.vue index 8a3f077..b19ec96 100644 --- a/src/views/erp/stock/warehouse/WarehouseForm.vue +++ b/src/views/erp/stock/warehouse/WarehouseForm.vue @@ -1,84 +1,104 @@ - + + + diff --git a/src/views/erp/stock/warehouse/index.vue b/src/views/erp/stock/warehouse/index.vue index 3b4e764..ba19805 100644 --- a/src/views/erp/stock/warehouse/index.vue +++ b/src/views/erp/stock/warehouse/index.vue @@ -1,142 +1,162 @@ - + +