emis-app/pages/tabBar/deal/deal.vue

145 lines
3.7 KiB
Vue
Raw Normal View History

2023-12-18 16:53:33 +00:00
<template>
2024-05-07 16:13:08 +00:00
<tpx-page>
<view>
<view class="dl-head">操作</view>
<view class="dl-blcok">
<view class="font-32 font-weight">网点发件</view>
<view class="mt-10">
<u-row justify="start" gutter="18" custom-style="flex-wrap: wrap;">
2024-05-08 15:44:43 +00:00
<buns-auth v-for="(item, index) in faBtnlist" :code="item.code">
<u-col span="3" @click="goto(item.url)">
<view class="dlb-item">
<u-image height="46" width="46" :src="item.icon"></u-image>
<view class="pt-10 font-26">{{item.title}}</view>
</view>
</u-col>
</buns-auth>
2024-05-07 16:13:08 +00:00
</u-row>
</view>
2023-12-19 17:58:00 +00:00
</view>
2024-05-07 16:13:08 +00:00
<view class="dl-blcok">
<view class="font-32 font-weight">网点到件</view>
<view class="mt-10">
<u-row justify="start" gutter="18" custom-style="flex-wrap: wrap;">
2024-05-08 15:44:43 +00:00
<buns-auth v-for="(item, index) in daoBtnlist" :code="item.code">
<u-col span="3" @click="goto(item.url)">
<view class="dlb-item">
<u-image height="46" width="46" :src="item.icon"></u-image>
<view class="pt-10 font-26">{{item.title}}</view>
</view>
</u-col>
</buns-auth>
2024-05-07 16:13:08 +00:00
</u-row>
</view>
</view>
<view class="dl-blcok">
<view class="font-32 font-weight">其他</view>
<view class="mt-10">
<u-row justify="start" gutter="18" custom-style="flex-wrap: wrap;">
2024-05-08 15:44:43 +00:00
<buns-auth v-for="(item, index) in otherBtnlist" :code="item.code">
<u-col span="3" @click="goto(item.url)">
<view class="dlb-item">
<u-image height="46" width="46" :src="item.icon"></u-image>
<view class="pt-10 font-26">{{item.title}}</view>
</view>
</u-col>
</buns-auth>
2024-05-07 16:13:08 +00:00
</u-row>
</view>
2023-12-18 16:53:33 +00:00
</view>
</view>
2024-05-07 16:13:08 +00:00
</tpx-page>
2023-12-18 16:53:33 +00:00
</template>
<script>
2024-05-08 14:40:16 +00:00
import { dealBtnMap } from "@/common/enum"
2023-12-18 16:53:33 +00:00
export default {
props: {
2023-12-19 17:58:00 +00:00
// hasLeftWin: {
// type: Boolean
// }
2023-12-18 16:53:33 +00:00
},
data() {
return {
2023-12-19 17:58:00 +00:00
faBtnlist: [
2024-05-08 14:40:16 +00:00
{ ...dealBtnMap.yunDanLuRu },
{ ...dealBtnMap.lanShou },
{ ...dealBtnMap.faJianScan },
{...dealBtnMap.fenBoScan},
{...dealBtnMap.heBaoScan},
{...dealBtnMap.yunDanXiuGai},
{ ...dealBtnMap.shouHuo },
{ ...dealBtnMap.zhuangGuiScan },
{ ...dealBtnMap.faJianQingDan },
{ ...dealBtnMap.chaiBaoScan },
{ ...dealBtnMap.baoGuanScan },
{ ...dealBtnMap.qingGuanScan },
{ ...dealBtnMap.zhuangCheScan },
{ ...dealBtnMap.zhengCheScan },
{ ...dealBtnMap.mianDanDayin },
2024-02-01 09:58:33 +00:00
],
2023-12-19 17:58:00 +00:00
daoBtnlist: [
2024-05-08 14:40:16 +00:00
{ ...dealBtnMap.daoJianScan },
{...dealBtnMap.paiJianScan},
{ ...dealBtnMap.qianShouScan },
{ ...dealBtnMap.daoPaiScan },
{ ...dealBtnMap.xieCheScan },
{ ...dealBtnMap.daoJianQingDan },
{ ...dealBtnMap.paiJianQingDan },
{ ...dealBtnMap.liuCangScan },
{ ...dealBtnMap.zhuanJianScan },
{ ...dealBtnMap.jinCangChaXun }
2023-12-19 17:58:00 +00:00
],
otherBtnlist: [
2024-05-08 14:40:16 +00:00
{ ...dealBtnMap.yunDanChaXun },
{ ...dealBtnMap.woDeErWeiMa },
{ ...dealBtnMap.baoJiaShiSuan },
{ ...dealBtnMap.wenTiJian },
{ ...dealBtnMap.mianDanDayin },
2024-05-29 09:01:58 +00:00
// { ...dealBtnMap.shuiFeiYuGu }
2023-12-18 16:53:33 +00:00
]
2023-12-19 17:58:00 +00:00
}
2023-12-18 16:53:33 +00:00
},
onShareAppMessage() {
return {
2023-12-19 17:58:00 +00:00
// title: '',
// path: 'TODO'
2023-12-18 16:53:33 +00:00
}
},
methods: {
}
}
</script>
<style lang="scss">
2023-12-18 17:39:22 +00:00
@import '@/common/uni-nvue.scss';
2023-12-19 17:58:00 +00:00
</style>
<style scoped lang="scss">
.dl-head{
background-color: #B12D29;
padding: 100rpx 30rpx 60rpx 30rpx;
color: #fff;
font-size: 36rpx;
font-weight: bold;
}
.dl-blcok{
background-color: #fff;
margin-top: 20rpx;
padding: 30rpx;
}
.dlb-item{
margin-top:20rpx;
flex-direction: column;
display: flex;
justify-content: center;
align-items: center;
2023-12-19 18:07:43 +00:00
border: 2rpx solid #F6F6F6;
2023-12-19 17:58:00 +00:00
border-radius: 16rpx;
2024-01-27 08:55:59 +00:00
height: 140rpx;
2023-12-19 17:58:00 +00:00
}
2023-12-18 16:53:33 +00:00
</style>