editcompany.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830
  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. }
  254. this.getList()
  255. },
  256. onShow() {
  257. console.log(uni.getStorageSync('position'))
  258. if(uni.getStorageSync('position')!=''){
  259. this.position=uni.getStorageSync('position')
  260. this.position.city=this.position.city.toString()
  261. }
  262. // if(this.$store.state.enter){
  263. // this.deptList.compName=this.$store.state.enter.compName
  264. // this.deptList.title=this.$store.state.enter.title
  265. // if(this.$store.state.enter.mainBusinessType){
  266. // this.mainBusinessType=this.$store.state.enter.mainBusinessType.split(',')
  267. // if(this.mainBusinessType.length>0){
  268. // for(var i=0;i<this.management.length;i++){
  269. // if(this.mainBusinessType.indexOf(this.management[i].name)!=-1){
  270. // this.management[i].checked=true
  271. // }
  272. // }
  273. // }
  274. // }
  275. // if(this.$store.state.enter.companyProfile){
  276. // this.deptList.companyProfile=this.$store.state.enter.companyProfile
  277. // }
  278. // }
  279. },
  280. computed: {
  281. ...mapState(['hasLogin', 'userInfo'])
  282. },
  283. methods: {
  284. onPreview(res,list){
  285. console.log(res,list,11111)
  286. },
  287. getImgUrl(res) {
  288. console.log(res)
  289. this.deptList.attachmentAddress = res
  290. },
  291. getList(){
  292. this.isLoadMore=true
  293. this.$api.doRequest('get','/settledCompanyInfo/getSettledCompanyInfo',{id:this.id}).then(res => {
  294. if(res.data.code==200){
  295. this.isLoadMore=false
  296. this.deptList=res.data.data
  297. this.position.latitude=this.deptList.latitude
  298. this.position.longitude=this.deptList.longitude
  299. this.position.province=this.deptList.province
  300. this.position.city=this.deptList.city
  301. this.position.district=this.deptList.area
  302. this.mainBusinessType=this.deptList.mainBusinessType.split(',')
  303. if(this.mainBusinessType.length>0){
  304. for(var i=0;i<this.management.length;i++){
  305. if(this.mainBusinessType.indexOf(this.management[i].name)!=-1){
  306. this.management[i].checked=true
  307. }
  308. }
  309. }
  310. this.fileList=[{url:this.deptList.attachmentAddress}]
  311. this.fileList1=[{url:this.deptList.licenseAddress}]
  312. console.log(this.fileList)
  313. if(this.deptList.label.indexOf(',')!=-1){
  314. this.label=this.deptList.label.split(',')
  315. }else{
  316. this.label=[this.deptList.label]
  317. }
  318. if(this.deptList.sitePhotoAddress.indexOf(',')!=-1){
  319. this.imgList=this.deptList.sitePhotoAddress.split(',')
  320. }else{
  321. this.imgList=[this.deptList.sitePhotoAddress]
  322. }
  323. console.log("this.imgList",this.imgList)
  324. for(var i=0;i<this.imgList.length;i++){
  325. if(this.imgList[i]){
  326. this.fileList2.push({url:this.imgList[i]})
  327. }
  328. }
  329. this.Persons=this.deptList.settledCompanyContacts
  330. }
  331. })
  332. },
  333. naviageToPage(item) {
  334. // console.log(this.enter)
  335. var data={
  336. compName:this.deptList.compName,
  337. title:this.deptList.title,
  338. mainBusinessType:this.mainBusinessType.toString(),
  339. companyProfile:this.deptList.companyProfile,
  340. id:this.id
  341. }
  342. console.log(this.$store)
  343. this.$store.commit('enterchange',data)
  344. // this.$store.dispatch('enterchange',data)
  345. // this.enterchange()
  346. var mainBusinessType=this.mainBusinessType.toString()
  347. uni.navigateTo({
  348. url: item
  349. })
  350. },
  351. getImgUrl1(res) {
  352. console.log(res)
  353. this.deptList.licenseAddress = res
  354. },
  355. singleClick(item) {
  356. if (this.mainBusinessType.indexOf(item) == -1) {
  357. this.mainBusinessType.push(item.name)
  358. item.checked = true
  359. }
  360. },
  361. filterFileType(index, lists) {
  362. if (lists[index].fileType != 'jpg' && lists[index].fileType != 'png' && lists[index].fileType != 'gif') {
  363. lists.splice(index, 1);
  364. // 当前文件不支持
  365. uni.showModal({
  366. title: '暂不支持当前图片类型',
  367. showCancel: false
  368. });
  369. } else {
  370. this.isAdd = false;
  371. }
  372. },
  373. navBack() {
  374. uni.navigateBack()
  375. },
  376. upload() {
  377. uni.navigateTo({
  378. url: `/`
  379. })
  380. },
  381. perfect() {
  382. this.show=false
  383. uni.navigateTo({
  384. url: `/pages/grain_pulse/perfect?deptList=`+JSON.stringify(this.deptList)
  385. })
  386. },
  387. add() {
  388. if (this.label.length >= 6) {
  389. this.inputShow = false
  390. } else {
  391. this.inputShow = true
  392. }
  393. },
  394. getImgUrl2(res) {
  395. console.log(res)
  396. this.imgList.push(res);
  397. },
  398. addinput() {
  399. if (!this.value) {
  400. this.$api.msg('标签内容不能为空')
  401. return
  402. }
  403. if (this.value.length < 2 || this.value.length > 6) {
  404. this.$api.msg('标签内容输入有误')
  405. return
  406. }
  407. this.label.push(this.value)
  408. this.value = ""
  409. this.inputShow = false
  410. },
  411. addPerson() {
  412. this.Persons.push({
  413. name: "",
  414. phone: "",
  415. })
  416. },
  417. delPerson(index) {
  418. this.Persons.splice(index, 1)
  419. },
  420. closeForList(index) {
  421. this.label.splice(index, 1)
  422. },
  423. onRemove(e) {
  424. this.imgList.splice(e, 1)
  425. },
  426. uploadSuccess(e) {
  427. this.imgList.push(e.url)
  428. },
  429. submit() {
  430. var that = this
  431. if (!this.deptList.compName) {
  432. this.$api.msg('公司名称不能为空')
  433. return
  434. }
  435. if (this.mainBusinessType.length==0) {
  436. this.$api.msg('至少选择一个主营类型')
  437. return
  438. }
  439. if (!this.deptList.title) {
  440. this.$api.msg('标题不能为空')
  441. return
  442. }
  443. if (!this.deptList.companyProfile) {
  444. this.$api.msg('企业简介不能为空')
  445. return
  446. }
  447. if (!this.position.longitude&&!this.position.latitude) {
  448. this.$api.msg('上传坐标不能为空')
  449. return
  450. }
  451. if (!this.deptList.detailedAddress) {
  452. this.$api.msg('详细地址不能为空')
  453. return
  454. }
  455. if (!this.deptList.attachmentAddress) {
  456. this.$api.msg('封面照片不能为空')
  457. return
  458. }
  459. if (!this.deptList.licenseAddress) {
  460. this.$api.msg('营业执照不能为空')
  461. return
  462. }
  463. if (this.deptList.compName.length<2||this.deptList.compName.length>25) {
  464. this.$api.msg('公司名称输入错误')
  465. return
  466. }
  467. if (this.deptList.title.length<2||this.deptList.title.length>16) {
  468. this.$api.msg('标题长度2-16个字')
  469. return
  470. }
  471. if (this.deptList.companyProfile.length<10||this.deptList.companyProfile.length>60) {
  472. this.$api.msg('简介长度10-60个字')
  473. return
  474. }
  475. if (this.deptList.detailedAddress.length<2||this.deptList.detailedAddress.length>12) {
  476. this.$api.msg('详细地址2-12个字')
  477. return
  478. }
  479. // this.show = true
  480. // return
  481. this.deptList.mainBusinessType=this.mainBusinessType.toString()
  482. this.deptList.longitude=this.position.longitude
  483. this.deptList.latitude=this.position.latitude
  484. if(this.position.province!=undefined){
  485. this.deptList.province=this.position.province
  486. this.deptList.city=this.position.city
  487. this.deptList.area=this.position.district
  488. }else if(this.position.pname!=undefined){
  489. this.deptList.province=this.position.pname
  490. this.deptList.city=this.position.cityname
  491. this.deptList.area=this.position.adname
  492. }
  493. this.deptList.createPhone=this.userInfo.phone
  494. let re = /^\w+@[a-zA-Z0-9]{2,10}(?:\.[a-z]{2,4}){1,3}$/;
  495. for(var i=0;i<this.Persons.length;i++){
  496. if(this.Persons[i].contacts.length<2||this.Persons[i].contacts.length>10){
  497. this.$api.msg('联系人姓名2-10个字')
  498. return
  499. }
  500. if(this.Persons[i].contactsPhone.length<2||this.Persons[i].contactsPhone.length>15){
  501. this.$api.msg('联系人电话7-15位数字')
  502. return
  503. }
  504. }
  505. // if(!re.test(this.deptList.email)){
  506. // this.$api.msg('邮箱输入错误')
  507. // return
  508. // }
  509. // if(this.deptList.fax && (this.deptList.fax.length<6||this.deptList.fax.length>20)){
  510. // this.$api.msg('传真输入错误')
  511. // return
  512. // }
  513. this.deptList.label=this.label.toString()
  514. this.deptList.sitePhotoAddress=this.imgList.toString()
  515. this.deptList.settledCompanyContacts=this.Persons
  516. uni.showModal({
  517. content: "详尽的企业信息有助于客户了解您的企业,是否确定提交?",
  518. showCancel: true,
  519. confirmText: '确定',
  520. success: function(res) {
  521. if (res.confirm) {
  522. that.$api.doRequest('post','/settledCompanyInfo/api/editSettledCompanyInfo',that.deptList).then(res => {
  523. if(res.data.code==200){
  524. that.$api.msg('提交成功')
  525. uni.navigateBack({
  526. })
  527. }else{
  528. that.$api.msg(res.data.message)
  529. }
  530. })
  531. }
  532. },
  533. })
  534. }
  535. }
  536. }
  537. </script>
  538. <style lang='scss' scoped>
  539. .center {
  540. padding: 10rpx 20rpx;
  541. width: 100vw;
  542. height: 100vh;
  543. overflow: scroll;
  544. position:relative;z-index:2;
  545. }
  546. .bg{
  547. position:absolute;
  548. width:100%;
  549. left: 0;
  550. top:0;
  551. }
  552. .c-row {
  553. display: -webkit-box;
  554. display: -webkit-flex;
  555. display: flex;
  556. -webkit-box-align: center;
  557. -webkit-align-items: center;
  558. align-items: center;
  559. padding: 20rpx 30rpx;
  560. position: relative;
  561. }
  562. .con-list {
  563. -webkit-box-flex: 1;
  564. -webkit-flex: 1;
  565. flex: 1;
  566. display: -webkit-box;
  567. display: -webkit-flex;
  568. display: flex;
  569. -webkit-box-orient: vertical;
  570. -webkit-box-direction: normal;
  571. -webkit-flex-direction: column;
  572. flex-direction: column;
  573. line-height: 40rpx;
  574. text-align: right;
  575. padding-right: 20rpx;
  576. font-size: 14px;
  577. }
  578. .con-list input {
  579. font-size: 14px !important;
  580. }
  581. .back-btn {
  582. position: absolute;
  583. left: 40upx;
  584. z-index: 9999;
  585. padding-top: var(--status-bar-height);
  586. top: 40upx;
  587. font-size: 40upx;
  588. color: #fff;
  589. }
  590. .title1 {
  591. position: absolute;
  592. left: 50%;
  593. transform: translateX(-50%);
  594. top: 40upx;
  595. padding-top: var(--status-bar-height);
  596. z-index: 9999;
  597. color: #fff;
  598. font-size: 36rpx;
  599. }
  600. .forList{
  601. height: 32px;
  602. background-color: #F4FAF8;
  603. padding: 10px 15px;
  604. color: #22C572;
  605. margin-left: 12px;
  606. text-align: center;
  607. }
  608. .choice {
  609. margin-top: 10px;
  610. display: inline-block;
  611. }
  612. .title {
  613. color: #71747C;
  614. }
  615. .types {
  616. background-color: #F4FAF8;
  617. text-align: center;
  618. border-radius: 20px;
  619. margin-left: 5px;
  620. padding:8px 19px;
  621. }
  622. .types1 {
  623. background-color: #22C572;
  624. text-align: center;
  625. border-radius: 20px;
  626. color: #FFFFFF;
  627. }
  628. .write {
  629. margin-right: 20px;
  630. color: #71747C;
  631. }
  632. .commit {
  633. margin-top: 20px;
  634. border: 0px;
  635. border-radius: 20px;
  636. }
  637. .modular {
  638. background-color: #FFFFFF;
  639. border-radius: 10px;
  640. margin-top: 10px;
  641. position:relative;z-index:2;
  642. padding:0 12.5px;
  643. }
  644. .forList {
  645. margin-top: 20px;
  646. }
  647. .titleUp {
  648. color: #FFFFFF;
  649. font-size: 44rpx;
  650. margin-top: 80px;
  651. margin-left: 10px;
  652. position: relative;
  653. z-index:2;
  654. }
  655. .upload {
  656. text-align: center;
  657. margin: 20px 0;
  658. margin-bottom: 20px;
  659. }
  660. .popups {
  661. width: 280px;
  662. height: 290px;
  663. border-radius: 20px;
  664. }
  665. .successImg {
  666. width: 90px;
  667. height: 90px;
  668. margin: 30px auto;
  669. }
  670. .successText {
  671. text-align: center;
  672. margin: 0 auto;
  673. font-size: 16px;
  674. }
  675. .companyProfilewrap{
  676. position:relative;
  677. width:100%;
  678. }
  679. .companyProfile{
  680. width:90%;height:138px;
  681. background:#F9F9FA;
  682. font-size:13px;
  683. padding:13px;
  684. border-radius:5px;
  685. }
  686. .companyProfilecontent{
  687. position:absolute;
  688. bottom:10px;
  689. right:15px;
  690. font-size:13px;
  691. }
  692. .label{
  693. padding-right:30px;
  694. border:none;
  695. }
  696. .title {
  697. margin-left: 20rpx;
  698. color: #333333;
  699. line-height: 70rpx;
  700. }
  701. .write {
  702. margin-right: 20px;
  703. color: #71747C;
  704. }
  705. .modular {
  706. background-color: #FFFFFF;
  707. border-radius: 12px;
  708. margin-top: 10px;
  709. }
  710. .areaText {
  711. width: 83%;
  712. padding: 30rpx;
  713. border: 2rpx solid #F9F9FA;
  714. background-color: #F9F9FA;
  715. margin: 10rpx auto 20rpx;
  716. border-radius: 20rpx;
  717. color: #AFB3BF;
  718. font-size: 28rpx;
  719. }
  720. .add {
  721. padding: 15rpx 30rpx;
  722. width: 120rpx;
  723. height: 65rpx;
  724. text-align: center;
  725. margin-left: 24rpx;
  726. font-size: 30rpx;
  727. font-weight: 600;
  728. margin-bottom: 10rpx;
  729. border:1px solid #DCDDDC;
  730. }
  731. .forLists {
  732. margin-bottom: 10rpx;
  733. }
  734. .addinput {
  735. width: 70%;
  736. margin: 20rpx auto;
  737. border-radius: 50rpx;
  738. }
  739. .addlabel{
  740. background:#F6F6F6;
  741. position:relative;
  742. border-radius: 50rpx;height: 70rpx;font-size: 10px;
  743. padding-right:40px;
  744. line-height: 52rpx;
  745. margin-bottom:10px;
  746. }
  747. .inputOk {
  748. width: 100rpx;
  749. border-radius: 40rpx;
  750. background-color: #22C572;
  751. color: #FFFFFF;
  752. height:70rpx;
  753. border: none;
  754. position:absolute;
  755. right:0;
  756. }
  757. .picture {
  758. width: 144rpx;
  759. height: 144rpx;
  760. border: 4rpx dashed #AFB3BF;
  761. }
  762. .upload {
  763. text-align: center;
  764. margin: 0px 0;
  765. margin-bottom: 10px;
  766. }
  767. .addPerson {
  768. width: 230rpx;
  769. height: 80rpx;
  770. line-height: 80rpx;
  771. text-align: center;
  772. border: 2rpx solid #979797;
  773. border-radius: 40rpx;
  774. margin: 20rpx auto 20rpx;
  775. }
  776. .information {
  777. background-color: #F4FAF8;
  778. width: 96%;
  779. height: 180rpx;
  780. margin: 0 auto;
  781. border: 1rpx dashed #22C572;
  782. border-radius: 10rpx;
  783. margin-top: 30rpx;
  784. }
  785. .xinxi {
  786. margin-left: 70rpx;
  787. }
  788. .del {
  789. justify-content: flex-end;
  790. margin: 10rpx 20rpx 0 0;
  791. }
  792. </style>