index.vue 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642
  1. <template>
  2. <div>
  3. <div>
  4. <el-header class="fixed-header">
  5. <el-menu class="headMenu_1" mode="horizontal">
  6. <!-- <div class="log">
  7. <el-image :src="adilog"></el-image>
  8. </div> -->
  9. <div class="log logtitle">
  10. </div>
  11. <el-menu-item index="2" @click="showHeadMenu('geneal')">文件
  12. </el-menu-item>
  13. <el-menu-item index="3" @click="showHeadMenu('physics')">灾情演化</el-menu-item>
  14. <el-menu-item index="4" @click="showHeadMenu('solution')">动画</el-menu-item>
  15. <el-menu-item index="5" @click="showHeadMenu('result')">帮助</el-menu-item>
  16. </el-menu>
  17. </el-header>
  18. </div>
  19. <div class="headMenu_2" id="head2" v-show="headMenu_2Show">
  20. <div class="lg_weiyi">
  21. <div class="el-padding">
  22. <el-row> </el-row>
  23. </div>
  24. </div>
  25. </div>
  26. <!-- Task Page的弹框的结束-->
  27. <el-container class="beij-container">
  28. <el-aside v-if="leftMenu_2Show" class="leftMenu_1_1">Aside</el-aside>
  29. <el-container>
  30. <el-main ref="main3d" :class="headMenu_2Show?'maxh400':'maxh221'">
  31. </el-main>
  32. <!-- <div class="x" @click="change">==</div> -->
  33. <el-footer style="height: 160px" v-show="Consoleshow">
  34. <div class="logs_title">
  35. Console
  36. <div class="x">x</div>
  37. </div>
  38. <div class="logs_console">
  39. <textarea v-model="logs" style="width: 100%;height:120px">
  40. "欢迎来到HCFD!"
  41. </textarea>
  42. </div>
  43. </el-footer>
  44. </el-container>
  45. </el-container>
  46. </div>
  47. </template>
  48. <script>
  49. export default {
  50. name: 'app',
  51. data() {
  52. return {
  53. headMenu_2:false,
  54. leftMenu_2Show: false,
  55. headMenu_2Show: true,
  56. Consoleshow:true,
  57. logs:true,
  58. }
  59. },
  60. methods: {
  61. showHeadMenu(el){
  62. console.log(el)
  63. if(el=='solution'){
  64. this.headMenu_2Show=true;
  65. }else{
  66. this.headMenu_2Show=false;
  67. }
  68. }
  69. }
  70. }
  71. </script>
  72. <style>
  73. .el-header{
  74. height: 40px !important;
  75. }
  76. .el-header ul{
  77. padding-left: 120px;
  78. height: 40px;
  79. overflow: hidden;
  80. }
  81. html,body,.el-header{
  82. padding: 0;
  83. margin: 0;
  84. }
  85. .el-header,.el-footer{
  86. padding: 0 !important;
  87. }
  88. @media screen and (max-width:1650px){
  89. .headMenu_2 .el-col{
  90. transform:scale(0.9);
  91. transform-origin: 0 0;
  92. }
  93. .headMenu_2{
  94. height:80px !important;
  95. }
  96. }
  97. @media screen and (max-width:1330px){
  98. .headMenu_2 .el-col{
  99. transform:scale(0.8);
  100. transform-origin: 0 0;
  101. }
  102. .headMenu_2{
  103. height: 80px !important;
  104. }
  105. .asideTag2,.asideTag {
  106. transform:scale(0.7);
  107. transform-origin: 0 0;
  108. }
  109. }
  110. @media screen and (max-width:1160px){
  111. .headMenu_2 .el-col{
  112. transform:scale(0.7);
  113. transform-origin: 0 0;
  114. }
  115. .asideTag2{
  116. left: 91%;
  117. }
  118. .el-aside{
  119. width:100px !important;
  120. }
  121. .headMenu_2{
  122. height: 80px !important;
  123. }
  124. }
  125. body {
  126. font-size: 62.5%;
  127. position: relative;
  128. }
  129. .el-padding {
  130. padding: 5px 20px;
  131. }
  132. .headMenu_1 {
  133. background: #232426;
  134. }
  135. .logtitle {
  136. color: #fff;
  137. }
  138. .el-header {
  139. padding: 0;
  140. }
  141. .logs_console {
  142. overflow: hidden;
  143. }
  144. .logs_console textarea{
  145. border:none;
  146. }
  147. .el-menu {
  148. padding-left: 13px;
  149. }
  150. .el-menu .el-menu-item:hover {
  151. background-color: #bfc5cb;
  152. color: #333333;
  153. }
  154. .el-menu--horizontal > .el-menu-item {
  155. color: #e4e4e4;
  156. }
  157. .el-menu--horizontal > .el-submenu.is-active .el-submenu__title {
  158. color: #e4e4e4;
  159. }
  160. .el-menu--horizontal > .el-menu-item.is-active {
  161. color: #e4e4e4;
  162. }
  163. .el-menu--horizontal > .el-submenu .el-submenu__title {
  164. color: #e4e4e4;
  165. font-size: 16px;
  166. }
  167. .el-menu--horizontal {
  168. -webkit-box-pack: inherit;
  169. justify-content: flex-start;
  170. }
  171. .logtitle li:nth-child(1) {
  172. margin-right: 100px;
  173. }
  174. .el-menu-item {
  175. font-size: 16px;
  176. padding: 0 35px;
  177. }
  178. #head2 {
  179. background-color: #fff;
  180. }
  181. #lg-title {
  182. text-align: left;
  183. padding: 6px 0px 6px 3.125vw;
  184. }
  185. .Task-lg {
  186. width: 100%;
  187. }
  188. .el-col-1 {
  189. width: 0;
  190. }
  191. .title_content_1 {
  192. padding-left: 2.96875vw;
  193. }
  194. .el-col-3 li {
  195. padding: 6px 0;
  196. }
  197. .lg-er .el-col-3 li {
  198. padding-top: 0;
  199. }
  200. .el-image {
  201. padding-right: 4px;
  202. }
  203. .lg_weiyi .el-radio {
  204. display: block;
  205. padding: 6px 0 6px 3.125vw;
  206. }
  207. .el-dialog .el-input__inner {
  208. height: 34px;
  209. line-height: 34px;
  210. }
  211. .el-input--mini {
  212. display: inline;
  213. }
  214. .lg-centent {
  215. background-color: #f4f4f4;
  216. }
  217. .leiluoshu .el-form-item__content {
  218. margin-left: 180px;
  219. }
  220. .lg-centent .el-row {
  221. height: 100%;
  222. }
  223. .lg-modl {
  224. width: 300px;
  225. background: #f4f4f4;
  226. }
  227. .lg-centent .lg-modl .Task-lg {
  228. overflow-y: auto;
  229. }
  230. .lg-san .el-col-3 li {
  231. padding: 0;
  232. }
  233. .el-input--mini .el-input__inner {
  234. width: 100%;
  235. }
  236. .el-radio__input.is-checked .el-radio__inner {
  237. border-color: #333;
  238. background: #333;
  239. }
  240. .beij-container {
  241. width: 100%;
  242. height: 100%;
  243. background: linear-gradient(180deg, #ccd3e2 0%, rgba(255, 255, 255, 0) 100%);
  244. }
  245. .el-footer {
  246. padding: 0;
  247. height: 149px;
  248. /* overflow-y: auto; */
  249. }
  250. .el-input__inner {
  251. height: 30px;
  252. }
  253. .el-input--mini {
  254. display: inline;
  255. }
  256. .movieControlTitle {
  257. font-weight: 700;
  258. position: relative;
  259. top: -8px;
  260. background-color: #d7dce7;
  261. padding: 0 10px;
  262. font-size: 16px;
  263. }
  264. .el-main {
  265. position: relative;
  266. background-repeat: no-repeat;
  267. }
  268. .maxh221{
  269. height: calc(100vh - 205px);
  270. }
  271. .maxh400{
  272. height: calc(100vh - 286px);
  273. }
  274. body {
  275. font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
  276. position: relative;
  277. background-color: #eceef0;
  278. }
  279. .el-loading-mask {
  280. background: none;
  281. }
  282. .el-tree {
  283. background-color: #eceef0;
  284. padding: 13px;
  285. }
  286. .lg-er .el-col {
  287. padding: 0 12px;
  288. }
  289. .el-radio-button:first-child .el-radio-button__inner {
  290. border-radius: 4px;
  291. }
  292. .el-radio-button:last-child .el-radio-button__inner {
  293. border-radius: 4px;
  294. }
  295. .lg-er label {
  296. padding: 5px 0;
  297. }
  298. .el-radio-button__inner {
  299. border: none;
  300. }
  301. .lg-er label {
  302. display: block;
  303. }
  304. .lg-form li {
  305. display: flex;
  306. align-items: center;
  307. justify-content: space-between;
  308. }
  309. .lg-form>li>span{
  310. display:inline-block;
  311. width:65%
  312. }
  313. .lg-form>li>.el-input{
  314. width:35%
  315. }
  316. .lg-form {
  317. padding-bottom: 5px;
  318. }
  319. .lg-san .el-col {
  320. padding: 5px 0.5vw;
  321. }
  322. .lg-san label {
  323. padding: 10px 0;
  324. }
  325. #head2 .lg-san input {
  326. margin: 3px 0px;
  327. }
  328. .lg-san .el-padding {
  329. padding: 0 20px;
  330. }
  331. .el-button + .el-button {
  332. margin-left: 0;
  333. }
  334. .maxh100{
  335. max-height: calc(100vh - 100px);
  336. }
  337. .maxh290{
  338. max-height: calc(100vh - 290px);
  339. }
  340. .el-button{
  341. margin-bottom: 2px;
  342. }
  343. .lg-si .el-input__inner {
  344. padding: 0 0 0 0;
  345. }
  346. .lg-si-right {
  347. padding-left: 30px;
  348. }
  349. .lg-button {
  350. background-color: #4c4f54;
  351. color: #fff;
  352. border-radius: 10px;
  353. }
  354. .el-button--mini,
  355. .el-button--mini.is-round {
  356. padding: 5px 15px;
  357. }
  358. .lg-san {
  359. height: 189px;
  360. overflow: auto;
  361. }
  362. .lg-si li {
  363. padding: 2px 0;
  364. }
  365. .el-dialog__body .el-input {
  366. padding: 5px 0;
  367. }
  368. .el-dialog__body .el-form li:first {
  369. padding: 10px 0;
  370. }
  371. .logs_title {
  372. background: #bfc5cb;
  373. padding: 10px;
  374. font-size: 16px;
  375. text-align: left;
  376. }
  377. .el-col-4,
  378. .el-col-3 {
  379. position: relative;
  380. }
  381. .lg-more {
  382. position: absolute;
  383. right: 0;
  384. bottom: 15px;
  385. }
  386. .lg-bg .el-dialog__header {
  387. background: #efefef;
  388. border-color: #82848a;
  389. text-align: center;
  390. font-weight: 600;
  391. }
  392. .dialog-block label {
  393. display: block;
  394. font-size: 20px;
  395. }
  396. .el-dialog__footer {
  397. padding: 0px 20px 20px;
  398. }
  399. .dialog-block .el-dialog {
  400. width: 23%;
  401. }
  402. .Conditions .el-dialog {
  403. width: 26%;
  404. }
  405. .el-dialog__body {
  406. padding: 20px 20px;
  407. }
  408. .el-dialog {
  409. max-width: 600px;
  410. min-width: 452px;
  411. }
  412. .lg-Solution .el-dialog {
  413. width: 16%;
  414. }
  415. .lg-Solution label {
  416. display: block;
  417. padding: 5px 0;
  418. }
  419. .lg-out-h .el-checkbox {
  420. width: 40%;
  421. }
  422. .showright {
  423. float: right;
  424. margin-right: 20px;
  425. }
  426. .Task-lg li {
  427. padding: 5px 0;
  428. }
  429. .Task-lg .el-radio {
  430. display: block;
  431. padding: 3px 0;
  432. }
  433. .tack-btn .el-button {
  434. padding: 8px 16px;
  435. display: block;
  436. }
  437. .outline {
  438. font-size: 20px;
  439. padding: 10px 20px;
  440. font-weight: 600;
  441. }
  442. .pagination {
  443. margin-top: 10px;
  444. }
  445. .pagination .el-input{
  446. padding: 0;
  447. }
  448. #head2 input {
  449. padding-left: 5px;
  450. }
  451. .lg-modl .el-radio-button {
  452. display: block;
  453. padding: 5px 0;
  454. }
  455. .lg-modl .el-select {
  456. display: block;
  457. padding: 3px 0;
  458. }
  459. .lg-modl .lg-si-right {
  460. padding: 0;
  461. }
  462. .lg-modl .task-si li label {
  463. display: block;
  464. }
  465. .el-col-24 {
  466. margin-bottom: 10px;
  467. }
  468. .x {
  469. cursor: default;
  470. float: right;
  471. }
  472. .lg-y-z .el-dialog {
  473. width: 16%;
  474. }
  475. .gongju .el-form-item__content {
  476. margin-left: 185px;
  477. }
  478. .gongju .el-form-item {
  479. margin-bottom: 0;
  480. }
  481. .exloadbox{
  482. float: right;
  483. margin-right: 100px;
  484. }
  485. #head2 input {
  486. margin: 3px 5px;
  487. }
  488. .contour .el-input-number__decrease,
  489. .el-input-number__increase {
  490. top: 5px;
  491. width: 40px;
  492. cursor: pointer;
  493. font-size: 13px;
  494. height: 28px;
  495. line-height: 28px;
  496. }
  497. .line {
  498. width: 0px;
  499. height: 99px;
  500. border: 1px solid #d4d3d1;
  501. float: right;
  502. }
  503. .lg_weiyi .title {
  504. text-align: center;
  505. }
  506. .title {
  507. font-size: 0.8vw !important;
  508. margin: 6px 0px !important;
  509. font-weight: 600;
  510. }
  511. .headMenu_2 {
  512. height:80px;
  513. overflow: hidden;
  514. font-size: 12px;
  515. width: 100%;
  516. }
  517. .headMenu_2 span{
  518. font-size: 12px !important;
  519. }
  520. .headMenu_2 .el-input__inner{
  521. padding:0 2px
  522. }
  523. .lisin>li{
  524. display: flex;
  525. align-items: center;
  526. }
  527. .lisin>li>span{
  528. display: inline-block;
  529. width:100px
  530. }
  531. .lisin>li>.el-input{
  532. width:120px
  533. }
  534. .sblock{
  535. display: inline-block;
  536. width:40%
  537. }
  538. .disinblok{
  539. display: inline-block;
  540. }
  541. .inpw50{
  542. width:50%
  543. }
  544. .inpw100{
  545. width:100%
  546. }
  547. .inpw35{
  548. width:25%
  549. }
  550. .inpw75{
  551. width:75px
  552. }
  553. .inpwidth{
  554. flex:1
  555. }
  556. .lheig34{
  557. line-height: 34px;
  558. }
  559. .pdingf10{
  560. padding-left: 10px !important;
  561. }
  562. .move{
  563. position: relative;
  564. top: -8px;
  565. right:-30px
  566. }
  567. .discenter{
  568. display: flex;
  569. justify-content: center;
  570. }
  571. .disrs{
  572. display: flex;
  573. flex-direction: row-reverse;
  574. }
  575. .padding0{
  576. padding: 0 !important;
  577. }
  578. .marr30{
  579. margin-right: 30px;
  580. }
  581. .marb5{
  582. margin-bottom:5px
  583. }
  584. .disacent{
  585. display: flex;
  586. align-items: center;
  587. }
  588. .div64>div,
  589. .disflex,
  590. .disflex55{
  591. display: flex;
  592. align-items: center;
  593. justify-content: space-between;
  594. }
  595. .div64>div>span{
  596. display: inline-block;
  597. width:65%
  598. }
  599. .span100{
  600. display: inline-block;
  601. width: 100px;
  602. }
  603. .div64>div>.el-input{
  604. width: 35%;
  605. }
  606. .disflex55>span{
  607. display: inline-block;
  608. width:50%
  609. }
  610. .disflex55>.el-input{
  611. width:50%
  612. }
  613. .el-dialog__header{
  614. font-size: 16px;
  615. font-weight: 700;
  616. background: #ccc;
  617. padding: 0 10px;
  618. line-height: 45px;
  619. }
  620. .flexpad30{
  621. display: flex;
  622. }
  623. .flexpad30>div{
  624. padding-right: 30px;
  625. }
  626. </style>