Commit 6ec0e9f3 by wangzhihui

feat: 新增按钮选择和图片上传组件

新增 ButtonSelectAndImageUpload 组件用于表单中的按钮选择和图片上传功能,
完善了自定义表单组件库的功能。

fix(work-order-detail): 调整页面布局样式

修复工作订单详情页面的高度计算问题,将内容区域高度从 calc(100vh - 160px)
调整为 calc(100vh - 110px),页脚位置从 bottom:64px 调整为 bottom:0,
并为页面头部添加左侧边距 12px 以优化显示效果。
1 parent 8c74592b
...@@ -8,6 +8,7 @@ export {} ...@@ -8,6 +8,7 @@ export {}
declare module 'vue' { declare module 'vue' {
export interface GlobalComponents { export interface GlobalComponents {
ButtonSelect: typeof import('./components/CustomizeForm/buttonSelect.vue')['default'] ButtonSelect: typeof import('./components/CustomizeForm/buttonSelect.vue')['default']
ButtonSelectAndImageUpload: typeof import('./components/CustomizeForm/buttonSelectAndImageUpload.vue')['default']
CustomizeUploadFile: typeof import('./components/CustomizeForm/customizeUploadFile.vue')['default'] CustomizeUploadFile: typeof import('./components/CustomizeForm/customizeUploadFile.vue')['default']
Index: typeof import('./components/CustomizeForm/Index.vue')['default'] Index: typeof import('./components/CustomizeForm/Index.vue')['default']
Layouts: typeof import('./layouts/index.vue')['default'] Layouts: typeof import('./layouts/index.vue')['default']
......
...@@ -287,13 +287,14 @@ onMounted(() => { ...@@ -287,13 +287,14 @@ onMounted(() => {
} }
.ctx-box{ .ctx-box{
height:calc(100vh - 160px); height:calc(100vh - 110px);
overflow: scroll; overflow: scroll;
} }
.page-head { .page-head {
display: flex; display: flex;
align-items: center; align-items: center;
margin-left: 12px;
background: #f0f2f5; background: #f0f2f5;
} }
...@@ -537,7 +538,7 @@ onMounted(() => { ...@@ -537,7 +538,7 @@ onMounted(() => {
.page-foot{ .page-foot{
position: fixed; position: fixed;
right:0; right:0;
bottom:64px; bottom:0;
left:0; left:0;
padding:12px; padding:12px;
background:#fff; background:#fff;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!