From acf9deebcd2e4be2455586a952dae824352332b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=87=AA=E5=B8=A6=E5=A4=A7=E4=BD=AC=E6=B0=94=E5=9C=BA?= <188633308@qq.com> Date: Wed, 19 May 2021 15:24:17 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=88=BF=E5=B1=8B=E5=9F=BA=E6=9C=AC?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E6=8C=AA=E5=8A=A8=E5=88=B0=E9=A1=B5=E7=AD=BE?= =?UTF-8?q?=E4=B8=8A=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Web/src/assets/style/lib/form-page.less | 80 ++++++++----- .../house/houseInfo/form/base/building.vue | 31 ----- .../business/house/houseInfo/form/index.vue | 106 +++++++++--------- 3 files changed, 104 insertions(+), 113 deletions(-) diff --git a/Web/src/assets/style/lib/form-page.less b/Web/src/assets/style/lib/form-page.less index a25c706..4809c1a 100644 --- a/Web/src/assets/style/lib/form-page.less +++ b/Web/src/assets/style/lib/form-page.less @@ -5,7 +5,7 @@ height: 100%; - >.yo-tab-external-mount { + .yo-tab-external-mount { display: flex; flex-direction: column; @@ -17,41 +17,44 @@ background-color: @white; - .ant-tabs-nav-container { - height: @tabs-card-height + @padding-xs; - padding: (@tabs-card-height + @padding-xs - @btn-height-base) / 2 @padding-md; - } - - .ant-tabs-extra-content { - padding: (@tabs-card-height + @padding-xs - @btn-height-base) / 2 @padding-md; - } - - .ant-tabs-tab { - .ant-btn(); - transition: none; - - &:hover { - border-color: @btn-default-border; + &.ant-tabs-card-bar { + .ant-tabs-nav-container { + height: @tabs-card-height + @padding-xs; + padding: (@tabs-card-height + @padding-xs - @btn-height-base) / 2 @padding-md; } - } - .ant-tabs-tab { - line-height: @btn-height-base; + .ant-tabs-extra-content { + padding: (@tabs-card-height + @padding-xs - @btn-height-base) / 2 @padding-md; + } - margin-right: -1px; - } + .ant-tabs-tab { + transition: none; - .ant-tabs-tab-active { - z-index: 2; + .ant-btn(); - color: @btn-primary-color; - border-color: @btn-primary-bg; - background-color: @btn-primary-bg; + &:hover { + border-color: @btn-default-border; + } + } + + .ant-tabs-tab { + line-height: @btn-height-base; + + margin-right: -1px; + } + + .ant-tabs-tab-active { + z-index: 2; - &:hover { color: @btn-primary-color; - border-color: color(~`colorPalette('@{btn-primary-bg}', 5) `); - background-color: color(~`colorPalette('@{btn-primary-bg}', 5) `); + border-color: @btn-primary-bg; + background-color: @btn-primary-bg; + + &:hover { + color: @btn-primary-color; + border-color: color(~`colorPalette('@{btn-primary-bg}', 5) `); + background-color: color(~`colorPalette('@{btn-primary-bg}', 5) `); + } } } } @@ -100,7 +103,7 @@ width: 100%; } - +.yo-tab-external-mount { + ~.yo-tab-external-mount { >.yo-tab-external-mount-content { >.yo-tab-external-tabpane { padding-bottom: @padding-xs * 2 + @btn-height-base + @border-width-base * 2; @@ -145,4 +148,21 @@ } } } + + &-layout { + display: flex; + flex-direction: column; + + height: 100%; + + &--horizontal { + flex-direction: row; + } + } + + &--header { + padding: @padding-md 0; + + background-color: @white; + } } \ No newline at end of file diff --git a/Web/src/pages/business/house/houseInfo/form/base/building.vue b/Web/src/pages/business/house/houseInfo/form/base/building.vue index e61343c..46bb83e 100644 --- a/Web/src/pages/business/house/houseInfo/form/base/building.vue +++ b/Web/src/pages/business/house/houseInfo/form/base/building.vue @@ -14,37 +14,6 @@ > - - - - 测试区 - - - - - 测试街道 - - - - - 欧阳社区 - - - - - 片区一22(明湖片区) - - - - - 宁波市-测试区-测试街道-欧阳社区-项目十二(项目十二)-001 - - - - - 330266066001012001 - - diff --git a/Web/src/pages/business/house/houseInfo/form/index.vue b/Web/src/pages/business/house/houseInfo/form/index.vue index 3b2b61f..932d7e1 100644 --- a/Web/src/pages/business/house/houseInfo/form/index.vue +++ b/Web/src/pages/business/house/houseInfo/form/index.vue @@ -1,63 +1,65 @@