signup.vue 20 KB

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