Showing
3 changed files
with
17 additions
and
2 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2022-09-14 14:44:30 | 2 | * @Date: 2022-09-14 14:44:30 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2022-12-29 11:29:46 | 4 | + * @LastEditTime: 2023-02-07 10:39:14 |
| 5 | * @FilePath: /data-table/src/components/NumberField/index.vue | 5 | * @FilePath: /data-table/src/components/NumberField/index.vue |
| 6 | * @Description: 数字输入框 | 6 | * @Description: 数字输入框 |
| 7 | --> | 7 | --> |
| ... | @@ -11,6 +11,11 @@ | ... | @@ -11,6 +11,11 @@ |
| 11 | {{ item.component_props.label }} | 11 | {{ item.component_props.label }} |
| 12 | <span v-if="item.component_props.required"> *</span> | 12 | <span v-if="item.component_props.required"> *</span> |
| 13 | </div> | 13 | </div> |
| 14 | + <div | ||
| 15 | + v-if="item.component_props.note" | ||
| 16 | + v-html="item.component_props.note" | ||
| 17 | + style="font-size: 0.9rem; margin-left: 1rem; color: gray; padding-bottom: 0.5rem; padding-top: 0.25rem; white-space: pre;" | ||
| 18 | + /> | ||
| 14 | <van-field | 19 | <van-field |
| 15 | v-model="item.value" | 20 | v-model="item.value" |
| 16 | :id="item.name" | 21 | :id="item.name" | ... | ... |
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2022-08-29 14:31:20 | 2 | * @Date: 2022-08-29 14:31:20 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2023-02-01 10:08:34 | 4 | + * @LastEditTime: 2023-02-07 10:40:40 |
| 5 | * @FilePath: /data-table/src/components/TextField/index.vue | 5 | * @FilePath: /data-table/src/components/TextField/index.vue |
| 6 | * @Description: 单行文本输入框 | 6 | * @Description: 单行文本输入框 |
| 7 | --> | 7 | --> |
| ... | @@ -11,6 +11,11 @@ | ... | @@ -11,6 +11,11 @@ |
| 11 | {{ item.component_props.label | 11 | {{ item.component_props.label |
| 12 | }}<span v-if="item.component_props.required"> *</span> | 12 | }}<span v-if="item.component_props.required"> *</span> |
| 13 | </div> | 13 | </div> |
| 14 | + <div | ||
| 15 | + v-if="item.component_props.note" | ||
| 16 | + v-html="item.component_props.note" | ||
| 17 | + style="font-size: 0.9rem; margin-left: 1rem; color: gray; padding-bottom: 0.5rem; padding-top: 0.25rem; white-space: pre;" | ||
| 18 | + /> | ||
| 14 | <van-field | 19 | <van-field |
| 15 | v-model="item.value" | 20 | v-model="item.value" |
| 16 | :name="item.name" | 21 | :name="item.name" | ... | ... |
| ... | @@ -11,6 +11,11 @@ | ... | @@ -11,6 +11,11 @@ |
| 11 | {{ item.component_props.label | 11 | {{ item.component_props.label |
| 12 | }}<span v-if="item.component_props.required"> *</span> | 12 | }}<span v-if="item.component_props.required"> *</span> |
| 13 | </div> | 13 | </div> |
| 14 | + <div | ||
| 15 | + v-if="item.component_props.note" | ||
| 16 | + v-html="item.component_props.note" | ||
| 17 | + style="font-size: 0.9rem; margin-left: 1rem; color: gray; padding-bottom: 0.5rem; padding-top: 0.25rem; white-space: pre;" | ||
| 18 | + /> | ||
| 14 | <van-field | 19 | <van-field |
| 15 | v-model="item.value" | 20 | v-model="item.value" |
| 16 | :name="item.name" | 21 | :name="item.name" | ... | ... |
-
Please register or login to post a comment