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 @@