Update to MiniCPM-o 2.6

This commit is contained in:
yiranyyu
2025-01-14 15:33:44 +08:00
parent b75a362dd6
commit 53c0174797
123 changed files with 16848 additions and 2952 deletions

View File

@@ -0,0 +1,56 @@
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
}
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-thumb {
background: #e0e4ee;
border-radius: 4px;
}
html,
body {
width: 100%;
height: 100%;
font-family:
Inter,
-apple-system,
BlinkMacSystemFont,
Segoe UI,
SF Pro SC,
SF Pro Display,
SF Pro Icons,
PingFang SC,
Hiragino Sans GB,
Microsoft YaHei,
Helvetica Neue,
Helvetica,
Arial,
sans-serif !important;
background: #f3f3f3;
transition:
color 0.5s,
background-color 0.5s;
line-height: 1.3;
font-size: 14px;
font-weight: 400;
color: var(--el-text-color-regular);
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
margin: 0;
padding: 0;
overflow: hidden;
}
#app {
width: 100%;
height: 100%;
padding: 16px 4vw;
}

View File

@@ -0,0 +1,79 @@
@import url('./variable.less');
.el-message {
box-shadow: 0px 4px 13px 2px rgba(75, 79, 88, 0.11);
border: none;
border-radius: 8px;
top: 60px !important;
&--success,
&--error {
.el-message__content {
color: rgb(10, 10, 10);
font-size: 14px;
}
}
.el-message-icon--error {
color: var(--el-color-danger);
font-size: 16px;
}
.el-message-icon--success {
color: var(--el-color-success);
font-size: 16px;
}
}
.el-message.time-warning,
.el-message.system-error {
width: calc(100vw - 200px);
padding: 16px 12px;
border-radius: 12px;
}
.el-message.el-message--warning.time-warning {
border: 1px solid #f9ac2a;
background: #fef7ea;
.el-icon {
display: none;
}
.el-message__content {
color: #2f333e;
font-family: PingFang SC;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: normal;
padding-left: 28px;
position: relative;
}
.el-message__content::before {
position: absolute;
content: '';
width: 20px;
height: 20px;
background: url('@/assets/svg/warning.svg') no-repeat;
left: 0;
}
}
.el-message.el-message--error.system-error {
border: 1px solid #e72b00;
background: #ffebe7;
.el-icon {
display: none;
}
.el-message__content {
color: #2f333e;
font-family: PingFang SC;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: normal;
padding-left: 28px;
position: relative;
}
.el-message__content::before {
position: absolute;
content: '';
width: 20px;
height: 20px;
background: url('@/assets/svg/error.svg') no-repeat;
left: 0;
}
}

View File

@@ -0,0 +1,51 @@
:root {
--el-component-size-large: 48px;
--el-component-size: 40px;
--el-color-primary: #7661ff;
--el-color-danger: #de0000;
--el-color-warning: #ff7d00;
--el-color-success: #00b42a;
--el-text-color-regular: #0a0a0a;
}
.el-button {
--el-button-height: var(--el-component-size);
height: var(--el-button-height);
&--large {
--el-button-height: var(--el-component-size-large);
height: var(--el-button-height);
}
&--primary {
--el-button-bg-color: #7661ff;
--el-button-text-color: var(--el-color-white);
--el-button-border-color: #7661ff;
--el-button-hover-bg-color: rgb(159, 144, 255);
--el-button-hover-text-color: var(--el-color-white);
--el-button-hover-border-color: rgb(159, 144, 255);
--el-button-active-bg-color: rgb(98, 82, 208);
--el-button-active-border-color: rgb(98, 82, 208);
--el-button-disabled-bg-color: #d4cdff;
--el-button-disabled-border-color: #d4cdff;
}
}
.el-checkbox {
--el-checkbox-border-radius: 4px;
--el-checkbox-input-border: 1px solid rgb(188, 188, 188);
--el-checkbox-input-border-color-hover: rgb(61, 92, 255);
--el-checkbox-checked-bg-color: rgb(61, 92, 255);
--el-checkbox-checked-input-border-color: rgb(61, 92, 255);
}
.el-dialog {
&__header {
padding-bottom: 20px;
}
&__title {
--el-text-color-primary: rgb(10, 10, 10);
--el-dialog-title-font-size: 18px;
--el-dialog-font-line-height: 20px;
}
}
.el-message {
--el-message-padding: 11px 20px;
--el-message-bg-color: rgb(255, 255, 255);
--el-message-text-color: #de0000;
}

View File

@@ -0,0 +1,30 @@
@import './base.css';
@import './variable.css';
.layout-root {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
}
.layout-main {
flex: 1 1 0;
display: flex;
flex-direction: column;
padding: 0 var(--layout-main-padding);
}
.layout-footer {
width: 100%;
max-width: var(--layout-content-width);
height: fit-content;
display: flex;
flex-direction: column;
padding: 0 var(--layout-main-padding);
margin: auto;
}
:focus-visible {
outline: none;
}

View File

@@ -0,0 +1,7 @@
:root {
--layout-sidebar-width: 56px;
--layout-sidebar-left-space: 8px;
--layout-main-padding: 8px;
--layout-main-minWidth: calc(var(--layout-content-width) + var(--layout-main-padding) * 2);
--layout-content-width: 780px;
}