apply-supplier.vue 29 KB

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