Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
web-ci-test
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
test-ci
web-ci-test
Commits
fa5fb34c
提交
fa5fb34c
authored
5月 20, 2023
作者:
翁进城
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
首页增加模块跳转
上级
2b1e559e
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
21 行增加
和
1 行删除
+21
-1
index.tsx
pages/home/waterfallFlowBody/index.tsx
+21
-1
没有找到文件。
pages/home/waterfallFlowBody/index.tsx
浏览文件 @
fa5fb34c
...
@@ -20,6 +20,7 @@ import { FilterOptionResp,
...
@@ -20,6 +20,7 @@ import { FilterOptionResp,
flightSkillsApi
,
flightSkillsApi
,
listNewsApi
}
from
"./api"
;
listNewsApi
}
from
"./api"
;
import
{
BaseOptionType
,
DefaultOptionType
}
from
"antd/es/select"
;
import
{
BaseOptionType
,
DefaultOptionType
}
from
"antd/es/select"
;
import
router
from
"next/router"
;
// const icon = "error";
// const icon = "error";
export
default
function
WaterfallFlowBody
()
{
export
default
function
WaterfallFlowBody
()
{
const
onMoreChange
=
(
value
:
string
)
=>
{
const
onMoreChange
=
(
value
:
string
)
=>
{
...
@@ -87,8 +88,27 @@ const {IndustryFlightSkills} = flightSkillsApi
...
@@ -87,8 +88,27 @@ const {IndustryFlightSkills} = flightSkillsApi
const
leftDom
=
(
item
:
string
,
index
:
number
,
resultList
:
const
leftDom
=
(
item
:
string
,
index
:
number
,
resultList
:
Array
<
Array
<
AllType
>>
)
=>
{
Array
<
Array
<
AllType
>>
)
=>
{
function
onClick
(
item
:
string
){
switch
(
item
)
{
case
"无人机出租"
:
router
.
push
(
"/equipmentLeasing"
);
break
;
case
"无人机服务"
:
router
.
push
(
"/jobServices"
);
break
;
case
"无人机销售"
:
router
.
push
(
"/mall"
);
break
;
case
"无人机培训"
:
router
.
push
(
"/flyingHandService"
);
break
;
}
}
return
(
return
(
<
div
key=
{
item
}
className=
"item"
>
<
div
key=
{
item
}
className=
"item"
onClick=
{
()
=>
onClick
(
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-icon"
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论