Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
web-ci-test
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
test-ci
web-ci-test
Commits
a07b4ec7
提交
a07b4ec7
authored
5月 30, 2023
作者:
翁进城
浏览文件
操作
浏览文件
下载
差异文件
Merge remote-tracking branch 'origin/caoyun'
上级
32e4472f
6aa329a0
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
45 行增加
和
42 行删除
+45
-42
index.tsx
components/layout/index.tsx
+3
-7
index.page.tsx
pages/equipmentLeasing/index.page.tsx
+7
-0
styled.tsx
pages/flyingHandService/detail/styled.tsx
+0
-1
index.page.tsx
pages/flyingHandService/index.page.tsx
+26
-25
index.tsx
...home/waterfallFlowBody/components/rotationChart/index.tsx
+5
-5
index.tsx
pages/home/waterfallFlowBody/index.tsx
+1
-1
[id].page.tsx
pages/jobServices/detail/[id].page.tsx
+2
-2
index.page.tsx
pages/jobServices/index.page.tsx
+1
-1
没有找到文件。
components/layout/index.tsx
浏览文件 @
a07b4ec7
...
@@ -6,6 +6,8 @@ import {useRouter} from 'next/router'
...
@@ -6,6 +6,8 @@ import {useRouter} from 'next/router'
import
styles
from
'./index.module.scss'
;
import
styles
from
'./index.module.scss'
;
const
{
Header
,
Footer
,
Content
}
=
Layout
;
const
{
Header
,
Footer
,
Content
}
=
Layout
;
//底部栏固定定位
const
includesPage
=
[
"/home"
,
"/flyingHandService/detail/[id]"
]
const
homeStyle
:
React
.
CSSProperties
=
{
const
homeStyle
:
React
.
CSSProperties
=
{
position
:
'fixed'
,
position
:
'fixed'
,
...
@@ -61,13 +63,7 @@ export default function LayoutView(props: Props) {
...
@@ -61,13 +63,7 @@ export default function LayoutView(props: Props) {
</
Header
>
</
Header
>
<
Content
className=
{
styles
.
content
}
>
{
props
.
children
}
</
Content
>
<
Content
className=
{
styles
.
content
}
>
{
props
.
children
}
</
Content
>
{
!
props
.
hideFooter
&&
(
{
!
props
.
hideFooter
&&
(
<
Footer
<
Footer
style=
{
includesPage
.
includes
(
router
.
pathname
)
?
{...
footerStyle
,...
homeStyle
}
:
footerStyle
}
>
style=
{
router
.
pathname
.
includes
(
"home"
)
?
{
...
footerStyle
,
...
homeStyle
}
:
footerStyle
}
>
<
FooterView
></
FooterView
>
<
FooterView
></
FooterView
>
</
Footer
>
</
Footer
>
)
}
)
}
...
...
pages/equipmentLeasing/index.page.tsx
浏览文件 @
a07b4ec7
...
@@ -129,6 +129,13 @@ export default function EquipmentLeasing(props: Props) {
...
@@ -129,6 +129,13 @@ export default function EquipmentLeasing(props: Props) {
useEffect
(()
=>
{
useEffect
(()
=>
{
if
(
router
.
query
)
{
if
(
router
.
query
)
{
setFilterResult
({
...
router
.
query
});
setFilterResult
({
...
router
.
query
});
console
.
log
(
router
.
query
,{
brandId
:
1
});
onFilterChange
({
categoryId
:
{
id
:
2
,
name
:
"类目:航测"
}
},{
categoryId
:
2
});
}
}
},
[
router
]);
},
[
router
]);
return
(
return
(
...
...
pages/flyingHandService/detail/styled.tsx
浏览文件 @
a07b4ec7
...
@@ -11,7 +11,6 @@ export const Box = styled.div`
...
@@ -11,7 +11,6 @@ export const Box = styled.div`
justify-content: space-between;
justify-content: space-between;
align-items: center;
align-items: center;
.left {
.left {
width: 190px;
height: 25px;
height: 25px;
font-size: 20px;
font-size: 20px;
font-family: MicrosoftYaHeiUI-Bold, MicrosoftYaHeiUI;
font-family: MicrosoftYaHeiUI-Bold, MicrosoftYaHeiUI;
...
...
pages/flyingHandService/index.page.tsx
浏览文件 @
a07b4ec7
...
@@ -17,8 +17,8 @@ export default function FlyingHandService() {
...
@@ -17,8 +17,8 @@ export default function FlyingHandService() {
const
{
Option
}
=
Select
const
{
Option
}
=
Select
const
router
=
useRouter
();
const
router
=
useRouter
();
const
[
list
,
setList
]
=
useState
([
const
[
list
,
setList
]
=
useState
([
"https://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/
925072db-5872-44dd-8b71-e408ad3adf41
.jpg"
,
"https://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/
540X844-1(1)
.jpg"
,
"https://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/
12d624b0-1250-44a6-9a3f-9025725a2adc
.jpg"
,
"https://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/
540X844(1)
.jpg"
,
]);
]);
const
[
productList
,
setProductList
]
=
useState
(
const
[
productList
,
setProductList
]
=
useState
(
Array
<
{
element
:
JSX
.
Element
}
>
Array
<
{
element
:
JSX
.
Element
}
>
...
@@ -32,8 +32,9 @@ export default function FlyingHandService() {
...
@@ -32,8 +32,9 @@ export default function FlyingHandService() {
const
[
skills
,
setSkills
]
=
useState
(
const
[
skills
,
setSkills
]
=
useState
(
Array
<
RegionResp
>
Array
<
RegionResp
>
);
);
const
[
skillsDefault
,
setSkillsDefault
]
=
useState
<
Array
<
number
>>
();
const
[
flightSkillsList
,
setFlightSkillsList
]
=
useState
(
Array
<
SkillsType
>
);
const
[
flightSkillsList
,
setFlightSkillsList
]
=
useState
(
Array
<
SkillsType
>
);
const
[
flightDefault
,
setFlightDefault
]
=
useState
<
number
|
null
>
();
const
leftDom
=
(
item
:
Flying
)
=>
{
const
leftDom
=
(
item
:
Flying
)
=>
{
return
(
return
(
<
div
<
div
...
@@ -113,6 +114,8 @@ export default function FlyingHandService() {
...
@@ -113,6 +114,8 @@ export default function FlyingHandService() {
//端口列表请求
//端口列表请求
useEffect
(()
=>
{
useEffect
(()
=>
{
console
.
log
(
router
);
let
queryVal
=
JSON
.
parse
(
JSON
.
stringify
(
router
.
query
));
let
queryVal
=
JSON
.
parse
(
JSON
.
stringify
(
router
.
query
));
for
(
const
key
in
queryVal
)
{
for
(
const
key
in
queryVal
)
{
queryVal
[
key
]
=
Number
(
queryVal
[
key
]);
queryVal
[
key
]
=
Number
(
queryVal
[
key
]);
...
@@ -133,25 +136,26 @@ export default function FlyingHandService() {
...
@@ -133,25 +136,26 @@ export default function FlyingHandService() {
});
});
},
[
abort
]);
},
[
abort
]);
const
onProvinceChange
=
(
value
:
string
,
type
:
string
)
=>
{
const
onProvinceChange
=
(
value
:
number
)
=>
{
if
(
type
===
"考证"
)
{
if
(
value
)
{
setFlightDefault
(
value
)
}
else
{
setFlightDefault
(
null
)
}
setFilterParams
((
props
)
=>
{
setFilterParams
((
props
)
=>
{
return
{
return
{
...
props
,
...
props
,
licenseId
:
Number
(
value
),
licenseId
:
Number
(
value
),
};
};
});
});
}
else
{
setFilterParams
((
props
)
=>
{
return
{
...
props
,
flightSkillsId
:
Number
(
value
),
};
});
}
};
};
const
onChange
=
(
value
:
any
)
=>
{
const
onChange
=
(
value
:
any
)
=>
{
if
(
value
)
{
setSkillsDefault
([
value
])
}
else
{
setSkillsDefault
([])
}
setFilterParams
((
props
)
=>
{
setFilterParams
((
props
)
=>
{
return
{
return
{
...
props
,
...
props
,
...
@@ -199,6 +203,11 @@ export default function FlyingHandService() {
...
@@ -199,6 +203,11 @@ export default function FlyingHandService() {
for
(
const
key
in
queryVal
)
{
for
(
const
key
in
queryVal
)
{
queryVal
[
key
]
=
Number
(
queryVal
[
key
]);
queryVal
[
key
]
=
Number
(
queryVal
[
key
]);
}
}
if
(
queryVal
.
flightSkillsId
)
{
setSkillsDefault
([
queryVal
.
flightSkillsId
])
}
else
{
setFlightDefault
(
queryVal
.
licenseId
)
}
setFilterParams
((
props
)
=>
{
setFilterParams
((
props
)
=>
{
return
{
return
{
...
props
,
...
props
,
...
@@ -284,29 +293,21 @@ export default function FlyingHandService() {
...
@@ -284,29 +293,21 @@ export default function FlyingHandService() {
children
:
"childLicenses"
,
children
:
"childLicenses"
,
}
}
}
}
options=
{
skills
}
options=
{
skills
}
onChange=
{
onChange
}
onChange=
{
(
value
)
=>
onChange
(
value
)
}
changeOnSelect
changeOnSelect
value=
{
skillsDefault
}
/>
/>
{
/* <Select
className="selectItem"
bordered={false}
popupMatchSelectWidth={false}
placeholder="考证"
size="large"
onChange={(value) => onProvinceChange(value, "考证")}
options={skills}
allowClear
/> */
}
<
Select
<
Select
className=
"selectItem"
className=
"selectItem"
bordered=
{
false
}
bordered=
{
false
}
popupMatchSelectWidth=
{
false
}
popupMatchSelectWidth=
{
false
}
placeholder=
"技能"
placeholder=
"技能"
size=
"large"
size=
"large"
onChange=
{
(
value
)
=>
onProvinceChange
(
value
,
"技能"
)
}
onChange=
{
(
value
)
=>
onProvinceChange
(
value
)
}
options=
{
flightSkillsList
}
options=
{
flightSkillsList
}
fieldNames=
{
{
value
:
"id"
,
label
:
"skillsName"
}
}
fieldNames=
{
{
value
:
"id"
,
label
:
"skillsName"
}
}
allowClear
allowClear
value=
{
flightDefault
}
/>
/>
</
Space
>
</
Space
>
</
div
>
</
div
>
...
...
pages/home/waterfallFlowBody/components/rotationChart/index.tsx
浏览文件 @
a07b4ec7
...
@@ -5,11 +5,11 @@ import Image from "next/image";
...
@@ -5,11 +5,11 @@ import Image from "next/image";
export
default
function
RotationChart
()
{
export
default
function
RotationChart
()
{
const
list
=
[
const
list
=
[
"https://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/
pc%E7%AB%AF%E8%BD%AE%E6%92%AD%E5%9B%BE1.pn
g"
,
"https://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/
1(1).jp
g"
,
"https://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/
ebf4fd5d-f8da-45b7-b0b3-282a31e43929.pn
g"
,
"https://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/
2(1).jp
g"
,
"https://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/
6b62ee5b-d929-4dee-b441-258c81c14403.pn
g"
,
"https://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/
3(1).jp
g"
,
"https://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/
0dd9e0f6-c1cd-485a-bdf4-8aeb84b1c67a.pn
g"
,
"https://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/
4(1).jp
g"
,
"https://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/
bcdabab5-f2f8-4c6d-85c6-4d304d8bfe4c.png"
,
"https://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/
5(1).jpg"
];
];
return
(
return
(
<
Box
>
<
Box
>
...
...
pages/home/waterfallFlowBody/index.tsx
浏览文件 @
a07b4ec7
...
@@ -294,7 +294,7 @@ export default function WaterfallFlowBody() {
...
@@ -294,7 +294,7 @@ export default function WaterfallFlowBody() {
option
:
[]
option
:
[]
)
=>
{
)
=>
{
return
(
return
(
<
div
key=
{
item
.
title
}
className=
{
`item ${index>=3?'right-box':''}`
}
>
<
div
key=
{
item
.
title
}
className=
"item"
style=
{
{
marginRight
:
index
>=
3
?
0
:
10
}
}
>
<
div
className=
"item-title"
>
<
div
className=
"item-title"
>
<
div
className=
"item-left"
>
<
div
className=
"item-left"
>
<
div
className=
"item-left-label"
onClick=
{
()
=>
routerPath
(
index
)
}
>
<
div
className=
"item-left-label"
onClick=
{
()
=>
routerPath
(
index
)
}
>
...
...
pages/jobServices/detail/[id].page.tsx
浏览文件 @
a07b4ec7
...
@@ -76,8 +76,8 @@ export default function JobServicesDetail() {
...
@@ -76,8 +76,8 @@ export default function JobServicesDetail() {
</
div
>
</
div
>
<
div
className=
'right-bottom'
>
<
div
className=
'right-bottom'
>
<
div
className=
'bottom-btn'
>
<
div
className=
'bottom-btn'
>
<
Button
className=
'btn-left'
size=
'small'
type=
"primary"
>
马上预约
</
Button
>
<
Button
className=
'btn-left'
size=
'small'
type=
"primary"
>
电话沟通
</
Button
>
<
Button
className=
'btn-right'
size=
'small'
type=
"primary"
>
电话沟通
</
Button
>
<
Button
className=
'btn-right'
size=
'small'
type=
"primary"
>
立即预约
</
Button
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
</
div
>
...
...
pages/jobServices/index.page.tsx
浏览文件 @
a07b4ec7
...
@@ -19,7 +19,7 @@ interface ImageListType {}
...
@@ -19,7 +19,7 @@ interface ImageListType {}
export
default
function
JobServices
()
{
export
default
function
JobServices
()
{
const
router
=
useRouter
();
const
router
=
useRouter
();
const
[
list
,
setList
]
=
useState
([
const
[
list
,
setList
]
=
useState
([
"https://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/
90a52d3e-1ffa-4347-886e-a1c4535cf8b3
.jpg"
,
"https://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/
540X844-2(1)
.jpg"
,
// "https://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/665512fd-12e6-49a9-93c1-f9dcd0e82083.jpg",
// "https://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/665512fd-12e6-49a9-93c1-f9dcd0e82083.jpg",
]);
]);
const
[
productList
,
setProductList
]
=
useState
(
const
[
productList
,
setProductList
]
=
useState
(
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论