血透系统pad前端

index.vue 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <template>
  2. <div class="mainBox">
  3. <side-bar :active_index="0"></side-bar>
  4. <div class="mainContent">
  5. <record-page></record-page>
  6. </div>
  7. </div>
  8. </template>
  9. <script>
  10. import RecordPage from "./RecordPage";
  11. import SideBar from "@/pages/layout/SideBar"
  12. export default {
  13. name: "Main",
  14. components: {
  15. RecordPage,
  16. SideBar,
  17. },
  18. };
  19. </script>
  20. <style style="stylesheet/scss" lang="scss" scoped>
  21. html,
  22. body {
  23. height: 100%;
  24. }
  25. .mainBox {
  26. height: 100%;
  27. font-size:0.3rem;
  28. background: #fff;
  29. .sideColumn {
  30. .column {
  31. .head {
  32. @include display-flex;
  33. @include align-items-center;
  34. @include flex-direction;
  35. @include text-align;
  36. @include justify-content-center;
  37. margin: 0.5rem 0 0.5rem 0;
  38. img {
  39. width: 100%;
  40. height: 100%;
  41. border-radius: 0.5rem;
  42. width: 0.7rem;
  43. height: 0.7rem;
  44. }
  45. }
  46. .sidebar {
  47. @include display-flex;
  48. @include align-items-center;
  49. @include flex-direction;
  50. @include text-align;
  51. padding: 0;
  52. li {
  53. padding: 0 0 0.8rem 0;
  54. a {
  55. color: #a8b3ba;
  56. display: inline-block;
  57. padding: 0;
  58. margin: 0;
  59. p {
  60. font-size: 0.24rem;
  61. margin-top: 0.2rem;
  62. }
  63. .iconfont {
  64. font-size: 0.5rem;
  65. display: inline-block;
  66. }
  67. }
  68. &.active {
  69. a {
  70. color: #409eff;
  71. }
  72. }
  73. }
  74. }
  75. }
  76. }
  77. }
  78. .mainContent{
  79. margin: 0 0 0 1.58rem;
  80. }
  81. </style>