register.vue 27 KB

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