index.vue 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. <template>
  2. <div>
  3. <headTitle
  4. style="margin-top: 40px; margin-bottom: 10px;"
  5. :title="title"
  6. />
  7. <div class="OverallOverviewOfTheClient">
  8. <onlineQuestion />
  9. <qualityProcess />
  10. </div>
  11. </div>
  12. </template>
  13. <script>
  14. import headTitle from '@/components/headTitle'
  15. import onlineQuestion from './onlineQuestion'
  16. import qualityProcess from './qualityProcess'
  17. export default {
  18. components: {
  19. headTitle,
  20. onlineQuestion,
  21. qualityProcess
  22. },
  23. props: {
  24. title: {
  25. type: String,
  26. required: false,
  27. default: '整体概览'
  28. }
  29. },
  30. data() {
  31. return {
  32. tabsActive: 'APP',
  33. tabsList: ['APP', '小程序', 'Webapp', 'H5']
  34. }
  35. },
  36. methods: {
  37. tabClick(tab, event) {
  38. this.$emit('change', tab.name)
  39. }
  40. }
  41. }
  42. </script>
  43. <style lang="less" scoped>
  44. .OverallOverviewOfTheClient {
  45. display: flex;
  46. > * {
  47. flex: 1;
  48. &:nth-child(1) {
  49. margin-right: 5px;
  50. }
  51. &:nth-child(2) {
  52. margin-left: 5px;
  53. }
  54. }
  55. .report-title {
  56. position: relative;
  57. padding-bottom: 20px;
  58. line-height: 20px;
  59. color: #333;
  60. &::before {
  61. position: absolute;
  62. bottom: 0;
  63. left: -20px;
  64. content: '';
  65. width: calc(100% + 40px);
  66. border-bottom: 1px solid #e2e2e2;
  67. }
  68. .report-title-text {
  69. position: relative;
  70. top: -5px;
  71. }
  72. .report-icon-title {
  73. color: #333333;
  74. font-size: 30px;
  75. margin-right: 10px;
  76. }
  77. }
  78. }
  79. /deep/.el-tabs__active-bar{
  80. display: none;
  81. }
  82. /deep/.el-tabs__nav-wrap::after{
  83. display: none;
  84. }
  85. </style>