Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
web-ci-test
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
test-ci
web-ci-test
Commits
a704b261
提交
a704b261
authored
5月 30, 2023
作者:
翁进城
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
加盟modal样式修正
上级
469c00fa
隐藏空白字符变更
内嵌
并排
正在显示
11 个修改的文件
包含
31 行增加
和
23 行删除
+31
-23
二手服务商.png
components/NavHeader/joinModal/assets/二手服务商.png
+0
-0
品牌企业.png
components/NavHeader/joinModal/assets/品牌企业.png
+0
-0
商务公关机构.png
components/NavHeader/joinModal/assets/商务公关机构.png
+0
-0
投资机构.png
components/NavHeader/joinModal/assets/投资机构.png
+0
-0
推广合作商.png
components/NavHeader/joinModal/assets/推广合作商.png
+0
-0
无人机自媒体.png
components/NavHeader/joinModal/assets/无人机自媒体.png
+0
-0
生产制造商.png
components/NavHeader/joinModal/assets/生产制造商.png
+0
-0
飞手团队.png
components/NavHeader/joinModal/assets/飞手团队.png
+0
-0
飞手培训机构.png
components/NavHeader/joinModal/assets/飞手培训机构.png
+0
-0
index.module.scss
components/NavHeader/joinModal/index.module.scss
+7
-16
index.tsx
components/NavHeader/joinModal/index.tsx
+24
-7
没有找到文件。
components/NavHeader/joinModal/assets/二手服务商.png
0 → 100644
浏览文件 @
a704b261
4.8 KB
components/NavHeader/joinModal/assets/品牌企业.png
0 → 100644
浏览文件 @
a704b261
4.3 KB
components/NavHeader/joinModal/assets/商务公关机构.png
0 → 100644
浏览文件 @
a704b261
4.9 KB
components/NavHeader/joinModal/assets/投资机构.png
0 → 100644
浏览文件 @
a704b261
4.5 KB
components/NavHeader/joinModal/assets/推广合作商.png
0 → 100644
浏览文件 @
a704b261
4.9 KB
components/NavHeader/joinModal/assets/无人机自媒体.png
0 → 100644
浏览文件 @
a704b261
5.3 KB
components/NavHeader/joinModal/assets/生产制造商.png
0 → 100644
浏览文件 @
a704b261
4.5 KB
components/NavHeader/joinModal/assets/飞手团队.png
0 → 100644
浏览文件 @
a704b261
5.5 KB
components/NavHeader/joinModal/assets/飞手培训机构.png
0 → 100644
浏览文件 @
a704b261
5.2 KB
components/NavHeader/joinModal/index.module.scss
浏览文件 @
a704b261
.identityBtn
{
.identityBtn
{
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
0
5px
;
padding
:
0
5px
;
position
:
absolute
;
bottom
:
0
;
left
:
50%
;
transform
:translate
(
-50
%
,
0
)
;
min-width
:
100%
;
min-width
:
100%
;
height
:
24px
;
background
:
#e26329
;
border-radius
:
6px
;
border-radius
:
6px
;
opacity
:
0
.95
;
text-align
:
center
;
display
:
flex
;
font-size
:
14px
;
justify-content
:
center
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
align-items
:
center
;
font-weight
:
400
;
font-size
:
12px
;
color
:
#000000
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
flex-wrap
:
nowrap
;
font-weight
:
500
;
color
:
#fff
;
white-space
:
nowrap
;
}
}
.modal
{
.modal
{
:global
.ant-modal-content
{
:global
.ant-modal-content
{
border-radius
:
6px
;
border-radius
:
6px
;
.ant-modal-title
{
.ant-modal-title
{
text-align
:
center
;
text-align
:
center
;
}
}
}
}
...
...
components/NavHeader/joinModal/index.tsx
浏览文件 @
a704b261
...
@@ -6,6 +6,18 @@ import { useEffect, useState } from "react";
...
@@ -6,6 +6,18 @@ import { useEffect, useState } from "react";
import
api
,
{
ListTagResp
}
from
"./api"
;
import
api
,
{
ListTagResp
}
from
"./api"
;
import
{
useRouter
}
from
"next/router"
;
import
{
useRouter
}
from
"next/router"
;
const
imgs
=
[
require
(
"./assets/生产制造商.png"
),
require
(
"./assets/品牌企业.png"
),
require
(
"./assets/商务公关机构.png"
),
require
(
"./assets/无人机自媒体.png"
),
require
(
"./assets/投资机构.png"
),
require
(
"./assets/飞手团队.png"
),
require
(
"./assets/二手服务商.png"
),
require
(
"./assets/飞手培训机构.png"
),
require
(
"./assets/推广合作商.png"
),
];
type
Props
=
{
type
Props
=
{
open
?:
boolean
;
open
?:
boolean
;
onOk
?:
()
=>
void
;
onOk
?:
()
=>
void
;
...
@@ -16,10 +28,10 @@ export default function JoinModal(props: Props) {
...
@@ -16,10 +28,10 @@ export default function JoinModal(props: Props) {
const
[
tagList
,
setTagList
]
=
useState
<
ListTagResp
[]
>
([]);
const
[
tagList
,
setTagList
]
=
useState
<
ListTagResp
[]
>
([]);
useEffect
(()
=>
{
useEffect
(()
=>
{
api
.
listTag
().
then
(
res
=>
{
api
.
listTag
().
then
(
(
res
)
=>
{
setTagList
(
res
.
result
||
[]);
setTagList
(
res
.
result
||
[]);
})
})
;
},
[])
},
[])
;
const
onClickTag
=
(
item
:
ListTagResp
)
=>
{
const
onClickTag
=
(
item
:
ListTagResp
)
=>
{
router
.
replace
(
"/JoinPolicy?tagId="
+
item
.
id
);
router
.
replace
(
"/JoinPolicy?tagId="
+
item
.
id
);
...
@@ -35,15 +47,20 @@ export default function JoinModal(props: Props) {
...
@@ -35,15 +47,20 @@ export default function JoinModal(props: Props) {
width=
{
460
}
width=
{
460
}
footer=
{
null
}
footer=
{
null
}
>
>
<
Row
style=
{
{
padding
:
"22px 16px 20px 16px"
,
gap
:
"16px 40px"
}
}
>
<
Row
style=
{
{
rowGap
:
29
,
paddingTop
:
21
,
paddingBottom
:
21
}
}
>
{
tagList
.
map
((
item
)
=>
{
{
tagList
.
map
((
item
,
i
)
=>
{
return
(
return
(
<
Col
<
Col
key=
{
item
.
id
}
key=
{
item
.
id
}
style=
{
{
cursor
:
"pointer"
,
height
:
100
,
padding
:
0
}
}
span=
{
8
}
style=
{
{
cursor
:
"pointer"
,
padding
:
0
,
textAlign
:
"center"
,
}
}
onClick=
{
()
=>
onClickTag
(
item
)
}
onClick=
{
()
=>
onClickTag
(
item
)
}
>
>
<
Image
src=
{
img
}
width=
{
100
}
height=
{
100
}
alt=
""
></
Image
>
<
Image
src=
{
img
s
[
i
]
}
width=
{
64
}
height=
{
64
}
alt=
""
></
Image
>
<
div
className=
{
styles
.
identityBtn
}
>
<
div
className=
{
styles
.
identityBtn
}
>
{
item
.
tagName
}
{
item
.
tagName
}
{
">"
}
{
">"
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论