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
Authored by
hookehuyr
2023-01-17 16:46:10 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
60a0bcfe2cbd9de65ecc2b4b2409e7ac13e56b03
60a0bcfe
1 parent
f617d4d8
✨ feat(页眉,单选,多选,文件上传,图片上传模块): 新增描述多行文字换行功能
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
10 deletions
src/components/CheckboxField/index.vue
src/components/FileUploaderField/index.vue
src/components/ImageUploaderField/index.vue
src/components/RadioField/index.vue
src/views/index.vue
src/components/CheckboxField/index.vue
View file @
60a0bcf
<!--
* @Date: 2022-08-30 11:34:19
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 202
2-12-29 11:34:14
* @LastEditTime: 202
3-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;
}
}
...
...
src/components/FileUploaderField/index.vue
View file @
60a0bcf
<!--
* @Date: 2022-08-31 16:16:49
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 202
2-12-30 16:53:12
* @LastEditTime: 202
3-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>
...
...
src/components/ImageUploaderField/index.vue
View file @
60a0bcf
<!--
* @Date: 2022-08-31 16:16:49
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 202
2-12-30 10:31:0
2
* @LastEditTime: 202
3-01-17 16:44:3
2
* @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>
...
...
src/components/RadioField/index.vue
View file @
60a0bcf
<!--
* @Date: 2022-08-30 11:34:19
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 202
2-12-29 11:14:20
* @LastEditTime: 202
3-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;
}
}
...
...
src/views/index.vue
View file @
60a0bcf
<!--
* @Date: 2022-07-18 10:22:22
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2023-01-17 1
5:52:03
* @LastEditTime: 2023-01-17 1
6: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;
...
...
Please
register
or
login
to post a comment