From a8f89d33e41ce2534ceef1e730a2e0127d73d04d Mon Sep 17 00:00:00 2001
From: zzzz <690498789@qq.com>
Date: Wed, 24 Apr 2024 17:53:21 +0800
Subject: [PATCH] first

---
 src/page/list/favorites/data.list.vue |   38 +++++++++++++++++++++++++++++---------
 1 files changed, 29 insertions(+), 9 deletions(-)

diff --git a/src/page/list/favorites/data.list.vue b/src/page/list/favorites/data.list.vue
index e4852cc..4196ab9 100644
--- a/src/page/list/favorites/data.list.vue
+++ b/src/page/list/favorites/data.list.vue
@@ -23,6 +23,7 @@
     <van-list
       v-model="loadings"
       :finished-text="$t('hj43')"
+      :loading-text="$t('hj430')"
       :immediate-check="false"
     >
       <div
@@ -62,7 +63,9 @@
           <van-col span="9">
             <div style="text-align: left">
               <div class="tp">
-                <span class="price_color">{{ item.price }}</span>
+                <span class="price_color">{{
+                  item.price | _toLocaleString(false)
+                }}</span>
               </div>
               <div class="bt">
                 <span>Max: {{ item.orderNumber }}</span>
@@ -71,7 +74,7 @@
           </van-col>
           <van-col span="6">
             <div style="text-align: right">
-              <div class="xgsgType">
+              <div :class="item.type === 1 ? 'xgsgType' : 'xgpsType'">
                 <span class="price_color">
                   {{ item.type === 1 ? $t("hj45") : $t("新股配售") }}
                 </span>
@@ -102,21 +105,28 @@
         <div class="shijian">
           <div class="xgsj">
             <div class="sjtlt">
-              {{ shengouObj.type === 1 ? $t("hj59") : $t("配售时间") }}:
+              {{
+                shengouObj.type === 1 ? $t("申购开启时间") : $t("配售开启时间")
+              }}:
             </div>
             <div class="xgTime">
               {{
-                $moment(shengouObj.subscribeTime).format(
+                $moment(shengouObj.subscriptionTime).format(
                   "DD-MM-YYYY hh:mm:ss A"
                 )
               }}
             </div>
           </div>
           <div class="xgsj">
-            <div class="sjtlt">{{ $t("hj60") }}:</div>
+            <div class="sjtlt">
+              {{
+                shengouObj.type === 1 ? $t("申购结束时间") : $t("配售结束时间")
+              }}:
+              <!-- {{ $t("hj60") }}: -->
+            </div>
             <div class="xgTime">
               {{
-                $moment(shengouObj.subscriptionTime).format(
+                $moment(shengouObj.subscribeTime).format(
                   "DD-MM-YYYY hh:mm:ss A"
                 )
               }}
@@ -134,7 +144,9 @@
           </div>
           <div class="xgsj">
             <div class="sjtlt">{{ $t("hj120") }}:</div>
-            <div class="xgTime">{{ shengouObj.price }}</div>
+            <div class="xgTime">
+              {{ shengouObj.price | _toLocaleString(false) }}
+            </div>
           </div>
           <!-- <div class="xgsj">
             <div class="sjtlt">上市時間:</div>
@@ -321,7 +333,7 @@
       -ms-flex-align: center;
       align-items: center;
       .sjtlt {
-        width: 25%;
+        width: 33%;
         margin-left: 0.4rem;
       }
     }
@@ -390,10 +402,18 @@
 }
 .xgsgType {
   border-radius: 0.1rem;
-  background-color: rgba(102, 204, 153, 0.1);
+  // background-color: rgba(102, 204, 153, 0.1);
   border: 0.04rem solid #5ce398;
   color: #5ce398;
   text-align: center;
   line-height: 35px;
 }
+.xgpsType {
+  border-radius: 0.1rem;
+  // background-color: rgba(102, 204, 153, 0.1);
+  border: 0.04rem solid #ba33a5;
+  color: #ba33a5;
+  text-align: center;
+  line-height: 35px;
+}
 </style>
\ No newline at end of file

--
Gitblit v1.9.3