html { width: 100%; height: 100%; box-sizing: border-box; margin: 0; padding: 0; } body { width: 100%; height: 100%; box-sizing: border-box; margin: 0; padding: 0; } .flexrow { display: flex; flex-direction: row; width: 100%; height: 100%; } .layui-fluid { width: calc(100% - 30px); height: calc(100% - 20px); } #container { height: calc(100% - 60px); } #formcontainer { padding: 24px; padding-bottom: 60px; overflow-y: auto; overflow-x: hidden; height: calc(100% - 60px); } #opcontainer { width: 100%; margin-left: auto; margin-right: auto; text-align: center; list-style: none; position: fixed; height: 40px; bottom: 0px; padding-top: 5px; border-top: 1px solid #dcdcdc; background-color: #fff; z-index: 9999; } label.required:after { /* 给红色的必填项打红色星号(文字后)如果打前面用before*/ content: ' *'; color: red; } /*valid*/ input.error { border: 1px solid red; } label.error { font-weight: bold; color: red; } .list-container { padding: 10px; background-color: white; margin-top: 15px; height: calc(100% - 35px); width: 100%; } .list-left-container{ padding: 10px; background-color: white; margin-top: 15px; margin-right: 5px; height: calc(100% - 35px); } .list-right-container{ padding: 10px; background-color: white; margin-top: 15px; height: calc(100% - 35px); width: calc(100% - 250px); } .list-search-container { display: flex; flex-direction: row; align-items: center; } .list-search-item { display: flex; flex-direction: row; align-items: center; margin-left: 10px; } .list-search-item span { font-size: 13px; width: 100px; } .list-search-item input { height: 30px; } .layui-btn-container { display: flex; flex-direction: row; } .xm-option{ max-width: 400px !important; }