register-invite-club.vue 30 KB

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