fix: radio style
This commit is contained in:
parent
286552d54b
commit
532ea4941a
@ -381,6 +381,21 @@
|
|||||||
.radio-block {
|
.radio-block {
|
||||||
display: inline-grid;
|
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 {
|
.el-alert__title {
|
||||||
|
|||||||
@ -53,9 +53,7 @@
|
|||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<span class="dialog-footer">
|
<span class="dialog-footer">
|
||||||
<el-button @click.prevent="dialogVisible = false">
|
<el-button @click.prevent="dialogVisible = false"> {{ $t('common.cancel') }}</el-button>
|
||||||
{{ $t('common.cancel') }}</el-button
|
|
||||||
>
|
|
||||||
<el-button type="primary" @click="submit" :loading="loading">
|
<el-button type="primary" @click="submit" :loading="loading">
|
||||||
{{ $t('common.save') }}</el-button
|
{{ $t('common.save') }}</el-button
|
||||||
>
|
>
|
||||||
@ -139,19 +137,4 @@ function submit() {
|
|||||||
|
|
||||||
defineExpose({ open })
|
defineExpose({ open })
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped></style>
|
||||||
.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>
|
|
||||||
|
|||||||
@ -129,7 +129,7 @@
|
|||||||
>
|
>
|
||||||
<el-radio-group
|
<el-radio-group
|
||||||
v-model="form.dataset_setting.no_references_setting.status"
|
v-model="form.dataset_setting.no_references_setting.status"
|
||||||
class="radio-block"
|
class="radio-block-avatar"
|
||||||
>
|
>
|
||||||
<el-radio value="ai_questioning">
|
<el-radio value="ai_questioning">
|
||||||
<p>
|
<p>
|
||||||
|
|||||||
@ -125,18 +125,5 @@ function submit() {
|
|||||||
defineExpose({ open })
|
defineExpose({ open })
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<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>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user