diff --git a/src/assets/css/jyh.scss b/src/assets/css/jyh.scss index 3b3f3f4..468d286 100644 --- a/src/assets/css/jyh.scss +++ b/src/assets/css/jyh.scss @@ -190,6 +190,12 @@ } } +.jyh-select { + .devui-select__selection { + border: 0 !important; + } +} + .jyh-select-multiple { } @@ -363,3 +369,83 @@ color: black !important; padding: 6px 6px !important; } +.jyh-button2 { + border: 0 !important; + background: transparent !important; + color: black !important; + padding: 6px 6px !important; +} + +.jyh-collapse { + .devui-collapse__item-title { + padding: 0 8px !important; + } + .devui-collapse__item-content { + padding: 0 !important; + } + .jyh-collapse-title { + display: flex; + align-items: center; + } + /* 选中状态 */ + .selected-card { + border: 1px solid #C9C9C9; /* DevUI 主题色 */ + //box-shadow: 0 0 0 1px #5e7ce0; /* 外发光效果 */ + } + .jyh-collapse-card { + border-radius: 8px; + background: #1919190C; + cursor: pointer; + //border: 1px solid #C9C9C9; + + /* 卡片整体样式 */ + .card-header { + padding: 8px 8px 4px; + border-bottom: 1px solid #f0f0f0; + + color: #191919; + font-family: HarmonyOS Sans SC; + font-weight: regular; + font-size: 14px; + line-height: 22px; + letter-spacing: 0px; + text-align: left; + display: flex; + + .card-actions { + display: flex; + gap: 4px; + margin-left: auto; + } + + + } + + .card-header h4 { + margin: 0; + font-size: 16px; + font-weight: 500; + } + + .card-content { + display: flex; + justify-content: space-between; + align-items: center; + padding: 0px 8px 8px; + } + + .content-left { + display: flex; + align-items: center; + color: #666; + } + + .content-right { + color: #999; + } + + .time-text { + font-size: 14px; + } + } +} diff --git a/src/layouts/AILayout/ViewHistoryAside/ViewHistoryAside.vue b/src/layouts/AILayout/ViewHistoryAside/ViewHistoryAside.vue new file mode 100644 index 0000000..4e40e49 --- /dev/null +++ b/src/layouts/AILayout/ViewHistoryAside/ViewHistoryAside.vue @@ -0,0 +1,257 @@ + + + + + + + + + + + + 今天 + + + + + + + + + {{ item.title }} + + + + + + + + + + + + + + + + + + {{ item.text }} + + + {{ formatTime(item.time) }} + + + + + + + + + + + 昨天 + + + + + + + {{ item.title }} + + + + + + {{ item.text }} + + + {{ formatTime(item.time) }} + + + + + + + + + + + 历史对话保存条数 + + 10 + 20 + 30 + 0 + + + + + + + + 批量管理 + + + + + + + + + + + + + diff --git a/src/layouts/AILayout/index.vue b/src/layouts/AILayout/index.vue index 32d59ae..1bda097 100644 --- a/src/layouts/AILayout/index.vue +++ b/src/layouts/AILayout/index.vue @@ -71,22 +71,27 @@ + +