|
|
@@ -6,122 +6,119 @@
|
|
|
<div class="calculation-content">
|
|
|
<h2 class="page-title">灌溉水输入通量计算</h2>
|
|
|
|
|
|
- <!-- 将单选按钮组改为多选框组 -->
|
|
|
- <div class="scrollable-content">
|
|
|
+ <!-- 将多选框和输入栏放在同一行 -->
|
|
|
+ <div class="scrollable-content compact-layout">
|
|
|
<el-checkbox-group v-model="selectedLandTypes" style="width: 100%;">
|
|
|
<!-- 水田 -->
|
|
|
- <div class="land-type-section">
|
|
|
- <div class="radio-container">
|
|
|
+ <div class="land-type-section compact">
|
|
|
+ <div class="radio-container compact">
|
|
|
<el-checkbox
|
|
|
label="water"
|
|
|
border
|
|
|
size="large"
|
|
|
- class="custom-checkbox"
|
|
|
+ class="custom-checkbox compact"
|
|
|
>
|
|
|
<span class="checkbox-label">水田</span>
|
|
|
</el-checkbox>
|
|
|
</div>
|
|
|
|
|
|
- <div class="input-group">
|
|
|
- <!-- 修改:将两个输入栏放在同一行 -->
|
|
|
- <div class="input-row">
|
|
|
- <div class="input-column">
|
|
|
- <div class="input-title">灌溉水用量 (m³/亩/年)</div>
|
|
|
- <el-input
|
|
|
- v-model="irrigationWaterUsage"
|
|
|
- placeholder="请输入灌溉水用量"
|
|
|
- size="large"
|
|
|
- />
|
|
|
- </div>
|
|
|
- <div class="input-column">
|
|
|
- <div class="input-title">灌溉水有效利用率 (%)</div>
|
|
|
- <el-input
|
|
|
- v-model="irrigationEfficiency"
|
|
|
- placeholder="请输入灌溉水有效利用率"
|
|
|
- size="large"
|
|
|
- />
|
|
|
- </div>
|
|
|
+ <div class="input-group compact">
|
|
|
+ <div class="input-column compact">
|
|
|
+ <div class="input-title">灌溉水用量 (m³/亩/年)</div>
|
|
|
+ <el-input
|
|
|
+ v-model="irrigationWaterUsage"
|
|
|
+ placeholder="711"
|
|
|
+ size="large"
|
|
|
+ class="compact-input"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ <div class="input-column compact">
|
|
|
+ <div class="input-title">有效利用率</div>
|
|
|
+ <el-input
|
|
|
+ v-model="irrigationEfficiency"
|
|
|
+ placeholder="0.524"
|
|
|
+ size="large"
|
|
|
+ class="compact-input"
|
|
|
+ />
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<!-- 水浇地 -->
|
|
|
- <div class="land-type-section">
|
|
|
- <div class="radio-container">
|
|
|
+ <div class="land-type-section compact">
|
|
|
+ <div class="radio-container compact">
|
|
|
<el-checkbox
|
|
|
label="irrigated"
|
|
|
border
|
|
|
size="large"
|
|
|
- class="custom-checkbox"
|
|
|
+ class="custom-checkbox compact"
|
|
|
>
|
|
|
<span class="checkbox-label">水浇地</span>
|
|
|
</el-checkbox>
|
|
|
</div>
|
|
|
|
|
|
- <div class="input-group">
|
|
|
- <!-- 修改:将两个输入栏放在同一行 -->
|
|
|
- <div class="input-row">
|
|
|
- <div class="input-column">
|
|
|
- <div class="input-title">灌溉水用量 (m³/亩/年)</div>
|
|
|
- <el-input
|
|
|
- v-model="irrigatedWaterUsage"
|
|
|
- placeholder="请输入灌溉水用量"
|
|
|
- size="large"
|
|
|
- />
|
|
|
- </div>
|
|
|
- <div class="input-column">
|
|
|
- <div class="input-title">灌溉水有效利用率 (%)</div>
|
|
|
- <el-input
|
|
|
- v-model="irrigatedEfficiency"
|
|
|
- placeholder="请输入灌溉水有效利用率"
|
|
|
- size="large"
|
|
|
- />
|
|
|
- </div>
|
|
|
+ <div class="input-group compact">
|
|
|
+ <div class="input-column compact">
|
|
|
+ <div class="input-title">灌溉水用量 (m³/亩/年)</div>
|
|
|
+ <el-input
|
|
|
+ v-model="irrigatedWaterUsage"
|
|
|
+ placeholder="427"
|
|
|
+ size="large"
|
|
|
+ class="compact-input"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ <div class="input-column compact">
|
|
|
+ <div class="input-title">有效利用率</div>
|
|
|
+ <el-input
|
|
|
+ v-model="irrigatedEfficiency"
|
|
|
+ placeholder="0.599"
|
|
|
+ size="large"
|
|
|
+ class="compact-input"
|
|
|
+ />
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<!-- 旱地 -->
|
|
|
- <div class="land-type-section">
|
|
|
- <div class="radio-container">
|
|
|
+ <div class="land-type-section compact">
|
|
|
+ <div class="radio-container compact">
|
|
|
<el-checkbox
|
|
|
label="dry"
|
|
|
border
|
|
|
size="large"
|
|
|
- class="custom-checkbox"
|
|
|
+ class="custom-checkbox compact"
|
|
|
>
|
|
|
<span class="checkbox-label">旱地</span>
|
|
|
</el-checkbox>
|
|
|
</div>
|
|
|
|
|
|
- <div class="input-group">
|
|
|
- <!-- 修改:将两个输入栏放在同一行 -->
|
|
|
- <div class="input-row">
|
|
|
- <div class="input-column">
|
|
|
- <div class="input-title">灌溉水用量 (m³/亩/年)</div>
|
|
|
- <el-input
|
|
|
- v-model="dryWaterUsage"
|
|
|
- placeholder="请输入灌溉水用量"
|
|
|
- size="large"
|
|
|
- />
|
|
|
- </div>
|
|
|
- <div class="input-column">
|
|
|
- <div class="input-title">灌溉水有效利用率 (%)</div>
|
|
|
- <el-input
|
|
|
- v-model="dryEfficiency"
|
|
|
- placeholder="请输入灌溉水有效利用率"
|
|
|
- size="large"
|
|
|
- />
|
|
|
- </div>
|
|
|
+ <div class="input-group compact">
|
|
|
+ <div class="input-column compact">
|
|
|
+ <div class="input-title">灌溉水用量 (m³/亩/年)</div>
|
|
|
+ <el-input
|
|
|
+ v-model="dryWaterUsage"
|
|
|
+ placeholder="200"
|
|
|
+ size="large"
|
|
|
+ class="compact-input"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ <div class="input-column compact">
|
|
|
+ <div class="input-title">有效利用率</div>
|
|
|
+ <el-input
|
|
|
+ v-model="dryEfficiency"
|
|
|
+ placeholder="0.7"
|
|
|
+ size="large"
|
|
|
+ class="compact-input"
|
|
|
+ />
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</el-checkbox-group>
|
|
|
</div>
|
|
|
|
|
|
- <el-row justify="center" style="margin-top: 20px; margin-bottom: 20px;">
|
|
|
+ <el-row justify="center" style="margin-top: 20px; margin-bottom: 10px;">
|
|
|
<el-button
|
|
|
- class="calculate-btn"
|
|
|
+ class="calculate-btn compact"
|
|
|
@click="calculateFlux"
|
|
|
:loading="loading"
|
|
|
size="large"
|
|
|
@@ -219,7 +216,6 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
-// 修改后的script部分
|
|
|
<script>
|
|
|
import { ref } from 'vue';
|
|
|
import {
|
|
|
@@ -482,341 +478,257 @@ export default {
|
|
|
</script>
|
|
|
|
|
|
<style scoped>
|
|
|
-/* 调整样式,确保计算按钮可见且不需要滚动 */
|
|
|
+/* 整体布局优化 */
|
|
|
.irrigation-management {
|
|
|
height: 100vh;
|
|
|
overflow: hidden;
|
|
|
+ background: linear-gradient(135deg, #f5f7fa 0%, #e6f7ff 100%);
|
|
|
+ padding: 20px;
|
|
|
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
|
}
|
|
|
|
|
|
.page-container {
|
|
|
width: 90%;
|
|
|
- height: 100%;
|
|
|
- padding: 15px;
|
|
|
- box-sizing: border-box;
|
|
|
+ height: 90%;
|
|
|
+ margin: 0 auto;
|
|
|
+ max-width: 1200px;
|
|
|
}
|
|
|
|
|
|
.gradient-card {
|
|
|
background: linear-gradient(
|
|
|
135deg,
|
|
|
- rgba(250, 253, 255, 0.8),
|
|
|
- rgba(137, 223, 252, 0.8)
|
|
|
+ rgba(250, 253, 255, 0.9),
|
|
|
+ rgba(210, 240, 252, 0.9)
|
|
|
);
|
|
|
- width: 90%;
|
|
|
height: 100%;
|
|
|
padding: 20px;
|
|
|
border-radius: 12px;
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
-}
|
|
|
-
|
|
|
-.results-card {
|
|
|
- background: linear-gradient(
|
|
|
- 135deg,
|
|
|
- rgba(250, 253, 255, 0.8),
|
|
|
- rgba(137, 223, 252, 0.8)
|
|
|
- );
|
|
|
- width: 90%;
|
|
|
- max-width: 1200px;
|
|
|
- padding: 30px;
|
|
|
- border-radius: 12px;
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
- height: 100%;
|
|
|
+ box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
|
|
|
}
|
|
|
|
|
|
.calculation-content {
|
|
|
height: 100%;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
-}
|
|
|
-
|
|
|
-/* 新增:可滚动内容区域 */
|
|
|
-.scrollable-content {
|
|
|
- flex: 1;
|
|
|
- overflow-y: auto;
|
|
|
- padding-right: 5px; /* 防止滚动条遮挡内容 */
|
|
|
-}
|
|
|
-
|
|
|
-/* 新增:结果页面可滚动区域 */
|
|
|
-.scrollable-results {
|
|
|
- flex: 1;
|
|
|
- overflow-y: auto;
|
|
|
- padding-right: 5px; /* 防止滚动条遮挡内容 */
|
|
|
-}
|
|
|
-
|
|
|
-/* 增大字号 */
|
|
|
-.page-title {
|
|
|
- text-align: center;
|
|
|
- font-size: 28px; /* 增大 */
|
|
|
- font-weight: bold;
|
|
|
- margin-bottom: 15px;
|
|
|
- color: #1a8cff;
|
|
|
-}
|
|
|
-
|
|
|
-.results-header {
|
|
|
- display: flex;
|
|
|
justify-content: space-between;
|
|
|
- align-items: center;
|
|
|
- margin-bottom: 15px;
|
|
|
}
|
|
|
|
|
|
-.result-title {
|
|
|
- font-size: 28px; /* 增大 */
|
|
|
- font-weight: bold;
|
|
|
+/* 标题样式 */
|
|
|
+.page-title {
|
|
|
text-align: center;
|
|
|
- flex-grow: 1;
|
|
|
- color: #1a8cff;
|
|
|
-}
|
|
|
-
|
|
|
-.input-title {
|
|
|
- font-size: 18px; /* 增大 */
|
|
|
- font-weight: 500;
|
|
|
- color: #606266;
|
|
|
- margin-bottom: 10px;
|
|
|
- text-align: left;
|
|
|
-}
|
|
|
-
|
|
|
-.radio-container {
|
|
|
- display: flex;
|
|
|
- justify-content: flex-start;
|
|
|
- align-items: center;
|
|
|
- height: 100%;
|
|
|
- margin-bottom: 10px;
|
|
|
-}
|
|
|
-
|
|
|
-.calculate-btn {
|
|
|
- width: 100%;
|
|
|
- max-width: 350px;
|
|
|
- height: 45px;
|
|
|
- border-radius: 8px;
|
|
|
- font-size: 18px; /* 增大 */
|
|
|
+ font-size: 26px;
|
|
|
font-weight: 600;
|
|
|
- background: linear-gradient(45deg, #1a8cff, #00cc99);
|
|
|
- color: white;
|
|
|
- margin-top: 15px;
|
|
|
-}
|
|
|
-
|
|
|
-.results-container {
|
|
|
- padding: 10px;
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
-}
|
|
|
-
|
|
|
-.result-subtitle {
|
|
|
- text-align: center;
|
|
|
- font-weight: bold;
|
|
|
- font-size: 20px; /* 增大 */
|
|
|
- margin-bottom: 15px;
|
|
|
- padding-bottom: 8px;
|
|
|
- border-bottom: 1px solid #eee;
|
|
|
+ margin-bottom: 20px;
|
|
|
color: #1a8cff;
|
|
|
+ text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
|
|
|
+ letter-spacing: 0.5px;
|
|
|
}
|
|
|
|
|
|
-/* 调整图像行样式 */
|
|
|
-.image-row {
|
|
|
- margin-top: 20px;
|
|
|
- height: auto; /* 自动高度 */
|
|
|
-}
|
|
|
-
|
|
|
-.image-container {
|
|
|
- width: 100%;
|
|
|
+/* 紧凑布局调整 */
|
|
|
+.compact-layout {
|
|
|
+ flex: 1;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
+ gap: 15px;
|
|
|
+ padding: 0 10px;
|
|
|
}
|
|
|
|
|
|
-.image-wrapper {
|
|
|
- height: 500px; /* 固定高度 */
|
|
|
- display: flex;
|
|
|
- justify-content: center;
|
|
|
- align-items: center;
|
|
|
- border: 1px solid #e4e7ed;
|
|
|
- border-radius: 8px;
|
|
|
- overflow: hidden;
|
|
|
- background-color: #f8f8f8;
|
|
|
- box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
|
|
|
-}
|
|
|
-
|
|
|
-.result-image {
|
|
|
- max-width: 100%;
|
|
|
- max-height: 100%;
|
|
|
- object-fit: contain;
|
|
|
-}
|
|
|
-
|
|
|
-.image-placeholder {
|
|
|
- height: 100%;
|
|
|
- width: 100%;
|
|
|
+.land-type-section.compact {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
- justify-content: center;
|
|
|
- color: #909399;
|
|
|
- font-style: italic;
|
|
|
- font-size: 20px; /* 增大 */
|
|
|
-}
|
|
|
-
|
|
|
-.statistics-container {
|
|
|
+ padding: 12px 15px;
|
|
|
background-color: rgba(255, 255, 255, 0.7);
|
|
|
- border-radius: 8px;
|
|
|
- padding: 15px;
|
|
|
-}
|
|
|
-
|
|
|
-/* 表格样式增强 - 增大字号 */
|
|
|
-:deep(.el-table) {
|
|
|
- margin-bottom: 15px;
|
|
|
- border-radius: 8px;
|
|
|
- overflow: hidden;
|
|
|
- font-size: 16px; /* 增大 */
|
|
|
-}
|
|
|
-
|
|
|
-:deep(.el-table__header) {
|
|
|
- background-color: #f0f8ff;
|
|
|
-}
|
|
|
-
|
|
|
-:deep(.el-table th) {
|
|
|
- background-color: #f0f8ff;
|
|
|
- font-weight: bold;
|
|
|
- font-size: 16px; /* 增大 */
|
|
|
-}
|
|
|
-
|
|
|
-/* 返回按钮样式 - 增大字号 */
|
|
|
-.back-button {
|
|
|
- position: absolute;
|
|
|
- top: 15px;
|
|
|
- left: 15px;
|
|
|
- width: 120px;
|
|
|
- height: 40px;
|
|
|
- padding: 8px;
|
|
|
- font-size: 18px; /* 增大 */
|
|
|
- background: linear-gradient(to right, #8DF9F0, #26B046);
|
|
|
- color: white;
|
|
|
- border-radius: 20px;
|
|
|
+ border-radius: 10px;
|
|
|
+ box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
|
|
|
+ margin-bottom: 10px;
|
|
|
+ transition: all 0.3s ease;
|
|
|
}
|
|
|
|
|
|
-/* 土地类型部分样式 */
|
|
|
-.land-type-section {
|
|
|
- margin-bottom: 25px; /* 增加底部间距 */
|
|
|
- padding: 15px;
|
|
|
- background-color: rgba(255, 255, 255, 0.5);
|
|
|
- border-radius: 8px;
|
|
|
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
|
+.land-type-section.compact:hover {
|
|
|
+ transform: translateY(-2px);
|
|
|
+ box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
|
|
|
}
|
|
|
|
|
|
-.input-group {
|
|
|
- margin-left: 20px;
|
|
|
- margin-top: 15px; /* 增加顶部间距 */
|
|
|
+.radio-container.compact {
|
|
|
+ margin-bottom: 0;
|
|
|
+ flex-shrink: 0;
|
|
|
+ width: 100px;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-.input-row {
|
|
|
+.input-group.compact {
|
|
|
+ margin-left: 0;
|
|
|
+ margin-top: 0;
|
|
|
+ flex-grow: 1;
|
|
|
display: flex;
|
|
|
- gap: 15px; /* 输入框之间的间距 */
|
|
|
- margin-bottom: 15px;
|
|
|
+ gap: 15px;
|
|
|
}
|
|
|
|
|
|
-.input-column {
|
|
|
- flex: 1; /* 每个输入栏占据相同宽度 */
|
|
|
- min-width: 0; /* 防止内容溢出 */
|
|
|
+.input-column.compact {
|
|
|
+ flex: 1;
|
|
|
+ min-width: 0;
|
|
|
}
|
|
|
|
|
|
-/* 响应式调整:小屏幕下垂直排列 */
|
|
|
-@media (max-width: 992px) {
|
|
|
- .input-row {
|
|
|
- flex-direction: column;
|
|
|
- gap: 10px;
|
|
|
- }
|
|
|
+/* 输入栏优化 - 宽度减少,字体增大 */
|
|
|
+.compact-input {
|
|
|
+ margin-top: 5px;
|
|
|
+ width: 80%; /* 减少宽度 */
|
|
|
+ max-width: 300px; /* 设置最大宽度 */
|
|
|
+ font-size: 18px; /* 增大字体 */
|
|
|
+ height: 42px; /* 适当增加高度 */
|
|
|
}
|
|
|
|
|
|
+:deep(.el-input__inner) {
|
|
|
+ font-size: 18px !important; /* 确保输入文字也增大 */
|
|
|
+ padding: 0 15px !important;
|
|
|
+ height: 42px !important;
|
|
|
+}
|
|
|
|
|
|
-
|
|
|
-/* 多选框样式增强 */
|
|
|
-.custom-checkbox {
|
|
|
- padding: 15px 20px;
|
|
|
+.custom-checkbox.compact {
|
|
|
+ padding: 10px 12px;
|
|
|
border-radius: 10px;
|
|
|
background: rgba(255, 255, 255, 0.7);
|
|
|
- box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
|
+ box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
|
|
|
transition: all 0.3s ease;
|
|
|
border: 2px solid #dcdfe6;
|
|
|
+ height: 44px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
}
|
|
|
|
|
|
-.custom-checkbox:hover {
|
|
|
+.custom-checkbox.compact:hover {
|
|
|
transform: translateY(-2px);
|
|
|
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
|
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
|
|
|
border-color: #1a8cff;
|
|
|
}
|
|
|
|
|
|
-.custom-checkbox.is-checked {
|
|
|
+.custom-checkbox.compact.is-checked {
|
|
|
background-color: #e6f7ff;
|
|
|
border-color: #1a8cff;
|
|
|
- box-shadow: 0 4px 12px rgba(26, 140, 255, 0.2);
|
|
|
+ box-shadow: 0 4px 10px rgba(26, 140, 255, 0.2);
|
|
|
}
|
|
|
|
|
|
.checkbox-label {
|
|
|
- font-size: 18px;
|
|
|
+ font-size: 18px; /* 增大字体 */
|
|
|
font-weight: 600;
|
|
|
color: #333;
|
|
|
margin-left: 10px;
|
|
|
}
|
|
|
|
|
|
+.input-title {
|
|
|
+ font-size: 18px; /* 增大字体 */
|
|
|
+ font-weight: 500;
|
|
|
+ color: #2c3e50;
|
|
|
+ margin-bottom: 8px;
|
|
|
+ text-align: left;
|
|
|
+}
|
|
|
+
|
|
|
+/* 计算按钮优化 */
|
|
|
+.calculate-btn.compact {
|
|
|
+ width: 90%;
|
|
|
+ max-width: 380px;
|
|
|
+ height: 46px;
|
|
|
+ border-radius: 10px;
|
|
|
+ font-size: 18px; /* 增大字体 */
|
|
|
+ font-weight: 600;
|
|
|
+ background: linear-gradient(45deg, #1a8cff, #00cc99);
|
|
|
+ color: white;
|
|
|
+ margin-top: 10px;
|
|
|
+ box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
|
|
|
+ transition: all 0.3s ease;
|
|
|
+ letter-spacing: 1px;
|
|
|
+}
|
|
|
+
|
|
|
+.calculate-btn.compact:hover {
|
|
|
+ transform: translateY(-3px);
|
|
|
+ box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
|
|
|
+}
|
|
|
+
|
|
|
/* 响应式调整 */
|
|
|
@media (max-width: 992px) {
|
|
|
- .image-row {
|
|
|
- height: auto;
|
|
|
- }
|
|
|
-
|
|
|
- .image-wrapper {
|
|
|
- height: 250px; /* 减小高度 */
|
|
|
+ .land-type-section.compact {
|
|
|
+ flex-direction: column;
|
|
|
+ align-items: flex-start;
|
|
|
+ padding: 15px;
|
|
|
}
|
|
|
|
|
|
- .image-container {
|
|
|
+ .radio-container.compact {
|
|
|
width: 100%;
|
|
|
- margin-bottom: 20px;
|
|
|
+ margin-bottom: 10px;
|
|
|
}
|
|
|
|
|
|
- .input-group {
|
|
|
+ .input-group.compact {
|
|
|
+ width: 100%;
|
|
|
margin-left: 0;
|
|
|
+ flex-direction: column;
|
|
|
+ gap: 12px;
|
|
|
}
|
|
|
|
|
|
- .page-title,
|
|
|
- .result-title {
|
|
|
- font-size: 24px; /* 增大 */
|
|
|
- }
|
|
|
-
|
|
|
- .result-subtitle {
|
|
|
- font-size: 18px; /* 增大 */
|
|
|
+ .compact-input {
|
|
|
+ width: 95%; /* 在小屏幕上增加宽度 */
|
|
|
+ max-width: none;
|
|
|
}
|
|
|
|
|
|
- .custom-checkbox {
|
|
|
- padding: 12px 15px;
|
|
|
+ .page-title {
|
|
|
+ font-size: 24px;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@media (max-height: 800px) {
|
|
|
- .land-type-section {
|
|
|
- padding: 10px;
|
|
|
- margin-bottom: 15px; /* 增加底部间距 */
|
|
|
+ .gradient-card {
|
|
|
+ padding: 15px;
|
|
|
}
|
|
|
|
|
|
- .input-row {
|
|
|
- margin-bottom: 8px;
|
|
|
+ .land-type-section.compact {
|
|
|
+ padding: 10px 12px;
|
|
|
}
|
|
|
|
|
|
- .calculate-btn {
|
|
|
+ .custom-checkbox.compact {
|
|
|
+ padding: 8px 10px;
|
|
|
height: 40px;
|
|
|
- font-size: 16px; /* 增大 */
|
|
|
- margin-top: 10px;
|
|
|
}
|
|
|
|
|
|
- .image-wrapper {
|
|
|
- height: 200px; /* 进一步减小高度 */
|
|
|
+ .input-title {
|
|
|
+ font-size: 16px;
|
|
|
}
|
|
|
|
|
|
- /* 在低高度屏幕上减小土地类型区块间距 */
|
|
|
- .land-type-section {
|
|
|
- margin-bottom: 10px;
|
|
|
+ .checkbox-label {
|
|
|
+ font-size: 16px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .page-title {
|
|
|
+ font-size: 22px;
|
|
|
+ margin-bottom: 15px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .calculate-btn.compact {
|
|
|
+ height: 42px;
|
|
|
+ font-size: 16px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .compact-input {
|
|
|
+ font-size: 16px;
|
|
|
+ height: 38px;
|
|
|
}
|
|
|
|
|
|
- /* 在低高度屏幕上减小输入组上边距 */
|
|
|
- .input-group {
|
|
|
- margin-top: 10px;
|
|
|
+ :deep(.el-input__inner) {
|
|
|
+ font-size: 16px !important;
|
|
|
+ height: 38px !important;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+@media (max-height: 700px) {
|
|
|
+ .page-title {
|
|
|
+ font-size: 20px;
|
|
|
+ margin-bottom: 12px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .compact-layout {
|
|
|
+ gap: 10px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .land-type-section.compact {
|
|
|
+ padding: 8px 10px;
|
|
|
+ margin-bottom: 8px;
|
|
|
}
|
|
|
}
|
|
|
</style>
|