signup.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709
  1. <!--
  2. [报名] 样式1 - 报名
  3. http://localhost:5173/card/#/pages/bm/style1/signup
  4. https://oss-mbh5.colormaprun.com/card/#/pages/bm/style1/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">
  11. <image mode="aspectFit" class="topbar-back" @click="btnBack" src="/static/default/back.png"></image>
  12. <text class="mcName">{{mcName}}</text>
  13. <text class="topbar-rule" @click="btnInfo" >规则</text>
  14. <!-- <image mode="aspectFit" class="topbar-info" @click="btnInfo" src="/static/default/info.png"></image> -->
  15. </view>
  16. <view :class="cssLogo"></view>
  17. <view class="toptime uni-row">
  18. <image mode="aspectFit" class="clock" src="/static/default/clock.png"></image>
  19. <text class="acttime">{{acttime}}</text>
  20. </view>
  21. <!-- <text class="mcName">{{ecId}} - {{mcId}} - {{token}}</text> -->
  22. </view>
  23. <view class="main uni-column">
  24. <!-- <text>token: {{token}}</text> -->
  25. <!-- <text>queryString: {{queryString}}</text> -->
  26. <uni-data-select class="select" placeholder="请选择组织名称" v-model="coiId" :localdata="orgList"
  27. @change="orgChange"></uni-data-select>
  28. <uni-data-select v-if="teamList.length > 0" class="select" placeholder="请选择分组" v-model="teamNum"
  29. :localdata="teamList"></uni-data-select>
  30. <view class="introduce uni-column">
  31. <text class="introduce-title">{{introduce.title}}</text>
  32. <text
  33. class="introduce-content">{{introduce.content}}</text>
  34. </view>
  35. <button class="btnSignup btnSignup-enable" v-if="mcState<=1" @click="btnSignup">报 名</button>
  36. <button class="btnSignup btnSignup-disable" v-if="mcState==2">活动已结束</button>
  37. </view>
  38. <my-popup ref="mypopup" :dataList="popupDataList" :acttime="acttime"></my-popup>
  39. <uni-popup ref="alertDialog" type="dialog">
  40. <uni-popup-dialog type="info" cancelText="取消" confirmText="确认" title="您选择的是:" @confirm="dialogConfirm"
  41. @close="dialogClose">
  42. <view class="dialog-content uni-column">
  43. <text class="dialog-content-1">{{mcName}}</text>
  44. <text class="dialog-content-2">{{coiName}}</text>
  45. <text class="dialog-content-2">{{teamName}}</text>
  46. </view>
  47. </uni-popup-dialog>
  48. </uni-popup>
  49. </view>
  50. </view>
  51. </template>
  52. <script>
  53. import tools from '../../../common/tools';
  54. import { teamName, defaultPopUpDataList } from '../../../common/define';
  55. import {
  56. token,
  57. apiCardDetailQuery,
  58. apiOnlineMcSignUpDetail,
  59. apiOnlineMcSignUp,
  60. apiCardConfigQuery,
  61. apiUserCurrentRankNumQuery,
  62. checkResCode,
  63. checkToken
  64. } from '../../../common/api';
  65. export default {
  66. data() {
  67. return {
  68. pageName: "signup",
  69. firstEnterKey: 'firstEnter-bm',
  70. rankKey: "rank-bm-style1",
  71. queryObj: {},
  72. queryString: "",
  73. from: "", // 来源页面
  74. token: "",
  75. ecId: 0, // 卡片id
  76. mcId: 0, // 赛事id
  77. mcType: 0, // 赛事类型 1 普通活动 2 线下赛 3 线上赛
  78. mcName: "", // 赛事名称
  79. acttime: "", // 活动时间
  80. beginSecond: null, // 活动或赛事开始时间戳,单位秒
  81. endSecond: null, // 活动或赛事结束时间戳,单位秒
  82. coiId: 0, // 已报名单位id
  83. coiName: "", // 已报名单位名称,可为空
  84. teamNum: 0, // 已报名队伍编号,可为0
  85. coiRs: [], // 组织信息集合
  86. orgList: [], // 分组下拉列表数据源
  87. teamList: [], //
  88. interval: null,
  89. mcState: 0 ,// 赛事/活动状态 0: 未开始 1: 进行中 2: 已结束
  90. teamType: 0, // 队伍类型 0: 红黄蓝紫 1: 学生/家长
  91. cssTop: "",
  92. cssLogo: "",
  93. introduce: {
  94. title: "",
  95. content: ""
  96. },
  97. popupDataList: [],
  98. }
  99. },
  100. computed: {
  101. },
  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.getUserCurrentRankNumQuery();
  118. },
  119. // 页面初次渲染完成,此时组件已挂载完成,DOM 树($el)已可用
  120. onReady() {
  121. // this.dealFirstEnter();
  122. },
  123. onUnload() {
  124. this.clear();
  125. },
  126. methods: {
  127. dealNotice(rank) {
  128. // console.log('[dealFirstEnter]');
  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(".logo{") >= 0) {
  204. this.cssLogo = "logo";
  205. }
  206. }
  207. if (this.cssTop == "") {
  208. this.cssTop = "top-default";
  209. }
  210. if (this.cssLogo == "") {
  211. this.cssLogo = "logo-default";
  212. }
  213. console.log("[loadConfig] cssTop:", this.cssTop);
  214. console.log("[loadConfig] cssLogo:", this.cssLogo);
  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 popupDataList = config.popupDataList;
  231. // console.log("[loadConfig] popupDataList:", popupDataList);
  232. if (popupDataList != undefined && popupDataList.length > 0) {
  233. for (var i = 0; i < popupDataList.length; i++) {
  234. // console.log("[loadConfig] popupDataList", i, popupDataList[i]);
  235. if (popupDataList[i] == 'default') {
  236. for (var j = 0; j < defaultPopUpDataList.length; j++) {
  237. this.popupDataList.push(defaultPopUpDataList[j]);
  238. }
  239. } else {
  240. this.popupDataList.push(popupDataList[i]);
  241. }
  242. }
  243. } else {
  244. this.popupDataList = defaultPopUpDataList;
  245. console.log("[loadConfig] popupDataList 加载默认列表");
  246. }
  247. // console.log("[loadConfig] popupDataList:", this.popupDataList);
  248. },
  249. getTeamList(teamNum) {
  250. var teamList = [];
  251. if (teamNum > 0) {
  252. for (let i=0; i<=teamNum; i++) {
  253. teamList[i] = {};
  254. teamList[i].value = i;
  255. // teamList[i].text = `第 ${i+1} 队`;
  256. teamList[i].text = teamName[this.teamType][i];
  257. }
  258. }
  259. this.teamList = teamList;
  260. },
  261. fmtMcTime(timestamp) {
  262. var date = new Date(timestamp * 1000); //时间戳为10位需*1000,时间戳为13位的话不需乘1000
  263. // var Y = date.getFullYear() + '-';
  264. var M = (date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1) + '-';
  265. var D = (date.getDate() < 10 ? '0' + date.getDate() : date.getDate()) + ' ';
  266. var h = (date.getHours() < 10 ? '0' + date.getHours() : date.getHours()) + ':';
  267. var m = (date.getMinutes() < 10 ? '0' + date.getMinutes() : date.getMinutes());
  268. // var s = (date.getSeconds() < 10 ? '0' + date.getSeconds() : date.getSeconds());
  269. const timeStr = M + D + h + m;
  270. // console.log("timeStr", timeStr);
  271. return timeStr;
  272. },
  273. // 获取倒计时
  274. getActtime() {
  275. this.acttime = this.fmtMcTime(this.beginSecond) + " 至 " + this.fmtMcTime(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: 215px;
  299. padding-top: 30px;
  300. padding-bottom: 30px;
  301. justify-content: space-between;
  302. background-image: url("static/backgroud/top_colorbar.png"), linear-gradient(180deg,#178bff 0%,#004d9b 100%);
  303. background-repeat: no-repeat;
  304. background-position: center, 0px 0px;
  305. background-size: auto 176px , cover;
  306. }
  307. .logo{
  308. width: 150px;
  309. height: 150px;
  310. margin-top: 10px;
  311. background-image: url('static/logo/xfl.png');
  312. background-repeat: no-repeat;
  313. background-position-x: center;
  314. background-position-y: center;
  315. background-size: contain;
  316. }
  317. `,
  318. "popupDataList": [
  319. {
  320. "type": 1,
  321. "data": {
  322. "title": "山青活动",
  323. "img": "/static/logo/sqsj.png",
  324. "content": "山青世界为广大青少年提供了亲近自然、劳动实践、拓展培训、军事教育、科普体验、自然探索的平台和机会,也为企事业单位青年团队提供会议培训、拓展训练等服务",
  325. }
  326. },
  327. "default"
  328. ],
  329. "introduce": {
  330. "title" : "介绍:",
  331. "content": "山青世界为广大青少年提供了亲近自然、劳动实践、拓展培训、军事教育、科普体验、自然探索的平台和机会,也为企事业单位青年团队提供会议培训、拓展训练等服务",
  332. },
  333. "teamType": 1
  334. }; */
  335. this.loadConfig(config);
  336. setTimeout(this.dealFirstEnter, 500);
  337. },
  338. fail: (err) => {
  339. console.log("getCardConfigQuery err", err)
  340. },
  341. });
  342. },
  343. // 卡片信息查询
  344. getCardDetailQuery() {
  345. uni.request({
  346. url: apiCardDetailQuery,
  347. header: {
  348. "Content-Type": "application/x-www-form-urlencoded",
  349. "token": this.token
  350. },
  351. method: "POST",
  352. data: {
  353. ecId: this.ecId
  354. },
  355. success: (res) => {
  356. // console.log("getCardDetailQuery", res);
  357. const data = res.data.data;
  358. this.mcType = data.mcType;
  359. this.mcId = data.mcId;
  360. this.mcName = data.mcName;
  361. this.beginSecond = data.beginSecond;
  362. this.endSecond = data.endSecond;
  363. this.coiId = data.coiId;
  364. this.coiName = data.coiName;
  365. this.teamNum = data.teamNum;
  366. this.mcState = tools.checkMcState(this.beginSecond, this.endSecond);
  367. this.getActtime();
  368. this.getOnlineMcSignUpDetail();
  369. // this.clear();
  370. // this.interval = setInterval(this.getActtime, 60000);
  371. },
  372. fail: (err) => {
  373. console.log("getCardDetailQuery err", err)
  374. },
  375. });
  376. },
  377. // 卡片用户当前排名查询
  378. getUserCurrentRankNumQuery() {
  379. uni.request({
  380. url: apiUserCurrentRankNumQuery,
  381. header: {
  382. "Content-Type": "application/x-www-form-urlencoded",
  383. "token": this.token,
  384. },
  385. method: "POST",
  386. data: {
  387. ecId: this.ecId
  388. },
  389. success: (res) => {
  390. // console.log("getUserCurrentRankNumQuery", res)
  391. if (res.data.code == 0) {
  392. const data = res.data.data;
  393. const rankNum = data.rankNum;
  394. this.dealNotice(rankNum);
  395. }
  396. },
  397. fail: (err) => {
  398. console.log("getUserCurrentRankNumQuery err", err)
  399. },
  400. });
  401. },
  402. // 线上赛报名页面信息详情
  403. getOnlineMcSignUpDetail() {
  404. uni.request({
  405. url: apiOnlineMcSignUpDetail,
  406. header: {
  407. "Content-Type": "application/x-www-form-urlencoded",
  408. "token": this.token,
  409. },
  410. method: "POST",
  411. data: {
  412. mcId: this.mcId,
  413. },
  414. success: (res) => {
  415. // console.log("getOnlineMcSignUpDetail", res)
  416. this.coiRs = res.data.data.coiRs;
  417. const rsNum = this.coiRs.length;
  418. this.orgList = [];
  419. for (let i=0; i<rsNum; i++) {
  420. this.orgList[i] = {};
  421. this.orgList[i].value = this.coiRs[i].coiId;
  422. this.orgList[i].text = this.coiRs[i].coiName;
  423. this.orgList[i].teamNum = this.coiRs[i].teamNum;
  424. }
  425. // console.log("orgList", this.orgList);
  426. if (this.coiId > 0) {
  427. this.orgChange(this.coiId, false);
  428. }
  429. },
  430. fail: (err) => {
  431. console.log("getOnlineMcSignUpDetail err", err)
  432. },
  433. });
  434. },
  435. // 线上赛报名(重新分组)
  436. onlineMcSignUp() {
  437. uni.request({
  438. url: apiOnlineMcSignUp,
  439. header: {
  440. "Content-Type": "application/x-www-form-urlencoded",
  441. "token": this.token,
  442. },
  443. method: "POST",
  444. data: {
  445. mcId: this.mcId,
  446. coiId: this.coiId,
  447. selectTeam: this.teamNum
  448. },
  449. success: (res) => {
  450. // console.log("onlineMcSignUp", res)
  451. if (checkResCode(res)) {
  452. uni.showToast({
  453. title: '比赛报名成功!',
  454. icon: 'none',
  455. duration: 3000
  456. });
  457. uni.navigateTo({
  458. url: '/pages/bm/style1/rankList?' + this.queryString
  459. });
  460. }
  461. },
  462. fail: (err) => {
  463. console.log("onlineMcSignUp err", err)
  464. uni.showToast({
  465. title: '出错了,报名失败',
  466. icon: 'none',
  467. duration: 3000
  468. });
  469. },
  470. });
  471. },
  472. btnBack() {
  473. // console.log("from:", this.from)
  474. if (this.from != '') {
  475. // window.history.back();
  476. uni.navigateTo({
  477. url: '/pages/bm/style1/rankList?' + this.queryString
  478. });
  479. } else {
  480. const url = `action://to_home/`;
  481. // window.location.href = url;
  482. tools.appAction(url);
  483. }
  484. },
  485. btnInfo() {
  486. this.$refs.mypopup.popupOpen();
  487. },
  488. orgChange(value, resetTeamNum=true) {
  489. // console.log("[orgChange] value:", value);
  490. if (resetTeamNum) {
  491. this.teamNum = 0;
  492. }
  493. if (value > 0) {
  494. const selectedOption = this.orgList.find(option => option.value === value);
  495. const teamNum = selectedOption.teamNum;
  496. // console.log("[orgChange] teamNum:", teamNum);
  497. this.getTeamList(teamNum);
  498. } else {
  499. this.getTeamList(0);
  500. }
  501. },
  502. btnSignup() {
  503. if (!checkToken(this.token)) {
  504. return;
  505. }
  506. if (!(this.coiId > 0)) {
  507. uni.showToast({
  508. title: '请选择组织名称',
  509. icon: 'none',
  510. duration: 2000
  511. });
  512. return;
  513. }
  514. // if ((this.teamList.length > 0) && !(this.teamNum > 0)) {
  515. // uni.showToast({
  516. // title: '请选择分组',
  517. // icon: 'none',
  518. // duration: 2000
  519. // });
  520. // return;
  521. // }
  522. this.coiName = tools.getSelectedText(this.orgList, this.coiId);
  523. this.teamName = tools.getSelectedText(this.teamList, this.teamNum);
  524. this.$refs.alertDialog.open();
  525. },
  526. dialogConfirm() {
  527. this.onlineMcSignUp();
  528. },
  529. dialogClose() {}
  530. }
  531. }
  532. </script>
  533. <style scoped>
  534. .content {
  535. width: 100vw;
  536. height: 100vh;
  537. }
  538. .top-default {
  539. width: 100%;
  540. /* height: 35vh; */
  541. height: 206px;
  542. padding-top: 36px;
  543. padding-bottom: 30px;
  544. justify-content: space-between;
  545. background-image: url("/static/backgroud/top_colorbar.png"), linear-gradient(180deg,#f8a95a 0%,#d25f11 100%);
  546. /* background-image: url("/static/backgroud/top_colorbar.png"), linear-gradient(180deg,#7aedff 0%,#047200 100%); */
  547. /* background-image: url("/static/backgroud/top_colorbar.png"), linear-gradient(180deg,#178bff 0%,#004d9b 100%); */
  548. background-repeat: no-repeat;
  549. background-position: center, 0px 0px;
  550. background-size: auto 176px , cover;
  551. }
  552. .logo-default {
  553. width: 150px;
  554. height: 150px;
  555. margin-top: 10px;
  556. background-image: url('/static/logo/jbs.png');
  557. background-repeat: no-repeat;
  558. background-position-x: center;
  559. background-position-y: center;
  560. background-size: contain;
  561. }
  562. .topbar {
  563. width: 90%;
  564. padding: 0rpx 30rpx;
  565. justify-content: space-between;
  566. }
  567. .topbar-back {
  568. width: 43rpx;
  569. height: 43rpx;
  570. /* opacity: 0; */
  571. }
  572. .topbar-info {
  573. width: 46rpx;
  574. height: 46rpx;
  575. }
  576. .topbar-rule {
  577. color: white;
  578. font-size: 32rpx;
  579. }
  580. .mcName {
  581. color: white;
  582. font-size: 40rpx;
  583. font-weight: 550;
  584. }
  585. .toptime {
  586. height: 65rpx;
  587. margin-top: 20rpx;
  588. padding: 0 50rpx;
  589. justify-content: space-evenly;
  590. background-color: white;
  591. border-radius: 40rpx;
  592. }
  593. .acttime {
  594. font-weight: 550;
  595. color: #333333;
  596. font-size: 30rpx;
  597. }
  598. .clock {
  599. width: 30rpx;
  600. height: 30rpx;
  601. margin-right: 20rpx;
  602. }
  603. .main {
  604. width: 76%;
  605. /* height: 500rpx; */
  606. margin-top: 80rpx;
  607. justify-content: space-around;
  608. }
  609. .select {
  610. margin-bottom: 36rpx;
  611. }
  612. .introduce {
  613. margin-top: 10rpx;
  614. margin-bottom: 80rpx;
  615. align-items: flex-start;
  616. justify-content: space-around;
  617. }
  618. .introduce-title {
  619. color: #333333;
  620. font-size: 30rpx;
  621. line-height: 60rpx;
  622. }
  623. .introduce-content {
  624. color: #333333;
  625. font-size: 25rpx;
  626. line-height: 36rpx;
  627. }
  628. .btnSignup {
  629. width: 100%;
  630. height: 100rpx;
  631. margin-bottom: 30rpx;
  632. color: white;
  633. font-weight: bold;
  634. line-height: 100rpx;
  635. border-radius: 55rpx;
  636. }
  637. .btnSignup-enable {
  638. background-color: #2e85ec;
  639. }
  640. .btnSignup-disable {
  641. background-color: #c3c3c3;
  642. }
  643. .dialog-content {
  644. width: 279px;
  645. height: 152px;
  646. background: #f1f1f1;
  647. border-radius: 9px;
  648. justify-content: center;
  649. text-align: center;
  650. font-weight: 550;
  651. color: #333333;
  652. }
  653. .dialog-content-1 {
  654. font-size: 40rpx;
  655. margin-bottom: 30rpx;
  656. }
  657. .dialog-content-2 {
  658. font-size: 32rpx;
  659. margin-bottom: 10rpx;
  660. }
  661. </style>