无人机管理后台前端(已迁走)
张含笑
2025-09-04 8cf2c679e04e0ecaa1ceb78a6ee941461364dab7
feat:样式调整
1 files modified
17 ■■■■ changed files
src/views/resource/components/spotDetails.vue 17 ●●●● patch | view | raw | blame | history
src/views/resource/components/spotDetails.vue
@@ -28,7 +28,7 @@
                    <el-select
                      v-model="item.value"
                      placeholder="请选择图斑类型"
                      style="width: 100%"
                      style="width: 102%"
                    >
                      <el-option
                        v-for="opt in spotTypeOptions"
@@ -39,11 +39,11 @@
                    </el-select>
                  </template>
                  <template v-else-if="item.name === '文件名称'">
                    <el-input v-model="item.value" />
                    <el-input  style="width: 102%" v-model="item.value" />
                  </template>
                </template>
                <template v-else>
                  <div class="itemValue">{{ item.value }}</div>
                <template v-else >
                  <div class="itemValue"  :class="{ 'error-text': item.name === '异常图斑数量' }">{{ item.value }}</div>
                </template>
              </div>
            </div>
@@ -518,6 +518,7 @@
    }
    destroyMap();
  }
  refreshonload();
});
onMounted(() => {});
onBeforeUnmount(() => {
@@ -597,11 +598,19 @@
      line-height: 33px;
      padding-right: 10px;
      margin: 0 -10px 0 -10px;
      border-right: 1px solid #e8e8e8;
    }
    .itemContent {
      flex: 1;
      padding-left: 10px;
      .itemValue {
      padding-left: 6px;
      color: #7B7B7B;
      }
      .error-text{
      color: #FF0A0A;
      }
    }
  }
}