feat: form 组件样式调整

This commit is contained in:
xuziqiang
2024-06-25 11:21:35 +08:00
parent cecd3a0325
commit 15fce86265
14 changed files with 241 additions and 163 deletions

View File

@@ -2,7 +2,7 @@
<template>
<div class="ns-table-header" v-if="!isEmpty(getActions)">
<div class="ns-table-title extra-title-box" v-if="tableTitle">{{ tableTitle }}</div>
<div class="ns-table-title ns-title-extra-box" v-if="tableTitle">{{ tableTitle }}</div>
<div class="ns-table-header-action">
<slot name="header" :data="data"></slot>
<template v-for="item in getActions" :key="item.name">
@@ -75,21 +75,6 @@
</script>
<style lang="less" scoped>
.extra-title-box {
position: relative;
padding-left: 9px;
&::before {
content: '';
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
height: 13px;
width: 3px;
border-radius: 1px;
background-color: @primary-color;
}
}
.ns-table-header {
min-width: fit-content;
user-select: none;