123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642 |
- <template>
- <div>
- <div>
- <el-header class="fixed-header">
- <el-menu class="headMenu_1" mode="horizontal">
- <!-- <div class="log">
- <el-image :src="adilog"></el-image>
- </div> -->
- <div class="log logtitle">
- </div>
- <el-menu-item index="2" @click="showHeadMenu('geneal')">文件
- </el-menu-item>
- <el-menu-item index="3" @click="showHeadMenu('physics')">灾情演化</el-menu-item>
- <el-menu-item index="4" @click="showHeadMenu('solution')">动画</el-menu-item>
- <el-menu-item index="5" @click="showHeadMenu('result')">帮助</el-menu-item>
- </el-menu>
- </el-header>
- </div>
- <div class="headMenu_2" id="head2" v-show="headMenu_2Show">
- <div class="lg_weiyi">
- <div class="el-padding">
- <el-row> </el-row>
- </div>
- </div>
- </div>
- <!-- Task Page的弹框的结束-->
- <el-container class="beij-container">
- <el-aside v-if="leftMenu_2Show" class="leftMenu_1_1">Aside</el-aside>
- <el-container>
- <el-main ref="main3d" :class="headMenu_2Show?'maxh400':'maxh221'">
- </el-main>
- <!-- <div class="x" @click="change">==</div> -->
- <el-footer style="height: 160px" v-show="Consoleshow">
- <div class="logs_title">
- Console
- <div class="x">x</div>
- </div>
- <div class="logs_console">
- <textarea v-model="logs" style="width: 100%;height:120px">
- "欢迎来到HCFD!"
- </textarea>
- </div>
- </el-footer>
- </el-container>
- </el-container>
- </div>
- </template>
- <script>
- export default {
- name: 'app',
- data() {
- return {
- headMenu_2:false,
- leftMenu_2Show: false,
- headMenu_2Show: true,
- Consoleshow:true,
- logs:true,
-
- }
- },
- methods: {
- showHeadMenu(el){
- console.log(el)
- if(el=='solution'){
- this.headMenu_2Show=true;
- }else{
- this.headMenu_2Show=false;
- }
- }
- }
- }
- </script>
- <style>
- .el-header{
- height: 40px !important;
- }
- .el-header ul{
- padding-left: 120px;
- height: 40px;
- overflow: hidden;
- }
- html,body,.el-header{
- padding: 0;
- margin: 0;
- }
- .el-header,.el-footer{
- padding: 0 !important;
- }
- @media screen and (max-width:1650px){
- .headMenu_2 .el-col{
- transform:scale(0.9);
- transform-origin: 0 0;
- }
- .headMenu_2{
- height:80px !important;
- }
- }
- @media screen and (max-width:1330px){
- .headMenu_2 .el-col{
- transform:scale(0.8);
- transform-origin: 0 0;
- }
- .headMenu_2{
- height: 80px !important;
- }
- .asideTag2,.asideTag {
- transform:scale(0.7);
- transform-origin: 0 0;
- }
- }
- @media screen and (max-width:1160px){
- .headMenu_2 .el-col{
- transform:scale(0.7);
- transform-origin: 0 0;
- }
- .asideTag2{
- left: 91%;
- }
- .el-aside{
- width:100px !important;
- }
- .headMenu_2{
- height: 80px !important;
- }
- }
- body {
- font-size: 62.5%;
- position: relative;
- }
- .el-padding {
- padding: 5px 20px;
- }
- .headMenu_1 {
- background: #232426;
- }
- .logtitle {
- color: #fff;
- }
- .el-header {
- padding: 0;
- }
- .logs_console {
- overflow: hidden;
- }
- .logs_console textarea{
- border:none;
- }
- .el-menu {
- padding-left: 13px;
- }
- .el-menu .el-menu-item:hover {
- background-color: #bfc5cb;
- color: #333333;
- }
- .el-menu--horizontal > .el-menu-item {
- color: #e4e4e4;
- }
- .el-menu--horizontal > .el-submenu.is-active .el-submenu__title {
- color: #e4e4e4;
- }
- .el-menu--horizontal > .el-menu-item.is-active {
- color: #e4e4e4;
- }
- .el-menu--horizontal > .el-submenu .el-submenu__title {
- color: #e4e4e4;
- font-size: 16px;
- }
- .el-menu--horizontal {
- -webkit-box-pack: inherit;
- justify-content: flex-start;
- }
- .logtitle li:nth-child(1) {
- margin-right: 100px;
- }
- .el-menu-item {
- font-size: 16px;
- padding: 0 35px;
- }
- #head2 {
- background-color: #fff;
- }
- #lg-title {
- text-align: left;
- padding: 6px 0px 6px 3.125vw;
- }
- .Task-lg {
- width: 100%;
- }
- .el-col-1 {
- width: 0;
- }
- .title_content_1 {
- padding-left: 2.96875vw;
- }
- .el-col-3 li {
- padding: 6px 0;
- }
- .lg-er .el-col-3 li {
- padding-top: 0;
- }
- .el-image {
- padding-right: 4px;
- }
- .lg_weiyi .el-radio {
- display: block;
- padding: 6px 0 6px 3.125vw;
- }
- .el-dialog .el-input__inner {
- height: 34px;
- line-height: 34px;
- }
- .el-input--mini {
- display: inline;
- }
- .lg-centent {
- background-color: #f4f4f4;
- }
- .leiluoshu .el-form-item__content {
- margin-left: 180px;
- }
- .lg-centent .el-row {
- height: 100%;
- }
- .lg-modl {
- width: 300px;
- background: #f4f4f4;
- }
- .lg-centent .lg-modl .Task-lg {
- overflow-y: auto;
- }
- .lg-san .el-col-3 li {
- padding: 0;
- }
- .el-input--mini .el-input__inner {
- width: 100%;
- }
- .el-radio__input.is-checked .el-radio__inner {
- border-color: #333;
- background: #333;
- }
- .beij-container {
- width: 100%;
- height: 100%;
- background: linear-gradient(180deg, #ccd3e2 0%, rgba(255, 255, 255, 0) 100%);
- }
- .el-footer {
- padding: 0;
- height: 149px;
- /* overflow-y: auto; */
- }
- .el-input__inner {
- height: 30px;
- }
- .el-input--mini {
- display: inline;
- }
- .movieControlTitle {
- font-weight: 700;
- position: relative;
- top: -8px;
- background-color: #d7dce7;
- padding: 0 10px;
- font-size: 16px;
- }
- .el-main {
- position: relative;
- background-repeat: no-repeat;
-
- }
- .maxh221{
- height: calc(100vh - 205px);
- }
- .maxh400{
- height: calc(100vh - 286px);
- }
- body {
- font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
- position: relative;
- background-color: #eceef0;
- }
- .el-loading-mask {
- background: none;
- }
- .el-tree {
- background-color: #eceef0;
- padding: 13px;
- }
- .lg-er .el-col {
- padding: 0 12px;
- }
- .el-radio-button:first-child .el-radio-button__inner {
- border-radius: 4px;
- }
- .el-radio-button:last-child .el-radio-button__inner {
- border-radius: 4px;
- }
- .lg-er label {
- padding: 5px 0;
- }
- .el-radio-button__inner {
- border: none;
- }
- .lg-er label {
- display: block;
- }
- .lg-form li {
- display: flex;
- align-items: center;
- justify-content: space-between;
- }
- .lg-form>li>span{
- display:inline-block;
- width:65%
- }
- .lg-form>li>.el-input{
- width:35%
- }
- .lg-form {
- padding-bottom: 5px;
- }
- .lg-san .el-col {
- padding: 5px 0.5vw;
- }
- .lg-san label {
- padding: 10px 0;
- }
- #head2 .lg-san input {
- margin: 3px 0px;
- }
- .lg-san .el-padding {
- padding: 0 20px;
- }
- .el-button + .el-button {
- margin-left: 0;
- }
- .maxh100{
- max-height: calc(100vh - 100px);
- }
- .maxh290{
- max-height: calc(100vh - 290px);
- }
- .el-button{
- margin-bottom: 2px;
- }
- .lg-si .el-input__inner {
- padding: 0 0 0 0;
- }
- .lg-si-right {
- padding-left: 30px;
- }
- .lg-button {
- background-color: #4c4f54;
- color: #fff;
- border-radius: 10px;
- }
- .el-button--mini,
- .el-button--mini.is-round {
- padding: 5px 15px;
- }
- .lg-san {
- height: 189px;
- overflow: auto;
- }
- .lg-si li {
- padding: 2px 0;
- }
- .el-dialog__body .el-input {
- padding: 5px 0;
- }
- .el-dialog__body .el-form li:first {
- padding: 10px 0;
- }
- .logs_title {
- background: #bfc5cb;
- padding: 10px;
- font-size: 16px;
- text-align: left;
- }
- .el-col-4,
- .el-col-3 {
- position: relative;
- }
- .lg-more {
- position: absolute;
- right: 0;
- bottom: 15px;
- }
- .lg-bg .el-dialog__header {
- background: #efefef;
- border-color: #82848a;
- text-align: center;
- font-weight: 600;
- }
- .dialog-block label {
- display: block;
- font-size: 20px;
- }
- .el-dialog__footer {
- padding: 0px 20px 20px;
- }
- .dialog-block .el-dialog {
- width: 23%;
- }
- .Conditions .el-dialog {
- width: 26%;
- }
- .el-dialog__body {
- padding: 20px 20px;
- }
- .el-dialog {
- max-width: 600px;
- min-width: 452px;
- }
- .lg-Solution .el-dialog {
- width: 16%;
- }
- .lg-Solution label {
- display: block;
- padding: 5px 0;
- }
- .lg-out-h .el-checkbox {
- width: 40%;
- }
- .showright {
- float: right;
- margin-right: 20px;
- }
- .Task-lg li {
- padding: 5px 0;
- }
- .Task-lg .el-radio {
- display: block;
- padding: 3px 0;
- }
- .tack-btn .el-button {
- padding: 8px 16px;
- display: block;
- }
- .outline {
- font-size: 20px;
- padding: 10px 20px;
- font-weight: 600;
- }
- .pagination {
- margin-top: 10px;
- }
- .pagination .el-input{
- padding: 0;
- }
- #head2 input {
- padding-left: 5px;
- }
- .lg-modl .el-radio-button {
- display: block;
- padding: 5px 0;
- }
- .lg-modl .el-select {
- display: block;
- padding: 3px 0;
- }
- .lg-modl .lg-si-right {
- padding: 0;
- }
- .lg-modl .task-si li label {
- display: block;
- }
- .el-col-24 {
- margin-bottom: 10px;
- }
- .x {
- cursor: default;
- float: right;
- }
- .lg-y-z .el-dialog {
- width: 16%;
- }
- .gongju .el-form-item__content {
- margin-left: 185px;
- }
- .gongju .el-form-item {
- margin-bottom: 0;
- }
- .exloadbox{
- float: right;
- margin-right: 100px;
- }
- #head2 input {
- margin: 3px 5px;
- }
- .contour .el-input-number__decrease,
- .el-input-number__increase {
- top: 5px;
- width: 40px;
- cursor: pointer;
- font-size: 13px;
- height: 28px;
- line-height: 28px;
- }
- .line {
- width: 0px;
- height: 99px;
- border: 1px solid #d4d3d1;
- float: right;
- }
- .lg_weiyi .title {
- text-align: center;
- }
- .title {
- font-size: 0.8vw !important;
- margin: 6px 0px !important;
- font-weight: 600;
- }
- .headMenu_2 {
- height:80px;
- overflow: hidden;
- font-size: 12px;
- width: 100%;
- }
- .headMenu_2 span{
- font-size: 12px !important;
- }
- .headMenu_2 .el-input__inner{
- padding:0 2px
- }
- .lisin>li{
- display: flex;
- align-items: center;
- }
- .lisin>li>span{
- display: inline-block;
- width:100px
- }
- .lisin>li>.el-input{
- width:120px
- }
- .sblock{
- display: inline-block;
- width:40%
- }
- .disinblok{
- display: inline-block;
- }
- .inpw50{
- width:50%
- }
- .inpw100{
- width:100%
- }
- .inpw35{
- width:25%
- }
- .inpw75{
- width:75px
- }
- .inpwidth{
- flex:1
- }
- .lheig34{
- line-height: 34px;
- }
- .pdingf10{
- padding-left: 10px !important;
- }
- .move{
- position: relative;
- top: -8px;
- right:-30px
- }
- .discenter{
- display: flex;
- justify-content: center;
- }
- .disrs{
- display: flex;
- flex-direction: row-reverse;
- }
- .padding0{
- padding: 0 !important;
- }
- .marr30{
- margin-right: 30px;
- }
- .marb5{
- margin-bottom:5px
- }
- .disacent{
- display: flex;
- align-items: center;
- }
- .div64>div,
- .disflex,
- .disflex55{
- display: flex;
- align-items: center;
- justify-content: space-between;
- }
- .div64>div>span{
- display: inline-block;
- width:65%
- }
- .span100{
- display: inline-block;
- width: 100px;
- }
- .div64>div>.el-input{
- width: 35%;
- }
- .disflex55>span{
- display: inline-block;
- width:50%
- }
- .disflex55>.el-input{
- width:50%
- }
- .el-dialog__header{
- font-size: 16px;
- font-weight: 700;
- background: #ccc;
- padding: 0 10px;
- line-height: 45px;
- }
- .flexpad30{
- display: flex;
- }
- .flexpad30>div{
- padding-right: 30px;
- }
- </style>
|