Showing
2 changed files
with
4 additions
and
4 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2022-08-30 11:34:19 | 2 | * @Date: 2022-08-30 11:34:19 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2023-02-01 15:10:11 | 4 | + * @LastEditTime: 2023-02-01 18:57:37 |
| 5 | * @FilePath: /data-table/src/components/CheckboxField/index.vue | 5 | * @FilePath: /data-table/src/components/CheckboxField/index.vue |
| 6 | * @Description: 多项选择控件 | 6 | * @Description: 多项选择控件 |
| 7 | --> | 7 | --> |
| ... | @@ -23,7 +23,7 @@ | ... | @@ -23,7 +23,7 @@ |
| 23 | <van-checkbox @click="onClick(x)" :name="x.title" icon-size="1rem" shape="square" | 23 | <van-checkbox @click="onClick(x)" :name="x.title" icon-size="1rem" shape="square" |
| 24 | :checked-color="themeVars.radioColor" style="margin-bottom: 0.25rem">{{ x.title }}</van-checkbox> | 24 | :checked-color="themeVars.radioColor" style="margin-bottom: 0.25rem">{{ x.title }}</van-checkbox> |
| 25 | <van-field v-if="checkbox_value.includes(x.value) && x.is_input" @blur="onBlur(x)" v-model="x.affix" | 25 | <van-field v-if="checkbox_value.includes(x.value) && x.is_input" @blur="onBlur(x)" v-model="x.affix" |
| 26 | - label="" :placeholder="x.input_placeholder" :rules="x.input_required ? rules : ''" | 26 | + label=" " label-width="5px" :placeholder="x.input_placeholder" :rules="x.input_required ? rules : ''" |
| 27 | :required="x.input_required" class="affix-input" /> | 27 | :required="x.input_required" class="affix-input" /> |
| 28 | </div> | 28 | </div> |
| 29 | </van-checkbox-group> | 29 | </van-checkbox-group> | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2022-08-30 11:34:19 | 2 | * @Date: 2022-08-30 11:34:19 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2023-02-01 18:51:20 | 4 | + * @LastEditTime: 2023-02-01 18:58:00 |
| 5 | * @FilePath: /data-table/src/components/RadioField/index.vue | 5 | * @FilePath: /data-table/src/components/RadioField/index.vue |
| 6 | * @Description: 单项选择控件 | 6 | * @Description: 单项选择控件 |
| 7 | --> | 7 | --> |
| ... | @@ -20,7 +20,7 @@ | ... | @@ -20,7 +20,7 @@ |
| 20 | <div v-for="x in item.component_props.options" :key="x.value" class="radio-wrapper"> | 20 | <div v-for="x in item.component_props.options" :key="x.value" class="radio-wrapper"> |
| 21 | <van-radio :name="x.value" icon-size="1rem" :checked-color="themeVars.radioColor" | 21 | <van-radio :name="x.value" icon-size="1rem" :checked-color="themeVars.radioColor" |
| 22 | style="margin-bottom: 0.25rem">{{ x.title }}</van-radio> | 22 | style="margin-bottom: 0.25rem">{{ x.title }}</van-radio> |
| 23 | - <van-field v-if="radio_value === x.value && x.is_input" @blur="onBlur(x)" v-model="x.affix" label="" | 23 | + <van-field v-if="radio_value === x.value && x.is_input" @blur="onBlur(x)" v-model="x.affix" label=" " label-width="5px" |
| 24 | :placeholder="x.input_placeholder" :rules="x.input_required ? rules : ''" :required="x.input_required" | 24 | :placeholder="x.input_placeholder" :rules="x.input_required ? rules : ''" :required="x.input_required" |
| 25 | class="affix-input" /> | 25 | class="affix-input" /> |
| 26 | </div> | 26 | </div> | ... | ... |
-
Please register or login to post a comment