editcompany.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841
  1. <template>
  2. <view class="center">
  3. <image class='bg' src='../../static/img/liangmai/bg@3x.png'></image>
  4. <!-- <view class=""> -->
  5. <view class="back-btn cuIcon-back" @click="navBack"></view>
  6. <!-- <view class='title1'>入驻</view> -->
  7. <view class="titleUp">
  8. 编辑入驻信息
  9. </view>
  10. <u-form>
  11. <view style='padding-bottom:20px;' class="modular">
  12. <u-form-item label="公司名称" label-width="30%" class="title Regular">
  13. <u-input maxlength='25' v-model="deptList.compName" input-align="right" class="write Medium"
  14. placeholder="请输入公司名称" />
  15. </u-form-item>
  16. <view>
  17. <view class="title Regular" style="margin-top: 15rpx;">主营类型(可多选,必须为真实经营类型)</view>
  18. <view v-for="(item,index) in management" class="choice">
  19. <!-- <u-tag :type="types[index] == null ? 'info' : types[index]" :text="item" show="show"
  20. @click="singleClick(index)"></u-tag> -->
  21. <view :class="!item.checked ? '' : 'types1'" class='types' @click="singleClick(item)">
  22. {{item.name}}
  23. </view>
  24. </view>
  25. </view>
  26. </view>
  27. <view class="modular">
  28. <u-form-item label="标题" label-width="30%" prop="title" class="title Regular">
  29. <u-input maxlength="16" v-model="deptList.title" input-align="right" class="write Regular"
  30. placeholder="用于封面展示,2-16个字" />
  31. </u-form-item>
  32. <u-form-item label-position='top' label="公司简介" label-width="30%" class="title Regular">
  33. <!-- <u-input input-align="right" type="textarea"
  34. /> -->
  35. <view class='companyProfilewrap'>
  36. <textarea class="write Regular companyProfile"
  37. maxlength="60"
  38. placeholder="请输入企业简介,如经营项目、产品类型、企业规模等,10-60个字"
  39. v-model="deptList.companyProfile" name="" id="" cols="10" rows="3">
  40. </textarea>
  41. <view class='companyProfilecontent'>{{deptList.companyProfile.length}}/60个字</view>
  42. </view>
  43. </u-form-item>
  44. </view>
  45. <view class="modular">
  46. <u-form-item label="上传坐标" label-width="30%" class="title Regular">
  47. <text @click='naviageToPage("/pages/grain_pulse/localtion/coordinate")'
  48. class="con-list Regular">{{position.longitude == undefined ? "未上传":'已上传'}}<text
  49. class='tip_text cuIcon-right'></text></text>
  50. </u-form-item>
  51. <u-form-item label="所在区域" label-width="30%" class="title Regular">
  52. <view style='text-align:right;width:100%;padding-right:10px;' v-if='position.province!=undefined'>
  53. {{position.province}}
  54. {{position.city}}
  55. {{position.district}}
  56. </view>
  57. <view style='text-align:right;width:100%;padding-right:10px;' v-if='position.pname!=undefined'>
  58. {{position.pname}}
  59. {{position.cityname}}
  60. {{position.adname}}
  61. </view>
  62. <view style='text-align:right;width:100%;padding-right:10px;' v-if='position.pname==undefined&&position.province==undefined'>
  63. 未上传坐标
  64. </view>
  65. </u-form-item>
  66. <u-form-item label="详细地址" label-width="30%" class="title Regular">
  67. <u-input v-model="deptList.detailedAddress" input-align="right" class="write Regular"
  68. placeholder="如街道和门牌号,2-12个字" maxlength="12" />
  69. </u-form-item>
  70. <view>
  71. <view class="title Regular" style="margin-top: 15rpx;">上传图片</view>
  72. <view v-if="license1 != ''">
  73. <upload :file-list="fileList" class="upload" ref="upload" :action="action" :max-size="maxSize" :max-count="1"
  74. :size-type="['compressed']" @on-success="getImgUrl"
  75. @on-uploaded="isAdd = true" :before-upload="filterFileType"
  76. :options="uploadOptions" @on-preview='onPreview' customBorder='2px dashed #D8DEF7' customBtnFontSize="14" customBtnColor="#6A7282" :customBtnHeight='custombtnheight'
  77. :customBtnWidth='custombtnwidth' customBack='#F9FAFE' :customBtnImage="custombtnimage" :customBtn='custombtn'
  78. :custom="uploadCustom" ></upload>
  79. </view>
  80. <view v-if="license2 != ''">
  81. <upload :file-list="fileList1" class="upload" ref="upload" :action="action" :max-size="maxSize" :max-count="1"
  82. :size-type="['compressed']" @on-success="getImgUrl1"
  83. @on-uploaded="isAdd = true" :before-upload="filterFileType"
  84. :options="uploadOptions1" customBack='#FEF9FA' customBorder='2px dashed #F9D5DC' customBtnFontSize="14" customBtnColor="#6A7282" :customBtnHeight='custombtnheight'
  85. :customBtnWidth='custombtnwidth' :customBtnImage="custombtnimage" :customBtn='custombtn'
  86. :custom="uploadCustom" ></upload>
  87. </view>
  88. </view>
  89. </view>
  90. <!-- :disabled="true" -->
  91. <view style='padding-bottom:10px;' class="modular">
  92. <view class="title Medium">企业概况</view>
  93. <!-- <u-input v-model="value" :type="type" :height="height" :auto-height="autoHeight" placeholder="请输入企业概况,如经营项目、产品类型、企业规模等,不超过300个字" /> -->
  94. <textarea value="" placeholder="请输入企业概况,如经营项目、产品类型、企业规模等,不超过300个字" class="areaText Regular"
  95. v-model="deptList.companyContant" placeholder-style="color:#AFB3BF"/>
  96. <view class="title Regular">添加标签(标签应突出企业特色,最多6个)</view>
  97. <view style='flex-wrap:wrap;width: 100%;' class="flex ">
  98. <view class="forLists" v-for="(item,index) in label" :Key="index">
  99. <u-tag :text="item" mode="dark" class="forList Medium" shape="circle" :show="show"
  100. :closeable="closeable" color="#22C572" @close="closeForList(index)" />
  101. </view>
  102. </view>
  103. <u-tag v-if='label.length<6' text="+" mode="plain" shape="circle" :show="show1" color="#2E2E2D" bg-color="#FFFFFF"
  104. border-color="#F9F9FA" class="add" @click="add"></u-tag>
  105. <view class="addinput addlabel flex" v-if="inputShow">
  106. <u-input class='label' v-model="value" type="type" border focus v-if="inputShow"
  107. placeholder="请输入标签内容,不超过6个字" />
  108. <u-button :type="types" class="inputOk" shape="circle" @click="addinput">确定</u-button>
  109. </view>
  110. </view>
  111. <view style='padding-bottom:10px;' class="modular">
  112. <view class="title Regular">场地照片(图片清晰,最多9张)</view>
  113. <upload :file-list="fileList2" class="upload" ref="upload" :action="action" :max-count="9"
  114. :size-type="['compressed']" @on-success="getImgUrl2" @on-remove="onRemove"
  115. @on-uploaded="isAdd = true" ></upload>
  116. </view>
  117. <view style='padding-bottom:10px;' class="modular">
  118. <view class="title Medium">联系方式</view>
  119. <view v-for="(item,index) in Persons">
  120. <view class="information flex">
  121. <view class="xinxi">
  122. <u-form-item label="姓名" label-width="30%" class="Regular" label-position="top"
  123. style="font-size: 28rpx; color: #71747C;" :border-bottom="topBorder">
  124. <u-input v-model="item.contacts" class="Regular" placeholder="请输入姓名" />
  125. </u-form-item>
  126. </view>
  127. <view class="xinxi">
  128. <u-form-item label="电话" label-width="30%" class="Regular" label-position="top"
  129. style="font-size: 28rpx; color: #71747C;" :border-bottom="topBorder">
  130. <u-input maxlength="15" type="digit" v-model="item.contactsPhone" class="Regular" placeholder="请输入电话" />
  131. </u-form-item>
  132. </view>
  133. <div class="del" @click="delPerson(index)">
  134. <span style="font-size: 46rpx; color: #22C572;">×</span>
  135. </div>
  136. </view>
  137. </view>
  138. <view class="addPerson" @click="addPerson">
  139. <image src="../../static/img/liangmai/jia@3x.png" mode=""
  140. style="width: 26rpx;height: 26rpx;top: 2rpx;"></image>
  141. 添加联系人
  142. </view>
  143. </view>
  144. <view class="modular">
  145. <u-form-item label="邮箱" label-width="30%" class="title Regular">
  146. <u-input v-model="deptList.email" input-align="right" class="write Regular" placeholder="请输入电子邮箱" />
  147. </u-form-item>
  148. <u-form-item label="传真" label-width="30%" class="title Regular" :border-bottom="topBorder">
  149. <u-input v-model="deptList.fax" input-align="right" class="write Regular" placeholder="请输入传真号" />
  150. </u-form-item>
  151. </view>
  152. <u-button @click="submit" class="commit" type="success">提交</u-button>
  153. </u-form>
  154. </view>
  155. </template>
  156. <script>
  157. import {
  158. mapState,
  159. mapMutations
  160. } from 'vuex';
  161. import upload from '@/components/upload.vue';
  162. export default {
  163. components: {
  164. upload
  165. },
  166. name: "buy",
  167. data() {
  168. return {
  169. action: this.$uploadUrl,
  170. maxSize: 50 * 1024 * 1024, //限制文件大小 50M
  171. btnLoading: false,
  172. isAdd: true,
  173. uploadOptions: {
  174. "text": "上传封面图片",
  175. "bgc": ""
  176. },
  177. errorType: ['message'],
  178. uploadOptions1: {
  179. "text": "上传营业执照",
  180. "bgc": ""
  181. },
  182. fileList:[],
  183. mainBusinessType: [],
  184. uploadCustom: true,
  185. deptList: {
  186. compName:'',
  187. title:'',
  188. companyProfile:'',
  189. province:'',
  190. city:'',
  191. area:''
  192. },
  193. management: [{
  194. name: "粮库",
  195. checked: false
  196. },
  197. {
  198. name: "加工厂",
  199. checked: false
  200. },
  201. {
  202. name: "烘干塔",
  203. checked: false
  204. },
  205. {
  206. name: "饲料厂",
  207. checked: false
  208. },
  209. {
  210. name: "养殖场",
  211. checked: false
  212. },
  213. {
  214. name: "粮贸",
  215. checked: false
  216. },
  217. {
  218. name: "期货",
  219. checked: false
  220. },
  221. ],
  222. types: [],
  223. show: false,
  224. // anNiuCss:"types",
  225. anNiuCss: [],
  226. position:{
  227. province:''
  228. },
  229. custombtn:true,
  230. custombtnimage:'../../static/img/liangmai/ic_shanchuan@3x.png',
  231. custombtnwidth:50,
  232. custombtnheight:50,
  233. license1: "../../static/img/authentication/business@3x.png",
  234. license2: "../../static/img/authentication/business@3x.png",
  235. label: [],
  236. closeable: true,
  237. show: true,
  238. show1: true,
  239. types: "",
  240. inputShow: false,
  241. value: "", //临时标签内容字段 后期更换
  242. action: 'https://www.zthymaoyi.com/upload/admin',
  243. fileList1: [],
  244. imgList: [],
  245. fileList2: [],
  246. Persons: [{contacts:'',contactsPhone:''}],
  247. topBorder: false,
  248. }
  249. },
  250. onLoad(options) {
  251. if(options.id){
  252. this.id=options.id
  253. }else if(this.$store.state.enter.id){
  254. this.id=this.$store.state.enter.id
  255. }
  256. if(options.position){
  257. this.position=JSON.parse(options.position)
  258. this.position.city=this.position.city.toString()
  259. }
  260. },
  261. onShow() {
  262. console.log(11111)
  263. this.getList()
  264. if(this.$store.state.enter){
  265. this.deptList.compName=this.$store.state.enter.compName
  266. this.deptList.title=this.$store.state.enter.title
  267. if(this.$store.state.enter.mainBusinessType){
  268. this.mainBusinessType=this.$store.state.enter.mainBusinessType.split(',')
  269. if(this.mainBusinessType.length>0){
  270. for(var i=0;i<this.management.length;i++){
  271. if(this.mainBusinessType.indexOf(this.management[i].name)!=-1){
  272. this.management[i].checked=true
  273. }
  274. }
  275. }
  276. }
  277. if(this.$store.state.enter.companyProfile){
  278. this.deptList.companyProfile=this.$store.state.enter.companyProfile
  279. }
  280. }
  281. },
  282. computed: {
  283. ...mapState(['hasLogin', 'userInfo'])
  284. },
  285. methods: {
  286. onPreview(res,list){
  287. console.log(res,list,11111)
  288. },
  289. getImgUrl(res) {
  290. console.log(res)
  291. this.deptList.attachmentAddress = res
  292. },
  293. getList(){
  294. this.isLoadMore=true
  295. this.$api.doRequest('get','/settledCompanyInfo/getSettledCompanyInfo',{id:this.id}).then(res => {
  296. if(res.data.code==200){
  297. this.isLoadMore=false
  298. this.deptList=res.data.data
  299. this.position.latitude=this.deptList.latitude
  300. this.position.longitude=this.deptList.longitude
  301. this.position.province=this.deptList.province
  302. this.position.city=this.deptList.city
  303. this.position.district=this.deptList.area
  304. this.mainBusinessType=this.deptList.mainBusinessType.split(',')
  305. if(this.mainBusinessType.length>0){
  306. for(var i=0;i<this.management.length;i++){
  307. if(this.mainBusinessType.indexOf(this.management[i].name)!=-1){
  308. this.management[i].checked=true
  309. }
  310. }
  311. }
  312. this.fileList=[{url:this.deptList.attachmentAddress}]
  313. this.fileList1=[{url:this.deptList.licenseAddress}]
  314. console.log(this.fileList)
  315. if(this.deptList.label.indexOf(',')!=-1){
  316. this.label=this.deptList.label.split(',')
  317. }else{
  318. this.label=this.deptList.label
  319. }
  320. if(this.deptList.sitePhotoAddress.indexOf(',')!=-1){
  321. this.imgList=this.deptList.sitePhotoAddress.split(',')
  322. }else{
  323. this.imgList=[this.deptList.sitePhotoAddress]
  324. }
  325. for(var i=0;i<this.imgList.length;i++){
  326. this.fileList2.push({url:this.imgList[i]})
  327. }
  328. this.Persons=this.deptList.settledCompanyContacts
  329. }
  330. })
  331. },
  332. naviageToPage(item) {
  333. // console.log(this.enter)
  334. var data={
  335. compName:this.deptList.compName,
  336. title:this.deptList.title,
  337. mainBusinessType:this.mainBusinessType.toString(),
  338. companyProfile:this.deptList.companyProfile,
  339. id:this.id
  340. }
  341. console.log(this.$store)
  342. this.$store.commit('enterchange',data)
  343. // this.$store.dispatch('enterchange',data)
  344. // this.enterchange()
  345. var mainBusinessType=this.mainBusinessType.toString()
  346. uni.navigateTo({
  347. url: item
  348. })
  349. },
  350. getImgUrl1(res) {
  351. console.log(res)
  352. this.deptList.licenseAddress = res
  353. },
  354. singleClick(item) {
  355. if (this.mainBusinessType.indexOf(item) == -1) {
  356. this.mainBusinessType.push(item.name)
  357. item.checked = true
  358. }
  359. },
  360. filterFileType(index, lists) {
  361. if (lists[index].fileType != 'jpg' && lists[index].fileType != 'png' && lists[index].fileType != 'gif') {
  362. lists.splice(index, 1);
  363. // 当前文件不支持
  364. uni.showModal({
  365. title: '暂不支持当前图片类型',
  366. showCancel: false
  367. });
  368. } else {
  369. this.isAdd = false;
  370. }
  371. },
  372. navBack() {
  373. uni.navigateBack()
  374. },
  375. navBack1() {
  376. this.$api.doRequest('post', '/settledCompanyInfo/api/addSettledCompanyInfo', this.deptList).then(res => {
  377. if (res.data.code == 200) {
  378. var data={
  379. compName:'',
  380. title:'',
  381. mainBusinessType:'',
  382. companyProfile:'',
  383. }
  384. that.$store.commit('enterchange',data)
  385. uni.switchTab({
  386. url:'/pages/grain_pulse/home'
  387. })
  388. }
  389. })
  390. },
  391. upload() {
  392. uni.navigateTo({
  393. url: `/`
  394. })
  395. },
  396. perfect() {
  397. this.show=false
  398. uni.navigateTo({
  399. url: `/pages/grain_pulse/perfect?deptList=`+JSON.stringify(this.deptList)
  400. })
  401. },
  402. add() {
  403. if (this.label.length >= 6) {
  404. this.inputShow = false
  405. } else {
  406. this.inputShow = true
  407. }
  408. },
  409. getImgUrl2(res) {
  410. console.log(res)
  411. this.imgList.push(res);
  412. },
  413. addinput() {
  414. if (!this.value) {
  415. this.$api.msg('标签内容不能为空')
  416. return
  417. }
  418. if (this.value.length < 2 || this.value.length > 6) {
  419. this.$api.msg('标签内容输入有误')
  420. return
  421. }
  422. this.label.push(this.value)
  423. this.value = ""
  424. this.inputShow = false
  425. },
  426. addPerson() {
  427. this.Persons.push({
  428. name: "",
  429. phone: "",
  430. })
  431. },
  432. delPerson(index) {
  433. this.Persons.splice(index, 1)
  434. },
  435. closeForList(index) {
  436. this.label.splice(index, 1)
  437. },
  438. onRemove(e) {
  439. this.imgList.splice(e, 1)
  440. },
  441. uploadSuccess(e) {
  442. this.imgList.push(e.url)
  443. },
  444. submit() {
  445. var that = this
  446. if (!this.deptList.compName) {
  447. this.$api.msg('公司名称不能为空')
  448. return
  449. }
  450. if (this.mainBusinessType.length==0) {
  451. this.$api.msg('至少选择一个主营类型')
  452. return
  453. }
  454. if (!this.deptList.title) {
  455. this.$api.msg('标题不能为空')
  456. return
  457. }
  458. if (!this.deptList.companyProfile) {
  459. this.$api.msg('企业简介不能为空')
  460. return
  461. }
  462. if (!this.position.longitude&&!this.position.latitude) {
  463. this.$api.msg('上传坐标不能为空')
  464. return
  465. }
  466. if (!this.deptList.detailedAddress) {
  467. this.$api.msg('详细地址不能为空')
  468. return
  469. }
  470. if (!this.deptList.attachmentAddress) {
  471. this.$api.msg('封面照片不能为空')
  472. return
  473. }
  474. if (!this.deptList.licenseAddress) {
  475. this.$api.msg('营业执照不能为空')
  476. return
  477. }
  478. if (this.deptList.compName.length<2||this.deptList.compName.length>25) {
  479. this.$api.msg('公司名称输入错误')
  480. return
  481. }
  482. if (this.deptList.title.length<2||this.deptList.title.length>16) {
  483. this.$api.msg('标题长度2-16个字')
  484. return
  485. }
  486. if (this.deptList.companyProfile.length<10||this.deptList.companyProfile.length>60) {
  487. this.$api.msg('简介长度10-60个字')
  488. return
  489. }
  490. if (this.deptList.detailedAddress.length<2||this.deptList.detailedAddress.length>12) {
  491. this.$api.msg('详细地址2-12个字')
  492. return
  493. }
  494. // this.show = true
  495. // return
  496. this.deptList.mainBusinessType=this.mainBusinessType.toString()
  497. this.deptList.longitude=this.position.longitude
  498. this.deptList.latitude=this.position.latitude
  499. if(this.position.province!=undefined){
  500. this.deptList.province=this.position.province
  501. this.deptList.city=this.position.city
  502. this.deptList.area=this.position.district
  503. }else if(this.position.pname!=undefined){
  504. this.deptList.province=this.position.pname
  505. this.deptList.city=this.position.cityname
  506. this.deptList.area=this.position.adname
  507. }
  508. this.deptList.createPhone=this.userInfo.phone
  509. let re = /^\w+@[a-zA-Z0-9]{2,10}(?:\.[a-z]{2,4}){1,3}$/;
  510. for(var i=0;i<this.Persons.length;i++){
  511. if(this.Persons[i].contacts.length<2||this.Persons[i].contacts.length>10){
  512. this.$api.msg('联系人姓名2-10个字')
  513. return
  514. }
  515. if(this.Persons[i].contactsPhone.length<2||this.Persons[i].contactsPhone.length>15){
  516. this.$api.msg('联系人电话7-15位数字')
  517. return
  518. }
  519. }
  520. if(!re.test(this.deptList.email)){
  521. this.$api.msg('邮箱输入错误')
  522. return
  523. }
  524. if(this.deptList.fax.length<6||this.deptList.fax.length>20){
  525. this.$api.msg('传真输入错误')
  526. return
  527. }
  528. this.deptList.label=this.label.toString()
  529. this.deptList.sitePhotoAddress=this.imgList.toString()
  530. this.deptList.settledCompanyContacts=this.Persons
  531. uni.showModal({
  532. content: "详尽的企业信息有助于客户了解您的企业,是否确定提交?",
  533. showCancel: true,
  534. confirmText: '确定',
  535. success: function(res) {
  536. if (res.confirm) {
  537. that.$api.doRequest('post','/settledCompanyInfo/api/editSettledCompanyInfo',that.deptList).then(res => {
  538. if(res.data.code==200){
  539. this.$api.msg('提交成功')
  540. }else{
  541. this.$api.msg(res.data.message)
  542. }
  543. })
  544. }
  545. },
  546. })
  547. }
  548. }
  549. }
  550. </script>
  551. <style lang='scss' scoped>
  552. .center {
  553. padding: 10rpx 20rpx;
  554. width: 100vw;
  555. height: 100vh;
  556. overflow: scroll;
  557. position:relative;z-index:2;
  558. }
  559. .bg{
  560. position:absolute;
  561. width:100%;
  562. left: 0;
  563. top:0;
  564. }
  565. .c-row {
  566. display: -webkit-box;
  567. display: -webkit-flex;
  568. display: flex;
  569. -webkit-box-align: center;
  570. -webkit-align-items: center;
  571. align-items: center;
  572. padding: 20rpx 30rpx;
  573. position: relative;
  574. }
  575. .con-list {
  576. -webkit-box-flex: 1;
  577. -webkit-flex: 1;
  578. flex: 1;
  579. display: -webkit-box;
  580. display: -webkit-flex;
  581. display: flex;
  582. -webkit-box-orient: vertical;
  583. -webkit-box-direction: normal;
  584. -webkit-flex-direction: column;
  585. flex-direction: column;
  586. line-height: 40rpx;
  587. text-align: right;
  588. padding-right: 20rpx;
  589. font-size: 14px;
  590. }
  591. .con-list input {
  592. font-size: 14px !important;
  593. }
  594. .back-btn {
  595. position: absolute;
  596. left: 40upx;
  597. z-index: 9999;
  598. padding-top: var(--status-bar-height);
  599. top: 40upx;
  600. font-size: 40upx;
  601. color: #fff;
  602. }
  603. .title1 {
  604. position: absolute;
  605. left: 50%;
  606. transform: translateX(-50%);
  607. top: 40upx;
  608. padding-top: var(--status-bar-height);
  609. z-index: 9999;
  610. color: #fff;
  611. font-size: 36rpx;
  612. }
  613. .forList{
  614. height: 32px;
  615. background-color: #F4FAF8;
  616. padding: 10px 15px;
  617. color: #22C572;
  618. margin-left: 12px;
  619. text-align: center;
  620. }
  621. .choice {
  622. margin-top: 10px;
  623. display: inline-block;
  624. }
  625. .title {
  626. color: #71747C;
  627. }
  628. .types {
  629. background-color: #F4FAF8;
  630. text-align: center;
  631. border-radius: 20px;
  632. margin-left: 5px;
  633. padding:8px 19px;
  634. }
  635. .types1 {
  636. background-color: #22C572;
  637. text-align: center;
  638. border-radius: 20px;
  639. color: #FFFFFF;
  640. }
  641. .write {
  642. margin-right: 20px;
  643. color: #71747C;
  644. }
  645. .commit {
  646. margin-top: 20px;
  647. border: 0px;
  648. border-radius: 20px;
  649. }
  650. .modular {
  651. background-color: #FFFFFF;
  652. border-radius: 10px;
  653. margin-top: 10px;
  654. position:relative;z-index:2;
  655. padding:0 12.5px;
  656. }
  657. .forList {
  658. margin-top: 20px;
  659. }
  660. .titleUp {
  661. color: #FFFFFF;
  662. font-size: 44rpx;
  663. margin-top: 80px;
  664. margin-left: 10px;
  665. position: relative;
  666. z-index:2;
  667. }
  668. .upload {
  669. text-align: center;
  670. margin: 20px 0;
  671. margin-bottom: 20px;
  672. }
  673. .popups {
  674. width: 280px;
  675. height: 290px;
  676. border-radius: 20px;
  677. }
  678. .successImg {
  679. width: 90px;
  680. height: 90px;
  681. margin: 30px auto;
  682. }
  683. .successText {
  684. text-align: center;
  685. margin: 0 auto;
  686. font-size: 16px;
  687. }
  688. .companyProfilewrap{
  689. position:relative;
  690. width:100%;
  691. }
  692. .companyProfile{
  693. width:90%;height:138px;
  694. background:#F9F9FA;
  695. font-size:13px;
  696. padding:13px;
  697. border-radius:5px;
  698. }
  699. .companyProfilecontent{
  700. position:absolute;
  701. bottom:10px;
  702. right:15px;
  703. font-size:13px;
  704. }
  705. .label{
  706. padding-right:30px;
  707. border:none;
  708. }
  709. .title {
  710. margin-left: 20rpx;
  711. color: #333333;
  712. line-height: 70rpx;
  713. }
  714. .write {
  715. margin-right: 20px;
  716. color: #71747C;
  717. }
  718. .modular {
  719. background-color: #FFFFFF;
  720. border-radius: 12px;
  721. margin-top: 10px;
  722. }
  723. .areaText {
  724. width: 83%;
  725. padding: 30rpx;
  726. border: 2rpx solid #F9F9FA;
  727. background-color: #F9F9FA;
  728. margin: 10rpx auto 20rpx;
  729. border-radius: 20rpx;
  730. color: #AFB3BF;
  731. font-size: 28rpx;
  732. }
  733. .add {
  734. padding: 15rpx 30rpx;
  735. width: 120rpx;
  736. height: 65rpx;
  737. text-align: center;
  738. margin-left: 24rpx;
  739. font-size: 30rpx;
  740. font-weight: 600;
  741. margin-bottom: 10rpx;
  742. border:1px solid #DCDDDC;
  743. }
  744. .forLists {
  745. margin-bottom: 10rpx;
  746. }
  747. .addinput {
  748. width: 70%;
  749. margin: 20rpx auto;
  750. border-radius: 50rpx;
  751. }
  752. .addlabel{
  753. background:#F6F6F6;
  754. position:relative;
  755. border-radius: 50rpx;height: 70rpx;font-size: 10px;
  756. padding-right:40px;
  757. line-height: 52rpx;
  758. margin-bottom:10px;
  759. }
  760. .inputOk {
  761. width: 100rpx;
  762. border-radius: 40rpx;
  763. background-color: #E9EAE9;
  764. color: #FFFFFF;
  765. height:70rpx;
  766. border: none;
  767. position:absolute;
  768. right:0;
  769. }
  770. .picture {
  771. width: 144rpx;
  772. height: 144rpx;
  773. border: 4rpx dashed #AFB3BF;
  774. }
  775. .upload {
  776. text-align: center;
  777. margin: 0px 0;
  778. margin-bottom: 10px;
  779. }
  780. .addPerson {
  781. width: 230rpx;
  782. height: 80rpx;
  783. line-height: 80rpx;
  784. text-align: center;
  785. border: 2rpx solid #979797;
  786. border-radius: 40rpx;
  787. margin: 20rpx auto 20rpx;
  788. }
  789. .information {
  790. background-color: #F4FAF8;
  791. width: 96%;
  792. height: 180rpx;
  793. margin: 0 auto;
  794. border: 1rpx dashed #22C572;
  795. border-radius: 10rpx;
  796. margin-top: 30rpx;
  797. }
  798. .xinxi {
  799. margin-left: 70rpx;
  800. }
  801. .del {
  802. justify-content: flex-end;
  803. margin: 10rpx 20rpx 0 0;
  804. }
  805. </style>