Showing
1 changed file
with
3 additions
and
3 deletions
| 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-03-31 17:57:13 | 4 | + * @LastEditTime: 2023-04-03 13:17:42 |
| 5 | * @FilePath: /custom_form/src/components/TextField/index.vue | 5 | * @FilePath: /custom_form/src/components/TextField/index.vue |
| 6 | * @Description: 单行文本输入框(微信扫描功能) | 6 | * @Description: 单行文本输入框(微信扫描功能) |
| 7 | --> | 7 | --> |
| 8 | <template> | 8 | <template> |
| 9 | <div v-if="HideShow" class="text-field-page"> | 9 | <div v-if="HideShow" class="text-field-page"> |
| 10 | <div class="label"> | 10 | <div class="label"> |
| 11 | - <span v-if="item.component_props.required"> *</span> | 11 | + <text v-if="item.component_props.required"> *</text> |
| 12 | {{ item.component_props.label }} | 12 | {{ item.component_props.label }} |
| 13 | </div> | 13 | </div> |
| 14 | <!-- <div class="note-wrapper" v-if="item.component_props.note" v-html="item.component_props.note" /> --> | 14 | <!-- <div class="note-wrapper" v-if="item.component_props.note" v-html="item.component_props.note" /> --> |
| ... | @@ -191,7 +191,7 @@ defineExpose({ validInput }); | ... | @@ -191,7 +191,7 @@ defineExpose({ validInput }); |
| 191 | font-size: 26px; | 191 | font-size: 26px; |
| 192 | font-weight: bold; | 192 | font-weight: bold; |
| 193 | 193 | ||
| 194 | - span { | 194 | + text { |
| 195 | color: red; | 195 | color: red; |
| 196 | } | 196 | } |
| 197 | 197 | ... | ... |
-
Please register or login to post a comment