request_funds.vue 19 KB

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