center-bottom-right.vue 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. <template>
  2. <div class="center-bottom-right">
  3. <titleComponent :titleData="titleData"></titleComponent>
  4. <div class="center-bottom-right-page">
  5. <div class="dv-scroll-board-title-box">
  6. <p>设施房间</p>
  7. <p>使用人所属
  8. 单位</p>
  9. <p>房间准入总
  10. 人数</p>
  11. <p>30日进入总
  12. 人次</p>
  13. <p>7日进入总
  14. 人次</p>
  15. </div>
  16. <p class="null-p" v-if="!config.data[0]">暂无数据</p>
  17. <dv-scroll-board :config="config" style="width:773px;height:540px;margin:0 24px;" v-if="config.data[0]"/>
  18. </div>
  19. </div>
  20. </template>
  21. <script>
  22. import titleComponent from './subcomponent/titleComponent.vue'
  23. export default {
  24. name: 'center-bottom-right',
  25. components: {
  26. titleComponent,
  27. },
  28. data () {
  29. return {
  30. titleData:{
  31. name:'资源设施使用频率排行',
  32. type:'bottom2',
  33. num:'6',
  34. },
  35. config: {
  36. rowNum: 7,
  37. columnWidth:[154,154,150,150,150],
  38. align:['center','center','center','center','center'],
  39. oddRowBGC: 'rgba(0,71,152,0.1)',
  40. evenRowBGC: 'rgba(0,0,0,0.1)',
  41. data: [
  42. ['A01','植保学院','4','96','9',],
  43. ['A02','植保学院','4','96','9',],
  44. ['A03','植保学院','4','96','9',],
  45. ['A04','植保学院','4','96','9',],
  46. ['A05','植保学院','4','96','9',],
  47. ['A06','植保学院','4','96','9',],
  48. ['A07','植保学院','4','96','9',],
  49. ['A08','植保学院','4','96','9',],
  50. ['A09','植保学院','4','96','9',],
  51. ['A010','植保学院','4','96','9',],
  52. ]
  53. },
  54. }
  55. },
  56. created(){
  57. },
  58. mounted(){
  59. },
  60. methods:{
  61. },
  62. }
  63. </script>
  64. <style scoped lang="scss">
  65. .center-bottom-right{
  66. width:821px;
  67. height:744px;
  68. .center-bottom-right-page{
  69. width:821px;
  70. height:664px;
  71. background-image: url("../../assets/ZDimages/icon_jrrs_bg@1x.png");
  72. background-size: 100% 100%;
  73. .dv-scroll-board-title-box{
  74. width: 773px;
  75. height: 80px;
  76. background: rgba(1,77,146,0.5);
  77. font-family: Source Han Sans CN;
  78. display: flex;
  79. margin:28px 24px 0;
  80. p{
  81. font-size:26px;
  82. color:#1476DF;
  83. text-align: center;
  84. line-height: 28px;
  85. margin-top:12px;
  86. }
  87. p:nth-child(1){
  88. width:160px;
  89. margin-top:26px;
  90. }
  91. p:nth-child(2){
  92. width:154px;
  93. }
  94. p:nth-child(3){
  95. width:150px;
  96. }
  97. p:nth-child(4){
  98. width:150px;
  99. }
  100. p:nth-child(5){
  101. width:150px;
  102. }
  103. }
  104. ::v-deep .ceil{
  105. font-size:26px;
  106. }
  107. }
  108. }
  109. </style>