This commit is contained in:
parent
637528d037
commit
02afa160c8
|
|
@ -84,7 +84,7 @@
|
|||
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>
|
||||
|
|
@ -95,16 +95,19 @@
|
|||
<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 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',
|
||||
|
|
@ -228,10 +231,10 @@ const partList = ref([
|
|||
// 维修
|
||||
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',
|
||||
},
|
||||
])
|
||||
|
||||
// 标准箱
|
||||
|
|
@ -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;
|
||||
|
|
@ -353,7 +356,6 @@ page {
|
|||
background-color: #2d73cf;
|
||||
}
|
||||
|
||||
|
||||
// 功能项样式
|
||||
.purchase-item {
|
||||
width: 25%;
|
||||
|
|
|
|||
Loading…
Reference in New Issue