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