工作任务

This commit is contained in:
liuye
2022-11-21 15:02:35 +08:00
parent f22a4e7134
commit 3b1fb99f1c

View File

@@ -1,5 +1,5 @@
<template> <template>
<div class="work-task"> <div class="AppWorkTask">
<AiTopFixed> <AiTopFixed>
<u-tabs :list="tabs" height="88" bar-width="136" :current="index" @change="change"></u-tabs> <u-tabs :list="tabs" height="88" bar-width="136" :current="index" @change="change"></u-tabs>
</AiTopFixed> </AiTopFixed>
@@ -31,13 +31,13 @@
</div> </div>
</div> </div>
<AiEmpty v-else></AiEmpty> <AiEmpty v-else></AiEmpty>
<u-loadmore :status="status" v-if="list.length"/> <u-loadmore :status="status" v-if="list.length" />
<AiAdd @add="add"/> <AiAdd @add="add" />
</div> </div>
</template> </template>
<script> <script>
import { mapState } from 'vuex'
export default { export default {
appName: '工作任务', appName: '工作任务',
// components: {AiTopFixed, AiAdd, AiEmpty}, // components: {AiTopFixed, AiAdd, AiEmpty},
@@ -51,6 +51,7 @@
} }
}, },
computed: { computed: {
...mapState(['user']),
tabs() { tabs() {
return [ return [
{name: "我执行的"}, {name: "我执行的"},
@@ -149,7 +150,7 @@
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.work-task { .AppWorkTask {
min-height: 100%; min-height: 100%;
background-color: #F5F5F5; background-color: #F5F5F5;
padding-bottom: 32px; padding-bottom: 32px;