refuel.vue 26 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055
  1. <template>
  2. <view class="container">
  3. <u-form ref="uForm">
  4. <view class="form_top">基本信息</view>
  5. <u-form-item v-if='list.strokeType==1' label-width='260' :borderBottom="false" class="label_css"
  6. label="车牌号">
  7. <u-input v-model="list.carNo" input-align="right" placeholder="--" disabled />
  8. </u-form-item>
  9. <u-form-item v-if='list.strokeType==1' label-width='260' :borderBottom="false" label="起点">
  10. {{list.originProvince}}{{list.originCity}}{{list.originArea}}{{list.originAddress}}
  11. </u-form-item>
  12. <u-form-item v-if='list.strokeType==1' label-width='260' :borderBottom="false" label="终点">
  13. {{list.destinationProvince}}{{list.destinationCity}}{{list.destinationArea}}{{list.destinationAddress}}
  14. </u-form-item>
  15. <u-form-item v-if='list.strokeType==1' label-width='260' :borderBottom="false" label="总油耗(升)">
  16. <u-input v-model="list.tfc" input-align="right" placeholder="--" disabled />
  17. </u-form-item>
  18. <u-form-item v-if='list.strokeType==1' label-width='260' :borderBottom="false" label="总金额(元)">
  19. <u-input v-model="list.totalCost" input-align="right" placeholder="--" disabled />
  20. </u-form-item>
  21. <u-form-item v-if='list.strokeType==1' label-width='260' :borderBottom="false" label="申请时间">
  22. <u-input v-model="list.createDate" input-align="right" placeholder="--" disabled />
  23. </u-form-item>
  24. <u-form-item v-if='list.strokeType==3' label-width='260' :borderBottom="false" label="仓库名">
  25. <u-input v-model="list.warehouseName" input-align="right" placeholder="--" disabled />
  26. </u-form-item>
  27. <u-form-item v-if='list.strokeType==3' label-width='260' :borderBottom="false" label="备注">
  28. <u-input v-model="list.remark" input-align="right" placeholder="--" disabled />
  29. </u-form-item>
  30. <u-form-item v-if='list.strokeType==3' label-width='260' :borderBottom="false" label="请款金额">
  31. <u-input v-model="list.amountRequested" input-align="right" placeholder="--" disabled />
  32. </u-form-item>
  33. <u-form-item v-if='list.strokeType==3' label-width='260' :borderBottom="false" label="请款时间">
  34. <u-input v-model="list.createDate" input-align="right" placeholder="--" disabled />
  35. </u-form-item>
  36. </u-form>
  37. <view v-if="list.fillingDetailInfoList">
  38. <u-form v-for="(item,index) in list.fillingDetailInfoList" :labelWidth="200">
  39. <div>加油-{{index+1}}</div>
  40. <u-form-item label="油耗(升)">
  41. <!-- {{item.oilConsumption}} -->
  42. <u-input v-model="item.oilConsumption" disabled inputAlign="right" />
  43. </u-form-item>
  44. <u-form-item label="单价(元/升)">
  45. <!-- {{item.currentOilPrice}} -->
  46. <u-input v-model="item.currentOilPrice" disabled inputAlign="right" />
  47. </u-form-item>
  48. <u-form-item label="油费(元)">
  49. <!-- {{item.currentConsumption}} -->
  50. <u-input v-model="item.currentConsumption" disabled inputAlign="right" />
  51. </u-form-item>
  52. <u-form-item label="凭证">
  53. <!-- <img :src="item.addressUrl" alt="" mode="aspectFill"> -->
  54. <upload class="upload" ref="upload" :action="action" :max-size="maxSize" :max-count="1"
  55. :size-type="['compressed']" :deletable="false" @on-uploaded="isAdd = true"
  56. :before-upload="filterFileType" @on-progress="onProgress" :fileList="item.urlList">
  57. </upload>
  58. </u-form-item>
  59. </u-form>
  60. </view>
  61. <view v-if="list.shortFillingInfoList">
  62. <u-form v-for="(item,index) in list.shortFillingInfoList">
  63. <div>加油-{{index+1}}</div>
  64. <u-form-item label="车牌号">
  65. {{item.carNo}}
  66. </u-form-item>
  67. <u-form-item label="起始地">
  68. {{item.originProvince}}{{item.originCity}}{{item.originArea}}{{item.originAddress}}
  69. </u-form-item>
  70. <u-form-item label="终到地">
  71. {{item.destinationProvince}}{{item.destinationCity}}{{item.destinationArea}}{{item.destinationAddress}}
  72. </u-form-item>
  73. </u-form>
  74. </view>
  75. <u-form ref="uForm">
  76. <view class="form_top">流程</view>
  77. <view class="content2">
  78. <view v-for="(item,index) in auditList" :key='index' class="audit">
  79. <view class="row" v-if='item.desc!="_PLACEHOLDER_"'>
  80. <view class="left">
  81. <view class="item1">
  82. <view class="item-content">{{item.operatorTitle}}</view>
  83. <view v-if="item.status=='success'" class='status success'>
  84. <u-icon name="checkmark" color="#2979ff" size="24"></u-icon>
  85. </view>
  86. <view v-if="item.status=='error'" class='status error'>
  87. <u-icon name="close" color="rgb(245, 108, 108)" size="24"></u-icon>
  88. </view>
  89. <view v-if="item.status=='question'" class='status question'>
  90. <u-icon name="question" color="#f9ae3d" size="24"></u-icon>
  91. </view>
  92. </view>
  93. </view>
  94. <view class="right">
  95. <view class="right-item">
  96. <view class="item2">
  97. <view class="name">{{item.desc}}
  98. </view>
  99. <!-- <view class='time'>{{item.updateDate}}</view> -->
  100. <view v-if="item.status=='success'" class="status success">
  101. {{item.commonStaffs1?item.staffscontent:item.operatorName}}<text
  102. v-if='!item.commonStaffs1&&index!=0'>已审核</text>
  103. </view>
  104. <view v-if="item.status=='error'" class="status error">
  105. {{item.commonStaffs1?item.staffscontent:item.operatorName}}<text
  106. v-if='!item.commonStaffs1'>{{item.workflowHistoricTasks ? "已驳回":''}}</text>
  107. </view>
  108. <view v-if="item.status=='question'" class="status question">
  109. {{item.commonStaffs1?item.staffscontent:''}}<text
  110. v-if='!item.commonStaffs1'>未审核</text>
  111. </view>
  112. <!-- <view class="status success">吕波(已审核)</view> -->
  113. </view>
  114. <view v-if='index==0||item.workflowHistoricTasks&&item.workflowHistoricTasks.length>0'
  115. class='time'>
  116. {{item.updateDate}}
  117. </view>
  118. </view>
  119. <view v-if='item.auditMind' class="right-content">
  120. {{item.auditMind}}
  121. </view>
  122. </view>
  123. <view v-if='item.commonStaffs1' class="right">
  124. <u-icon @click='showcontent(item)' :name="item.showflow?'arrow-up':'arrow-down'" size="28">
  125. </u-icon>
  126. </view>
  127. </view>
  128. <view v-if='item.showflow' style='padding:10px 0 0 50px;'>
  129. <view class='row2'>
  130. <view v-for='item1 in item.commonStaffs1' style='margin:5px;text-align:center;'>
  131. <view class="item-content">
  132. <u-icon v-if='item1.status' name="checkmark" color="#fff" size="14"></u-icon>
  133. <u-icon v-if='!item1.status' name="question" color="#f9ae3d" size="14"></u-icon>
  134. </view>
  135. <view class="name">{{item1.staffName}}</view>
  136. </view>
  137. </view>
  138. </view>
  139. <view class="row-line" v-if="index!= auditList.length - 1&&item.desc!='_PLACEHOLDER_'"></view>
  140. </view>
  141. </view>
  142. </u-form>
  143. <view v-if='list.taskId' style='padding:10px;' class='flex bottom-btn'>
  144. <u-button v-if='list.approveStatus||isSHowBtn' @click='reject' type="error" class="btn1" hover-class='none'>
  145. 驳回
  146. </u-button>
  147. <u-button v-if='list.approveStatus||isSHowBtn' @click='pass' type="success" class="btn2">通过
  148. </u-button>
  149. </view>
  150. <view v-if='show' class="shade">
  151. <view class="wrap">
  152. <view class="alert-top">
  153. <view class="title">
  154. {{title}}
  155. </view>
  156. <u-icon name="close" class="close" color="#8890B1" @click="close()"></u-icon>
  157. </view>
  158. <view class="u-textarea-style">
  159. <view class="right-bottom">
  160. {{auditMind.length}}/1000个字
  161. </view>
  162. <textarea maxlength="1000" v-model='auditMind' placeholder="请在此输入审核意见" name="" id="" cols="30"
  163. rows="11"></textarea>
  164. </view>
  165. <view @click='close()' class="cancel">取消</view>
  166. <view @click='passSubmit()' class="confirm">确定</view>
  167. </view>
  168. </view>
  169. <view @click='imgShow=false' v-if="imgShow" class="shade">
  170. <image style='position:absolute;top:0;left:0;right:0;bottom:0;margin:auto;' :src="url" mode=""></image>
  171. </view>
  172. </view>
  173. </template>
  174. <script>
  175. import upload from '@/components/upload.vue';
  176. import helper from '@/common/helper.js';
  177. export default {
  178. components: {
  179. upload
  180. },
  181. data() {
  182. return {
  183. everyCheck: '',
  184. id: "",
  185. currentPage: 1,
  186. pageSize: 10,
  187. list: {
  188. status: "",
  189. contractGoodsInfo: {},
  190. contractProcessInfo: {}
  191. },
  192. imglist: [],
  193. title: '',
  194. auditMind: '',
  195. auditList: [],
  196. show: false,
  197. contractNo: "",
  198. action: this.$uploadUrl,
  199. maxSize: 50 * 1024 * 1024, //限制文件大小 50M
  200. isAdd: true,
  201. url: "",
  202. imgShow: false,
  203. height: 200,
  204. autoHeight: true,
  205. border: false,
  206. rejectInfo: "",
  207. rejectInfo1: "",
  208. isSHowBtn: true,
  209. auditCheck: "question", //判断审核是否通过
  210. }
  211. },
  212. onBackPress(e) {
  213. if (this.everyCheck) {
  214. uni.navigateTo({
  215. url: "/pages/task/my_task"
  216. })
  217. return true;
  218. }
  219. },
  220. onLoad(options) {
  221. this.id = options.id
  222. this.everyCheck = uni.getStorageSync("everyTask")
  223. this.isSHowBtn = options.isShowbtn
  224. this.getList()
  225. },
  226. methods: {
  227. openDocument(src) {
  228. uni.downloadFile({
  229. url: src.appendixPath,
  230. success: function(res) {
  231. var filePath = res.tempFilePath;
  232. uni.openDocument({
  233. filePath: filePath,
  234. showMenu: true,
  235. success: function(res) {
  236. console.log('打开文档成功');
  237. }
  238. });
  239. }
  240. });
  241. },
  242. shadeshow(url) {
  243. this.imgShow = true
  244. this.url = url
  245. },
  246. showcontent(item) {
  247. item.showflow = !item.showflow
  248. },
  249. getList(id) {
  250. var that = this
  251. uni.showLoading({
  252. title: '加载中',
  253. mask: true
  254. })
  255. this.$api.doRequest('get', '/fuelFillingInfo/getFilling', {
  256. id: this.id
  257. }).then(res => {
  258. if (res.data.code == 200) {
  259. this.list = res.data.data
  260. for (let i = 0; i < this.list.fillingDetailInfoList.length; i++) {
  261. console.log(this.list.fillingDetailInfoList[i].addressUrl)
  262. let urlList = []
  263. if (this.list.fillingDetailInfoList[i].addressUrl) {
  264. urlList.push({
  265. url: this.list.fillingDetailInfoList[i]
  266. .addressUrl
  267. })
  268. }
  269. this.list.fillingDetailInfoList[i].urlList = urlList
  270. }
  271. // this.$api.doRequest('get', '/appendix/query/getFileList', {
  272. // appendixIds: that.list.addressUrl
  273. // }).then(res1 => {
  274. // that.imglist = res1.data.data
  275. // for (let i = 0; i < that.imglist.length; i++) {//获取后缀
  276. // if (that.imglist[i].appendixName) {
  277. // let index = that.imglist[i].appendixName.lastIndexOf(".")
  278. // that.imglist[i].type = that.imglist[i].appendixName.substring(index+1)
  279. // }
  280. // }
  281. // 审核流程
  282. this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
  283. businessCode: 'JIAYOU-SHENHE-APPROVE',
  284. tmpCompId: uni.getStorageSync('pcUserInfo').compId
  285. }).then(res1 => {
  286. this.$api.doRequest('get', '/commonUser/getHis', {
  287. workflowId: res1.data.data[0].id,
  288. businessKey: this.id,
  289. // branch:that.list.jointVentureParties?that.list.jointVentureParties:'zt'
  290. }).then(response => {
  291. uni.hideLoading()
  292. for (let i = 0; i < response.data.data.length; i++) {
  293. this.$set(response.data.data[i], 'status', 'question')
  294. // console.log(response.data.data[i].workflowHistoricTasks,i)
  295. if (response.data.data[i].commonStaffs) {
  296. response.data.data[i].showflow = false
  297. response.data.data[i].operatorTitle = response.data.data[i]
  298. .desc.substring(0, 2)
  299. response.data.data[i].operatorName = response.data.data[i]
  300. .desc
  301. response.data.data[i].staffscontent = '共' + response.data
  302. .data[i].commonStaffs.length + '人,当前审核' + response.data
  303. .data[i].workflowHistoricTasks.length + '人'
  304. if (response.data.data[i].workflowHistoricTasks && response
  305. .data.data[i].workflowHistoricTasks.length > 0) {
  306. if (response.data.data[i].workflowHistoricTasks
  307. .length != response.data.data[i].commonStaffs
  308. .length) {
  309. // response.data.data[i].status='question'
  310. this.$set(response.data.data[i], 'status',
  311. 'question')
  312. } else {
  313. this.$set(response.data.data[i], 'status',
  314. 'success')
  315. // response.data.data[i].status='success'
  316. }
  317. response.data.data[i].workflowlen = response.data.data[
  318. i].workflowHistoricTasks.length
  319. var workflowdata = response.data.data[i]
  320. .workflowHistoricTasks
  321. var staffsdata = response.data.data[i].commonStaffs
  322. for (let q = 0; q < staffsdata.length; q++) {
  323. staffsdata[q].status = false
  324. staffsdata[q].staffTitle = staffsdata[q].staffName
  325. for (let k = 0; k < workflowdata.length; k++) {
  326. if (staffsdata[q].staffId == workflowdata[k]
  327. .operatorId) {
  328. staffsdata[q].status = true
  329. }
  330. }
  331. }
  332. }
  333. response.data.data[i].commonStaffs1 = response.data.data[i]
  334. .commonStaffs
  335. } else {
  336. if (response.data.data[i].workflowHistoricTasks && response
  337. .data.data[i].workflowHistoricTasks.length > 0) {
  338. var len = response.data.data[i].workflowHistoricTasks
  339. .length - 1
  340. if (response.data.data[i].workflowHistoricTasks[len]
  341. .approved) {
  342. this.$set(response.data.data[i], 'status',
  343. 'success')
  344. } else {
  345. this.$set(response.data.data[i], 'status', 'error')
  346. }
  347. response.data.data[i].operatorTitle = response.data
  348. .data[i].workflowHistoricTasks[len].operatorName
  349. .substring(response.data.data[i]
  350. .workflowHistoricTasks[0].operatorName.length -
  351. 2)
  352. response.data.data[i].operatorName = response.data
  353. .data[i].workflowHistoricTasks[len].operatorName
  354. var time = new Date(response.data.data[i]
  355. .workflowHistoricTasks[len].claimTime)
  356. .getTime()
  357. response.data.data[i].updateDate = this.$u.timeFormat(
  358. time, 'mm.dd hh:MM')
  359. response.data.data[i].auditMind = response.data.data[i]
  360. .workflowHistoricTasks[len].auditMind
  361. } else {
  362. this.$set(response.data.data[i], 'status', 'question')
  363. // response.data.data[i].status='question'
  364. if (response.data.data[i].desc == '总经理助理审核') {
  365. response.data.data[i].operatorTitle = '总助'
  366. } else if (response.data.data[i].desc == '杜大光审核') {
  367. response.data.data[i].operatorTitle = '大光'
  368. } else {
  369. response.data.data[i].operatorTitle = response.data
  370. .data[i].desc.substring(0, 2)
  371. }
  372. response.data.data[i].operatorName = response.data
  373. .data[i].desc
  374. var time1 = new Date(response.data.data[i].updateDate)
  375. .getTime()
  376. response.data.data[i].updateDate = this.$u.timeFormat(
  377. time1, 'mm.dd hh:MM')
  378. response.data.data[i].auditMind = ''
  379. }
  380. }
  381. }
  382. console.log(response.data.data)
  383. for (let i = 0; i < response.data.data.length; i++) {
  384. if (response.data.data[i].status == "error") {
  385. this.auditCheck = "error"
  386. break;
  387. } else if (response.data.data[i].status == "question") {
  388. this.auditCheck = "question"
  389. break;
  390. } else {
  391. this.auditCheck = "success"
  392. }
  393. }
  394. this.auditList = response.data.data
  395. var time2 = new Date(this.list.createDate).getTime()
  396. var time3 = this.$u.timeFormat(time2, 'mm.dd hh:MM')
  397. this.auditList.unshift({
  398. operatorTitle: this.list.creater.substring(0, 2),
  399. operatorName: this.list.creater,
  400. updateDate: time3,
  401. auditMind: '',
  402. desc: '发起申请',
  403. showflow: false,
  404. commonStaffs1: null,
  405. commonStaffs: null,
  406. workflowHistoricTasks: [],
  407. status: 'success'
  408. })
  409. })
  410. })
  411. }
  412. })
  413. },
  414. onRemove() {
  415. return
  416. },
  417. filterFileType(index, lists) {
  418. if (lists[index].fileType != 'jpg' && lists[index].fileType != 'png' && lists[index].fileType != 'gif') {
  419. lists.splice(index, 1);
  420. // 当前文件不支持
  421. uni.showModal({
  422. title: '暂不支持当前图片类型',
  423. showCancel: false
  424. });
  425. } else {
  426. this.isAdd = false;
  427. }
  428. },
  429. close() {
  430. this.show = false
  431. },
  432. pass() {
  433. this.show = true
  434. this.title = '审核意见(通过)'
  435. },
  436. reject() {
  437. this.show = true
  438. this.title = '驳回原因(驳回)'
  439. },
  440. //驳回
  441. rejectSubmit() {
  442. var that = this
  443. uni.showLoading({
  444. title: '加载中',
  445. mask: true
  446. });
  447. that.$api.doRequest('post', '/newWorkflow/api/handle', {
  448. taskId: that.list.taskId,
  449. approved: false,
  450. auditMind: this.auditMind,
  451. needReapply: true,
  452. }).then(res => {
  453. that.$api.msg('驳回成功')
  454. that.show = false
  455. setTimeout(function() {
  456. if (that.everyCheck) {
  457. helper.setAudit(that.list)
  458. } else {
  459. uni.navigateBack()
  460. }
  461. uni.hideLoading()
  462. }, 1000);
  463. })
  464. },
  465. pass() {
  466. this.show = true
  467. this.title = '审核意见'
  468. },
  469. reject() {
  470. this.show = true
  471. this.title = '驳回原因(驳回)'
  472. },
  473. //通过
  474. passSubmit() {
  475. var that = this
  476. if (this.title == '驳回原因(驳回)') {
  477. this.rejectSubmit()
  478. } else {
  479. uni.showLoading({
  480. title: '加载中',
  481. mask: true
  482. });
  483. that.$api.doRequest('post', '/newWorkflow/api/handle', {
  484. taskId: that.list.taskId,
  485. approved: true,
  486. auditMind: this.auditMind,
  487. needReapply: true,
  488. }).then(res => {
  489. that.$api.msg('通过成功')
  490. that.show = false
  491. setTimeout(function() {
  492. if (that.everyCheck) {
  493. helper.setAudit(that.list)
  494. } else {
  495. uni.navigateBack()
  496. }
  497. uni.hideLoading()
  498. }, 1000);
  499. })
  500. }
  501. },
  502. //审核方法
  503. audit(item, index, status, status2, reason) {
  504. if (index < this.list.length) {
  505. this.$api.doRequest('post', '/newWorkflow/api/handle', {
  506. taskId: item.taskId,
  507. approved: status,
  508. auditMind: reason != undefined ? '已驳回' : '34',
  509. needReapply: status2 != undefined ? true : false,
  510. }).then(res => {
  511. this.audit(this.list[index + 1], index + 1, status)
  512. })
  513. } else {
  514. if (status == true) {
  515. that.$api.msg('通过成功')
  516. this.getList()
  517. } else if (status == false) {
  518. that.$api.msg('驳回成功')
  519. this.getList()
  520. }
  521. }
  522. },
  523. }
  524. }
  525. </script>
  526. <style scoped lang="scss">
  527. .container {
  528. padding: 20rpx 20rpx 250rpx 20rpx;
  529. }
  530. .u-form {
  531. margin-bottom: 20rpx;
  532. background: #fff;
  533. border-radius: 10px;
  534. padding: 30rpx 10px;
  535. .u-form-item {
  536. line-height: 30px;
  537. padding: 0px 0;
  538. font-size: 26rpx;
  539. color: #878C9C;
  540. }
  541. }
  542. .content {
  543. margin-top: 30rpx;
  544. .top {
  545. display: flex;
  546. justify-content: space-between;
  547. }
  548. .content-item {
  549. border-radius: 20rpx;
  550. background: white;
  551. padding: 40rpx 20rpx;
  552. margin-bottom: 30rpx;
  553. }
  554. .title {
  555. font-size: 32rpx;
  556. font-weight: 600;
  557. color: #333333;
  558. text-align: left;
  559. margin: 20rpx 0;
  560. }
  561. .car-container {
  562. border-bottom: 2rpx solid #EEEEEE;
  563. }
  564. .car-type-item {
  565. font-size: 28rpx;
  566. margin: 20rpx 0;
  567. color: #878C9C;
  568. }
  569. .weightInfoCss {
  570. font-size: 28rpx;
  571. color: #333333;
  572. font-weight: 500;
  573. }
  574. .row {
  575. display: flex;
  576. justify-content: space-between;
  577. // .right,
  578. // input {
  579. // font-size: 28rpx;
  580. // // color: #333333;
  581. // }
  582. }
  583. .money {
  584. font-size: 32rpx;
  585. font-weight: 500;
  586. margin-bottom: 30rpx;
  587. }
  588. .moneyInfo {
  589. color: #22C572;
  590. font-size: 32rpx;
  591. }
  592. }
  593. .bottom-btn {
  594. width: 100%;
  595. position: fixed;
  596. bottom: 0;
  597. display: flex;
  598. z-index: 2;
  599. left: 0;
  600. background-color: #f8f8f8;
  601. flex-direction: column;
  602. .btn1,
  603. .btn2 {
  604. width: 100%;
  605. margin-bottom: 26rpx;
  606. border-radius: 90rpx;
  607. }
  608. .btn1 {
  609. background: white;
  610. color: #00C265;
  611. }
  612. }
  613. .topInfo {
  614. height: 210rpx;
  615. background: linear-gradient(270deg, #22C572 0%, #34DE8A 100%);
  616. padding: 30rpx;
  617. .topInfo-item {
  618. height: 150rpx;
  619. background-color: #FFFFFF;
  620. border-radius: 20rpx;
  621. padding: 40rpx;
  622. .logo {
  623. width: 40rpx;
  624. height: 40rpx;
  625. margin-top: 8rpx;
  626. }
  627. .infoText {
  628. font-size: 36rpx;
  629. font-weight: 600;
  630. margin-left: 20rpx;
  631. }
  632. .infoData {
  633. color: #878C9C;
  634. font-size: 26rpx;
  635. margin-top: 10rpx;
  636. }
  637. }
  638. }
  639. .shade {
  640. position: fixed;
  641. top: 0;
  642. left: 0;
  643. height: 100%;
  644. width: 100%;
  645. background: rgba(0, 0, 0, 0.4);
  646. z-index: 11;
  647. .wrap {
  648. position: absolute;
  649. left: 0;
  650. top: 0;
  651. right: 0;
  652. bottom: 0;
  653. margin: auto;
  654. background: #fff;
  655. width: calc(100% - 198rpx);
  656. height: 700rpx;
  657. border-radius: 20rpx;
  658. .alert-top {
  659. padding: 33rpx;
  660. display: flex;
  661. justify-content: center;
  662. align-items: center;
  663. position: relative;
  664. }
  665. .title {
  666. font-size: 32rpx;
  667. font-weight: 600;
  668. color: #333333;
  669. }
  670. .close {
  671. position: absolute;
  672. right: 33rpx;
  673. }
  674. }
  675. }
  676. .cancel,
  677. .confirm {
  678. position: absolute;
  679. display: inline-block;
  680. width: 50%;
  681. text-align: center;
  682. bottom: 0;
  683. padding: 10px;
  684. border-top: 1px solid #eee;
  685. font-size: 34rpx;
  686. }
  687. .cancel {
  688. left: 0;
  689. border-right: 1px solid #eee;
  690. color: #AFB3BF;
  691. }
  692. .confirm {
  693. right: 0;
  694. color: #22C572;
  695. }
  696. .textarea {
  697. margin: 18rpx auto;
  698. width: 100%;
  699. background: #F9F9FA;
  700. border-radius: 10px;
  701. border: 1px solid #EEEEEE;
  702. font-size: 28rpx;
  703. padding: 10px;
  704. }
  705. .textCss {
  706. display: flex;
  707. justify-content: flex-end;
  708. width: 100%;
  709. text-align: right;
  710. color: #333333;
  711. }
  712. .u-textarea-style {
  713. margin: 20rpx;
  714. background: #F9F9FA;
  715. border-radius: 10px;
  716. border: 1px solid #EEEEEE;
  717. padding: 10rpx 20rpx;
  718. position: relative;
  719. height: 240px;
  720. /deep/.uni-textarea-textarea {
  721. width: 80%;
  722. }
  723. .right-bottom {
  724. position: absolute;
  725. right: 20rpx;
  726. bottom: 20rpx;
  727. color: #AFB3BF;
  728. }
  729. }
  730. /deep/.u-input__textarea {
  731. height: 300rpx !important;
  732. }
  733. .content2 {
  734. background: white;
  735. margin: 20rpx 0;
  736. border-radius: 20rpx;
  737. padding: 20rpx;
  738. .row {
  739. display: flex;
  740. .left {
  741. display: flex;
  742. align-items: center;
  743. .item1 {
  744. position: relative;
  745. .item-content {
  746. background: #617AE0;
  747. width: 44px;
  748. height: 44px;
  749. border-radius: 22px;
  750. line-height: 44px;
  751. text-align: center;
  752. font-size: 15px;
  753. color: #fff;
  754. }
  755. .status {
  756. position: absolute;
  757. border-radius: 50%;
  758. padding: 0px 2px;
  759. right: -3px;
  760. bottom: -3px;
  761. background: #fff;
  762. }
  763. .status.success {
  764. border: 1px solid rgb(60, 156, 255);
  765. }
  766. .status.error {
  767. border: 1px solid rgb(245, 108, 108);
  768. }
  769. .status.question {
  770. border: 1px solid #f9ae3d;
  771. }
  772. }
  773. }
  774. .right {
  775. width: 80%;
  776. // color: #B0B1B5;
  777. margin-top: 10px;
  778. .right-content {
  779. background: #F2F3F7;
  780. margin-left: 10px;
  781. margin-top: 10px;
  782. padding: 10px;
  783. border-radius: 5px;
  784. color: #B0B1B5;
  785. }
  786. .right-item {
  787. display: flex;
  788. justify-content: space-between;
  789. .time {
  790. color: #999;
  791. }
  792. .item2 {
  793. margin-left: 20rpx;
  794. margin-top: -7px;
  795. .name {
  796. font-size: 28rpx;
  797. font-weight: 800;
  798. margin-bottom: 4px;
  799. }
  800. .status.success {
  801. color: #6CC48C;
  802. }
  803. .status.error {
  804. color: rgb(245, 108, 108);
  805. }
  806. .status.question {
  807. color: #f9ae3d;
  808. }
  809. }
  810. }
  811. }
  812. }
  813. .row2 {
  814. display: flex;
  815. .item-content {
  816. background: #22C572;
  817. width: 30px;
  818. height: 30px;
  819. border-radius: 50%;
  820. line-height: 30px;
  821. text-align: center;
  822. font-size: 12px;
  823. color: #fff;
  824. padding: 0 2px;
  825. margin: 0 auto;
  826. }
  827. .status {
  828. position: absolute;
  829. top: 0;
  830. right: 0;
  831. }
  832. }
  833. .row-line {
  834. width: 1px;
  835. height: 30px;
  836. background: #F2F2F2;
  837. margin: 10rpx 50rpx;
  838. }
  839. .audit {
  840. margin-top: 20rpx;
  841. }
  842. }
  843. .form_top {
  844. border-bottom: 1px solid #F5F6FA;
  845. padding-bottom: 10px;
  846. margin-bottom: 18rpx;
  847. font-size: 30rpx;
  848. font-weight: 600;
  849. }
  850. .form_view {
  851. margin: 20rpx 0;
  852. border-radius: 20rpx;
  853. background: #F9F9FA;
  854. padding: 30rpx 20rpx;
  855. margin-top: 30rpx;
  856. }
  857. .label_css {
  858. font-size: 26rpx;
  859. color: #878C9C;
  860. }
  861. .input_css {
  862. font-size: 20rpx;
  863. }
  864. /deep/.uni-textarea-wrapper {
  865. height: 200px;
  866. }
  867. // .fujian_title{
  868. // font-size: 34rpx;
  869. // margin-top: 20px;
  870. // font-weight: 600;
  871. // // margin-left: 10px;
  872. // }
  873. .headInfo {
  874. height: 100px;
  875. background-color: #FFFFFF;
  876. margin-bottom: 20rpx;
  877. border-radius: 10px;
  878. padding: 30rpx 10px;
  879. display: flex;
  880. .headInfo_left {
  881. width: 10%;
  882. line-height: 60px;
  883. text-align: center;
  884. }
  885. .headInfo_middle {
  886. width: 60%;
  887. padding-left: 10px;
  888. margin-top: 10px;
  889. }
  890. .headInfo_right {
  891. width: 30%;
  892. line-height: 60px;
  893. .char_a {
  894. color: #22C572;
  895. }
  896. .char_b {
  897. color: #FE6430;
  898. }
  899. .char_c {
  900. color: #FB2323;
  901. }
  902. .char_a,
  903. .char_b,
  904. .char_c {
  905. font-size: 16px;
  906. }
  907. }
  908. .adopt {
  909. position: absolute;
  910. right: 30px;
  911. top: 60px;
  912. .adopt_img {
  913. width: 90px;
  914. height: 90px;
  915. }
  916. }
  917. .headInfo_title {
  918. font-size: 19px;
  919. color: #333333;
  920. font-weight: 600;
  921. }
  922. .headInfo_No {
  923. color: #878C9C;
  924. font-size: 13px;
  925. margin-top: 6px;
  926. }
  927. }
  928. .img_item {
  929. display: flex;
  930. width: 100%;
  931. margin: 10px 0;
  932. padding: 0 10rpx;
  933. .imgsign {
  934. width: 25px;
  935. height: 25px;
  936. margin-top: 6px;
  937. }
  938. .char_css {
  939. font-size: 28rpx;
  940. font-weight: 600;
  941. display: -webkit-box;
  942. overflow: hidden;
  943. /*! autoprefixer: off; */
  944. -webkit-box-orient: vertical;
  945. -webkit-line-clamp: 1;
  946. -webkit-box-orient: vertical;
  947. text-overflow: ellipsis;
  948. word-break: break-all;
  949. }
  950. .img_size {
  951. color: #B0B3BF;
  952. font-size: 12px;
  953. margin-top: 5px;
  954. }
  955. .img_dowload {
  956. width: 14%;
  957. color: #22C572;
  958. text-align: right;
  959. }
  960. }
  961. .upload {
  962. margin: auto;
  963. margin-right: 0px;
  964. }
  965. </style>