invioceResult.vue 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <template>
  2. <view >
  3. <ujp-navbar title="电子发票"></ujp-navbar>
  4. <view class="success">
  5. <u-icon name="chenggong" custom-prefix="custom-icon" size="180" color="#00B962"></u-icon>
  6. <p class="success-text">申请成功</p>
  7. <view class="info">
  8. <view class="info-item">
  9. <view class="info-title">
  10. 发票项目
  11. </view>
  12. <view class="info-content">
  13. 充电费发票
  14. </view>
  15. </view>
  16. <view class="info-item">
  17. <view class="info-title">
  18. 发票抬头
  19. </view>
  20. <view class="info-content">
  21. {{selectObj.title}}
  22. </view>
  23. </view>
  24. <view class="info-item">
  25. <view class="info-title">
  26. 发票金额
  27. </view>
  28. <view class="info-content">
  29. {{selectObj.totalPrice.toFixed(2)}}元
  30. </view>
  31. </view>
  32. </view>
  33. </view>
  34. <u-button type="success" shape="circle" @click="back" >返回</u-button>
  35. </view>
  36. </template>
  37. <script>
  38. import * as API from '@/apis/invoiceApi.js'
  39. export default {
  40. data() {
  41. return {
  42. selectObj:{}
  43. };
  44. },
  45. onLoad() {
  46. var obj=this.carhelp.get("issueInvoice");
  47. this.selectObj=obj.selectObj;
  48. },
  49. methods: {
  50. back(){
  51. uni.navigateBack({
  52. })
  53. }
  54. }
  55. };
  56. </script>
  57. <style lang="scss" scoped>
  58. page{
  59. background-color: #fff;
  60. }
  61. .success{
  62. text-align: center;
  63. padding: 50px 36px;
  64. .success-text{
  65. color: rgba(16, 16, 16, 100);
  66. font-size: 20px;
  67. margin-top: 10px;
  68. }
  69. }
  70. .info{
  71. .info-item{
  72. display: flex;
  73. justify-content: space-between;
  74. margin-top: 20px;
  75. font-size: 18px;
  76. }
  77. }
  78. /deep/.u-btn{
  79. width: 91.4%;
  80. position: fixed;
  81. bottom: 0;
  82. left: 0;
  83. right: 0;
  84. margin-bottom: 12px;
  85. }
  86. </style>