request_funds.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746
  1. <template>
  2. <view class="content">
  3. <view class='wrap'>
  4. <view class="xinxi" v-if="reType == 2 || expensesType == '2'" style="font-size: 28rpx; ">请款信息</view>
  5. <view class="xinxi" v-if="reType == 1 || expensesType == '1'" style="font-size: 28rpx; ">收款信息</view>
  6. <view class="c-row">
  7. <view class="title">用途</view>
  8. <view class="con-list">
  9. <view @click='show=true'>{{detailData.purpose}}
  10. <u-icon name="arrow-right" color=""></u-icon>
  11. </view>
  12. <u-picker :range="purposeList" range-key="purpose" @confirm='ltCheck($event)' v-model="show"
  13. mode="selector">
  14. </u-picker>
  15. </view>
  16. </view>
  17. <view class="c-row" v-if="detailData.purpose == '库点费用'">
  18. <view class="title">仓库名称</view>
  19. <view class="con-list">
  20. <view @click='selectWare()'>{{detailData.warehouseName?detailData.warehouseName:"请选择仓库名称"}}
  21. <u-icon name="arrow-right" color=""></u-icon>
  22. </view>
  23. </view>
  24. </view>
  25. <!-- <view class="c-row" v-if="detailData.purpose == '库点费用'&&reType == 2">
  26. <view class="title">仓储费</view>
  27. <view class="con-list">
  28. <view @click='show3=true'>{{detailData.flag}}
  29. <u-icon name="arrow-right" color=""></u-icon>
  30. </view>
  31. </view>
  32. </view> -->
  33. <u-picker :range="typeList1" range-key="value" @confirm='typeCheck1($event)' v-model="show3"
  34. mode="selector">
  35. </u-picker>
  36. <view class="c-row" v-if="detailData.purpose == '库点费用'">
  37. <view class="title">类型</view>
  38. <view class="con-list">
  39. <view @click='show2=true'>{{detailData.wareExpenseType?detailData.wareExpenseType:"请选择类型"}}
  40. <u-icon name="arrow-right" color=""></u-icon>
  41. </view>
  42. </view>
  43. </view>
  44. <u-picker :range="typeList" range-key="value" @confirm='typeCheck($event)' v-model="show2" mode="selector">
  45. </u-picker>
  46. <view class="c-row" v-if="detailData.purpose == '合同费用'">
  47. <view class="title">合同编号</view>
  48. <view class="con-list">
  49. <view @click='selectCon'>{{detailData.contractNo?detailData.contractNo:"请选择合同编号"}}
  50. <u-icon name="arrow-right" color=""></u-icon>
  51. </view>
  52. </view>
  53. </view>
  54. <view class="c-row">
  55. <view class="title">费用名称</view>
  56. <view class="con-list">
  57. <input v-model='detailData.expenseName' placeholder="输入费用名称,1-15个字"></input>
  58. </view>
  59. </view>
  60. <view v-if="reType == 2 || expensesType == '2'" class="c-row">
  61. <view class="title">付款方名头</view>
  62. <view class="con-list">
  63. <input v-model='detailData.payerHeader' maxlength='25' placeholder="输入付款方名头"></input>
  64. </view>
  65. </view>
  66. <view v-show="reType == 2&&detailData.purpose=='经营性费用' || expensesType == '2'&&detailData.purpose=='经营性费用'"
  67. class="c-row">
  68. <view class="title">所属名头</view>
  69. <view class="con-list">
  70. <view @click='show1=true'>{{detailData.belongName?detailData.belongName:"请选择所属名头"}}
  71. <u-icon name="arrow-right" color=""></u-icon>
  72. </view>
  73. </view>
  74. </view>
  75. <u-picker :range="namelist" range-key="name" @confirm='confirmname($event)' v-model="show1" mode="selector">
  76. </u-picker>
  77. <view class="c-row">
  78. <view class="title">金额(元)</view>
  79. <view class="con-list">
  80. <input type='digit' v-if="reType == '2' || expensesType == '2'" v-model='detailData.amountMoney'
  81. placeholder="输入请款金额"></input>
  82. <input type='digit' v-if="reType == '1' || expensesType == '1'" v-model='detailData.amountMoney'
  83. placeholder="输入收款金额"></input>
  84. </view>
  85. <checkbox-group @change="checkboxChange" v-if="reType == '2' || expensesType == '2'">
  86. <checkbox value="1" style="transform:scale(0.7)" />备用金支付
  87. </checkbox-group>
  88. </view>
  89. <view class="c-row">
  90. <view class="left">备注</view>
  91. </view>
  92. <view style='position:relative;' class="wrap no-boder">
  93. <u-input class='textarea' v-model="detailData.remark" :type="typeRemark" :border="border"
  94. placeholder="选填,不超过150字" :height="height" :auto-height="autoHeight" maxlength="150" />
  95. <view class="remark">
  96. {{detailData.remark?detailData.remark.length:'0'}}/150个字
  97. </view>
  98. </view>
  99. <view class="c-row">
  100. <view class="title">附件(选填)</view>
  101. </view>
  102. <view style="display: flex;flex-wrap: wrap;">
  103. <view v-for='(item,index) in imglist2' v-if="imglist2 && imglist2.length > 0"
  104. style="position: relative;margin-left: 20rpx;">
  105. <view class="delete_img" @click="deleteImg(index)">X</view>
  106. <image :src="item.appendixPath" mode="" style="width: 100px;height: 100px;"></image>
  107. </view>
  108. <view class="biankuang" @click="uploadClick" v-if="imglist2.length < 30">
  109. <view class="tubiao">
  110. <image class="upload" src="../../static/img/oa_office/upload.png" mode="">
  111. </image>
  112. <view class="" style="color:#8c8f98;">
  113. 选择图片
  114. </view>
  115. </view>
  116. </view>
  117. </view>
  118. </view>
  119. <view v-if="reType == 2 || expensesType == '2'" class='wrap margin-bottom'>
  120. <view class="xinxi" style="font-size: 28rpx; ">收款账户信息</view>
  121. <view class="c-row">
  122. <view class="title">收款方</view>
  123. <view class="con-list">
  124. <input v-model='detailData.payee' placeholder="输入收款方"></input>
  125. </view>
  126. </view>
  127. <view class="c-row">
  128. <view class="title">账户</view>
  129. <view class="con-list">
  130. <input v-model='detailData.accountNumber' placeholder="输入账户"></input>
  131. </view>
  132. </view>
  133. <view class="c-row">
  134. <view class="title">开户行</view>
  135. <view class="con-list">
  136. <input v-model='detailData.bank' placeholder="输入开户行"></input>
  137. </view>
  138. </view>
  139. <view class="c-row">
  140. <view class="title">开户支行</view>
  141. <view class="con-list">
  142. <input v-model='detailData.bankBranch' placeholder="输入开户支行"></input>
  143. </view>
  144. </view>
  145. </view>
  146. <u-toast ref="uToast" />
  147. <view class="bottom-btn">
  148. <view @click="submit()" class="btn">提交</view>
  149. </view>
  150. </view>
  151. </template>
  152. <script>
  153. import * as config from '../../config'
  154. export default {
  155. data() {
  156. return {
  157. show: false,
  158. show2: false,
  159. showWare: false,
  160. detailData: {
  161. // flag: '否',
  162. purpose: '库点费用',
  163. remark: "",
  164. wareExpenseType: '杂费',
  165. warehouseName: '选择仓库',
  166. expenseName: '',
  167. amountMoney: '',
  168. expensesPurpose: '3',
  169. expensesType: '',
  170. paymentIdentifi: '',
  171. fieldName: '',
  172. identification: '1',
  173. costType: '3',
  174. agent: '',
  175. storageFeeFlag:'',
  176. totalDistribution: '0',
  177. },
  178. fileList1: [],
  179. show1: false,
  180. warehouseType: '1',
  181. typeRemark: 'textarea',
  182. border: true,
  183. show3: false,
  184. imglist: [], //存
  185. imglist2: [], //展示
  186. height: 150,
  187. autoHeight: true,
  188. purposeList: [{
  189. purpose: "合同费用"
  190. },
  191. {
  192. purpose: "库点费用"
  193. },
  194. {
  195. purpose: "经营性费用"
  196. },
  197. {
  198. purpose: "备用金"
  199. },
  200. ],
  201. typeList1: [{
  202. value: "是"
  203. },
  204. {
  205. value: "否"
  206. },
  207. ],
  208. typeList: [{
  209. value: "杂费"
  210. },
  211. {
  212. value: "水电费"
  213. },
  214. {
  215. value: "伙食费"
  216. },
  217. {
  218. value: "人工费"
  219. },
  220. {
  221. value: "物质采买"
  222. },
  223. {
  224. value: "燃料费"
  225. },
  226. {
  227. value: "加油费"
  228. },
  229. {
  230. value: "仓储费"
  231. },
  232. ],
  233. namelist: [{
  234. name: "黑龙江中天昊元贸易有限公司"
  235. },
  236. {
  237. name: "中天昊元-建发合营"
  238. },
  239. {
  240. name: "中天昊元-六水香合营"
  241. },
  242. {
  243. name: "中天昊元-昊友合营"
  244. },
  245. {
  246. name: "黑龙江中天昊元贸易有限公司辽宁分公司"
  247. },
  248. {
  249. name: "黑龙江众利合粮食贸易有限公司"
  250. },
  251. {
  252. name: "黑龙江欣洋粮食贸易有限公司"
  253. },
  254. {
  255. name: "黑龙江启兴粮食贸易有限公司"
  256. },
  257. {
  258. name: "黑龙江鑫满仓粮食贸易有限公司"
  259. },
  260. {
  261. name: "黑龙江谷香粮食贸易有限公司"
  262. },
  263. {
  264. name: "黑龙江益储益运粮食贸易有限公司"
  265. },
  266. {
  267. name: "黑龙江海天粮食农业发展有限公司"
  268. },
  269. {
  270. name: "黑龙江中天绿粮供应链管理有限公司"
  271. },
  272. {
  273. name: "中天昊元(海南)国际贸易有限公司"
  274. },
  275. {
  276. name: "克东县嘉达建筑装潢有限责任公司"
  277. },
  278. {
  279. name: "克东县金博粮食有限公司"
  280. },
  281. {
  282. name: "克东县安正商贸有限公司"
  283. },
  284. {
  285. name: "克东县万祥农业科技开发有限公司"
  286. },
  287. {
  288. name: "克东县万润运输有限公司"
  289. },
  290. {
  291. name: "黑龙江大金仓农业科技有限公司"
  292. },
  293. {
  294. name: "克东县华祥通讯管线工程有限公司"
  295. },
  296. {
  297. name: "黑龙江峰海粮食贸易有限公司(季度报 增值税季度)"
  298. },
  299. {
  300. name: "黑龙江鑫宝仓粮食贸易有限公司"
  301. },
  302. {
  303. name: "黑龙江中仓粮食贸易有限公司"
  304. },
  305. {
  306. name: "黑龙江晟鸿泰粮食贸易有限公司"
  307. },
  308. {
  309. name: "黑龙江新粮仓粮食贸易有限公司"
  310. },
  311. {
  312. name: "齐齐哈尔米林设备制造有限公司"
  313. },
  314. ],
  315. reType: "",
  316. flag: "",
  317. warehouseInfo: {},
  318. contractNoInfo: {},
  319. }
  320. },
  321. onLoad(options) {
  322. this.reType = options.reType
  323. this.expensesType = options.expensesType
  324. if (this.reType == 2 || this.expensesType == 2) {
  325. uni.setNavigationBarTitle({
  326. title: '请款'
  327. });
  328. }
  329. this.id = options.id
  330. if (this.id) {
  331. this.getRequest()
  332. } else {
  333. return
  334. }
  335. },
  336. onShow() {
  337. this.detailData.payerHeader = uni.getStorageSync('compName1').company
  338. this.$forceUpdate()
  339. this.warehouseInfo = uni.getStorageSync('theWarehouse');
  340. if (this.warehouseInfo && this.detailData.purpose == "库点费用") {
  341. this.detailData.warehouseName = this.warehouseInfo.warehouseName
  342. this.$forceUpdate()
  343. }
  344. this.contractNoInfo = uni.getStorageSync('reContractNo');
  345. if (this.contractNoInfo && this.detailData.purpose == "合同费用") {
  346. this.detailData.contractId = this.contractNoInfo.id
  347. this.detailData.contractNo = this.contractNoInfo.contractNo
  348. this.$api.doRequest('get', 'customerInfo/getPayeeInfo', {
  349. contractNo: this.detailData.contractNo
  350. }).then(res => {
  351. this.detailData.payee = res.customerType == "企业客户" ? res.compName : res.customerName
  352. this.detailData.accountNumber = res.bankCard
  353. this.detailData.bank = res.bankDeposit
  354. this.detailData.bankBranch = res.bankDepositBranch
  355. this.$forceUpdate()
  356. })
  357. }
  358. },
  359. watch: {
  360. imglist: {
  361. handler: function() {
  362. this.$api.doRequest('get', 'appendix/query/getFileList', {
  363. appendixIds: this.imglist.toString()
  364. }).then(res => {
  365. this.imglist2 = res.data.data
  366. })
  367. },
  368. deep: true
  369. }
  370. },
  371. methods: {
  372. checkboxChange(e) {
  373. if (e.detail.value[0] == 1) {
  374. this.detailData.paymentIdentifi = 1
  375. } else {
  376. this.detailData.paymentIdentifi = 0
  377. }
  378. },
  379. typeCheck(e) {
  380. this.detailData.wareExpenseType = this.typeList[e[0]].value
  381. },
  382. typeCheck1(e) {
  383. this.detailData.flag = this.typeList1[e[0]].value
  384. },
  385. afterRead(e) {
  386. console.log(e)
  387. },
  388. async uploadClick() {
  389. let baseUrlNew = config.def().baseUrlNew
  390. let pcUserInfo = uni.getStorageSync('pcUserInfo')
  391. console.log('baseUrlNew', baseUrlNew)
  392. if (!pcUserInfo) {
  393. uni.showToast({
  394. title: "登录已失效,请重新登录"
  395. })
  396. return
  397. }
  398. uni.chooseImage({
  399. count: 10,
  400. success: (chooseImageRes) => {
  401. console.log('chooseImageRes', chooseImageRes)
  402. let files = []
  403. for (let item of chooseImageRes.tempFiles) {
  404. files.push({
  405. name: 'fileName',
  406. url: item.path
  407. });
  408. }
  409. console.log(files)
  410. for (let i = 0; i < files.length; i++) {
  411. uni.uploadFile({
  412. url: baseUrlNew + 'appendix/api/uploadFiles',
  413. // url: baseUrlNew+'appendix/api/uploadFiles', //仅为示例,非真实的接口地址
  414. // files: files[i],
  415. filePath: files[i].url,
  416. name: files[i].name,
  417. formData: {
  418. // fileName: chooseImageRes.tempFiles[0],
  419. companyId: pcUserInfo.compId,
  420. modelId: '',
  421. vesselId: '',
  422. },
  423. success: (uploadFileRes) => {
  424. console.log(JSON.parse(uploadFileRes.data))
  425. var data = JSON.parse(uploadFileRes.data).data
  426. data.compId = pcUserInfo.compId
  427. this.$api.doRequest('post', '/appendix/api/saveFilesApp', {
  428. newAppendixs: [data],
  429. oldAppendixIds: ""
  430. }).then(res => {
  431. this.imglist.push(res.data.data[0])
  432. console.log(res)
  433. })
  434. console.log(uploadFileRes.data);
  435. },
  436. fail(res) {
  437. console.log(res);
  438. }
  439. });
  440. }
  441. }
  442. });
  443. },
  444. deleteImg(index) {
  445. this.imglist.splice(index, 1)
  446. },
  447. calculate() {
  448. const query = uni.createSelectorQuery().in(this);
  449. query.selectAll('.left')
  450. console.log(query)
  451. },
  452. ltCheck(e) {
  453. this.detailData.purpose = this.purposeList[e[0]].purpose
  454. if (this.detailData.purpose == "合同费用") {
  455. this.detailData.expensesPurpose = "1"
  456. delete this.detailData.warehouseName
  457. } else if (this.detailData.purpose == "库点费用") {
  458. this.detailData.expensesPurpose = "3"
  459. delete this.detailData.contractNo
  460. } else if (this.detailData.purpose == "备用金") {
  461. this.detailData.expensesPurpose = "7"
  462. delete this.detailData.warehouseName
  463. delete this.detailData.contractNo
  464. } else {
  465. this.detailData.expensesPurpose = "5"
  466. delete this.detailData.warehouseName
  467. delete this.detailData.contractNo
  468. if (this.reType == 2) {
  469. this.show1 = true
  470. }
  471. }
  472. console.log(this.detailData)
  473. },
  474. confirmname(e) {
  475. this.detailData.belongName = this.namelist[e[0]].name
  476. },
  477. selectCon() {
  478. uni.navigateTo({
  479. url: '/pages/reimbursement/selectContract'
  480. })
  481. },
  482. selectWare() {
  483. uni.navigateTo({
  484. url: '/pages/reimbursement/selectWarehouse?warehouseType=1'
  485. })
  486. },
  487. submit() {
  488. if (!this.detailData.purpose) {
  489. this.$api.msg('用途不能为空')
  490. return
  491. }
  492. if (!this.detailData.warehouseName && this.detailData.purpose == '库点费用') {
  493. this.$api.msg('请选择仓库名称')
  494. return
  495. }
  496. if (!this.detailData.contractNo && this.detailData.purpose == '合同费用') {
  497. this.$api.msg('请选择合同编号')
  498. return
  499. }
  500. if (this.expensesType == '2') {
  501. if (!this.detailData.payerHeader) {
  502. this.$api.msg('付款方不能为空')
  503. return
  504. }
  505. }
  506. if (!this.detailData.amountMoney) {
  507. this.$api.msg('金额不能为空')
  508. return
  509. }
  510. var that = this
  511. var title
  512. var theInterface
  513. if (that.expensesType == '1' || that.reType == '1') {
  514. title = "确定提交收款信息?"
  515. } else {
  516. title = "确定提交请款信息?"
  517. }
  518. if (that.id) {
  519. theInterface = '/expenseInfo/editInfo'
  520. that.detailData.id = that.id
  521. } else {
  522. theInterface = '/expenseInfo/api/addInfo'
  523. }
  524. uni.showModal({
  525. content: title,
  526. showCancel: true,
  527. confirmText: '提交',
  528. success: function(res) {
  529. if (res.confirm) {
  530. that.detailData.compId = uni.getStorageSync('pcUserInfo').compId
  531. that.detailData.agent = uni.getStorageSync('userInfo').userName
  532. // that.detailData.identification = that.detailData.identification
  533. // that.detailData.paymentIdentifi = that.detailData.paymentIdentifi
  534. // that.detailData.costType = that.detailData.costType
  535. that.detailData.expensesType = that.reType
  536. that.detailData.fieldName = uni.getStorageSync('userInfo').userName
  537. // that.detailData.totalDistribution = that.detailData.totalDistribution
  538. if(that.detailData.wareExpenseType == '仓储费'){
  539. that.detailData.storageFeeFlag = 1
  540. }
  541. if (that.imglist.length > 0) {
  542. that.detailData.addressUrl = that.imglist.toString()
  543. }
  544. uni.showLoading({
  545. title: "加载中",
  546. mask: true
  547. })
  548. that.$api.doRequest('post', theInterface, that.detailData)
  549. .then(res => {
  550. if (res.data.code == 200) {
  551. uni.hideLoading()
  552. that.$api.msg('提交成功')
  553. uni.navigateBack({
  554. delta: 1
  555. });
  556. } else {
  557. that.$api.msg(res.data.message)
  558. }
  559. })
  560. }
  561. }
  562. })
  563. },
  564. //获取信息
  565. getRequest() {
  566. this.$api.doRequest('get', '/expenseInfo/ExpenseInfo', {
  567. id: this.id,
  568. }).then(res => {
  569. if (res.data.code == 200) {
  570. this.detailData = res.data.data
  571. this.imglist = this.detailData.addressUrl.split(',')
  572. }
  573. })
  574. },
  575. },
  576. }
  577. </script>
  578. <style lang='scss' scoped>
  579. page {
  580. background: #F5F6FA;
  581. }
  582. .delete_img {
  583. position: absolute;
  584. z-index: 100;
  585. left: 84px;
  586. color: #ffffff;
  587. font-size: 28rpx;
  588. border: 1px;
  589. border-radius: 5rpx;
  590. width: 32rpx;
  591. height: 32rpx;
  592. background-color: #ff0000;
  593. text-align: center;
  594. }
  595. .title_b {
  596. margin: 20rpx 20rpx 0rpx 20rpx;
  597. padding: 20rpx 10rpx 20rpx 10rpx;
  598. font-size: 18px;
  599. font-weight: 550;
  600. }
  601. .xinxi {
  602. padding: 20rpx 30rpx;
  603. }
  604. .tubiao {
  605. margin: 0 auto;
  606. text-align: center;
  607. margin-top: 35rpx;
  608. }
  609. .biankuang {
  610. border: 1px dashed #AFB3BF;
  611. border-radius: 10rpx;
  612. width: 200rpx;
  613. height: 200rpx;
  614. margin-left: 20rpx;
  615. }
  616. .upload {
  617. width: 80rpx;
  618. height: 80rpx;
  619. }
  620. .c-row {
  621. display: -webkit-box;
  622. display: -webkit-flex;
  623. display: flex;
  624. -webkit-box-align: center;
  625. -webkit-align-items: center;
  626. align-items: center;
  627. padding: 20rpx 30rpx;
  628. position: relative;
  629. }
  630. .con-list {
  631. -webkit-box-flex: 1;
  632. flex: 1;
  633. display: flex;
  634. -webkit-box-orient: vertical;
  635. -webkit-box-direction: normal;
  636. flex-direction: column;
  637. color: #303133;
  638. line-height: 20px;
  639. text-align: right;
  640. padding-right: 10px;
  641. justify-content: space-between;
  642. }
  643. .wrap {
  644. padding-bottom: 10px;
  645. font-size: 14px;
  646. background: #fff;
  647. margin: 10px;
  648. border-radius: 10px;
  649. input {
  650. font-size: 14px;
  651. }
  652. >.title {
  653. padding: 10px 16px;
  654. }
  655. }
  656. .buns_item {
  657. display: flex;
  658. padding: 80rpx 0 50rpx 0;
  659. justify-content: space-around;
  660. }
  661. .but_css {
  662. background: #22C572;
  663. width: 40%;
  664. padding: 20rpx;
  665. color: #fff;
  666. text-align: center;
  667. border-radius: 20rpx;
  668. }
  669. /deep/.u-radio-group {
  670. flex-direction: row-reverse;
  671. }
  672. .no-boder {
  673. border: 0;
  674. }
  675. .textarea {
  676. background: #F9F9FA;
  677. border: 1px solid #EEEEEE;
  678. }
  679. .remark {
  680. position: absolute;
  681. right: 10px;
  682. bottom: 20px;
  683. color: #AFB3BF;
  684. }
  685. .submit {
  686. width: 100%;
  687. background: #2c8ac5;
  688. border-radius: 10rpx;
  689. }
  690. .bottom-btn {
  691. padding: 30rpx;
  692. background: #FFFFFF;
  693. width: 100%;
  694. position: fixed;
  695. bottom: 0rpx;
  696. display: flex;
  697. z-index: 9999;
  698. }
  699. .content {
  700. overflow: hidden;
  701. }
  702. .btn {
  703. border-radius: 50rpx;
  704. padding: 20rpx 0;
  705. background: #22C572;
  706. color: #fff;
  707. font-size: 32rpx;
  708. width: 100%;
  709. box-sizing: border-box;
  710. display: flex;
  711. justify-content: center;
  712. }
  713. .margin-bottom {
  714. margin-bottom: 84px;
  715. }
  716. </style>