style(ebiz-other-cascader): 调整级联选择器样式

- 修改 .ebiz-other-cascader .el-cascader-menu 的选择器位置
- 更新伪元素的定位方式和样式
This commit is contained in:
陈昱达
2025-05-06 17:06:15 +08:00
parent b0021507de
commit 892d80bba6
3 changed files with 8 additions and 4 deletions

View File

@@ -201,13 +201,13 @@
.ebiz-other-cascader { .ebiz-other-cascader {
width: 470px; width: 470px;
& .el-cascader-menu { & .el-cascader-menu {
&:first-child { &:nth-child(2) {
position: relative; position: relative;
&:after { &:after {
position: absolute; position: absolute;
bottom: 0; top: 0;
content: ''; content: '';
border-bottom: 1px solid $--color-primary; border-top: 1px solid $--color-primary;
opacity: 0.5; opacity: 0.5;
transform: scaleY(0.5); transform: scaleY(0.5);
width: 100%; width: 100%;

View File

@@ -237,7 +237,10 @@ export default {
if (!this.datasetId) return if (!this.datasetId) return
getDatasetById({ id: this.datasetId }).then(res => { getDatasetById({ id: this.datasetId }).then(res => {
this.model = { this.model = {
...res.content.content ...res.content.content,
visibleRange: res.content.content.visibleRange
? res.content.content.visibleRange
: 0
} }
}) })
}, },

View File

@@ -248,6 +248,7 @@ export default {
<el-select <el-select
v-model="form.createdUserLike" v-model="form.createdUserLike"
placeholder="请选择上传用户" placeholder="请选择上传用户"
size="medium"
> >
<el-option label="全部" value=""></el-option> <el-option label="全部" value=""></el-option>
<el-option <el-option