charge_against_revenue.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814
  1. <template>
  2. <view class="warp">
  3. <view class="topInfo">
  4. <view class="topInfo-item">
  5. <view class="flex info">
  6. <view class="logo">
  7. <image src="../../../static/img/reject.png" mode="" v-if="status == '已驳回'"
  8. style="height: 40rpx;"></image><!-- 驳回 -->
  9. <image src="../../../static/img/tongguo.png" mode="" v-if="status == '已通过'"
  10. style="height: 40rpx;"></image><!-- 通过 -->
  11. <!-- v-if="status == '审核中' || status == '待决策人审核'" -->
  12. <image src="../../../static/img/daishenhe.png" mode="" style="height: 40rpx;"></image>
  13. <!-- 待审核 -->
  14. </view>
  15. <!-- {{auditList.length > 0 ?auditList[auditList.length - 1].operatorMajorRoleName:""}} -->
  16. <view class="infoText">待决策人审核</view>
  17. </view>
  18. <view class="infoData">{{auditInfo.updateDate}}</view>
  19. </view>
  20. </view>
  21. <!-- <view class='content1'>
  22. <view class='row content-item'>
  23. <view class="left" style="color: #878C9C ;">仓库</view>
  24. <view class="right">{{warehouseName}}</view>
  25. </view>
  26. <view class="content-item">
  27. <view v-for="(item,index) in List">
  28. <view class='row row1'>
  29. <view class="left title">{{item.paymentNo}}</view>
  30. <view class="right title">{{item.carNo}}</view>
  31. </view>
  32. <view class='row'>
  33. <view class="left goodsInfoCss">{{item.goodsName}}({{item.netWeight}}kg -
  34. ¥{{item.tidalGrainPrice}})</view>
  35. <view class="right priceCss">¥{{item.amountIngPayable}}</view>
  36. </view>
  37. </view>
  38. </view>
  39. </view> -->
  40. <view class="content1">
  41. <!-- <view class="title">
  42. 销售外勤 张三
  43. </view> -->
  44. <view class="row">
  45. <view class="left">用途</view>
  46. <view class="right" v-if='auditInfo.expensesPurpose==1'>合同费用</view>
  47. <view class="right" v-if='auditInfo.expensesPurpose==3'>库点费用</view>
  48. <view class="right" v-if='auditInfo.expensesPurpose==5'>经营性费用</view>
  49. </view>
  50. <view v-if='auditInfo.expensesPurpose==1' class="row">
  51. <view class="left">类型</view>
  52. <view class="right" v-if='auditInfo.costType==1'>粮款</view>
  53. <view class="right" v-if='auditInfo.costType==3'>非粮款</view>
  54. <view class="right" v-if='auditInfo.costType==5'>保证金</view>
  55. </view>
  56. <view v-if='auditInfo.expensesPurpose==1' class="row">
  57. <view class="left">合同编号</view>
  58. <view class="right">{{auditInfo.contractNo}}</view>
  59. </view>
  60. <view v-if='auditInfo.expensesPurpose==3' class="row">
  61. <view class="left">仓库名称</view>
  62. <view class="right">{{auditInfo.warehouseName}}</view>
  63. </view>
  64. <view class="row">
  65. <view class="left">费用名称</view>
  66. <view class="right">{{auditInfo.expenseName}}</view>
  67. </view>
  68. <view class="row">
  69. <view class="left">金额(元)</view>
  70. <view class="right">{{auditInfo.amountMoney}}</view>
  71. </view>
  72. <view style='border-bottom: 0;' class="row">
  73. <view class="left">备注</view>
  74. <view class="right">{{auditInfo.remark}}</view>
  75. </view>
  76. <!-- <view class="row">
  77. <view class="left">附件</view>
  78. <view class="right">{{auditInfo.amountMoney}}</view>
  79. </view> -->
  80. <!-- <view class="row row-bottom">
  81. <view class="left">水分(%)</view>
  82. <input type="digit" v-model='detailData.warehouseInOutDetail.waterContent' class="right-bottom"
  83. placeholder="输入水分占比"></input>
  84. </view>
  85. <view class="row row-bottom">
  86. <view class="left">容重(克/升)</view>
  87. <input type="digit" v-model='detailData.warehouseInOutDetail.bulkDensity' class="right-bottom"
  88. placeholder="输入容重"></input>
  89. </view>
  90. <view class="row row-bottom">
  91. <view class="left">热损伤(%)</view>
  92. <input type="digit" v-model='detailData.warehouseInOutDetail.jiaorenli' class="right-bottom"
  93. placeholder="输入热损伤占比"></input>
  94. </view>
  95. <view class="row row-bottom">
  96. <view class="left">杂质(%)</view>
  97. <input type="digit" v-model='detailData.warehouseInOutDetail.impurity' class="right-bottom"
  98. placeholder="输入杂质占比"></input>
  99. </view>
  100. <view class="row row-bottom">
  101. <view class="left">霉变粒(%)</view>
  102. <input type="digit" v-model='detailData.warehouseInOutDetail.mildewGrain' class="right-bottom"
  103. placeholder="输入霉变粒占比"></input>
  104. </view>
  105. <view class="row row-bottom">
  106. <view class="left">不完善粒(%)</view>
  107. <input type="digit" v-model='detailData.warehouseInOutDetail.imperfectGrain' class="right-bottom"
  108. placeholder="输入不完善粒占比"></input>
  109. </view> -->
  110. </view>
  111. <view class="content1" v-if="url && url != 'ng'">
  112. <view class="title ">
  113. 附件
  114. </view>
  115. <view v-if='auditInfo.srcList.length>0' class="">
  116. <view style='flex-wrap: wrap;' class="file">
  117. <image v-for='(item,index) in auditInfo.srcList' @click="previewImageFn(index)" class='fujianImg'
  118. :src="item" mode=""></image>
  119. </view>
  120. </view>
  121. <view v-else class="">
  122. 暂无附件
  123. </view>
  124. </view>
  125. <view class="content1" v-if="url && url != 'ng'&&auditInfo.expenseAllocationInfoList">
  126. <view class="title ">
  127. 费用分配附件
  128. </view>
  129. <view class="file" @click="openXls">
  130. <image src="../../../static/img/excle.png" mode="" class="img_css"></image>
  131. <text class="text_css">明细.xls</text>
  132. </view>
  133. </view>
  134. <view class="content2">
  135. <view class="title row">
  136. 流程
  137. </view>
  138. <view v-for="(item,index) in auditList" :key='index' class="audit">
  139. <view class="row">
  140. <view class="left">
  141. <view class="item1">
  142. <image :src="src" style="width: 100rpx;height: 100rpx;border-radius: 500%;"></image>
  143. </view>
  144. <view class="item2">
  145. <view class="name">{{item.operatorName ? item.operatorName:item.operatorMajorRoleName}}
  146. </view>
  147. <view class="status">{{item.approved ? "已审核":"待决策人审核"}}</view>
  148. </view>
  149. </view>
  150. <view class="right">
  151. {{item.updateDate}}
  152. </view>
  153. </view>
  154. <view class="row-line" v-if="index!= auditList.length - 1"></view>
  155. </view>
  156. </view>
  157. <view v-if='show' class="shade">
  158. <view class="wrap">
  159. <view class="alert-top">
  160. <view class="title">
  161. {{title}}
  162. </view>
  163. <u-icon name="close" class="close" color="#8890B1" @click="close()"></u-icon>
  164. </view>
  165. <view class="u-textarea-style">
  166. <view class="right-bottom">
  167. {{auditMind.length}}/100个字
  168. </view>
  169. <u-input class="" v-model='auditMind' placeholder="请在此输入审核意见" type="textarea" height="414"
  170. maxlength="100" />
  171. </view>
  172. <view @click='close()' class="cancel">取消</view>
  173. <view @click='passSubmit()' class="confirm">确定</view>
  174. </view>
  175. </view>
  176. <u-toast ref="uToast" />
  177. <view style='padding:10px;' class='flex bottom-btn'>
  178. <u-button @click='reject' type="error" class="btn1" hover-class='none'>驳回</u-button>
  179. <u-button @click='pass' type="success" class="btn2">通过</u-button>
  180. </view>
  181. </view>
  182. </template>
  183. <script>
  184. import helper from '@/common/helper.js';
  185. import {
  186. mapState
  187. } from 'vuex';
  188. export default {
  189. data() {
  190. return {
  191. src: '../../../static/img/myimg/LiangShang@2x.png',
  192. isSHowBtn: true,
  193. height: 200,
  194. autoHeight: true,
  195. border: false,
  196. title: '',
  197. show: false,
  198. auditMind: '',
  199. id: "",
  200. currentPage: 1,
  201. pageSize: 100,
  202. List: [],
  203. status: "",
  204. updateDate: "",
  205. warehouseName: "",
  206. everyCheck: '',
  207. auditInfo: {
  208. srcList: []
  209. },
  210. id: "",
  211. auditList: [],
  212. url: "11",
  213. }
  214. },
  215. onBackPress(e) {
  216. if (this.everyCheck) {
  217. uni.navigateTo({
  218. url: "/pages/task/my_task"
  219. })
  220. return true;
  221. }
  222. },
  223. onLoad(options) {
  224. this.id = options.id
  225. this.vesselId = options.vesselId
  226. this.everyCheck = uni.getStorageSync("everyTask")
  227. this.isSHowBtn = options.isShowbtn
  228. },
  229. onShow(options) {
  230. this.getList()
  231. },
  232. computed: {
  233. ...mapState(['hasLogin', 'userInfo']),
  234. },
  235. methods: {
  236. previewImageFn(index) {
  237. /* 预览图片 */
  238. uni.previewImage({
  239. current: index,
  240. /* 需要是数组 */
  241. urls: this.auditInfo.srcList,
  242. /* 默认底部圆点 number顶部数字1234 */
  243. // indicator:'default',
  244. indicator: 'number',
  245. loop: false,
  246. /* 长按图片底部显示选项 */
  247. longPressActions: {
  248. itemList: ['保存图片'],
  249. itemColor: '#d60000',
  250. success: data => {
  251. console.log('选中了第' + (data.tapIndex + 1) + '个按钮,第' + (data.index + 1) + '张图片');
  252. /* 保存图片到系统相册 */
  253. plus.nativeUI.closePreviewImage();
  254. if (data.tapIndex == 0) {
  255. uni.saveImageToPhotosAlbum({
  256. filePath: this.auditInfo.srcList[data.index],
  257. success: res => {
  258. // console.log(this.userImgList[data.index])
  259. // console.log(res.path,"res")
  260. // plus.nativeUI.closePreviewImage();
  261. plus.nativeUI.closePreviewImage();
  262. // uni.closePreviewImage()
  263. plus.nativeUI.toast("保存成功", {
  264. background: "#c3002f"
  265. });
  266. // this.$http.showTK({title:"保存成功",duration:500,position:"bottom"})
  267. },
  268. fail: err => {
  269. console.log(err, "err")
  270. }
  271. })
  272. } else if (data.tapIndex == 1) {
  273. this.uniShare()
  274. }
  275. },
  276. fail: err => {
  277. console.log(err.errMsg);
  278. }
  279. }
  280. });
  281. },
  282. openXls() {
  283. if (this.url && this.url != "ng") {
  284. uni.downloadFile({
  285. url: this.url,
  286. success: function(res) {
  287. var filePath = res.tempFilePath;
  288. uni.openDocument({
  289. filePath: filePath,
  290. showMenu: true,
  291. success: function(res) {
  292. console.log('打开文档成功');
  293. }
  294. });
  295. }
  296. });
  297. }
  298. },
  299. getList() {
  300. uni.showLoading({
  301. title: "加载中...",
  302. mask: true
  303. })
  304. this.$api.doRequest('get', '/paymentManagement/selectPaymentManagement', {
  305. currentPage: 1,
  306. pageSize: 100,
  307. searchType: '1', //searchType:1待审核
  308. warehouseName: this.vesselId,
  309. managementType: 1
  310. }).then(res1 => {
  311. uni.hideLoading()
  312. if (res1.data.code == 200) {
  313. this.List = res1.data.data.records
  314. }
  315. })
  316. // this.$api.doRequest('get', '/paymentManagement/getInfo', {
  317. // id: this.id
  318. // }).then(res => {
  319. // if (res.data.code == 200) {
  320. // uni.showLoading({
  321. // title: "加载中...",
  322. // mask: true
  323. // })
  324. // }
  325. // })
  326. this.$api.doRequest('post', '/expenseInfo/exportPhone', {
  327. id: this.id
  328. }).then(res1 => {
  329. if (res1.data.code == 200) {
  330. this.url = res1.data.data
  331. }
  332. })
  333. this.$api.doRequest('get', '/expenseInfo/ExpenseInfo', {
  334. id: this.id
  335. }).then(res1 => {
  336. if (res1.data.code == 200) {
  337. this.auditInfo = res1.data.data
  338. if (this.auditInfo.addressUrl && this.auditInfo.addressUrl != '') {
  339. this.auditInfo.srcList = this.auditInfo.addressUrl.split(',')
  340. } else {
  341. this.auditInfo.srcList = []
  342. }
  343. this.auditInfo.amountIngPayableTotal1 = helper.convertCurrency(this.auditInfo
  344. .amountIngPayableTotal)
  345. }
  346. })
  347. this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
  348. businessCode: 'FEIYONGGUANLI-APPROVE',
  349. tmpCompId: uni.getStorageSync('pcUserInfo').compId
  350. }).then(res1 => {
  351. this.updateDate = res1.data.data[0].updateDate
  352. this.$api.doRequest('get', '/commonUser/getHis', {
  353. workflowId: res1.data.data[0].id,
  354. businessKey: this.id
  355. }).then(response => {
  356. // uni.hideLoading()
  357. this.auditList = response.data.data
  358. })
  359. })
  360. },
  361. close() {
  362. this.show = false
  363. },
  364. pass() {
  365. this.show = true
  366. this.title = '审核意见(通过)'
  367. },
  368. reject() {
  369. this.show = true
  370. this.title = '驳回原因(驳回)'
  371. },
  372. //驳回
  373. // rejectSubmit() {
  374. // if (!this.auditMind) {
  375. // this.$api.msg('驳回原因不能为空!')
  376. // } else {
  377. // var that = this
  378. // that.show = false
  379. // if (this.List.length > 0) {
  380. // uni.showModal({
  381. // content: "确定驳回付款申请?",
  382. // showCancel: true,
  383. // confirmText: '确定',
  384. // success: function(res) {
  385. // if (res.confirm) {
  386. // that.audit(that.List[0], 0, false, '', '')
  387. // }
  388. // }
  389. // })
  390. // }
  391. // }
  392. // },
  393. //审核确定
  394. passSubmit() {
  395. var that = this
  396. that.show = false
  397. if (this.title == '驳回原因(驳回)') {
  398. // this.rejectSubmit()
  399. if (!that.auditMind) {
  400. this.$api.msg('驳回原因不能为空!')
  401. } else {
  402. uni.showModal({
  403. content: "确定驳回付款申请?",
  404. showCancel: true,
  405. confirmText: '确定',
  406. success: function(res) {
  407. if (res.confirm) {
  408. uni.showLoading({
  409. title: "审核中...",
  410. mask: true
  411. })
  412. var count = 0
  413. // for (let num = 0; num < that.List.length; num++) {
  414. that.$api.doRequest('post', '/workflow/api/handle', {
  415. taskId: that.auditInfo.taskId,
  416. approved: false,
  417. auditMind: that.auditMind ? that.auditMind : "",
  418. needReapply: true
  419. }).then(res => {
  420. count++
  421. if (count == that.List.length) {
  422. uni.hideLoading()
  423. that.$api.msg('审核成功!')
  424. console.log('驳回成功!')
  425. setTimeout(function() {
  426. uni.navigateBack();
  427. }, 2000);
  428. }
  429. })
  430. // }
  431. }
  432. }
  433. })
  434. }
  435. } else {
  436. var that = this
  437. this.show = false
  438. uni.showModal({
  439. content: "确定通过付款申请?",
  440. showCancel: true,
  441. confirmText: '确定',
  442. success: function(res) {
  443. if (res.confirm) {
  444. uni.showLoading({
  445. title: "审核中...",
  446. mask: true
  447. })
  448. // for (let num = 0; num < that.List.length; num++) {
  449. var tmp = 0
  450. that.$api.doRequest('post', '/workflow/api/handle', {
  451. taskId: that.auditInfo.taskId,
  452. approved: true,
  453. auditMind: that.auditMind ? that.auditMind : "",
  454. needReapply: false
  455. }).then(res => {
  456. tmp++
  457. // if (tmp == that.List.length) {
  458. uni.hideLoading()
  459. that.$api.msg('审核成功!')
  460. console.log('审核通过!')
  461. setTimeout(function() {
  462. uni.navigateBack();
  463. }, 2000);
  464. // }
  465. })
  466. // }
  467. }
  468. }
  469. })
  470. }
  471. },
  472. // audit(list, index, status, status2, reason) {
  473. // uni.showLoading({
  474. // title: "审核中"
  475. // })
  476. // if (this.List.length > 0) {
  477. // if (status == true && list.status == "已驳回") {
  478. // this.$api.doRequest('get', '/paymentManagement/api/openAuditFlow', {
  479. // compId: "2710b21efc1e4393930c5dc800010dc4",
  480. // id: list.id
  481. // }).then(res => {
  482. // if (res.data.code == 200) {
  483. // this.audit(this.List[index + 1], index + 1, status, status2, reason)
  484. // }
  485. // })
  486. // } else {
  487. // for (var i = 0; i < this.List.length; i++) {
  488. // this.$api.doRequest('post', '/workflow/api/handle', {
  489. // taskId: this.List[i].taskId,
  490. // approved: status,
  491. // auditMind: this.auditMind ? this.auditMind : "",
  492. // needReapply: status2 ? true : false
  493. // }).then(res => {
  494. // if (res.data.code == 200) {
  495. // uni.hideLoading()
  496. // // this.audit(this.List[index + 1], index + 1, status, status2, reason)
  497. // this.$api.msg('通过成功')
  498. // }else{
  499. // uni.hideLoading()
  500. // this.$api.msg('审核失败')
  501. // }
  502. // })
  503. // }
  504. // }
  505. // } else {
  506. // if (status == true) {
  507. // this.$api.msg('通过成功')
  508. // } else if (status == false) {
  509. // this.$api.msg('驳回成功')
  510. // }
  511. // let that = this
  512. // setTimeout(function() {
  513. // if (that.everyCheck) {
  514. // helper.setAudit(that.list)
  515. // } else {
  516. // uni.navigateBack()
  517. // }
  518. // uni.hideLoading()
  519. // }, 1000);
  520. // }
  521. // },
  522. }
  523. }
  524. </script>
  525. <style scoped lang="scss">
  526. .warp {
  527. margin: 10rpx;
  528. padding: 20rpx 20rpx 240rpx 20rpx;
  529. }
  530. .content1 {
  531. font-size: 28rpx;
  532. color: #333333;
  533. margin-top: 30rpx;
  534. padding: 20rpx;
  535. // .content-item {
  536. border-radius: 20rpx;
  537. background: white;
  538. // padding: 40rpx 20rpx;
  539. // margin-bottom: 30rpx;
  540. // }
  541. // .title {
  542. // font-size: 32rpx;
  543. // font-weight: 600;
  544. // color: #333333;
  545. // margin: 30rpx 0;
  546. // }
  547. // .goodsInfoCss {
  548. // font-size: 28rpx;
  549. // font-weight: 600;
  550. // color: #878C9C;
  551. // margin: 26rpx 10rpx;
  552. // }
  553. // .priceCss {
  554. // font-size: 40rpx;
  555. // margin: 26rpx 10rpx;
  556. // color: #22C572;
  557. // font-weight: 600;
  558. // }
  559. .row {
  560. display: flex;
  561. justify-content: space-between;
  562. border-bottom: 1px solid #EEEEEE;
  563. padding: 20rpx 0;
  564. .right,
  565. input {
  566. font-size: 28rpx;
  567. // color: #333333;
  568. }
  569. }
  570. .img_css {
  571. width: 50rpx;
  572. height: 50rpx;
  573. }
  574. .file {
  575. display: flex;
  576. align-items: center;
  577. margin: 30rpx 0 0 20rpx;
  578. .text_css {
  579. font-size: 30rpx;
  580. margin-left: 20rpx;
  581. }
  582. }
  583. }
  584. .title {
  585. font-size: 34rpx;
  586. font-weight: 700;
  587. // margin-bottom: 20rpx;
  588. height: 70rpx;
  589. border-bottom: 2rpx solid #EEEEEE;
  590. }
  591. .titlerow {
  592. font-size: 34rpx;
  593. font-weight: 700;
  594. // margin-bottom: 20rpx;
  595. // height: 70rpx;
  596. // border-bottom: 2rpx solid #EEEEEE;
  597. }
  598. .content2 {
  599. background: white;
  600. margin: 20rpx 0;
  601. border-radius: 20rpx;
  602. padding: 20rpx;
  603. .row {
  604. display: flex;
  605. justify-content: space-between;
  606. .left {
  607. display: flex;
  608. align-items: center;
  609. .item2 {
  610. margin-left: 20rpx;
  611. .name {
  612. font-size: 32rpx;
  613. font-weight: 800;
  614. }
  615. .status {
  616. color: #6CC48C;
  617. }
  618. }
  619. }
  620. .right {
  621. color: #B0B1B5;
  622. margin-top: 10px;
  623. }
  624. }
  625. .row-line {
  626. width: 1px;
  627. height: 30px;
  628. background: #F2F2F2;
  629. margin: 10rpx 50rpx;
  630. }
  631. .audit {
  632. margin-top: 20rpx;
  633. }
  634. }
  635. .bottom-btn {
  636. width: 100%;
  637. position: fixed;
  638. bottom: 0;
  639. display: flex;
  640. z-index: 2;
  641. left: 0;
  642. background-color: #f8f8f8;
  643. flex-direction: column;
  644. .btn1,
  645. .btn2 {
  646. width: 100%;
  647. margin-bottom: 26rpx;
  648. border-radius: 90rpx;
  649. }
  650. .btn1 {
  651. background: white;
  652. color: #00C265;
  653. }
  654. }
  655. .row1 {
  656. border-bottom: 0 !important;
  657. }
  658. .topInfo {
  659. height: 210rpx;
  660. background: linear-gradient(270deg, #22C572 0%, #34DE8A 100%);
  661. padding: 30rpx;
  662. .topInfo-item {
  663. height: 150rpx;
  664. background-color: #FFFFFF;
  665. border-radius: 20rpx;
  666. padding: 40rpx;
  667. .logo {
  668. width: 40rpx;
  669. height: 40rpx;
  670. margin-top: 8rpx;
  671. }
  672. .infoText {
  673. font-size: 36rpx;
  674. font-weight: 600;
  675. margin-left: 20rpx;
  676. }
  677. .infoData {
  678. color: #878C9C;
  679. font-size: 26rpx;
  680. margin-top: 10rpx;
  681. }
  682. }
  683. }
  684. .shade {
  685. position: fixed;
  686. top: 0;
  687. left: 0;
  688. height: 100%;
  689. width: 100%;
  690. background: rgba(0, 0, 0, 0.4);
  691. z-index: 3;
  692. .wrap {
  693. position: absolute;
  694. left: 0;
  695. top: 0;
  696. right: 0;
  697. bottom: 0;
  698. margin: auto;
  699. background: #fff;
  700. width: calc(100% - 198rpx);
  701. height: 700rpx;
  702. border-radius: 20rpx;
  703. .alert-top {
  704. padding: 33rpx;
  705. display: flex;
  706. justify-content: center;
  707. align-items: center;
  708. position: relative;
  709. }
  710. .title {
  711. font-size: 32rpx;
  712. font-weight: 600;
  713. color: #333333;
  714. }
  715. .close {
  716. position: absolute;
  717. right: 33rpx;
  718. }
  719. }
  720. }
  721. .cancel,
  722. .confirm {
  723. position: absolute;
  724. display: inline-block;
  725. width: 50%;
  726. text-align: center;
  727. bottom: 0;
  728. padding: 10px;
  729. border-top: 1px solid #eee;
  730. font-size: 34rpx;
  731. }
  732. .cancel {
  733. left: 0;
  734. border-right: 1px solid #eee;
  735. color: #AFB3BF;
  736. }
  737. .confirm {
  738. right: 0;
  739. color: #22C572;
  740. }
  741. .u-textarea-style {
  742. margin: 20rpx;
  743. background: #F9F9FA;
  744. border-radius: 10px;
  745. border: 1px solid #EEEEEE;
  746. padding: 10rpx 20rpx;
  747. position: relative;
  748. .right-bottom {
  749. position: absolute;
  750. right: 20rpx;
  751. bottom: 20rpx;
  752. color: #AFB3BF;
  753. }
  754. }
  755. /deep/.u-input__textarea {
  756. height: 300rpx !important;
  757. }
  758. .fujianImg {
  759. width: 30%;
  760. height: 80px;
  761. border-radius: 3px;
  762. border: 1px solid #ccc;
  763. margin: 5px;
  764. }
  765. </style>