apply-supplier.vue 28 KB

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