diff --git a/src/Entry.js b/src/Entry.js index 9a2bcc9..8079e9e 100644 --- a/src/Entry.js +++ b/src/Entry.js @@ -3,7 +3,7 @@ import Sheet from "./components/Sheet"; import { BackTop, Layout } from "antd"; import Background from "./background2.jpg"; import UploadToOSS from "./components/UploadToOSS"; - +import qrqq from "./picture/qr-qq.jpg"; class Entry extends React.Component { state = { stuid: null, @@ -35,6 +35,9 @@ class Entry extends React.Component { +

+ 提交报名表后,我们强烈建议您加入QQ纳新咨询群,群号:1234567890 +

浙江大学学生E志者协会©2020 Created by EVATech

diff --git a/src/components/Sheet.js b/src/components/Sheet.js index fee8eca..dc9467d 100644 --- a/src/components/Sheet.js +++ b/src/components/Sheet.js @@ -1,6 +1,6 @@ import React from "react"; import axios from "axios"; -import { Button, Form, Input, Icon, Radio, message } from "antd"; +import { Button, Form, Input, Icon, Radio, message, Divider } from "antd"; import "antd/dist/antd.css"; import { confirmAlert } from "react-confirm-alert"; import "react-confirm-alert/src/react-confirm-alert.css"; @@ -163,11 +163,41 @@ class NewForm extends React.Component { }, }, }; - + const formItemLayout = { + labelCol: { + xs: { span: 24 }, + sm: { span: 8 }, + }, + wrapperCol: { + xs: { span: 24 }, + sm: { span: 12 }, + }, + }; + const questionItemLayout = { + labelAlign: "left", + labelCol: { + xs: { span: 24 }, + sm: { span: 18, offset: 4 }, + }, + wrapperCol: { + xs: { span: 24 }, + sm: { span: 11, offset: 4 }, + }, + }; const { getFieldDecorator } = this.props.form; return ( -
+ + + 基本信息 + {getFieldDecorator("name", { rules: [ @@ -281,7 +311,16 @@ class NewForm extends React.Component { ], })()} - + + Pick你的最爱 + {getFieldDecorator("firstWish", { rules: [ @@ -363,7 +402,8 @@ class NewForm extends React.Component { onChange={() => { if (this.props.form.getFieldValue("adjustment") === true) message.warning( - "往届两技术部报名人数较多,选择调剂表示存在您被分配到第二、三志愿的可能,请审慎选择。" + "往届两技术部报名人数较多,选择调剂表示存在您被分配到第二、三志愿的可能,请审慎选择。", + 6 ); }} > @@ -383,6 +423,7 @@ class NewForm extends React.Component { @@ -397,6 +438,7 @@ class NewForm extends React.Component { @@ -411,6 +453,7 @@ class NewForm extends React.Component { )} - + + 小E想听你说 + {getFieldDecorator("question2", { rules: [