Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
web
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
iuav
web
Commits
9f9df0c9
提交
9f9df0c9
authored
5月 24, 2023
作者:
18928357778
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
改-首页样式调整
上级
53dccdd8
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
19 行增加
和
49 行删除
+19
-49
baoxian.png
pages/home/waterfallFlowBody/assets/baoxian.png
+0
-0
fuwu.png
pages/home/waterfallFlowBody/assets/fuwu.png
+0
-0
gongju.png
pages/home/waterfallFlowBody/assets/gongju.png
+0
-0
peixun.png
pages/home/waterfallFlowBody/assets/peixun.png
+0
-0
tubiao.png
pages/home/waterfallFlowBody/assets/tubiao.png
+0
-0
xiaoshou.png
pages/home/waterfallFlowBody/assets/xiaoshou.png
+0
-0
index.tsx
pages/home/waterfallFlowBody/index.tsx
+10
-35
styled.tsx
pages/home/waterfallFlowBody/styled.tsx
+9
-14
没有找到文件。
pages/home/waterfallFlowBody/assets/baoxian.png
deleted
100644 → 0
浏览文件 @
53dccdd8
1.8 KB
pages/home/waterfallFlowBody/assets/fuwu.png
deleted
100644 → 0
浏览文件 @
53dccdd8
2.1 KB
pages/home/waterfallFlowBody/assets/gongju.png
deleted
100644 → 0
浏览文件 @
53dccdd8
2.7 KB
pages/home/waterfallFlowBody/assets/peixun.png
deleted
100644 → 0
浏览文件 @
53dccdd8
1.8 KB
pages/home/waterfallFlowBody/assets/tubiao.png
deleted
100644 → 0
浏览文件 @
53dccdd8
2.1 KB
pages/home/waterfallFlowBody/assets/xiaoshou.png
deleted
100644 → 0
浏览文件 @
53dccdd8
1.7 KB
pages/home/waterfallFlowBody/index.tsx
浏览文件 @
9f9df0c9
...
@@ -7,14 +7,6 @@ import ContentBox from "~/components/contentBox";
...
@@ -7,14 +7,6 @@ import ContentBox from "~/components/contentBox";
import
RotationChart
from
"./components/rotationChart"
;
import
RotationChart
from
"./components/rotationChart"
;
import
Map
from
"./components/map"
;
import
Map
from
"./components/map"
;
import
tubiao
from
"./assets/tubiao.png"
;
import
fuwu
from
"./assets/fuwu.png"
;
import
xiaoshou
from
"./assets/xiaoshou.png"
;
import
baoxian
from
"./assets/baoxian.png"
;
import
peixun
from
"./assets/peixun.png"
;
import
gongju
from
"./assets/gongju.png"
;
import
xwbg
from
"./assets/xwbg.png"
;
const
icon
=
[
tubiao
,
fuwu
,
xiaoshou
,
baoxian
,
peixun
,
gongju
];
import
{
import
{
FilterOptionResp
,
FilterOptionResp
,
RegionResp
,
RegionResp
,
...
@@ -114,7 +106,7 @@ export default function WaterfallFlowBody() {
...
@@ -114,7 +106,7 @@ export default function WaterfallFlowBody() {
];
];
const
[
leftDomList
,
setLeftDomList
]
=
useState
(
const
[
leftDomList
,
setLeftDomList
]
=
useState
(
Array
<
{
element
:
JSX
.
Element
,
type
?:
string
,
}
>
Array
<
{
element
:
JSX
.
Element
;
type
?:
string
}
>
);
);
const
[
rightTopDomList
,
setRightTopDomList
]
=
useState
<
JSX
.
Element
>
();
const
[
rightTopDomList
,
setRightTopDomList
]
=
useState
<
JSX
.
Element
>
();
const
[
rightBottomDomList
,
setRightBottomDomList
]
=
useState
<
JSX
.
Element
>
();
const
[
rightBottomDomList
,
setRightBottomDomList
]
=
useState
<
JSX
.
Element
>
();
...
@@ -132,11 +124,10 @@ export default function WaterfallFlowBody() {
...
@@ -132,11 +124,10 @@ export default function WaterfallFlowBody() {
];
];
const
{
IndustryFlightSkills
}
=
flightSkillsApi
;
const
{
IndustryFlightSkills
}
=
flightSkillsApi
;
const
flightApiTypeList
=
[
"licenseId"
,
"flightSkillsId"
];
const
flightApiTypeList
=
[
"licenseId"
,
"flightSkillsId"
];
const
{
listAllIndustry
,
listAllAppType
}
=
jobServicesApi
;
const
{
listAllIndustry
,
listAllAppType
}
=
jobServicesApi
;
const
jobApiTypeList
=
[
"industryId"
,
"appTypeId"
];
const
jobApiTypeList
=
[
"industryId"
,
"appTypeId"
];
useEffect
(()
=>
{
useEffect
(()
=>
{
(
async
()
=>
{
(
async
()
=>
{
// listNewsApi.listNewsPage({ pageNo: 1, pageSize: 5 }).then((res) => {
// listNewsApi.listNewsPage({ pageNo: 1, pageSize: 5 }).then((res) => {
...
@@ -211,13 +202,10 @@ export default function WaterfallFlowBody() {
...
@@ -211,13 +202,10 @@ export default function WaterfallFlowBody() {
setMoreEqList
(
res1
.
map
((
item
)
=>
item
.
result
).
flat
());
setMoreEqList
(
res1
.
map
((
item
)
=>
item
.
result
).
flat
());
setLeftDomList
(
setLeftDomList
(
columns
.
map
((
item
,
index
)
=>
{
columns
.
map
((
item
,
index
)
=>
{
if
(
index
<
3
)
{
if
(
index
<
3
)
{
console
.
log
(
"路由跳转"
,
index
);
return
{
element
:
leftDom
(
item
,
index
,
listValue
),
type
:
"left"
};
return
{
element
:
leftDom
(
item
,
index
,
listValue
)
,
type
:
"left"
};
}
}
console
.
log
(
"路由跳转"
,
index
);
return
{
element
:
leftDom
(
item
,
index
,
listValue
),
type
:
"right"
};
return
{
element
:
leftDom
(
item
,
index
,
listValue
)
,
type
:
"right"
};
})
})
);
);
...
@@ -248,10 +236,9 @@ export default function WaterfallFlowBody() {
...
@@ -248,10 +236,9 @@ export default function WaterfallFlowBody() {
<
div
key=
{
item
.
title
}
className=
"item"
>
<
div
key=
{
item
.
title
}
className=
"item"
>
<
div
className=
"item-title"
>
<
div
className=
"item-title"
>
<
div
className=
"item-left"
>
<
div
className=
"item-left"
>
{
/* <div className="item-left-icon">
<
div
className=
"item-left-label"
onClick=
{
()
=>
routerPath
(
index
)
}
>
<Image src={icon[index]} alt="#" />
{
item
.
title
}
</div> */
}
</
div
>
<
div
className=
"item-left-label"
onClick=
{
()
=>
routerPath
(
index
)
}
>
{
item
.
title
}
</
div
>
</
div
>
</
div
>
<
div
>
<
div
>
<
Select
<
Select
...
@@ -305,9 +292,6 @@ export default function WaterfallFlowBody() {
...
@@ -305,9 +292,6 @@ export default function WaterfallFlowBody() {
);
);
})
}
})
}
</
Space
>
</
Space
>
{
/* <div className="item-bottom" onClick={() => routerPath(index)}>
全部
</div> */
}
</
div
>
</
div
>
</
div
>
</
div
>
);
);
...
@@ -321,8 +305,7 @@ export default function WaterfallFlowBody() {
...
@@ -321,8 +305,7 @@ export default function WaterfallFlowBody() {
className=
"title-label"
className=
"title-label"
onClick=
{
()
=>
router
.
push
(
"/projectInfo"
)
}
onClick=
{
()
=>
router
.
push
(
"/projectInfo"
)
}
>
>
行业新闻
行业新闻
>
>
</
div
>
</
div
>
</
div
>
</
div
>
<
div
className=
"body"
>
<
div
className=
"body"
>
...
@@ -348,15 +331,13 @@ export default function WaterfallFlowBody() {
...
@@ -348,15 +331,13 @@ export default function WaterfallFlowBody() {
const
rightDom2
=
(
list
:
Array
<
NewsTenderType
>
)
=>
{
const
rightDom2
=
(
list
:
Array
<
NewsTenderType
>
)
=>
{
return
(
return
(
<
div
key=
{
1008
}
className=
"right-box-item right-item-second"
>
<
div
key=
{
1008
}
className=
"right-box-item right-item-second"
>
<
Image
src=
{
xwbg
}
alt=
"#"
width=
{
384
}
height=
{
249
}
/>
<
div
className=
"item-box"
>
<
div
className=
"item-box"
>
<
div
className=
"title"
>
<
div
className=
"title"
>
<
div
<
div
className=
"title-label"
className=
"title-label"
onClick=
{
()
=>
router
.
push
(
"/projectInfo"
)
}
onClick=
{
()
=>
router
.
push
(
"/projectInfo"
)
}
>
>
招标快讯
招标快讯
>
>
</
div
>
</
div
>
</
div
>
</
div
>
<
div
className=
"body"
>
<
div
className=
"body"
>
...
@@ -367,13 +348,7 @@ export default function WaterfallFlowBody() {
...
@@ -367,13 +348,7 @@ export default function WaterfallFlowBody() {
<
div
className=
"label-bottom"
>
{
item
.
tenderPrice
}
</
div
>
<
div
className=
"label-bottom"
>
{
item
.
tenderPrice
}
</
div
>
</
div
>
</
div
>
<
div
className=
"item-right"
>
<
div
className=
"item-right"
>
<
Image
<
div
className=
"left"
>
{
`${item.tenderPrice}W`
}
</
div
>
src=
{
require
(
"./assets/button.png"
)
}
alt=
"#"
width=
{
103
}
height=
{
22
}
/>
<
div
className=
"left"
>
{
item
.
tenderPrice
}
W
</
div
>
<
div
className=
"right"
>
申请合作
</
div
>
<
div
className=
"right"
>
申请合作
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
...
...
pages/home/waterfallFlowBody/styled.tsx
浏览文件 @
9f9df0c9
import
styled
from
"styled-components"
;
import
styled
from
"styled-components"
;
import
button
from
"./assets/button.png"
;
import
button
from
"./assets/button.png"
;
import
xwbg
from
"./assets/xwbg.png"
;
export
default
function
Style
()
{
export
default
function
Style
()
{
return
<></>;
return
<></>;
}
}
...
@@ -37,10 +39,10 @@ export const Box = styled.div`
...
@@ -37,10 +39,10 @@ export const Box = styled.div`
font-weight: bold;
font-weight: bold;
color: #000000;
color: #000000;
line-height: 32px;
line-height: 32px;
&:hover{
&:hover
{
cursor: pointer;
cursor: pointer;
color: #ff552d;
color: #ff552d;
}
}
}
}
}
}
.select-box {
.select-box {
...
@@ -189,11 +191,7 @@ export const Box = styled.div`
...
@@ -189,11 +191,7 @@ export const Box = styled.div`
.right-item-second {
.right-item-second {
border-radius: 6px;
border-radius: 6px;
background-color: #fff;
background-color: #fff;
position: relative;
background: url(
${
xwbg
.
src
}
) no-repeat;
.item-box {
position: absolute;
top: 0;
}
.title {
.title {
display: flex;
display: flex;
align-items: center;
align-items: center;
...
@@ -276,10 +274,12 @@ export const Box = styled.div`
...
@@ -276,10 +274,12 @@ export const Box = styled.div`
text-overflow: ellipsis;
text-overflow: ellipsis;
}
}
.item-right {
.item-right {
display: flex;
justify-content: space-between;
padding: 0 5px;
width: 103px;
width: 103px;
height: 22px;
height: 22px;
background: url(
${
button
as
unknown
as
string
}
) no-repeat;
background: url(
${
button
.
src
}
) no-repeat;
position: relative;
.left {
.left {
width: 35px;
width: 35px;
height: 22px;
height: 22px;
...
@@ -288,7 +288,6 @@ export const Box = styled.div`
...
@@ -288,7 +288,6 @@ export const Box = styled.div`
font-family: PingFangSC-Medium, PingFang SC;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
font-weight: 500;
color: #ff4500;
color: #ff4500;
position: absolute;
text-align: center;
text-align: center;
left: 4px;
left: 4px;
top: 0;
top: 0;
...
@@ -300,10 +299,6 @@ export const Box = styled.div`
...
@@ -300,10 +299,6 @@ export const Box = styled.div`
font-size: 11px;
font-size: 11px;
font-family: MicrosoftYaHei;
font-family: MicrosoftYaHei;
color: #ffffff;
color: #ffffff;
position: absolute;
text-align: center;
right: 3px;
top: 0;
}
}
}
}
}
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论