소스 검색

Merge pull request #112 from tron/lock/release-2.8.0/parkingInvoice

feat(scrm-3788): 修复详情带过去邮箱
John-Hong 2 년 전
부모
커밋
01a993f5bd

+ 1 - 1
src/pages/parkingFee/mixins/parkingReceipt/parkingInvoiceImage.js

@@ -20,7 +20,7 @@ export default {
   },
   created() {
     this.order = JSON.parse(this.$route.query.order);
-    this.getEmail()
+    console.log('order::::', this.order)
   },
   mounted() {
     setTimeout(() => {

+ 7 - 4
src/pages/parkingFee/parkingReceipt/parkingInvoiceImage.vue

@@ -6,10 +6,10 @@
         <span class="part-item-value"></span>
       </div>
       <van-divider dashed style="margin:0;"/>
-      <div class="part-item lines">
+      <div class="part-item lines part-item-email">
         <img class="car-icon" :src="require(`../static/images/email.png`)"/>
         <span class="part-item-key">电子邮箱</span>
-        <span class="part-item-value">{{ res.email }}</span>
+        <span class="part-item-value">{{ order.email }}</span>
       </div>
       <div class="invoice-img" v-if="order.invoiceUrl">
       </div>
@@ -85,13 +85,16 @@ export default {
         text-align: right;
         display: flex;
         align-items: center;
-
+        position: absolute;
+        right: 35px;
         > img {
           width: 30px;
         }
       }
     }
-
+    .part-item.part-item-email {
+      position: relative;
+    }
     .invoice-img {
       width: 100%;
       padding: 30px 0;