|
|
@@ -1806,12 +1806,13 @@ input::placeholder ,textarea::placeholder{
|
|
|
}
|
|
|
/* 一级页面搜索结束 */
|
|
|
|
|
|
-/* 知识库卡片开始 */
|
|
|
+/* 知识库卡片开始 by xu 20260105 */
|
|
|
.knowledge-item-container {
|
|
|
- width: 573px;
|
|
|
- /* height: 220px; */
|
|
|
- box-shadow: 2px 2px 5px #e7e8e8;
|
|
|
- background: #fafbfe;
|
|
|
+ /* width: 573px; 移除固定宽度 by xu 20260105 */
|
|
|
+ min-width: 300px; /* 无图卡片最小宽度 by xu 20260105 */
|
|
|
+ height: 168px;
|
|
|
+ /* box-shadow: 2px 2px 5px #e7e8e8; */
|
|
|
+ background: #ffffff;
|
|
|
border-radius: 4px;
|
|
|
position: relative;
|
|
|
cursor: pointer;
|
|
|
@@ -1820,46 +1821,45 @@ input::placeholder ,textarea::placeholder{
|
|
|
--header-color: #999;
|
|
|
}
|
|
|
|
|
|
+/* 证件照卡片最小宽度 by xu 20260105 */
|
|
|
+.knowledge-item-container.card-photo {
|
|
|
+ min-width: 320px;
|
|
|
+}
|
|
|
+
|
|
|
+/* 缩略图卡片最小宽度 by xu 20260105 */
|
|
|
+.knowledge-item-container.card-thumbnail {
|
|
|
+ min-width: 400px;
|
|
|
+}
|
|
|
+
|
|
|
+/* 状态颜色 - 场地预定 by xu 20260105 */
|
|
|
+.knowledge-item-container.status-available {
|
|
|
+ background: #d4fad4;
|
|
|
+}
|
|
|
+
|
|
|
+.knowledge-item-container.status-unavailable {
|
|
|
+ background: #fff5c8;
|
|
|
+}
|
|
|
+
|
|
|
+.knowledge-item-container.status-disabled {
|
|
|
+ background: #fadcdc;
|
|
|
+}
|
|
|
+
|
|
|
.knowledge-item-container:hover {
|
|
|
--header-display: flex;
|
|
|
- box-shadow: 8px 8px 0px #3a3e513d;
|
|
|
+ box-shadow: 7px 7px 0px #b6bac3;
|
|
|
}
|
|
|
|
|
|
.knowledge-item-container:hover .cart-list-setting{
|
|
|
display: block;
|
|
|
}
|
|
|
-/* .knowledge-item-container:hover::after {
|
|
|
- --border-size: 8px;
|
|
|
- position: absolute;
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
- top: calc(-1 * var(--border-size));
|
|
|
- left: calc(-1 * var(--border-size));
|
|
|
- content: "";
|
|
|
- border-radius: 4px;
|
|
|
- pointer-events: none;
|
|
|
- box-sizing: content-box;
|
|
|
- border: var(--border-size) solid #dddfe6;
|
|
|
-} */
|
|
|
+
|
|
|
.knowledge-item-container.active{
|
|
|
- box-shadow: 8px 8px 0px #3a3e513d;
|
|
|
+ box-shadow: 7px 7px 0px #b6bac3;
|
|
|
}
|
|
|
.knowledge-item-container.active .header{
|
|
|
border-radius: unset;
|
|
|
}
|
|
|
-/* .knowledge-item-container.active::after {
|
|
|
- --border-size: 8px;
|
|
|
- position: absolute;
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
- top: calc(-1 * var(--border-size));
|
|
|
- left: calc(-1 * var(--border-size));
|
|
|
- content: "";
|
|
|
- border-radius: 4px;
|
|
|
- pointer-events: none;
|
|
|
- box-sizing: content-box;
|
|
|
- border: var(--border-size) solid #585e6e;
|
|
|
-} */
|
|
|
+
|
|
|
|
|
|
.knowledge-item-container .active {
|
|
|
border: 1px solid #ddd;
|
|
|
@@ -1900,6 +1900,26 @@ input::placeholder ,textarea::placeholder{
|
|
|
border-top-right-radius: 4px;
|
|
|
}
|
|
|
|
|
|
+/* 右上角状态图标区域 by xu 20260105 */
|
|
|
+.knowledge-item-container .card-status-icons {
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ right: 0;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: row;
|
|
|
+ gap: 0;
|
|
|
+}
|
|
|
+
|
|
|
+.knowledge-item-container .card-status-icons .status-icon {
|
|
|
+ width: 48px;
|
|
|
+ height: 48px;
|
|
|
+ font-size: 24px;
|
|
|
+ font-family: "icon-base" !important;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+}
|
|
|
+
|
|
|
.knowledge-item-container .header:hover {
|
|
|
--header-color: #fff;
|
|
|
background: #575d6d;
|
|
|
@@ -1908,25 +1928,31 @@ input::placeholder ,textarea::placeholder{
|
|
|
color: #ffffff;
|
|
|
}
|
|
|
.knowledge-item-container .body {
|
|
|
- padding: 20px 25px;
|
|
|
+ padding: 22px 20px 8px;
|
|
|
}
|
|
|
|
|
|
.knowledge-item-container .box-header>div:first-child {
|
|
|
- color: #333333;
|
|
|
+ color: #000000; /* 修改为纯黑色 by xu 20260105 */
|
|
|
font-size: 20px;
|
|
|
- line-height: 2em;
|
|
|
+ line-height: 1em; /* 调整行高 by xu 20260105 */
|
|
|
+ margin-bottom: 16px; /* header 和 body 之间 16px 间距 by xu 20260105 */
|
|
|
}
|
|
|
|
|
|
.knowledge-item-container .box-body {
|
|
|
/* height: 140px; */
|
|
|
color: #333;
|
|
|
- padding: 10px 0;
|
|
|
+ /* padding: 10px 0; */
|
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
|
- justify-content: space-between;
|
|
|
+ gap: 16px; /* 图片和文字之间 16px 间距 by xu 20260105 */
|
|
|
align-items: flex-end;
|
|
|
- --right-padding-left: 20px;
|
|
|
- --right-width: calc(100% - 86px);
|
|
|
+ --right-padding-left: 0; /* 使用 gap 代替 padding by xu 20260105 */
|
|
|
+ --right-width: calc(100% - 73px - 16px); /* 证件照宽度 73px + 16px 间距 by xu 20260105 */
|
|
|
+}
|
|
|
+
|
|
|
+/* 缩略图卡片的右侧宽度 by xu 20260105 */
|
|
|
+.knowledge-item-container.card-thumbnail .box-body {
|
|
|
+ --right-width: calc(100% - 180px - 16px); /* 缩略图宽度 180px + 16px 间距 by xu 20260105 */
|
|
|
}
|
|
|
|
|
|
.knowledge-item-container .no-thumb {
|
|
|
@@ -1934,10 +1960,18 @@ input::placeholder ,textarea::placeholder{
|
|
|
--right-width: 100%;
|
|
|
}
|
|
|
|
|
|
-.knowledge-item-container .left {
|
|
|
- width: 88px !important;
|
|
|
- height: 121px !important;
|
|
|
- border: 1px solid #f6f6f6;
|
|
|
+/* 证件照尺寸,高度100px,宽度按比例73px by xu 20260105 */
|
|
|
+.knowledge-item-container.card-photo .left {
|
|
|
+ width: 73px !important;
|
|
|
+ height: 100px !important;
|
|
|
+ border: 1px solid #dddfe6;
|
|
|
+}
|
|
|
+
|
|
|
+/* 缩略图尺寸固定为 180×100px by xu 20260105 */
|
|
|
+.knowledge-item-container.card-thumbnail .left {
|
|
|
+ width: 180px !important;
|
|
|
+ height: 100px !important;
|
|
|
+ border: 1px solid #dddfe6;
|
|
|
}
|
|
|
|
|
|
.knowledge-item-container .left>img {
|
|
|
@@ -1951,7 +1985,7 @@ input::placeholder ,textarea::placeholder{
|
|
|
.knowledge-item-container .right {
|
|
|
width: var(--right-width);
|
|
|
padding-left: var(--right-padding-left);
|
|
|
- padding-top: 5px;
|
|
|
+ /* padding-top: 5px; */
|
|
|
}
|
|
|
|
|
|
.knowledge-item-container .right .title {
|
|
|
@@ -1967,6 +2001,42 @@ input::placeholder ,textarea::placeholder{
|
|
|
-webkit-box-orient: vertical;
|
|
|
}
|
|
|
|
|
|
+/* 右下角卡片选择图标 by xu 20260105 */
|
|
|
+.knowledge-item-container .card-icon {
|
|
|
+ position: absolute;
|
|
|
+ bottom: 0;
|
|
|
+ right: 0;
|
|
|
+ width: 24px;
|
|
|
+ height: 24px;
|
|
|
+ cursor: pointer;
|
|
|
+ display: none;
|
|
|
+ font-size: 24px;
|
|
|
+ font-family: "icon-base" !important;
|
|
|
+ color: #dddfe6;
|
|
|
+ z-index: 2;
|
|
|
+}
|
|
|
+
|
|
|
+.knowledge-item-container:hover .card-icon {
|
|
|
+ display: block;
|
|
|
+}
|
|
|
+
|
|
|
+.knowledge-item-container .card-icon.icon-cardChk-on {
|
|
|
+ display: block !important;
|
|
|
+ color: #565d6d;
|
|
|
+}
|
|
|
+
|
|
|
+/* 选中后底部线条 by xu 20260105 */
|
|
|
+.knowledge-item-container .select-bottom-line {
|
|
|
+ position: absolute;
|
|
|
+ bottom: -1px;
|
|
|
+ left: 0;
|
|
|
+ width: 100%;
|
|
|
+ height: 4px;
|
|
|
+ background: #565d6d;
|
|
|
+ border-bottom-left-radius: 4px;
|
|
|
+ border-bottom-right-radius: 4px;
|
|
|
+}
|
|
|
+
|
|
|
.knowledge-item-container .desc {
|
|
|
margin-top: 10px;
|
|
|
font-size: 14px;
|
|
|
@@ -4441,17 +4511,17 @@ input::placeholder ,textarea::placeholder{
|
|
|
}
|
|
|
|
|
|
.page-container .search-bar {
|
|
|
- margin-top: 20px;
|
|
|
+ /* margin-top: 20px; */
|
|
|
width: 100%;
|
|
|
- height: 40px;
|
|
|
+ height: 60px;
|
|
|
position: relative;
|
|
|
}
|
|
|
|
|
|
.page-container .item-content-area {
|
|
|
height: calc(100% - 75px);
|
|
|
width: 100%;
|
|
|
- margin-top: 10px;
|
|
|
- padding: 10px 0 100px 20px;
|
|
|
+ /* margin-top: 10px; */
|
|
|
+ padding: 0 0 100px 20px;
|
|
|
display: flex;
|
|
|
flex-wrap: wrap;
|
|
|
align-content: flex-start;
|