jeecgBootUniapp/src/pagess-process/approvalTabbar.vue
2025-05-19 09:52:19 +08:00

45 lines
839 B
Vue

<route lang="json5" type="page">
{
layout: 'default',
style: {
navigationStyle: 'custom',
navigationBarTitleText: '流程审批导航',
},
}
</route>
<template>
<PageLayout nav-title="运行流程" >
<wd-tabs v-model="tab" swipeable color="#39b54a" autoLineWidth>
<wd-tab title="我的任务">
<myTask></myTask>
</wd-tab>
<wd-tab title="历史任务">
<view class="content">内容1</view>
</wd-tab>
</wd-tabs>
</PageLayout>
</template>
<script setup lang="ts">
import {
useAppStore
} from '@/store'
import {
ref
} from 'vue'
import {
onLoad,
onShow
} from '@dcloudio/uni-app';
import myTask from './components/myTask.vue'
const appStore = useAppStore();
const tab = ref(0)
</script>
<style scoped lang="scss">
::v-deep .wd-tabs__line{
background: #39b54a;
}
</style>