Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
web
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
iuav
web
Commits
100c2655
提交
100c2655
authored
6月 16, 2023
作者:
余乾开
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'feature/chuck' into develop
上级
f68ca190
ea6dbe5f
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
22 行增加
和
15 行删除
+22
-15
kustomization.yaml
kustomization/overlays/prod/kustomization.yaml
+1
-1
next.config.js
next.config.js
+8
-8
index.page.tsx
pages/equipmentLeasing/index.page.tsx
+4
-1
index.tsx
...home/waterfallFlowBody/components/rotationChart/index.tsx
+2
-2
styled.tsx
pages/jobServices/styled.tsx
+3
-0
index.page.tsx
pages/mall/index.page.tsx
+4
-3
没有找到文件。
kustomization/overlays/prod/kustomization.yaml
浏览文件 @
100c2655
...
...
@@ -18,4 +18,4 @@ patches:
images
:
-
name
:
REGISTRY/NAMESPACE/IMAGE:TAG
newName
:
mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly/web
newTag
:
18a408695e671822e9b91f298e42cdb52a870360
newTag
:
bfd86338f2723db513e880683b5e4281a1b047b8
next.config.js
浏览文件 @
100c2655
/** @type {import('next').NextConfig} */
let
distDir
=
'.dev'
//默认输出目录
let
distDir
=
'.dev'
;
//默认输出目录
if
(
process
.
env
.
NODE_ENV
===
'production'
)
{
//生产环境用另一个目录构建,防止与dev冲突
distDir
=
'.next'
distDir
=
'.next'
;
}
const
nextConfig
=
{
...
...
@@ -21,16 +21,16 @@ const nextConfig = {
destination
:
'/home'
,
permanent
:
true
,
},
]
]
;
},
async
rewrites
()
{
return
[
{
source
:
'/local/:path*'
,
//destination: "https://iuav.mmcuav.cn/:path*"
,
destination
:
'https://test.iuav.shop/:path*'
,
destination
:
'https://www.iuav.shop/:path*'
,
//
destination: 'https://test.iuav.shop/:path*',
},
]
]
;
},
images
:
{
remotePatterns
:
[
...
...
@@ -45,6 +45,6 @@ const nextConfig = {
],
},
pageExtensions
:
[
'page.tsx'
,
'page.ts'
,
'page.jsx'
,
'page.js'
],
}
}
;
module
.
exports
=
nextConfig
module
.
exports
=
nextConfig
;
pages/equipmentLeasing/index.page.tsx
浏览文件 @
100c2655
...
...
@@ -112,7 +112,10 @@ export default function EquipmentLeasing(props: Props) {
},
[
abort
]);
const
onFilterChange
=
(
filterResult
:
FilterResult
,
adapterFilterResult
:
AdapterResult
)
=>
{
console
.
log
(
'filterResult'
,
filterResult
,
adapterFilterResult
);
setPageParams
({
...
pageParams
,
pageNo
:
1
,
});
adapterFilterResult
.
categoryId
=
adapterFilterResult
.
categoryId
?.
map
((
item
)
=>
item
.
id
);
setFilterResult
(
adapterFilterResult
);
};
...
...
pages/home/waterfallFlowBody/components/rotationChart/index.tsx
浏览文件 @
100c2655
...
...
@@ -8,8 +8,8 @@ export default function RotationChart() {
'https://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/1(1).jpg'
,
'https://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/2(1).jpg'
,
'https://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/3(1).jpg'
,
'https://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/
4(1)
.jpg'
,
'https://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/
5(1)
.jpg'
,
'https://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/
a0dc9062-cef8-44ce-bbba-ee82a0d5fe80
.jpg'
,
'https://pad-video-x.oss-cn-shenzhen.aliyuncs.com/file/
95843a99-e8bf-4156-b47a-cf3720f4a885
.jpg'
,
];
return
(
<
Box
>
...
...
pages/jobServices/styled.tsx
浏览文件 @
100c2655
...
...
@@ -32,6 +32,9 @@ export const Box = styled.div`
font-weight: bold;
color: #333333;
line-height: 24px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
&-right {
...
...
pages/mall/index.page.tsx
浏览文件 @
100c2655
...
...
@@ -70,7 +70,10 @@ export default function Mall(props: Props) {
},
[]);
const
onFilterChange
=
(
filterResult
:
FilterResult
,
adapterFilterResult
:
AdapterResult
)
=>
{
console
.
log
(
'filterResult'
,
filterResult
,
adapterFilterResult
);
setPageParams
({
...
pageParams
,
pageNo
:
1
,
});
adapterFilterResult
.
categoryId
=
adapterFilterResult
.
categoryId
?.
map
((
item
)
=>
item
.
id
);
setFilterResult
(
adapterFilterResult
);
};
...
...
@@ -103,8 +106,6 @@ export default function Mall(props: Props) {
alt=
''
src=
{
item
.
images
}
className=
{
styles
.
img
}
width=
{
116
}
height=
{
116
}
preview=
{
false
}
></
Image
>
</
div
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论