App.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445
  1. <template>
  2. <div v-if="!showSisView && isLogined" class="main">
  3. <div class="header-body">
  4. <div class="header-title">
  5. <svg
  6. version="1.1"
  7. xmlns="http://www.w3.org/2000/svg"
  8. xmlns:xlink="http://www.w3.org/1999/xlink"
  9. x="0px"
  10. y="0px"
  11. width="16.667vh"
  12. height="3.704vh"
  13. viewBox="0 0 377.437 91.615"
  14. enable-background="new 0 0 377.437 91.615"
  15. xml:space="preserve"
  16. >
  17. <g id="图层_1">
  18. <g>
  19. <path
  20. id="XMLID_489_"
  21. fill="#FFF"
  22. d="M148.946,81.252c-6.114,0-10.656-4.561-10.656-10.33v-0.061c0-5.708,4.448-10.389,10.833-10.389c3.919,0,6.269,1.265,8.197,3.103l-2.912,3.241c-1.602-1.407-3.233-2.266-5.315-2.266c-3.503,0-6.025,2.811-6.025,6.256v0.055c0,3.444,2.463,6.313,6.025,6.313c2.378,0,3.833-0.915,5.468-2.35l2.909,2.84C155.329,79.877,152.955,81.252,148.946,81.252z"
  23. />
  24. <polygon
  25. id="XMLID_488_"
  26. fill="#FFF"
  27. points="173.271,60.817 173.271,68.472 164.839,68.472 164.839,60.817 160.263,60.817 160.263,80.907 164.839,80.907 164.839,72.547 173.271,72.547 173.271,80.907 177.843,80.907 177.843,60.817"
  28. />
  29. <path
  30. id="XMLID_486_"
  31. fill="#FFF"
  32. d="M195.929,80.907l-10.063-12.77v12.77h-4.516v-20.09h4.214l9.743,12.373V60.817h4.514v20.09H195.929z"
  33. />
  34. <path
  35. id="XMLID_484_"
  36. fill="#FFF"
  37. d="M304.535,81.252c-6.47,0-10.928-4.39-10.928-10.33v-0.061c0-5.708,4.606-10.389,10.901-10.389c3.741,0,5.992,0.845,8.429,2.482l-2.564,3.243c-1.789-1.208-3.028-1.694-6.012-1.646c-3.325,0.055-5.967,2.839-5.967,6.256v0.055c0,3.676,2.607,6.374,6.291,6.374c1.664,0,3.146-0.401,4.307-1.206v-2.871h-2.908v-3.817h7.332v8.725C311.277,79.817,308.336,81.252,304.535,81.252z"
  38. />
  39. <path
  40. id="XMLID_482_"
  41. fill="#FFF"
  42. d="M245.533,80.907l-10.063-12.77v12.77h-4.515v-20.09h4.213l9.744,12.373V60.817h4.513v20.09H245.533z"
  43. />
  44. <path
  45. id="XMLID_480_"
  46. fill="#FFF"
  47. d="M321.476,80.907v-8.793l-6.949-11.297h5.346l4.361,7.936l4.397-7.936h5.196l-6.951,11.238v8.853H321.476z"
  48. />
  49. <polygon
  50. fill="#FFF"
  51. points="228.012,64.895 228.012,60.817 211.357,60.817 211.357,80.907 228.012,80.907 228.012,76.83 215.967,76.83 215.967,72.831 226.732,72.831 226.732,68.753 215.967,68.753 215.967,64.895 "
  52. />
  53. <polygon
  54. fill="#FFF"
  55. points="269.557,64.895 269.557,60.817 252.902,60.817 252.902,80.907 269.557,80.907 269.557,76.83 257.511,76.83 257.511,72.831 268.277,72.831 268.277,68.753 257.511,68.753 257.511,64.895 "
  56. />
  57. <path
  58. fill="#FFF"
  59. d="M291.333,80.907l-3.983-7.74c2.177-1.005,3.696-3.265,3.696-5.896v0c0-3.564-2.784-6.454-6.22-6.454H272.98v20.09h4.57v-7.182h5.515l3.695,7.182H291.333z M277.55,64.895h6.774c1.265,0,2.29,1.064,2.29,2.376v0c0,1.312-1.025,2.376-2.29,2.376h-6.774V64.895z"
  60. />
  61. </g>
  62. <g>
  63. <g>
  64. <path
  65. id="XMLID_479_"
  66. fill="#FFF"
  67. d="M167.55,39.067h-1.561c-0.546-2.03-1.035-3.547-1.82-5.373l-4.36-0.004
  68. c0.771,2.025,1.339,3.833,1.692,5.377h-3.128v-6.282h8.215v-3.861h-8.215v-4.49h8.393v-3.899h-21.599v3.899h8.101v4.49h-7.686
  69. v3.861h7.686v6.282h-8.758v3.976h23.04V39.067z"
  70. />
  71. <path
  72. id="XMLID_476_"
  73. fill="#FFF"
  74. d="M170.113,14.394l-28.202,0.001c-2.03,0-3.621,1.457-3.621,3.316l0.002,28.005c0.001,2.115,1.9,3.424,3.66,3.424h28.409c0.824,0,1.732-0.351,2.432-0.939c0.807-0.679,1.251-1.602,1.251-2.596l-0.001-27.778C174.042,15.742,172.5,14.394,170.113,14.394z M168.858,18.367v26.724l-25.463,0V18.369L168.858,18.367z"
  75. />
  76. </g>
  77. <g>
  78. <path
  79. id="XMLID_475_"
  80. fill="#FFF"
  81. d="M234.621,16.644h-4.845l2.238,5.092h-6.883l4.632-7.075h-5.637l-4.689,7.134c-0.575,0.918-0.678,1.757-0.296,2.503c0.463,0.803,1.204,1.227,2.21,1.26l14.021-0.001c0.056-0.004,1.374-0.119,1.961-1.121c0.408-0.696,0.352-1.623-0.169-2.754C236.499,20.237,234.621,16.644,234.621,16.644z"
  82. />
  83. <path
  84. id="XMLID_471_"
  85. fill="#FFF"
  86. d="M236.358,27.874c-0.485-0.513-1.212-0.773-2.16-0.773h-11.46c-2.727,0-2.758,2.355-2.758,2.379v19.587h4.861v-6.638h7.269v2.625h-4.913v3.937l6.701-0.002c2.039,0,3.072-0.957,3.072-2.843l-0.001-16.651C236.971,29.456,237.012,28.565,236.358,27.874z M232.11,30.884v2.218h-7.269v-2.218H232.11z M232.11,36.658v2.215h-7.269v-2.215
  87. H232.11z"
  88. />
  89. <path
  90. id="XMLID_470_"
  91. fill="#FFF"
  92. d="M242.25,30.455l13.047,0.002v-4.014h-10.943V25.07c7.277-2.622,11.396-9.303,11.396-9.303h-5.433c0,0-2.434,3.517-5.964,4.758v-5.864h-5.064l0.002,13.225C239.291,29.519,240.369,30.455,242.25,30.455z"
  93. />
  94. <path
  95. id="XMLID_469_"
  96. fill="#FFF"
  97. d="M244.353,37.835v-6.236h-5.023l0.002,14.284c0,2.032,1.009,3.106,2.918,3.106l13.047,0v-4.051h-10.943v-2.266c6.72-2.542,11.458-10.166,11.458-10.166h-5.463C250.348,32.507,248.039,36.192,244.353,37.835z"
  98. />
  99. </g>
  100. <path
  101. fill="#FFF"
  102. d="M183.913,20.6h25.993v5.788h4.901l-0.001-6.153c0-2.054-1.338-3.382-3.409-3.382h-11.566v-2.773h-5.542v2.773h-11.27c-2.447,0-3.967,1.296-3.967,3.382v6.153h4.861L183.913,20.6z M206.875,37.054h2.163l4.669-9.237H208.6l-3.441,6.245c-0.656-1.251-1.267-2.746-1.791-4.375h-2.899c-0.464-0.776-1.154-1.718-1.886-2.574c0.149-0.216,0.356-0.573,0.622-1.043l0.016-0.028h9.064v-3.709h-22.71v3.709h7.542c-3.771,2.954-11.774,4.27-13.435,4.518v4.199c1.49-0.195,9.366-1.363,15.546-4.938c0.19,0.258,0.519,0.775,0.69,1.048c-4.112,4.071-14.113,5.95-16.236,6.312v4.247c1.536-0.243,10.602-1.82,17.617-6.536c0.08,0.459,0.094,0.901,0.158,1.861c-4.899,3.313-9.952,5.405-17.775,7.207v4.28c1.733-0.309,11.518-2.4,17.775-6.687v2.684c0,0.691-0.642,1.331-1.338,1.321h-5.732v3.891h7.327c2.973,0,4.516-1.455,4.516-4.354v-7.226c2.196,3.848,6.276,8.845,13.004,10.846v-4.457C213.257,43.436,208.773,40.441,206.875,37.054z"
  103. />
  104. <g>
  105. <polygon
  106. id="XMLID_468_"
  107. fill="#FFF"
  108. points="268.998,32.332 264.811,23.662 259.317,23.662 263.189,32.332"
  109. />
  110. <polygon
  111. id="XMLID_467_"
  112. fill="#FFF"
  113. points="268.756,22.309 264.964,14.394 259.558,14.394 263.006,22.309 "
  114. />
  115. <path
  116. fill="#FFF"
  117. d="M268.529,34.2h-5.266l-0.025,0.219c-0.008,0.072-1.178,6.718-4.536,14.771h5.556c3.063-6.815,4.233-14.631,4.242-14.717
  118. L268.529,34.2z"
  119. />
  120. <path
  121. id="XMLID_463_"
  122. fill="#FFF"
  123. d="M295.075,32.643l-0.001-9.424c0-1.685-1.122-2.613-3.159-2.613h-4.069v-1.97h8.552v-3.861l-23.179,0
  124. c-2.138,0-3.314,1.033-3.314,2.907v15.127c0.094,4.181-0.5,10.588-2.858,16.035l-0.149,0.346h5.222l0.062-0.157
  125. c1.788-4.525,2.667-10.194,2.667-15.55V18.636h8.272v1.97l-3.532,0c-1.978,0-3.045,1.346-3.045,2.613v9.389
  126. c0,2.487,1.452,2.83,3.021,2.83h3.995v9.957h-2.495v3.861l4.273,0c1.978,0,3.205-1.082,3.205-2.822V35.439h3.268
  127. C293.461,35.439,295.075,35.223,295.075,32.643z M290.214,24.198v2.064h-8.812l-0.001-2.064H290.214z M290.214,29.819v2.064
  128. h-8.811v-2.064H290.214z"
  129. />
  130. <path
  131. id="XMLID_462_"
  132. fill="#FFF"
  133. d="M281.646,37.1c-1.886,0-3.186,0-4.351,0c-0.627,5.028-3.023,11.032-3.023,11.032h4.543
  134. C278.815,48.132,281.02,43.161,281.646,37.1z"
  135. />
  136. <path
  137. fill="#FFF"
  138. d="M294.034,37.1h-4.363c0.198,1.057,1.316,6.682,3.187,11.032h4.584C295.631,43.114,294.361,38.359,294.034,37.1z"
  139. />
  140. </g>
  141. <path
  142. fill="#FFF"
  143. d="M337.303,37.937h-15.507v-1.854h13.598v-3.657h-12.877v-1.711h11.708V27.22h-11.708v-1.464h11.83v-3.575h-11.83v-1.527
  144. h12.887v-3.737h-12.847c-0.535-2.42-0.683-2.698-0.683-2.698h-5.107c0.16,0.604,0.42,1.602,0.686,2.698h-7
  145. c0.766-1.27,0.968-2.103,1.056-2.698l-4.921,0c-0.208,0.749-1.412,4.409-5.522,6.996v4.682c1.223-0.327,1.979-0.9,2.491-1.249
  146. v8.921c0,0.873,0.251,1.537,0.746,1.975c0.768,0.681,1.833,0.543,1.844,0.539h10.504v1.854h-15.305v3.938h5.432
  147. c-0.691,1.998-3.551,6.909-3.551,6.909h5.647c0,0,2.693-4.816,3.358-6.909h4.418v7.381h5.146v-7.381h4.416
  148. c0.857,2.406,3.469,6.909,3.469,6.909h5.637c0,0-2.983-5.131-3.66-6.909h5.646V37.937z M317.453,32.427H308.5v-1.711h8.953V32.427
  149. z M317.453,27.22H308.5v-1.464h8.953V27.22z M317.453,22.181H308.5v-1.527h8.953V22.181z"
  150. />
  151. <g>
  152. <path
  153. fill="#FFF"
  154. id="XMLID_459_"
  155. d="M377.435,18.514c0-2.424-1.459-3.814-4.004-3.814l-27.645,0.001c-2.516,0-3.901,1.322-3.901,3.723
  156. l0.005,27.152c0,2.556,1.81,3.449,4.039,3.449l0.046,0.003l27.269-0.003c2.292,0,4.193-0.972,4.193-3.449L377.435,18.514z
  157. M372.292,44.977h-25.341V18.675l25.34-0.003L372.292,44.977z"
  158. />
  159. <path
  160. fill="#FFF"
  161. d="M366.732,23.889v-4.182h-5.146v4.182h-12.902v4.052h8.563c-1.48,3.031-5.104,7.505-8.642,9.59v4.647
  162. c6.305-2.621,10.252-7.973,12.981-12.76v10.448h-6.755v4.014h7.576c2.708,0,4.325-1.467,4.325-3.923V27.941h4.158v-4.052H366.732
  163. z"
  164. />
  165. </g>
  166. </g>
  167. <g>
  168. <linearGradient
  169. id="SVGID_1_"
  170. gradientUnits="userSpaceOnUse"
  171. x1="61.5049"
  172. y1="30.1548"
  173. x2="61.5049"
  174. y2="66.792"
  175. >
  176. <stop offset="0" style="stop-color: #f6ab00" />
  177. <stop offset="0.5" style="stop-color: #d84c14" />
  178. <stop offset="0.75" style="stop-color: #cc2a1c" />
  179. <stop offset="1" style="stop-color: #c11920" />
  180. </linearGradient>
  181. <path
  182. fill="url(#SVGID_1_)"
  183. d="M102.96,39.692L77.737,64.915l-2.879-2.878l23.934-23.932c-6.846-2.449-14.003-4.243-21.396-5.306
  184. L61.508,48.687l-2.879-2.879l13.626-13.625c-3.539-0.341-7.127-0.518-10.756-0.518c-5.668,0-11.237,0.427-16.676,1.249
  185. L31.928,45.808l16.229,16.229l-2.879,2.878L26.171,45.808l11.593-11.593C25.018,37,13.093,41.981,2.406,48.742l42.873,42.874
  186. l16.229-16.229l16.229,16.229l42.867-42.867C115.039,45.228,109.138,42.189,102.96,39.692z"
  187. />
  188. <path
  189. id="XMLID_457_"
  190. fill="none"
  191. d="M122.614,44.877l-12.419-12.419L77.737,64.915l-2.879-2.878l31.538-31.538
  192. c0.509-0.508,0.509-1.332,0-1.84l-12.43-12.431L61.508,48.687l-2.879-2.879L90.26,14.176c0.456-0.456,0.456-1.196,0-1.652
  193. L77.737,0L31.928,45.808l16.229,16.229l-2.879,2.878L26.171,45.808l31.467-31.466c0.547-0.547,0.547-1.435,0-1.982L45.279,0
  194. L0.374,44.906c-0.498,0.498-0.498,1.306,0,1.804l44.905,44.905l16.229-16.229l16.229,16.229l44.877-44.876
  195. C123.128,46.225,123.128,45.391,122.614,44.877z"
  196. />
  197. </g>
  198. </g>
  199. <g id="图层_3">
  200. <path
  201. id="XMLID_458_"
  202. fill="#C11920"
  203. d="M122.614,44.877l-12.419-12.419L77.737,64.915l-2.879-2.878l31.538-31.538
  204. c0.509-0.508,0.509-1.332,0-1.84l-12.43-12.431L61.508,48.687l-2.879-2.879L90.26,14.176c0.456-0.456,0.456-1.196,0-1.652L77.737,0
  205. L31.928,45.808l16.229,16.229l-2.879,2.878L26.171,45.808l31.467-31.466c0.547-0.547,0.547-1.435,0-1.982L45.279,0L0.374,44.906
  206. c-0.498,0.498-0.498,1.306,0,1.804l44.905,44.905l16.229-16.229l16.229,16.229l44.877-44.876
  207. C123.128,46.225,123.128,45.391,122.614,44.877z"
  208. />
  209. </g>
  210. <g id="图层_2">
  211. <linearGradient
  212. id="SVGID_2_"
  213. gradientUnits="userSpaceOnUse"
  214. x1="61.5"
  215. y1="30.1548"
  216. x2="61.5"
  217. y2="66.792"
  218. >
  219. <stop offset="0" style="stop-color: #f6ab00" />
  220. <stop offset="0.5" style="stop-color: #d84c14" />
  221. <stop offset="0.75" style="stop-color: #cc2a1c" />
  222. <stop offset="1" style="stop-color: #c11920" />
  223. </linearGradient>
  224. <path
  225. fill="url(#SVGID_2_)"
  226. d="M102.956,39.692L77.732,64.915l-2.879-2.878l23.934-23.932c-6.846-2.449-14.003-4.243-21.396-5.306
  227. L61.503,48.687l-2.879-2.879L72.25,32.182c-3.539-0.341-7.127-0.518-10.756-0.518c-5.668,0-11.237,0.427-16.676,1.249
  228. L31.923,45.808l16.229,16.229l-2.879,2.878L26.167,45.808l11.593-11.593C25.013,37,13.088,41.981,2.401,48.742l42.873,42.874
  229. l16.229-16.229l16.229,16.229l42.867-42.867C115.034,45.228,109.133,42.189,102.956,39.692z"
  230. />
  231. </g>
  232. <g id="图层_4"></g>
  233. </svg>
  234. </div>
  235. <div class="header-menu-body">
  236. <Header @onMenuClick="HeaderMenuClick" />
  237. </div>
  238. </div>
  239. <div
  240. class="menu-body"
  241. :class="{ hover: isShowMenu }"
  242. @mouseenter="showMenu"
  243. @mouseleave="hideMenu"
  244. >
  245. <Menu :root="root" />
  246. </div>
  247. <div class="main-body">
  248. <router-view />
  249. </div>
  250. </div>
  251. <login-page v-if="!showSisView && !isLogined" @onLogin="login" />
  252. <div v-else-if="!isLogined" class="login">
  253. <login-page />
  254. </div>
  255. <!-- <login-page v-if="!showSisView && !isLogined" @onLogin="login" /> -->
  256. <!-- <div v-else-if="token == ''">
  257. {{token}}
  258. <login-page @onLogin="login" />
  259. </div> -->
  260. <sisView v-else-if="showSisView" />
  261. </template>
  262. <script>
  263. // 导入header.vue文件
  264. import Menu from "@/views/layout/Menu.vue";
  265. import Header from "@/views/layout/Header.vue";
  266. import { mapMutations } from "vuex";
  267. import LoginPage from "./views/layout/login-page.vue";
  268. import sisView from "./views/sisView/index.vue";
  269. export default {
  270. components: {
  271. Menu,
  272. Header,
  273. LoginPage,
  274. sisView,
  275. },
  276. data() {
  277. return {
  278. isShowMenu: false,
  279. // 当前子系统
  280. root: "",
  281. isLogined: true,
  282. showSisView: false,
  283. memuCloseTimeout: null,
  284. };
  285. },
  286. created() {
  287. let that = this;
  288. // that.$nextTick(() => {
  289. // that.API.requestData({
  290. // isMust: false, // 请求是否携带 token ,默认为 true ,可缺省
  291. // method: "POST", // 请求方式,默认为 GET ,可缺省
  292. // subUrl: "admin/loginvue", // 请求接口地址,必传项
  293. // data: {
  294. // username: "admin",
  295. // password: "admin",
  296. // },
  297. // success(res) {
  298. // localStorage.setItem("authToken", res.data.authToken);
  299. // localStorage.setItem("username", res.data.user.laborName);
  300. // that.API.requestData({
  301. // method: "POST", // 请求方式,默认为 GET ,可缺省
  302. // subUrl: "admin/usermenu", // 请求接口地址,必传项
  303. // success() {
  304. // // that.BASE.showMsg({
  305. // // msg: "登陆成功",
  306. // // type: "success",
  307. // // });
  308. // // that.$router.push('/'); // 跳转到首页
  309. // },
  310. // });
  311. // },
  312. // });
  313. // });
  314. },
  315. methods: {
  316. // 切换子系统事件
  317. HeaderMenuClick(data) {
  318. this.root = data.id;
  319. },
  320. showMenu() {
  321. this.isShowMenu = true;
  322. this.memuCloseTimeout && clearTimeout(this.memuCloseTimeout);
  323. },
  324. hideMenu() {
  325. const that = this;
  326. this.memuCloseTimeout = setTimeout(function () {
  327. that.isShowMenu = false;
  328. }, 500);
  329. },
  330. login(params) {
  331. if (params.username && params.password) this.isLogined = true;
  332. },
  333. },
  334. watch: {
  335. $route(res) {
  336. this.showSisView = res.fullPath === "/sisView";
  337. },
  338. },
  339. };
  340. </script>
  341. <style lang="less">
  342. @import "./assets/styles/main.less";
  343. * {
  344. box-sizing: border-box;
  345. &::-webkit-scrollbar {
  346. width: 6px;
  347. height: 6px;
  348. }
  349. &::-webkit-scrollbar-track-piece {
  350. background-color: rgba(255, 255, 255, 0.05);
  351. -webkit-border-radius: 4px;
  352. }
  353. &::-webkit-scrollbar-thumb {
  354. background-color: fade(@gray, 75);
  355. -webkit-border-radius: 4px;
  356. outline: none;
  357. outline-offset: 0px;
  358. border: none;
  359. }
  360. }
  361. body {
  362. margin: 0;
  363. background: #fff;
  364. color: #fff;
  365. background-image: url("./assets/background.png");
  366. background-size: cover;
  367. font-size: @fontsize;
  368. font-family: @defalut-font-family;
  369. }
  370. @menuWidth: 5.37vh;
  371. @headerHeight: 4.63vh;
  372. .main {
  373. width: 100vw;
  374. height: 100%;
  375. display: flex;
  376. flex-wrap: wrap;
  377. overflow: hidden;
  378. .header-body {
  379. // background: radial-gradient(closest-corner at 22% 40%, #2d5a47, #040d0a, #040d0a);
  380. flex: 0 0 100%;
  381. width: 100%;
  382. display: flex;
  383. flex-direction: row;
  384. height: @headerHeight;
  385. border-bottom: 1px solid #142b29;
  386. .header-title {
  387. margin: auto;
  388. color: #fff;
  389. }
  390. .header-menu-body {
  391. flex-grow: 1;
  392. }
  393. }
  394. .menu-body {
  395. position: absolute;
  396. flex: 0 0 @menuWidth;
  397. width: @menuWidth;
  398. height: calc(100vh - @headerHeight);
  399. top: @headerHeight;
  400. background-color: fade(#192a26, 75%);
  401. z-index: 3000;
  402. opacity: 0;
  403. transition: opacity 0.2s;
  404. transition-timing-function: ease-in;
  405. transform: translate(-@menuWidth);
  406. &:hover,
  407. &.hover {
  408. opacity: 1;
  409. transition: opacity 0.2s;
  410. transition-timing-function: ease-out;
  411. transform: translate(0);
  412. }
  413. }
  414. .main-body {
  415. flex: 0 0 calc(100vw);
  416. max-width: calc(100vw);
  417. height: calc(100vh - @headerHeight);
  418. padding: 1.481vh;
  419. // transition: flex 0.1s, margin-left 0.1s;
  420. // transition-timing-function: ease-in-out;
  421. // &.show-menu {
  422. // flex: 0 0 calc(100vw - @menuWidth);
  423. // margin-left: @menuWidth;
  424. // transition: flex 0.1s, margin-left 0.1s;
  425. // transition-timing-function: ease-in-out;
  426. // }
  427. }
  428. }
  429. </style>