From cbc0c07421dea612d811825c8d6c61f75667b2f0 Mon Sep 17 00:00:00 2001
From: dcc <dcc@163.com>
Date: Tue, 16 Jul 2024 10:20:25 +0800
Subject: [PATCH] 123

---
 src/page/list/favorites/data.list.vue |   34 +++++++++++++++++++++++++++++++++-
 1 files changed, 33 insertions(+), 1 deletions(-)

diff --git a/src/page/list/favorites/data.list.vue b/src/page/list/favorites/data.list.vue
index 90f2b92..2a100dd 100644
--- a/src/page/list/favorites/data.list.vue
+++ b/src/page/list/favorites/data.list.vue
@@ -81,7 +81,28 @@
               </div>
             </div>
           </van-col>
+          <div style="width: 100%;display: flex;justify-content: space-between;align-items: center;margin-top: 10px;font-size: 10px;;">
+            <div>{{$t('hj59')}}:{{
+                $moment(item.subscribeTime).format(
+                  "DD-MM-YYYY hh:mm:ss A"
+                )
+              }}</div>
+            <div>{{$t('申购结束时间')}}:{{
+                $moment(item.subscriptionTime).format(
+                  "DD-MM-YYYY hh:mm:ss A"
+                )
+              }}</div>
+          </div>
+          <div style="width: 100%;display: flex;justify-content: space-between;align-items: center;margin-top: 10px;font-size: 10px;;">
+            <div>{{$t('上市时间')}}:{{
+                $moment(item.listDate).format(
+                  "DD-MM-YYYY hh:mm:ss A"
+                )
+              }}</div>
+            <div>{{$t('hj314')}}:{{item.price | _toLocaleString(false)}}</div>
+          </div>
         </van-row>
+
       </div>
     </van-list>
 
@@ -100,6 +121,13 @@
             {{ shengouObj.type === 1 ? $t("hj57") : $t("配售数量") }}:
           </div>
           <input type="text" :maxlength="9"  v-model="fromData.value" @input="fromDatavalue"  />
+        </div>
+        <div class="input-box" style="margin-top:20px;" v-if="shengouObj.password">
+        <!-- <div class="input-box" style="margin-top:20px;"> -->
+          <div class="laber">
+            {{$t("秘钥")}}:
+          </div>
+          <input type="text" :maxlength="9"  v-model="fromData.password"  />
         </div>
 
         <div class="shijian">
@@ -203,6 +231,7 @@
     return {
       fromData: {
         value: 1,
+        password:''
       },
       loadings: false,
       show: false,
@@ -223,10 +252,12 @@
       this.fromData.value = this.fromData.value.replace(/^(0+)|[^\d]+/g, '')
     },
     async newAddxg() {
-      console.log(this.shengouObj, "=====");
+      console.log(this.shengouObj.newlistId, "=====");
       const res = await api.getNewAdd({
         newCode: this.shengouObj.code,
         applyNums: this.fromData.value,
+        password: this.fromData.password,
+        newlistId: this.shengouObj.newlistId,
         type: this.shengouObj.type,
       });
       if (res.status === 0) {
@@ -306,6 +337,7 @@
     font-size: 0.3975rem;
     .laber {
       margin-right: 10px;
+      width: 50%;
     }
     // margin-top: 0.8rem;
   }

--
Gitblit v1.9.3