feat: 样式调整
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
<template>
|
||||
<div class="ns-table-header" v-if="!isEmpty(getActions)">
|
||||
<!-- <div class="ns-table-title" v-if="tableTitle">{{ tableTitle }}</div> -->
|
||||
<div class="ns-table-title extra-title-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,6 +75,21 @@
|
||||
</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;
|
||||
|
@@ -3,7 +3,7 @@
|
||||
<template>
|
||||
<div class="ns-table" :class="{ 'ns-table-no-search': !(formConfig?.schemas.length > 0) }">
|
||||
<!-- tabletitle -->
|
||||
<div
|
||||
<!-- <div
|
||||
class="ns-table-title"
|
||||
@click="
|
||||
() => {
|
||||
@@ -12,7 +12,7 @@
|
||||
"
|
||||
v-if="tableTitle">
|
||||
<ns-icon v-if="showBack" class="backIcon" name="left" />{{ tableTitle }}
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="ns-table-container">
|
||||
<!-- todo drag -->
|
||||
<div class="ns-part-tree" v-if="!isEmpty(treeConfig)">
|
||||
|
Reference in New Issue
Block a user