fix: radio style

This commit is contained in:
wangdan-fit2cloud 2025-03-27 11:00:42 +08:00
parent 286552d54b
commit 532ea4941a
4 changed files with 19 additions and 34 deletions

View File

@ -381,6 +381,21 @@
.radio-block {
display: inline-grid;
}
// radio 一行一个样式 有输入框 上传头像的内容
.radio-block-avatar {
width: 100%;
display: block;
.el-radio {
align-items: flex-start;
height: 100%;
width: 100%;
}
.el-radio__label {
width: 100%;
margin-top: -8px;
line-height: 30px;
}
}
// 提示横幅
.el-alert__title {

View File

@ -53,9 +53,7 @@
</el-radio-group>
<template #footer>
<span class="dialog-footer">
<el-button @click.prevent="dialogVisible = false">
{{ $t('common.cancel') }}</el-button
>
<el-button @click.prevent="dialogVisible = false"> {{ $t('common.cancel') }}</el-button>
<el-button type="primary" @click="submit" :loading="loading">
{{ $t('common.save') }}</el-button
>
@ -139,19 +137,4 @@ function submit() {
defineExpose({ open })
</script>
<style lang="scss" scoped>
.radio-block-avatar {
width: 100%;
display: block;
.el-radio {
align-items: flex-start;
height: 100%;
width: 100%;
}
.el-radio__label {
width: 100%;
margin-top: -8px;
line-height: 30px;
}
}
</style>
<style lang="scss" scoped></style>

View File

@ -129,7 +129,7 @@
>
<el-radio-group
v-model="form.dataset_setting.no_references_setting.status"
class="radio-block"
class="radio-block-avatar"
>
<el-radio value="ai_questioning">
<p>

View File

@ -125,18 +125,5 @@ function submit() {
defineExpose({ open })
</script>
<style lang="scss" scoped>
.radio-block-avatar {
width: 100%;
display: block;
.el-radio {
align-items: flex-start;
height: 100%;
width: 100%;
}
.el-radio__label {
width: 100%;
margin-top: -8px;
line-height: 30px;
}
}
</style>