apply-supplier.vue 27 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018
  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="shopInfo.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="shopInfo.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="shopInfo.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="shopInfo.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">{{shopInfo.address ? shopInfo.address :'详细地址:如道路、门牌号、小区等'}}</view>
  55. <textarea v-else
  56. class="textarea"
  57. type="text"
  58. v-model="shopInfo.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="shopInfo.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="shopInfo.businessLicenseImage === ''" @click="chooseBusinessImage"><text class="iconfont icon-jiahao"></text></view>
  79. <view class="upload-image" v-else>
  80. <image :src="shopInfo.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="shopInfo.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="shopInfo.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="item.value === shopInfo.secondShopType" 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 "@/services/public.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. shopInfo:{
  189. userID:'', //用户ID
  190. shopID:'', //供应商ID
  191. linkMan:'', //联系人
  192. name:'', //公司名称
  193. email:"", //法人邮箱地址
  194. provinceID :'', //省ID
  195. cityID : '', //市ID
  196. townID : '', //区ID
  197. address:'', //公司详细地址
  198. sname:'', //公司简称
  199. socialCreditCode:'', //统一社会信用代码
  200. businessLicenseImage:'',//营业执照图片
  201. firstShopType:0, //公司类型
  202. secondShopType: '',
  203. mainpro:'', //公司主营内容
  204. isAgreed:0, //勾选协议状态
  205. },
  206. addressText:'请选择公司所在地区',
  207. isDisabled:true,
  208. isShowInput:true,
  209. textareaFocus:false,
  210. organizationTypeText:'请选择公司类型',
  211. supplierList:supplierList,//医疗类型
  212. medicaCampList:supplierMedicaCampNullList,//主营内容
  213. supplierMedicaCampList:[],
  214. typtIndex:0,
  215. organizationType:0,
  216. current:0,
  217. isShowAustomItem:false, //是否显示其他添加
  218. customItemValue:'', //自定义项目
  219. isMainproCheck:false,
  220. isSupplierAlert:true,
  221. isCheck:false
  222. }
  223. },
  224. onLoad() {
  225. this.GetSupplierInfo()
  226. },
  227. methods:{
  228. hanldNavigateBack(){
  229. this.$util.modal('','资料尚未提交审核,确定放弃修改吗?','确定','取消',true,() =>{
  230. uni.navigateBack({
  231. delta: 1
  232. });
  233. })
  234. },
  235. GetSupplierInfo(){
  236. this.$api.getStorage().then((resolve) =>{
  237. this.shopInfo.userID = resolve.userID
  238. this.UserService.SupplierShopInfo({userId:this.shopInfo.userID}).then(response =>{
  239. let responseData = response.data
  240. let supplierShop = responseData.shop
  241. let supplierUser = responseData.user
  242. this.auditStatus = supplierShop.status
  243. if(supplierUser.auditNoteList!=null){
  244. this.errorList = supplierUser.auditNoteList
  245. }
  246. this.shopInfo.shopID = supplierUser.shopID
  247. this.shopInfo.name = this.$reg.checkData(supplierShop.name)
  248. this.shopInfo.linkMan = this.$reg.checkData(supplierShop.linkMan)
  249. this.shopInfo.email = this.$reg.checkData(supplierUser.email)
  250. this.shopInfo.sname = this.$reg.checkData(supplierShop.sname)
  251. this.addressText = supplierShop.provincialAddress ? supplierShop.provincialAddress : '请选择公司所在地区'
  252. this.shopInfo.address = supplierShop.address
  253. this.shopInfo.provinceID = supplierShop.provinceID
  254. this.shopInfo.cityID = supplierShop.cityID
  255. this.shopInfo.townID = supplierShop.townID
  256. this.shopInfo.socialCreditCode = this.$reg.checkData(supplierShop.socialCreditCode)
  257. this.shopInfo.businessLicenseImage = this.$reg.checkData(supplierShop.businessLicenseImage)
  258. this.shopInfo.firstShopType = supplierShop.firstShopType
  259. this.shopInfo.secondShopType = this.$reg.checkData(supplierShop.secondShopType)
  260. //机构类型&&主营项目
  261. switch(this.shopInfo.firstShopType){
  262. case '1':
  263. this.organizationTypeText = '医疗'
  264. this.shopInfo.firstShopType = 1
  265. break;
  266. case '2':
  267. this.organizationTypeText = '非医疗'
  268. this.shopInfo.firstShopType = 2
  269. break;
  270. case null:
  271. this.organizationTypeText = '请选择公司类型'
  272. this.shopInfo.firstShopType = 0
  273. break;
  274. }
  275. if(supplierShop.mainpro){
  276. this.supplierMedicaCampList = this.setNewMainpro(supplierShop.mainpro)
  277. console.log(this.supplierMedicaCampList)
  278. this.mainpro = supplierShop.mainpro;
  279. }else{
  280. this.supplierMedicaCampList = this.medicaCampList
  281. console.log(this.supplierMedicaCampList)
  282. }
  283. }).catch(error =>{
  284. this.$util.msg(error.msg,2000)
  285. })
  286. })
  287. },
  288. SupplierRegisteredThree(){//提交审核
  289. if(!this.isMainproCheck){
  290. let mainproList = []
  291. this.supplierMedicaCampList.forEach(item =>{
  292. mainproList.push(item.name)
  293. })
  294. this.shopInfo.mainpro = mainproList.join('/')
  295. }
  296. if( this.shopInfo.name == ''){
  297. this.$util.msg('请输入您的公司名称',2000);
  298. return
  299. }
  300. if( this.shopInfo.linkMan == ''){
  301. this.$util.msg('请输入联系人名称',2000);
  302. return
  303. }
  304. if( this.shopInfo.email == ''){
  305. this.$util.msg('请输入邮箱地址',2000);
  306. return
  307. }
  308. if(!this.$reg.isEmail(this.shopInfo.email)){
  309. this.$util.msg('请输入正确的邮箱地址',2000);
  310. return
  311. }
  312. if( this.shopInfo.townID == ''){
  313. this.$util.msg('请选择公司地址',2000);
  314. return
  315. }
  316. if( this.shopInfo.address == ''){
  317. this.$util.msg('请填写公司详细地址',2000);
  318. return
  319. }
  320. if( this.shopInfo.socialCreditCode == ''){
  321. this.$util.msg('请填写统一社会信用代码',2000);
  322. return
  323. }
  324. if( !this.shopInfo.businessLicenseImage){
  325. this.$util.msg('请上传您的营业执照',2000);
  326. return
  327. }
  328. if(this.shopInfo.firstShopType == 0){
  329. this.$util.msg('请选择公司类型',2000);
  330. return
  331. }
  332. if(this.shopInfo.mainpro == ''){
  333. this.$util.msg('请选择主营内容',2000);
  334. return
  335. }
  336. if(this.shopInfo.isAgreed == 0){
  337. this.$util.msg('请勾选同意协议',2000);
  338. return
  339. }
  340. this.UserService.SupplierUpdateCompanyInfo(this.shopInfo).then(response =>{
  341. this.$util.modal('','您的资料已提交成功,系统将在1-2个工作日内进行审核~','知道了','',false,() =>{
  342. this.$api.switchTabTo('/pages/tabBar/home/index')
  343. })
  344. }).catch(error =>{
  345. this.$util.msg(error.msg,2000);
  346. })
  347. },
  348. chooseBusinessImage() {//营业执照图片上传
  349. uploadFileImage().then(res =>{
  350. this.shopInfo.businessLicenseImage = JSON.parse(res.data).data
  351. })
  352. },
  353. viewBusinessImage(e) {
  354. this.myPreviewImageFn(this.businessLicenseImage)
  355. },
  356. myPreviewImageFn(url){
  357. this.isPreviewImage = true
  358. let mentuzArray = []
  359. mentuzArray.push(url)
  360. uni.previewImage({
  361. urls: mentuzArray,
  362. current: 0
  363. });
  364. },
  365. delBusinessImage(){
  366. this.$util.modal('','确定删除营业执照图片吗?','确定','取消',true,() =>{
  367. this.shopInfo.businessLicenseImage = ''
  368. })
  369. },
  370. radioChange(e) {
  371. this.shopInfo.secondShopType = e.target.value;
  372. console.log(this.shopInfo.secondShopType)
  373. },
  374. chooseMaleLike(e){
  375. this.isMainproCheck = true
  376. this.shopInfo.mainpro = this.checkLikes(e,this.supplierMedicaCampList)
  377. },
  378. bindPickerChange(e) {
  379. let self = this
  380. uni.showActionSheet({
  381. title:'标题',
  382. itemList: ['医疗', '非医疗'],
  383. success: (e) => {
  384. self.shopInfo.firstShopType = e.tapIndex+1
  385. console.log(self.shopInfo.firstShopType)
  386. switch(e.tapIndex){
  387. case 0:
  388. this.organizationTypeText = '医疗'
  389. break;
  390. case 1:
  391. this.organizationTypeText = '非医疗'
  392. break;
  393. }
  394. }
  395. })
  396. },
  397. showMulLinkageThreePicker() {// 三级联动选择
  398. this.isShowInput = true
  399. this.$refs.mpvueCityPicker.show()
  400. },
  401. showAustomItem() {
  402. this.isShowAustomItem = !this.isShowAustomItem
  403. },
  404. showTextareaFocus(){//文本框获取焦点
  405. this.isShowInput = false
  406. this.textareaFocus = true
  407. },
  408. hideTextareaFocus(){//文本框失去焦点
  409. this.isShowInput = true
  410. this.textareaFocus = false
  411. },
  412. onConfirm(e) {
  413. this.addressText = e.name;
  414. this.shopInfo.townID = e.townCode;
  415. this.shopInfo.cityID = e.cityCode;
  416. this.shopInfo.provinceID = e.provinceCode;
  417. console.log(this.shopInfo)
  418. },
  419. onTextareaInput(e){
  420. this.shopInfo.address = e.detail.value;
  421. },
  422. onBlurInput(e){//
  423. if(e.detail.value ===''){
  424. this.isDisabled = true
  425. }else{
  426. this.isDisabled = false
  427. }
  428. },
  429. agreeCheck() {
  430. this.isCheck = !this.isCheck
  431. if(this.isCheck){
  432. this.shopInfo.isAgreed = 1
  433. }else{
  434. this.shopInfo.isAgreed = 0
  435. }
  436. },
  437. checkLikes(e,list){
  438. let values = e.detail.value
  439. let arr = []
  440. list.forEach(item => {
  441. if(values.indexOf(item.value) >= 0){
  442. this.$set(item,'checked',true)
  443. arr.push(item.name)
  444. }else{
  445. this.$set(item,'checked',false)
  446. }
  447. })
  448. return arr.join('/')
  449. },
  450. setNewMainpro(arr){//回显处理主营内容
  451. let _ARRAY = []
  452. arr.split('/').forEach((item,index) =>{
  453. let _OBJ = {value:(index+1).toString(),name:item,checked:true}
  454. _ARRAY.push(_OBJ)
  455. })
  456. return _ARRAY
  457. },
  458. addCustomItem(){
  459. if(this.customItemValue==''){
  460. this.$util.msg('请输入自定义主营内容',2000);
  461. }else{
  462. let item = {value:`${this.supplierMedicaCampList.length+1}`,name:this.customItemValue,checked:true}
  463. if(this.checkedArray(this.customItemValue,this.supplierMedicaCampList)){
  464. this.$util.msg('主营内容已存在!',2000)
  465. }else{
  466. this.supplierMedicaCampList.push(item)
  467. }
  468. }
  469. },
  470. checkedArray(content,arr){//判断主营内容是否已存在
  471. for(var i in arr){
  472. if(arr[i].name == content){
  473. return true;
  474. }
  475. }
  476. return false;
  477. },
  478. },
  479. onShow() {
  480. if(this.isPreviewImage){
  481. this.isPreviewImage = false
  482. return
  483. }
  484. }
  485. }
  486. </script>
  487. <style lang="scss">
  488. .placeholder{color:#b2b2b2 ;}
  489. .register{
  490. width: 100%;
  491. height: 100%;
  492. box-sizing: border-box;
  493. .register-main{
  494. width: 100%;
  495. height: auto;
  496. position: relative;
  497. .register-title{
  498. width: 100%;
  499. height: 80rpx;
  500. line-height: 80rpx;
  501. background-color: #F7F7F7;
  502. font-size: $font-size-34;
  503. color: $text-color;
  504. text-align: left;
  505. font-weight: bold;
  506. box-sizing: border-box;
  507. padding: 0 24rpx;
  508. margin-bottom: 20rpx;
  509. }
  510. .register-consult{
  511. width: 110rpx;
  512. height: 68rpx;
  513. background:linear-gradient(223deg,rgba(225,86,21,0.6) 0%,rgba(225,86,10,0.3) 100%);
  514. border-radius: 34rpx 0 0 34rpx;
  515. position: absolute;
  516. right: 0;
  517. bottom: 120rpx;
  518. text-align: left;
  519. line-height: 68rpx;
  520. padding-left: 20rpx;
  521. .icon-kefunv{
  522. font-size: 48rpx;
  523. color: #31313B;
  524. float: left;
  525. }
  526. .text{
  527. font-size: $font-size-24;
  528. display: block;
  529. float: left;
  530. width: 60rpx;
  531. line-height: 30rpx;
  532. color: #FFFFFF;
  533. margin-top: 6rpx;
  534. }
  535. }
  536. .register-agree{
  537. display: flex;
  538. flex-direction: column;
  539. align-items: center;
  540. margin: 100rpx 0 20rpx 0;
  541. .agree-text{
  542. .checkbox{
  543. float: left;
  544. margin: 4rpx 6rpx 0 0;
  545. color: #999999;
  546. font-size: $font-size-34;
  547. &.icon-gouxuan{
  548. color: $color-system;
  549. }
  550. }
  551. font-size: $font-size-22;
  552. line-height: 44rpx;
  553. color: #999999;
  554. text{
  555. color:#1890f9;
  556. }
  557. }
  558. }
  559. .register-logo{
  560. width: 100%;
  561. display: flex;
  562. flex-direction: column;
  563. align-items: center;
  564. height: 189rpx;
  565. padding:60rpx 0 40rpx 0;
  566. .logo{
  567. width:467rpx;
  568. height: 189rpx;
  569. display: block;
  570. }
  571. }
  572. &.detailed{
  573. padding-bottom: 330rpx;
  574. }
  575. .register-row{
  576. width: 100%;
  577. height: auto;
  578. padding: 0 24rpx;
  579. margin-bottom: 20rpx;
  580. box-sizing: border-box;
  581. &.text{
  582. font-size: $font-size-20;
  583. line-height: 40rpx;
  584. color: #fea785;
  585. }
  586. &.none{
  587. margin-bottom: 0;
  588. }
  589. .error-title{
  590. line-height: 60rpx;
  591. font-size: $font-size-28;
  592. color: $text-color;
  593. text-align: left;
  594. padding-top: 20rpx;
  595. }
  596. .error-main{
  597. padding: 10rpx 0;
  598. .error-item{
  599. padding:0 20rpx;
  600. margin:10rpx;
  601. background: #F53636;
  602. height: 52rpx;
  603. line-height: 52rpx;
  604. border-radius: 26rpx;
  605. font-size: $font-size-26;
  606. color: #FFFFFF;
  607. text-align: center;
  608. display: inline-block;
  609. }
  610. }
  611. &.login{
  612. display: flex;
  613. }
  614. .register-text{
  615. line-height: 44rpx;
  616. margin-top: 100rpx;
  617. font-size: $font-size-24;
  618. color: #999999;
  619. text-align: justify;
  620. .txt{
  621. margin-right: 15rpx;
  622. }
  623. }
  624. .register-tip{
  625. line-height: 64rpx;
  626. font-size: $font-size-24;
  627. color: #CECECE;
  628. text-align: left;
  629. }
  630. .register-from{
  631. width: 100%;
  632. height: 80rpx;
  633. background: #FFFFFF;
  634. position: relative;
  635. border-bottom: 1px solid #e1e1e1;
  636. .label{
  637. text-align: left;
  638. font-size: $font-size-28;
  639. color:#666666;
  640. line-height: 80rpx;
  641. float: left;
  642. }
  643. .row-input{
  644. width: 500rpx;
  645. padding-left:10rpx;
  646. font-size: $font-size-28;
  647. color: $text-color;
  648. line-height: 80rpx;
  649. float: left;
  650. height: 80rpx;
  651. &.none{
  652. color: #999999;
  653. }
  654. &.picker{
  655. text-align: left;
  656. color: #333333;
  657. }
  658. &.keshi{
  659. width: 550rpx;
  660. }
  661. &.code{
  662. width: 350rpx;
  663. }
  664. &.imgCode{
  665. width: 390rpx;
  666. }
  667. }
  668. .vscodeimg{
  669. width: 160rpx;
  670. height: 80;
  671. float: left;
  672. display: flex;
  673. flex-direction: column;
  674. align-items: center;
  675. border-radius: 6rpx;
  676. margin: 0 10rpx;
  677. image{
  678. width: 150rpx;
  679. height: 68rpx;
  680. border-radius: 6rpx;
  681. }
  682. }
  683. .vscod-refresh{
  684. width: 120rpx;
  685. float: right;
  686. line-height: 80rpx;
  687. .ref-text{
  688. float: left;
  689. font-size: 26rpx;
  690. color: #999999;
  691. }
  692. .icon-shuaxin{
  693. float: left;
  694. font-size: 36rpx;
  695. color: #999999;
  696. margin-right: 10rpx;
  697. }
  698. }
  699. &.imgcode{
  700. width: 410rpx;
  701. float: left;
  702. margin-right: 20rpx;
  703. .row-input{
  704. width: 230rpx;
  705. }
  706. }
  707. .row-btn{
  708. width: 180rpx;
  709. height:64rpx;
  710. float: left;
  711. background: $btn-confirm;
  712. padding: 0;
  713. border-radius: 32rpx;
  714. .row-input{
  715. width: 180rpx;
  716. height: 64rpx;
  717. line-height: 64rpx;
  718. padding: 0;
  719. color: #FFFFFF;
  720. background: $btn-confirm;
  721. text-align: center;
  722. border-radius: 32rpx;
  723. font-size: $font-size-24;
  724. &.other{
  725. width: 180rpx;
  726. background: #F7F7F7;
  727. margin-right: 20rpx;
  728. }
  729. &.none{
  730. background: #F7F7F7;
  731. }
  732. }
  733. &.disabled{
  734. background: #F7F7F7;
  735. .row-input{
  736. background: #F7F7F7;
  737. color: #999999;
  738. }
  739. }
  740. }
  741. &.picker{
  742. width: 100%;
  743. height: 80rpx;
  744. line-height: 80rpx;
  745. .label{
  746. line-height: 80rpx;
  747. }
  748. .row-input{
  749. width: 470rpx;
  750. height: 80rpx;
  751. line-height: 80rpx;
  752. padding-left: 30rpx;
  753. }
  754. }
  755. &.radio{
  756. width: 100%;
  757. border-bottom: none;
  758. .row-input{
  759. width: 25%;
  760. height: 80rpx;
  761. line-height: 80rpx;
  762. padding-left: 0;
  763. }
  764. .row-radio{
  765. float: left;
  766. transform: scale(0.8);
  767. }
  768. .row-text{
  769. text-align: center;
  770. float: left;
  771. font-size: $font-size-24;
  772. }
  773. }
  774. &.group{
  775. width: 100%;
  776. height: auto;
  777. background: #FFFFFF;
  778. margin-top: 30rpx;
  779. border-bottom: none;
  780. .label{
  781. line-height: 76rpx;
  782. }
  783. .row-input{
  784. width: 100%;
  785. height: 80rpx;
  786. line-height: 80rpx;
  787. padding-left: 0;
  788. }
  789. .row-radio{
  790. float: left;
  791. }
  792. .row-text{
  793. width: 100rpx;
  794. text-align: center;
  795. float: left;
  796. }
  797. }
  798. &.btn{
  799. margin-top: 0;
  800. }
  801. .content-class {
  802. margin: 20rpx auto;
  803. display: flex;
  804. flex-flow: row wrap;
  805. justify-content: space-between;
  806. align-items: center;
  807. &.btn{
  808. margin: 0 auto;
  809. margin-left: 116rpx;
  810. }
  811. .row-input{
  812. display: flex;
  813. width: 330rpx;
  814. box-sizing: border-box;
  815. height: 64rpx;
  816. padding:0 24rpx;
  817. text-align: left;
  818. border-radius: 32rpx;
  819. font-size: $font-size-28;
  820. color: $text-color;
  821. border: 1px solid #B2B2B2;
  822. line-height: 64rpx;
  823. }
  824. .confirm-btn{
  825. width: 200rpx;
  826. height: 64rpx;
  827. border-radius: 32rpx;
  828. line-height: 64rpx;
  829. text-align: center;
  830. &.other{
  831. width: 213rpx;
  832. }
  833. &.none{
  834. color: $color-system;
  835. background: #ffe6dc;
  836. }
  837. &.disabled{
  838. color: #999999;
  839. }
  840. }
  841. .item {
  842. width: 155rpx;
  843. height: 60rpx;
  844. font-size:$font-size-28;
  845. line-height: 60rpx;
  846. border-radius:30rpx;
  847. margin: 10rpx;
  848. text-align: center;
  849. box-sizing: border-box;
  850. border: 1rpx solid #EFEFEF;
  851. float: left;
  852. checkbox {
  853. display: none;
  854. }
  855. }
  856. .on {
  857. border-color: $color-system;
  858. color:$color-system;
  859. }
  860. }
  861. }
  862. .row-login{
  863. flex: 1;
  864. font-size: $font-size-28;
  865. color: $text-color;
  866. text-align: left;
  867. }
  868. .row-logincode{
  869. flex: 1;
  870. font-size: $font-size-28;
  871. color: $text-color;
  872. text-align: right;
  873. }
  874. .icon-xiayibu{
  875. width: 80rpx;
  876. height: 80rpx;
  877. position: absolute;
  878. right: 0;
  879. top: 0;
  880. line-height: 80rpx;
  881. text-align: center;
  882. }
  883. &.text-textarea{
  884. background: #FFFFFF;
  885. .textarea{
  886. width: 100%;
  887. height: 180rpx;
  888. padding: 24rpx;
  889. box-sizing: border-box;
  890. font-size: $font-size-28;
  891. color: $text-color;
  892. z-index: 1;
  893. border-bottom: 1px solid #e1e1e1;
  894. }
  895. .textarea.hide{
  896. opacity: 0;
  897. }
  898. .textarea.show{
  899. color: #999999;
  900. }
  901. }
  902. }
  903. .register-picture{
  904. height: 180rpx;
  905. margin: 30rpx 0;
  906. float: left;
  907. &.zz{
  908. width: 100%;
  909. }
  910. .label{
  911. float: left;
  912. font-size: $font-size-28;
  913. color: #666666;
  914. line-height: 180rpx;
  915. width: 150rpx;
  916. text-align: left;
  917. }
  918. .upload-picture{
  919. float: left;
  920. height: 180rpx;
  921. .upload-none{
  922. width: 180rpx;
  923. height: 180rpx;
  924. text-align: center;
  925. line-height: 180rpx;
  926. color: #999999;
  927. border: 1px solid #999999;
  928. border-radius: 10rpx;
  929. margin: 0 20rpx;
  930. .iconfont{
  931. font-size: 60rpx;
  932. }
  933. }
  934. .upload-image{
  935. width: 180rpx;
  936. height: 180rpx;
  937. border-radius: 6rpx;
  938. margin: 0 20rpx;
  939. position: relative;
  940. image{
  941. width: 180rpx;
  942. height: 180rpx;
  943. border-radius: 6rpx;
  944. }
  945. .upload-del{
  946. width: 40rpx;
  947. height: 40rpx;
  948. position: absolute;
  949. top: -20rpx;
  950. right: -20rpx;
  951. line-height: 40rpx;
  952. text-align: center;
  953. .iconfont{
  954. font-size: $font-size-32;
  955. color: #999999;
  956. }
  957. }
  958. }
  959. }
  960. }
  961. .register-input{
  962. width: 654rpx;
  963. height: 40rpx;
  964. padding: 24rpx;
  965. margin: 0 auto;
  966. margin-bottom: 60rpx;
  967. background: #F7F7F7;
  968. border-radius: 14rpx;
  969. .input{
  970. width: 100%;
  971. height: 100%;
  972. background: #F7F7F7;
  973. font-size: $font-size-28;
  974. line-height: 40rpx;
  975. color: #333333;
  976. border-radius: 14rpx;
  977. }
  978. }
  979. .register-fiexd{
  980. width: 100%;
  981. height: auto;
  982. position: fixed;
  983. bottom: 0;
  984. left: 0;
  985. z-index: 999;
  986. background: #FFFFFF;
  987. }
  988. .register-btn{
  989. width: 600rpx;
  990. height: 88rpx;
  991. border-radius: 44rpx;
  992. font-size: $font-size-28;
  993. line-height: 88rpx;
  994. color: #FFFFFF;
  995. margin: 0 auto;
  996. text-align: center;
  997. background: $btn-confirm;
  998. margin-top: 96rpx;
  999. &.prev{
  1000. background:#ffe6dc;
  1001. color: $color-system;
  1002. margin-top: 20rpx;
  1003. }
  1004. &.none{
  1005. border: 1px solid $color-system;
  1006. background: #FFFFFF;
  1007. color:$color-system;
  1008. margin-top: 0;
  1009. }
  1010. &.sub{
  1011. margin-top: 0;
  1012. }
  1013. }
  1014. }
  1015. }
  1016. </style>