xm-todolist-detail.vue 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <template>
  2. <div>
  3. <div :class="$style.wrapbackground">
  4. <a-layout-header :class="$style.header">
  5. <div :class="$style.logo" />
  6. <div :class="$style.title">关键用户使用体验监测</div>
  7. </a-layout-header>
  8. </div>
  9. <div><user-todolist :class="$style.wrap"></user-todolist></div>
  10. </div>
  11. </template>
  12. <script>
  13. import components from './_import-components/xm-todolist-detail-import'
  14. import UserTodolist from './xm-user-todolist.vue'
  15. export default {
  16. name: 'XmTodolistDetail',
  17. metaInfo: {
  18. title: 'TodolistDetail',
  19. },
  20. components: {
  21. ...components,
  22. 'user-todolist': UserTodolist,
  23. },
  24. data() {
  25. return {}
  26. },
  27. methods: {},
  28. }
  29. </script>
  30. <style module lang="scss">
  31. @use '@/common/design' as *;
  32. .logo {
  33. float: left;
  34. width: 256px;
  35. height: 100%;
  36. background: url('~@custom/images/logo.png') no-repeat center;
  37. }
  38. .title {
  39. display: inline-block;
  40. float: left;
  41. height: 100%;
  42. font-size: $heading-4-size;
  43. }
  44. .right {
  45. float: right;
  46. }
  47. .wrapbackground {
  48. height: 100%;
  49. background: #01267b;
  50. }
  51. .header {
  52. &:global(.ant-layout-header) {
  53. padding: 0 20px 0 0;
  54. color: $text-color-inverse;
  55. background: $primary-10;
  56. }
  57. :global(.ant-btn-link) {
  58. color: $white;
  59. &:hover {
  60. color: $primary-2;
  61. }
  62. &:active {
  63. background-color: $disabled-color-dark;
  64. }
  65. }
  66. }
  67. body {
  68. background: #01267b;
  69. }
  70. .customwrap {
  71. height: 100%;
  72. overflow: scroll;
  73. }
  74. .wrap {
  75. height: 88%;
  76. }
  77. .box_xm-user-todolist_custom {
  78. height: 100%;
  79. }
  80. </style>