You need to sign in or sign up before continuing.
hookehuyr

fix border样式调整

......@@ -8,7 +8,7 @@
<template>
<div class="checkbox-field-page">
<div class="label">
{{ item.label }}
{{ item.component_props.label }}
<span v-if="item.component_props.required" style="color: red">&nbsp;*</span>
<span v-if="item.component_props.max" style="color: gray">
(最多可选数:&nbsp;{{ item.component_props.max }})
......@@ -20,6 +20,7 @@
v-model="item.value"
:direction="item.component_props.direction"
:max="item.component_props.max"
style="width: 100%"
>
<van-checkbox
v-for="x in item.component_props.options"
......@@ -55,4 +56,11 @@ onMounted(() => {
font-weight: bold;
}
}
:deep(.van-checkbox) {
border: 1px solid #eaeaea;
border-radius: 0.25rem;
padding: 0.25rem 0.5rem;
// width: 100vw;
}
</style>
......
......@@ -97,7 +97,7 @@ const onDelete = () => {};
}
}
:deep(.van-cell__value) {
:deep(.van-field__body) {
border: 1px solid #eaeaea;
border-radius: 0.25rem;
padding: 0.25rem 0.5rem;
......
......@@ -118,7 +118,7 @@ const onDelete = () => {};
}
}
:deep(.van-cell__value) {
:deep(.van-field__body) {
border: 1px solid #eaeaea;
border-radius: 0.25rem;
padding: 0.25rem 0.5rem;
......
......@@ -96,7 +96,7 @@ const blurKeyboard = () => {
}
}
:deep(.van-cell__value) {
:deep(.van-field__body) {
border: 1px solid #eaeaea;
border-radius: 0.25rem;
padding: 0.25rem 0.5rem;
......
......@@ -43,7 +43,7 @@ const props = defineProps({
}
}
:deep(.van-cell__value) {
:deep(.van-field__body) {
border: 1px solid #eaeaea;
border-radius: 0.25rem;
padding: 0.25rem 0.5rem;
......