0000
This commit is contained in:
@@ -1,12 +1,3 @@
|
||||
<!--
|
||||
- MineAdmin is committed to providing solutions for quickly building web applications
|
||||
- Please view the LICENSE file that was distributed with this source code,
|
||||
- For the full copyright and license information.
|
||||
- Thank you very much for using MineAdmin.
|
||||
-
|
||||
- @Author X.Mo<root@imoi.cn>
|
||||
- @Link https://gitee.com/xmo/mineadmin-vue
|
||||
-->
|
||||
<template>
|
||||
<div class="editor" ref="dom" :style="'width: 100%; height: ' + props.height + 'px'"></div>
|
||||
</template>
|
||||
@@ -86,7 +77,7 @@ if (props.isBind) {
|
||||
<style scoped lang="less">
|
||||
.editor {
|
||||
border: 1px solid var(--color-border-2);
|
||||
border-radius: 3px;
|
||||
border-radius: 1px;
|
||||
background: var(--color-bg-2);
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -145,7 +145,7 @@ defineExpose({
|
||||
background: var(--color-bg-2);
|
||||
border: 1px solid var(--color-border-2);
|
||||
padding: 7px 0;
|
||||
border-radius: 4px;
|
||||
border-radius: 1px;
|
||||
li .context-menu-item {
|
||||
cursor: pointer;
|
||||
padding: 5px 10px;
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
:title="props.title"
|
||||
:layout="props.layout"
|
||||
:bordered="props.bordered"
|
||||
table-layout="fixed"
|
||||
table-layout="auto"
|
||||
:size="props.size"
|
||||
:label-style="props.labelStyle"
|
||||
:value-style="props.valueStyle"
|
||||
@@ -23,6 +23,15 @@
|
||||
<template v-else-if="item.infoSlot">
|
||||
<slot :name="item.dataIndex" :row="item" :data="data"></slot>
|
||||
</template>
|
||||
<template
|
||||
v-else-if="(item.multiple === true && item.formType === 'select') || item.formType === 'checkbox'"
|
||||
>
|
||||
<a-space size="mini"
|
||||
><a-tag color="pinkpurple" v-for="subItem in item.value" :key="subItem">
|
||||
{{ item.dict.data.find((row) => row.value == subItem)?.label }}
|
||||
</a-tag>
|
||||
</a-space>
|
||||
</template>
|
||||
<template v-else-if="item.formType === 'radio' || item.formType === 'select'">
|
||||
<a-tag color="blue">{{ item.dict.data.find((row) => row.value == item.value)?.label }}</a-tag>
|
||||
</template>
|
||||
|
||||
@@ -98,7 +98,7 @@ defineExpose({ maTree })
|
||||
<style scoped lang="less">
|
||||
:deep(.arco-tree-node:hover) {
|
||||
background-color: var(--color-fill-2);
|
||||
border-radius: 3px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
:deep(.arco-tree-node-switcher) {
|
||||
margin-left: 2px;
|
||||
|
||||
@@ -217,7 +217,7 @@ watch(
|
||||
.file-list {
|
||||
position: relative;
|
||||
background-color: var(--color-primary-light-1);
|
||||
border-radius: 4px;
|
||||
border-radius: 2px;
|
||||
height: 36px;
|
||||
line-height: 36px;
|
||||
padding: 0 10px;
|
||||
|
||||
@@ -147,7 +147,7 @@ watch(
|
||||
.file-list {
|
||||
position: relative;
|
||||
background-color: var(--color-primary-light-1);
|
||||
border-radius: 4px;
|
||||
border-radius: 2px;
|
||||
height: 36px;
|
||||
line-height: 36px;
|
||||
padding: 0 10px;
|
||||
|
||||
Reference in New Issue
Block a user