Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
T
TrainSys
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
苏州培训方案
TrainSys
提交
ab3c5a64
提交
ab3c5a64
编写于
3月 25, 2025
作者:
jlj05024111@163.com
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat: 更新表单组件样式
上级
f8060f7d
变更
4
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
46 行增加
和
10 行删除
+46
-10
ibiz-input.tsx
.../src/components/editor/text-box/ibiz-input/ibiz-input.tsx
+8
-1
ibiz-file-upload-one.tsx
...s/editor/upload/ibiz-file-upload/ibiz-file-upload-one.tsx
+13
-4
ibiz-file-upload.tsx
...nents/editor/upload/ibiz-file-upload/ibiz-file-upload.tsx
+13
-4
form-group-panel.tsx
...idgets/form-control/form-group-panel/form-group-panel.tsx
+12
-1
未找到文件。
app_Web/src/components/editor/text-box/ibiz-input/ibiz-input.tsx
浏览文件 @
ab3c5a64
...
@@ -217,10 +217,17 @@ export const IBizInput = defineComponent({
...
@@ -217,10 +217,17 @@ export const IBizInput = defineComponent({
'IInput'
,
'IInput'
,
{
{
ref
:
'inputRef'
,
ref
:
'inputRef'
,
class
:
this
.
ns
.
b
(
'input'
),
class
:
[
this
.
ns
.
b
(
'input'
),
this
.
ns
.
is
(
'disabledresize'
,
this
.
c
.
editorParams
.
disabledresize
===
'true'
,
),
],
props
:
{
props
:
{
...
this
.
c
.
customProps
,
...
this
.
c
.
customProps
,
value
:
this
.
currentVal
,
value
:
this
.
currentVal
,
clearable
:
true
,
placeholder
:
this
.
controller
.
placeHolder
,
placeholder
:
this
.
controller
.
placeHolder
,
type
:
this
.
type
,
type
:
this
.
type
,
rows
:
this
.
rows
,
rows
:
this
.
rows
,
...
...
app_Web/src/components/editor/upload/ibiz-file-upload/ibiz-file-upload-one.tsx
浏览文件 @
ab3c5a64
...
@@ -85,11 +85,20 @@ export const IBizFileUploadOne = defineComponent({
...
@@ -85,11 +85,20 @@ export const IBizFileUploadOne = defineComponent({
[
[
this
.
c
.
model
.
isDrag
?
(
this
.
c
.
model
.
isDrag
?
(
<
div
class=
{
this
.
ns
.
b
(
'drag-box'
)
}
>
<
div
class=
{
this
.
ns
.
b
(
'drag-box'
)
}
>
<
i
-
icon
type=
'md-cloud-upload'
/>
<
div
class=
{
this
.
ns
.
be
(
'drag-box'
,
'caption'
)
}
>
<
div
class=
{
this
.
ns
.
be
(
'drag-box'
,
'text'
)
}
>
<
div
class=
{
this
.
ns
.
bem
(
'drag-box'
,
'caption'
,
'click'
)
}
>
<
span
>
将文件拖到此处,或
</
span
>
点击上传
<
span
>
点击上传
</
span
>
</
div
>
<
div
>
/
</
div
>
<
div
class=
{
this
.
ns
.
bem
(
'drag-box'
,
'caption'
,
'drag'
)
}
>
拖拽到此区域
</
div
>
</
div
>
</
div
>
{
this
.
c
.
uploadDescription
&&
(
<
div
class=
{
this
.
ns
.
be
(
'drag-box'
,
'accept-description'
)
}
>
{
this
.
c
.
uploadDescription
}
</
div
>
)
}
</
div
>
</
div
>
)
:
(
)
:
(
<
i
-
button
<
i
-
button
...
...
app_Web/src/components/editor/upload/ibiz-file-upload/ibiz-file-upload.tsx
浏览文件 @
ab3c5a64
...
@@ -76,11 +76,20 @@ export const IBizFileUpload = defineComponent({
...
@@ -76,11 +76,20 @@ export const IBizFileUpload = defineComponent({
[
[
this
.
c
.
model
.
isDrag
?
(
this
.
c
.
model
.
isDrag
?
(
<
div
class=
{
this
.
ns
.
b
(
'drag-box'
)
}
>
<
div
class=
{
this
.
ns
.
b
(
'drag-box'
)
}
>
<
i
-
icon
type=
'md-cloud-upload'
/>
<
div
class=
{
this
.
ns
.
be
(
'drag-box'
,
'caption'
)
}
>
<
div
class=
{
this
.
ns
.
be
(
'drag-box'
,
'text'
)
}
>
<
div
class=
{
this
.
ns
.
bem
(
'drag-box'
,
'caption'
,
'click'
)
}
>
<
span
>
将文件拖到此处,或
</
span
>
点击上传
<
span
>
点击上传
</
span
>
</
div
>
<
div
>
/
</
div
>
<
div
class=
{
this
.
ns
.
bem
(
'drag-box'
,
'caption'
,
'drag'
)
}
>
拖拽到此区域
</
div
>
</
div
>
</
div
>
{
this
.
c
.
uploadDescription
&&
(
<
div
class=
{
this
.
ns
.
be
(
'drag-box'
,
'accept-description'
)
}
>
{
this
.
c
.
uploadDescription
}
</
div
>
)
}
</
div
>
</
div
>
)
:
(
)
:
(
<
i
-
button
<
i
-
button
...
...
app_Web/src/components/widgets/form-control/form-group-panel/form-group-panel.tsx
浏览文件 @
ab3c5a64
...
@@ -76,13 +76,24 @@ export const FormGroupPanel = defineComponent({
...
@@ -76,13 +76,24 @@ export const FormGroupPanel = defineComponent({
let
header
:
unknown
=
null
;
let
header
:
unknown
=
null
;
if
(
this
.
modelData
.
showHeader
)
{
if
(
this
.
modelData
.
showHeader
)
{
header
=
(
header
=
(
<
div
class=
{
[
this
.
ns
.
b
(
'header'
)]
}
onClick=
{
this
.
changeCollapse
}
>
<
div
class=
{
[
this
.
ns
.
b
(
'header'
)]
}
>
<
div
class=
{
[
this
.
ns
.
be
(
'header'
,
'left'
)]
}
>
<
div
class=
{
[
this
.
ns
.
be
(
'header'
,
'left'
)]
}
>
<
div
class=
{
[
this
.
ns
.
e
(
'caption'
)]
}
>
{
this
.
captionText
}
</
div
>
<
div
class=
{
[
this
.
ns
.
e
(
'caption'
)]
}
>
{
this
.
captionText
}
</
div
>
</
div
>
</
div
>
<
div
class=
{
[
this
.
ns
.
be
(
'header'
,
'right'
)]
}
>
<
div
class=
{
[
this
.
ns
.
be
(
'header'
,
'right'
)]
}
>
<
div
class=
{
[
this
.
ns
.
e
(
'toolbar'
)]
}
>
{
this
.
$slots
.
toolbar
}
</
div
>
<
div
class=
{
[
this
.
ns
.
e
(
'toolbar'
)]
}
>
{
this
.
$slots
.
toolbar
}
</
div
>
</
div
>
</
div
>
{
!
this
.
modelData
.
disableClose
&&
(
<
div
class=
{
[
this
.
ns
.
be
(
'header'
,
'collapseicon'
)]
}
onClick=
{
this
.
changeCollapse
}
>
<
div
class=
{
this
.
ns
.
bem
(
'header'
,
'collapseicon'
,
'tip'
)
}
>
{
this
.
isCollapse
?
'收缩'
:
'展开'
}
</
div
>
<
i
-
icon
type=
'ios-arrow-down'
/>
</
div
>
)
}
</
div
>
</
div
>
);
);
}
}
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录