loan.vue 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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. // .page-box{
  54. // height: 100vh;
  55. // background-image: url("https://wealfavor-1257406827.cos.ap-beijing.myqcloud.com/new-xcx/index/index-bg.png?imageMogr2/quality/20");
  56. // background-repeat: no-repeat;
  57. // background-size: 100% auto;
  58. // display: flex;
  59. // flex-direction: column;
  60. // .top-data{
  61. // flex: 1;
  62. // overflow: hidden;
  63. // .top-row{
  64. // height: 680rpx;
  65. // }
  66. // }
  67. // .bottom-data{
  68. // }
  69. // }
  70. </style>