supplierManageAdd.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796
  1. <!--资格申请-添加-->
  2. <template>
  3. <div class="addPage">
  4. <div class="addPage_title">
  5. <p>新增供应商</p>
  6. <P>填写供应商提供的材料信息,内容提交后需要进行审核,通过审核的供应商可以在供应商后台添加运输人员和气瓶规格。 </P>
  7. <p class="button-p reset-button-one" @click="backPage">返回</p>
  8. </div>
  9. <div class="addPage_b">
  10. <div class="addPage_b_t">
  11. <li>
  12. <img src="@/assets/ZDimages/icon_jbxx_xz.png"/>
  13. <p>填写基本信息</p>
  14. </li>
  15. <i></i>
  16. <li>
  17. <img v-if="pageType==1" src="@/assets/ZDimages/icon_xxrp_zc.png"/>
  18. <img v-if="pageType==2 || pageType==3" src="@/assets/ZDimages/icon_xxrp_xz.png"/>
  19. <p>上传资质材料</p>
  20. </li>
  21. <i v-if="status==0"></i>
  22. <li v-if="status==0">
  23. <img v-if="pageType==1 || pageType==2" src="@/assets/ZDimages/gasManage3_0/icon_zc_qrxx.png"/>
  24. <img v-if="pageType==3" src="@/assets/ZDimages/gasManage3_0/icon_xxrp_xz.png"/>
  25. <p>确认信息</p>
  26. </li>
  27. </div>
  28. <!--申请1-->
  29. <div v-if="pageType==1" class="addPage_b_b_n">
  30. <el-form class="addPage_b_b" :model="form" ref="form" :rules="rules" label-position="right" label-width="100px">
  31. <el-form-item label="供应商名称:" prop="companyName" >
  32. <el-input style="width: 300px" v-model="form.companyName" @blur="nameVerifyFun" placeholder="请输入供应商名称" maxlength="20" />
  33. </el-form-item>
  34. <el-form-item label="供应商简称:" >
  35. <el-input style="width: 300px" v-model="form.companyShort" placeholder="请输入供应商简称" maxlength="10" />
  36. </el-form-item>
  37. <el-form-item label="联系人:" prop="contacts">
  38. <el-input style="width: 300px" v-model="form.contacts" placeholder="请输入联系人姓名" maxlength="10" />
  39. </el-form-item>
  40. <el-form-item label="联系方式:" prop="phone" >
  41. <el-input style="width: 300px" v-model="form.phone" placeholder="请输入联系方式" />
  42. </el-form-item>
  43. <el-form-item label="经营地址:" prop="businessAddress" >
  44. <el-input style="width: 300px" v-model="form.businessAddress" placeholder="请输入供应商经营地址" maxlength="50" />
  45. </el-form-item>
  46. </el-form>
  47. <p class="inquire-button-one" style="width:400px;margin: 0 auto" @click="handleClick('','form','next')">下一步</p>
  48. <div class="line"></div>
  49. <div class="explain">
  50. <p>说明:</p>
  51. <p>供应商名称为供应商经营执照名称;供应商简称为企业简称,方便管理和记录;联系人建议填写企业业务负责人或与学校对接人员;</p>
  52. </div>
  53. </div>
  54. <!--申请2-->
  55. <div v-if="pageType==2" class="apply_tow">
  56. <el-form class="apply_tow_li" :model="form" ref="form" :rules="rules" label-position="right" label-width="140px">
  57. <li v-for="(item,index) in qpSupplierCredentialsDtos">
  58. <div class="apply_tow_li_t">
  59. <div class="apply_tow_li_t_l">
  60. <el-form-item :label="item.naturalName+':'" :prop="item.required==1?'empty':''">
  61. <el-upload
  62. class="certificate-avatar-uploader"
  63. :action="uploadImgUrl"
  64. :show-file-list="false"
  65. :on-success="handleAvatarSuccess.bind(null, {'item': item})"
  66. :headers="headers"
  67. >
  68. <img v-if="item.naturalUrl" :src="item.naturalUrl" style="width: 250px;height: 150px;"/>
  69. <img v-if="!item.naturalUrl" src="@/assets/ZDimages/gasManage3_0/img_gysgl_sc.png" style="width: 250px;height: 150px;"/>
  70. </el-upload>
  71. </el-form-item>
  72. </div>
  73. <div class="apply_tow_li_t_r">
  74. <el-form-item label="有效期:" :prop="item.required==1?'empty':''">
  75. <el-date-picker
  76. :clearable="false"
  77. v-model="item.dateRange"
  78. @change="timeFun(item)"
  79. size="small"
  80. style="width: 300px"
  81. value-format="yyyy-MM-dd"
  82. type="daterange"
  83. range-separator="-"
  84. start-placeholder="开始日期"
  85. end-placeholder="结束日期"
  86. ></el-date-picker>
  87. </el-form-item>
  88. </div>
  89. </div>
  90. <div class="apply_tow_li_b">{{item.remark}}</div>
  91. </li>
  92. </el-form>
  93. <div class="sub_btn">
  94. <p class="reset-button-one" style="width:150px;margin-right: 30px" @click="handleClick('','','last')">返回上一步</p>
  95. <p class="inquire-button-one" style="width:150px;" v-if="status==0" @click="handleClick('','','next2')">下一步</p>
  96. <p class="inquire-button-one" style="width:150px;" v-if="status==1" @click="submitForm()">提交修改</p>
  97. </div>
  98. <div class="line"></div>
  99. <div class="explain">
  100. <p>说明:</p>
  101. <p>请验证按照执照(许可证)的真实有效期进行填写,执照(许可证)的有效期的设置将会关联证书到期提醒,当执照(许可证)过期时将会对实验中心和供应商进行提醒。</p>
  102. </div>
  103. </div>
  104. <!--申请3-->
  105. <div v-if="pageType==3 && status==0" class="apply_tree" >
  106. <div class="apply_tree_t">
  107. <img src="@/assets/ZDimages/gasManage3_0/icon_sml_lxr.png"/>
  108. <i>请认真核对提交的供应商信息,确认无误后点击提交进行审核。</i>
  109. </div>
  110. <div class="apply_tree_m">
  111. <li>
  112. <img src="@/assets/ZDimages/gasManage3_0/icon_xxjl_gs.png"/>
  113. <div class="apply_tree_m_r">
  114. <i>供应商名称:</i>
  115. <p>{{form.companyName}}</p>
  116. <i>经营地址:</i>
  117. <p>{{form.businessAddress}}</p>
  118. </div>
  119. </li>
  120. <i></i>
  121. <li>
  122. <img src="@/assets/ZDimages/gasManage3_0/icon_xxjl_lxr.png"/>
  123. <div class="apply_tree_m_r">
  124. <i>联系人:</i>
  125. <p>{{form.contacts}}</p>
  126. <i>联系方式:</i>
  127. <p>{{form.phone}}</p>
  128. </div>
  129. </li>
  130. </div>
  131. <div class="apply_tree_b" >
  132. <li v-for="(item2,index2) in form.qpSupplierCredentialsDtos">
  133. <div class="apply_tree_b_t">{{item2.naturalName}}:</div>
  134. <div class="apply_tree_b_m"><img :src="item2.naturalUrl"/></div>
  135. <div class="apply_tree_b_b"><i style="color: #333333;font-style: normal;">有效期</i>:{{item2.startTime}}至{{item2.endTime}}</div>
  136. </li>
  137. </div>
  138. <div class="apply_tree_b2">
  139. <el-form class="addPage_b_b" :model="form" ref="form" :rules="rules" label-position="right" label-width="100px">
  140. <el-form-item label="登录账号:" prop="empty">
  141. <el-input style="width: 300px" v-model="form.sysUserDto.userName" @blur="verify()" placeholder="请输入登录账号" maxlength="50" />
  142. </el-form-item>
  143. <el-form-item label="登录密码:" prop="empty" >
  144. <el-input style="width: 300px" v-model="form.sysUserDto.password" @blur="verify2()" placeholder="请输入登录密码" maxlength="50" />
  145. </el-form-item>
  146. <el-form-item label="确认密码:" prop="empty">
  147. <el-input style="width: 300px" v-model="form.sysUserDto.rePassword" @blur="affirm()" placeholder="请再次输入登录密码" maxlength="50" />
  148. </el-form-item>
  149. </el-form>
  150. </div>
  151. <div class="sub_btn">
  152. <p class="reset-button-one" style="width:150px;margin-right: 30px" @click="handleClick('','','last2')">返回上一步</p>
  153. <p class="inquire-button-one" style="width:150px;" @click="submitForm">提交</p>
  154. </div>
  155. </div>
  156. </div>
  157. </div>
  158. </template>
  159. <script>
  160. import { getToken } from "@/utils/auth";
  161. import {
  162. certificateList,
  163. getLoginUser,
  164. qualificationApplyAdd,
  165. qualificationApplyAnew,
  166. subjectList, supplierAdd, supplierDetail, supplierNameVerify, supplierUpdate
  167. } from '@/api/gasManage3_0/gasManage'
  168. export default {
  169. name: "addPage",
  170. props:{
  171. pageData:{},
  172. },
  173. data() {
  174. // 时间的校验
  175. const validateTime = (rule, value, callback) => {
  176. console.log(value)
  177. if(value && value.length>0){
  178. this.form.startTime=value[0]
  179. this.form.endTime=value[1]
  180. callback();
  181. }else{
  182. this.form.startTime=null;
  183. this.form.endTime=null
  184. callback(new Error('使用期限不能为空'))
  185. }
  186. }
  187. const empty=(rule, value, callback) => {
  188. callback();
  189. }
  190. return {
  191. pageType:1,
  192. uploadImgUrl: window.location.href.split('://')[0]+'://' + process.env.VUE_APP_BASE_API + "/file/upload", // 上传的图片服务器地址
  193. headers: {
  194. Authorization: "Bearer " + getToken(),
  195. },
  196. // 设置只能选择当前日期及之后的日期
  197. pickerOptions0: {
  198. disabledDate(time) {
  199. return time.getTime() < Date.now() - 8.64e7;//如果没有后面的-8.64e7就是不可以选择今天的
  200. }
  201. },
  202. loading:false,
  203. form:{
  204. id:'',
  205. companyName:'',
  206. companyShort:'',
  207. contacts:'',
  208. phone:'',
  209. businessAddress:'',
  210. sysUserDto:{
  211. userName:'',
  212. password:'',
  213. rePassword:'',
  214. }
  215. },
  216. qpSupplierCredentialsDtos:[],
  217. dateRange:[],
  218. laboratoryOptions:[],
  219. // 查询参数
  220. queryParams: {
  221. pageNum: 1,
  222. pageSize:20,
  223. },
  224. total:0,
  225. tableData:[{
  226. num:0,
  227. }],
  228. dialogVisible:false,
  229. id:'',
  230. status:null,
  231. // 表单校验
  232. rules: {
  233. companyName: [
  234. { required: true, message: "请输入供应商名称", trigger: "blur" },
  235. { required: true, message: "请输入供应商名称", validator: this.spaceJudgment, trigger: "blur" }
  236. ],
  237. contacts: [
  238. { required: true, message: "请输入联系人姓名", trigger: "change" },
  239. { required: true, message: "请输入联系人姓名", validator: this.spaceJudgment, trigger: "blur" }
  240. ],
  241. phone: [
  242. { required: true, message: "请输入联系方式", trigger: "blur" },
  243. { required: true, message: "请输入联系方式", validator: this.spaceJudgment, trigger: "blur" },
  244. { pattern:/^((13[0-9])|(14[5,7])|(15[0-3,5-9])|(16[0-9])|(17[0,3,5-8])|(18[0-9])|(147))+\d{8}$/, message: "请输入正确的联系方式", trigger: "blur" }
  245. ],
  246. empty:[
  247. { required: true, validator:empty, trigger: "change" },
  248. ],
  249. dateRange: [
  250. {required: true, validator: validateTime, trigger: 'blur' },
  251. ],
  252. },
  253. };
  254. },
  255. created() {
  256. },
  257. methods: {
  258. handleClick(index,row,doType){
  259. let _this=this;
  260. if(doType=='next'){//下一步
  261. //非空校验
  262. this.$refs[row].validate((valid) => {
  263. if (valid) {
  264. _this.pageType=2;
  265. } else {
  266. return false;
  267. }
  268. });
  269. }else if(doType=='last'){//上一步
  270. _this.pageType=1;
  271. }else if(doType=='next2'){//下一步
  272. //判断添加了几个
  273. _this.form.qpSupplierCredentialsDtos=[];
  274. try{
  275. let arr=[];
  276. for(let i=0;i<_this.qpSupplierCredentialsDtos.length;i++){
  277. if(_this.qpSupplierCredentialsDtos[i].required==1){
  278. if(!_this.qpSupplierCredentialsDtos[i].naturalUrl){
  279. _this.$message.error('未上传'+_this.qpSupplierCredentialsDtos[i].naturalName+',请上传'+_this.qpSupplierCredentialsDtos[i].naturalName);
  280. throw Error();
  281. }
  282. if(!_this.qpSupplierCredentialsDtos[i].startTime || !_this.qpSupplierCredentialsDtos[i].endTime){
  283. _this.$message.error( '请选择'+_this.qpSupplierCredentialsDtos[i].naturalName+'有效期');
  284. throw Error();
  285. }
  286. arr.push(_this.qpSupplierCredentialsDtos[i])
  287. }else{
  288. arr.push(_this.qpSupplierCredentialsDtos[i])
  289. }
  290. }
  291. let arr1=[]
  292. arr.forEach(function(item){
  293. if(item.naturalUrl && item.startTime && item.endTime){
  294. arr1.push(item)
  295. }
  296. })
  297. _this.form.qpSupplierCredentialsDtos=arr1;
  298. _this.pageType=3;
  299. }catch(e){
  300. console.log(e)
  301. }
  302. }else if(doType=='last2'){//上一步
  303. _this.pageType=2;
  304. }
  305. },
  306. /** 获取资质证照列表 */
  307. certificateList() {
  308. let _this=this;
  309. certificateList({type:1}).then( response => {
  310. let res=response.data
  311. if(response.code==200){
  312. //重新渲染后台返回数据
  313. res.forEach(function(item){
  314. _this.qpSupplierCredentialsDtos.push({'naturalName':item.name,'naturalUrl':'','startTime':'','endTime':'',dateRange:null,'remark':item.remark,'certificateId':item.id,'required':item.required})
  315. })
  316. }
  317. });
  318. },
  319. verify(){
  320. if(this.form.sysUserDto.userName.length<6 || this.form.sysUserDto.userName.length>16){
  321. this.$message.error('登录密码不能超出16位、不能低于6位!');
  322. this.form.sysUserDto.userName='';
  323. return
  324. }
  325. let reg=/[\u4E00-\u9FA5]|[\uFE30-\uFFA0]|[`~!@#$%^&*()_\+=<>?:"{}|~!#¥%……&*()={}|《》?:“”【】、;‘’,。、\s+]/;
  326. let aa= reg.test(this.form.sysUserDto.userName)
  327. if(reg.test(this.form.sysUserDto.userName)){
  328. this.$message.error('登录密码中有中文,空格或特殊字符,请重新输入!');6
  329. this.form.sysUserDto.userName='';
  330. }
  331. },
  332. verify2(){
  333. if(this.form.sysUserDto.password.length<6 || this.form.sysUserDto.password.length>16){
  334. this.$message.error('登录密码不能超出16位、不能低于6位!');
  335. this.form.sysUserDto.password='';
  336. return
  337. }
  338. let reg=/[\u4E00-\u9FA5]|[\uFE30-\uFFA0]|[`~@!#$%^&*()_\+=<>?:"{}|~!#¥%……&*()={}|《》?:“”【】、;‘’,。、\s+]/;
  339. let aa= reg.test(this.form.sysUserDto.password)
  340. if(reg.test(this.form.sysUserDto.password)){
  341. this.$message.error('登录密码中有中文,空格或特殊字符,请重新输入!');
  342. this.form.sysUserDto.password='';
  343. }
  344. },
  345. affirm(){
  346. if(this.form.sysUserDto.password!=this.form.sysUserDto.rePassword){
  347. this.$message.error('密码输入不一致,请重新输入!');
  348. this.form.sysUserDto.rePassword='';
  349. }
  350. },
  351. //供应商名称校验
  352. nameVerifyFun(){
  353. let obg={
  354. name:this.form.companyName,
  355. type:1,// 传入的参数类型(1:供应商名称,2:供应商简称,默认供应商名称,可不传),示例值(1)
  356. }
  357. supplierNameVerify(obg).then( response => {
  358. let res=response.data
  359. if(response.code==200){
  360. //重新渲染后台返回数据
  361. }
  362. });
  363. },
  364. //时间选择方法
  365. timeFun(item){
  366. let _this=this;
  367. item.startTime=item.dateRange[0]
  368. item.endTime=item.dateRange[1]
  369. },
  370. /** 搜索按钮操作 */
  371. handleQuery() {
  372. this.queryParams.pageNum = 1;
  373. this.getList();
  374. },
  375. /** 重置按钮操作 */
  376. resetQuery() {
  377. this.queryParams.searchValue = "";
  378. this.handleQuery();
  379. },
  380. //上传
  381. handleAvatarSuccess(obj, res) {
  382. let _this=this;
  383. _this.qpSupplierCredentialsDtos.forEach(function(item){
  384. if(obj.item.certificateId==item.certificateId){
  385. item.naturalUrl=res.data.url
  386. }
  387. })
  388. this.$forceUpdate()
  389. },
  390. beforeAvatarUpload(file) {
  391. let type = false;
  392. if (file.type == 'image/png' || file.type == 'image/jpeg' || file.type == 'image/gif') {
  393. type = true;
  394. }else{
  395. this.$message.error('只能上传png/jpeg/gif格式图片');
  396. type = false;
  397. }
  398. return type;
  399. },
  400. /* 详情 */
  401. getInfo(id){
  402. let _this=this;
  403. supplierDetail(id).then( response => {
  404. let res=response.data;
  405. if(response.code==200){
  406. _this.form=res;
  407. //_this.form.qpSupplierCredentialsDtos=res.qpSupplierCredentialsVos;
  408. if(_this.qpSupplierCredentialsDtos){
  409. _this.qpSupplierCredentialsDtos.forEach(function(item){
  410. res.qpSupplierCredentialsVos.forEach(function(item2){
  411. if(item.certificateId==item2.certificateId){
  412. item.naturalUrl=item2.naturalUrl
  413. item.startTime=item2.startTime
  414. item.endTime=item2.endTime
  415. item.dateRange=[item2.startTime,item2.endTime]
  416. }
  417. })
  418. })
  419. console.log( _this.qpSupplierCredentialsDtos)
  420. console.log( res.qpSupplierCredentialsVos)
  421. }
  422. }
  423. });
  424. },
  425. //提交
  426. submitForm(){
  427. let _this = this;
  428. _this.loading = true;
  429. if(_this.status==0){//新增
  430. if(_this.form.sysUserDto.userName==''){
  431. _this.$message.error('请输入账号!');
  432. return;
  433. }else if(_this.form.sysUserDto.password==''){
  434. _this.$message.error('请输入密码!');
  435. return;
  436. }else if(_this.form.sysUserDto.rePassword==''){
  437. _this.$message.error('请输入确认密码!');
  438. return;
  439. }
  440. supplierAdd(_this.form).then(res => {
  441. this.$message({
  442. type: 'success',
  443. message: '操作成功!',
  444. duration:2000,
  445. onClose:function(){
  446. _this.backPage();
  447. _this.loading = false;
  448. }
  449. });
  450. });
  451. }else if(_this.status==1){
  452. let arr=[];
  453. try{
  454. // _this.qpSupplierCredentialsDtos.forEach(function(item){
  455. // if(item.required==1){
  456. // if(item.naturalUrl && item.dateRange){
  457. // arr.push(item)
  458. // }else{
  459. // _this.$message.error('请填写'+item.naturalName);
  460. // throw Error();
  461. // }
  462. // }else{
  463. // arr.push(item)
  464. // }
  465. // })
  466. //提交的时候过滤空数据
  467. let arr=[];
  468. for(let i=0;i<_this.qpSupplierCredentialsDtos.length;i++){
  469. if(_this.qpSupplierCredentialsDtos[i].required==1){
  470. if(!_this.qpSupplierCredentialsDtos[i].naturalUrl){
  471. _this.$message.error('未上传'+_this.qpSupplierCredentialsDtos[i].naturalName+',请上传'+_this.qpSupplierCredentialsDtos[i].naturalName);
  472. throw Error();
  473. }
  474. if(!_this.qpSupplierCredentialsDtos[i].startTime || !_this.qpSupplierCredentialsDtos[i].endTime){
  475. _this.$message.error( '请选择'+_this.qpSupplierCredentialsDtos[i].naturalName+'有效期');
  476. throw Error();
  477. }
  478. arr.push(_this.qpSupplierCredentialsDtos[i])
  479. }else{
  480. arr.push(_this.qpSupplierCredentialsDtos[i])
  481. }
  482. }
  483. _this.form.qpSupplierCredentialsDtos=arr;
  484. //_this.form.qpSupplierCredentialsDtos=_this.qpSupplierCredentialsDtos
  485. _this.form.qpSupplierCredentialsVos=null;
  486. supplierUpdate(_this.form).then(res => {
  487. this.$message({
  488. type: 'success',
  489. message: '操作成功!',
  490. duration:2000,
  491. onClose:function(){
  492. _this.backPage();
  493. _this.loading = false;
  494. }
  495. });
  496. });
  497. }catch(e){
  498. console.log(e)
  499. }
  500. }
  501. },
  502. //返回
  503. backPage(){
  504. this.$parent.handleClick('','','back');
  505. this.$parent.getList();
  506. },
  507. },
  508. mounted() {
  509. this.status=this.pageData.status;
  510. this.id=this.pageData.id;
  511. console.log(this.pageData.id)
  512. if(this.id){
  513. this.getInfo(this.id)
  514. }
  515. this.certificateList()
  516. }
  517. };
  518. </script>
  519. <style scoped lang="scss">
  520. .addPage {
  521. flex:1;
  522. display: flex!important;
  523. flex-direction: column;
  524. box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.1);
  525. border-radius:10px;
  526. /*顶部*/
  527. .addPage_title{
  528. display: flex;
  529. align-items: center;
  530. border-bottom: 1px solid #E0E0E0;
  531. padding-top:20px;
  532. p:nth-child(1){
  533. line-height:60px;
  534. color: #0045AF;
  535. font-size:18px;
  536. margin:0 12px 0 20px;
  537. }
  538. p:nth-child(2){
  539. font-size: 14px;
  540. font-family: Source Han Sans CN;
  541. font-weight: 400;
  542. color: #999999;
  543. flex: 1;
  544. }
  545. p:nth-child(3){
  546. margin-right:20px;
  547. }
  548. }
  549. .addPage_b{
  550. flex: 1;
  551. display: flex!important;
  552. flex-direction: column;
  553. /*时间轴*/
  554. .addPage_b_t{
  555. display: flex;
  556. justify-content: center;
  557. align-items: center;
  558. margin-top: 36px;
  559. margin-bottom: 50px;
  560. >li{
  561. width: 120px;
  562. text-align: center;
  563. list-style-type: none;
  564. >img{
  565. width: 60px;
  566. height:60px;
  567. }
  568. >p{
  569. font-size: 16px;
  570. font-family: Microsoft YaHei;
  571. font-weight: 400;
  572. color: #333333;
  573. line-height: 16px;
  574. }
  575. }
  576. >i{
  577. display: inline-block;
  578. width: 250px;
  579. height: 2px;
  580. background: #E0E0E0;
  581. }
  582. }
  583. .line{
  584. width: 900px;
  585. margin: 40px auto 30px;
  586. height: 2px;
  587. background: #E0E0E0;
  588. }
  589. .explain{
  590. width: 900px;
  591. margin: 40px auto 30px;
  592. text-align: left;
  593. >p:nth-of-type(1){
  594. font-size: 16px;
  595. font-family: Microsoft YaHei;
  596. font-weight: 400;
  597. color: #333333;
  598. line-height: 24px;
  599. }
  600. >p:nth-of-type(2){
  601. font-size: 14px;
  602. font-family: Microsoft YaHei;
  603. font-weight: 400;
  604. color: #999999;
  605. line-height: 24px;
  606. }
  607. }
  608. /*申请一*/
  609. .addPage_b_b_n{
  610. text-align: center;
  611. .addPage_b_b{
  612. width: 400px;
  613. margin: 0 auto;
  614. padding-top: 46px;
  615. }
  616. }
  617. /*申请二*/
  618. .apply_tow{
  619. padding: 0 20px;
  620. box-sizing: border-box;
  621. width: 900px;
  622. margin: 0 auto;
  623. .apply_tow_li{
  624. >li{
  625. list-style-type: none;
  626. .apply_tow_li_t{
  627. display: flex;
  628. justify-content: flex-start;
  629. .apply_tow_li_t_l{}
  630. .apply_tow_li_t_r{}
  631. }
  632. .apply_tow_li_b{
  633. font-size: 14px;
  634. font-family: Microsoft YaHei;
  635. font-weight: 400;
  636. color: #999999;
  637. line-height: 24px;
  638. margin-left: 140px;
  639. margin-bottom: 10px;
  640. }
  641. }
  642. }
  643. .sub_btn{
  644. display: flex;
  645. justify-content: center;
  646. margin: 30px 0;
  647. }
  648. }
  649. /*申请三*/
  650. .apply_tree{
  651. width: 900px;
  652. margin: 0 auto;
  653. .apply_tree_t{
  654. display: flex;
  655. justify-content: center;
  656. >img{
  657. width: 16px;
  658. height: 16px;
  659. margin-right: 10px;
  660. }
  661. >i{
  662. font-size: 16px;
  663. font-family: Microsoft YaHei;
  664. font-weight: 400;
  665. color: #FA8801;
  666. line-height: 16px;
  667. font-style: normal;
  668. }
  669. }
  670. .apply_tree_m{
  671. display: flex;
  672. justify-content: center;
  673. align-items: center;
  674. margin-top: 50px;
  675. >li{
  676. display: flex;
  677. justify-content: flex-start;
  678. >img{
  679. width: 102px;
  680. height: 122px;
  681. margin-right: 28px;
  682. }
  683. .apply_tree_m_r{
  684. >i{
  685. display: block;
  686. font-size: 16px;
  687. font-family: Microsoft YaHei;
  688. font-weight: 400;
  689. color: #999999;
  690. line-height: 16px;
  691. font-style: normal;
  692. }
  693. >p{
  694. font-size: 16px;
  695. font-family: Microsoft YaHei;
  696. font-weight: 400;
  697. color: #333333;
  698. line-height: 16px;
  699. margin-top: 20px;
  700. }
  701. }
  702. }
  703. >i{
  704. width: 2px;
  705. height: 100px;
  706. background: #E0E0E0;
  707. margin: 0 66px;
  708. }
  709. }
  710. .apply_tree_b{
  711. display: flex;
  712. justify-content: flex-start;
  713. align-items: center;
  714. flex-wrap: wrap;
  715. margin-top: 50px;
  716. >li{
  717. list-style-type: none;
  718. margin-left: 64px;
  719. .apply_tree_b_t{
  720. font-size: 16px;
  721. font-family: Microsoft YaHei;
  722. font-weight: 400;
  723. color: #333333;
  724. line-height: 16px;
  725. margin-bottom: 20px;
  726. }
  727. .apply_tree_b_m{
  728. width: 230px;
  729. height: 150px;
  730. border: 1px solid #E0E0E0;
  731. >img{
  732. width: 190px;
  733. height: 138px;
  734. margin: 6px 20px;
  735. }
  736. }
  737. .apply_tree_b_b{
  738. font-size: 12px;
  739. font-family: Microsoft YaHei;
  740. font-weight: 400;
  741. color: #999999;
  742. line-height: 24px;
  743. margin-top: 24px;
  744. }
  745. }
  746. }
  747. .apply_tree_b2{
  748. width: 400px;
  749. margin: 46px auto 38px;
  750. }
  751. .sub_btn{
  752. display: flex;
  753. justify-content: center;
  754. margin: 30px 0;
  755. }
  756. }
  757. }
  758. }
  759. </style>