apply-supplier.vue 29 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079
  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.website){
  385. if(!this.$reg.isWebsite(this.shopInfo.website)){
  386. this.$util.msg('请输入正确的网站地址',2000);
  387. return
  388. }
  389. }
  390. if(this.shopInfo.isAgreed == 0){
  391. this.$util.msg('请勾选同意协议',2000);
  392. return
  393. }
  394. this.UserService.SupplierUpdateCompanyInfo(this.shopInfo).then(response =>{
  395. this.$util.modal('','您的资料已提交成功,系统将在1-2个工作日内进行审核~','知道了','',false,() =>{
  396. this.$api.switchTabTo('/pages/tabBar/home/index')
  397. })
  398. }).catch(error =>{
  399. this.$util.msg(error.msg,2000);
  400. })
  401. },
  402. chooseBusinessImage() {//营业执照图片上传
  403. uploadFileImage().then(res =>{
  404. this.shopInfo.businessLicense = JSON.parse(res.data).data
  405. })
  406. },
  407. viewBusinessImage(e) {
  408. this.myPreviewImageFn(this.businessLicense)
  409. },
  410. myPreviewImageFn(url){
  411. this.isPreviewImage = true
  412. let mentuzArray = []
  413. mentuzArray.push(url)
  414. uni.previewImage({
  415. urls: mentuzArray,
  416. current: 0
  417. });
  418. },
  419. delBusinessImage(){
  420. this.$util.modal('','确定删除营业执照图片吗?','确定','取消',true,() =>{
  421. this.shopInfo.businessLicense = ''
  422. })
  423. },
  424. radioChange(e) {
  425. this.shopInfo.secondShopType = e.target.value;
  426. console.log(this.shopInfo.secondShopType)
  427. },
  428. chooseMaleLike(e){
  429. this.isMainproCheck = true
  430. this.shopInfo.mainProduct = this.checkLikes(e,this.supplierMedicaCampList)
  431. },
  432. bindPickerChange(e) {
  433. let self = this
  434. uni.showActionSheet({
  435. title:'标题',
  436. itemList: ['医疗', '非医疗'],
  437. success: (e) => {
  438. self.shopInfo.firstShopType = e.tapIndex+1
  439. console.log(self.shopInfo.firstShopType)
  440. switch(e.tapIndex){
  441. case 0:
  442. this.organizationTypeText = '医疗'
  443. break;
  444. case 1:
  445. this.organizationTypeText = '非医疗'
  446. break;
  447. }
  448. }
  449. })
  450. },
  451. showMulLinkageThreePicker() {// 三级联动选择
  452. this.isShowInput = true
  453. this.$refs.mpvueCityPicker.show()
  454. },
  455. showAustomItem() {
  456. this.isShowAustomItem = !this.isShowAustomItem
  457. },
  458. showTextareaFocus(){//文本框获取焦点
  459. this.isShowInput = false
  460. this.textareaFocus = true
  461. },
  462. hideTextareaFocus(){//文本框失去焦点
  463. this.isShowInput = true
  464. this.textareaFocus = false
  465. },
  466. onConfirm(e) {
  467. this.addressText = e.name;
  468. this.shopInfo.townId = e.townCode;
  469. this.shopInfo.cityId = e.cityCode;
  470. this.shopInfo.provinceId = e.provinceCode;
  471. console.log(this.shopInfo)
  472. },
  473. onTextareaInput(e){
  474. this.shopInfo.address = e.detail.value;
  475. },
  476. onBlurInput(e){//
  477. if(e.detail.value ===''){
  478. this.isDisabled = true
  479. }else{
  480. this.isDisabled = false
  481. }
  482. },
  483. agreeCheck() {
  484. this.isCheck = !this.isCheck
  485. if(this.isCheck){
  486. this.shopInfo.isAgreed = 1
  487. }else{
  488. this.shopInfo.isAgreed = 0
  489. }
  490. },
  491. checkLikes(e,list){
  492. let values = e.detail.value
  493. let arr = []
  494. list.forEach(item => {
  495. if(values.indexOf(item.value) >= 0){
  496. this.$set(item,'checked',true)
  497. arr.push(item.name)
  498. }else{
  499. this.$set(item,'checked',false)
  500. }
  501. })
  502. return arr.join('/')
  503. },
  504. setNewMainpro(arr){//回显处理主营内容
  505. let _ARRAY = []
  506. arr.split('/').forEach((item,index) =>{
  507. let _OBJ = {value:(index+1).toString(),name:item,checked:true}
  508. _ARRAY.push(_OBJ)
  509. })
  510. return _ARRAY
  511. },
  512. addCustomItem(){
  513. if(this.customItemValue==''){
  514. this.$util.msg('请输入自定义主营内容',2000);
  515. }else{
  516. let item = {value:`${this.supplierMedicaCampList.length+1}`,name:this.customItemValue,checked:true}
  517. if(this.checkedArray(this.customItemValue,this.supplierMedicaCampList)){
  518. this.$util.msg('主营内容已存在!',2000)
  519. }else{
  520. this.supplierMedicaCampList.push(item)
  521. }
  522. }
  523. },
  524. checkedArray(content,arr){//判断主营内容是否已存在
  525. for(var i in arr){
  526. if(arr[i].name == content){
  527. return true;
  528. }
  529. }
  530. return false;
  531. },
  532. },
  533. onShow() {
  534. if(this.isPreviewImage){
  535. this.isPreviewImage = false
  536. return
  537. }
  538. }
  539. }
  540. </script>
  541. <style lang="scss">
  542. .placeholder{color:#b2b2b2 ;}
  543. .register{
  544. width: 100%;
  545. height: 100%;
  546. box-sizing: border-box;
  547. .register-main{
  548. width: 100%;
  549. height: auto;
  550. position: relative;
  551. .register-title{
  552. width: 100%;
  553. height: 80rpx;
  554. line-height: 80rpx;
  555. background-color: #F7F7F7;
  556. font-size: $font-size-34;
  557. color: $text-color;
  558. text-align: left;
  559. font-weight: bold;
  560. box-sizing: border-box;
  561. padding: 0 24rpx;
  562. margin-bottom: 20rpx;
  563. }
  564. .register-consult{
  565. width: 110rpx;
  566. height: 68rpx;
  567. background:linear-gradient(223deg,rgba(225,86,21,0.6) 0%,rgba(225,86,10,0.3) 100%);
  568. border-radius: 34rpx 0 0 34rpx;
  569. position: absolute;
  570. right: 0;
  571. bottom: 120rpx;
  572. text-align: left;
  573. line-height: 68rpx;
  574. padding-left: 20rpx;
  575. .icon-kefunv{
  576. font-size: 48rpx;
  577. color: #31313B;
  578. float: left;
  579. }
  580. .text{
  581. font-size: $font-size-24;
  582. display: block;
  583. float: left;
  584. width: 60rpx;
  585. line-height: 30rpx;
  586. color: #FFFFFF;
  587. margin-top: 6rpx;
  588. }
  589. }
  590. .register-agree{
  591. display: flex;
  592. flex-direction: column;
  593. align-items: center;
  594. margin: 100rpx 0 20rpx 0;
  595. .agree-text{
  596. .checkbox{
  597. float: left;
  598. margin: 4rpx 6rpx 0 0;
  599. color: #999999;
  600. font-size: $font-size-34;
  601. &.icon-gouxuan{
  602. color: $color-system;
  603. }
  604. }
  605. font-size: $font-size-22;
  606. line-height: 44rpx;
  607. color: #999999;
  608. text{
  609. color:#1890f9;
  610. }
  611. }
  612. }
  613. .register-logo{
  614. width: 100%;
  615. display: flex;
  616. flex-direction: column;
  617. align-items: center;
  618. height: 189rpx;
  619. padding:60rpx 0 40rpx 0;
  620. .logo{
  621. width:467rpx;
  622. height: 189rpx;
  623. display: block;
  624. }
  625. }
  626. &.detailed{
  627. padding-bottom: 330rpx;
  628. }
  629. .register-row{
  630. width: 100%;
  631. height: auto;
  632. padding: 0 24rpx;
  633. margin-bottom: 20rpx;
  634. box-sizing: border-box;
  635. &.text{
  636. font-size: $font-size-20;
  637. line-height: 40rpx;
  638. color: #fea785;
  639. }
  640. &.none{
  641. margin-bottom: 0;
  642. }
  643. .error-title{
  644. line-height: 60rpx;
  645. font-size: $font-size-28;
  646. color: $text-color;
  647. text-align: left;
  648. padding-top: 20rpx;
  649. }
  650. .error-main{
  651. padding: 10rpx 0;
  652. .error-item{
  653. padding:0 20rpx;
  654. margin:10rpx;
  655. background: #F53636;
  656. height: 52rpx;
  657. line-height: 52rpx;
  658. border-radius: 26rpx;
  659. font-size: $font-size-26;
  660. color: #FFFFFF;
  661. text-align: center;
  662. display: inline-block;
  663. }
  664. }
  665. &.login{
  666. display: flex;
  667. }
  668. .register-text{
  669. line-height: 44rpx;
  670. margin-top: 100rpx;
  671. font-size: $font-size-24;
  672. color: #999999;
  673. text-align: justify;
  674. .txt{
  675. margin-right: 15rpx;
  676. }
  677. }
  678. .register-tip{
  679. line-height: 64rpx;
  680. font-size: $font-size-24;
  681. color: #CECECE;
  682. text-align: left;
  683. }
  684. .register-from{
  685. width: 100%;
  686. height: 80rpx;
  687. background: #FFFFFF;
  688. position: relative;
  689. border-bottom: 1px solid #e1e1e1;
  690. .label{
  691. text-align: left;
  692. font-size: $font-size-28;
  693. color:#666666;
  694. line-height: 80rpx;
  695. float: left;
  696. }
  697. .row-input{
  698. width: 500rpx;
  699. padding-left:10rpx;
  700. font-size: $font-size-28;
  701. color: $text-color;
  702. line-height: 80rpx;
  703. float: left;
  704. height: 80rpx;
  705. &.none{
  706. color: #999999;
  707. }
  708. &.picker{
  709. text-align: left;
  710. color: #333333;
  711. }
  712. &.keshi{
  713. width: 550rpx;
  714. }
  715. &.code{
  716. width: 350rpx;
  717. }
  718. &.imgCode{
  719. width: 390rpx;
  720. }
  721. }
  722. .vscodeimg{
  723. width: 160rpx;
  724. height: 80;
  725. float: left;
  726. display: flex;
  727. flex-direction: column;
  728. align-items: center;
  729. border-radius: 6rpx;
  730. margin: 0 10rpx;
  731. image{
  732. width: 150rpx;
  733. height: 68rpx;
  734. border-radius: 6rpx;
  735. }
  736. }
  737. .vscod-refresh{
  738. width: 120rpx;
  739. float: right;
  740. line-height: 80rpx;
  741. .ref-text{
  742. float: left;
  743. font-size: 26rpx;
  744. color: #999999;
  745. }
  746. .icon-shuaxin{
  747. float: left;
  748. font-size: 36rpx;
  749. color: #999999;
  750. margin-right: 10rpx;
  751. }
  752. }
  753. &.imgcode{
  754. width: 410rpx;
  755. float: left;
  756. margin-right: 20rpx;
  757. .row-input{
  758. width: 230rpx;
  759. }
  760. }
  761. .row-btn{
  762. width: 180rpx;
  763. height:64rpx;
  764. float: left;
  765. background: $btn-confirm;
  766. padding: 0;
  767. border-radius: 32rpx;
  768. .row-input{
  769. width: 180rpx;
  770. height: 64rpx;
  771. line-height: 64rpx;
  772. padding: 0;
  773. color: #FFFFFF;
  774. background: $btn-confirm;
  775. text-align: center;
  776. border-radius: 32rpx;
  777. font-size: $font-size-24;
  778. &.other{
  779. width: 180rpx;
  780. background: #F7F7F7;
  781. margin-right: 20rpx;
  782. }
  783. &.none{
  784. background: #F7F7F7;
  785. }
  786. }
  787. &.disabled{
  788. background: #F7F7F7;
  789. .row-input{
  790. background: #F7F7F7;
  791. color: #999999;
  792. }
  793. }
  794. }
  795. &.picker{
  796. width: 100%;
  797. height: 80rpx;
  798. line-height: 80rpx;
  799. .label{
  800. line-height: 80rpx;
  801. }
  802. .row-input{
  803. width: 470rpx;
  804. height: 80rpx;
  805. line-height: 80rpx;
  806. padding-left: 30rpx;
  807. }
  808. }
  809. &.radio{
  810. width: 100%;
  811. border-bottom: none;
  812. .row-input{
  813. width: 25%;
  814. height: 80rpx;
  815. line-height: 80rpx;
  816. padding-left: 0;
  817. }
  818. .row-radio{
  819. float: left;
  820. transform: scale(0.8);
  821. }
  822. .row-text{
  823. text-align: center;
  824. float: left;
  825. font-size: $font-size-24;
  826. }
  827. }
  828. &.group{
  829. width: 100%;
  830. height: auto;
  831. background: #FFFFFF;
  832. margin-top: 30rpx;
  833. border-bottom: none;
  834. .label{
  835. line-height: 76rpx;
  836. }
  837. .row-input{
  838. width: 100%;
  839. height: 80rpx;
  840. line-height: 80rpx;
  841. padding-left: 0;
  842. }
  843. .row-radio{
  844. float: left;
  845. }
  846. .row-text{
  847. width: 100rpx;
  848. text-align: center;
  849. float: left;
  850. }
  851. }
  852. &.btn{
  853. margin-top: 0;
  854. }
  855. .content-class {
  856. margin: 20rpx auto;
  857. display: flex;
  858. flex-flow: row wrap;
  859. justify-content: space-between;
  860. align-items: center;
  861. &.btn{
  862. margin: 0 auto;
  863. margin-left: 116rpx;
  864. }
  865. .row-input{
  866. display: flex;
  867. width: 330rpx;
  868. box-sizing: border-box;
  869. height: 64rpx;
  870. padding:0 24rpx;
  871. text-align: left;
  872. border-radius: 32rpx;
  873. font-size: $font-size-28;
  874. color: $text-color;
  875. border: 1px solid #B2B2B2;
  876. line-height: 64rpx;
  877. }
  878. .confirm-btn{
  879. width: 200rpx;
  880. height: 64rpx;
  881. border-radius: 32rpx;
  882. line-height: 64rpx;
  883. text-align: center;
  884. &.other{
  885. width: 213rpx;
  886. }
  887. &.none{
  888. color: $color-system;
  889. background: #ffe6dc;
  890. }
  891. &.disabled{
  892. color: #999999;
  893. }
  894. }
  895. .item {
  896. width: 155rpx;
  897. height: 60rpx;
  898. font-size:$font-size-28;
  899. line-height: 60rpx;
  900. border-radius:30rpx;
  901. margin: 10rpx;
  902. text-align: center;
  903. box-sizing: border-box;
  904. border: 1rpx solid #EFEFEF;
  905. float: left;
  906. checkbox {
  907. display: none;
  908. }
  909. }
  910. .on {
  911. border-color: $color-system;
  912. color:$color-system;
  913. }
  914. }
  915. }
  916. .row-login{
  917. flex: 1;
  918. font-size: $font-size-28;
  919. color: $text-color;
  920. text-align: left;
  921. }
  922. .row-logincode{
  923. flex: 1;
  924. font-size: $font-size-28;
  925. color: $text-color;
  926. text-align: right;
  927. }
  928. .icon-xiayibu{
  929. width: 80rpx;
  930. height: 80rpx;
  931. position: absolute;
  932. right: 0;
  933. top: 0;
  934. line-height: 80rpx;
  935. text-align: center;
  936. }
  937. &.text-textarea{
  938. background: #FFFFFF;
  939. .textarea{
  940. width: 100%;
  941. min-height: 280rpx;
  942. padding: 24rpx 0;
  943. box-sizing: border-box;
  944. font-size: $font-size-28;
  945. color: $text-color;
  946. z-index: 1;
  947. border-bottom: 1px solid #e1e1e1;
  948. }
  949. .label{
  950. text-align: left;
  951. font-size: $font-size-28;
  952. color:#666666;
  953. line-height: 48rpx;
  954. float: left;
  955. }
  956. .textarea.hide{
  957. opacity: 0;
  958. }
  959. .textarea.show{
  960. color: #999999;
  961. }
  962. }
  963. }
  964. .register-picture{
  965. height: 180rpx;
  966. margin: 30rpx 0;
  967. float: left;
  968. &.zz{
  969. width: 100%;
  970. }
  971. .label{
  972. float: left;
  973. font-size: $font-size-28;
  974. color: #666666;
  975. line-height: 180rpx;
  976. width: 150rpx;
  977. text-align: left;
  978. }
  979. .upload-picture{
  980. float: left;
  981. height: 180rpx;
  982. .upload-none{
  983. width: 180rpx;
  984. height: 180rpx;
  985. text-align: center;
  986. line-height: 180rpx;
  987. color: #999999;
  988. border: 1px solid #999999;
  989. border-radius: 10rpx;
  990. margin: 0 20rpx;
  991. .iconfont{
  992. font-size: 60rpx;
  993. }
  994. }
  995. .upload-image{
  996. width: 180rpx;
  997. height: 180rpx;
  998. border-radius: 6rpx;
  999. margin: 0 20rpx;
  1000. position: relative;
  1001. image{
  1002. width: 180rpx;
  1003. height: 180rpx;
  1004. border-radius: 6rpx;
  1005. }
  1006. .upload-del{
  1007. width: 40rpx;
  1008. height: 40rpx;
  1009. position: absolute;
  1010. top: -20rpx;
  1011. right: -20rpx;
  1012. line-height: 40rpx;
  1013. text-align: center;
  1014. .iconfont{
  1015. font-size: $font-size-32;
  1016. color: #999999;
  1017. }
  1018. }
  1019. }
  1020. }
  1021. }
  1022. .register-input{
  1023. width: 654rpx;
  1024. height: 40rpx;
  1025. padding: 24rpx;
  1026. margin: 0 auto;
  1027. margin-bottom: 60rpx;
  1028. background: #F7F7F7;
  1029. border-radius: 14rpx;
  1030. .input{
  1031. width: 100%;
  1032. height: 100%;
  1033. background: #F7F7F7;
  1034. font-size: $font-size-28;
  1035. line-height: 40rpx;
  1036. color: #333333;
  1037. border-radius: 14rpx;
  1038. }
  1039. }
  1040. .register-fiexd{
  1041. width: 100%;
  1042. height: auto;
  1043. position: fixed;
  1044. bottom: 0;
  1045. left: 0;
  1046. z-index: 999;
  1047. background: #FFFFFF;
  1048. }
  1049. .register-btn{
  1050. width: 600rpx;
  1051. height: 88rpx;
  1052. border-radius: 44rpx;
  1053. font-size: $font-size-28;
  1054. line-height: 88rpx;
  1055. color: #FFFFFF;
  1056. margin: 0 auto;
  1057. text-align: center;
  1058. background: $btn-confirm;
  1059. margin-top: 96rpx;
  1060. &.prev{
  1061. background:#ffe6dc;
  1062. color: $color-system;
  1063. margin-top: 20rpx;
  1064. }
  1065. &.none{
  1066. border: 1px solid $color-system;
  1067. background: #FFFFFF;
  1068. color:$color-system;
  1069. margin-top: 0;
  1070. }
  1071. &.sub{
  1072. margin-top: 0;
  1073. }
  1074. }
  1075. }
  1076. }
  1077. </style>