Browse Source

feat(KIP-9217):开票申请UI revmap

lock.qiu@kerryprops.com 2 years ago
parent
commit
3f25fbe866
1 changed files with 47 additions and 26 deletions
  1. 47 26
      src/pages/parkingFee/parkingReceipt/parkingApplication.vue

+ 47 - 26
src/pages/parkingFee/parkingReceipt/parkingApplication.vue

@@ -2,7 +2,7 @@
   <div>
     <div :class="['scroll-Y', theme]">
       <div class="push-box">
-        <div class="choose-invoice-header lines" @click="changeHeader">
+        <div class="choose-invoice-header" @click="changeHeader">
           <div class="invoice-header-info" v-if="headerInfo.titleName">
             <div class="invoice-header-name" :class="headerInfo.invoiceTitleType == 'COMPANY' ? 'header-name' : ''">
               <div>
@@ -76,7 +76,7 @@
               ><span class="purple">{{ invoiceAmount }} 元</span></span
             >
           </div>
-          <div class="part-item top" v-if="type == ''">
+          <div class="part-item top part-item-bg" v-if="type == ''">
             <span class="part-item-key"
               >共<span class="purple">{{ orderQuantity }}笔</span>缴费记录</span
             >
@@ -87,20 +87,32 @@
           </div>
         </div>
         <div class="tab-header">接收方式</div>
-        <div class="part">
+        <div class="part" style="padding-top: 10px;">
           <div class="part-item lines">
             <span class="part-item-key" style="min-width: 120px; white-space: nowrap">电子邮箱</span>
             <div class="part-item-value">
               <input class="van-field__control" style="white-space: nowrap" type="text" @blur="mailboxChange" placeholder="请输入电子邮箱" v-model="condition.email" />
             </div>
           </div>
-          <div class="part-item default-email" @click="changeDefaultEMail">
+          <div class="part-item default-email part-item-bg" @click="changeDefaultEMail">
             <van-checkbox v-model="condition.emailAsDefault" @change="emailAsDefaultChange" icon-size="30PX"><span class="text">保存电子邮箱为默认邮箱</span></van-checkbox>
           </div>
         </div>
-        <div class="tab-header">备注</div>
+        <div class="tab-header2">备注</div>
         <div class="textarea-remark">
-          <textarea rows="3" placeholder-style="color:#999999" placeholder="选填" @blur="storeRemarkChange" v-model="condition.remark"></textarea>
+          <textarea
+            rows="3"
+            placeholder-style="color:#999999;
+              font-style: normal;
+              font-weight: 400;
+              font-size: 30px;
+              height:275px;
+              background:#fff;"
+              
+            placeholder="如果您对本次发票申请有其他需求,可在此输入详细信息。"
+            @blur="storeRemarkChange"
+            v-model="condition.remark"
+          ></textarea>
         </div>
         <!-- 占位 -->
         <div style="height: 75px; background-color: transparent; color: transparent; position: relative">占位</div>
@@ -115,7 +127,7 @@
 
 <script>
 import parkingApplicationJs from '../mixins/parkingReceipt/parkingApplication';
-import baseMixins from '../mixins/base'
+import baseMixins from '../mixins/base';
 export default {
   mixins: [baseMixins, parkingApplicationJs],
 };
@@ -147,10 +159,10 @@ export default {
     align-items: center;
     justify-content: space-between;
     // padding: 20px 30px;
-    padding: 32px;
+    padding: 32px 0;
     font-size: 28px;
     background: #fafbff;
-    border: 1px solid #d8dae0;
+    // border: 1px solid #d8dae0;
     margin-bottom: 24px;
     border-radius: 4px;
 
@@ -162,12 +174,13 @@ export default {
         display: flex;
         justify-content: space-between;
         align-items: center;
+        padding: 0 30px;
         padding-bottom: 32px;
-        border-bottom: 1px solid #d8dae0;
+        border-bottom: 1px dashed #d8dae0;
 
         .isDefault {
           color: #8cc63f;
-          border: 1px solid #8cc63f;
+          border: 1px dashed #8cc63f;
           margin-left: 30px;
           border-radius: 20px;
           display: inline-block;
@@ -178,6 +191,7 @@ export default {
       .duty-paragraph {
         color: #999;
         margin-top: 32px;
+        padding: 0 30px;
       }
     }
   }
@@ -186,7 +200,12 @@ export default {
     color: #808080;
     padding: 10px 20px 20px;
   }
-
+  .tab-header2 {
+    background: #fff;
+    color: #808080;
+    padding: 20px 20px 20px;
+    border-bottom: 1px dashed #e1e2e8;
+  }
   .part {
     // background-color: #ffffff;
 
@@ -194,24 +213,25 @@ export default {
     // padding-left: 30px;
     margin-bottom: 20px;
     border-radius: 4px;
-    padding: 30px;
-    border: 1px solid #d8dae0;
-
+    padding: 30px 0;
+    // border: 1px solid #d8dae0;
+    .part-item-bg {
+      background: #cedce8;
+    }
     .part-item {
       font-size: 28px;
       display: flex;
       justify-content: space-between;
       align-items: center;
+      padding: 10px 30px;
       padding-bottom: 20px;
-
       .part-item-key {
         color: #333333;
         min-width: 146px;
       }
 
       .part-item-value {
-        flex: 1;
-        color: #999;
+        color: #666;
         text-align: right;
         display: flex;
         align-items: center;
@@ -255,7 +275,7 @@ export default {
       font-family: PingFangSC-Regular, PingFang SC;
       font-weight: 400;
       color: #999999;
-      padding-bottom: 0;
+      padding-bottom: 10px;
       .text {
         font-size: 28px;
         font-weight: 400;
@@ -273,12 +293,13 @@ export default {
   }
 
   .top {
-    padding-top: 20px;
-    padding-bottom: 0 !important;
+    margin-top: 20px;
+    // padding-bottom: 0 !important;
+    padding: 10px 30px !important;
   }
 
   .middle {
-    // padding: 20px 0;
+    padding-top: 10px;
 
     > .part-item {
       // background-color: #ffffff;
@@ -299,14 +320,14 @@ export default {
     margin-bottom: 20px;
 
     > textarea {
-      background-color: #fafbff;
+      background-color: #fff;
       width: 100%;
       padding: 32px;
       // padding: 10px 20px;
       border-radius: 4px;
       box-sizing: border-box;
-
-      border-color: #d8dae0;
+      height: 275px;
+      border: none;
     }
   }
 
@@ -315,7 +336,7 @@ export default {
   }
 
   .lines {
-    border-bottom: 1px solid #d8dae0;
+    border-bottom: 1px dashed #e1e2e8;
   }
 
   .toBottom {