dev-tmp1
tangjie 2026-08-17 18:03:27 +08:00
parent 7fc92658bc
commit c1789ef6c6
6 changed files with 21 additions and 5 deletions

1
.gitignore vendored
View File

@ -6,6 +6,7 @@
# production # production
/prototype /prototype
/dist /dist
/.qoder
/demo /demo
/.trae/ /.trae/
npm-debug.log* npm-debug.log*

View File

@ -14,7 +14,7 @@
<% for (const item of $links) { %> <% for (const item of $links) { %>
<link type="text/css" rel="stylesheet" href="<%= item %>"></link> <link type="text/css" rel="stylesheet" href="<%= item %>"></link>
<% } %> <% } %>
<title>注册</title> <title>重庆安全评价</title>
<script> <script>
(function () { (function () {
const APP_ENV = { const APP_ENV = {

View File

@ -1,5 +1,5 @@
.driver-back { .driver-back {
display: inline-flex; display: flex;
align-items: center; align-items: center;
gap: 5px; gap: 5px;
cursor: pointer; cursor: pointer;

View File

@ -137,8 +137,9 @@ const Driver = (props) => {
<div className={`driver-container${isSupervision ? " driver-container--cockpit" : ""}`}> <div className={`driver-container${isSupervision ? " driver-container--cockpit" : ""}`}>
<Skeleton active loading={isLoading}> <Skeleton active loading={isLoading}>
<div className="driver-container-content"> <div className="driver-container-content">
{showContent && isInstitution && <Institution {...props} />} <Institution {...props} />
{showContent && isSupervision && <Cockpit {...props} />} {/* {showContent && isInstitution && <Institution {...props} />}
{showContent && isSupervision && <Cockpit {...props} />} */}
</div> </div>
</Skeleton> </Skeleton>
</div> </div>

View File

@ -4,6 +4,19 @@
&--cockpit { &--cockpit {
padding: 0; padding: 0;
overflow: hidden;
.cockpit-page {
height: 100%;
min-height: 0;
overflow: hidden;
}
.cockpit-stage {
height: 100%;
min-height: 0;
aspect-ratio: auto;
}
} }
.driver-container-content { .driver-container-content {

View File

@ -1,6 +1,7 @@
/* ============ 机构端首页 — 1:1 还原原型 dashboard-classic ============ */ /* ============ 机构端首页 — 1:1 还原原型 dashboard-classic ============ */
.institution-dashboard { .institution-dashboard {
padding: 0 18px;
min-height: 100%; min-height: 100%;
background: #f8fafc; background: #f8fafc;
color: #1e293b; color: #1e293b;
@ -9,7 +10,7 @@
/* 顶部工具栏 */ /* 顶部工具栏 */
.institution-dashboard__toolbar { .institution-dashboard__toolbar {
padding: 0 0 8px; padding: 6px;
} }
/* ============ dashboard-classic 布局 ============ */ /* ============ dashboard-classic 布局 ============ */