样式调整

This commit is contained in:
hongchao 2025-02-14 18:07:29 +08:00
parent 6eb97747c1
commit 272e1af13b
9 changed files with 131 additions and 32 deletions

View File

@ -1,6 +1,28 @@
<template> <template>
<view class="content"> <view class="content">
<view class="new-purchase"> <view class="new-purchase">
<div class="title-text">
<div></div>
<div class="purchase-title">信息采集</div>
</div>
<view
class="purchase-item"
:key="index"
@tap="onNavigateTo(item.url)"
v-for="(item, index) in newInfoList"
>
<image :src="item.iconSrc" mode="scaleToFill" />
<text>
{{ item.title }}
</text>
</view>
</view>
<view class="new-purchase">
<div class="title-text">
<div></div>
<div class="purchase-title">新购管理</div>
</div>
<view <view
class="purchase-item" class="purchase-item"
:key="index" :key="index"
@ -15,6 +37,10 @@
</view> </view>
<view class="new-purchase"> <view class="new-purchase">
<div class="title-text">
<div></div>
<div class="purchase-title">仓储管理</div>
</div>
<view <view
class="purchase-item" class="purchase-item"
:key="index" :key="index"
@ -29,6 +55,28 @@
</view> </view>
<view class="new-purchase"> <view class="new-purchase">
<div class="title-text">
<div></div>
<div class="purchase-title">修饰管理</div>
</div>
<view
class="purchase-item"
:key="index"
@tap="onNavigateTo(item.url)"
v-for="(item, index) in repairList"
>
<image :src="item.iconSrc" mode="scaleToFill" />
<text>
{{ item.title }}
</text>
</view>
</view>
<view class="new-purchase">
<div class="title-text">
<div></div>
<div class="purchase-title">配件管理</div>
</div>
<view <view
class="purchase-item" class="purchase-item"
:key="index" :key="index"
@ -43,19 +91,10 @@
</view> </view>
<view class="new-purchase"> <view class="new-purchase">
<view <div class="title-text">
class="purchase-item" <div></div>
:key="index" <div class="purchase-title">标准箱管理</div>
@tap="onNavigateTo(item.url)" </div>
v-for="(item, index) in repairList"
>
<image :src="item.iconSrc" mode="scaleToFill" />
<text>
{{ item.title }}
</text>
</view>
</view>
<view class="new-purchase">
<view class="purchase-item" :key="index" <view class="purchase-item" :key="index"
@tap="onNavigateTo(item.url)" @tap="onNavigateTo(item.url)"
v-for="(item, index) in boxList"> v-for="(item, index) in boxList">
@ -90,36 +129,70 @@
<script setup> <script setup>
import { ref } from 'vue' import { ref } from 'vue'
//
const newInfoList = ref([
{
title: '编码采集',
url: '',
iconSrc: '../../static/workbench/bianMa.png',
},
{
title: '盘点绑定',
url: '',
iconSrc: '../../static/workbench/panDian.png',
},
{
title: '日期更新',
url: '',
iconSrc: '../../static/workbench/panDian.png',
},
{
title: '铭牌更新',
url: '',
iconSrc: '../../static/workbench/minPai.png',
},
])
// //
const newPurchaseList = ref([ const newPurchaseList = ref([
{ {
title: '新购验收', title: '新购验收',
url: '/pages/new-purchase/accept/index', url: '/pages/new-purchase/accept/index',
iconSrc: '../../static/workbench/newInStore.png', iconSrc: '../../static/workbench/purchaseAccept.png',
}, },
// { title: '', url: '/pages/new-purchase/bind/index' }, // { title: '', url: '/pages/new-purchase/bind/index' },
{ {
title: '新购绑定', title: '新购绑定',
url: '/pages/new-purchase/bind/index', url: '/pages/new-purchase/bind/index',
iconSrc: '../../static/workbench/newInStore.png', iconSrc: '../../static/workbench/purchaseBind.png',
}, },
{ {
title: '新购入库', title: '新购入库',
url: '/pages/new-purchase/entry/index', url: '/pages/new-purchase/entry/index',
iconSrc: '../../static/workbench/newInStore.png', iconSrc: '../../static/workbench/purchaseBind.png',
}, },
]) ])
// //
const pickingList = ref([ const pickingList = ref([
{ {
title: '领料出库', title: '领料出库',
url: '/pages/picking/outbound/index', url: '/pages/picking/outbound/index',
iconSrc: '../../static/workbench/fetchMaterialOutStore.png', iconSrc: '../../static/workbench/backCreate.png',
},{ },
{
title: '退料创建',
url: '',
iconSrc: '../../static/workbench/backCreate.png',
},
{
title: '退料接收', title: '退料接收',
url: '/pages/back/index', url: '/pages/back/index',
iconSrc: '../../static/workbench/fetchMaterialOutStore.png', iconSrc: '../../static/workbench/backCreate.png',
},
{
title: '修试入库',
url: '/pages/repair/testedInBound/index',
iconSrc: '../../static/workbench/backCreate.png',
}, },
]) ])
@ -128,7 +201,7 @@ const partList = ref([
{ {
title: '配件领料', title: '配件领料',
url: '/pages/part/part-lease/index', url: '/pages/part/part-lease/index',
iconSrc: '../../static/workbench/fetchMaterialOutStore.png', iconSrc: '../../static/workbench/partInbound.png',
} }
]) ])
@ -137,22 +210,22 @@ const repairList = ref([
{ {
title: '维修', title: '维修',
url: '/pages/repair/repairManage/index', url: '/pages/repair/repairManage/index',
iconSrc: '../../static/workbench/fix.png', iconSrc: '../../static/workbench/repair.png',
}, },
{ {
title: '修试审核', title: '修试审核',
url: '/pages/repair/testExamine/index', url: '/pages/repair/testExamine/index',
iconSrc: '../../static/workbench/fix.png', iconSrc: '../../static/workbench/repair.png',
},
{
title: '修试入库',
url: '/pages/repair/testedInBound/index',
iconSrc: '../../static/workbench/fix.png',
}, },
// {
// title: '',
// url: '/pages/repair/testedInBound/index',
// iconSrc: '../../static/workbench/fix.png',
// },
{ {
title: '报废审核', title: '报废审核',
url: '/pages/repair/scrapExamine/index', url: '/pages/repair/scrapExamine/index',
iconSrc: '../../static/workbench/fix.png', iconSrc: '../../static/workbench/repair.png',
}, },
]) ])
@ -230,6 +303,32 @@ page {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
//
.purchase-title {
font-size: 32rpx;
font-weight: 600;
color: #262626;
}
.title-text {
margin-top: 20px;
padding: 10px 0;
display: flex;
align-items: center;
// font-size: 14px;
font-weight: bold;
letter-spacing: 1px;
width: 100%;
}
.title-text div:first-child {
width: 5px;
height: 20px;
margin-right: 8px;
background-color: #2d73cf;
}
// //
.purchase-item { .purchase-item {
width: 25%; width: 25%;
@ -246,8 +345,8 @@ page {
// //
image { image {
width: 88rpx; width: 180rpx;
height: 88rpx; height: 180rpx;
margin-bottom: 16rpx; margin-bottom: 16rpx;
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB