Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
web
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
iuav
web
Commits
dbc35e46
提交
dbc35e46
authored
5月 16, 2023
作者:
曹云
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
改-修改组件样式
上级
efc13e6d
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
34 行增加
和
25 行删除
+34
-25
interface.ts
components/contentBox/interface.ts
+9
-16
index.tsx
components/contentBox/left/index.tsx
+1
-1
index.tsx
components/contentBox/right/index.tsx
+1
-1
index.tsx
pages/equipmentLeasing/index.tsx
+1
-1
index.tsx
pages/flyingHandService/index.tsx
+1
-1
index.tsx
pages/home/waterfallFlowBody/index.tsx
+11
-4
styled.tsx
pages/home/waterfallFlowBody/styled.tsx
+9
-0
index.tsx
pages/jobServices/index.tsx
+1
-1
没有找到文件。
components/contentBox/interface.ts
浏览文件 @
dbc35e46
interface
DomType
{
noFor
?:
boolean
,
columns
:{
element
:
JSX
.
Element
}[],
}
export
interface
leftBoxProps
{
boxIndex
:
number
,
leftRenderDom
:
{
noFor
?:
boolean
,
RenderDom
:
JSX
.
Element
},
leftRenderDom
:
DomType
,
}
export
interface
rightBoxProps
{
rightRenderDom
:
{
noFor
?:
boolean
,
RenderDom
:
JSX
.
Element
}
rightRenderDom
:
DomType
}
export
interface
BoxProps
{
boxIndex
:
number
,
leftRenderDom
:
{
noFor
?:
boolean
,
RenderDom
:
JSX
.
Element
},
rightRenderDom
:
{
noFor
?:
boolean
,
RenderDom
:
JSX
.
Element
}
leftRenderDom
:
DomType
,
rightRenderDom
:
DomType
}
\ No newline at end of file
components/contentBox/left/index.tsx
浏览文件 @
dbc35e46
...
...
@@ -9,7 +9,7 @@ export default function Left(props:leftBoxProps) {
leftRenderDom
.
noFor
?
<
div
>
111111
</
div
>
:
leftRenderDom
.
RenderDom
leftRenderDom
.
columns
.
map
((
item
)
=>
item
.
element
)
}
</
Box
>
)
...
...
components/contentBox/right/index.tsx
浏览文件 @
dbc35e46
...
...
@@ -9,7 +9,7 @@ export default function Right(props:rightBoxProps) {
rightRenderDom
.
noFor
?
<
div
>
111111
</
div
>
:
rightRenderDom
.
RenderDom
rightRenderDom
.
columns
.
map
((
item
)
=>
item
.
element
)
}
</
Box
>
)
...
...
pages/equipmentLeasing/index.tsx
浏览文件 @
dbc35e46
...
...
@@ -149,7 +149,7 @@ export default function EquipmentLeasing() {
</
div
>
</
div
>
</
div
>
<
ContentBox
boxIndex=
{
4
}
leftRenderDom=
{
{
RenderDom
:
Dom
}
}
rightRenderDom=
{
{
noFor
:
true
,
RenderDom
:
Dom
}
}
/>
<
ContentBox
boxIndex=
{
4
}
leftRenderDom=
{
{
columns
:[{
element
:
Dom
}]}
}
rightRenderDom=
{
{
noFor
:
true
,
columns
:[{
element
:
Dom
}]
}
}
/>
</
Box
>
</
Layout
>
)
...
...
pages/flyingHandService/index.tsx
浏览文件 @
dbc35e46
...
...
@@ -63,7 +63,7 @@ export default function FlyingHandService() {
</
div
>
<
Button
type=
"primary"
className=
'btn'
>
报名学习课程
</
Button
>
</
div
>
<
ContentBox
boxIndex=
{
2
}
leftRenderDom=
{
{
RenderDom
:
Dom
}
}
rightRenderDom=
{
{
noFor
:
true
,
RenderDom
:
Dom
}
}
/>
<
ContentBox
boxIndex=
{
2
}
leftRenderDom=
{
{
columns
:[{
element
:
Dom
}]}
}
rightRenderDom=
{
{
noFor
:
true
,
columns
:[{
element
:
Dom
}]
}
}
/>
</
Box
>
</
Layout
>
);
...
...
pages/home/waterfallFlowBody/index.tsx
浏览文件 @
dbc35e46
import
React
from
'react'
;
import
{
Box
}
from
'./styled'
;
import
ContentBox
from
'~/components/contentBox'
;
export
default
function
WaterfallFlowBody
()
{
const
Dom
=
<
div
className=
'item'
style=
{
{
height
:
343
}
}
>
12312312312
</
div
>
return
<
div
>
<
ContentBox
boxIndex=
{
2
}
leftRenderDom=
{
{
RenderDom
:
Dom
}
}
rightRenderDom=
{
{
noFor
:
true
,
RenderDom
:
Dom
}
}
/>
</
div
>;
const
columns
=
[
{
element
:
Dom
}
]
return
(
<
Box
>
<
ContentBox
boxIndex=
{
2
}
leftRenderDom=
{
{
columns
:[{
element
:
Dom
}]}
}
rightRenderDom=
{
{
noFor
:
true
,
columns
:[{
element
:
Dom
}]}
}
/>
</
Box
>
)
}
pages/home/waterfallFlowBody/styled.tsx
0 → 100644
浏览文件 @
dbc35e46
import
styled
from
"styled-components"
export
const
Box
=
styled
.
div
`
box-sizing: border-box;
.item{
background-color: red;
}
`
\ No newline at end of file
pages/jobServices/index.tsx
浏览文件 @
dbc35e46
...
...
@@ -149,7 +149,7 @@ export default function JobServices() {
</
div
>
</
div
>
</
div
>
<
ContentBox
boxIndex=
{
2
}
leftRenderDom=
{
{
RenderDom
:
Dom
}
}
rightRenderDom=
{
{
noFor
:
true
,
RenderDom
:
Dom
}
}
/>
<
ContentBox
boxIndex=
{
2
}
leftRenderDom=
{
{
columns
:[{
element
:
Dom
}]}
}
rightRenderDom=
{
{
noFor
:
true
,
columns
:[{
element
:
Dom
}]
}
}
/>
</
Box
>
</
Layout
>
)
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论