request_funds.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741
  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. }
  372. else{
  373. this.detailData.paymentIdentifi = 0
  374. }
  375. },
  376. typeCheck(e) {
  377. this.detailData.wareExpenseType = this.typeList[e[0]].value
  378. },
  379. typeCheck1(e) {
  380. this.detailData.flag = this.typeList1[e[0]].value
  381. },
  382. afterRead(e) {
  383. console.log(e)
  384. },
  385. async uploadClick() {
  386. let baseUrlNew = config.def().baseUrlNew
  387. let pcUserInfo = uni.getStorageSync('pcUserInfo')
  388. console.log('baseUrlNew', baseUrlNew)
  389. if (!pcUserInfo) {
  390. uni.showToast({
  391. title: "登录已失效,请重新登录"
  392. })
  393. return
  394. }
  395. uni.chooseImage({
  396. count: 10,
  397. success: (chooseImageRes) => {
  398. console.log('chooseImageRes', chooseImageRes)
  399. let files = []
  400. for (let item of chooseImageRes.tempFiles) {
  401. files.push({
  402. name: 'fileName',
  403. url: item.path
  404. });
  405. }
  406. console.log(files)
  407. for (let i = 0; i < files.length; i++) {
  408. uni.uploadFile({
  409. url: baseUrlNew + 'appendix/api/uploadFiles',
  410. // url: baseUrlNew+'appendix/api/uploadFiles', //仅为示例,非真实的接口地址
  411. // files: files[i],
  412. filePath: files[i].url,
  413. name: files[i].name,
  414. formData: {
  415. // fileName: chooseImageRes.tempFiles[0],
  416. companyId: pcUserInfo.compId,
  417. modelId: '',
  418. vesselId: '',
  419. },
  420. success: (uploadFileRes) => {
  421. console.log(JSON.parse(uploadFileRes.data))
  422. var data = JSON.parse(uploadFileRes.data).data
  423. data.compId = pcUserInfo.compId
  424. this.$api.doRequest('post', '/appendix/api/saveFilesApp', {
  425. newAppendixs: [data],
  426. oldAppendixIds: ""
  427. }).then(res => {
  428. this.imglist.push(res.data.data[0])
  429. console.log(res)
  430. })
  431. console.log(uploadFileRes.data);
  432. },
  433. fail(res) {
  434. console.log(res);
  435. }
  436. });
  437. }
  438. }
  439. });
  440. },
  441. deleteImg(index) {
  442. this.imglist.splice(index, 1)
  443. },
  444. calculate() {
  445. const query = uni.createSelectorQuery().in(this);
  446. query.selectAll('.left')
  447. console.log(query)
  448. },
  449. ltCheck(e) {
  450. this.detailData.purpose = this.purposeList[e[0]].purpose
  451. if (this.detailData.purpose == "合同费用") {
  452. this.detailData.expensesPurpose = "1"
  453. delete this.detailData.warehouseName
  454. } else if (this.detailData.purpose == "库点费用") {
  455. this.detailData.expensesPurpose = "3"
  456. delete this.detailData.contractNo
  457. } else if(this.detailData.purpose == "备用金"){
  458. this.detailData.expensesPurpose = "7"
  459. delete this.detailData.warehouseName
  460. delete this.detailData.contractNo
  461. }else {
  462. this.detailData.expensesPurpose = "5"
  463. delete this.detailData.warehouseName
  464. delete this.detailData.contractNo
  465. if (this.reType == 2) {
  466. this.show1 = true
  467. }
  468. }
  469. console.log(this.detailData)
  470. },
  471. confirmname(e) {
  472. this.detailData.belongName = this.namelist[e[0]].name
  473. },
  474. selectCon() {
  475. uni.navigateTo({
  476. url: '/pages/reimbursement/selectContract'
  477. })
  478. },
  479. selectWare() {
  480. uni.navigateTo({
  481. url: '/pages/reimbursement/selectWarehouse?warehouseType=1'
  482. })
  483. },
  484. submit() {
  485. if (!this.detailData.purpose) {
  486. this.$api.msg('用途不能为空')
  487. return
  488. }
  489. if (!this.detailData.warehouseName && this.detailData.purpose == '库点费用') {
  490. this.$api.msg('请选择仓库名称')
  491. return
  492. }
  493. if (!this.detailData.contractNo && this.detailData.purpose == '合同费用') {
  494. this.$api.msg('请选择合同编号')
  495. return
  496. }
  497. debugger
  498. if (this.expensesType == '2') {
  499. if (!this.detailData.payerHeader) {
  500. this.$api.msg('付款方不能为空')
  501. return
  502. }
  503. }
  504. if (!this.detailData.amountMoney) {
  505. this.$api.msg('金额不能为空')
  506. return
  507. }
  508. var that = this
  509. var title
  510. var theInterface
  511. if (that.expensesType == '1' || that.reType == '1') {
  512. title = "确定提交收款信息?"
  513. } else {
  514. title = "确定提交请款信息?"
  515. }
  516. if (that.id) {
  517. theInterface = '/expenseInfo/editInfo'
  518. that.detailData.id = that.id
  519. } else {
  520. theInterface = '/expenseInfo/api/addInfo'
  521. }
  522. uni.showModal({
  523. content: title,
  524. showCancel: true,
  525. confirmText: '提交',
  526. success: function(res) {
  527. if (res.confirm) {
  528. that.detailData.compId = uni.getStorageSync('pcUserInfo').compId
  529. that.detailData.agent = uni.getStorageSync('userInfo').userName
  530. that.detailData.identification = that.detailData.identification
  531. that.detailData.paymentIdentifi = that.detailData.paymentIdentifi
  532. that.detailData.costType = that.detailData.costType
  533. that.detailData.expensesType = that.reType
  534. that.detailData.fieldName = uni.getStorageSync('userInfo').userName
  535. that.detailData.totalDistribution = that.detailData.totalDistribution
  536. if (that.imglist.length > 0) {
  537. that.detailData.addressUrl = that.imglist.toString()
  538. }
  539. uni.showLoading({
  540. title: "加载中",
  541. mask: true
  542. })
  543. that.$api.doRequest('post', theInterface, that.detailData)
  544. .then(res => {
  545. if (res.data.code == 200) {
  546. uni.hideLoading()
  547. that.$api.msg('提交成功')
  548. uni.navigateBack({
  549. delta: 1
  550. });
  551. } else {
  552. that.$api.msg(res.data.message)
  553. }
  554. })
  555. }
  556. }
  557. })
  558. },
  559. //获取信息
  560. getRequest() {
  561. this.$api.doRequest('get', '/expenseInfo/ExpenseInfo', {
  562. id: this.id,
  563. }).then(res => {
  564. if (res.data.code == 200) {
  565. this.detailData = res.data.data
  566. this.imglist = this.detailData.addressUrl.split(',')
  567. }
  568. })
  569. },
  570. },
  571. }
  572. </script>
  573. <style lang='scss' scoped>
  574. page {
  575. background: #F5F6FA;
  576. }
  577. .delete_img {
  578. position: absolute;
  579. z-index: 100;
  580. left: 84px;
  581. color: #ffffff;
  582. font-size: 28rpx;
  583. border: 1px;
  584. border-radius: 5rpx;
  585. width: 32rpx;
  586. height: 32rpx;
  587. background-color: #ff0000;
  588. text-align: center;
  589. }
  590. .title_b {
  591. margin: 20rpx 20rpx 0rpx 20rpx;
  592. padding: 20rpx 10rpx 20rpx 10rpx;
  593. font-size: 18px;
  594. font-weight: 550;
  595. }
  596. .xinxi {
  597. padding: 20rpx 30rpx;
  598. }
  599. .tubiao {
  600. margin: 0 auto;
  601. text-align: center;
  602. margin-top: 35rpx;
  603. }
  604. .biankuang {
  605. border: 1px dashed #AFB3BF;
  606. border-radius: 10rpx;
  607. width: 200rpx;
  608. height: 200rpx;
  609. margin-left: 20rpx;
  610. }
  611. .upload {
  612. width: 80rpx;
  613. height: 80rpx;
  614. }
  615. .c-row {
  616. display: -webkit-box;
  617. display: -webkit-flex;
  618. display: flex;
  619. -webkit-box-align: center;
  620. -webkit-align-items: center;
  621. align-items: center;
  622. padding: 20rpx 30rpx;
  623. position: relative;
  624. }
  625. .con-list {
  626. -webkit-box-flex: 1;
  627. flex: 1;
  628. display: flex;
  629. -webkit-box-orient: vertical;
  630. -webkit-box-direction: normal;
  631. flex-direction: column;
  632. color: #303133;
  633. line-height: 20px;
  634. text-align: right;
  635. padding-right: 10px;
  636. justify-content: space-between;
  637. }
  638. .wrap {
  639. padding-bottom: 10px;
  640. font-size: 14px;
  641. background: #fff;
  642. margin: 10px;
  643. border-radius: 10px;
  644. input {
  645. font-size: 14px;
  646. }
  647. >.title {
  648. padding: 10px 16px;
  649. }
  650. }
  651. .buns_item {
  652. display: flex;
  653. padding: 80rpx 0 50rpx 0;
  654. justify-content: space-around;
  655. }
  656. .but_css {
  657. background: #22C572;
  658. width: 40%;
  659. padding: 20rpx;
  660. color: #fff;
  661. text-align: center;
  662. border-radius: 20rpx;
  663. }
  664. /deep/.u-radio-group {
  665. flex-direction: row-reverse;
  666. }
  667. .no-boder {
  668. border: 0;
  669. }
  670. .textarea {
  671. background: #F9F9FA;
  672. border: 1px solid #EEEEEE;
  673. }
  674. .remark {
  675. position: absolute;
  676. right: 10px;
  677. bottom: 20px;
  678. color: #AFB3BF;
  679. }
  680. .submit {
  681. width: 100%;
  682. background: #2c8ac5;
  683. border-radius: 10rpx;
  684. }
  685. .bottom-btn {
  686. padding: 30rpx;
  687. background: #FFFFFF;
  688. width: 100%;
  689. position: fixed;
  690. bottom: 0rpx;
  691. display: flex;
  692. z-index: 9999;
  693. }
  694. .content {
  695. overflow: hidden;
  696. }
  697. .btn {
  698. border-radius: 50rpx;
  699. padding: 20rpx 0;
  700. background: #22C572;
  701. color: #fff;
  702. font-size: 32rpx;
  703. width: 100%;
  704. box-sizing: border-box;
  705. display: flex;
  706. justify-content: center;
  707. }
  708. .margin-bottom {
  709. margin-bottom: 84px;
  710. }
  711. </style>