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 {
浙江大学学生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 ( -