From 29f3a095dc58860849cdaa0b057b9fab495e5f6d Mon Sep 17 00:00:00 2001
From: admin <344137771@qq.com>
Date: Wed, 07 Jan 2026 14:04:07 +0800
Subject: [PATCH] 1

---
 src/page/home/listcomponents/xingusg.vue |   36 ++++++++++++++++++++++++------------
 1 files changed, 24 insertions(+), 12 deletions(-)

diff --git a/src/page/home/listcomponents/xingusg.vue b/src/page/home/listcomponents/xingusg.vue
index a55beb3..59be104 100644
--- a/src/page/home/listcomponents/xingusg.vue
+++ b/src/page/home/listcomponents/xingusg.vue
@@ -13,7 +13,7 @@
         <div class="sange">
             <span v-for="(item, index) in shengouTab" :key="index" @click="gettab(index)"
                 :class="shengouIdx == index ? 'xuan' : ''">{{
-                        item.name
+                    item.name
                 }}</span>
         </div>
         <div>
@@ -24,33 +24,45 @@
                         <div class="shl">
                             <h6>{{ item.name }}</h6>
                             <p>
-                                <span v-if="item.stockType == $t('jy83') || item.stockType == $t('jy92')">{{ $t('jy83') }}</span>
-                                <span class="sh" v-if="item.stockType == $t('jy84') || item.stockType == $t('jy93')">{{$t('jy84')}}</span>
+                                <span v-if="item.stockType == $t('jy83') || item.stockType == $t('jy92')">
+                                    {{ $t('jy83') }}
+                                </span>
+
+                                <span class="sh" v-if="item.stockType == $t('jy84') || item.stockType == $t('jy93')">
+                                    {{ $t('jy84') }}
+                                </span>
+
                                 <span class="bj" v-if="item.stockType == $t('jy85')">{{ $t('jy85') }}</span>
+
                                 <a
-                                    :class="(item.stockType == $t('jy84') || item.stockType == $t('jy93')) ? 'shbg' : item.stockType == $t('jy85') ? 'bjbg' : ''">{{
-                                            item.code
-                                    }}</a>
+                                    :class="(item.stockType == $t('jy84') || item.stockType == $t('jy93')) ? 'shbg' : item.stockType == $t('jy85') ? 'bjbg' : ''">
+                                    {{ item.code }}
+                                </a>
                             </p>
                         </div>
                         <div v-if="shengouIdx == 0">
-                            <div class="she1" @click="getshengou(1, item)"><span
-                                    style="font-size: 0.32rem;"> {{ $t("jy98") }}</span><span> {{ $t("jy94") }}</span></div>
-                            <div class="she2" @click="getshengou(2, item)"><span
-                                    style="font-size: 0.32rem;"> {{ $t("jy99") }}</span><span> {{ $t("jy100") }}</span></div>
+                            <div class="she1" @click="getshengou(1, item)"><span style="font-size: 0.32rem;"> {{
+                                $t("jy98") }}</span><span> {{ $t("jy94") }}</span></div>
+                            <div class="she2" @click="getshengou(2, item)"><span style="font-size: 0.32rem;"> {{
+                                $t("jy99") }}</span><span> {{ $t("jy100") }}</span></div>
                         </div>
                         <p class="shr" v-if="shengouIdx == 1"> {{ $t("hj59") }}
                             <span>{{ dayjs(item.subscribeTime).format('YYYY-MM-DD') }}</span>
                         </p>
                     </div>
                     <div class="shead shn" style="padding-top: 0px !important;" v-if="shengouIdx == 0">
-                        <p class="shr"> {{ $t("hj59") }} <span>{{ dayjs(item.subscribeTime).format('YYYY-MM-DD') }}</span></p>
+                        <p class="shr">
+                            {{ $t("hj59") }}
+                            <span>{{ dayjs(item.subscribeTime).format('YYYY-MM-DD') }}</span>
+                        </p>
                     </div>
                     <div class="plkm">
                         <p><span> {{ $t("jy101") }}</span><a>{{ item.price }}/ {{ $t("jy96") }}</a></p>
                         <p><span> {{ $t("jy102") }}</span><a>{{ item.pe }}</a></p>
                         <p style="display: none;"><span> {{ $t("jy103") }}</span><a> 0.75{{ $t("jy104") }}</a></p>
                         <p><span> {{ $t("jy105") }}</span><a>{{ item.orderNumber }} {{ $t("jy104") }}</a></p>
+
+                        <p><span> {{ $t("jy545") }}</span><a>{{ item.residualShare || '--' }}%</a></p>
                     </div>
                 </div>
             </van-list>
@@ -156,7 +168,7 @@
         getfilterdate(list) {
             if (this.shengouIdx == 0) {
                 for (let i = 0; i < list.length; i++) {
-                    if (this.dayjs(list[i].subscribeTime).format('YYYY-MM-DD') == this.dayjs(new Date().getTime()).format('YYYY-MM-DD')) {
+                    if (this.dayjs(list[i].subscribeTime).format('YYYY-MM-DD') <= this.dayjs(new Date().getTime()).format('YYYY-MM-DD')) {
                         this.shengouList.push(list[i])
                     }
                 }

--
Gitblit v1.9.3