signup.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795
  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. }
  514. },
  515. fail: (err) => {
  516. console.log("onlineMcSignUp err", err);
  517. uni.showToast({
  518. title: '出错了,报名失败',
  519. icon: 'none',
  520. duration: 3000
  521. });
  522. },
  523. });
  524. },
  525. btnBack() {
  526. // console.log("from:", this.from)
  527. if (this.from != '') {
  528. // window.history.back();
  529. uni.navigateTo({
  530. url: '/pages/bm/style4/' + this.from + '?' + this.queryString
  531. });
  532. } else {
  533. const url = `action://to_home/`;
  534. // window.location.href = url;
  535. tools.appAction(url);
  536. }
  537. },
  538. btnInfo() {
  539. this.$refs.mypopup.popupOpen();
  540. },
  541. btnSignup() {
  542. if (!checkToken(this.token)) {
  543. return;
  544. }
  545. if (!(this.nickName.trim().length > 0)) {
  546. uni.showToast({
  547. title: `请填写${this.configParam.labelName}`,
  548. icon: 'none',
  549. duration: 2000
  550. });
  551. return;
  552. }
  553. if (!(this.coiId > 0)) {
  554. uni.showToast({
  555. title: `请选择${this.configParam.labelOrg}`,
  556. icon: 'none',
  557. duration: 2000
  558. });
  559. return;
  560. }
  561. this.nickName = this.nickName.trim();
  562. // this.coiName = tools.getSelectedText(this.orgList, this.coiId);
  563. // this.teamName = tools.getSelectedText(this.teamList, this.teamNum);
  564. this.$refs.alertDialog.open();
  565. },
  566. dialogConfirm() {
  567. this.onlineMcSignUp();
  568. },
  569. dialogClose() {
  570. },
  571. // 获取输入框中值
  572. getESelectText(data) {
  573. console.log("getESelectText:", data);
  574. this.coiName = data;
  575. },
  576. // 获取选择选项值
  577. eSelectChange(data) {
  578. console.log("eSelectChange:", data);
  579. },
  580. }
  581. }
  582. </script>
  583. <style scoped>
  584. .content {
  585. width: 100vw;
  586. height: 100vh;
  587. }
  588. .top-default {
  589. width: 100%;
  590. height: 220px;
  591. padding-top: 36px;
  592. justify-content: space-between;
  593. background-image: url('static/backgroud/top_bg_sddx.png');
  594. background-repeat: no-repeat;
  595. background-position: center;
  596. background-size: cover;
  597. }
  598. .topbar {
  599. width: 90%;
  600. justify-content: space-between;
  601. }
  602. .topbar-color-default {
  603. color: #333333;
  604. }
  605. .topbar-back {
  606. width: 43rpx;
  607. height: 43rpx;
  608. color: inherit !important;
  609. font-size: 48rpx !important;
  610. /* opacity: 0; */
  611. }
  612. .topbar-rule {
  613. font-size: 32rpx;
  614. }
  615. .topcontent {
  616. height: 90%;
  617. margin-bottom: 30px;
  618. }
  619. .logo {
  620. width: 80px;
  621. height: 80px;
  622. margin-top: 10px;
  623. /* background-image: url('/static/logo/sddx.png'); */
  624. background-repeat: no-repeat;
  625. background-position-x: center;
  626. background-position-y: center;
  627. background-size: contain;
  628. }
  629. .top-acttime {
  630. display: none;
  631. text-shadow: 3px 3px 0px #640008;
  632. font-family: YouSheBiaoTiHei;
  633. /* font-family: Arial, Helvetica, sans-serif; */
  634. font-weight: bold;
  635. color: #ffee0b;
  636. font-size: 26px;
  637. }
  638. .mcName {
  639. font-size: 40rpx;
  640. font-weight: 550;
  641. }
  642. .main {
  643. width: 76%;
  644. min-height: 800rpx;
  645. /* margin-top: 20rpx; */
  646. justify-content: space-around;
  647. }
  648. .timebar {
  649. width: 80%;
  650. height: 65rpx;
  651. /* margin-top: 20rpx; */
  652. margin-top: -64rpx;
  653. padding: 0 50rpx;
  654. justify-content: space-evenly;
  655. background: #ffffff;
  656. border: 0.5px solid;
  657. border-color: #e7e7e7;
  658. border-radius: 20px;
  659. box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.13);
  660. }
  661. .acttime {
  662. font-weight: 550;
  663. color: #333333;
  664. font-size: 30rpx;
  665. }
  666. .clock {
  667. width: 30rpx;
  668. height: 30rpx;
  669. margin-right: 20rpx;
  670. }
  671. .uni-input {
  672. width: 90%;
  673. height: 68rpx;
  674. /* margin-top: 30rpx; */
  675. padding: 0 26rpx;
  676. /* background: #f1f1f1; */
  677. border: 1px solid #dcdfe6;
  678. border-radius: 4px;
  679. }
  680. .input-placeholder {
  681. color: #333333;
  682. font-size: 16px;
  683. }
  684. .introduce {
  685. width: 100%;
  686. margin-top: 10rpx;
  687. margin-bottom: 30rpx;
  688. align-items: flex-start;
  689. justify-content: space-around;
  690. }
  691. .introduce-title {
  692. color: #333333;
  693. font-size: 30rpx;
  694. line-height: 60rpx;
  695. font-family: Source Han Sans CN;
  696. }
  697. .introduce-content {
  698. color: #333333;
  699. font-size: 25rpx;
  700. line-height: 36rpx;
  701. font-family: Source Han Sans CN;
  702. }
  703. .btnSignup {
  704. width: 100%;
  705. height: 100rpx;
  706. margin-bottom: 30rpx;
  707. color: white;
  708. font-weight: bold;
  709. line-height: 100rpx;
  710. border-radius: 55rpx;
  711. }
  712. .btnSignup-enable {
  713. background-color: #81cd00;
  714. }
  715. .btnSignup-disable {
  716. background-color: #c3c3c3;
  717. }
  718. .dialog-content {
  719. width: 280px;
  720. height: 110px;
  721. padding: 0 20px;
  722. background: #f1f1f1;
  723. border-radius: 9px;
  724. justify-content: center;
  725. text-align: center;
  726. font-weight: 550;
  727. color: #333333;
  728. }
  729. .dialog-content-1 {
  730. font-size: 34rpx;
  731. margin-bottom: 30rpx;
  732. }
  733. .dialog-content-2 {
  734. font-size: 28rpx;
  735. margin-bottom: 10rpx;
  736. text-align: left;
  737. }
  738. </style>