bill.vue 21 KB

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