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
/prototype
/dist
/.qoder
/demo
/.trae/
npm-debug.log*

View File

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

View File

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

View File

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

View File

@ -4,6 +4,19 @@
&--cockpit {
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 {

View File

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