hookehuyr

fix 单选控件新增border样式

......@@ -13,7 +13,11 @@
</div>
<van-field :name="item.key" :rules="item.rules">
<template #input>
<van-radio-group v-model="item.value" :direction="item.component_props.direction">
<van-radio-group
v-model="item.value"
:direction="item.component_props.direction"
style="width: 100%"
>
<van-radio
v-for="x in item.component_props.options"
:key="index"
......@@ -45,4 +49,11 @@ const props = defineProps({
}
}
}
:deep(.van-radio) {
border: 1px solid #eaeaea;
border-radius: 0.25rem;
padding: 0.25rem 0.5rem;
// width: 100vw;
}
</style>
......