mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: radio style
This commit is contained in:
parent
286552d54b
commit
532ea4941a
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue