signup.vue 19 KB

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