style: 修复报告详情展示&代码编辑器测试bug修复&等ui样式
This commit is contained in:
parent
10a9345e56
commit
58a069dc82
|
@ -1,5 +1,9 @@
|
||||||
<template>
|
<template>
|
||||||
<div ref="fullRef" class="flex flex-col rounded-[var(--border-radius-small)] bg-[var(--color-fill-1)] p-[12px]">
|
<div
|
||||||
|
ref="fullRef"
|
||||||
|
class="flex flex-col rounded-[var(--border-radius-small)] bg-[var(--color-fill-1)] p-[12px]"
|
||||||
|
:class="[!isAdaptive ? 'h-full' : '']"
|
||||||
|
>
|
||||||
<div v-if="showTitleLine" class="mb-[8px] flex items-center justify-between">
|
<div v-if="showTitleLine" class="mb-[8px] flex items-center justify-between">
|
||||||
<div class="flex flex-wrap gap-[4px]">
|
<div class="flex flex-wrap gap-[4px]">
|
||||||
<a-select
|
<a-select
|
||||||
|
@ -391,11 +395,9 @@
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
.ms-code-editor {
|
.ms-code-editor {
|
||||||
width: 100%;
|
width: v-bind(width);
|
||||||
height: v-bind(codeheight);
|
height: v-bind(codeheight);
|
||||||
|
|
||||||
@apply z-10;
|
@apply z-10;
|
||||||
// height: 100vh;
|
|
||||||
|
|
||||||
// &.MS-text[data-mode-id='plaintext'] {
|
// &.MS-text[data-mode-id='plaintext'] {
|
||||||
// :deep(.mtk1) {
|
// :deep(.mtk1) {
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
action-on-node-click="expand"
|
action-on-node-click="expand"
|
||||||
disabled-title-tooltip
|
disabled-title-tooltip
|
||||||
block-node
|
block-node
|
||||||
|
hide-switcher
|
||||||
@select="(selectedKeys, node) => handleStepSelect(selectedKeys, node as ScenarioItemType)"
|
@select="(selectedKeys, node) => handleStepSelect(selectedKeys, node as ScenarioItemType)"
|
||||||
@expand="handleStepExpand"
|
@expand="handleStepExpand"
|
||||||
@more-actions-close="() => setFocusNodeKey('')"
|
@more-actions-close="() => setFocusNodeKey('')"
|
||||||
|
|
|
@ -79,7 +79,7 @@
|
||||||
<template #title="nodeData">
|
<template #title="nodeData">
|
||||||
<div :id="nodeData.id" class="inline-flex w-full gap-[8px]">
|
<div :id="nodeData.id" class="inline-flex w-full gap-[8px]">
|
||||||
<div class="one-line-text w-full text-[var(--color-text-1)]">{{ nodeData.name }}</div>
|
<div class="one-line-text w-full text-[var(--color-text-1)]">{{ nodeData.name }}</div>
|
||||||
<div class="ml-[4px] text-[var(--color-text-brand)]">{{ nodeData.count || 0 }}</div>
|
<div class="ms-tree-node-count ml-[4px] text-[var(--color-text-brand)]">{{ nodeData.count || 0 }}</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template v-if="!props.readOnly" #extra="nodeData">
|
<template v-if="!props.readOnly" #extra="nodeData">
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
<template #left>
|
<template #left>
|
||||||
<a-popover title="" position="bottom">
|
<a-popover title="" position="bottom">
|
||||||
<div class="show-table-top-title">
|
<div class="show-table-top-title">
|
||||||
<div class="one-line-text max-h-[32px] max-w-[116px] text-[var(--color-text-1)]">
|
<div class="one-line-text max-h-[32px] max-w-[300px] text-[var(--color-text-1)]">
|
||||||
{{ moduleNamePath }}
|
{{ moduleNamePath }}
|
||||||
</div>
|
</div>
|
||||||
<span class="text-[var(--color-text-4)]"> ({{ props.modulesCount[props.activeFolder] || 0 }})</span>
|
<span class="text-[var(--color-text-4)]"> ({{ props.modulesCount[props.activeFolder] || 0 }})</span>
|
||||||
|
|
Loading…
Reference in New Issue