register-invite-club.vue 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874
  1. <template>
  2. <view class="container register">
  3. <view class="register-main clearfix">
  4. <view class="register-logo">
  5. <image class="logo" src="https://static.caimei365.com/app/img/icon/logo@2x.png" mode=""></image>
  6. </view>
  7. <view class="register-row clearfix">
  8. <view class="register-from">
  9. <view class="label">联系人:</view>
  10. <input
  11. class="row-input"
  12. type="text"
  13. name="input"
  14. v-model="params.userName"
  15. placeholder="请输入机构联系人姓名"
  16. maxlength="6"
  17. />
  18. </view>
  19. </view>
  20. <view class="register-row clearfix">
  21. <view class="register-from">
  22. <view class="label">手机号:</view>
  23. <input
  24. class="row-input"
  25. type="number"
  26. name="input"
  27. v-model="params.bindMobile"
  28. placeholder="请输入联系人常用手机号"
  29. maxlength="11"
  30. />
  31. </view>
  32. </view>
  33. <view class="register-row clearfix">
  34. <view class="register-from">
  35. <view class="label">短信验证码:</view>
  36. <input
  37. class="row-input code"
  38. type="text"
  39. v-model="params.smsCode"
  40. placeholder="请输入短信验证码"
  41. maxlength="6"
  42. />
  43. <view class="row-btn" :class="[isMobileDisabled ? 'disabled' : '']">
  44. <button
  45. class="row-input"
  46. type="button"
  47. @click.stop="getMobileCodeFn"
  48. :disabled="isMobileDisabled"
  49. >
  50. {{ mobileCodeText }}
  51. </button>
  52. </view>
  53. </view>
  54. </view>
  55. <view class="register-row clearfix">
  56. <view class="register-from">
  57. <view class="label">登录密码:</view>
  58. <input
  59. class="row-input"
  60. type="password"
  61. name="input"
  62. v-model="params.password"
  63. placeholder="密码必须为8-16位字母数字组合"
  64. maxlength="16"
  65. />
  66. </view>
  67. </view>
  68. <view class="register-row clearfix">
  69. <view class="register-from">
  70. <view class="label">确认密码:</view>
  71. <input
  72. class="row-input"
  73. type="password"
  74. name="input"
  75. v-model="params.passWordConfirm"
  76. placeholder="请确认密码"
  77. maxlength="16"
  78. />
  79. </view>
  80. </view>
  81. <view class="register-main clearfix">
  82. <view class="register-agree">
  83. <view class="agree-text" @tap.stop="agreeCheck()">
  84. <button
  85. class="checkbox iconfont"
  86. :class="[isCheck ? 'icon-gouxuan' : 'icon-weigouxuan']"
  87. ></button>
  88. 我已阅读并同意
  89. <text @click.stop="this.$api.navigateTo('/pages/service/service?id=1036&title=机构协议')">
  90. 《机构协议》
  91. </text>
  92. <text @click.stop="this.$api.navigateTo('/pages/service/service?id=1023&title=用户协议')">
  93. 《用户协议》
  94. </text>
  95. <text @click.stop="this.$api.navigateTo('/pages/service/service?id=1013&title=隐私权政策')">
  96. 《隐私权政策》
  97. </text>
  98. </view>
  99. </view>
  100. <view class="register-row ">
  101. <view class="register-btn sub" @click.stop="registerStepsfirst">注册</view>
  102. </view>
  103. </view>
  104. </view>
  105. </view>
  106. </template>
  107. <script>
  108. import { mapState, mapMutations } from 'vuex'
  109. import authorize from '@/common/config/authorize.js'
  110. import wxLogin from '@/common/config/wxLogin.js'
  111. import mpvueCityPicker from '@/components/mpvue-citypicker/mpvueCityPicker.vue'
  112. import { beautyList, mentuzCampNullList, medicaCampNullList } from '@/common/json/data.json.js' //本地数据
  113. import { uploadFileImage } from '@/services/public.js'
  114. export default {
  115. components: {
  116. mpvueCityPicker
  117. },
  118. data() {
  119. return {
  120. checkRadio: [
  121. // 是否需要分配客户经理
  122. {
  123. id: 1,
  124. label: '需要'
  125. },
  126. {
  127. id: 0,
  128. label: '不需要'
  129. }
  130. ],
  131. CustomBar: this.CustomBar, // 顶部导航栏高度
  132. isMobileDisabled: false, //手机验证码按钮控制
  133. mobilCount: '', //倒计时
  134. mobileCodeText: '获取验证码',
  135. mobilTime: null,
  136. params: {
  137. userName: '',
  138. bindMobile: '',
  139. isAgreed: 0,
  140. password: '',
  141. passWordConfirm: '',
  142. smsCode: '',
  143. avatarUrl: '',
  144. nickName: '',
  145. source: 1,
  146. unionId: '',
  147. isSp: 1,
  148. insideFLag:1, //内外部协销标记 0内部协销,1外部协销
  149. spId: '', // 协销分享的id
  150. partnerId:0, // 外部来源默认 0
  151. },
  152. imageCode: '', //图形验证码
  153. imageCodeUrl: '', //图形验证码图片
  154. imageCodetoken: '', //图形验证校验
  155. isCheck: false, //是否勾选协议
  156. userID: '', //机构userID
  157. clubID: '' //机构ID
  158. }
  159. },
  160. onLoad(option) {
  161. if(option.spId){
  162. this.params.spId = option.spId
  163. uni.setStorageSync('spId',option.spId)
  164. uni.setStorageSync('insideFLag',1)
  165. }
  166. },
  167. computed: {},
  168. methods: {
  169. ...mapMutations(['login', 'wxLogin']),
  170. registerStepsfirst() {
  171. if (this.params.userName == '') {
  172. this.$util.msg('请输入联系人名称', 2000)
  173. return
  174. }
  175. if (this.params.bindMobile == '') {
  176. this.$util.msg('请输入手机号', 2000)
  177. return
  178. }
  179. if (!this.$reg.isMobile(this.params.bindMobile)) {
  180. this.$util.msg('手机格式不正确', 2000)
  181. return
  182. }
  183. if (this.params.smsCode == '') {
  184. this.$util.msg('请输入手机验证码', 2000)
  185. return
  186. }
  187. if (!this.$reg.isMobileCode(this.params.smsCode)) {
  188. this.$util.msg('验证码格式不正确', 2000)
  189. return
  190. }
  191. if (this.params.password == '') {
  192. this.$util.msg('请输入密码', 2000)
  193. return
  194. }
  195. if (!this.$reg.checkPwd(this.params.password)) {
  196. this.$util.msg('密码必须为8-16位字母数字的组合', 2000)
  197. return
  198. }
  199. if (this.params.passWordConfirm == '') {
  200. this.$util.msg('请再次确认密码', 2000)
  201. return
  202. }
  203. if (this.params.passWordConfirm !== this.params.password) {
  204. this.$util.msg('两次输入的密码不一致', 2000)
  205. return
  206. }
  207. if (this.params.isAgreed == 0) {
  208. this.$util.msg('请勾选同意协议', 2000)
  209. return
  210. }
  211. this.params.unionId = uni.getStorageSync('unionId')
  212. this.GetUserProfile()
  213. },
  214. GetUserProfile() {
  215. //获取用户微信个人信息
  216. const self = this
  217. wx.getUserProfile({
  218. desc: '采美采购商城小程序获取您的信息', // 声明获取用户个人信息后的用途,后续会展示在弹窗中,请谨慎填写
  219. success(res) {
  220. console.log('微信获取用户信息新API', res)
  221. self.wxLogin(res.userInfo)
  222. self.params.nickName = res.userInfo.nickName
  223. self.params.avatarUrl = res.userInfo.avatarUrl
  224. console.log('spId', uni.getStorageSync('spId'))
  225. if (uni.getStorageSync('spId') * 1 > 0) {
  226. self.params.spId = uni.getStorageSync('spId') * 1
  227. }
  228. console.log('params', self.params)
  229. self.UserRegisterClub(self.params)
  230. // 友盟自定义事件
  231. if (process.env.NODE_ENV != 'development') {
  232. self.$uma.trackEvent('Um_Event_ConfirmRegister', {
  233. Um_Key_PageName: '注册机构',
  234. Um_Key_PageCategory: '注册机构页面'
  235. })
  236. }
  237. },
  238. fail() {
  239. self.$util.msg('授权失败', 2000)
  240. }
  241. })
  242. },
  243. UserRegisterClub(params) {
  244. this.UserService.UserRegisterClub(params)
  245. .then(response => {
  246. wxLogin.wxLoginAuthorize()
  247. setTimeout(() => {
  248. uni.removeStorageSync('spId')
  249. this.$api.switchTabTo('/pages/tabBar/user/user')
  250. }, 2000)
  251. })
  252. .catch(error => {
  253. this.$util.msg(error.msg, 2000)
  254. })
  255. },
  256. storeUpdataeStatus(data) {
  257. uni.setStorageSync('token', data.token)
  258. this.$store.commit('updateStatus', data)
  259. this.login(data)
  260. },
  261. getMobileCodeFn() {
  262. if (this.params.bindMobile == '') {
  263. this.$util.msg('请输入手机号', 2000)
  264. return
  265. }
  266. if (!this.$reg.isMobile(this.params.bindMobile)) {
  267. this.$util.msg('请输入正确的手机号', 2000)
  268. return
  269. }
  270. let params = {
  271. mobile: this.params.bindMobile,
  272. isCheckCaptcha: 1,
  273. activateCodeType: 2,
  274. platformType: 2
  275. }
  276. this.isMobileDisabled = true
  277. this.PublicService.GetRegisterMobileCode(params)
  278. .then(response => {
  279. this.$util.msg('验证短信已发送', 2000)
  280. const TIME_COUNT = 60
  281. if (!this.mobilTime) {
  282. this.mobilCount = TIME_COUNT
  283. this.isMobileDisabled = true
  284. this.mobilTime = setInterval(() => {
  285. if (this.mobilCount > 1 && this.mobilCount <= TIME_COUNT) {
  286. this.mobilCount--
  287. this.mobileCodeText = this.mobilCount + 's重新发送'
  288. } else {
  289. this.isMobileDisabled = false
  290. clearInterval(this.mobilTime)
  291. this.mobilTime = null
  292. this.mobileCodeText = '获取验证码'
  293. }
  294. }, 1000)
  295. }
  296. })
  297. .catch(error => {
  298. this.$util.msg(error.msg, 2000)
  299. this.isMobileDisabled = false
  300. })
  301. },
  302. agreeCheck() {
  303. this.isCheck = !this.isCheck
  304. if (this.isCheck) {
  305. this.params.isAgreed = 1
  306. } else {
  307. this.params.isAgreed = 0
  308. }
  309. },
  310. async InitAuthorize() {
  311. //是否已授权 0:为取消授权 1:为已授权 2:为未操作
  312. wxLogin.wxLoginQuick()
  313. }
  314. },
  315. onShow() {
  316. this.InitAuthorize()
  317. }
  318. }
  319. </script>
  320. <style lang="scss">
  321. .register {
  322. width: 100%;
  323. height: 100%;
  324. box-sizing: border-box;
  325. background-size: contain;
  326. .register-main {
  327. width: 100%;
  328. height: auto;
  329. position: relative;
  330. .register-consult {
  331. width: 110rpx;
  332. height: 68rpx;
  333. background: linear-gradient(223deg, rgba(225, 86, 21, 0.6) 0%, rgba(225, 86, 10, 0.3) 100%);
  334. border-radius: 34rpx 0 0 34rpx;
  335. position: absolute;
  336. right: 0;
  337. bottom: 120rpx;
  338. text-align: left;
  339. line-height: 68rpx;
  340. padding-left: 20rpx;
  341. .icon-kefunv {
  342. font-size: 48rpx;
  343. color: #31313b;
  344. float: left;
  345. }
  346. .text {
  347. font-size: $font-size-24;
  348. display: block;
  349. float: left;
  350. width: 60rpx;
  351. line-height: 30rpx;
  352. color: #ffffff;
  353. margin-top: 6rpx;
  354. }
  355. }
  356. .register-agree {
  357. display: flex;
  358. flex-direction: column;
  359. align-items: center;
  360. margin: 100rpx 0 20rpx 0;
  361. .agree-text {
  362. .checkbox {
  363. float: left;
  364. margin: 4rpx 6rpx 0 0;
  365. color: #999999;
  366. font-size: $font-size-34;
  367. &.icon-gouxuan {
  368. color: $color-system;
  369. }
  370. }
  371. font-size: $font-size-22;
  372. line-height: 44rpx;
  373. color: #999999;
  374. text {
  375. color: #1890f9;
  376. }
  377. }
  378. }
  379. .register-logo {
  380. width: 100%;
  381. display: flex;
  382. flex-direction: column;
  383. align-items: center;
  384. height: 284rpx;
  385. padding: 60rpx 0 40rpx 0;
  386. .logo {
  387. width: 611rpx;
  388. height: 284rpx;
  389. display: block;
  390. }
  391. }
  392. &.detailed {
  393. padding-bottom: 330rpx;
  394. }
  395. .register-row {
  396. width: 100%;
  397. height: auto;
  398. padding: 0 75rpx;
  399. margin-bottom: 30rpx;
  400. box-sizing: border-box;
  401. .tab-label {
  402. color: #666666;
  403. font-size: 28rpx;
  404. }
  405. .tips {
  406. color: #ff5b00;
  407. font-size: 20rpx;
  408. }
  409. .check{
  410. display: flex;
  411. align-item: center;
  412. margin-top: 24rpx;
  413. .radio {
  414. color: #666666;
  415. font-size: 28rpx;
  416. padding-left: 60rpx;
  417. position: relative;
  418. margin-right: 56rpx;
  419. &::before {
  420. content: '';
  421. width: 32rpx;
  422. height: 32rpx;
  423. border: 1px solid #B2B2B2;
  424. border-radius: 50%;
  425. position: absolute;
  426. left: 0;
  427. }
  428. }
  429. .isActive {
  430. &::before {
  431. border: 1px solid #FF5B00;
  432. content: '';
  433. width: 32rpx;
  434. height: 32rpx;
  435. border-radius: 50%;
  436. position: absolute;
  437. left: 0;
  438. }
  439. &::after {
  440. content: '';
  441. width: 16rpx;
  442. height: 16rpx;
  443. border-radius: 50%;
  444. position: absolute;
  445. left: 0;
  446. background-color: #FF5B00;
  447. transform: translate(60%, 60%);
  448. }
  449. }
  450. }
  451. &.none {
  452. margin-bottom: 0;
  453. }
  454. &.login {
  455. display: flex;
  456. }
  457. .register-text {
  458. line-height: 44rpx;
  459. margin-top: 100rpx;
  460. font-size: $font-size-24;
  461. color: #999999;
  462. text-align: justify;
  463. .txt {
  464. margin-right: 15rpx;
  465. }
  466. }
  467. .register-title {
  468. line-height: 44rpx;
  469. font-size: $font-size-24;
  470. color: $text-color;
  471. text-align: left;
  472. &.first {
  473. margin-top: 20rpx;
  474. }
  475. }
  476. .register-tip {
  477. line-height: 64rpx;
  478. font-size: $font-size-24;
  479. color: #cecece;
  480. text-align: left;
  481. }
  482. .register-from {
  483. width: 100%;
  484. height: 80rpx;
  485. background: #ffffff;
  486. position: relative;
  487. border-bottom: 1px solid #e1e1e1;
  488. .label {
  489. text-align: left;
  490. font-size: $font-size-28;
  491. color: #666666;
  492. line-height: 88rpx;
  493. float: left;
  494. }
  495. .row-input {
  496. width: 440rpx;
  497. padding-left: 10rpx;
  498. font-size: $font-size-28;
  499. color: $text-color;
  500. line-height: 80rpx;
  501. float: left;
  502. height: 80rpx;
  503. &.none {
  504. color: #999999;
  505. }
  506. &.picker {
  507. text-align: left;
  508. color: #333333;
  509. }
  510. &.keshi {
  511. width: 550rpx;
  512. }
  513. &.code {
  514. width: 264rpx;
  515. }
  516. }
  517. &.img-btn {
  518. width: 220rpx;
  519. height: 80rpx;
  520. padding: 0;
  521. float: left;
  522. background: #ffffff;
  523. display: block;
  524. .vscodeimg {
  525. width: 150rpx;
  526. height: 80rpx;
  527. float: left;
  528. display: flex;
  529. flex-direction: column;
  530. align-items: center;
  531. border-radius: 14rpx;
  532. image {
  533. width: 150rpx;
  534. height: 80rpx;
  535. border-radius: 14rpx;
  536. }
  537. }
  538. .vscod-refresh {
  539. width: 70rpx;
  540. float: right;
  541. text-align: right;
  542. display: flex;
  543. flex-direction: column;
  544. align-items: center;
  545. line-height: 44rpx;
  546. .icon-shuaxin {
  547. font-size: 48rpx;
  548. color: #333333;
  549. }
  550. .ref-text {
  551. font-size: 24rpx;
  552. color: #333333;
  553. }
  554. }
  555. }
  556. &.imgcode {
  557. width: 410rpx;
  558. float: left;
  559. margin-right: 20rpx;
  560. .row-input {
  561. width: 230rpx;
  562. }
  563. }
  564. .row-btn {
  565. width: 180rpx;
  566. height: 64rpx;
  567. float: left;
  568. background: $btn-confirm;
  569. padding: 0;
  570. border-radius: 32rpx;
  571. .row-input {
  572. width: 180rpx;
  573. height: 64rpx;
  574. line-height: 64rpx;
  575. padding: 0;
  576. color: #ffffff;
  577. background: $btn-confirm;
  578. text-align: center;
  579. border-radius: 32rpx;
  580. &.other {
  581. width: 180rpx;
  582. background: #f7f7f7;
  583. margin-right: 20rpx;
  584. }
  585. &.none {
  586. background: #f7f7f7;
  587. }
  588. }
  589. &.disabled {
  590. background: #f7f7f7;
  591. .row-input {
  592. background: #f7f7f7;
  593. color: #999999;
  594. font-size: 24rpx;
  595. }
  596. }
  597. }
  598. &.picker {
  599. padding: 0 24rpx;
  600. width: 654rpx;
  601. height: 88rpx;
  602. line-height: 88rpx;
  603. .label {
  604. line-height: 88rpx;
  605. }
  606. .row-input {
  607. width: 470rpx;
  608. height: 88rpx;
  609. line-height: 88rpx;
  610. padding-left: 30rpx;
  611. }
  612. }
  613. &.radio {
  614. padding: 0 24rpx;
  615. width: 654rpx;
  616. height: 288rpx;
  617. .row-input {
  618. width: 100%;
  619. height: 88rpx;
  620. line-height: 88rpx;
  621. padding-left: 0;
  622. }
  623. .row-radio {
  624. float: left;
  625. transform: scale(0.8);
  626. }
  627. .row-text {
  628. width: 100rpx;
  629. text-align: center;
  630. float: left;
  631. }
  632. }
  633. &.group {
  634. padding: 0 24rpx;
  635. width: 654rpx;
  636. height: auto;
  637. background: #ffffff;
  638. margin-top: 30rpx;
  639. .label {
  640. line-height: 76rpx;
  641. }
  642. .row-input {
  643. width: 100%;
  644. height: 88rpx;
  645. line-height: 88rpx;
  646. padding-left: 0;
  647. }
  648. .row-radio {
  649. float: left;
  650. }
  651. .row-text {
  652. width: 100rpx;
  653. text-align: center;
  654. float: left;
  655. }
  656. }
  657. &.btn {
  658. margin-top: 0;
  659. }
  660. .content-class {
  661. margin: 20rpx auto;
  662. display: flex;
  663. flex-flow: row wrap;
  664. justify-content: space-between;
  665. align-items: center;
  666. &.btn {
  667. margin: 0 auto;
  668. margin-left: 116rpx;
  669. }
  670. .row-input {
  671. display: flex;
  672. width: 220rpx;
  673. height: 40rpx;
  674. padding: 24rpx;
  675. text-align: left;
  676. border-radius: 10rpx;
  677. font-size: $font-size-28;
  678. color: $text-color;
  679. }
  680. .confirm-btn {
  681. width: 200rpx;
  682. height: 88rpx;
  683. border-radius: 10rpx;
  684. line-height: 88rpx;
  685. text-align: center;
  686. &.other {
  687. width: 213rpx;
  688. }
  689. &.none {
  690. color: #ffffff;
  691. background: $btn-confirm;
  692. }
  693. &.disabled {
  694. color: #999999;
  695. }
  696. }
  697. .item {
  698. width: 155rpx;
  699. height: 60rpx;
  700. font-size: $font-size-28;
  701. line-height: 60rpx;
  702. border-radius: 10rpx;
  703. margin: 10rpx;
  704. text-align: center;
  705. box-sizing: border-box;
  706. border: 1rpx solid #efefef;
  707. float: left;
  708. checkbox {
  709. display: none;
  710. }
  711. }
  712. .on {
  713. border-color: $color-system;
  714. color: $color-system;
  715. }
  716. }
  717. }
  718. .row-login {
  719. flex: 1;
  720. font-size: $font-size-28;
  721. color: $text-color;
  722. text-align: left;
  723. }
  724. .row-logincode {
  725. flex: 1;
  726. font-size: $font-size-28;
  727. color: $text-color;
  728. text-align: right;
  729. }
  730. .icon-xiayibu {
  731. width: 88rpx;
  732. height: 88rpx;
  733. position: absolute;
  734. right: 0;
  735. top: 0;
  736. line-height: 88rpx;
  737. text-align: center;
  738. }
  739. &.text-textarea {
  740. background: #ffffff;
  741. .textarea {
  742. width: 654rpx;
  743. height: 180rpx;
  744. background: #f7f7f7;
  745. padding: 24rpx;
  746. font-size: $font-size-28;
  747. color: $text-color;
  748. z-index: 1;
  749. border-radius: 14rpx;
  750. }
  751. .textarea.hide {
  752. opacity: 0;
  753. }
  754. .textarea.show {
  755. color: #999999;
  756. }
  757. }
  758. }
  759. .register-picture {
  760. height: 102rpx;
  761. margin: 30rpx 0;
  762. width: 42%;
  763. float: left;
  764. &.zz {
  765. width: 100%;
  766. }
  767. .label {
  768. float: left;
  769. font-size: $font-size-28;
  770. color: $text-color;
  771. line-height: 102rpx;
  772. width: 150rpx;
  773. text-align: right;
  774. &.zz {
  775. width: 230rpx;
  776. }
  777. }
  778. .upload-picture {
  779. float: left;
  780. height: 100rpx;
  781. .upload-none {
  782. width: 100rpx;
  783. height: 100rpx;
  784. text-align: center;
  785. line-height: 100rpx;
  786. color: #999999;
  787. border: 1px solid #999999;
  788. border-radius: 10rpx;
  789. margin: 0 20rpx;
  790. .iconfont {
  791. font-size: $font-size-28;
  792. }
  793. }
  794. .upload-image {
  795. width: 100rpx;
  796. height: 100rpx;
  797. border-radius: 10rpx;
  798. margin: 0 20rpx;
  799. position: relative;
  800. image {
  801. width: 100rpx;
  802. height: 100rpx;
  803. border-radius: 10rpx;
  804. }
  805. .upload-del {
  806. width: 40rpx;
  807. height: 40rpx;
  808. position: absolute;
  809. top: -20rpx;
  810. right: -20rpx;
  811. line-height: 40rpx;
  812. text-align: center;
  813. .iconfont {
  814. font-size: $font-size-32;
  815. color: #999999;
  816. }
  817. }
  818. }
  819. }
  820. }
  821. .register-input {
  822. width: 654rpx;
  823. height: 40rpx;
  824. padding: 24rpx;
  825. margin: 0 auto;
  826. margin-bottom: 60rpx;
  827. background: #f7f7f7;
  828. border-radius: 14rpx;
  829. .input {
  830. width: 100%;
  831. height: 100%;
  832. background: #f7f7f7;
  833. font-size: $font-size-28;
  834. line-height: 40rpx;
  835. color: #333333;
  836. border-radius: 14rpx;
  837. }
  838. }
  839. .register-fiexd {
  840. width: 100%;
  841. height: auto;
  842. position: fixed;
  843. bottom: 0;
  844. left: 0;
  845. z-index: 999;
  846. background: #ffffff;
  847. }
  848. .register-btn {
  849. width: 100%;
  850. height: 88rpx;
  851. border-radius: 44rpx;
  852. font-size: $font-size-28;
  853. line-height: 88rpx;
  854. color: #ffffff;
  855. margin: 0 auto;
  856. text-align: center;
  857. background: $btn-confirm;
  858. margin-top: 96rpx;
  859. &.none {
  860. border: 1px solid $color-system;
  861. background: #ffffff;
  862. color: $color-system;
  863. margin-top: 0;
  864. }
  865. &.sub {
  866. margin-top: 0;
  867. }
  868. }
  869. }
  870. }
  871. </style>