提交 b9708252 作者: 18928357778

改-飞手培训-样式调整自适应

改-飞手培训-报名学习课程修改
上级 13886d28
......@@ -86,7 +86,7 @@ export default function FlyingHandService() {
const rightDom = (item: string) => {
return (
<div className="right-box-item right-item" key={item}>
<Image src={item} alt="error" width={260} height={420} />
<Image src={item} alt="error" fill />
</div>
);
};
......@@ -234,7 +234,6 @@ export default function FlyingHandService() {
const [isModalOpen, setIsModalOpen] = useState(false);
const [loading, setLoading] = useState(false);
const handleOk = async (values: any) => {
form
.validateFields()
.then(async (values) => {
......@@ -242,7 +241,8 @@ export default function FlyingHandService() {
try{
const res = await api.PilotRegistrations({
...values,
city: values.city[values.city.length-1] || null
province: values.city[0],
city: values.city[values.city.length-1] || null,
})
if (res.code === "200") {
setLoading(false);
......
......@@ -43,7 +43,6 @@ export const Box = styled.div`
width: 220px;
cursor: pointer;
transition: all 0.5s;
background-color: #fff;
border-radius: 6px;
&-top {
width: 220px;
......@@ -133,6 +132,7 @@ export const Box = styled.div`
background: #ffffff;
border-radius: 6px;
overflow: hidden;
position: relative;
}
.pagination-page {
text-align: right;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论