register-supplier.vue 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988
  1. <template>
  2. <view class="container register" :style="{paddingTop:CustomBar+'px'}" v-if="isWxAuthorize">
  3. <cu-custom :navbar-data='nvabarData' @navigateBack="hanldNavigateBack"></cu-custom>
  4. <view class="register-step">
  5. <view class="step-item" :class="stepIndex == 0 ? 'active' : ''">
  6. <text class="step-num">1</text><text>账户信息</text>
  7. <text class="line"></text>
  8. </view>
  9. <view class="step-item" :class="stepIndex == 1 ? 'active' : ''">
  10. <text class="step-num">2</text><text>基本信息</text>
  11. <text class="line"></text>
  12. </view>
  13. <view class="step-item" :class="stepIndex == 2 ? 'active' : ''">
  14. <text class="step-num">3</text><text>详细信息</text>
  15. </view>
  16. </view>
  17. <view class="register-main clearfix" v-if="stepIndex === 0">
  18. <view class="register-row clearfix">
  19. <view class="register-from">
  20. <view class="label">手机号:</view>
  21. <input class="row-input" type="number" name="input" v-model="bindMobile" placeholder="请输入联系人常用手机号" maxlength="11"/>
  22. </view>
  23. </view>
  24. <view class="register-row clearfix">
  25. <view class="register-from">
  26. <input type="text"
  27. v-model="imageCode"
  28. maxlength="4"
  29. class="row-input imgCode"
  30. placeholder="请输入右侧图形验证码"
  31. />
  32. <view class="vscodeimg">
  33. <image :src="imageCodeUrl" mode=""></image>
  34. </view>
  35. <view class="vscod-refresh" @click.stop="getVerificationCode">
  36. <text class="iconfont icon-shuaxin"></text>
  37. <text class="ref-text">刷新</text>
  38. </view>
  39. </view>
  40. </view>
  41. <view class="register-row clearfix">
  42. <view class="register-from">
  43. <view class="label">短信验证码:</view>
  44. <input class="row-input code" type="text" v-model="mobileCode" placeholder="请输入短信验证码" maxlength="6"/>
  45. <view class="row-btn" :class="[isMobileDisabled ? 'disabled' : '']">
  46. <button class="row-input"
  47. type="button"
  48. @click.stop="getMobileCodeFn"
  49. :disabled="isMobileDisabled">
  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 class="row-input" type="password" name="input" v-model="password" placeholder="密码必须为8-16位字母数字组合" maxlength="16"/>
  59. </view>
  60. </view>
  61. <view class="register-row clearfix">
  62. <view class="register-from">
  63. <view class="label">确认密码:</view>
  64. <input class="row-input" type="password" name="input" v-model="passwordCheck" placeholder="请确认密码" maxlength="16"/>
  65. </view>
  66. </view>
  67. <view class="register-row ">
  68. <view class="register-btn" @click.stop="setStep(1)">下一步</view>
  69. </view>
  70. </view>
  71. <view class="register-main clearfix" v-if="stepIndex === 1">
  72. <view class="register-row clearfix">
  73. <view class="register-from">
  74. <view class="label">公司名称:</view>
  75. <input class="row-input" type="text" name="input" v-model="userName" placeholder="请输入您的公司名称" maxlength="30"/>
  76. </view>
  77. </view>
  78. <view class="register-row clearfix">
  79. <view class="register-from">
  80. <view class="label">联系人:</view>
  81. <input class="row-input" type="text" name="input" v-model="userName" placeholder="请输入联系人姓名" maxlength="6"/>
  82. </view>
  83. </view>
  84. <view class="register-row none clearfix">
  85. <view class="register-from">
  86. <view class="label">联系人:</view>
  87. <input class="row-input" type="text" name="input" v-model="userName" placeholder="请输入邮箱地址" maxlength="30"/>
  88. </view>
  89. </view>
  90. <view class="register-row text clearfix">
  91. <text>邮箱可用作登录账号,请使用公司邮箱或法人邮箱</text>
  92. </view>
  93. <view class="register-row ">
  94. <view class="register-btn next" @click.stop="setStep(2)">下一步</view>
  95. <view class="register-btn prev" @click.stop="setStep(0)">上一步</view>
  96. </view>
  97. </view>
  98. <view class="register-main clearfix" v-if="stepIndex === 2">
  99. <view class="register-row clearfix">
  100. <view class="register-from">
  101. <view class="label">公司简称:</view>
  102. <input class="row-input" type="text" v-model="abbreviation" placeholder="请输入您的机构简称" maxlength="10"/>
  103. </view>
  104. </view>
  105. <view class="register-row clearfix">
  106. <view class="register-from" @click="showMulLinkageThreePicker">
  107. <view class="label">联系地址:</view>
  108. <text class="row-input" :class="addressData.address === '请选择公司所在地区' ? 'none' : ''">
  109. {{addressData.address }}
  110. </text>
  111. <text class="iconfont icon-xiayibu"></text>
  112. </view>
  113. </view>
  114. <view class="register-row text-textarea clearfix">
  115. <view class="textarea show" v-if="isShowInput" @click="showTextareaFocus">{{addressData.addressDetail ? addressData.addressDetail :'详细地址:如道路、门牌号、小区等'}}</view>
  116. <textarea v-else
  117. class="textarea"
  118. type="text"
  119. v-model="addressData.addressDetail"
  120. placeholder="详细地址:如道路、门牌号、小区等"
  121. placeholder-class="placeholder"
  122. maxlength="25"
  123. @input="onTextareaInput"
  124. @focus="textareaFocus"
  125. @blur="hideTextareaFocus"
  126. :class="isShowInput ? '':''"
  127. />
  128. </view>
  129. <view class="register-row clearfix">
  130. <view class="register-from">
  131. <view class="label">营业执照编号:</view>
  132. <input class="row-input" type="text" v-model="socialCreditCode" placeholder="请填写社会统一信用代码" maxlength="20"/>
  133. </view>
  134. </view>
  135. <view class="register-row clearfix">
  136. <view class="register-picture">
  137. <view class="label">营业执照:</view>
  138. <view class="upload-picture">
  139. <view class="upload-none" v-if="uploadBusinessImage === ''" @click="chooseBusinessImage"><text class="iconfont icon-jiahao"></text></view>
  140. <view class="upload-image" v-else>
  141. <image :src="uploadBusinessImage" mode="" @click="viewBusinessImage"></image>
  142. <view class="upload-del" @click="delBusinessImage">
  143. <text class='iconfont icon-shanchu1'></text>
  144. </view>
  145. </view>
  146. </view>
  147. </view>
  148. </view>
  149. <view class="register-row clearfix">
  150. <view class="register-from picker">
  151. <view class="label">公司类型:</view>
  152. <view class="row-input picker" @click="bindPickerChange">{{ organizationTypeText }}</view>
  153. <text class="iconfont icon-xiayibu"></text>
  154. </view>
  155. </view>
  156. <view class="register-row none clearfix">
  157. <view class="register-from radio">
  158. <view class="label">医疗类型:</view>
  159. </view>
  160. </view>
  161. <view class="register-row clearfix">
  162. <view class="register-from radio">
  163. <radio-group @change="radioChange">
  164. <label class="row-input" v-for="(item, index) in supplierList" :key="item.value">
  165. <radio class="row-radio" :value="item.value" :checked="index === current" color="#E15616"/>
  166. <view class="row-text">{{item.name}}</view>
  167. </label>
  168. </radio-group>
  169. </view>
  170. </view>
  171. <view class="register-row clearfix">
  172. <view class="register-from group">
  173. <view class="label">主营内容:</view>
  174. <view class="content-class">
  175. <checkbox-group @change="chooseMaleLike" >
  176. <label class="item" v-for="(item, index) in supplierMedicaCampList" :key="index" :class="{on: item.checked}">
  177. <checkbox :value="item.value"></checkbox>
  178. <text class="item-text">{{item.name}}</text>
  179. </label>
  180. </checkbox-group>
  181. </view>
  182. </view>
  183. <view class="register-from group btn">
  184. <view class="content-class btn">
  185. <view class="item" @click="showAustomItem">
  186. <text class="item-text">其他</text>
  187. </view>
  188. </view>
  189. </view>
  190. <view class="register-from group btn" v-show="isShowAustomItem">
  191. <view class="content-class btn">
  192. <input class="row-input other" type="text" v-model="customItemValue" placeholder="请输入自定义项目" @blur="onBlurInput" maxlength="5"/>
  193. <button type="default"
  194. class="confirm-btn"
  195. :class="[isDisabled === true ? 'disabled' : 'none']"
  196. :disabled="isDisabled"
  197. @click.stop="addCustomItem"
  198. >确认添加</button>
  199. </view>
  200. </view>
  201. </view>
  202. <view class="register-main clearfix">
  203. <view class="register-agree">
  204. <view class="agree-text" @tap.stop="agreeCheck()">
  205. <button class="checkbox iconfont" :class="[isCheck?'icon-gouxuan':'icon-weigouxuan']"></button>
  206. 我已阅读并同意
  207. <text @click.stop="this.$api.navigateTo('/pages/service/supplieragree')">《供应商协议》</text>
  208. <text @click.stop="this.$api.navigateTo('/pages/service/useragree')">《用户协议》</text>及
  209. <text @click.stop="this.$api.navigateTo('/pages/service/privacyagree')">《隐私权政策》</text>
  210. </view>
  211. </view>
  212. <view class="register-row ">
  213. <view class="register-btn sub" @click.stop="registerStepsfirst">注册</view>
  214. <view class="register-btn prev" @click.stop="setStep(1)">上一步</view>
  215. </view>
  216. </view>
  217. </view>
  218. <mpvue-city-picker :themeColor="themeColor"
  219. ref="mpvueCityPicker"
  220. :pickerValueDefault="cityPickerValueDefault"
  221. @onCancel="onCancel"
  222. @onConfirm="onConfirm">
  223. </mpvue-city-picker>
  224. <supplier-alert v-if="isSupplierAlert"></supplier-alert>
  225. </view>
  226. </template>
  227. <script>
  228. import { mapState,mapMutations } from 'vuex';
  229. import authorize from '@/common/config/authorize.js'
  230. import wxLogin from "@/common/config/wxLogin.js"
  231. import mpvueCityPicker from '@/components/mpvue-citypicker/mpvueCityPicker.vue'
  232. import supplierAlert from '@/components/cm-module/modelAlert/supplierRegisreAlert.vue'
  233. import { supplierList,supplierMedicaCampNullList } from '@/common/json/data.json.js' //本地数据
  234. import { organizationVerifyRegisterFirst,organizationRegister } from "@/api/use.js"
  235. import { getRegisterMobileCode, uploadFileImage } from "@/api/utils.js"
  236. export default{
  237. components:{
  238. mpvueCityPicker,
  239. supplierAlert
  240. },
  241. data() {
  242. return{
  243. nvabarData: {//顶部自定义导航
  244. showCapsule: 1, // 是否显示左上角图标 1表示显示 0表示不显示,
  245. showSearch: 0,
  246. title: '供应商注册', // 导航栏 中间的标题
  247. haveBack:true,
  248. textLeft:this.$store.state.isIphone
  249. },
  250. CustomBar:this.CustomBar,// 顶部导航栏高度
  251. isMobileDisabled: false, //手机验证码按钮控制
  252. mobilCount: '', //倒计时
  253. mobileCodeText: '获取验证码',
  254. mobilTime: null,
  255. password:'', //密码
  256. passwordCheck:'', //校验密码
  257. userName:'', //联系人
  258. bindMobile:'', //联系人手机号
  259. mobileCode:'', //手机验证码
  260. imageCode:'', //图形验证码
  261. imageCodeUrl:'', //图形验证码图片
  262. imageCodetoken:'', //图形验证校验
  263. isAgreed:0, //是否勾选协议
  264. isCheck:false, //是否勾选协议
  265. userID:'', //机构userID
  266. clubID:'', //机构ID
  267. stepIndex:0,
  268. abbreviation:'', //机构简称
  269. socialCreditCode:'', //统一社会信用代码
  270. isDisabled:true,
  271. isShowInput:true,
  272. textareaFocus:false,
  273. uploadBusinessImage:'', //营业执照图片
  274. uploadMentuzImage:'', //门头照图片
  275. uploadMedicalImage:'', //资质照图片
  276. department:'', //科室
  277. isDepartment:false, //是否显示科室
  278. secondClubType:'', //机构类型二级分类
  279. mainpro:'', //主营内容
  280. firstClubType:'', //机构类型
  281. isOrganizationType:0,
  282. organizationTypeText:'请选择机构类型',
  283. supplierList:supplierList,//医疗类型
  284. supplierMedicaCampList:supplierMedicaCampNullList,//主营内容
  285. mentuzCampList:[], //医美主营
  286. typtIndex:0,
  287. organizationType:0,
  288. current:0,
  289. isShowAustomItem:false, //是否显示其他添加
  290. customItemValue:'', //自定义项目
  291. isMainproCheck:false,
  292. addressData:{
  293. address:'请选择机构所在地区',
  294. townID:'', //区ID
  295. cityID:'', //市ID
  296. provinceID:'', //省ID
  297. addressDetail: '', //地址详情
  298. },
  299. isSupplierAlert:true
  300. }
  301. },
  302. onLoad() {
  303. this.getVerificationCode();
  304. },
  305. computed:{
  306. ...mapState(['isWxAuthorize'])
  307. },
  308. methods:{
  309. ...mapMutations(['login']),
  310. hanldNavigateBack(){
  311. this.$util.modal('','注册尚未完成,确定放弃注册吗?','确定','取消',true,() =>{
  312. uni.navigateBack({
  313. delta: 1
  314. });
  315. })
  316. },
  317. // 三级联动选择
  318. showMulLinkageThreePicker() {
  319. this.isShowInput = true
  320. this.$refs.mpvueCityPicker.show()
  321. },
  322. registerStepsfirst(){
  323. },
  324. getMobileCodeFn(){
  325. if( this.bindMobile == ''){
  326. this.$util.msg('请输入手机号',2000);
  327. return
  328. }
  329. if(!this.$reg.isMobile(this.bindMobile)){
  330. this.$util.msg('请输入正确的手机号',2000);
  331. return
  332. }
  333. let params = {
  334. mobile:this.bindMobile,
  335. activateCodeType:2,
  336. platformType:2
  337. }
  338. this.isMobileDisabled = true;
  339. getRegisterMobileCode(params).then(response =>{
  340. this.$util.msg('验证短信已发送',2000);
  341. const TIME_COUNT = 60;
  342. if (!this.mobilTime) {
  343. this.mobilCount = TIME_COUNT;
  344. this.isMobileDisabled = true;
  345. this.mobilTime = setInterval(() => {
  346. if (this.mobilCount > 1 && this.mobilCount <= TIME_COUNT) {
  347. this.mobilCount--
  348. this.mobileCodeText = this.mobilCount +'s重新发送'
  349. } else {
  350. this.isMobileDisabled = false;
  351. clearInterval(this.mobilTime)
  352. this.mobilTime = null
  353. this.mobileCodeText = '获取验证码'
  354. }
  355. },1000)
  356. }
  357. }).catch( error =>{
  358. this.$util.msg(error.msg,2000);
  359. this.isMobileDisabled = false;
  360. })
  361. },
  362. bindPickerChange() {
  363. let self = this
  364. uni.showActionSheet({
  365. title:'标题',
  366. itemList: ['医疗', '非医疗'],
  367. success: (e) => {
  368. self.isOrganizationType = e.tapIndex+1
  369. switch(e.tapIndex){
  370. case 0:
  371. this.organizationTypeText = '医疗'
  372. break;
  373. case 1:
  374. this.organizationTypeText = '非医疗'
  375. break;
  376. }
  377. }
  378. })
  379. },
  380. setStep(index){
  381. this.stepIndex = index
  382. },
  383. chooseMaleLike(e){
  384. this.isMainproCheck = true
  385. this.mainpro = this.checkLikes(e,this.supplierMedicaCampList)
  386. },
  387. checkLikes(e,list){
  388. let values = e.detail.value
  389. let arr = []
  390. list.forEach(item => {
  391. if(values.indexOf(item.value) >= 0){
  392. this.$set(item,'checked',true)
  393. arr.push(item.name)
  394. }else{
  395. this.$set(item,'checked',false)
  396. }
  397. })
  398. return arr.join('/')
  399. },
  400. getVerificationCode(){//图形验证
  401. this.PublicService.GetImgVerifyCode().then(res => {
  402. this.imageCodeUrl = res.data.baseImage
  403. this.imageCodetoken = res.data.token
  404. })
  405. },
  406. showAustomItem() {
  407. this.isShowAustomItem = !this.isShowAustomItem
  408. },
  409. onBlurInput(e){//
  410. if(e.detail.value ===''){
  411. this.isDisabled = true
  412. }else{
  413. this.isDisabled = false
  414. }
  415. },
  416. agreeCheck() {
  417. this.isCheck = !this.isCheck
  418. if(this.isCheck){
  419. this.isAgreed = 1
  420. }else{
  421. this.isAgreed = 0
  422. }
  423. }
  424. },
  425. onShow() {
  426. authorize.getSetting().then(wxResponse =>{// console.log('是否已授权',res);//0:为取消授权 1:为已授权 2:为未操作
  427. if(wxResponse == 1){
  428. wxLogin.wxLoginQuick()
  429. }else{
  430. this.$api.navigateTo('/pages/authorization/authorization?type=0')
  431. }
  432. })
  433. }
  434. }
  435. </script>
  436. <style lang="scss">
  437. .register{
  438. width: 100%;
  439. height: 100%;
  440. box-sizing: border-box;
  441. .register-step{
  442. margin:80rpx 0;
  443. width: 100%;
  444. height: 44rpx;
  445. box-sizing: border-box;
  446. padding: 0 90rpx;
  447. .step-item{
  448. line-height: 44rpx;
  449. color: #B2B2B2;
  450. font-size: $font-size-24;
  451. float: left;
  452. margin-right: 60rpx;
  453. position: relative;
  454. &.active{
  455. color: $color-system;
  456. .step-num{
  457. background-color: $color-system;
  458. }
  459. .line{
  460. background-color: $color-system;
  461. }
  462. }
  463. &:last-child{
  464. margin-right: 0;
  465. }
  466. .step-num{
  467. display: inline-block;
  468. width: 40rpx;
  469. height: 40rpx;
  470. border-radius: 50%;
  471. background-color:#e1e1e1;
  472. color: #FFFFFF;
  473. line-height: 40rpx;
  474. text-align: center;
  475. margin-right: 10rpx;
  476. }
  477. .line{
  478. width: 60rpx;
  479. height: 2rpx;
  480. background-color: #B2B2B2;
  481. position: absolute;
  482. right:-60rpx;
  483. top: 50%;
  484. }
  485. }
  486. }
  487. .register-main{
  488. width: 100%;
  489. height: auto;
  490. position: relative;
  491. .register-consult{
  492. width: 110rpx;
  493. height: 68rpx;
  494. background:linear-gradient(223deg,rgba(225,86,21,0.6) 0%,rgba(225,86,10,0.3) 100%);
  495. border-radius: 34rpx 0 0 34rpx;
  496. position: absolute;
  497. right: 0;
  498. bottom: 120rpx;
  499. text-align: left;
  500. line-height: 68rpx;
  501. padding-left: 20rpx;
  502. .icon-kefunv{
  503. font-size: 48rpx;
  504. color: #31313B;
  505. float: left;
  506. }
  507. .text{
  508. font-size: $font-size-24;
  509. display: block;
  510. float: left;
  511. width: 60rpx;
  512. line-height: 30rpx;
  513. color: #FFFFFF;
  514. margin-top: 6rpx;
  515. }
  516. }
  517. .register-agree{
  518. display: flex;
  519. flex-direction: column;
  520. align-items: center;
  521. margin: 100rpx 0 20rpx 0;
  522. .agree-text{
  523. .checkbox{
  524. float: left;
  525. margin: 4rpx 6rpx 0 0;
  526. color: #999999;
  527. font-size: $font-size-34;
  528. &.icon-gouxuan{
  529. color: $color-system;
  530. }
  531. }
  532. font-size: $font-size-22;
  533. line-height: 44rpx;
  534. color: #999999;
  535. text{
  536. color:#1890f9;
  537. }
  538. }
  539. }
  540. .register-logo{
  541. width: 100%;
  542. display: flex;
  543. flex-direction: column;
  544. align-items: center;
  545. height: 189rpx;
  546. padding:60rpx 0 40rpx 0;
  547. .logo{
  548. width:467rpx;
  549. height: 189rpx;
  550. display: block;
  551. }
  552. }
  553. &.detailed{
  554. padding-bottom: 330rpx;
  555. }
  556. .register-row{
  557. width: 100%;
  558. height: auto;
  559. padding: 0 24rpx;
  560. margin-bottom: 30rpx;
  561. box-sizing: border-box;
  562. &.text{
  563. font-size: $font-size-20;
  564. line-height: 40rpx;
  565. color: #fea785;
  566. }
  567. &.none{
  568. margin-bottom: 0;
  569. }
  570. &.login{
  571. display: flex;
  572. }
  573. .register-text{
  574. line-height: 44rpx;
  575. margin-top: 100rpx;
  576. font-size: $font-size-24;
  577. color: #999999;
  578. text-align: justify;
  579. .txt{
  580. margin-right: 15rpx;
  581. }
  582. }
  583. .register-title{
  584. line-height: 44rpx;
  585. font-size: $font-size-24;
  586. color: $text-color;
  587. text-align: left;
  588. &.first{
  589. margin-top: 20rpx;
  590. }
  591. }
  592. .register-tip{
  593. line-height: 64rpx;
  594. font-size: $font-size-24;
  595. color: #CECECE;
  596. text-align: left;
  597. }
  598. .register-from{
  599. width: 100%;
  600. height: 80rpx;
  601. background: #FFFFFF;
  602. position: relative;
  603. border-bottom: 1px solid #e1e1e1;
  604. .label{
  605. text-align: left;
  606. font-size: $font-size-28;
  607. color:#666666;
  608. line-height: 80rpx;
  609. float: left;
  610. }
  611. .row-input{
  612. width: 440rpx;
  613. padding-left:10rpx;
  614. font-size: $font-size-28;
  615. color: $text-color;
  616. line-height: 80rpx;
  617. float: left;
  618. height: 80rpx;
  619. &.none{
  620. color: #999999;
  621. }
  622. &.picker{
  623. text-align: left;
  624. color: #333333;
  625. }
  626. &.keshi{
  627. width: 550rpx;
  628. }
  629. &.code{
  630. width: 350rpx;
  631. }
  632. &.imgCode{
  633. width: 390rpx;
  634. }
  635. }
  636. .vscodeimg{
  637. width: 160rpx;
  638. height: 80;
  639. float: left;
  640. display: flex;
  641. flex-direction: column;
  642. align-items: center;
  643. border-radius: 6rpx;
  644. margin: 0 10rpx;
  645. image{
  646. width: 150rpx;
  647. height: 68rpx;
  648. border-radius: 6rpx;
  649. }
  650. }
  651. .vscod-refresh{
  652. width: 120rpx;
  653. float: right;
  654. line-height: 80rpx;
  655. .ref-text{
  656. float: left;
  657. font-size: 26rpx;
  658. color: #999999;
  659. }
  660. .icon-shuaxin{
  661. float: left;
  662. font-size: 36rpx;
  663. color: #999999;
  664. margin-right: 10rpx;
  665. }
  666. }
  667. &.imgcode{
  668. width: 410rpx;
  669. float: left;
  670. margin-right: 20rpx;
  671. .row-input{
  672. width: 230rpx;
  673. }
  674. }
  675. .row-btn{
  676. width: 180rpx;
  677. height:64rpx;
  678. float: left;
  679. background: $btn-confirm;
  680. padding: 0;
  681. border-radius: 32rpx;
  682. .row-input{
  683. width: 180rpx;
  684. height: 64rpx;
  685. line-height: 64rpx;
  686. padding: 0;
  687. color: #FFFFFF;
  688. background: $btn-confirm;
  689. text-align: center;
  690. border-radius: 32rpx;
  691. font-size: $font-size-24;
  692. &.other{
  693. width: 180rpx;
  694. background: #F7F7F7;
  695. margin-right: 20rpx;
  696. }
  697. &.none{
  698. background: #F7F7F7;
  699. }
  700. }
  701. &.disabled{
  702. background: #F7F7F7;
  703. .row-input{
  704. background: #F7F7F7;
  705. color: #999999;
  706. }
  707. }
  708. }
  709. &.picker{
  710. width: 100%;
  711. height: 80rpx;
  712. line-height: 80rpx;
  713. .label{
  714. line-height: 80rpx;
  715. }
  716. .row-input{
  717. width: 470rpx;
  718. height: 80rpx;
  719. line-height: 80rpx;
  720. padding-left: 30rpx;
  721. }
  722. }
  723. &.radio{
  724. width: 100%;
  725. border-bottom: none;
  726. .row-input{
  727. width: 25%;
  728. height: 80rpx;
  729. line-height: 80rpx;
  730. padding-left: 0;
  731. }
  732. .row-radio{
  733. float: left;
  734. transform: scale(0.8);
  735. }
  736. .row-text{
  737. text-align: center;
  738. float: left;
  739. font-size: $font-size-24;
  740. }
  741. }
  742. &.group{
  743. width: 100%;
  744. height: auto;
  745. background: #FFFFFF;
  746. margin-top: 30rpx;
  747. border-bottom: none;
  748. .label{
  749. line-height: 76rpx;
  750. }
  751. .row-input{
  752. width: 100%;
  753. height: 80rpx;
  754. line-height: 80rpx;
  755. padding-left: 0;
  756. }
  757. .row-radio{
  758. float: left;
  759. }
  760. .row-text{
  761. width: 100rpx;
  762. text-align: center;
  763. float: left;
  764. }
  765. }
  766. &.btn{
  767. margin-top: 0;
  768. }
  769. .content-class {
  770. margin: 20rpx auto;
  771. display: flex;
  772. flex-flow: row wrap;
  773. justify-content: space-between;
  774. align-items: center;
  775. &.btn{
  776. margin: 0 auto;
  777. margin-left: 116rpx;
  778. }
  779. .row-input{
  780. display: flex;
  781. width: 330rpx;
  782. box-sizing: border-box;
  783. height: 64rpx;
  784. padding:0 24rpx;
  785. text-align: left;
  786. border-radius: 32rpx;
  787. font-size: $font-size-28;
  788. color: $text-color;
  789. border: 1px solid #B2B2B2;
  790. line-height: 64rpx;
  791. }
  792. .confirm-btn{
  793. width: 200rpx;
  794. height: 64rpx;
  795. border-radius: 32rpx;
  796. line-height: 64rpx;
  797. text-align: center;
  798. &.other{
  799. width: 213rpx;
  800. }
  801. &.none{
  802. color: $color-system;
  803. background: #ffe6dc;
  804. }
  805. &.disabled{
  806. color: #999999;
  807. }
  808. }
  809. .item {
  810. width: 155rpx;
  811. height: 60rpx;
  812. font-size:$font-size-28;
  813. line-height: 60rpx;
  814. border-radius:30rpx;
  815. margin: 10rpx;
  816. text-align: center;
  817. box-sizing: border-box;
  818. border: 1rpx solid #EFEFEF;
  819. float: left;
  820. checkbox {
  821. display: none;
  822. }
  823. }
  824. .on {
  825. border-color: $color-system;
  826. color:$color-system;
  827. }
  828. }
  829. }
  830. .row-login{
  831. flex: 1;
  832. font-size: $font-size-28;
  833. color: $text-color;
  834. text-align: left;
  835. }
  836. .row-logincode{
  837. flex: 1;
  838. font-size: $font-size-28;
  839. color: $text-color;
  840. text-align: right;
  841. }
  842. .icon-xiayibu{
  843. width: 80rpx;
  844. height: 80rpx;
  845. position: absolute;
  846. right: 0;
  847. top: 0;
  848. line-height: 80rpx;
  849. text-align: center;
  850. }
  851. &.text-textarea{
  852. background: #FFFFFF;
  853. .textarea{
  854. width: 100%;
  855. height: 180rpx;
  856. padding: 24rpx;
  857. box-sizing: border-box;
  858. font-size: $font-size-28;
  859. color: $text-color;
  860. z-index: 1;
  861. border-bottom: 1px solid #e1e1e1;
  862. }
  863. .textarea.hide{
  864. opacity: 0;
  865. }
  866. .textarea.show{
  867. color: #999999;
  868. }
  869. }
  870. }
  871. .register-picture{
  872. height: 180rpx;
  873. margin: 30rpx 0;
  874. float: left;
  875. &.zz{
  876. width: 100%;
  877. }
  878. .label{
  879. float: left;
  880. font-size: $font-size-28;
  881. color: #666666;
  882. line-height: 180rpx;
  883. width: 150rpx;
  884. text-align: left;
  885. }
  886. .upload-picture{
  887. float: left;
  888. height: 180rpx;
  889. .upload-none{
  890. width: 180rpx;
  891. height: 180rpx;
  892. text-align: center;
  893. line-height: 180rpx;
  894. color: #999999;
  895. border: 1px solid #999999;
  896. border-radius: 10rpx;
  897. margin: 0 20rpx;
  898. .iconfont{
  899. font-size: 60rpx;
  900. }
  901. }
  902. .upload-image{
  903. width: 180rpx;
  904. height: 180rpx;
  905. border-radius: 6rpx;
  906. margin: 0 20rpx;
  907. position: relative;
  908. image{
  909. width: 180rpx;
  910. height: 180rpx;
  911. border-radius: 6rpx;
  912. }
  913. .upload-del{
  914. width: 40rpx;
  915. height: 40rpx;
  916. position: absolute;
  917. top: -20rpx;
  918. right: -20rpx;
  919. line-height: 40rpx;
  920. text-align: center;
  921. .iconfont{
  922. font-size: $font-size-32;
  923. color: #999999;
  924. }
  925. }
  926. }
  927. }
  928. }
  929. .register-input{
  930. width: 654rpx;
  931. height: 40rpx;
  932. padding: 24rpx;
  933. margin: 0 auto;
  934. margin-bottom: 60rpx;
  935. background: #F7F7F7;
  936. border-radius: 14rpx;
  937. .input{
  938. width: 100%;
  939. height: 100%;
  940. background: #F7F7F7;
  941. font-size: $font-size-28;
  942. line-height: 40rpx;
  943. color: #333333;
  944. border-radius: 14rpx;
  945. }
  946. }
  947. .register-fiexd{
  948. width: 100%;
  949. height: auto;
  950. position: fixed;
  951. bottom: 0;
  952. left: 0;
  953. z-index: 999;
  954. background: #FFFFFF;
  955. }
  956. .register-btn{
  957. width: 100%;
  958. height: 80rpx;
  959. border-radius: 44rpx;
  960. font-size: $font-size-28;
  961. line-height: 80rpx;
  962. color: #FFFFFF;
  963. margin: 0 auto;
  964. text-align: center;
  965. background: $btn-confirm;
  966. margin-top: 96rpx;
  967. &.prev{
  968. background:#ffe6dc;
  969. color: $color-system;
  970. margin-top: 20rpx;
  971. }
  972. &.none{
  973. border: 1px solid $color-system;
  974. background: #FFFFFF;
  975. color:$color-system;
  976. margin-top: 0;
  977. }
  978. &.sub{
  979. margin-top: 0;
  980. }
  981. }
  982. }
  983. }
  984. </style>