增加单页面设置
This commit is contained in:
parent
98bfa82b24
commit
3f4b87e232
0
web/src/components/AgentSingleViewComponent.vue
Normal file
0
web/src/components/AgentSingleViewComponent.vue
Normal file
@ -788,7 +788,8 @@ watch(
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
color: #ccc;
|
color: #ccc;
|
||||||
margin: 4px 0;
|
margin-top: 4px;
|
||||||
|
margin-bottom: 0;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -130,15 +130,16 @@ const isEmptyAndLoading = computed(() => {
|
|||||||
padding: 0.625rem 1.25rem;
|
padding: 0.625rem 1.25rem;
|
||||||
user-select: text;
|
user-select: text;
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
|
word-wrap: break-word;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
font-weight: 400;
|
line-height: 24px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
color: black;
|
color: black;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
letter-spacing: .25px;
|
||||||
|
|
||||||
&.user, &.sent {
|
&.user, &.sent {
|
||||||
line-height: 24px;
|
|
||||||
max-width: 95%;
|
max-width: 95%;
|
||||||
color: white;
|
color: white;
|
||||||
background-color: var(--main-color);
|
background-color: var(--main-color);
|
||||||
@ -152,7 +153,6 @@ const isEmptyAndLoading = computed(() => {
|
|||||||
color: initial;
|
color: initial;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
word-wrap: break-word;
|
|
||||||
margin: 0 0 16px 0;
|
margin: 0 0 16px 0;
|
||||||
padding: 16px 0 0 0;
|
padding: 16px 0 0 0;
|
||||||
text-align: justify;
|
text-align: justify;
|
||||||
@ -162,13 +162,11 @@ const isEmptyAndLoading = computed(() => {
|
|||||||
|
|
||||||
.message-text {
|
.message-text {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
word-wrap: break-word;
|
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
white-space: pre-line;
|
white-space: pre-line;
|
||||||
}
|
}
|
||||||
|
|
||||||
.message-md {
|
.message-md {
|
||||||
word-wrap: break-word;
|
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
|
|
||||||
:deep(code) {
|
:deep(code) {
|
||||||
|
|||||||
@ -30,19 +30,25 @@ const router = createRouter({
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
// {
|
{
|
||||||
// path: '/agent',
|
path: '/agent',
|
||||||
// name: 'agent',
|
name: 'agent',
|
||||||
// component: AppLayout,
|
component: AppLayout,
|
||||||
// children: [
|
children: [
|
||||||
// {
|
{
|
||||||
// path: '',
|
path: '',
|
||||||
// name: 'AgentComp',
|
name: 'AgentMain',
|
||||||
// component: () => import('../views/AgentView.vue'),
|
component: () => import('../views/AgentView.vue'),
|
||||||
// meta: { keepAlive: true }
|
meta: { keepAlive: true }
|
||||||
// }
|
},
|
||||||
// ]
|
{
|
||||||
// },
|
path: ':agent_id',
|
||||||
|
name: 'AgentSinglePage',
|
||||||
|
component: () => import('../components/AgentSingleViewComponent.vue'),
|
||||||
|
meta: { keepAlive: false }
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: '/graph',
|
path: '/graph',
|
||||||
name: 'graph',
|
name: 'graph',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user