新增任务
This commit is contained in:
parent
2e7f28d0ce
commit
9b3698abfa
@ -1,25 +1,57 @@
|
||||
<template>
|
||||
<view class="c_task">
|
||||
<taskItem></taskItem>
|
||||
<view class="c_task_index">
|
||||
<u-sticky bgColor="#f5f5f5" offsetTop="44px">
|
||||
<u-tabs :list="tabLists" @click="changeCurrent" lineColor='#3274F9' :scrollable="false"
|
||||
inactiveStyle='color:#666' activeStyle="color:#3274F9"></u-tabs>
|
||||
</u-sticky>
|
||||
<view class="c_task_index_list">
|
||||
<taskItem v-for="item in 20"></taskItem>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import taskItem from "./taskItem.vue"
|
||||
export default {
|
||||
name:"task",
|
||||
components: {taskItem},
|
||||
name: "task",
|
||||
components: { taskItem },
|
||||
data() {
|
||||
return {
|
||||
|
||||
current: 0,
|
||||
tabLists: [{
|
||||
name: '全部',
|
||||
}, {
|
||||
name: '已完成'
|
||||
}, {
|
||||
name: '未完成'
|
||||
}],
|
||||
loadConfig: {
|
||||
page: 1,
|
||||
limit: 15,
|
||||
lastpage: '',
|
||||
loadingText: '努力加载中',
|
||||
loadmoreText: '轻轻上拉',
|
||||
nomoreText: '我也是有底线的~~',
|
||||
status: 'loadmore'
|
||||
},
|
||||
list: []
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
changeCurrent(e) {
|
||||
this.current = e.index;
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.c_task{
|
||||
padding-top: 28rpx;
|
||||
padding-bottom: 100rpx;
|
||||
}
|
||||
.c_task_index {
|
||||
padding-bottom: 100rpx;
|
||||
|
||||
.c_task_index_list {
|
||||
padding-top: 28rpx;
|
||||
|
||||
}
|
||||
}
|
||||
</style>
|
@ -38,7 +38,7 @@
|
||||
<view class="company_info" v-show="current==2">
|
||||
<companyFinance></companyFinance>
|
||||
</view>
|
||||
<view class="company_info" v-show="current==3">
|
||||
<view v-show="current==3">
|
||||
<task></task>
|
||||
</view>
|
||||
</view>
|
||||
|
Loading…
x
Reference in New Issue
Block a user