diff --git a/04.系统编码/Frontend/src/components/DecisionSupport.vue b/04.系统编码/Frontend/src/components/DecisionSupport.vue index 5f5d283..5f57a23 100644 --- a/04.系统编码/Frontend/src/components/DecisionSupport.vue +++ b/04.系统编码/Frontend/src/components/DecisionSupport.vue @@ -176,6 +176,10 @@ .el-image { height: calc(~"100% - 0.4rem"); margin-top: 0.1rem; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; } } } diff --git a/04.系统编码/Frontend/src/components/Shared/Header.vue b/04.系统编码/Frontend/src/components/Shared/Header.vue index 0003d26..8b9e3d5 100644 --- a/04.系统编码/Frontend/src/components/Shared/Header.vue +++ b/04.系统编码/Frontend/src/components/Shared/Header.vue @@ -5,37 +5,30 @@ 南京生态环境评估决策平台
@@ -72,14 +65,19 @@ text-align: center; cursor: pointer; + a { + height: 100%; + color: #ffffff; + } + &:nth-of-type(3) { width: 2.3rem; - &.active { + .active { background: url("/images/nav-bg-big.png") no-repeat center/cover; } } - &.active { - color: #ffffff; + .active { + color: #23FBFF; background: url("/images/nav-bg.png") no-repeat center/cover; } } diff --git a/04.系统编码/Frontend/src/components/SynergyEvaluation.vue b/04.系统编码/Frontend/src/components/SynergyEvaluation.vue index 4baf6a0..cc637f3 100644 --- a/04.系统编码/Frontend/src/components/SynergyEvaluation.vue +++ b/04.系统编码/Frontend/src/components/SynergyEvaluation.vue @@ -324,6 +324,14 @@ .el-image { height: calc(~"100% - 0.4rem"); margin-top: 0.1rem; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + background-color: #ffffff; + .image-slot { + margin-top: 0; + } } } } @@ -342,6 +350,7 @@ display: flex; align-items: center; flex-direction: column; + justify-content: center; } &:nth-of-type(6n) { diff --git a/04.系统编码/Frontend/src/components/SystemManagement.vue b/04.系统编码/Frontend/src/components/SystemManagement.vue index d2affee..0da68e0 100644 --- a/04.系统编码/Frontend/src/components/SystemManagement.vue +++ b/04.系统编码/Frontend/src/components/SystemManagement.vue @@ -98,7 +98,7 @@ export default { isDisabled:false, title:'', formLabelWidth:"100px", - total:"", + total: "", current:1, size:10, form:{ diff --git a/04.系统编码/Frontend/src/index.less b/04.系统编码/Frontend/src/index.less index 465d9ec..616d408 100644 --- a/04.系统编码/Frontend/src/index.less +++ b/04.系统编码/Frontend/src/index.less @@ -401,6 +401,10 @@ img { .el-image { height: 90%; margin: 0 auto; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; .el-image__inner { width: auto; @@ -418,7 +422,6 @@ img { .image-slot { width: 1.5rem; height: 1.5rem; - margin: 1rem auto 0 auto; text-align: center; display: flex; align-items: center; diff --git a/04.系统编码/Frontend/src/uilts/Config.ts b/04.系统编码/Frontend/src/uilts/Config.ts index 1ae6b7a..6422b3c 100644 --- a/04.系统编码/Frontend/src/uilts/Config.ts +++ b/04.系统编码/Frontend/src/uilts/Config.ts @@ -1,8 +1,8 @@ import { Moment } from "moment"; -import { format } from "../uilts/String"; +import { format } from "./String"; export class Config { - public static parentUrl: string = "http://112.124.40.88:8890/product/picture"; + public static parentUrl: string = "http://112.124.40.88:8002/product/picture"; } export class MicrowaveRadiationConfig { @@ -21,13 +21,15 @@ export class RamanLidarConfig { } export class SynergyEvaluationConfig { + private static url: string = Config.parentUrl + "/images"; public static getUrl(tabName: string, elementName: string, type: string): string { - return format('/images/ecological-environment/{0}/{1}/{2}.tif', tabName, elementName, type) + return format('{3}/ecological-environment/{0}/{1}/{2}.tif', tabName, elementName, type, this.url); } } export class DecisionSupportConfig { + private static url: string = Config.parentUrl + "/images"; public static getUrl(productName: string, imgName: string): string { - return format('/images/decision-support/{0}/{1}.tif', productName, imgName) + return format('{2}/decision-support/{0}/{1}.tif', productName, imgName, this.url); } } \ No newline at end of file