register.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919
  1. <template>
  2. <view class="container register">
  3. <view class="register-main clearfix">
  4. <view class="register-row clearfix">
  5. <text class="register-title">账户信息</text>
  6. </view>
  7. <view class="register-row clearfix">
  8. <view class="register-from code">
  9. <view class="label">邮箱:</view>
  10. <input class="row-input" type="text" name="input" v-model="registerEmail" placeholder="请输入机构邮箱地址" maxlength="30"/>
  11. </view>
  12. <view class="register-from btn">
  13. <button class="row-input" type="button" @click.stop="checkEmailFn">检测</button>
  14. </view>
  15. </view>
  16. </view>
  17. <view class="register-main clearfix">
  18. <view class="register-row clearfix">
  19. <text class="register-title">基本信息</text>
  20. </view>
  21. <view class="register-row clearfix">
  22. <view class="register-from">
  23. <view class="label">机构名称:</view>
  24. <input class="row-input" type="text" name="input" v-model="clubName" placeholder="请输入您的机构名称" maxlength="30"/>
  25. </view>
  26. </view>
  27. <view class="register-row clearfix">
  28. <view class="register-from">
  29. <view class="label">联系人:</view>
  30. <input class="row-input" type="text" name="input" v-model="clubContact" placeholder="请输入联系姓名" maxlength="6"/>
  31. </view>
  32. </view>
  33. <view class="register-row clearfix">
  34. <view class="register-from code">
  35. <view class="label">手机号:</view>
  36. <input class="row-input phone" type="text" v-model="registerMobile" placeholder="请输入联系人手机号" maxlength="11"/>
  37. </view>
  38. <view class="register-from btn">
  39. <button class="row-input" type="button" @click.stop="checkMobileFn">检测</button>
  40. </view>
  41. </view>
  42. </view>
  43. <view class="register-main detailed clearfix">
  44. <view class="register-row clearfix">
  45. <text class="register-title">详细信息<text>(请尽量填写)</text></text>
  46. </view>
  47. <view class="register-row clearfix">
  48. <view class="register-from">
  49. <view class="label">机构简称:</view>
  50. <input class="row-input" type="text" v-model="abbreviation" placeholder="请输入您的机构简称" maxlength="10"/>
  51. </view>
  52. </view>
  53. <view class="register-row clearfix">
  54. <view class="register-from" @click="showMulLinkageThreePicker">
  55. <view class="label">机构地址:</view>
  56. <text class="row-input" :class="addressData.address === '请选择机构所在地区' ? 'none' : ''">
  57. {{addressData.address}}
  58. </text>
  59. <text class="iconfont icon-xiayibu"></text>
  60. </view>
  61. </view>
  62. <view class="register-row text-textarea clearfix">
  63. <view class="textarea show" v-if="isShowInput">{{addressData.addressDetail ? addressData.addressDetail :'详细地址:如道路、门牌号、小区等'}}</view>
  64. <textarea v-else
  65. class="textarea"
  66. type="text"
  67. v-model="addressData.addressDetail"
  68. placeholder="详细地址:如道路、门牌号、小区等"
  69. placeholder-class="placeholder"
  70. maxlength="25"
  71. @input="onTextareaInput"
  72. :class="isShowInput ? '':''"
  73. />
  74. </view>
  75. <view class="register-row clearfix" >
  76. <view class="register-from">
  77. <view class="label">营业执照编号:</view>
  78. <input class="row-input" type="text" v-model="socialCreditCode" placeholder="请填写社会统一信用代码" maxlength="16"/>
  79. </view>
  80. </view>
  81. <view class="register-row clearfix">
  82. <view class="register-picture">
  83. <view class="label">营业执照:</view>
  84. <view class="upload-picture">
  85. <view class="upload-none" v-if="uploadBusinessImage === ''" @click="chooseBusinessImage"><text class="iconfont icon-jiahao"></text></view>
  86. <view class="upload-image" v-else>
  87. <image :src="uploadBusinessImage" mode="" @click="viewBusinessImage"></image>
  88. <view class="upload-del" @click="delBusinessImage">
  89. <text class='iconfont icon-shanchu1'></text>
  90. </view>
  91. </view>
  92. </view>
  93. </view>
  94. </view>
  95. <view class="register-row clearfix">
  96. <view class="register-picture">
  97. <view class="label">门头照:</view>
  98. <view class="upload-picture">
  99. <view class="upload-none" v-if="uploadMentuzImage === ''" @click="chooseMentuzImage"><text class="iconfont icon-jiahao"></text></view>
  100. <view class="upload-image" v-else>
  101. <image :src="uploadMentuzImage" mode="" @click="viewMentuzImage"></image>
  102. <view class="upload-del" @click="delMentuzImage">
  103. <text class='iconfont icon-shanchu1'></text>
  104. </view>
  105. </view>
  106. </view>
  107. </view>
  108. </view>
  109. <view class="register-row clearfix">
  110. <view class="register-from picker">
  111. <view class="label">机构类型:</view>
  112. <view class="row-input picker" @click="bindPickerChange">{{ organizationTypeText }}</view>
  113. <text class="iconfont icon-xiayibu"></text>
  114. </view>
  115. </view>
  116. <view class="register-row clearfix" v-if="isOrganizationType == 1" >
  117. <view class="register-from radio">
  118. <radio-group @change="radioChange">
  119. <label class="row-input" v-for="(item, index) in beautyList" :key="item.value">
  120. <radio class="row-radio" :value="item.value" :checked="index === current" color="#E15616"/>
  121. <view class="row-text">{{item.name}}</view>
  122. </label>
  123. </radio-group>
  124. </view>
  125. </view>
  126. <view class="register-row clearfix" v-show="isDepartment" >
  127. <view class="register-from">
  128. <view class="label">科室:</view>
  129. <input class="row-input keshi" type="text" v-model="department" placeholder="请填写经营的科室,至少三个,用逗号隔开" maxlength="16"/>
  130. </view>
  131. </view>
  132. <view class="register-row clearfix" v-if="isOrganizationType == 1">
  133. <view class="register-picture">
  134. <view class="label zz">医疗执业许可证:</view>
  135. <view class="upload-picture">
  136. <view class="upload-none" v-if="uploadMedicalImage === ''" @click="chooseMedicalImage"><text class="iconfont icon-jiahao"></text></view>
  137. <view class="upload-image" v-else>
  138. <image :src="uploadMedicalImage" mode="" @click="viewMedicalImage"></image>
  139. <view class="upload-del" @click="delMedicalImage">
  140. <text class='iconfont icon-shanchu1'></text>
  141. </view>
  142. </view>
  143. </view>
  144. </view>
  145. </view>
  146. <view class="register-row clearfix" v-if="isOrganizationType == 1">
  147. <view class="register-from group">
  148. <view class="label">主营内容:</view>
  149. <checkbox-group class="content-class" @change="chooseMaleLike" >
  150. <label class="item" v-for="(item, index) in mentuzCampList" :key="index" :class="{on: item.checked}">
  151. <checkbox :value="item.value"></checkbox>
  152. <text class="item-text">{{item.name}}</text>
  153. </label>
  154. </checkbox-group>
  155. </view>
  156. <view class="register-from group btn">
  157. <view class="content-class btn">
  158. <view class="item" @click="showAustomItem">
  159. <text class="item-text">其他</text>
  160. </view>
  161. </view>
  162. </view>
  163. <view class="register-from group btn" v-show="isShowAustomItem">
  164. <view class="content-class btn">
  165. <input class="row-input other" type="text" v-model="customItemValue" placeholder="请输入自定义项目" @blur="onBlurInput" maxlength="5"/>
  166. <button type="default"
  167. class="confirm-btn other"
  168. :class="[isDisabled === true ? 'disabled' : 'none']"
  169. :disabled="isDisabled"
  170. @click.stop="addCustomItem"
  171. >确认添加</button>
  172. </view>
  173. </view>
  174. </view>
  175. <view class="register-row clearfix" v-if="isOrganizationType == 2">
  176. <view class="register-from group">
  177. <view class="label">主营内容:</view>
  178. <checkbox-group class="content-class" @change="chooseMaleLikes">
  179. <label class="item" v-for="(item, index) in medicaCampList" :key="index" :class="{on: item.checked}">
  180. <checkbox :value="item.value"></checkbox>
  181. <text class="item-text">{{item.name}}</text>
  182. </label>
  183. </checkbox-group>
  184. </view>
  185. <view class="register-from group btn">
  186. <view class="content-class btn">
  187. <view class="item" @click="showAustomItem">
  188. <text class="item-text">其他</text>
  189. </view>
  190. </view>
  191. </view>
  192. <view class="register-from group btn" v-show="isShowAustomItem">
  193. <view class="content-class btn">
  194. <input class="row-input other" type="text" v-model="customItemValue" placeholder="请输入自定义项目" @blur="onBlurInput" maxlength="5"/>
  195. <button type="default"
  196. class="confirm-btn"
  197. :class="[isDisabled === true ? 'disabled' : 'none']"
  198. :disabled="isDisabled"
  199. @click.stop="addCustomItem"
  200. >确认添加</button>
  201. </view>
  202. </view>
  203. </view>
  204. <view class="register-fiexd clearfix">
  205. <view class="register-agree">
  206. <view class="agree-text" @tap.stop="agreeCheck()">
  207. <button class="checkbox iconfont" :class="[isCheck?'icon-gouxuan':'icon-weigouxuan']"></button>
  208. 我已阅读并同意
  209. <text @click.stop="this.$api.navigateTo('/pages/service/organagree')">《机构协议》</text>
  210. <text @click.stop="this.$api.navigateTo('/pages/service/useragree')">《用户协议》</text>及
  211. <text @click.stop="this.$api.navigateTo('/pages/service/privacyagree')">《隐私权政策》</text>
  212. </view>
  213. </view>
  214. <view class="register-row ">
  215. <view class="register-btn sub" @click.stop="registerStepsSub">提交审核</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. </view>
  225. </view>
  226. </template>
  227. <script>
  228. import { mapMutations } from 'vuex';
  229. import mpvueCityPicker from '@/components/mpvue-citypicker/mpvueCityPicker.vue'
  230. import authorize from '@/common/config/authorize.js'
  231. import { uploadFileImage } from "@/api/utils.js"
  232. import { sellerClubRegister } from "@/api/seller.js"
  233. var self;
  234. export default{
  235. components:{
  236. mpvueCityPicker
  237. },
  238. data() {
  239. return{
  240. isPreviewImage:false, //预览图片开关
  241. registerEmail:'', //注册邮箱
  242. clubName:'', //机构名称
  243. abbreviation:'', //机构简称
  244. clubContact:'', //联系人
  245. registerMobile:'', //联系人手机号
  246. socialCreditCode:'', //统一社会信用代码
  247. isAgreed:0, //是否勾选协议
  248. isDisabled:true,
  249. isShowInput:false,
  250. isCheck:false, //是否勾选协议
  251. uploadBusinessImage:'', //营业执照图片
  252. uploadMentuzImage:'', //门头照图片
  253. uploadMedicalImage:'', //资质照图片
  254. department:'', //科室
  255. isDepartment:false, //是否显示科室
  256. secondClubType:'', //机构类型二级分类
  257. mainpro:'', //主营内容
  258. isOrganizationType:0,
  259. organizationTypeText:'请选择机构类型',
  260. beautyList:[{value:'1',name:'诊所'},{value:'2',name:'门诊'},{value:'3',name:'医院'}],
  261. mentuzCampList:[{value:'1',name:'整形'},{value:'2',name:'轻医美'},{value:'3',name:'皮肤科'}],
  262. medicaCampList:[
  263. {value:'1',name:'美容'},
  264. {value:'2',name:'美体'},
  265. {value:'3',name:'美发'},
  266. {value:'4',name:'皮肤管理'},
  267. {value:'5',name:'光电'},
  268. {value:'6',name:'综合类'},
  269. {value:'7',name:'中医养生'},
  270. {value:'8',name:'spa'}
  271. ],
  272. typtIndex:0,
  273. organizationType:3,
  274. current:0,
  275. isShowAustomItem:false, //是否显示其他添加
  276. customItemValue:'', //自定义项目
  277. addressData:{
  278. address:'请选择机构所在地区',
  279. townID:'', //区ID
  280. cityID:'', //区ID
  281. provinceID:'', //区ID
  282. addressDetail: '', //地址
  283. },
  284. }
  285. },
  286. onLoad(option) {
  287. console.log(option)
  288. },
  289. methods:{
  290. registerStepsSub(){
  291. let params ={
  292. email:this.registerEmail,
  293. name:this.clubName,
  294. linkMan:this.clubContact,
  295. bindMobile:this.registerMobile,
  296. sname:this.abbreviation,
  297. provinceID:this.addressData.provinceID,
  298. cityID:this.addressData.cityID,
  299. townID:this.addressData.townID,
  300. address:this.addressData.addressDetail,
  301. socialCreditCode:this.socialCreditCode,
  302. businessLicenseImage:this.uploadBusinessImage,
  303. headpic:this.uploadMentuzImage,
  304. firstClubType:this.isOrganizationType, //机构类型分类 医美:0和生美:1
  305. secondClubType:this.secondClubType, //机构类型二级分类 诊所:1,门诊:2,医院:3
  306. department:this.department, //科室
  307. medicalPracticeLicenseImg:this.uploadMedicalImage,//资质图片
  308. isAgreed:this.isAgreed, //是否勾选协议
  309. mainpro:this.mainpro,
  310. }
  311. sellerClubRegister(params).then(response =>{
  312. this.$util.msg('注册成功,已短息通知联系人',2000);
  313. setTimeout(()=>{
  314. uni.navigateBack({
  315. delta: 1
  316. });
  317. },2000)
  318. }).catch(response =>{
  319. this.$util.msg(response.msg,2000);
  320. })
  321. },
  322. showMulLinkageThreePicker() {//三级地址联动
  323. this.isShowInput = true
  324. this.$refs.mpvueCityPicker.show()
  325. },
  326. onConfirm(e) {//获取选择的地址信息
  327. console.log('地址',e);
  328. this.addressData.address = e.name;
  329. this.addressData.townID = e.townCode;
  330. this.addressData.cityID = e.cityCode;
  331. this.addressData.provinceID = e.provinceCode;
  332. },
  333. onTextareaInput(e){//地址详细信息
  334. this.addressData.addressDetail = e.detail.value;
  335. },
  336. chooseBusinessImage() {//营业执照图片上传
  337. uploadFileImage().then(res =>{
  338. this.uploadBusinessImage = JSON.parse(res.data).data
  339. })
  340. },
  341. chooseMentuzImage() {//门头照图片上传
  342. uploadFileImage().then(res =>{
  343. this.uploadMentuzImage = JSON.parse(res.data).data
  344. })
  345. },
  346. chooseMedicalImage() {//资质照图片上传
  347. uploadFileImage().then(res =>{
  348. this.uploadMedicalImage = JSON.parse(res.data).data
  349. })
  350. },
  351. viewBusinessImage(e) {//预览营业执照图片
  352. this.myPreviewImageFn(this.uploadBusinessImage)
  353. },
  354. viewMentuzImage(e) {//预览门头照图片
  355. this.myPreviewImageFn(this.uploadMentuzImage)
  356. },
  357. viewMedicalImage(e) {//预览资质照图片
  358. this.myPreviewImageFn(this.uploadMedicalImage)
  359. },
  360. myPreviewImageFn(url){//预览图片公共方法
  361. this.isPreviewImage = true
  362. let mentuzArray = []
  363. mentuzArray.push(url)
  364. uni.previewImage({
  365. urls: mentuzArray,
  366. current: 0
  367. });
  368. },
  369. delBusinessImage(){//删除营业执照图片
  370. this.$util.modal('','确定删除营业执照图片吗?','确定','取消',true,() =>{
  371. this.uploadBusinessImage = ''
  372. })
  373. },
  374. delMentuzImage(){//删除门头照图片
  375. this.$util.modal('','确定删除门头照图片吗?','确定','取消',true,() =>{
  376. this.uploadMentuzImage = ''
  377. })
  378. },
  379. delMedicalImage(){//删除资质图片
  380. this.$util.modal('','确定删除资质图片吗?','确定','取消',true,() =>{
  381. this.uploadMedicalImage = ''
  382. })
  383. },
  384. bindPickerChange() {//机构类型选择
  385. let self = this
  386. uni.showActionSheet({
  387. title:'标题',
  388. itemList: ['医美', '生美'],
  389. success: (e) => {
  390. self.isOrganizationType = e.tapIndex+1
  391. switch(e.tapIndex){
  392. case 0:
  393. this.organizationTypeText = '医美'
  394. break;
  395. case 1:
  396. this.organizationTypeText = '生美'
  397. break;
  398. }
  399. }
  400. })
  401. },
  402. bindPickerChange2(e) {
  403. console.log('picker携带值为:' + e.target.value)
  404. this.typtIndex = e.target.value
  405. this.isOrganizationType = e.target.value
  406. },
  407. radioChange(e) {
  408. this.secondClubType = e.target.value;
  409. if( this.secondClubType == '2' || this.secondClubType == '3'){
  410. this.isDepartment = true
  411. }else{
  412. this.isDepartment = false
  413. }
  414. for (let i = 0; i < this.beautyList.length; i++) {
  415. if (this.beautyList[i].value === this.secondClubType) {
  416. this.current = i;
  417. break;
  418. }
  419. }
  420. },
  421. chooseMaleLike(e){
  422. this.mainpro = this.checkLikes(e,this.mentuzCampList)
  423. console.log(this.mainpro)
  424. },
  425. chooseMaleLikes(e){
  426. this.mainpro = this.checkLikes(e,this.medicaCampList)
  427. console.log(this.mainpro)
  428. },
  429. checkLikes(e,list){
  430. let items = list
  431. let values = e.detail.value
  432. let arr = []
  433. for (let i = 0, lenI = items.length; i < lenI; ++i) {
  434. const item = items[i]
  435. if(values.indexOf(item.value) >= 0){
  436. this.$set(item,'checked',true)
  437. arr.push(item.name)
  438. }else{
  439. this.$set(item,'checked',false)
  440. }
  441. }
  442. return arr.toString()
  443. },
  444. agreeCheck() {
  445. this.isCheck = !this.isCheck
  446. if(this.isCheck){
  447. this.isAgreed = 1
  448. }
  449. },
  450. onBlurInput(e){//
  451. if(e.detail.value ===''){
  452. this.isDisabled = true
  453. }else{
  454. this.isDisabled = false
  455. }
  456. },
  457. showAustomItem() {
  458. this.isShowAustomItem = !this.isShowAustomItem
  459. },
  460. addCustomItem(){
  461. if(this.isOrganizationType == 1){
  462. let item = {value:`${this.mentuzCampList.length+1}`,name:this.customItemValue}
  463. this.mentuzCampList.push(item)
  464. }else{
  465. let item = {value:`${this.medicaCampList.length+1}`,name:this.customItemValue}
  466. this.medicaCampList.push(item)
  467. }
  468. },
  469. },
  470. onShow() {
  471. if(this.isPreviewImage){
  472. this.isPreviewImage = false
  473. return
  474. }
  475. }
  476. }
  477. </script>
  478. <style lang="scss">
  479. .register{
  480. width: 100%;
  481. height: auto;
  482. padding-top: 50rpx;
  483. .model-warp.none{
  484. display: none;
  485. }
  486. .model-warp.show{
  487. display: block;
  488. }
  489. .register-tab{
  490. width: 570rpx;
  491. height: 60rpx;
  492. padding: 60rpx 90rpx;
  493. position: relative;
  494. .nav-item{
  495. width: 142rpx;
  496. background: #FFFFFF;
  497. line-height: 60rpx;
  498. border-radius: 30rpx;
  499. text-align: center;
  500. color: #999999;
  501. font-size:$font-size-26;
  502. float: left;
  503. margin-right: 72rpx;
  504. position: relative;
  505. .line{
  506. height: 3rpx;
  507. width: 50rpx;
  508. background: #999999;
  509. position: absolute;
  510. right: -58rpx;
  511. top: 32rpx;
  512. }
  513. &:last-child{
  514. margin-right: 0;
  515. }
  516. &.current{
  517. color:#FFFFFF;
  518. background: $btn-confirm;
  519. }
  520. }
  521. }
  522. .register-main{
  523. width: 100%;
  524. height: auto;
  525. &.detailed{
  526. padding-bottom: 330rpx;
  527. }
  528. .register-tips{
  529. display: flex;
  530. flex-direction: column;
  531. align-items: center;
  532. line-height: 44rpx;
  533. font-size: $font-size-24;
  534. color: #FF0000;
  535. margin-bottom: 40rpx;
  536. .iconfont{
  537. font-size: $font-size-24;
  538. }
  539. }
  540. .register-row{
  541. width: 702rpx;
  542. height: auto;
  543. padding: 0 24rpx;
  544. margin-bottom: 20rpx;
  545. .register-title{
  546. font-size: $font-size-32;
  547. color: $text-color;
  548. text{
  549. font-size: $font-size-24;
  550. }
  551. }
  552. .register-text{
  553. line-height: 44rpx;
  554. margin-top: 100rpx;
  555. font-size: $font-size-24;
  556. color: #999999;
  557. text-align: justify;
  558. .txt{
  559. margin-right: 15rpx;
  560. }
  561. }
  562. .register-from{
  563. width: 654rpx;
  564. height: 40rpx;
  565. padding: 24rpx;
  566. background: $sub-bg-color;
  567. border-radius: 14rpx;
  568. position: relative;
  569. .label{
  570. text-align: left;
  571. font-size: $font-size-28;
  572. color: $text-color;
  573. line-height: 40rpx;
  574. float: left;
  575. }
  576. .row-input{
  577. width: 440rpx;
  578. padding-left:10rpx;
  579. font-size: $font-size-28;
  580. color: $text-color;
  581. line-height: 40rpx;
  582. float: left;
  583. height: 40rpx;
  584. &.none{
  585. color: #999999;
  586. }
  587. &.picker{
  588. text-align: left;
  589. color: #999999;
  590. }
  591. &.keshi{
  592. width: 550rpx;
  593. }
  594. }
  595. &.code{
  596. width: 454rpx;
  597. float: left;
  598. margin-right: 20rpx;
  599. .row-input{
  600. width: 380rpx;
  601. &.phone{
  602. width: 340rpx;
  603. }
  604. }
  605. }
  606. &.btn{
  607. width: 180rpx;
  608. height: 88rpx;
  609. float: left;
  610. background: $btn-confirm;
  611. padding: 0;
  612. .row-input{
  613. width: 180rpx;
  614. height: 88rpx;
  615. line-height: 88rpx;
  616. padding: 0;
  617. color: #FFFFFF;
  618. background: $btn-confirm;
  619. text-align: center;
  620. border-radius: 14rpx;
  621. &.other{
  622. width: 180rpx;
  623. background: #F7F7F7;
  624. margin-right: 20rpx;
  625. }
  626. &.none{
  627. background: #F7F7F7;
  628. }
  629. }
  630. &.disabled{
  631. background: #F7F7F7;
  632. .row-input{
  633. background: #F7F7F7;
  634. color: #999999;
  635. }
  636. }
  637. }
  638. &.picker{
  639. padding: 0 24rpx;
  640. width: 654rpx;
  641. height: 88rpx;
  642. line-height: 88rpx;
  643. .label{
  644. line-height: 88rpx;
  645. }
  646. .row-input{
  647. width: 470rpx;
  648. height: 88rpx;
  649. line-height: 88rpx;
  650. padding-left: 30rpx;
  651. }
  652. }
  653. &.radio{
  654. padding: 0 24rpx;
  655. width: 654rpx;
  656. height: 288rpx;
  657. .row-input{
  658. width: 100%;
  659. height: 88rpx;
  660. line-height: 88rpx;
  661. padding-left: 0;
  662. }
  663. .row-radio{
  664. float: left;
  665. transform: scale(0.8);
  666. }
  667. .row-text{
  668. width: 100rpx;
  669. text-align: center;
  670. float: left;
  671. }
  672. }
  673. &.group{
  674. padding: 0 24rpx;
  675. width: 654rpx;
  676. height: auto;
  677. background: #FFFFFF;
  678. margin-top: 30rpx;
  679. .label{
  680. line-height: 76rpx;
  681. }
  682. .row-input{
  683. width: 100%;
  684. height: 88rpx;
  685. line-height: 88rpx;
  686. padding-left: 0;
  687. }
  688. .row-radio{
  689. float: left;
  690. }
  691. .row-text{
  692. width: 100rpx;
  693. text-align: center;
  694. float: left;
  695. }
  696. }
  697. &.btn{
  698. margin-top: 0;
  699. }
  700. .content-class {
  701. margin: 20rpx auto;
  702. display: flex;
  703. flex-flow: row wrap;
  704. justify-content: space-between;
  705. align-items: center;
  706. &.btn{
  707. margin: 0 auto;
  708. margin-left: 126rpx;
  709. }
  710. .row-input{
  711. display: flex;
  712. width: 220rpx;
  713. height: 40rpx;
  714. padding: 24rpx;
  715. text-align: left;
  716. border-radius: 10rpx;
  717. font-size: $font-size-28;
  718. color: $text-color;
  719. }
  720. .confirm-btn{
  721. width: 200rpx;
  722. height: 88rpx;
  723. border-radius: 10rpx;
  724. line-height: 88rpx;
  725. text-align: center;
  726. &.other{
  727. width: 213rpx;
  728. }
  729. &.none{
  730. color: #FFFFFF;
  731. background: $btn-confirm;
  732. }
  733. &.disabled{
  734. color: #999999;
  735. }
  736. }
  737. .item {
  738. width: 155rpx;
  739. height: 60rpx;
  740. font-size:$font-size-28;
  741. line-height: 60rpx;
  742. border-radius:10rpx;
  743. margin: 10rpx;
  744. text-align: center;
  745. box-sizing: border-box;
  746. border: 1rpx solid #EFEFEF;
  747. checkbox {
  748. display: none;
  749. }
  750. }
  751. .on {
  752. border-color: $color-system;
  753. color:$color-system;
  754. }
  755. }
  756. }
  757. .icon-xiayibu{
  758. width: 88rpx;
  759. height: 88rpx;
  760. position: absolute;
  761. right: 0;
  762. top: 0;
  763. line-height: 88rpx;
  764. text-align: center;
  765. }
  766. &.text-textarea{
  767. background: #FFFFFF;
  768. .textarea{
  769. width: 654rpx;
  770. height: 180rpx;
  771. background: #F7F7F7;
  772. padding: 24rpx;
  773. font-size: $font-size-28;
  774. color: $text-color;
  775. z-index: 1;
  776. border-radius: 14rpx;
  777. }
  778. .textarea.hide{
  779. opacity: 0;
  780. }
  781. .textarea.show{
  782. color: #999999;
  783. }
  784. }
  785. }
  786. .register-picture{
  787. height: 102rpx;
  788. margin: 40rpx 0 0 0;
  789. .label{
  790. float: left;
  791. font-size: $font-size-28;
  792. color: $text-color;
  793. line-height: 102rpx;
  794. width: 150rpx;
  795. text-align: right;
  796. &.zz{
  797. width: 230rpx;
  798. }
  799. }
  800. .upload-picture{
  801. float: left;
  802. height: 100rpx;
  803. .upload-none{
  804. width: 100rpx;
  805. height: 100rpx;
  806. text-align: center;
  807. line-height: 100rpx;
  808. color: #999999;
  809. border: 1px solid #999999;
  810. border-radius: 10rpx;
  811. margin: 0 20rpx;
  812. .iconfont{
  813. font-size: $font-size-28;
  814. }
  815. }
  816. .upload-image{
  817. width: 100rpx;
  818. height: 100rpx;
  819. border-radius: 10rpx;
  820. margin: 0 20rpx;
  821. position: relative;
  822. image{
  823. width: 100rpx;
  824. height: 100rpx;
  825. border-radius: 10rpx;
  826. }
  827. .upload-del{
  828. width: 40rpx;
  829. height: 40rpx;
  830. position: absolute;
  831. top: -20rpx;
  832. right: -20rpx;
  833. line-height: 40rpx;
  834. text-align: center;
  835. .iconfont{
  836. font-size: $font-size-32;
  837. color: #999999;
  838. }
  839. }
  840. }
  841. }
  842. }
  843. .register-input{
  844. width: 654rpx;
  845. height: 40rpx;
  846. padding: 24rpx;
  847. margin: 0 auto;
  848. margin-bottom: 60rpx;
  849. background: #F7F7F7;
  850. border-radius: 14rpx;
  851. .input{
  852. width: 100%;
  853. height: 100%;
  854. background: #F7F7F7;
  855. font-size: $font-size-28;
  856. line-height: 40rpx;
  857. color: #333333;
  858. border-radius: 14rpx;
  859. }
  860. }
  861. .register-fiexd{
  862. width: 100%;
  863. height: auto;
  864. position: fixed;
  865. bottom: 0;
  866. left: 0;
  867. z-index: 999;
  868. background: #FFFFFF;
  869. .register-agree{
  870. display: flex;
  871. flex-direction: column;
  872. align-items: center;
  873. margin: 32rpx 0;
  874. .agree-text{
  875. .checkbox{
  876. float: left;
  877. margin: 4rpx 6rpx 0 0;
  878. color: #999999;
  879. font-size: $font-size-32;
  880. &.icon-gouxuan{
  881. color: $color-system;
  882. }
  883. }
  884. font-size: 20rpx;
  885. line-height: 44rpx;
  886. color: #999999;
  887. text{
  888. color:#0091FF;
  889. }
  890. }
  891. }
  892. }
  893. .register-btn{
  894. width: 702rpx;
  895. height: 88rpx;
  896. border-radius: 14rpx;
  897. font-size: $font-size-28;
  898. line-height: 88rpx;
  899. color: #FFFFFF;
  900. margin: 0 auto;
  901. text-align: center;
  902. background: $btn-confirm;
  903. margin-top: 96rpx;
  904. &.none{
  905. background: #FFFFFF;
  906. color: $text-color;
  907. margin-top: 0;
  908. }
  909. &.sub{
  910. margin-top: 0;
  911. }
  912. }
  913. }
  914. }
  915. </style>