This commit is contained in:
BianLzhaoMin 2025-06-15 15:28:56 +08:00
parent 637528d037
commit 02afa160c8
1 changed files with 29 additions and 27 deletions

View File

@ -16,7 +16,7 @@
{{ item.title }}
</text>
</view>
</view>
</view>
<view class="new-purchase">
<div class="title-text">
@ -34,8 +34,8 @@
{{ item.title }}
</text>
</view>
</view>
</view>
<view class="new-purchase">
<div class="title-text">
<div></div>
@ -71,7 +71,7 @@
</text>
</view>
</view>
<view class="new-purchase">
<div class="title-text">
<div></div>
@ -84,27 +84,30 @@
v-for="(item, index) in partList"
>
<image :src="item.iconSrc" mode="scaleToFill" />
<text style="white-space: nowrap;font-size: 26rpx;">
<text style="white-space: nowrap; font-size: 26rpx">
{{ item.title }}
</text>
</view>
</view>
<view class="new-purchase">
<div class="title-text">
<div></div>
<div class="purchase-title">标准箱管理</div>
</div>
<view class="purchase-item" :key="index"
<view
class="purchase-item"
:key="index"
@tap="onNavigateTo(item.url)"
v-for="(item, index) in boxList">
v-for="(item, index) in boxList"
>
<image :src="item.iconSrc" mode="scaleToFill" />
<text>
{{ item.title }}
</text>
</view>
</view>
<!-- <view class="new-purchase">
</view>
<!-- <view class="new-purchase">
<view class="purchase-item" :key="index"
@tap="onNavigateTo(item.url)"
v-for="(item, index) in searchList">
@ -146,7 +149,7 @@ const newInfoList = ref([
url: '',
iconSrc: '../../static/workbench/panDian.png',
},
{
{
title: '铭牌更新',
url: '',
iconSrc: '../../static/workbench/minPai.png',
@ -193,7 +196,7 @@ const pickingList = ref([
// title: '退',
// url: '',
// iconSrc: '../../static/workbench/backCreate.png',
// },
// },
{
title: '退料接收',
url: '/pages/back/index',
@ -223,15 +226,15 @@ const partList = ref([
// url: '',
// iconSrc: '../../static/workbench/partApprove.png',
// }
])
])
//
const repairList = ref([
{
title: '机具定损',
url: '/pages/repair/equipAssessment/index',
iconSrc: '../../static/workbench/repair.png',
},
title: '机具定损',
url: '/pages/repair/equipAssessment/index',
iconSrc: '../../static/workbench/repair.png',
},
{
title: '维修',
url: '/pages/repair/repairManage/index',
@ -247,11 +250,11 @@ const repairList = ref([
// url: '/pages/repair/testedInBound/index',
// iconSrc: '../../static/workbench/fix.png',
// },
{
title: '报废审核',
url: '/pages/repair/scrapExamine/index',
iconSrc: '../../static/workbench/repair.png',
},
{
title: '报废审核',
url: '/pages/repair/scrapExamine/index',
iconSrc: '../../static/workbench/repair.png',
},
])
//
@ -280,7 +283,7 @@ const boxList = ref([
// url: '/pages/stquery/deviceStatusRecord/index',
// iconSrc: '../../static/workbench/fix.png',
// },
// ])
// //
@ -303,6 +306,7 @@ const boxList = ref([
// ])
const onNavigateTo = (url) => {
uni.setStorageSync('scrollTop', null)
uni.navigateTo({ url })
}
</script>
@ -310,14 +314,13 @@ const onNavigateTo = (url) => {
<style lang="scss">
page {
overflow: hidden;
overflow-y: auto;
overflow-y: auto;
}
.content {
padding: 24rpx;
min-height: 100vh;
background-color: #f7f8fa;
//
.new-purchase {
background-color: #fff;
@ -343,7 +346,7 @@ page {
// font-size: 14px;
font-weight: bold;
letter-spacing: 1px;
width: 100%;
width: 100%;
}
.title-text div:first-child {
@ -353,7 +356,6 @@ page {
background-color: #2d73cf;
}
//
.purchase-item {
width: 25%;