signup.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799
  1. <!--
  2. [报名] 样式3 - 报名
  3. http://localhost:5173/card/#/pages/bm/style4/signup
  4. https://oss-mbh5.colormaprun.com/card/#/pages/bm/style4/signup
  5. -->
  6. <template>
  7. <view class="body">
  8. <view class="content uni-column">
  9. <view class="uni-column" :class="cssTop">
  10. <view class="topbar uni-row" :class="cssTopbarColor">
  11. <uni-icons type="left" class="topbar-back" @click="btnBack"></uni-icons>
  12. <text class="mcName">{{mcName}}</text>
  13. <text class="topbar-rule" @click="btnInfo">规则</text>
  14. </view>
  15. <view class="topcontent uni-column uni-jcsa">
  16. <view class="logo"></view>
  17. <text class="top-acttime">{{fmtMcTime2(beginSecond, endSecond)}}</text>
  18. </view>
  19. </view>
  20. <view class="main uni-column">
  21. <view class="timebar uni-row">
  22. <image mode="aspectFit" class="clock" src="/static/default/clock.png"></image>
  23. <text class="acttime">{{acttime}}</text>
  24. </view>
  25. <input class="uni-input" maxlength="30" :placeholder="'请填写'+configParam.labelName" v-model="nickName" />
  26. <e-select v-model="coiId" :options="coiRs" :props="eSelectionProps"
  27. clearable :placeholder="'请选择'+configParam.labelOrg" @getText="getESelectText" @change="eSelectChange"></e-select>
  28. <view class="introduce uni-column">
  29. <text class="introduce-title">{{introduce.title}}</text>
  30. <text class="introduce-content">{{introduce.content}}</text>
  31. </view>
  32. <button class="btnSignup btnSignup-enable" v-if="mcState<=1" @click="btnSignup">报 名</button>
  33. <button class="btnSignup btnSignup-disable" v-if="mcState==2">活动已结束</button>
  34. </view>
  35. <my-popup ref="mypopup" :dataList="popupDataList" :acttime="acttime"></my-popup>
  36. <!-- <uni-popup ref="alertDialog" type="dialog">
  37. <uni-popup-dialog type="info" cancelText="取消" confirmText="确认" title="您填写的姓名:" @confirm="dialogConfirm"
  38. @close="dialogClose">
  39. <view class="dialog-content uni-column">
  40. <text class="dialog-content-1">{{nickName}}</text>
  41. </view>
  42. </uni-popup-dialog>
  43. </uni-popup> -->
  44. <uni-popup ref="alertDialog" type="dialog">
  45. <uni-popup-dialog type="info" cancelText="取消" confirmText="确认" title="你的报名信息:" @confirm="dialogConfirm"
  46. @close="dialogClose">
  47. <view class="dialog-content uni-column">
  48. <text class="dialog-content-1">{{mcName}}</text>
  49. <view class="uni-column uni-ais">
  50. <text class="dialog-content-2">{{configParam.labelName}}: {{nickName}}</text>
  51. <text class="dialog-content-2">{{configParam.labelOrg}}: {{coiName}}</text>
  52. <!-- <text class="dialog-content-2">{{teamName}}</text> -->
  53. </view>
  54. </view>
  55. </uni-popup-dialog>
  56. </uni-popup>
  57. </view>
  58. </view>
  59. </template>
  60. <script>
  61. import tools from '../../../common/tools';
  62. import {
  63. defaultPopUpDataList
  64. } from '../../../common/define';
  65. import {
  66. token,
  67. apiCardDetailQuery,
  68. apiOnlineMcSignUpDetail,
  69. apiOnlineMcSignUp,
  70. apiCardConfigQuery,
  71. apiMatchRsDetailQuery,
  72. checkResCode,
  73. checkToken
  74. } from '../../../common/api';
  75. export default {
  76. data() {
  77. return {
  78. pageName: "signup",
  79. firstEnterKey: 'firstEnter-bm-style4',
  80. rankKey: "rank-bm-style4",
  81. queryObj: {},
  82. queryString: "",
  83. from: "", // 来源页面
  84. token: "",
  85. ecId: 0, // 卡片id
  86. mcId: 0, // 赛事id
  87. mcType: 0, // 赛事类型 1 普通活动 2 线下赛 3 线上赛
  88. mcName: "", // 赛事名称
  89. acttime: "", // 活动时间
  90. beginSecond: null, // 活动或赛事开始时间戳,单位秒
  91. endSecond: null, // 活动或赛事结束时间戳,单位秒
  92. coiId: 0, // 已报名单位id
  93. coiName: "", // 已报名单位名称,可为空
  94. teamNum: 0, // 已报名队伍编号,可为0
  95. nickName: "", // 昵称
  96. coiRs: [], // 组织信息集合
  97. // orgList: [], // 分组下拉列表数据源
  98. // teamList: [], //
  99. interval: null,
  100. mcState: 0, // 赛事/活动状态 0: 未开始 1: 进行中 2: 已结束
  101. // teamType: 0, // 队伍类型 0: 红黄蓝紫 1: 学生/家长
  102. cssTop: "",
  103. cssTopbarColor: "",
  104. cssLogo: "",
  105. introduce: {
  106. title: "",
  107. content: ""
  108. },
  109. popupDataList: [],
  110. configParam: {
  111. labelName: "昵称",
  112. labelOrg: "组织",
  113. },
  114. eSelectionProps: {
  115. text: 'coiName',
  116. value: 'coiId',
  117. // disabled: 'noallowed'
  118. },
  119. }
  120. },
  121. computed: {},
  122. onLoad(query) { // 类型非必填,可自动推导
  123. // console.log(query);
  124. this.queryObj = query;
  125. this.queryString = tools.objectToQueryString(this.queryObj);
  126. // console.log(queryString);
  127. this.from = query["from"] ?? "";
  128. this.token = query["token"] ?? token;
  129. this.ecId = query["id"] ?? 0;
  130. this.firstEnterKey += "-" + this.ecId;
  131. console.log("firstEnterKey:", this.firstEnterKey);
  132. this.rankKey += "-" + this.ecId;
  133. console.log("rankKey:", this.rankKey);
  134. tools.removeCssCode();
  135. this.getCardConfigQuery();
  136. this.getCardDetailQuery();
  137. this.matchRsDetailQuery();
  138. },
  139. // 页面初次渲染完成,此时组件已挂载完成,DOM 树($el)已可用
  140. onReady() {
  141. // this.dealFirstEnter();
  142. },
  143. onUnload() {
  144. this.clear();
  145. },
  146. methods: {
  147. dealNotice(rank) {
  148. // console.log('[dealNotice]');
  149. let that = this;
  150. uni.getStorage({
  151. key: that.rankKey,
  152. success: (res) => {
  153. console.log('[getStorage]', that.rankKey, res.data);
  154. const oldRank = res.data;
  155. if (oldRank != rank) {
  156. // that.notice = true;
  157. that.setRankValue(rank);
  158. }
  159. },
  160. fail: (e) => {
  161. console.log('[getStorage] fail', that.rankKey, e);
  162. // that.notice = false;
  163. that.setRankValue(rank);
  164. },
  165. })
  166. },
  167. setRankValue(data) {
  168. let that = this;
  169. uni.setStorage({
  170. key: that.rankKey,
  171. data: data,
  172. success: () => {
  173. console.log('[setStorage] success', that.rankKey, data);
  174. },
  175. fail: (e) => {
  176. console.log('[setStorage] fail', that.rankKey, e);
  177. },
  178. })
  179. },
  180. dealFirstEnter() {
  181. // console.log('[dealFirstEnter]');
  182. let that = this;
  183. uni.getStorage({
  184. key: that.firstEnterKey,
  185. success: (res) => {
  186. console.log('[getStorage]', that.firstEnterKey, res.data);
  187. },
  188. fail: (e) => {
  189. console.log('[getStorage] fail', that.firstEnterKey, e);
  190. that.btnInfo();
  191. that.setFirstEnterValue(true);
  192. },
  193. })
  194. },
  195. setFirstEnterValue(data) {
  196. let that = this;
  197. uni.setStorage({
  198. key: that.firstEnterKey,
  199. data: data,
  200. success: () => {
  201. console.log('[setStorage] success', that.firstEnterKey, data);
  202. },
  203. fail: (e) => {
  204. console.log('[setStorage] fail', that.firstEnterKey, e);
  205. },
  206. })
  207. },
  208. clear() {
  209. if (this.interval != null) {
  210. clearInterval(this.interval);
  211. this.interval = null;
  212. }
  213. },
  214. loadConfig(config) {
  215. // console.log("config", config);
  216. // 加载CSS样式
  217. const css = config.css;
  218. if (css != undefined && css.length > 0) {
  219. tools.loadCssCode(css);
  220. if (css.indexOf(".top{") >= 0) {
  221. this.cssTop = "top";
  222. }
  223. if (css.indexOf(".topbar-color{") >= 0) {
  224. this.cssTopbarColor = "topbar-color";
  225. }
  226. }
  227. if (this.cssTop == "") {
  228. this.cssTop = "top-default";
  229. }
  230. if (this.cssTopbarColor == "") {
  231. this.cssTopbarColor = "topbar-color-default";
  232. }
  233. console.log("[loadConfig] cssTop:", this.cssTop);
  234. console.log("[loadConfig] cssTopbarColor:", this.cssTopbarColor);
  235. // 加载队伍类型 0: 红黄蓝紫 1: 学生/家长
  236. /* if (config.teamType != undefined && config.teamType >= 0) {
  237. this.teamType = config.teamType;
  238. } */
  239. // 加载介绍内容
  240. const introduce = config.introduce;
  241. if (introduce != undefined) {
  242. if (introduce.title != undefined) {
  243. this.introduce.title = introduce.title;
  244. }
  245. if (introduce.content != undefined) {
  246. this.introduce.content = introduce.content;
  247. }
  248. }
  249. // 加载弹窗数据
  250. const popupDataList = config.popupDataList;
  251. // console.log("[loadConfig] popupDataList:", popupDataList);
  252. if (popupDataList != undefined && popupDataList.length > 0) {
  253. for (var i = 0; i < popupDataList.length; i++) {
  254. // console.log("[loadConfig] popupDataList", i, popupDataList[i]);
  255. if (popupDataList[i] == 'default') {
  256. for (var j = 0; j < defaultPopUpDataList.length; j++) {
  257. this.popupDataList.push(defaultPopUpDataList[j]);
  258. }
  259. } else {
  260. this.popupDataList.push(popupDataList[i]);
  261. }
  262. }
  263. } else {
  264. this.popupDataList = defaultPopUpDataList;
  265. console.log("[loadConfig] popupDataList 加载默认列表");
  266. }
  267. // console.log("[loadConfig] popupDataList:", this.popupDataList);
  268. // 加载页面参数
  269. const param = config.param;
  270. if (param != undefined) {
  271. if (param.labelName != undefined && param.labelName.length > 0) {
  272. this.configParam.labelName = param.labelName;
  273. }
  274. if (param.labelOrg != undefined && param.labelOrg.length > 0) {
  275. this.configParam.labelOrg = param.labelOrg;
  276. }
  277. }
  278. // console.log("[loadConfig] param:", this.configParam);
  279. },
  280. fmtMcTime(timestamp) {
  281. return tools.fmtMcTime(timestamp);
  282. },
  283. // 获取倒计时
  284. getActtime() {
  285. this.acttime = tools.getActtime(this.beginSecond, this.endSecond);
  286. },
  287. fmtMcTime2(timestamp1, timestamp2) {
  288. return tools.fmtMcTime2(timestamp1, timestamp2);
  289. },
  290. getCardConfigQuery() {
  291. uni.request({
  292. url: apiCardConfigQuery,
  293. header: {
  294. "Content-Type": "application/x-www-form-urlencoded",
  295. "token": this.token,
  296. },
  297. method: "POST",
  298. data: {
  299. ecId: this.ecId,
  300. pageName: this.pageName
  301. },
  302. success: (res) => {
  303. // console.log("getCardConfigQuery", res)
  304. const data = res.data.data;
  305. const config = data.configJson != "" ? JSON.parse(data.configJson) : "";
  306. // console.log("configJson", data.configJson);
  307. /* const config = {
  308. "css": `
  309. .top{
  310. width: 100%;
  311. height: 220px;
  312. padding-top: 36px;
  313. justify-content: space-between;
  314. background-image: url('static/backgroud/top_bg_sddx.png');
  315. background-repeat: no-repeat;
  316. background-position: center;
  317. background-size: cover;
  318. }
  319. .logo{
  320. background-image: url('static/logo/sddx.png');
  321. }
  322. .top-acttime{
  323. display: flex !important;
  324. }
  325. .topbar-color{
  326. color: #ffffff;
  327. }
  328. .btnSignup-enable {
  329. background-color: #a43a07 !important;
  330. }
  331. .swiper-item-button {
  332. background-color: #a43a07 !important;
  333. }
  334. .uni-swiper-dot-active {
  335. background: #a43a07 !important;
  336. }
  337. `,
  338. "popupDataList": [{
  339. "type": 1,
  340. "data": {
  341. "title": "山大校园定向赛",
  342. "img": "/static/logo/sddx.png",
  343. "content": "  开学季来袭!山大校园定向赛燃情启幕!探索校园每一个角落,挑战智慧与体能,全校师生共同开启新学期活力篇章!等你来挑战!"
  344. }
  345. },
  346. "default"
  347. ],
  348. "introduce": {
  349. "title": "介绍:",
  350. "content": "  开学季来袭!山大校园定向赛燃情启幕!探索校园每一个角落,挑战智慧与体能,全校师生共同开启新学期活力篇章!等你来挑战!"
  351. },
  352. "param": {
  353. "labelName": "姓名",
  354. "labelOrg": "院系"
  355. }
  356. }; */
  357. this.loadConfig(config);
  358. setTimeout(this.dealFirstEnter, 500);
  359. },
  360. fail: (err) => {
  361. console.log("getCardConfigQuery err", err)
  362. },
  363. });
  364. },
  365. // 卡片信息查询
  366. getCardDetailQuery() {
  367. uni.request({
  368. url: apiCardDetailQuery,
  369. header: {
  370. "Content-Type": "application/x-www-form-urlencoded",
  371. "token": this.token
  372. },
  373. method: "POST",
  374. data: {
  375. ecId: this.ecId
  376. },
  377. success: (res) => {
  378. // console.log("getCardDetailQuery", res);
  379. const data = res.data.data;
  380. this.mcType = data.mcType;
  381. this.mcId = data.mcId;
  382. this.mcName = data.mcName;
  383. this.beginSecond = data.beginSecond;
  384. this.endSecond = data.endSecond;
  385. this.coiId = data.coiId;
  386. this.coiName = data.coiName;
  387. this.teamNum = data.teamNum;
  388. this.nickName = data.nickName;
  389. this.mcState = tools.checkMcState(this.beginSecond, this.endSecond);
  390. this.getActtime();
  391. this.getOnlineMcSignUpDetail();
  392. this.clear();
  393. this.interval = setInterval(this.getActtime, 60000);
  394. },
  395. fail: (err) => {
  396. console.log("getCardDetailQuery err", err)
  397. },
  398. });
  399. },
  400. // 卡片对应线上赛多个活动查询
  401. matchRsDetailQuery() {
  402. uni.request({
  403. url: apiMatchRsDetailQuery,
  404. header: {
  405. "Content-Type": "application/x-www-form-urlencoded",
  406. "token": this.token,
  407. },
  408. method: "POST",
  409. data: {
  410. ecId: this.ecId
  411. },
  412. success: (res) => {
  413. // console.log("matchRsDetailQuery", res);
  414. if (res.data.code == 0) {
  415. const data = res.data.data;
  416. const rank = JSON.stringify(data);
  417. this.dealNotice(rank);
  418. }
  419. },
  420. fail: (err) => {
  421. console.log("matchRsDetailQuery err", err)
  422. },
  423. });
  424. },
  425. // 卡片用户当前排名查询
  426. // getUserCurrentRankNumQuery() {
  427. // uni.request({
  428. // url: apiUserCurrentRankNumQuery,
  429. // header: {
  430. // "Content-Type": "application/x-www-form-urlencoded",
  431. // "token": this.token,
  432. // },
  433. // method: "POST",
  434. // data: {
  435. // ecId: this.ecId
  436. // },
  437. // success: (res) => {
  438. // // console.log("getUserCurrentRankNumQuery", res)
  439. // if (res.data.code == 0) {
  440. // const data = res.data.data;
  441. // const rankNum = data.rankNum;
  442. // this.dealNotice(rankNum);
  443. // }
  444. // },
  445. // fail: (err) => {
  446. // console.log("getUserCurrentRankNumQuery err", err)
  447. // },
  448. // });
  449. // },
  450. // 线上赛报名页面信息详情
  451. getOnlineMcSignUpDetail() {
  452. uni.request({
  453. url: apiOnlineMcSignUpDetail,
  454. header: {
  455. "Content-Type": "application/x-www-form-urlencoded",
  456. "token": this.token,
  457. },
  458. method: "POST",
  459. data: {
  460. mcId: this.mcId,
  461. },
  462. success: (res) => {
  463. // console.log("getOnlineMcSignUpDetail", res);
  464. this.coiRs = res.data.data.coiRs;
  465. if (this.nickName == undefined || this.nickName == '') {
  466. this.nickName = res.data.data.name;
  467. }
  468. /* const rsNum = this.coiRs.length;
  469. this.orgList = [];
  470. for (let i = 0; i < rsNum; i++) {
  471. this.orgList[i] = {};
  472. this.orgList[i].value = this.coiRs[i].coiId;
  473. this.orgList[i].text = this.coiRs[i].coiName;
  474. this.orgList[i].teamNum = this.coiRs[i].teamNum;
  475. }
  476. // console.log("orgList", this.orgList);
  477. if (this.coiId > 0) {
  478. this.orgChange(this.coiId, false);
  479. } */
  480. },
  481. fail: (err) => {
  482. console.log("getOnlineMcSignUpDetail err", err)
  483. },
  484. });
  485. },
  486. // 线上赛报名
  487. onlineMcSignUp() {
  488. uni.request({
  489. url: apiOnlineMcSignUp,
  490. header: {
  491. "Content-Type": "application/x-www-form-urlencoded",
  492. "token": this.token,
  493. },
  494. method: "POST",
  495. data: {
  496. mcId: this.mcId,
  497. coiId: this.coiId,
  498. selectTeam: this.teamNum,
  499. nickName: this.nickName
  500. },
  501. success: (res) => {
  502. // console.log("onlineMcSignUp", res);
  503. if (checkResCode(res)) {
  504. uni.showToast({
  505. title: '比赛报名成功!',
  506. icon: 'none',
  507. duration: 3000
  508. });
  509. // uni.navigateTo({
  510. // // url: '/pages/bm/style4/rankOverview?' + this.queryString
  511. // url: '/pages/bm/style4/rankList?' + this.queryString
  512. // });
  513. const url = '/pages/bm/style4/rankList?' + this.queryString;
  514. tools.appAction(url, "uni.navigateTo");
  515. }
  516. },
  517. fail: (err) => {
  518. console.log("onlineMcSignUp err", err);
  519. uni.showToast({
  520. title: '出错了,报名失败',
  521. icon: 'none',
  522. duration: 3000
  523. });
  524. },
  525. });
  526. },
  527. btnBack() {
  528. // console.log("from:", this.from)
  529. if (this.from != '') {
  530. // window.history.back();
  531. // uni.navigateTo({
  532. // url: '/pages/bm/style4/' + this.from + '?' + this.queryString
  533. // });
  534. const url = '/pages/bm/style4/' + this.from + '?' + this.queryString;
  535. tools.appAction(url, "uni.navigateTo");
  536. } else {
  537. const url = `action://to_home/`;
  538. tools.appAction(url);
  539. }
  540. },
  541. btnInfo() {
  542. this.$refs.mypopup.popupOpen();
  543. },
  544. btnSignup() {
  545. if (!checkToken(this.token)) {
  546. return;
  547. }
  548. if (!(this.nickName.trim().length > 0)) {
  549. uni.showToast({
  550. title: `请填写${this.configParam.labelName}`,
  551. icon: 'none',
  552. duration: 2000
  553. });
  554. return;
  555. }
  556. if (!(this.coiId > 0)) {
  557. uni.showToast({
  558. title: `请选择${this.configParam.labelOrg}`,
  559. icon: 'none',
  560. duration: 2000
  561. });
  562. return;
  563. }
  564. this.nickName = this.nickName.trim();
  565. // this.coiName = tools.getSelectedText(this.orgList, this.coiId);
  566. // this.teamName = tools.getSelectedText(this.teamList, this.teamNum);
  567. this.$refs.alertDialog.open();
  568. },
  569. dialogConfirm() {
  570. this.onlineMcSignUp();
  571. },
  572. dialogClose() {
  573. },
  574. // 获取输入框中值
  575. getESelectText(data) {
  576. // console.log("getESelectText:", data);
  577. this.coiName = data;
  578. },
  579. // 获取选择选项值
  580. eSelectChange(data) {
  581. // console.log("eSelectChange:", data);
  582. },
  583. }
  584. }
  585. </script>
  586. <style scoped>
  587. .content {
  588. width: 100vw;
  589. height: 100vh;
  590. }
  591. .top-default {
  592. width: 100%;
  593. height: 220px;
  594. padding-top: 36px;
  595. justify-content: space-between;
  596. background-image: url('static/backgroud/top_bg_sddx.png');
  597. background-repeat: no-repeat;
  598. background-position: center;
  599. background-size: cover;
  600. }
  601. .topbar {
  602. width: 90%;
  603. justify-content: space-between;
  604. }
  605. .topbar-color-default {
  606. color: #333333;
  607. }
  608. .topbar-back {
  609. width: 43rpx;
  610. height: 43rpx;
  611. color: inherit !important;
  612. font-size: 48rpx !important;
  613. /* opacity: 0; */
  614. }
  615. .topbar-rule {
  616. font-size: 32rpx;
  617. }
  618. .topcontent {
  619. height: 90%;
  620. margin-bottom: 30px;
  621. }
  622. .logo {
  623. width: 80px;
  624. height: 80px;
  625. margin-top: 10px;
  626. /* background-image: url('/static/logo/sddx.png'); */
  627. background-repeat: no-repeat;
  628. background-position-x: center;
  629. background-position-y: center;
  630. background-size: contain;
  631. }
  632. .top-acttime {
  633. display: none;
  634. text-shadow: 3px 3px 0px #640008;
  635. font-family: YouSheBiaoTiHei;
  636. /* font-family: Arial, Helvetica, sans-serif; */
  637. font-weight: bold;
  638. color: #ffee0b;
  639. font-size: 26px;
  640. }
  641. .mcName {
  642. font-size: 40rpx;
  643. font-weight: 550;
  644. }
  645. .main {
  646. width: 76%;
  647. min-height: 800rpx;
  648. /* margin-top: 20rpx; */
  649. justify-content: space-around;
  650. }
  651. .timebar {
  652. width: 90%;
  653. height: 65rpx;
  654. /* margin-top: 20rpx; */
  655. margin-top: -64rpx;
  656. padding: 0 30rpx;
  657. justify-content: space-evenly;
  658. background: #ffffff;
  659. border: 0.5px solid;
  660. border-color: #e7e7e7;
  661. border-radius: 20px;
  662. box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.13);
  663. }
  664. .acttime {
  665. font-weight: 550;
  666. color: #333333;
  667. font-size: 30rpx;
  668. }
  669. .clock {
  670. width: 30rpx;
  671. height: 30rpx;
  672. margin-right: 20rpx;
  673. }
  674. .uni-input {
  675. width: 90%;
  676. height: 68rpx;
  677. /* margin-top: 30rpx; */
  678. padding: 0 26rpx;
  679. /* background: #f1f1f1; */
  680. border: 1px solid #dcdfe6;
  681. border-radius: 4px;
  682. }
  683. .input-placeholder {
  684. color: #333333;
  685. font-size: 16px;
  686. }
  687. .introduce {
  688. width: 100%;
  689. margin-top: 10rpx;
  690. margin-bottom: 30rpx;
  691. align-items: flex-start;
  692. justify-content: space-around;
  693. }
  694. .introduce-title {
  695. color: #333333;
  696. font-size: 30rpx;
  697. line-height: 60rpx;
  698. font-family: Source Han Sans CN;
  699. }
  700. .introduce-content {
  701. color: #333333;
  702. font-size: 25rpx;
  703. line-height: 36rpx;
  704. font-family: Source Han Sans CN;
  705. }
  706. .btnSignup {
  707. width: 100%;
  708. height: 100rpx;
  709. margin-bottom: 30rpx;
  710. color: white;
  711. font-weight: bold;
  712. line-height: 100rpx;
  713. border-radius: 55rpx;
  714. }
  715. .btnSignup-enable {
  716. background-color: #81cd00;
  717. }
  718. .btnSignup-disable {
  719. background-color: #c3c3c3;
  720. }
  721. .dialog-content {
  722. width: 280px;
  723. height: 110px;
  724. padding: 0 20px;
  725. background: #f1f1f1;
  726. border-radius: 9px;
  727. justify-content: center;
  728. text-align: center;
  729. font-weight: 550;
  730. color: #333333;
  731. }
  732. .dialog-content-1 {
  733. font-size: 34rpx;
  734. margin-bottom: 30rpx;
  735. }
  736. .dialog-content-2 {
  737. font-size: 28rpx;
  738. margin-bottom: 10rpx;
  739. text-align: left;
  740. }
  741. </style>