editcompany.vue 23 KB

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