diff --git a/public/react/src/modules/competition/Registration.js b/public/react/src/modules/competition/Registration.js
index 89cca3e75..50da524cd 100644
--- a/public/react/src/modules/competition/Registration.js
+++ b/public/react/src/modules/competition/Registration.js
@@ -17,6 +17,7 @@ import RegistrationSearch from './RegistrationSearch';
import RegisListview from './RegisListview';
import RegisListviewdata from './RegisListviewdata';
import PersonModal from './competmodal/PersonModal';
+import PersonalModalteam from './competmodal/PersonalModalteam';
// 团队竞赛报名无报名
class Registration extends React.Component {
constructor(props) {
@@ -26,7 +27,9 @@ class Registration extends React.Component {
loadingstate: false,
page: 1,
limit: 20,
- type: 5,
+ type: 3,
+ tmodalsType: false,
+ tmodalsTypes: true,
}
}
@@ -39,7 +42,7 @@ class Registration extends React.Component {
}
render() {
- const {test, page, limit, type} = this.state;
+ const {test, page, limit, type, tmodalsType, tmodalsTypes} = this.state;
const listItems = test.map((item, index) =>
在线竞赛 diff --git a/public/react/src/modules/competition/comcss/competition.css b/public/react/src/modules/competition/comcss/competition.css index 947b69067..4466a795d 100644 --- a/public/react/src/modules/competition/comcss/competition.css +++ b/public/react/src/modules/competition/comcss/competition.css @@ -19,6 +19,13 @@ background: #0dcecb; } +.registrationbackcenter { + display: flex; + display: -webkit-flex; + flex-direction: column; + align-items: center; +} + .registrationback1 { height: 368px; width: 1200px; @@ -565,8 +572,19 @@ reglistviewdivs2 { height: 38px; color: #4A4A4A; font-size: 16px; + border-radius: 3px; + cursor: pointer; } +.personbut1 p { + width: 100%; + height: 100%; + text-align: center; + margin-top: 10px; + color: #4A4A4A; + font-size: 16px; + cursor: pointer; +} .personbut2 { background: #459BE5; border-color: #459BE5; @@ -575,6 +593,74 @@ reglistviewdivs2 { height: 38px; color: #ffffff; font-size: 16px; + border-radius: 3px; + cursor: pointer; +} + +.personbut2 p { + width: 100%; + height: 100%; + text-align: center; + margin-top: 10px; + color: #ffffff; + font-size: 16px; + cursor: pointer; +} + +/*PersonModal.js*/ + + +/*PersonalModalteam.js*/ +.personaldiv { + display: flex; + display: -webkit-flex; + flex-direction: column; + align-items: center; +} + +.personaldivbutt1 { + + background: #F2F2F2; + border-color: #F2F2F2; + margin-right: 23px; + width: 100px; + height: 38px; + color: #4A4A4A; + font-size: 16px; + border-radius: 3px; + cursor: pointer; +} + +.personaldivbutt1 p { + width: 100%; + height: 100%; + text-align: center; + margin-top: 10px; + color: #666666; + font-size: 16px; + cursor: pointer; +} + +.personaldivbutt2 { + background: #459BE5; + border-color: #459BE5; + width: 100px; + height: 38px; + color: #ffffff; + font-size: 16px; + border-radius: 3px; + cursor: pointer; } -/*PersonModal.js*/ \ No newline at end of file +.personaldivbutt2 p { + width: 100%; + height: 100%; + text-align: center; + margin-top: 10px; + color: #ffffff; + font-size: 16px; + cursor: pointer; +} + + +/*PersonalModalteam.js*/ \ No newline at end of file diff --git a/public/react/src/modules/competition/competmodal/PersonModal.js b/public/react/src/modules/competition/competmodal/PersonModal.js index 4cd4920a4..2495759d5 100644 --- a/public/react/src/modules/competition/competmodal/PersonModal.js +++ b/public/react/src/modules/competition/competmodal/PersonModal.js @@ -537,8 +537,12 @@ class PersonModal extends Component { justifyContent: "center", width: "100%" }}> - - +
取消
+确定
++ 邀请码: +
+ + + +取消
+确定
+