bill.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849
  1. <template>
  2. <view class="container">
  3. <view class="body">
  4. <!-- 顶部tab标签区域 -->
  5. <view class="tab">
  6. <uni-segmented-control :current="current" :values="items" @clickItem="onClickItem" styleType="text"
  7. activeColor="#fff">
  8. </uni-segmented-control>
  9. <view class="select" v-if="list.length">
  10. <uni-data-picker class="picker" placeholder="点击根据时间筛选" popup-title="请选择筛选条件" :localdata="dataTree"
  11. v-model="classes" @change="onchange">
  12. </uni-data-picker>
  13. </view>
  14. <view class="content" v-if="list.length">
  15. <!-- 缴费失败区域 -->
  16. <view v-show="current === 0">
  17. <view class="detail" v-for="item in list" :key="item.id">
  18. <view class="detail_title">
  19. <view class="title1">
  20. {{ item.title }}
  21. </view>
  22. <text>缴费失败</text>
  23. </view>
  24. <view class="info">
  25. <view class="place">
  26. <view class="name">宿舍</view>
  27. <view class="rooms">{{ item.room }}</view>
  28. </view>
  29. <view class="place">
  30. <view class="name">上月表数</view>
  31. <view class="rooms">{{ item.last }}</view>
  32. </view>
  33. <view class="place">
  34. <view class="name">本月表数</view>
  35. <view class="rooms">{{ item.current }}</view>
  36. </view>
  37. <view class="place">
  38. <view class="name">用量</view>
  39. <view class="rooms">{{ item.use }}</view>
  40. </view>
  41. <view class="place">
  42. <view class="name">补助吨数</view>
  43. <view class="rooms">{{ item.sub }}</view>
  44. </view>
  45. <view class="place">
  46. <view class="time">备注:{{item.notes}}</view>
  47. </view>
  48. <view class="timeAndNumber">
  49. <view class="time">{{ item.time }}</view>
  50. <view class="number">待付款¥{{ item.money }}</view>
  51. </view>
  52. <view class="button">
  53. <button type="primary" plain size="mini" class="button_item"
  54. @click="handleFeedback(item)">
  55. 订单反馈
  56. </button>
  57. <button type="primary" plain size="mini" :disabled="isAccredit" class="button_item"
  58. @click="goPayPage(item)">
  59. 继续支付
  60. </button>
  61. </view>
  62. </view>
  63. </view>
  64. </view>
  65. <!-- 缴费成功区域 -->
  66. <view v-show="current === 1">
  67. <view class="detail" v-for="item in list" :key="item.id">
  68. <view class="detail_title">
  69. <view class="title1">
  70. {{ item.title }}
  71. </view>
  72. <text class="title3">缴费成功</text>
  73. </view>
  74. <view class="info">
  75. <view class="place">
  76. <view class="name">宿舍</view>
  77. <view class="rooms">{{ item.room }}</view>
  78. </view>
  79. <view class="place">
  80. <view class="name">上月表数</view>
  81. <view class="rooms">{{ item.last }}</view>
  82. </view>
  83. <view class="place">
  84. <view class="name">本月表数</view>
  85. <view class="rooms">{{ item.current }}</view>
  86. </view>
  87. <view class="place">
  88. <view class="name">用量</view>
  89. <view class="rooms">{{ item.use }}</view>
  90. </view>
  91. <view class="place">
  92. <view class="name">补助吨数</view>
  93. <view class="rooms">{{ item.sub }}</view>
  94. </view>
  95. <view class="timeAndNumber">
  96. <view class="time">{{ item.time }}</view>
  97. <view class="number">实付款¥{{ item.money }}</view>
  98. </view>
  99. <view class="button2">
  100. <button class="button_item" type="primary" plain size="mini"
  101. @click="handleFeedback(item)">
  102. 订单反馈
  103. </button>
  104. </view>
  105. </view>
  106. </view>
  107. </view>
  108. </view>
  109. <!-- 图片区域 -->
  110. <view class="image" v-if="!list.length"></view>
  111. <!-- 提示信息区域 -->
  112. <view class="infoNo" v-if="!list.length"> 暂无缴费订单信息 </view>
  113. <view style="height: 15px"></view>
  114. </view>
  115. <!-- 悬浮按钮返回主页区域 -->
  116. <view id="item_box" class="suspension" @click="goHome" @touchstart="down" @touchmove.prevent="move"
  117. @touchend="end">
  118. <view class="icon">
  119. <img src="../../static/home.png" />
  120. </view>
  121. <view class="info">返回主页</view>
  122. </view>
  123. <!-- 订单反馈弹窗区域 -->
  124. <uni-popup ref="popup_feedback" background-color="#fff" :is-mask-click="false">
  125. <view class="popup_view">
  126. <view class="title">{{popTitle}}</view>
  127. <view class="forms">
  128. <uni-forms ref="valiForm" :rules="rules" :modelValue="valiFormData">
  129. <uni-forms-item label="姓名:" required name="feedbackPersonName">
  130. <uni-easyinput v-model="valiFormData.feedbackPersonName" placeholder="请输入姓名" />
  131. </uni-forms-item>
  132. <uni-forms-item label="联系电话:" required name="feedbackPersonPhone">
  133. <uni-easyinput maxlength="11" v-model="valiFormData.feedbackPersonPhone" type="number"
  134. placeholder="请输入联系人手机号码" />
  135. </uni-forms-item>
  136. <uni-forms-item label="宿舍号:" required name="feedbackRoom">
  137. <uni-easyinput v-model="valiFormData.feedbackRoom" placeholder="请输入宿舍号" />
  138. </uni-forms-item>
  139. <uni-forms-item label="反馈信息:" required name="feedbackInfo">
  140. <uni-easyinput type="textarea" v-model="valiFormData.feedbackInfo"
  141. placeholder="请输入反馈信息" />
  142. </uni-forms-item>
  143. <uni-forms-item label="上传图片:" name="feedbackImg">
  144. <uni-file-picker limit="3" title="最多上传3张图片" v-model="valiFormData.feedbackImg"
  145. fileMediatype="image" :image-styles="imageStyles" mode="grid" @select="select"
  146. @delete="handleDelete">
  147. </uni-file-picker>
  148. </uni-forms-item>
  149. </uni-forms>
  150. <view class="form_button">
  151. <button type="primary" size="mini" @click="submit('valiForm')">
  152. 提交
  153. </button>
  154. <button type="primary" plain size="mini" @click="close">
  155. 取消
  156. </button>
  157. </view>
  158. </view>
  159. </view>
  160. </uni-popup>
  161. </view>
  162. </view>
  163. </template>
  164. <script>
  165. // 引入照片压缩js文件
  166. import * as TranslateImage from '../../util/imageZip.js'
  167. export default {
  168. data() {
  169. return {
  170. imageStyles: {
  171. width: 75,
  172. height: 75,
  173. border: {
  174. color: "#ccc",
  175. width: 1,
  176. style: 'dashed',
  177. radius: '5px'
  178. }
  179. },
  180. classes: "",
  181. dataTree: [{
  182. text: "2022",
  183. value: "2022"
  184. },
  185. {
  186. text: "2023",
  187. value: "2023"
  188. },
  189. {
  190. text: "2024",
  191. value: "2024"
  192. },
  193. ],
  194. items: ["缴费失败", "缴费成功"],
  195. current: 1,
  196. status: 2,
  197. itemName: "",
  198. payYear: "",
  199. list: [{
  200. title: "2022年9月水费账单",
  201. room: "1栋210",
  202. last: 0,
  203. current: 22,
  204. use: 22,
  205. sub: 15,
  206. notes: "水费为3.2元/吨",
  207. time: "2022-08-20 14:23:12",
  208. money: "14.70"
  209. }],
  210. // 订单反馈弹窗 表格的验证规则
  211. rules: {
  212. feedbackPersonName: {
  213. rules: [{
  214. required: true,
  215. errorMessage: "请输入姓名",
  216. },
  217. {
  218. minLength: 2,
  219. maxLength: 8,
  220. errorMessage: "请输入正确的姓名",
  221. }
  222. ],
  223. },
  224. feedbackPersonPhone: {
  225. rules: [{
  226. required: true,
  227. errorMessage: "请输入联系人手机号码",
  228. },
  229. {
  230. pattern: /^[1]([3-9])[0-9]{9}$/,
  231. errorMessage: '请输入正确的手机号码'
  232. }
  233. ],
  234. },
  235. feedbackRoom: {
  236. rules: [{
  237. required: true,
  238. errorMessage: "请输入宿舍号",
  239. }, ],
  240. },
  241. // feedbackImg: {
  242. // rules: [{
  243. // required: true,
  244. // errorMessage: "请上传图片",
  245. // }, ],
  246. // },
  247. feedbackInfo: {
  248. rules: [{
  249. required: true,
  250. errorMessage: "请输入反馈信息",
  251. }, ],
  252. },
  253. },
  254. // 订单反馈弹窗 表格绑定数据
  255. valiFormData: {
  256. feedbackPersonName: "",
  257. feedbackPersonPhone: "",
  258. feedbackRoom: "",
  259. feedbackInfo: "",
  260. feedbackImg: []
  261. },
  262. range: [],
  263. detailInfo: {},
  264. single: "2021-04-3",
  265. orderNo: "",
  266. form: {
  267. appId: "",
  268. timeStamp: "",
  269. nonceStr: "",
  270. signType: "",
  271. paySign: "",
  272. package: "",
  273. },
  274. amount: "",
  275. notifyUrl: "https://chtech.ncjti.edu.cn/jiaofei/jiaofei-api/tuitionpayment/pay/jxnxs/notify/", //农商行地址
  276. flags: false,
  277. position: {
  278. x: 0,
  279. y: 0,
  280. },
  281. nx: "",
  282. ny: "",
  283. xPum: "",
  284. yPum: "",
  285. maxW: "",
  286. maxH: "",
  287. isAccredit: false,
  288. popTitle: ""
  289. };
  290. },
  291. onLoad() {
  292. },
  293. methods: {
  294. select(e) {
  295. e.tempFiles.forEach((item) => {
  296. TranslateImage.translate(item.path, ((res) => {
  297. if (Number(res.size) > 1000000) {
  298. this.valiFormData.feedbackImg = []
  299. uni.showModal({
  300. content: `图片过大,请重新上传`,
  301. showCancel: false,
  302. success() {}
  303. })
  304. return
  305. }
  306. this.valiFormData.feedbackImg.push({
  307. url: item.path
  308. })
  309. console.log(this.valiFormData.feedbackImg);
  310. // uni.showLoading({
  311. // title: '上传中'
  312. // });
  313. // uni.uploadFile({
  314. // url: `/baoxiu/repairApi/order/uploadImage`,
  315. // filePath: res.url,
  316. // name: 'orderImages',
  317. // success: (uploadFileRes) => {
  318. // this.ceshiData1.push((JSON.parse(uploadFileRes.data).data))
  319. // const path = item.path;
  320. // this.imageValue.push({
  321. // url: path,
  322. // name: ""
  323. // })
  324. // uni.hideLoading();
  325. // },
  326. // fail: () => {
  327. // uni.hideLoading();
  328. // }
  329. // });
  330. }))
  331. })
  332. },
  333. handleDelete(e) {
  334. const num = this.valiFormData.feedbackImg.findIndex(v => v.path === e.tempFilePath);
  335. this.valiFormData.feedbackImg.splice(num, 1);
  336. console.log(this.valiFormData.feedbackImg);
  337. },
  338. // 筛选框数据改变回调
  339. onchange(e) {
  340. // console.log(e);
  341. if (e.detail.value.length == 0) {
  342. this.itemName = "";
  343. this.payYear = "";
  344. } else {
  345. this.itemName = e.detail.value[0].text;
  346. this.payYear = e.detail.value[0].text;
  347. }
  348. },
  349. // 顶部tab标签切换回调
  350. onClickItem(e) {
  351. this.current = e.currentIndex;
  352. if (this.current == 0) {
  353. this.status = 1;
  354. } else {
  355. this.status = 2;
  356. }
  357. },
  358. // 订单反馈按钮回调
  359. handleFeedback(item) {
  360. this.popTitle = item.title
  361. this.valiFormData.feedbackPersonName = "";
  362. this.valiFormData.feedbackPersonPhone = "";
  363. this.valiFormData.feedbackRoom = "";
  364. this.valiFormData.feedbackInfo = "";
  365. this.valiFormData.feedbackImg = [];
  366. this.$refs.popup_feedback.open();
  367. },
  368. // 订单反馈弹窗提交按钮回调
  369. submit(ref) {
  370. this.$refs[ref]
  371. .validate()
  372. .then((res) => {
  373. console.log(res);
  374. this.$refs.popup_feedback.close();
  375. uni.showToast({
  376. title: '提交成功',
  377. });
  378. })
  379. .catch((err) => {
  380. console.log("err", err);
  381. });
  382. },
  383. // 订单反馈弹窗取消按钮回调
  384. close() {
  385. this.$refs.popup_feedback.close();
  386. },
  387. // 继续支付按钮回调
  388. goPayPage(item) {
  389. // console.log(item);
  390. console.log("支付");
  391. // this.orderNo = item.orderNo;
  392. // this.amount = item.nowPayAmount;
  393. // this.createPayorder(item);
  394. },
  395. async createPayorder(item) {
  396. let allListString = item.payDetail.join("/");
  397. let res = await this.$myRequest({
  398. url: `/payorder/${item.payForIdentify}/create`,
  399. method: "post",
  400. data: {
  401. id: item.payinfoId,
  402. studentNo: item.payForIdentify,
  403. itemName: item.payItem,
  404. payYear: item.payYear,
  405. payDetail: allListString,
  406. dorm: item.dorm,
  407. payOrderLoan: item.payOrderLoan,
  408. orderNotice: item.orderNotice,
  409. payCount: item.payDetail ? "2" : "1",
  410. notPaySize: item.notPaySize,
  411. nowRealPayAmount: item.nowPayAmount,
  412. payerCardNumber: localStorage.getItem("card_number"),
  413. payerName: localStorage.getItem("studentName"),
  414. },
  415. });
  416. // console.log(res);
  417. if (res.success) {
  418. this.orderNo = res.data[0].orderNo;
  419. // if (res.data.length > 1) {
  420. // this.secondOrderNo = res.data[1].orderNo
  421. // }
  422. if (res.data[0].payMethod == "1") {
  423. // console.log("建行");
  424. this.getjhPay();
  425. } else {
  426. // console.log("农商");
  427. this.getnsPay();
  428. }
  429. } else {
  430. if (res.code == 10028 || res.code == 10029) {
  431. uni.showModal({
  432. title: "提示",
  433. content: res.message,
  434. showCancel: false,
  435. success: function(res) {
  436. if (res.confirm) {
  437. uni.reLaunch({
  438. url: "/pages/home/home",
  439. });
  440. }
  441. },
  442. });
  443. } else {
  444. uni.showToast({
  445. title: res.message,
  446. icon: "error",
  447. mask: true,
  448. });
  449. }
  450. }
  451. },
  452. // 建行支付请求
  453. async getjhPay() {
  454. let res = await this.$myRequest({
  455. url: "/pay/ccb/getJsApiParam",
  456. data: {
  457. orderNo: this.orderNo,
  458. openId: uni.getStorageSync("openId"),
  459. secondOrderNo: "",
  460. },
  461. });
  462. // console.log(res);
  463. if (res.success) {
  464. this.form = {
  465. ...res.data,
  466. };
  467. //调起微信支付
  468. this.wxPay();
  469. } else {
  470. uni.showToast({
  471. title: res.message,
  472. icon: "error",
  473. mask: true,
  474. });
  475. }
  476. },
  477. wxPay() {
  478. let that = this;
  479. function onBridgeReady() {
  480. WeixinJSBridge.invoke(
  481. "getBrandWCPayRequest",
  482. that.form,
  483. function(res) {
  484. if (res.errMsg == "get_brand_wcpay_request:ok") {
  485. // 使用以上方式判断前端返回,微信团队郑重提示:
  486. //res.err_msg将在用户支付成功后返回ok,但并不保证它绝对可靠。
  487. }
  488. }
  489. );
  490. }
  491. // 兼容处理
  492. if (typeof WeixinJSBridge == "undefined") {
  493. if (document.addEventListener) {
  494. document.addEventListener(
  495. "WeixinJSBridgeReady",
  496. onBridgeReady,
  497. false
  498. );
  499. } else if (document.attachEvent) {
  500. document.attachEvent("WeixinJSBridgeReady", onBridgeReady);
  501. document.attachEvent("onWeixinJSBridgeReady", onBridgeReady);
  502. }
  503. } else {
  504. onBridgeReady();
  505. }
  506. },
  507. // 农商支付请求
  508. getnsPay() {
  509. let O = "6fc31630a4d3de99f5e41debbd35b9f0";
  510. let out_no = this.orderNo;
  511. let amount = this.amount;
  512. let appoint_notify = this.notifyUrl;
  513. let mainUrl =
  514. `https://q.jxnxs.com/newpay?O=${O}&out_no=${out_no}&amount=${amount}&appoint_notify=${appoint_notify}`;
  515. window.location.href = mainUrl;
  516. },
  517. // 返回主页按钮回调
  518. goHome() {
  519. uni.navigateTo({
  520. url: "/pages/home/home",
  521. });
  522. },
  523. // 实现移动端拖拽
  524. down(event) {
  525. let item_box = document.querySelector("#item_box");
  526. this.flags = true;
  527. let touch;
  528. if (event.touches) {
  529. touch = event.touches[0];
  530. } else {
  531. touch = event;
  532. }
  533. this.maxW = document.body.clientWidth - item_box.offsetWidth;
  534. this.maxH = document.body.clientHeight - item_box.offsetHeight;
  535. this.position.x = touch.clientX - item_box.offsetLeft;
  536. this.position.y = touch.clientY - item_box.offsetTop;
  537. },
  538. move(event) {
  539. let item_box = document.querySelector("#item_box");
  540. if (this.flags) {
  541. let touch;
  542. if (event.touches) {
  543. touch = event.touches[0];
  544. } else {
  545. touch = event;
  546. }
  547. this.nx = touch.clientX - this.position.x;
  548. this.ny = touch.clientY - this.position.y;
  549. if (this.nx < 0) {
  550. this.nx = 0;
  551. } else if (this.nx > this.maxW) {
  552. this.nx = this.maxW;
  553. }
  554. if (this.ny < 0) {
  555. this.ny = 0;
  556. } else if (this.ny >= this.maxH) {
  557. this.ny = this.maxH;
  558. }
  559. item_box.style.left = this.nx + "px";
  560. item_box.style.top = this.ny + "px";
  561. }
  562. },
  563. end() {
  564. this.flags = false;
  565. },
  566. // 下拉刷新回调
  567. onPullDownRefresh() {
  568. this.getData();
  569. setTimeout(() => {
  570. uni.stopPullDownRefresh();
  571. }, 1500);
  572. },
  573. },
  574. };
  575. </script>
  576. <style lang="scss" scoped>
  577. .container {
  578. position: relative;
  579. overflow: auto;
  580. height: 100vh;
  581. background-image: url(../../static/bg.png);
  582. background-size: 100% 100%;
  583. .body {
  584. margin: 0 30rpx;
  585. .tab {
  586. padding-top: 20rpx;
  587. .select {
  588. display: flex;
  589. margin-top: 20rpx;
  590. padding: 0 6rpx;
  591. height: 100rpx;
  592. border-radius: 10rpx;
  593. .picker {
  594. width: 100%;
  595. padding-top: 8rpx;
  596. }
  597. }
  598. .content {
  599. height: 80vh;
  600. overflow: auto;
  601. .detail {
  602. margin-bottom: 30rpx;
  603. background-color: #fff;
  604. border-radius: 5px;
  605. .detail_title {
  606. position: relative;
  607. height: 96rpx;
  608. line-height: 96rpx;
  609. text-align: center;
  610. border-radius: 5px 5px 0 0;
  611. background-color: #e7eef5;
  612. .title1 {
  613. font-size: 32rpx;
  614. }
  615. text {
  616. position: absolute;
  617. top: 0;
  618. right: 30rpx;
  619. font-size: 24rpx;
  620. color: red;
  621. }
  622. .title3 {
  623. color: #ff8b02;
  624. }
  625. }
  626. .info {
  627. .place {
  628. display: flex;
  629. margin-left: 34rpx;
  630. margin-top: 30rpx;
  631. .name {
  632. width: 200rpx;
  633. text-align-last: justify;
  634. color: #808080;
  635. }
  636. .rooms {
  637. padding-left: 130rpx;
  638. width: 440rpx;
  639. font-size: 32rpx;
  640. }
  641. .time {
  642. flex: 5;
  643. font-size: 24rpx;
  644. color: #999;
  645. }
  646. }
  647. .timeAndNumber {
  648. display: flex;
  649. margin-left: 34rpx;
  650. margin-top: 20rpx;
  651. .time {
  652. flex: 5;
  653. font-size: 24rpx;
  654. color: #999;
  655. }
  656. .number {
  657. flex: 5;
  658. font-size: 32rpx;
  659. }
  660. }
  661. .button {
  662. display: flex;
  663. justify-content: flex-end;
  664. margin-top: 20rpx;
  665. padding-bottom: 30rpx;
  666. .button_item {
  667. margin: 0 20rpx;
  668. padding: 0;
  669. width: 90px;
  670. }
  671. }
  672. .button2 {
  673. display: flex;
  674. margin-top: 20rpx;
  675. padding-bottom: 20rpx;
  676. .button_item {
  677. padding: 0;
  678. margin-left: auto;
  679. margin-right: 60rpx;
  680. width: 90px;
  681. }
  682. }
  683. }
  684. }
  685. }
  686. .image {
  687. margin: 260rpx auto;
  688. width: 438rpx;
  689. height: 360rpx;
  690. background: url(../../static/null.png);
  691. background-size: 100%;
  692. }
  693. .infoNo {
  694. margin-top: 100rpx;
  695. text-align: center;
  696. font-size: 36rpx;
  697. }
  698. }
  699. .suspension {
  700. position: absolute;
  701. left: 36rpx;
  702. bottom: 50rpx;
  703. display: flex;
  704. flex-direction: column;
  705. align-items: center;
  706. width: 140rpx;
  707. height: 140rpx;
  708. border-radius: 70rpx;
  709. background-color: rgba(0, 0, 0, 0.4);
  710. overflow: auto;
  711. .icon {
  712. flex: 1;
  713. img {
  714. margin-top: 20rpx;
  715. width: 40rpx;
  716. }
  717. }
  718. .info {
  719. flex: 2;
  720. font-size: 24rpx;
  721. color: #fff;
  722. }
  723. }
  724. .popup_view {
  725. width: 650rpx;
  726. .title {
  727. height: 90rpx;
  728. line-height: 90rpx;
  729. text-align: center;
  730. font-size: 36rpx;
  731. font-weight: bold;
  732. background-color: #e7eef5;
  733. }
  734. .forms {
  735. margin: 40rpx;
  736. width: 550rpx;
  737. .form_button {
  738. display: flex;
  739. text-align: center;
  740. button {
  741. width: 200rpx;
  742. }
  743. }
  744. }
  745. }
  746. }
  747. }
  748. ::v-deep .uni-forms-item__label {
  749. width: 160rpx !important;
  750. }
  751. ::v-deep .placeholder {
  752. color: #fff;
  753. }
  754. ::v-deep .input-arrow {
  755. border-color: #fff;
  756. }
  757. </style>