signup.vue 19 KB

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