Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
data-table
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
You need to sign in or sign up before continuing.
Authored by
hookehuyr
2022-11-29 21:08:24 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bcd62b7ea2420b0527e9cfa116756755adf6544b
bcd62b7e
1 parent
c25af0bf
fix border样式调整
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
5 deletions
src/components/CheckboxField/index.vue
src/components/IdentityField/index.vue
src/components/NumberField/index.vue
src/components/PhoneField/index.vue
src/components/TextField/index.vue
src/components/CheckboxField/index.vue
View file @
bcd62b7
...
...
@@ -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"> *</span>
<span v-if="item.component_props.max" style="color: gray">
(最多可选数: {{ 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>
...
...
src/components/IdentityField/index.vue
View file @
bcd62b7
...
...
@@ -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;
...
...
src/components/NumberField/index.vue
View file @
bcd62b7
...
...
@@ -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;
...
...
src/components/PhoneField/index.vue
View file @
bcd62b7
...
...
@@ -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;
...
...
src/components/TextField/index.vue
View file @
bcd62b7
...
...
@@ -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;
...
...
Please
register
or
login
to post a comment