loan.vue 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <template>
  2. <view class="total-page page_env page-box">
  3. <Nav :title="'贷后管理'" :genre="1" :back="false" :fixedHeight="108"></Nav>
  4. <view class="task-tabs" :style="{top:`${$tools.topHeight()}px`}">
  5. <Search :placeholder="'贷款人姓名或电话'"></Search>
  6. <view class="page-box-bg-fff m-lr20 r-20">
  7. <z-tabs ref="tabs" :list="tabsList" :active-style="{color:'#10B261',fontWeight:'bold',fontSize:'30rpx'}"
  8. :bar-style="{background:'#10B261'}" :inactive-style="{fontWeight:'bold',fontSize:'28rpx'}"
  9. :current="current" :bar-animate-mode="'worm'" @change="tabsChange" />
  10. </view>
  11. </view>
  12. <!-- <EnButton is_both></EnButton> -->
  13. <TaskItem :type="1"></TaskItem>
  14. <Tab :tab-index="2"></Tab>
  15. </view>
  16. </template>
  17. <script>
  18. // 任务列表
  19. import TaskItem from "@/common/task/task-item.vue";
  20. export default {
  21. components: {
  22. TaskItem
  23. },
  24. data() {
  25. return {
  26. current: 0,
  27. tabsList: [{
  28. name: '全部',
  29. disabled: false
  30. }, {
  31. name: '已完成(6)',
  32. dot_color: 'red',
  33. is_dot:true,
  34. disabled: false
  35. }, {
  36. name: '未完成(6)',
  37. dot_color: '#000',
  38. is_dot:true,
  39. disabled: false
  40. }],
  41. }
  42. },
  43. watch: {
  44. },
  45. methods: {
  46. tabsChange(index) {
  47. this.current = index;
  48. },
  49. },
  50. }
  51. </script>
  52. <style lang="scss" scoped>
  53. </style>