editcompany.vue 23 KB

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