mirror of
https://github.com/nsnail/NetAdmin.git
synced 2025-04-22 22:22:51 +08:00
refactor: ♻️ 样式优化 (#215)
[skip ci] Co-authored-by: tk <fiyne1a@dingtalk.com>
This commit is contained in:
parent
81d9b0b3bb
commit
2f16efd291
@ -30,6 +30,9 @@ export default {
|
|||||||
emits: ['click'],
|
emits: ['click'],
|
||||||
methods: {
|
methods: {
|
||||||
async click(id) {
|
async click(id) {
|
||||||
|
if (!this.clickOpenDialog) {
|
||||||
|
return
|
||||||
|
}
|
||||||
this.dialog.save = true
|
this.dialog.save = true
|
||||||
await this.$nextTick()
|
await this.$nextTick()
|
||||||
await this.$refs.saveDialog.open({ mode: 'view', row: { id: id } })
|
await this.$refs.saveDialog.open({ mode: 'view', row: { id: id } })
|
||||||
@ -40,7 +43,9 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
mounted() {},
|
mounted() {},
|
||||||
props: {},
|
props: {
|
||||||
|
clickOpenDialog: { type: Boolean, default: true },
|
||||||
|
},
|
||||||
watch: {},
|
watch: {},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
@ -579,12 +579,15 @@ textarea {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.sc-statistic-error a {
|
.sc-statistic-error {
|
||||||
|
a,
|
||||||
|
.sc-statistic-content-value {
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
font-weight: inherit;
|
font-weight: bold;
|
||||||
color: var(--el-color-danger) !important;
|
color: var(--el-color-danger) !important;
|
||||||
|
}
|
||||||
|
|
||||||
&:after {
|
a:after {
|
||||||
border-bottom: 1px solid var(--el-color-danger) !important;
|
border-bottom: 1px solid var(--el-color-danger) !important;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
content: '';
|
content: '';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user