index.vue 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. <template>
  2. <div id="app">
  3. <Header></Header>
  4. <Banner></Banner>
  5. </div>
  6. </template>
  7. <script>
  8. import Header from '@/common/headers.vue'
  9. import Banner from '@/components/resource/list.vue'
  10. export default {
  11. components: {
  12. Header,
  13. Banner
  14. },
  15. data() {
  16. return {
  17. }
  18. },
  19. mounted() {
  20. }
  21. }
  22. </script>
  23. <style scoped>
  24. html, body, #app {
  25. height: 100% !important;
  26. /*-moz-user-select: none; /*火狐 firefox*/
  27. /*-webkit-user-select: none;/ /*webkit浏览器*/
  28. /*-ms-user-select: none;*/ /*IE10+*/
  29. /*user-select: none;*/
  30. }
  31. .main-content {
  32. position: relative;
  33. width: 100%;
  34. min-width: 1200px;
  35. min-height: 768px;
  36. background: url("http://chq.dygl.pujiaoyun.cn/static/img/banner.071530a.jpg") center 100% no-repeat;
  37. height: 100%;
  38. display: flex;
  39. flex-direction: column;
  40. align-items: center;
  41. padding-top: 50px;
  42. }
  43. .center {
  44. display: flex;
  45. flex-direction: row;
  46. justify-content: center;
  47. align-items: center;
  48. }
  49. .centerCol {
  50. display: flex;
  51. flex-direction: column;
  52. justify-content: center;
  53. align-items: center;
  54. }
  55. .overlay-wrap {
  56. padding: 20px 10px;
  57. background-color: rgba(218, 218, 218, 0.08);
  58. margin-top: 50px;
  59. }
  60. .logo {
  61. width: 200px;
  62. height: 200px;
  63. margin-bottom: 50px;
  64. }
  65. .btn-login {
  66. width: 150px;
  67. margin-top: 15px;
  68. background-color: rgba(204,204,204,.37) !important;
  69. border-color: #87888a !important;
  70. }
  71. .suc-text {
  72. color: #fff;
  73. font-size: 14px;
  74. font-weight: 200;
  75. }
  76. .user-wrap {
  77. position: absolute;
  78. right: 50px;
  79. top: 50px;
  80. color: white;
  81. font-size: 14px;
  82. font-weight: 200;
  83. }
  84. .ivu-avatar {
  85. background-color: #30a6e1 !important;
  86. margin-right: 10px;
  87. }
  88. .btn-exit {
  89. font-size: 12px;
  90. cursor: pointer;
  91. margin-left: 15px;
  92. }
  93. .select-role {
  94. margin-top: 15px;
  95. }
  96. .select-role /deep/ .ivu-select {
  97. color: #000 !important;
  98. width: 150px !important;
  99. }
  100. .select-role .ivu-select-selection {
  101. background-color: rgba(255,255,255,.18) !important;
  102. border-color: #373737 !important;
  103. }
  104. .select-role-wrap {
  105. background-color: rgba(218, 218, 218, 0.08);
  106. padding: 5px;
  107. justify-content: normal;
  108. flex-wrap: wrap;
  109. max-width: 930px;
  110. }
  111. .role-item {
  112. width: 210px;
  113. height: 210px;
  114. background-color: rgba(179,179,179,.15);
  115. margin: 10px;
  116. color: #c5c5c5;
  117. font-size: 14px;
  118. font-weight: 200;
  119. cursor: pointer;
  120. }
  121. .role-item:hover {
  122. background: rgba(179,179,179,.42);
  123. color: #fff;
  124. }
  125. .title {
  126. font-size: 26px;
  127. font-weight: 200;
  128. color: #fff;
  129. margin-bottom: 20px;
  130. }
  131. .role-name {
  132. margin-top: 10px;
  133. }
  134. </style>