BillPending.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885
  1. <template>
  2. <view class="page">
  3. <u-tabs :list="tabs" @click="sectionChange" style="background-color: #fff;" :current=current
  4. :itemStyle="{'width':'375rpx','padding':'24rpx'}" lineHeight="2px" lineWidth="30px"></u-tabs>
  5. <!-- 账单明细 -->
  6. <view class="contain" v-show="cdshow==0">
  7. <view class="topbilledit">
  8. <view class="changetime1">
  9. <picker mode="date" :value="myday" fields="month" @change="dateChange">
  10. <view class="selestDate">{{myday}}</view>
  11. </picker>
  12. </view>
  13. <view class="changetime2">
  14. <u-icon name="arrow-down-fill" color="#999" size="20"></u-icon>
  15. </view>
  16. </view>
  17. <view style="padding:16rpx 0 16rpx 32rpx">
  18. 共有 <span style="color: red">{{totalnumber}}</span>条记录
  19. </view>
  20. <view class="u-listdata">
  21. <u-list @scrolltolower="scrolltolower" :pagingEnabled='true'
  22. style="height:400px;flex:1;padding-bottom: 49px;">
  23. <u-list-item v-for="(item, index) in indexList1" :key="index">
  24. <view class="paisong">
  25. <u-icon name="arrow-up" @click="item.showMore=false" class="iconBtn" size="20px"
  26. v-if="item.showMore" color="#999"></u-icon>
  27. <u-icon name="arrow-down" @click="item.showMore=true" class="iconBtn" size="22px"
  28. color="#999" v-else></u-icon>
  29. <checkbox :checked="item.check" class="check" />
  30. <view class="title" @click="paybills(item)">
  31. 物业费: <span>¥{{item.amount}}</span>
  32. <view class="status" v-if='item.status==1'>
  33. 已支付
  34. </view>
  35. <view class="status" v-if='item.status==2'>
  36. 待支付
  37. </view>
  38. <view class="status" v-if='item.status==3'>
  39. 支付失败
  40. </view>
  41. </view>
  42. <template v-if="item.showMore">
  43. <view class="subtit" style="margin-top: 16rpx;">
  44. 管理费:{{item.billLists[0].amount}}
  45. </view>
  46. <view class="subtit">
  47. 中央空调使用费:{{item.billLists[1].amount}}
  48. </view>
  49. <view class="subtit">
  50. 电梯费:{{item.billLists[2].amount}}
  51. </view>
  52. </template>
  53. </view>
  54. </u-list-item>
  55. </u-list>
  56. </view>
  57. <view class="zhifu">
  58. <view class="zhifuright" @click="Immediatepayment">
  59. <view class="heji">
  60. 合计:<span>¥ {{heji}}</span>
  61. </view>
  62. <view class="likezhifu">
  63. <u-button type="primary" size='mini' shape='circle' text="立即支付"></u-button>
  64. </view>
  65. </view>
  66. </view>
  67. </view>
  68. <!--缴费记录 -->
  69. <view class="contain" v-show="cdshow==1">
  70. <!-- 列表 -->
  71. <view class="u-listdata">
  72. <view class="topbilledit" @click="typechange">
  73. <view class="changetime1">
  74. {{mytype}}
  75. </view>
  76. <view class="changetime2">
  77. <u-icon name="arrow-down-fill" color="#999" size="20"></u-icon>
  78. </view>
  79. </view>
  80. <view style="padding:20rpx 0 0 30rpx">
  81. 共有 <span style="color: red">{{totalnumber}}</span>条记录
  82. </view>
  83. <u-list @scrolltolower="scrolltolower2" :pagingEnabled='true'
  84. style="height:400px;flex:1;padding-bottom: 49px;">
  85. <u-list-item v-for="(item, index) in indexList2" :key="index">
  86. <view class="paisong2">
  87. <view class="status" v-if="item.type=='Subsidy'">
  88. 补助
  89. </view>
  90. <view class="status s2" v-if="item.type=='PreStorage'">
  91. 预存
  92. </view>
  93. <div class="title">{{item.tenantInfo.name}}</div>
  94. <view class="subtit">
  95. 扣缴金额:{{item.amount}}
  96. </view>
  97. <view class="subtit">
  98. 账户金额:{{item.surplus}}
  99. </view>
  100. <view class="subtit">
  101. 租户电话:{{item.tenantInfo.tel}}
  102. </view>
  103. <view class="subtit">
  104. 操作人:{{item.createName}}
  105. </view>
  106. <view class="subtit">
  107. 扣缴时间:{{item.createDate}}
  108. </view>
  109. </view>
  110. </u-list-item>
  111. </u-list>
  112. <view class="Predeposit" v-show="Predepositshow">
  113. <span @click="Predeposit">预存</span>
  114. </view>
  115. </view>
  116. </view>
  117. <u-picker :show="showtype" itemHeight="76" :columns="columnstype" keyName="dictLabel" @confirm="confirmtype"
  118. @cancel='canceltype'></u-picker>
  119. <u-popup :show="showpay" @close="closepay" @open="openpay" mode="bottom" :round="10" :closeable=true
  120. :closeOnClickOverlay=true>
  121. <view class="paytall">
  122. <!-- <text>请选择支付方式</text> -->
  123. <view class="hejitop">
  124. ¥ {{heji}}
  125. </view>
  126. <view class="zhifufs">
  127. <u-radio-group @change="groupChange" v-model="radiovalue1" placement="column" iconPlacement="right">
  128. <u-radio :customStyle="{marginBottom: '8px'}" v-for="(item, index) in radiolist1" :key="index"
  129. :label="item.name" :name="item.id">
  130. </u-radio>
  131. </u-radio-group>
  132. </view>
  133. <view style="margin: 0 30rpx;">
  134. <u-button type="primary" text="确认支付" @click="Confirmationpayment"></u-button>
  135. </view>
  136. </view>
  137. </u-popup>
  138. <u-modal :show="showjiaofei" title="提示" content='当前账户余额不足,请问是否充值?' @confirm="jiaofeiconfirm"
  139. @cancel='jiaofeicancel' :showCancelButton=true></u-modal>
  140. <view class="canys" v-if="zhifucanvas">
  141. <h4>请用微信扫码二维码</h4>
  142. <canvas class="zhifucanvas" canvas-id='canvas'></canvas>
  143. <view class="guanbi">
  144. <u-button type="primary" :plain="true" text="关闭" style="border:none" @click="guanbi"></u-button>
  145. </view>
  146. </view>
  147. <u-popup :show="showpayjine" @close="closepay1" @open="openpay1" mode="bottom" :round="10" :closeable=true
  148. :closeOnClickOverlay=true>
  149. <view class="paytall1">
  150. <view class="hejitop">
  151. 预存
  152. </view>
  153. <view class="zhifufs">
  154. <u--form labelWidth="30" labelPosition="left" :model="model1" :rules="rules" ref="uForm">
  155. <u-form-item label="¥" prop="userInfo.amount" ref="item1">
  156. <u--input v-model="model1.userInfo.amount" border="none" placeholder="点击输入金额"></u--input>
  157. </u-form-item>
  158. </u--form>
  159. </view>
  160. <view style="margin:0 32rpx">
  161. <u-button type="primary" text="确认支付" @click="Confirmationpaymentjine"></u-button>
  162. </view>
  163. </view>
  164. </u-popup>
  165. <u-notify ref="uNotify" message=""></u-notify>
  166. </view>
  167. </template>
  168. <script>
  169. var QRCode = require('@/utils/qrcode.js');
  170. const BaseApi = require("@/http/baseApi.js");
  171. // import {isEmpty,getDictDataList} from "@/utils/index";
  172. export default {
  173. name: 'Workordertodone',
  174. data() {
  175. const currentDate = this.getDate({
  176. format: 'yyyy-mm'
  177. })
  178. return {
  179. tabs: [{
  180. name: '账单明细',
  181. }, {
  182. name: '扣缴记录'
  183. }],
  184. model1: {
  185. userInfo: {
  186. amount: '',
  187. },
  188. },
  189. rules: {
  190. 'userInfo.amount': {
  191. type: 'string',
  192. required: true,
  193. message: '请填写预存金额',
  194. trigger: ['blur', 'change']
  195. },
  196. },
  197. showMore: false,
  198. Predepositshow: true,
  199. showpayjine: false,
  200. showcw: false,
  201. zhifucanvas: false,
  202. radiolist1: [],
  203. radiovalue1: '微信',
  204. showjiaofei: false,
  205. showpay: false,
  206. quanxuan: true,
  207. zhifumk: false,
  208. mytype: '扣缴类型',
  209. myday: currentDate,
  210. totalnumber: 0,
  211. jfnodata: false,
  212. showtype: false,
  213. cdshow: 0,
  214. fatherparameter: {},
  215. expensedata: '全部',
  216. list: ['账单明细', '缴费记录', ],
  217. current: 0,
  218. dataForm: {
  219. tenantId: '',
  220. costCycle: currentDate,
  221. type: '',
  222. page: 1,
  223. limit: 10,
  224. },
  225. zhanghuyue: 0,
  226. heji: 0,
  227. indexList1: [],
  228. indexList11: [],
  229. indexList2: [],
  230. payStatusList: [],
  231. nodata: true,
  232. pd: true,
  233. zhifufangshi: '',
  234. columnstype: [],
  235. repairTypeList: [],
  236. UrgencyTypelist: [],
  237. PayStatus: [],
  238. PropertyType: [],
  239. userInfotenantName: '',
  240. }
  241. },
  242. //监听页面加载,其参数为上个页面传递的数据,参数类型为 Object(用于页面传参
  243. onLoad: function(options) { //option为object类型,会序列化上个页面传递的参数
  244. let userInfo = JSON.parse(decodeURIComponent(options.info));
  245. // console.log('userInfo', userInfo);
  246. this.userInfotenantName = userInfo.tenantName;
  247. this.dataForm.tenantId = userInfo.tenantId;
  248. let getDictDataList = uni.getStorageSync('getDictDataList');
  249. // console.log('111111111111111111', userInfo)
  250. for (let i = 0; i < getDictDataList.length; i++) {
  251. if (getDictDataList[i].dictType == 'PayType') {
  252. this.columnstype = [getDictDataList[i].dataList]
  253. }
  254. if (getDictDataList[i].dictType == 'PayStatus') {
  255. this.PayStatus = [getDictDataList[i].dataList]
  256. }
  257. if (getDictDataList[i].dictType == 'PropertyType') {
  258. this.PropertyType = [getDictDataList[i].dataList]
  259. }
  260. }
  261. this.indexList11 = [{
  262. showMore: false,
  263. status: 2,
  264. amount: 300,
  265. billLists: [{
  266. amount: 100,
  267. }, {
  268. amount: 200,
  269. }, {
  270. amount: 130,
  271. }]
  272. }]
  273. // console.log('111111111111111111', this.PayStatus)
  274. this.getpaisongdata();
  275. },
  276. //监听页面初次渲染完成。注意如果渲染速度快,会在页面进入动画完成前触发
  277. onReady() {},
  278. //监听页面隐藏
  279. onHide() {},
  280. //监听窗口尺寸变化
  281. onResize() {},
  282. //监听页面卸载
  283. onUnload() {},
  284. //监听用户下拉动作,一般用于下拉刷新
  285. onPullDownRefresh() {},
  286. methods: {
  287. guanbi() {
  288. this.zhifucanvas = false;
  289. this.Predepositshow = true;
  290. this.queryOrder1();
  291. this.queryOrder2();
  292. },
  293. Confirmationpaymentjine() {
  294. this.zhifucanvas = true;
  295. this.$refs.uForm.validate().then(res => {
  296. uni.$u.toast('校验通过')
  297. this.showpayjine = false;
  298. this.Predepositshow = false;
  299. let postdata = {
  300. totalFee: this.model1.userInfo.amount,
  301. tenantId: this.dataForm.tenantId,
  302. tradeType: 'NATIVE',
  303. billIds: ''
  304. }
  305. uni.request({
  306. url: BaseApi.BaseApi + '/pay/createOrder',
  307. method: "POST",
  308. data: postdata,
  309. header: {
  310. 'content-type': 'application/x-www-form-urlencoded',
  311. "token": uni.getStorageSync('tokendata'),
  312. },
  313. success: (res) => {
  314. let qrcode = new QRCode('canvas', {
  315. text: res.data.codeUrl, // weixin://wxpay/bizpayurl?pr=sZz****
  316. width: 213,
  317. height: 213,
  318. colorDark: "black",
  319. colorLight: "white",
  320. correctLevel: QRCode.CorrectLevel.H,
  321. });
  322. }
  323. });
  324. }).catch(errors => {
  325. uni.$u.toast('校验失败')
  326. })
  327. },
  328. groupChange(n) {
  329. console.log('groupChange', n);
  330. this.zhifufangshi = n;
  331. },
  332. Predeposit() {
  333. this.showpayjine = true;
  334. },
  335. queryOrder1() {
  336. this.Predepositshow = true;
  337. this.zhifucanvas = false;
  338. this.indexList1 = [];
  339. this.dataForm.page = 1;
  340. this.getpaisongdata();
  341. },
  342. queryOrder2() {
  343. this.Predepositshow = true;
  344. this.zhifucanvas = false;
  345. this.indexList2 = [];
  346. this.dataForm.page = 1;
  347. this.getpayrecord();
  348. },
  349. Confirmationpayment() {
  350. if (this.zhifufangshi == 'zhanghu') {
  351. if (this.zhanghuyue >= this.heji) {
  352. console.log('账户余额支付', )
  353. let billIdslist = [this.indexList1[0].billLists[0].id, this.indexList1[0].billLists[1].id,
  354. this.indexList1[0].billLists[2].id
  355. ];
  356. let postdata = {
  357. amount: String(this.zhanghuyue - this.heji),
  358. tenantId: this.dataForm.tenantId,
  359. payType: 'Account',
  360. billIds: billIdslist
  361. }
  362. this.$api.post('/billinfo/billPay', postdata)
  363. .then(res => {
  364. // console.log('111111111111111111', res)
  365. if (res.data.code == 0) {
  366. this.zhifucanvas = true;
  367. this.$refs.uNotify.success(res.data.msg)
  368. this.showpay = false;
  369. this.indexList1 = [];
  370. this.dataForm.page = 1;
  371. this.getpaisongdata();
  372. } else {
  373. this.$refs.uNotify.error(res.data.msg)
  374. this.showpay = false;
  375. this.indexList1 = [];
  376. this.dataForm.page = 1;
  377. this.getpaisongdata();
  378. }
  379. })
  380. } else if (this.zhanghuyue < this.heji) {
  381. this.showjiaofei = true;
  382. }
  383. } else if (this.zhifufangshi == 'weixin') {
  384. this.zhifucanvas = true;
  385. this.showpay = false;
  386. let billIdslist = this.indexList1[0].billLists[0].id + ',' +
  387. this.indexList1[0].billLists[1].id + ',' + this.indexList1[0].billLists[2].id;
  388. // let postdata = {
  389. // totalFee: String(this.heji),
  390. // tenantId:Math.floor(this.dataForm.tenantId),
  391. // tradeType: 'NATIVE',
  392. // billIds: billIdslist
  393. // }
  394. let postdata = {
  395. totalFee: '0.01',
  396. tenantId: this.dataForm.tenantId,
  397. tradeType: 'NATIVE',
  398. billIds: billIdslist
  399. }
  400. uni.request({
  401. url: BaseApi.BaseApi + '/pay/createOrder',
  402. method: "POST",
  403. data: postdata,
  404. header: {
  405. 'content-type': 'application/x-www-form-urlencoded',
  406. "token": uni.getStorageSync('tokendata'),
  407. },
  408. success: (res) => {
  409. // window.open(res.codeUrl, '_blank);
  410. let qrcode = new QRCode('canvas', {
  411. text: res.data.codeUrl, // weixin://wxpay/bizpayurl?pr=sZz****
  412. width: 213,
  413. height: 213,
  414. colorDark: "black",
  415. colorLight: "white",
  416. correctLevel: QRCode.CorrectLevel.H,
  417. });
  418. //10秒之后调取查询订单
  419. // let that = this;
  420. // setTimeout(function () {
  421. // that.queryOrder1();
  422. // }, 15000);
  423. }
  424. });
  425. }
  426. },
  427. jiaofeiconfirm() {
  428. this.showpay = false;
  429. let billIdslist = this.indexList1[0].billLists[0].id + ',' +
  430. this.indexList1[0].billLists[1].id + ',' + this.indexList1[0].billLists[2].id;
  431. let postdata = {
  432. totalFee: String(this.heji - this.zhanghuyue),
  433. tenantId: this.dataForm.tenantId,
  434. tradeType: 'NATIVE',
  435. billIds: billIdslist
  436. }
  437. uni.request({
  438. url: BaseApi.BaseApi + '/pay/createOrder',
  439. method: "POST",
  440. data: postdata,
  441. header: {
  442. 'content-type': 'application/x-www-form-urlencoded',
  443. "token": uni.getStorageSync('tokendata'),
  444. },
  445. success: (res) => {
  446. // window.open(res.codeUrl, '_blank);
  447. let qrcode = new QRCode('canvas', {
  448. text: res.data.codeUrl, // weixin://wxpay/bizpayurl?pr=sZz****
  449. width: 213,
  450. height: 213,
  451. colorDark: "black",
  452. colorLight: "white",
  453. correctLevel: QRCode.CorrectLevel.H,
  454. });
  455. //10秒之后调取查询订单
  456. // let that = this;
  457. // setTimeout(function () {
  458. // that.queryOrder1();
  459. // }, 15000);
  460. }
  461. });
  462. },
  463. jiaofeicancel() {
  464. this.showjiaofei = false;
  465. },
  466. Immediatepayment() {
  467. this.$api.get('/accountinfo/detail/' + this.dataForm.tenantId, {})
  468. .then(res => {
  469. this.zhanghuyue = res.data.data.amount;
  470. this.showpay = true;
  471. this.radiolist1 = [{
  472. name: '微信',
  473. disabled: false,
  474. id: 'weixin',
  475. },
  476. {
  477. name: '账户余额' + '(可用¥' + this.zhanghuyue + ')',
  478. disabled: false,
  479. id: 'zhanghu'
  480. },
  481. ]
  482. })
  483. },
  484. openpay() {
  485. console.log('open');
  486. },
  487. closepay() {
  488. this.showpay = false
  489. // console.log('close');
  490. },
  491. openpay1() {
  492. console.log('open');
  493. },
  494. closepay1() {
  495. this.showpayjine = false
  496. // console.log('close');
  497. },
  498. paybills(e) {
  499. e.check = !e.check;
  500. if (e.check) {
  501. this.zhifumk = e.check
  502. } else {
  503. console.log('222222', e.check)
  504. this.zhifumk = e.check
  505. }
  506. },
  507. dateChange(e) {
  508. this.myday = e.target.value;
  509. this.dataForm.costCycle = e.target.value;
  510. this.dataForm.page = 1;
  511. this.indexList1 = [];
  512. this.getpaisongdata();
  513. },
  514. sectionChange(val) {
  515. this.current = val.index;
  516. if (val.index == 0) {
  517. this.cdshow = 0;
  518. this.indexList1 = [];
  519. this.dataForm.page = 1;
  520. this.getpaisongdata();
  521. } else if (val.index == 1) {
  522. this.cdshow = 1;
  523. this.indexList2 = [];
  524. this.dataForm.page = 1;
  525. this.getpayrecord();
  526. }
  527. },
  528. scrolltolower() {
  529. if (this.pd) {
  530. this.getpaisongdata();
  531. } else {
  532. return
  533. }
  534. },
  535. scrolltolower2() {
  536. if (this.pd) {
  537. this.getpayrecord();
  538. } else {
  539. return
  540. }
  541. },
  542. getpayrecord() {
  543. this.$api.get('/payrecord/page', this.dataForm)
  544. .then(res => {
  545. this.totalnumber = res.data.data.total;
  546. if (res.data.data.list.length != 0) {
  547. this.indexList2.push(...res.data.data.list);
  548. this.dataForm.page = this.dataForm.page + 1;
  549. this.pd = true;
  550. this.jfnodata = false;
  551. } else {
  552. uni.showToast({
  553. title: '暂无更多数据了',
  554. icon: 'none',
  555. duration: 1500
  556. })
  557. this.pd = false;
  558. }
  559. })
  560. },
  561. getpaisongdata() {
  562. this.$api.post('/billinfo/billDetail', this.dataForm)
  563. .then(res => {
  564. this.totalnumber = res.data.data.length;
  565. if (res.data.data.length != 0) {
  566. //check
  567. for (let i = 0; i < res.data.data.length; i++) {
  568. res.data.data[i].check = false;
  569. }
  570. this.heji = res.data.data[0].amount;
  571. this.indexList1.push(...res.data.data);
  572. this.dataForm.page = this.dataForm.page + 1;
  573. this.pd = true;
  574. this.jfnodata = false;
  575. } else {
  576. uni.showToast({
  577. title: '暂无更多数据了',
  578. icon: 'none',
  579. duration: 1500
  580. })
  581. this.pd = false;
  582. //this.jfnodata=true
  583. }
  584. })
  585. },
  586. getDate(type) {
  587. const date = new Date();
  588. let year = date.getFullYear();
  589. let month = date.getMonth();
  590. if (type === 'start') {
  591. year = year - 60;
  592. } else if (type === 'end') {
  593. year = year + 2;
  594. }
  595. month = month > 9 ? month : '0' + month;
  596. // day = day > 9 ? day : '0' + day;
  597. return `${year}-${month}`;
  598. },
  599. typechange() {
  600. this.showtype = true;
  601. },
  602. confirmtype(e) {
  603. this.indexList2 = [];
  604. //console.log('111111111111111111', e.value[0])
  605. this.showtype = false;
  606. if (e.value[0].dictValue == 'all') {
  607. this.mytype = e.value[0].dictLabel;
  608. this.dataForm.type = '';
  609. this.dataForm.page = 1;
  610. this.getpayrecord();
  611. } else {
  612. this.mytype = e.value[0].dictLabel;
  613. this.dataForm.type = e.value[0].dictValue;
  614. this.dataForm.page = 1;
  615. this.getpayrecord();
  616. }
  617. },
  618. canceltype() {
  619. this.showtype = false;
  620. },
  621. }
  622. }
  623. </script>
  624. <style lang="scss">
  625. .Predeposit {
  626. position: fixed;
  627. bottom: 0;
  628. left: 0;
  629. right: 0;
  630. height: 98rpx;
  631. line-height: 98rpx;
  632. width: 750rpx;
  633. background-color: #fff;
  634. text-align: center;
  635. color: #2E69EB;
  636. box-shadow: 0 -6px 12px 0 rgba(153, 153, 153, 0.10);
  637. }
  638. .nodata {
  639. text-align: center;
  640. padding-top: 400rpx;
  641. }
  642. .zhifucanvas {
  643. width: 400rpx;
  644. height: 400rpx;
  645. margin: 0 auto;
  646. }
  647. .canys {
  648. width: 500rpx;
  649. height: 600rpx;
  650. position: fixed;
  651. top: 30%;
  652. left: 0;
  653. right: 0;
  654. margin: 0 auto;
  655. background: #e6e6e6;
  656. h4 {
  657. width: 500rpx;
  658. text-align: center;
  659. height: 80rpx;
  660. line-height: 80rpx;
  661. }
  662. }
  663. .guanbi {
  664. margin-top: 50rpx;
  665. }
  666. .zhifufs {
  667. padding: 10rpx 60rpx 30px;
  668. ::v-deep .u-radio-label--right {
  669. margin-top: 30rpx;
  670. }
  671. ::v-deep .uni-input-placeholder {
  672. text-align: left
  673. }
  674. ::v-deep .u-radio__icon-wrap {
  675. width: 40rpx !important;
  676. height: 40rpx !important;
  677. }
  678. ::v-deep .u-radio__text {
  679. font-size: 32rpx !important;
  680. }
  681. }
  682. .hejitop {
  683. text-align: center;
  684. border-bottom: 1px solid #eee;
  685. padding: 48rpx 0 24rpx;
  686. font-size: 32rpx;
  687. }
  688. .paytall {
  689. padding: 12px 0;
  690. }
  691. .heji span {
  692. color: #ED3A25;
  693. }
  694. .likezhifu {
  695. margin-left: 20rpx;
  696. margin-right: 30rpx;
  697. }
  698. .zhifu {
  699. position: fixed;
  700. right: 0;
  701. bottom: 0;
  702. left: 0;
  703. height: 98rpx;
  704. background-color: #fff;
  705. display: flex;
  706. align-items: center;
  707. justify-content: flex-end;
  708. .zhifuright {
  709. display: flex;
  710. align-items: center;
  711. justify-content: flex-end;
  712. }
  713. }
  714. .page {
  715. height: 100%;
  716. overflow: hidden;
  717. .contain {
  718. height: calc(100% - 44px);
  719. padding: 0;
  720. display: flex;
  721. flex-direction: column;
  722. .u-listdata {
  723. height: 400px;
  724. flex: 1;
  725. display: flex;
  726. flex-direction: column;
  727. }
  728. }
  729. }
  730. .paisong,
  731. .paisong2 {
  732. display: flex;
  733. flex-direction: column;
  734. justify-content: center;
  735. background-color: #fff;
  736. margin: 0 16px 24rpx;
  737. padding: 12px 16px 12px 34px;
  738. border-radius: 4px;
  739. position: relative;
  740. .iconBtn {
  741. position: absolute;
  742. top: 32rpx;
  743. right: 32rpx;
  744. z-index: 1;
  745. }
  746. .title {
  747. font-size: 32rpx;
  748. color: #0C1935;
  749. margin-bottom: 16rpx;
  750. span {
  751. color: #FA5555;
  752. font-weight: 600;
  753. }
  754. .status {
  755. width: 100rpx;
  756. padding: 6rpx;
  757. text-align: center;
  758. font-size: 24rpx;
  759. color: #fff;
  760. background-color: #09C700;
  761. border-radius: 22rpx;
  762. position: absolute;
  763. left: 40%;
  764. top: 20rpx;
  765. transform: scale(.85);
  766. }
  767. }
  768. .subtit {
  769. color: #9DA0AC;
  770. margin-bottom: 6rpx;
  771. }
  772. .check {
  773. position: absolute;
  774. left: 20rpx;
  775. top: 32rpx;
  776. z-index: 1;
  777. font-size: 0;
  778. transform: scale(.7)
  779. }
  780. }
  781. .paisong2 {
  782. display: flex;
  783. flex-direction: column;
  784. justify-content: center;
  785. background-color: #fff;
  786. margin: 0 16px 24rpx;
  787. padding: 12px 16px;
  788. border-radius: 4px;
  789. position: relative;
  790. .status {
  791. position: absolute;
  792. width: 96rpx;
  793. height: 48rpx;
  794. border-radius: 0 8rpx 0 20rpx;
  795. right: 0;
  796. line-height: 48rpx;
  797. text-align: center;
  798. top: 0;
  799. z-index: 1;
  800. font-size: 22rpx;
  801. background-color: #30D3A2;
  802. color: #fff;
  803. &.s2 {
  804. background-color: #09C700;
  805. }
  806. }
  807. }
  808. .topbilledit {
  809. display: flex;
  810. justify-content: center;
  811. align-items: center;
  812. background: #fff;
  813. height: 88rpx;
  814. }
  815. .changetime2 {
  816. padding-left: 10rpx;
  817. }
  818. </style>