App.vue 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  1. <template>
  2. <div v-if="this.$store.state.isLogin" class="main-container">
  3. <HeaderVue class="header"></HeaderVue>
  4. <div class="main-app">
  5. <div class="aside"><AsideVue></AsideVue></div>
  6. <div class="section">
  7. <div class="first-title">
  8. {{ this.$store.state.firstTitle }}
  9. </div>
  10. <div class="main-section"><router-view></router-view></div>
  11. </div>
  12. </div>
  13. <!-- <FooterVue></FooterVue> -->
  14. </div>
  15. <router-view v-else></router-view>
  16. </template>
  17. <script>
  18. import HeaderVue from "./components/Header.vue";
  19. import AsideVue from "./components/Aside.vue";
  20. import FooterVue from "./components/Footer.vue";
  21. export default {
  22. components: {
  23. HeaderVue,
  24. AsideVue,
  25. FooterVue,
  26. },
  27. data() {
  28. return {};
  29. },
  30. };
  31. </script>
  32. <style>
  33. .main-container {
  34. height: 100%;
  35. width: 100%;
  36. min-height: 800px;
  37. min-width: 1200px;
  38. }
  39. .aside {
  40. width: 220px;
  41. }
  42. .footer {
  43. text-align: center;
  44. }
  45. .main-app {
  46. width: 100%;
  47. height: calc(100% - 60px);
  48. display: flex;
  49. }
  50. .section {
  51. width: 100%;
  52. background: #f4f5f6;
  53. overflow: auto;
  54. }
  55. .first-title {
  56. height: 52px;
  57. line-height: 52px;
  58. width: 100%;
  59. box-sizing: border-box;
  60. background: #fff;
  61. font-size: 18px;
  62. font-family: PingFangSC-Medium, PingFang SC;
  63. font-weight: 500;
  64. color: #333d43;
  65. padding-left: 20px;
  66. }
  67. .main-section {
  68. margin: 24px 0 0 24px;
  69. height: calc(100% - 76px);
  70. overflow-y: auto;
  71. }
  72. .line-container-p18 {
  73. padding: 18px;
  74. background: #fff;
  75. }
  76. .line-container-p24 {
  77. padding: 24px;
  78. background: #fff;
  79. }
  80. .full-container-p24 {
  81. padding: 24px;
  82. min-height: calc(100% - 48px);
  83. background: #fff;
  84. }
  85. .df {
  86. display: flex;
  87. }
  88. .ffw {
  89. flex-flow: wrap;
  90. }
  91. .jcsa {
  92. justify-content: space-around;
  93. }
  94. .jcsb {
  95. justify-content: space-between;
  96. }
  97. .aic {
  98. align-items: center;
  99. }
  100. .dib {
  101. display: inline-block;
  102. }
  103. .ml8 {
  104. margin-left: 8px;
  105. }
  106. .jcfe {
  107. justify-content: flex-end;
  108. }
  109. .mt20 {
  110. margin-top: 20px;
  111. }
  112. .mb20 {
  113. margin-bottom: 20px;
  114. }
  115. .mt30 {
  116. margin-top: 30px;
  117. }
  118. .mt50 {
  119. margin-top: 50px;
  120. }
  121. .container-title {
  122. font-size: 18px;
  123. font-family: PingFangSC-Medium, PingFang SC;
  124. font-weight: 500;
  125. color: #0094fe;
  126. margin: 15px 0 15px 0;
  127. }
  128. .container-second-title {
  129. font-size: 16px;
  130. font-family: PingFangSC-Medium, PingFang SC;
  131. font-weight: 500;
  132. color: #0094fe;
  133. margin: 15px 0 15px 0;
  134. }
  135. .line {
  136. display: flex;
  137. align-items: center;
  138. align-content: flex-start;
  139. margin: 20px;
  140. }
  141. .info-line {
  142. display: flex;
  143. align-items: center;
  144. align-content: flex-start;
  145. margin-right: 20px;
  146. }
  147. .info-line-title {
  148. width: 120px;
  149. height: 100%;
  150. font-size: 14px;
  151. font-family: PingFangSC-Regular, PingFang SC;
  152. font-weight: 400;
  153. color: #353a42;
  154. line-height: 100%;
  155. text-align: right;
  156. padding-right: 20px;
  157. }
  158. .info-line-text {
  159. width: 240px !important;
  160. height: 100%;
  161. line-height: 100%;
  162. }
  163. .info-line-textarea {
  164. width: 640px;
  165. height: 100%;
  166. line-height: 100%;
  167. }
  168. .pointer {
  169. cursor: pointer;
  170. }
  171. .el-upload-list__item-thumbnail {
  172. object-fit: contain !important;
  173. }
  174. .el-input__inner {
  175. text-align: center;
  176. color: #777 !important;
  177. }
  178. .el-upload--picture-card {
  179. border: none;
  180. }
  181. .amap-logo {
  182. display: none !important;
  183. opacity: 0 !important;
  184. }
  185. .amap-copyright {
  186. opacity: 0 !important;
  187. }
  188. .ml20 {
  189. margin-left: 20px;
  190. }
  191. .hr {
  192. border-bottom: 2px solid #3b91fa;
  193. opacity: 0.2;
  194. }
  195. .m10-0 {
  196. margin: 10px 0;
  197. }
  198. .m30-0 {
  199. margin: 30px 0;
  200. }
  201. .fww {
  202. flex-wrap: wrap;
  203. }
  204. .tar {
  205. text-align: right;
  206. }
  207. .mr20 {
  208. margin-right: 20px;
  209. }
  210. </style>