bill.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918
  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. imgs: []
  274. };
  275. },
  276. onLoad() {
  277. // 判断是否存在card_number,不存在则重新授权
  278. this.getAuthorization();
  279. this.getData()
  280. this.getTime()
  281. },
  282. methods: {
  283. getAuthorization() {
  284. let card_number = localStorage.getItem("card_number");
  285. let studentName = localStorage.getItem("studentName");
  286. let openId = localStorage.getItem("openId");
  287. if (!card_number || !studentName || !openId) {
  288. uni.showModal({
  289. title: "提示",
  290. content: "请先领取校园卡或授权后再进行相关操作",
  291. showCancel: false,
  292. success: () => {
  293. uni.reLaunch({
  294. url: "/pages/index/index",
  295. });
  296. },
  297. });
  298. }
  299. },
  300. // 获取账单列表数据
  301. async getData() {
  302. let res = await this.$myRequest({
  303. url: "/payorder/queryWaterOrder",
  304. data: {
  305. dorm: localStorage.room,
  306. payYear: this.payYear,
  307. payStatu: this.payStatu,
  308. itemName: "水费缴纳"
  309. }
  310. })
  311. // console.log(res);
  312. if (res.success) {
  313. this.list = res.data
  314. }
  315. },
  316. // 获取时间数组
  317. async getTime() {
  318. let res = await this.$myRequest({
  319. url: "/payableinfowater/queryAllYear",
  320. data: {
  321. dorm: localStorage.room,
  322. payStatu: this.payStatu,
  323. }
  324. })
  325. // console.log(res);
  326. if (res.success) {
  327. this.dataTree = res.data
  328. }
  329. },
  330. // 上传图片回调
  331. select(e) {
  332. e.tempFiles.forEach((item) => {
  333. TranslateImage.translate(item.path, ((res) => {
  334. // 判断图片大小是否过大
  335. if (Number(res.size) > 1000000) {
  336. uni.showModal({
  337. content: `图片过大,请重新上传`,
  338. showCancel: false,
  339. success() {}
  340. })
  341. return
  342. }
  343. uni.showLoading({
  344. title: '上传中'
  345. });
  346. // 上传图片
  347. uni.uploadFile({
  348. url: `https://chtech.ncjti.edu.cn/jiaofei/jiaofei-api/tuitionpayment/feedbackmsg/uploadImage`,
  349. filePath: res.url,
  350. name: 'images',
  351. success: (uploadFileRes) => {
  352. // 收集提交请求所需要的图片参数数据
  353. this.imgs.push((JSON.parse(uploadFileRes.data).data))
  354. const path = item.path;
  355. this.valiFormData.feedbackImg.push({
  356. url: path,
  357. name: ""
  358. })
  359. uni.hideLoading();
  360. },
  361. fail: () => {
  362. uni.hideLoading();
  363. }
  364. });
  365. }))
  366. })
  367. },
  368. // 删除图片回调
  369. handleDelete(e) {
  370. const num = this.valiFormData.feedbackImg.findIndex(v => v.path === e.tempFilePath);
  371. this.valiFormData.feedbackImg.splice(num, 1);
  372. this.imgs.splice(num, 1);
  373. },
  374. // 筛选框数据改变回调
  375. onchange(e) {
  376. // console.log(e);
  377. if (e.detail.value.length == 0) {
  378. this.payYear = "";
  379. } else {
  380. this.payYear = e.detail.value[0].text;
  381. }
  382. this.getData()
  383. },
  384. // 顶部tab标签切换回调
  385. onClickItem(e) {
  386. this.current = e.currentIndex;
  387. if (this.current == 0) {
  388. this.payStatu = 1;
  389. } else {
  390. this.payStatu = 2;
  391. }
  392. this.getData()
  393. },
  394. // 订单反馈按钮回调
  395. async handleFeedback(item) {
  396. this.popTitle = item.title
  397. this.valiFormData.feedbackPersonName = "";
  398. this.valiFormData.feedbackPersonPhone = "";
  399. this.valiFormData.feedbackRoom = "";
  400. this.valiFormData.feedbackInfo = "";
  401. this.valiFormData.feedbackImg = [];
  402. this.imgs = []
  403. let res = await this.$myRequest({
  404. url: "/wechat/getUserNameTele",
  405. data: {
  406. cardNumber: localStorage.card_number,
  407. },
  408. });
  409. if (res.success) {
  410. this.valiFormData.feedbackPersonName = res.data.name
  411. this.valiFormData.feedbackPersonPhone = res.data.telephone
  412. this.valiFormData.feedbackRoom = localStorage.room
  413. }
  414. this.$refs.popup_feedback.open();
  415. },
  416. // 订单反馈弹窗提交按钮回调
  417. submit(ref) {
  418. this.$refs[ref]
  419. .validate()
  420. .then(async (res) => {
  421. // 如果上传了图片,处理图片参数字段
  422. if (res.feedbackImg.length) {
  423. res.image = this.imgs.join(";")
  424. }
  425. res.feedbackItemName = "水费缴纳"
  426. // 整理参数
  427. let {
  428. feedbackImg,
  429. ...data
  430. } = res
  431. let result = await this.$myRequest({
  432. url: "/feedbackmsg/save",
  433. method: "post",
  434. data
  435. })
  436. if (result.success) {
  437. uni.showToast({
  438. title: '提交成功',
  439. });
  440. }
  441. this.$refs.popup_feedback.close();
  442. })
  443. .catch((err) => {
  444. console.log("err", err);
  445. });
  446. },
  447. // 订单反馈弹窗取消按钮回调
  448. close() {
  449. this.$refs.popup_feedback.close();
  450. },
  451. // 继续支付按钮回调
  452. goPayPage(item) {
  453. console.log(item);
  454. this.orderNo = item.orderNo;
  455. this.amount = item.nowPayAmount;
  456. this.getQuery(item)
  457. },
  458. // 处理参数
  459. async getQuery(item) {
  460. // console.log(item);
  461. let res = await this.$myRequest({
  462. url: `/payorder/${item.payForIdentify}/receiveOrder`,
  463. method: "post",
  464. data: {
  465. id: item.id,
  466. studentNo: item.studentNo,
  467. itemName: item.payItem,
  468. payYear: item.payYear,
  469. payDetail: item.payDetail,
  470. dorm: item.dorm,
  471. payOrderLoan: "",
  472. orderNotice: item.orderNotice,
  473. // payItemType: 1,
  474. payCount: "1",
  475. notPaySize: 0,
  476. nowRealPayAmount: item.realPayAmount,
  477. payerCardNumber: localStorage.card_number,
  478. payerName: localStorage.studentName
  479. }
  480. })
  481. // console.log(res);
  482. if (res.success) {
  483. this.createPayorder(item)
  484. }
  485. },
  486. // 创建订单
  487. async createPayorder(item) {
  488. let res = await this.$myRequest({
  489. url: `/payorder/${item.payForIdentify}/create`,
  490. method: "post",
  491. data: {
  492. id: item.payinfoId,
  493. studentNo: item.payForIdentify,
  494. itemName: item.payItem,
  495. payYear: item.payYear,
  496. payDetail: item.payDetail,
  497. dorm: item.dorm,
  498. payOrderLoan: item.payOrderLoan,
  499. orderNotice: item.orderNotice,
  500. payCount: "2",
  501. notPaySize: 0,
  502. nowRealPayAmount: item.nowPayAmount,
  503. payerCardNumber: localStorage.card_number,
  504. payerName: localStorage.studentName
  505. },
  506. });
  507. // console.log(res);
  508. if (res.success) {
  509. this.orderNo = res.data[0].orderNo;
  510. if (res.data[0].payMethod == "1") {
  511. // console.log("建行");
  512. this.getjhPay();
  513. } else {
  514. // console.log("农商");
  515. this.getnsPay();
  516. }
  517. }
  518. },
  519. // 建行支付请求
  520. async getjhPay() {
  521. let res = await this.$myRequest({
  522. url: "/pay/ccb/getJsApiParam",
  523. data: {
  524. orderNo: this.orderNo,
  525. openId: localStorage.openId,
  526. secondOrderNo: "",
  527. payment: "2"
  528. },
  529. });
  530. // console.log(res);
  531. if (res.success) {
  532. this.form = {
  533. ...res.data,
  534. };
  535. //调起微信支付
  536. this.wxPay();
  537. } else {
  538. uni.showToast({
  539. title: res.message,
  540. icon: "error",
  541. mask: true,
  542. });
  543. }
  544. },
  545. // 微信支付回调
  546. wxPay() {
  547. let that = this;
  548. function onBridgeReady() {
  549. WeixinJSBridge.invoke(
  550. "getBrandWCPayRequest",
  551. that.form,
  552. function(res) {
  553. if (res.errMsg == "get_brand_wcpay_request:ok") {
  554. // 使用以上方式判断前端返回,微信团队郑重提示:
  555. //res.err_msg将在用户支付成功后返回ok,但并不保证它绝对可靠。
  556. }
  557. }
  558. );
  559. }
  560. // 兼容处理
  561. if (typeof WeixinJSBridge == "undefined") {
  562. if (document.addEventListener) {
  563. document.addEventListener(
  564. "WeixinJSBridgeReady",
  565. onBridgeReady,
  566. false
  567. );
  568. } else if (document.attachEvent) {
  569. document.attachEvent("WeixinJSBridgeReady", onBridgeReady);
  570. document.attachEvent("onWeixinJSBridgeReady", onBridgeReady);
  571. }
  572. } else {
  573. onBridgeReady();
  574. }
  575. },
  576. // 农商支付请求
  577. getnsPay() {
  578. let O = "6fc31630a4d3de99f5e41debbd35b9f0";
  579. let out_no = this.orderNo;
  580. let amount = this.amount;
  581. let appoint_notify = this.notifyUrl;
  582. let mainUrl =
  583. `https://q.jxnxs.com/newpay?O=${O}&out_no=${out_no}&amount=${amount}&appoint_notify=${appoint_notify}`;
  584. window.location.href = mainUrl;
  585. },
  586. // 返回主页按钮回调
  587. goHome() {
  588. uni.navigateTo({
  589. url: "/pages/home/home",
  590. });
  591. },
  592. // 实现移动端拖拽
  593. down(event) {
  594. let item_box = document.querySelector("#item_box");
  595. this.flags = true;
  596. let touch;
  597. if (event.touches) {
  598. touch = event.touches[0];
  599. } else {
  600. touch = event;
  601. }
  602. this.maxW = document.body.clientWidth - item_box.offsetWidth;
  603. this.maxH = document.body.clientHeight - item_box.offsetHeight;
  604. this.position.x = touch.clientX - item_box.offsetLeft;
  605. this.position.y = touch.clientY - item_box.offsetTop;
  606. },
  607. move(event) {
  608. let item_box = document.querySelector("#item_box");
  609. if (this.flags) {
  610. let touch;
  611. if (event.touches) {
  612. touch = event.touches[0];
  613. } else {
  614. touch = event;
  615. }
  616. this.nx = touch.clientX - this.position.x;
  617. this.ny = touch.clientY - this.position.y;
  618. if (this.nx < 0) {
  619. this.nx = 0;
  620. } else if (this.nx > this.maxW) {
  621. this.nx = this.maxW;
  622. }
  623. if (this.ny < 0) {
  624. this.ny = 0;
  625. } else if (this.ny >= this.maxH) {
  626. this.ny = this.maxH;
  627. }
  628. item_box.style.left = this.nx + "px";
  629. item_box.style.top = this.ny + "px";
  630. }
  631. },
  632. end() {
  633. this.flags = false;
  634. },
  635. },
  636. };
  637. </script>
  638. <style lang="scss" scoped>
  639. .container {
  640. position: relative;
  641. overflow: auto;
  642. height: 100vh;
  643. background-image: url(../../static/bg.png);
  644. background-size: 100% 100%;
  645. .body {
  646. margin: 0 30rpx;
  647. .tab {
  648. padding-top: 20rpx;
  649. .select {
  650. display: flex;
  651. margin-top: 20rpx;
  652. padding: 0 6rpx;
  653. height: 100rpx;
  654. border-radius: 10rpx;
  655. .picker {
  656. width: 100%;
  657. padding-top: 8rpx;
  658. }
  659. }
  660. .content {
  661. height: 80vh;
  662. overflow: auto;
  663. .detail {
  664. margin-bottom: 30rpx;
  665. background-color: #fff;
  666. border-radius: 5px;
  667. .detail_title {
  668. position: relative;
  669. height: 96rpx;
  670. line-height: 96rpx;
  671. text-align: center;
  672. border-radius: 5px 5px 0 0;
  673. background-color: #e7eef5;
  674. .title1 {
  675. font-size: 32rpx;
  676. }
  677. text {
  678. position: absolute;
  679. top: 0;
  680. right: 30rpx;
  681. font-size: 24rpx;
  682. color: red;
  683. }
  684. .title3 {
  685. color: #ff8b02;
  686. }
  687. }
  688. .info {
  689. .place {
  690. display: flex;
  691. margin-left: 34rpx;
  692. margin-top: 30rpx;
  693. .name {
  694. width: 200rpx;
  695. text-align-last: justify;
  696. color: #808080;
  697. }
  698. .rooms {
  699. padding-left: 130rpx;
  700. width: 440rpx;
  701. font-size: 32rpx;
  702. }
  703. .time {
  704. flex: 5;
  705. font-size: 24rpx;
  706. color: #999;
  707. }
  708. }
  709. .timeAndNumber {
  710. display: flex;
  711. margin-left: 34rpx;
  712. margin-top: 20rpx;
  713. .time {
  714. flex: 5;
  715. font-size: 24rpx;
  716. color: #999;
  717. }
  718. .number {
  719. flex: 5;
  720. font-size: 32rpx;
  721. }
  722. }
  723. .button {
  724. display: flex;
  725. justify-content: flex-end;
  726. margin-top: 20rpx;
  727. padding-bottom: 30rpx;
  728. .button_item {
  729. margin: 0 20rpx;
  730. padding: 0;
  731. width: 90px;
  732. }
  733. }
  734. .button2 {
  735. display: flex;
  736. margin-top: 20rpx;
  737. padding-bottom: 20rpx;
  738. .button_item {
  739. padding: 0;
  740. margin-left: auto;
  741. margin-right: 60rpx;
  742. width: 90px;
  743. }
  744. }
  745. }
  746. }
  747. }
  748. .image {
  749. margin: 260rpx auto;
  750. width: 438rpx;
  751. height: 360rpx;
  752. background: url(../../static/null.png);
  753. background-size: 100%;
  754. }
  755. .infoNo {
  756. margin-top: 100rpx;
  757. text-align: center;
  758. font-size: 36rpx;
  759. }
  760. }
  761. .suspension {
  762. position: absolute;
  763. left: 36rpx;
  764. bottom: 50rpx;
  765. display: flex;
  766. flex-direction: column;
  767. align-items: center;
  768. width: 140rpx;
  769. height: 140rpx;
  770. border-radius: 70rpx;
  771. background-color: rgba(0, 0, 0, 0.4);
  772. overflow: auto;
  773. .icon {
  774. flex: 1;
  775. img {
  776. margin-top: 20rpx;
  777. width: 40rpx;
  778. }
  779. }
  780. .info {
  781. flex: 2;
  782. font-size: 24rpx;
  783. color: #fff;
  784. }
  785. }
  786. .popup_view {
  787. width: 650rpx;
  788. .title {
  789. height: 90rpx;
  790. line-height: 90rpx;
  791. text-align: center;
  792. font-size: 36rpx;
  793. font-weight: bold;
  794. background-color: #e7eef5;
  795. }
  796. .forms {
  797. margin: 40rpx;
  798. width: 550rpx;
  799. .form_button {
  800. display: flex;
  801. text-align: center;
  802. button {
  803. width: 200rpx;
  804. }
  805. }
  806. }
  807. }
  808. }
  809. }
  810. ::v-deep .uni-forms-item__label {
  811. width: 160rpx !important;
  812. }
  813. ::v-deep .placeholder {
  814. color: #fff;
  815. }
  816. ::v-deep .input-arrow {
  817. border-color: #fff;
  818. }
  819. </style>