From ebc4df7e034f7f73d4fdc3c312b4590f24e5fea3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=98=E6=B0=91=E5=BA=B7?= Date: Fri, 9 May 2025 18:12:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=AF=E4=BF=A1=E4=BB=A3=E7=A0=81=E5=BA=93-A?= =?UTF-8?q?I=E5=8A=A9=E6=89=8B=E6=9F=A5=E7=9C=8B=E5=8E=86=E5=8F=B2?= =?UTF-8?q?=E8=AE=B0=E5=BD=95=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/css/jyh.scss | 86 ++++++ .../ViewHistoryAside/ViewHistoryAside.vue | 257 ++++++++++++++++++ src/layouts/AILayout/index.vue | 7 +- src/views/Jyh/AI/Home/index.vue | 4 +- 4 files changed, 352 insertions(+), 2 deletions(-) create mode 100644 src/layouts/AILayout/ViewHistoryAside/ViewHistoryAside.vue 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 @@ + + + + + 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 @@ + +