Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
web-ci-test
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
test-ci
web-ci-test
Commits
f560f8ba
提交
f560f8ba
authored
5月 29, 2023
作者:
翁进城
浏览文件
操作
浏览文件
下载
差异文件
Merge remote-tracking branch 'origin/caoyun'
上级
ebd33c09
9cda4ee5
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
18 行增加
和
9 行删除
+18
-9
index.tsx
components/layout/index.tsx
+11
-5
[id].page.tsx
pages/jobServices/detail/[id].page.tsx
+4
-1
styled.tsx
pages/jobServices/detail/components/evaluate/styled.tsx
+1
-1
styled.tsx
pages/jobServices/detail/styled.tsx
+2
-1
index.page.tsx
pages/jobServices/index.page.tsx
+0
-1
没有找到文件。
components/layout/index.tsx
浏览文件 @
f560f8ba
...
...
@@ -2,9 +2,16 @@ import React, { Suspense } from "react";
import
{
Layout
,
Space
}
from
"antd"
;
import
NavHeader
from
"~/components/NavHeader"
;
import
FooterView
from
"~/components/footer"
;
import
{
useRouter
}
from
'next/router'
const
{
Header
,
Footer
,
Content
}
=
Layout
;
const
homeStyle
:
React
.
CSSProperties
=
{
position
:
'fixed'
,
width
:
'100%'
,
bottom
:
'0'
}
const
headerStyle
:
React
.
CSSProperties
=
{
height
:
"auto"
,
background
:
"none"
,
...
...
@@ -24,14 +31,12 @@ const contentStyle: React.CSSProperties = {
};
const
footerStyle
:
React
.
CSSProperties
=
{
width
:
"100%"
,
color
:
""
,
backgroundColor
:
""
,
lineHeight
:
"1"
,
padding
:
0
,
position
:
"fixed"
,
bottom
:
0
,
// marginTop: 60,
position
:
"relative"
,
marginTop
:
60
,
};
type
Props
=
{
...
...
@@ -41,6 +46,7 @@ type Props = {
};
export
default
function
LayoutView
(
props
:
Props
)
{
const
router
=
useRouter
()
return
(
<
Space
direction=
"vertical"
style=
{
{
width
:
"100%"
}
}
size=
{
[
0
,
48
]
}
>
<
Layout
...
...
@@ -54,7 +60,7 @@ export default function LayoutView(props: Props) {
</
Header
>
<
Content
style=
{
contentStyle
}
>
{
props
.
children
}
</
Content
>
{
!
props
.
hideFooter
&&
(
<
Footer
style=
{
footerStyle
}
>
<
Footer
style=
{
router
.
pathname
.
includes
(
"home"
)
?
{...
footerStyle
,...
homeStyle
}
:
footerStyle
}
>
<
FooterView
></
FooterView
>
</
Footer
>
)
}
...
...
pages/jobServices/detail/[id].page.tsx
浏览文件 @
f560f8ba
...
...
@@ -23,7 +23,10 @@ export default function JobServicesDetail() {
{
key
:
'1'
,
label
:
`团队介绍`
,
children
:
<
Image
width=
{
1100
}
height=
{
800
}
src=
{
detail
?.
teamPoster
?
detail
?.
teamPoster
:
''
}
alt=
'error'
/>,
children
:
<
div
>
{
/* <Image width={1100} height={800} src={detail?.teamPoster ? detail?.teamPoster : ''} alt='error'/> */
}
<
img
src=
{
detail
?.
teamPoster
?
detail
?.
teamPoster
:
''
}
alt=
"error"
/>
</
div
>,
},
{
key
:
'2'
,
...
...
pages/jobServices/detail/components/evaluate/styled.tsx
浏览文件 @
f560f8ba
...
...
@@ -7,7 +7,7 @@ export default function Style() {
export
const
Box
=
styled
.
div
`
box-sizing: border-box;
overflow-y: auto;
height:
9
00px;
height:
8
00px;
.item{
height: 180px;
&-user{
...
...
pages/jobServices/detail/styled.tsx
浏览文件 @
f560f8ba
...
...
@@ -104,7 +104,7 @@ export const Box = styled.div`
}
}
.tabs{
padding: 0
60
px;
padding: 0
24
px;
margin-top: 69px;
}
`
\ No newline at end of file
pages/jobServices/index.page.tsx
浏览文件 @
f560f8ba
...
...
@@ -167,7 +167,6 @@ export default function JobServices() {
total=
{
count
}
onChange=
{
onPageChange
}
hideOnSinglePage=
{
true
}
style=
{
{
marginTop
:
20
}
}
/>
</
div
>
),
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论