billHistoryDetail.vue 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. <template>
  2. <view class="content flex flex_column">
  3. <view class="b_head">
  4. <view class="head_list">
  5. <text>分享时间</text>
  6. <text>2022-11-29 10:02:54</text>
  7. </view>
  8. <view class="head_list">
  9. <text>客户名称</text>
  10. <text>东莞市寮步车正汽车服务中心</text>
  11. </view>
  12. <view class="head_list">
  13. <text>对账周期</text>
  14. <text>2022年11月29日~2022年12月31日</text>
  15. </view>
  16. <view class="head_list">
  17. <text>付款状态</text>
  18. <text>已付款(支付宝)</text>
  19. </view>
  20. </view>
  21. <view class="b_detail">
  22. <view class="detail_list u-flex">
  23. <view class="detail_box">
  24. <text>总单数:</text>
  25. <text>34</text>
  26. </view>
  27. <view class="detail_box">
  28. <text>待收金额合计:</text>
  29. <text>34.00</text>
  30. </view>
  31. </view>
  32. <view class="detail_list u-flex">
  33. <view class="detail_box">
  34. <text>折让金额:</text>
  35. <text>34</text>
  36. </view>
  37. <view class="detail_box">
  38. <text>折让待收金额:</text>
  39. <text>34.00</text>
  40. </view>
  41. </view>
  42. </view>
  43. <view class="detail_con">
  44. <billList></billList>
  45. </view>
  46. <view class="footer">
  47. <u-button type="primary" :custom-style="customStyle" shape="circle">再次发送对账单</u-button>
  48. </view>
  49. </view>
  50. </template>
  51. <script>
  52. import billList from './billListComponent.vue'
  53. export default {
  54. components: { billList },
  55. data() {
  56. return {
  57. customStyle:{
  58. backgroundColor: this.$config('primaryColor'),
  59. color: '#fff',
  60. },
  61. };
  62. },
  63. onReady() {
  64. uni.setNavigationBarColor({
  65. frontColor: '#ffffff',
  66. backgroundColor: this.$config('primaryColor')
  67. });
  68. }
  69. };
  70. </script>
  71. <style lang="scss" scoped>
  72. .content {
  73. height: 100vh;
  74. width: 100%;
  75. .b_head {
  76. background-color: #fff;
  77. .head_list {
  78. padding:14rpx 20rpx;
  79. border-bottom: 1rpx solid #f8f8f8;
  80. text {
  81. &:first-child {
  82. color: $uni-text-color-grey;
  83. display: inline-block;
  84. width: 160rpx;
  85. }
  86. }
  87. }
  88. }
  89. .b_detail{
  90. margin:6rpx 0;
  91. background-color: #fff;
  92. padding:20rpx;
  93. box-sizing: border-box;
  94. .detail_list{
  95. margin-bottom: 10rpx;
  96. &:last-child{
  97. margin-bottom: 0rpx;
  98. }
  99. .detail_box::after{
  100. content:';';
  101. color:$uni-text-color-grey;
  102. }
  103. .detail_box{
  104. text{
  105. &:first-child{
  106. color:$uni-text-color-grey;
  107. }
  108. &:last-child{
  109. color:$uni-color-warning;
  110. font-weight: 600;
  111. }
  112. }
  113. }
  114. }
  115. }
  116. .detail_con{
  117. flex-grow: 1;
  118. overflow: auto;
  119. background-color: #fff;
  120. }
  121. .footer{
  122. padding:10rpx 20rpx;
  123. background:#fff;
  124. margin-top:20rpx;
  125. }
  126. }
  127. </style>