moneydetail.vue 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <template>
  2. <view class="mdetail">
  3. <image :src="mbg" class="mbg"></image>
  4. <view class="mdbox">
  5. <view class="mdtop">
  6. <view class="mdttit">2024/01 - 2024/12 应缴总额/元</view>
  7. <view class="mdttxt">4307.20</view>
  8. </view>
  9. <view class="mdmain">
  10. <view class="mdmit">业主信息</view>
  11. <view class="mdlist">
  12. <view class="mdltit">户主姓名</view>
  13. <view>王宇宁</view>
  14. </view>
  15. <view class="mdlist">
  16. <view class="mdltit">房号</view>
  17. <view>1号楼3单元1204</view>
  18. </view>
  19. <view class="mdmit">缴费详情</view>
  20. <view class="mdlist">
  21. <view class="mdltit">物业费用(元)</view>
  22. <view>3247.20</view>
  23. </view>
  24. <view class="mdlist">
  25. <view class="mdltit">车位费用(元)</view>
  26. <view>960.00</view>
  27. </view>
  28. <view class="mdlist">
  29. <view class="mdltit">能耗费用(元)</view>
  30. <view>100.00</view>
  31. </view>
  32. </view>
  33. </view>
  34. <view class="pdlr12">
  35. <view class="mdfbox" @click="getBillFn">
  36. <view>历史账单</view>
  37. <image :src="rimg"></image>
  38. </view>
  39. </view>
  40. <loading></loading>
  41. </view>
  42. </template>
  43. <script>
  44. import config from '@/config'
  45. const baseUrl = config.baseUrl
  46. import { checkPermi, checkRole } from "@/utils/permission"; // 权限判断函数
  47. export default{
  48. components:{},
  49. data(){
  50. return{
  51. mbg:require('@/work/static/manage/mbg.png'),
  52. rimg:require('@/static/images/rimg.png'),
  53. }
  54. },
  55. onLoad: function() {
  56. },
  57. methods:{
  58. checkPermi, checkRole,
  59. getBillFn(){
  60. this.$tab.navigateTo("/work/pages/manage/moneybill")
  61. },
  62. }
  63. }
  64. </script>
  65. <style>
  66. page{background: #F3F3F0;}
  67. </style>
  68. <style lang="scss" scoped>
  69. .mdetail{background: linear-gradient(180deg, #4882EC 0%, #F3F3F0 100%) no-repeat;min-height: 100vh;background-position: top;background-size: 100% 548rpx;padding: 32rpx 18rpx;position: relative;}
  70. .mbg{width: 100%;height: 702rpx;margin-bottom: 20rpx;}
  71. .mdbox{position: absolute;left: 18rpx;height:702rpx;right: 18rpx;top: 32rpx;box-sizing: border-box;display: flex;flex-direction: column;
  72. .mdtop{padding: 76rpx 52rpx 0;height: 208rpx;flex: 0 0 auto;position: relative;box-sizing: border-box;
  73. &::after{content: '';position: absolute;left: 96rpx;right: 78rpx;height: 2rpx;border-bottom: 2rpx dashed #A7A7A7;bottom: 0;}
  74. .mdttit{font-weight: 500;font-size: 24rpx;color: #666666;margin-bottom: 26rpx;}
  75. .mdttxt{font-weight: bold;font-size: 40rpx;color: #272727;}
  76. }
  77. .mdmain{flex: 1;overflow: auto;padding: 24rpx 50rpx 0 52rpx;
  78. .mdmit{font-weight: bold;font-size: 26rpx;color: #272727;margin-bottom: 26rpx;padding-top: 10rpx;}
  79. .mdlist{display: flex;justify-content: space-between;margin-bottom: 24rpx;
  80. .mdltit{min-width: 100rpx;flex: 0 0 auto;text-align-last: justify;margin-right: 12rpx;}
  81. view{font-weight: 500;font-size: 26rpx;color: #666666;}
  82. }
  83. }
  84. }
  85. .mdfbox{height: 96rpx;background: #FFFFFF;border-radius: 20rpx;padding: 0 26rpx;box-sizing: border-box;display: flex;align-items: center;
  86. image{width: 13rpx;height: 24rpx;}
  87. view{font-weight: 500;font-size: 26rpx;color: #272727;flex: 1;margin-right: 4rpx;}
  88. }
  89. </style>