signup.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780
  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. <my-topbar :mcName="mcName" :class="cssTopbarColor"
  11. @btnBackClick="btnBack" @btnInfoClick="btnInfo"></my-topbar>
  12. <view class="topcontent uni-column uni-jcsa">
  13. <view class="logo"></view>
  14. <text class="top-acttime">{{fmtMcTime2(beginSecond, endSecond)}}</text>
  15. </view>
  16. </view>
  17. <view class="main uni-column">
  18. <view class="timebar uni-row">
  19. <image mode="aspectFit" class="clock" src="/static/default/clock.png"></image>
  20. <text class="acttime">{{acttime}}</text>
  21. </view>
  22. <input class="uni-input" maxlength="30" :placeholder="'请填写'+configParam.labelName" v-model="nickName" />
  23. <e-select v-model="coiId" :options="coiRs" :props="eSelectionProps"
  24. clearable :placeholder="'请选择'+configParam.labelOrg" @getText="getESelectText" @change="eSelectChange"></e-select>
  25. <view class="introduce uni-column">
  26. <text class="introduce-title">{{introduce.title}}</text>
  27. <text class="introduce-content" v-html="introduce.content"></text>
  28. </view>
  29. <button class="btnSignup btnSignup-enable" v-if="mcState<=1" @click="btnSignup">报 名</button>
  30. <button class="btnSignup btnSignup-disable" v-if="mcState==2">活动已结束</button>
  31. </view>
  32. <my-popup ref="mypopup" :dataList="popupDataList" :acttime="acttime"></my-popup>
  33. <!-- <uni-popup ref="alertDialog" type="dialog">
  34. <uni-popup-dialog type="info" cancelText="取消" confirmText="确认" title="您填写的姓名:" @confirm="dialogConfirm"
  35. @close="dialogClose">
  36. <view class="dialog-content uni-column">
  37. <text class="dialog-content-1">{{nickName}}</text>
  38. </view>
  39. </uni-popup-dialog>
  40. </uni-popup> -->
  41. <uni-popup ref="alertDialog" type="dialog">
  42. <uni-popup-dialog type="info" cancelText="取消" confirmText="确认" title="你的报名信息:" @confirm="dialogConfirm"
  43. @close="dialogClose">
  44. <view class="dialog-content uni-column">
  45. <text class="dialog-content-1">{{mcName}}</text>
  46. <view class="uni-column uni-ais">
  47. <text class="dialog-content-2">{{configParam.labelName}}: {{nickName}}</text>
  48. <text class="dialog-content-2">{{configParam.labelOrg}}: {{coiName}}</text>
  49. <!-- <text class="dialog-content-2">{{teamName}}</text> -->
  50. </view>
  51. </view>
  52. </uni-popup-dialog>
  53. </uni-popup>
  54. </view>
  55. </view>
  56. </template>
  57. <script>
  58. import tools from '../../../common/tools';
  59. import {
  60. defaultPopUpDataList
  61. } from '../../../common/define';
  62. import {
  63. token,
  64. apiCardDetailQuery,
  65. apiOnlineMcSignUpDetail,
  66. apiOnlineMcSignUp,
  67. apiCardConfigQuery,
  68. apiMatchRsDetailQuery,
  69. checkResCode,
  70. checkToken
  71. } from '../../../common/api';
  72. export default {
  73. data() {
  74. return {
  75. pageName: "signup",
  76. firstEnterKey: 'firstEnter-bm-style4',
  77. rankKey: "rank-bm-style4",
  78. queryObj: {},
  79. queryString: "",
  80. from: "", // 来源页面
  81. token: "",
  82. ecId: 0, // 卡片id
  83. mcId: 0, // 赛事id
  84. mcType: 0, // 赛事类型 1 普通活动 2 线下赛 3 线上赛
  85. mcName: "", // 赛事名称
  86. acttime: "", // 活动时间
  87. beginSecond: null, // 活动或赛事开始时间戳,单位秒
  88. endSecond: null, // 活动或赛事结束时间戳,单位秒
  89. coiId: 0, // 已报名单位id
  90. coiName: "", // 已报名单位名称,可为空
  91. teamNum: 0, // 已报名队伍编号,可为0
  92. nickName: "", // 昵称
  93. coiRs: [], // 组织信息集合
  94. // orgList: [], // 分组下拉列表数据源
  95. // teamList: [], //
  96. interval: null,
  97. mcState: 0, // 赛事/活动状态 0: 未开始 1: 进行中 2: 已结束
  98. // teamType: 0, // 队伍类型 0: 红黄蓝紫 1: 学生/家长
  99. cssTop: "",
  100. cssTopbarColor: "",
  101. cssLogo: "",
  102. introduce: {
  103. title: "",
  104. content: ""
  105. },
  106. popupDataList: [],
  107. configParam: {
  108. labelName: "昵称",
  109. labelOrg: "组织",
  110. },
  111. eSelectionProps: {
  112. text: 'coiName',
  113. value: 'coiId',
  114. // disabled: 'noallowed'
  115. },
  116. }
  117. },
  118. computed: {},
  119. onLoad(query) { // 类型非必填,可自动推导
  120. // console.log(query);
  121. this.queryObj = query;
  122. this.queryString = tools.objectToQueryString(this.queryObj);
  123. // console.log(queryString);
  124. this.from = query["from"] ?? "";
  125. this.token = query["token"] ?? token;
  126. this.ecId = query["id"] ?? 0;
  127. this.firstEnterKey += "-" + this.ecId;
  128. console.log("firstEnterKey:", this.firstEnterKey);
  129. this.rankKey += "-" + this.ecId;
  130. console.log("rankKey:", this.rankKey);
  131. tools.removeCssCode();
  132. this.getCardConfigQuery();
  133. this.getCardDetailQuery();
  134. this.matchRsDetailQuery();
  135. },
  136. // 页面初次渲染完成,此时组件已挂载完成,DOM 树($el)已可用
  137. onReady() {
  138. // this.dealFirstEnter();
  139. },
  140. onUnload() {
  141. this.clear();
  142. },
  143. methods: {
  144. dealNotice(rank) {
  145. // console.log('[dealNotice]');
  146. let that = this;
  147. uni.getStorage({
  148. key: that.rankKey,
  149. success: (res) => {
  150. console.log('[getStorage]', that.rankKey, res.data);
  151. const oldRank = res.data;
  152. if (oldRank != rank) {
  153. // that.notice = true;
  154. that.setRankValue(rank);
  155. }
  156. },
  157. fail: (e) => {
  158. console.log('[getStorage] fail', that.rankKey, e);
  159. // that.notice = false;
  160. that.setRankValue(rank);
  161. },
  162. })
  163. },
  164. setRankValue(data) {
  165. let that = this;
  166. uni.setStorage({
  167. key: that.rankKey,
  168. data: data,
  169. success: () => {
  170. console.log('[setStorage] success', that.rankKey, data);
  171. },
  172. fail: (e) => {
  173. console.log('[setStorage] fail', that.rankKey, e);
  174. },
  175. })
  176. },
  177. dealFirstEnter() {
  178. // console.log('[dealFirstEnter]');
  179. let that = this;
  180. uni.getStorage({
  181. key: that.firstEnterKey,
  182. success: (res) => {
  183. console.log('[getStorage]', that.firstEnterKey, res.data);
  184. },
  185. fail: (e) => {
  186. console.log('[getStorage] fail', that.firstEnterKey, e);
  187. that.btnInfo();
  188. that.setFirstEnterValue(true);
  189. },
  190. })
  191. },
  192. setFirstEnterValue(data) {
  193. let that = this;
  194. uni.setStorage({
  195. key: that.firstEnterKey,
  196. data: data,
  197. success: () => {
  198. console.log('[setStorage] success', that.firstEnterKey, data);
  199. },
  200. fail: (e) => {
  201. console.log('[setStorage] fail', that.firstEnterKey, e);
  202. },
  203. })
  204. },
  205. clear() {
  206. if (this.interval != null) {
  207. clearInterval(this.interval);
  208. this.interval = null;
  209. }
  210. },
  211. loadConfig(config) {
  212. // console.log("config", config);
  213. // 加载CSS样式
  214. const css = config.css;
  215. if (css != undefined && css.length > 0) {
  216. tools.loadCssCode(css);
  217. if (css.indexOf(".top{") >= 0) {
  218. this.cssTop = "top";
  219. }
  220. if (css.indexOf(".topbar-color{") >= 0) {
  221. this.cssTopbarColor = "topbar-color";
  222. }
  223. }
  224. if (this.cssTop == "") {
  225. this.cssTop = "top-default";
  226. }
  227. if (this.cssTopbarColor == "") {
  228. this.cssTopbarColor = "topbar-color-default";
  229. }
  230. console.log("[loadConfig] cssTop:", this.cssTop);
  231. console.log("[loadConfig] cssTopbarColor:", this.cssTopbarColor);
  232. // 加载队伍类型 0: 红黄蓝紫 1: 学生/家长
  233. /* if (config.teamType != undefined && config.teamType >= 0) {
  234. this.teamType = config.teamType;
  235. } */
  236. // 加载介绍内容
  237. const introduce = config.introduce;
  238. if (introduce != undefined) {
  239. if (introduce.title != undefined) {
  240. this.introduce.title = introduce.title;
  241. }
  242. if (introduce.content != undefined) {
  243. this.introduce.content = introduce.content;
  244. }
  245. }
  246. // 加载弹窗数据
  247. const popupDataList = config.popupDataList;
  248. // console.log("[loadConfig] popupDataList:", popupDataList);
  249. if (popupDataList != undefined && popupDataList.length > 0) {
  250. for (var i = 0; i < popupDataList.length; i++) {
  251. // console.log("[loadConfig] popupDataList", i, popupDataList[i]);
  252. if (popupDataList[i] == 'default') {
  253. for (var j = 0; j < defaultPopUpDataList.length; j++) {
  254. this.popupDataList.push(defaultPopUpDataList[j]);
  255. }
  256. } else {
  257. this.popupDataList.push(popupDataList[i]);
  258. }
  259. }
  260. } else {
  261. this.popupDataList = defaultPopUpDataList;
  262. console.log("[loadConfig] popupDataList 加载默认列表");
  263. }
  264. // console.log("[loadConfig] popupDataList:", this.popupDataList);
  265. // 加载页面参数
  266. const param = config.param;
  267. if (param != undefined) {
  268. if (param.labelName != undefined && param.labelName.length > 0) {
  269. this.configParam.labelName = param.labelName;
  270. }
  271. if (param.labelOrg != undefined && param.labelOrg.length > 0) {
  272. this.configParam.labelOrg = param.labelOrg;
  273. }
  274. }
  275. // console.log("[loadConfig] param:", this.configParam);
  276. },
  277. fmtMcTime(timestamp) {
  278. return tools.fmtMcTime(timestamp);
  279. },
  280. // 获取倒计时
  281. getActtime() {
  282. this.acttime = tools.getActtime(this.beginSecond, this.endSecond);
  283. },
  284. fmtMcTime2(timestamp1, timestamp2) {
  285. return tools.fmtMcTime2(timestamp1, timestamp2);
  286. },
  287. getCardConfigQuery() {
  288. uni.request({
  289. url: apiCardConfigQuery,
  290. header: {
  291. "Content-Type": "application/x-www-form-urlencoded",
  292. "token": this.token,
  293. },
  294. method: "POST",
  295. data: {
  296. ecId: this.ecId,
  297. pageName: this.pageName
  298. },
  299. success: (res) => {
  300. // console.log("getCardConfigQuery", res)
  301. const data = res.data.data;
  302. const config = data.configJson != "" ? JSON.parse(data.configJson) : "";
  303. // console.log("configJson", data.configJson);
  304. /* const config = {
  305. "css": `
  306. .top{
  307. width: 100%;
  308. height: 220px;
  309. padding-top: 36px;
  310. justify-content: space-between;
  311. background-image: url('static/backgroud/top_bg_sddx.png');
  312. background-repeat: no-repeat;
  313. background-position: center;
  314. background-size: cover;
  315. }
  316. .logo{
  317. background-image: url('static/logo/sddx.png');
  318. }
  319. .top-acttime{
  320. display: flex !important;
  321. }
  322. .topbar-color{
  323. color: #ffffff;
  324. }
  325. .btnSignup-enable {
  326. background-color: #a43a07 !important;
  327. }
  328. .swiper-item-button {
  329. background-color: #a43a07 !important;
  330. }
  331. .uni-swiper-dot-active {
  332. background: #a43a07 !important;
  333. }
  334. `,
  335. "popupDataList": [{
  336. "type": 1,
  337. "data": {
  338. "title": "山大校园定向赛",
  339. "img": "/static/logo/sddx.png",
  340. "content": "  开学季来袭!山大校园定向赛燃情启幕!探索校园每一个角落,挑战智慧与体能,全校师生共同开启新学期活力篇章!等你来挑战!"
  341. }
  342. },
  343. "default"
  344. ],
  345. "introduce": {
  346. "title": "介绍:",
  347. "content": "  开学季来袭!山大校园定向赛燃情启幕!探索校园每一个角落,挑战智慧与体能,全校师生共同开启新学期活力篇章!等你来挑战!"
  348. },
  349. "param": {
  350. "labelName": "姓名",
  351. "labelOrg": "院系"
  352. }
  353. }; */
  354. this.loadConfig(config);
  355. setTimeout(this.dealFirstEnter, 500);
  356. },
  357. fail: (err) => {
  358. console.log("getCardConfigQuery err", err)
  359. },
  360. });
  361. },
  362. // 卡片信息查询
  363. getCardDetailQuery() {
  364. uni.request({
  365. url: apiCardDetailQuery,
  366. header: {
  367. "Content-Type": "application/x-www-form-urlencoded",
  368. "token": this.token
  369. },
  370. method: "POST",
  371. data: {
  372. ecId: this.ecId
  373. },
  374. success: (res) => {
  375. // console.log("getCardDetailQuery", res);
  376. const data = res.data.data;
  377. this.mcType = data.mcType;
  378. this.mcId = data.mcId;
  379. this.mcName = data.mcName;
  380. this.beginSecond = data.beginSecond;
  381. this.endSecond = data.endSecond;
  382. this.coiId = data.coiId;
  383. this.coiName = data.coiName;
  384. this.teamNum = data.teamNum;
  385. this.nickName = data.nickName;
  386. this.mcState = tools.checkMcState(this.beginSecond, this.endSecond);
  387. this.getActtime();
  388. this.getOnlineMcSignUpDetail();
  389. this.clear();
  390. this.interval = setInterval(this.getActtime, 60000);
  391. },
  392. fail: (err) => {
  393. console.log("getCardDetailQuery err", err)
  394. },
  395. });
  396. },
  397. // 卡片对应线上赛多个活动查询
  398. matchRsDetailQuery() {
  399. uni.request({
  400. url: apiMatchRsDetailQuery,
  401. header: {
  402. "Content-Type": "application/x-www-form-urlencoded",
  403. "token": this.token,
  404. },
  405. method: "POST",
  406. data: {
  407. ecId: this.ecId
  408. },
  409. success: (res) => {
  410. // console.log("matchRsDetailQuery", res);
  411. if (res.data.code == 0) {
  412. const data = res.data.data;
  413. const rank = JSON.stringify(data);
  414. this.dealNotice(rank);
  415. }
  416. },
  417. fail: (err) => {
  418. console.log("matchRsDetailQuery err", err)
  419. },
  420. });
  421. },
  422. // 卡片用户当前排名查询
  423. // getUserCurrentRankNumQuery() {
  424. // uni.request({
  425. // url: apiUserCurrentRankNumQuery,
  426. // header: {
  427. // "Content-Type": "application/x-www-form-urlencoded",
  428. // "token": this.token,
  429. // },
  430. // method: "POST",
  431. // data: {
  432. // ecId: this.ecId
  433. // },
  434. // success: (res) => {
  435. // // console.log("getUserCurrentRankNumQuery", res)
  436. // if (res.data.code == 0) {
  437. // const data = res.data.data;
  438. // const rankNum = data.rankNum;
  439. // this.dealNotice(rankNum);
  440. // }
  441. // },
  442. // fail: (err) => {
  443. // console.log("getUserCurrentRankNumQuery err", err)
  444. // },
  445. // });
  446. // },
  447. // 线上赛报名页面信息详情
  448. getOnlineMcSignUpDetail() {
  449. uni.request({
  450. url: apiOnlineMcSignUpDetail,
  451. header: {
  452. "Content-Type": "application/x-www-form-urlencoded",
  453. "token": this.token,
  454. },
  455. method: "POST",
  456. data: {
  457. mcId: this.mcId,
  458. },
  459. success: (res) => {
  460. // console.log("getOnlineMcSignUpDetail", res);
  461. this.coiRs = res.data.data.coiRs;
  462. if (this.nickName == undefined || this.nickName == '') {
  463. this.nickName = res.data.data.name;
  464. }
  465. /* const rsNum = this.coiRs.length;
  466. this.orgList = [];
  467. for (let i = 0; i < rsNum; i++) {
  468. this.orgList[i] = {};
  469. this.orgList[i].value = this.coiRs[i].coiId;
  470. this.orgList[i].text = this.coiRs[i].coiName;
  471. this.orgList[i].teamNum = this.coiRs[i].teamNum;
  472. }
  473. // console.log("orgList", this.orgList);
  474. if (this.coiId > 0) {
  475. this.orgChange(this.coiId, false);
  476. } */
  477. },
  478. fail: (err) => {
  479. console.log("getOnlineMcSignUpDetail err", err)
  480. },
  481. });
  482. },
  483. // 线上赛报名
  484. onlineMcSignUp() {
  485. uni.request({
  486. url: apiOnlineMcSignUp,
  487. header: {
  488. "Content-Type": "application/x-www-form-urlencoded",
  489. "token": this.token,
  490. },
  491. method: "POST",
  492. data: {
  493. mcId: this.mcId,
  494. coiId: this.coiId,
  495. selectTeam: this.teamNum,
  496. nickName: this.nickName
  497. },
  498. success: (res) => {
  499. // console.log("onlineMcSignUp", res);
  500. if (checkResCode(res)) {
  501. uni.showToast({
  502. title: '比赛报名成功!',
  503. icon: 'none',
  504. duration: 3000
  505. });
  506. // uni.navigateTo({
  507. // // url: '/pages/bm/style4/rankOverview?' + this.queryString
  508. // url: '/pages/bm/style4/rankList?' + this.queryString
  509. // });
  510. const url = '/pages/bm/style4/rankList?' + this.queryString;
  511. tools.appAction(url, "uni.navigateTo");
  512. }
  513. },
  514. fail: (err) => {
  515. console.log("onlineMcSignUp err", err);
  516. uni.showToast({
  517. title: '出错了,报名失败',
  518. icon: 'none',
  519. duration: 3000
  520. });
  521. },
  522. });
  523. },
  524. btnBack() {
  525. // console.log("from:", this.from)
  526. if (this.from != '') {
  527. // window.history.back();
  528. // uni.navigateTo({
  529. // url: '/pages/bm/style4/' + this.from + '?' + this.queryString
  530. // });
  531. const url = '/pages/bm/style4/' + this.from + '?' + this.queryString;
  532. tools.appAction(url, "uni.navigateTo");
  533. } else {
  534. const url = `action://to_home/`;
  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-color-default {
  599. color: #333333;
  600. }
  601. .topcontent {
  602. height: 90%;
  603. margin-bottom: 30px;
  604. }
  605. .logo {
  606. width: 80px;
  607. height: 80px;
  608. margin-top: 10px;
  609. /* background-image: url('/static/logo/sddx.png'); */
  610. background-repeat: no-repeat;
  611. background-position-x: center;
  612. background-position-y: center;
  613. background-size: contain;
  614. }
  615. .top-acttime {
  616. display: none;
  617. text-shadow: 3px 3px 0px #640008;
  618. font-family: YouSheBiaoTiHei;
  619. /* font-family: Arial, Helvetica, sans-serif; */
  620. font-weight: bold;
  621. color: #ffee0b;
  622. font-size: 26px;
  623. }
  624. .mcName {
  625. font-size: 40rpx;
  626. font-weight: 550;
  627. }
  628. .main {
  629. width: 76%;
  630. min-height: 800rpx;
  631. /* margin-top: 20rpx; */
  632. justify-content: space-around;
  633. }
  634. .timebar {
  635. width: 90%;
  636. height: 65rpx;
  637. /* margin-top: 20rpx; */
  638. margin-top: -64rpx;
  639. padding: 0 30rpx;
  640. justify-content: space-evenly;
  641. background: #ffffff;
  642. border: 0.5px solid;
  643. border-color: #e7e7e7;
  644. border-radius: 20px;
  645. box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.13);
  646. }
  647. .acttime {
  648. font-weight: 550;
  649. color: #333333;
  650. font-size: 30rpx;
  651. }
  652. .clock {
  653. width: 30rpx;
  654. height: 30rpx;
  655. margin-right: 20rpx;
  656. }
  657. .uni-input {
  658. width: 90%;
  659. height: 68rpx;
  660. /* margin-top: 30rpx; */
  661. padding: 0 26rpx;
  662. /* background: #f1f1f1; */
  663. border: 1px solid #dcdfe6;
  664. border-radius: 4px;
  665. }
  666. .input-placeholder {
  667. color: #333333;
  668. font-size: 16px;
  669. }
  670. .introduce {
  671. width: 100%;
  672. margin-top: 10rpx;
  673. margin-bottom: 30rpx;
  674. align-items: flex-start;
  675. justify-content: space-around;
  676. }
  677. .introduce-title {
  678. color: #333333;
  679. font-size: 30rpx;
  680. line-height: 60rpx;
  681. font-family: Source Han Sans CN;
  682. }
  683. .introduce-content {
  684. color: #333333;
  685. font-size: 25rpx;
  686. line-height: 46rpx;
  687. font-family: Source Han Sans CN;
  688. }
  689. .btnSignup {
  690. width: 100%;
  691. height: 100rpx;
  692. margin-bottom: 30rpx;
  693. color: white;
  694. font-weight: bold;
  695. line-height: 100rpx;
  696. border-radius: 55rpx;
  697. }
  698. .btnSignup-enable {
  699. background-color: #81cd00;
  700. }
  701. .btnSignup-disable {
  702. background-color: #c3c3c3;
  703. }
  704. .dialog-content {
  705. width: 280px;
  706. height: 110px;
  707. padding: 0 20px;
  708. background: #f1f1f1;
  709. border-radius: 9px;
  710. justify-content: center;
  711. text-align: center;
  712. font-weight: 550;
  713. color: #333333;
  714. }
  715. .dialog-content-1 {
  716. font-size: 34rpx;
  717. margin-bottom: 30rpx;
  718. }
  719. .dialog-content-2 {
  720. font-size: 28rpx;
  721. margin-bottom: 10rpx;
  722. text-align: left;
  723. }
  724. </style>