pad-app/components/sider-bar/slider-bar.vue

64 lines
1.3 KiB
Vue
Raw Permalink Normal View History

2023-07-05 10:56:11 +08:00
<template>
<view class="sidebar">
<navigator url="/pages/index/index" open-type="redirect">
<view class="item" :class="path==1?'active':''">
装船指令
</view>
</navigator>
<navigator url="/pages/discharge/index" open-type="redirect">
<view class="item" :class="path==2?'active':''">
卸船指令
</view>
</navigator>
<navigator url="/pages/shipWork/index" open-type="redirect">
<view class="item" :class="path==3?'active':''">
船舶作业
</view>
</navigator>
2023-08-18 17:28:11 +08:00
<navigator url="/pages/quality/index" open-type="redirect">
<view class="item" :class="path==4?'active':''">
货物质量
</view>
2023-08-18 17:28:11 +08:00
</navigator>
2023-07-06 17:08:59 +08:00
<navigator url="/pages/monitor/index" open-type="redirect">
<view class="item" :class="path==5?'active':''">
场位监控
</view>
</navigator>
2023-07-03 17:49:29 +08:00
</view>
2023-07-05 10:56:11 +08:00
</template>
<script>
export default {
name: "footTab",
props: {
path: {
type: [String || Number]
},
},
onLoad() {
},
components: {},
methods: {
}
};
</script>
2023-07-26 14:31:09 +08:00
<style lang="less" scoped>
2023-07-05 10:56:11 +08:00
.sidebar {
min-width: 100px;
2023-07-05 10:56:11 +08:00
background-color: #f2f2f2;
.item {
height: 45px;
line-height: 45px;
text-align: center;
color: #999999;
}
.active {
color: #5573d7;
}
}
</style>