hookehuyr

✨ feat(页眉,单选,多选,文件上传,图片上传模块): 新增描述多行文字换行功能

<!--
* @Date: 2022-08-30 11:34:19
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-12-29 11:34:14
* @LastEditTime: 2023-01-17 16:44:05
* @FilePath: /data-table/src/components/CheckboxField/index.vue
* @Description: 多项选择控件
-->
......@@ -72,7 +72,8 @@ const HideShow = computed(() => {
font-size: 0.9rem;
margin-left: 1rem;
color: gray;
padding-bottom: 0.5rem
padding-bottom: 0.5rem;
white-space: pre-line;
}
}
......
<!--
* @Date: 2022-08-31 16:16:49
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-12-30 16:53:12
* @LastEditTime: 2023-01-17 16:44:20
* @FilePath: /data-table/src/components/FileUploaderField/index.vue
* @Description: 文件上传控件
-->
......@@ -13,7 +13,7 @@
</div>
<div
v-if="item.component_props.note"
style="font-size: 0.9rem; margin-left: 1rem; color: gray; padding-bottom: 0.5rem; padding-top: 0.25rem;"
style="font-size: 0.9rem; margin-left: 1rem; color: gray; padding-bottom: 0.5rem; padding-top: 0.25rem; white-space: pre-line;"
>
{{ item.component_props.note }}
</div>
......
<!--
* @Date: 2022-08-31 16:16:49
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-12-30 10:31:02
* @LastEditTime: 2023-01-17 16:44:32
* @FilePath: /data-table/src/components/ImageUploaderField/index.vue
* @Description: 图片上传控件
-->
......@@ -13,7 +13,7 @@
</div>
<div
v-if="item.component_props.note"
style="font-size: 0.9rem; margin-left: 1rem; color: gray; padding-bottom: 0.5rem; padding-top: 0.25rem;"
style="font-size: 0.9rem; margin-left: 1rem; color: gray; padding-bottom: 0.5rem; padding-top: 0.25rem; white-space: pre-line;"
>
{{ item.component_props.note }}
</div>
......
<!--
* @Date: 2022-08-30 11:34:19
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-12-29 11:14:20
* @LastEditTime: 2023-01-17 16:43:33
* @FilePath: /data-table/src/components/RadioField/index.vue
* @Description: 单项选择控件
-->
......@@ -67,7 +67,8 @@ const HideShow = computed(() => {
font-size: 0.9rem;
margin-left: 1rem;
color: gray;
padding-bottom: 0.5rem
padding-bottom: 0.5rem;
white-space: pre-line;
}
}
......
<!--
* @Date: 2022-07-18 10:22:22
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2023-01-17 15:52:03
* @LastEditTime: 2023-01-17 16:41:38
* @FilePath: /data-table/src/views/index.vue
* @Description: 首页
-->
......@@ -28,7 +28,7 @@
/></van-swipe-item>
</van-swipe>
</template>
<div v-if="PHeader.type === 'text'" style="padding: 1rem; font-weight: bold;">{{ PHeader.banner }}</div>
<div v-if="PHeader.type === 'text'" style="padding: 1rem; font-weight: bold; white-space:pre-line;">{{ PHeader.banner }}</div>
</template>
<div v-if="PHeader.label" class="table-title">{{ PHeader.label }}</div>
<div v-if="PHeader.description" class="table-desc" v-html="PHeader.description" />
......@@ -402,6 +402,7 @@ const onSubmit = async (values) => {
padding: 0rem 1rem;
color: #666;
font-size: 0.9rem;
white-space: pre-line;
}
.table-box {
background-color: #ffffff;
......