From 44db498cedee7573d090797b1fe5c331c413b00a Mon Sep 17 00:00:00 2001
From: zzzz <690498789@qq.com>
Date: Mon, 22 Apr 2024 19:03:57 +0800
Subject: [PATCH] first
---
src/page/list/favorites/data.list.vue | 59 ++++++++++++++++++++++++++++++++++++++++++++---------------
1 files changed, 44 insertions(+), 15 deletions(-)
diff --git a/src/page/list/favorites/data.list.vue b/src/page/list/favorites/data.list.vue
index 343de20..1780ca0 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
@@ -71,8 +72,10 @@
</van-col>
<van-col span="6">
<div style="text-align: right">
- <div class="xgsgType">
- <span class="price_color">{{ $t("hj45") }}</span>
+ <div :class="item.type === 1 ? 'xgsgType' : 'xgpsType'">
+ <span class="price_color">
+ {{ item.type === 1 ? $t("hj45") : $t("新股配售") }}
+ </span>
</div>
</div>
</van-col>
@@ -91,27 +94,46 @@
>
<div class="popup-box">
<div class="input-box">
- <div class="laber">{{ $t("hj57") }}:</div>
+ <div class="laber">
+ {{ shengouObj.type === 1 ? $t("hj57") : $t("配售数量") }}:
+ </div>
<input type="number" :value="fromData.value" @input="fromDatavalue" />
</div>
<div class="shijian">
<div class="xgsj">
- <div class="sjtlt">{{ $t("hj59") }}:</div>
+ <div class="sjtlt">
+ {{
+ shengouObj.type === 1 ? $t("申购开启时间") : $t("配售开启时间")
+ }}:
+ </div>
<div class="xgTime">
{{
- $moment(shengouObj.subscribeTime).format("YYYY-MM-DD HH:mm:ss")
+ $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(
- "YYYY-MM-DD HH:mm:ss"
+ $moment(shengouObj.subscribeTime).format(
+ "DD-MM-YYYY hh:mm:ss A"
)
}}
+ </div>
+ </div>
+ <div class="xgsj">
+ <div class="sjtlt">{{ $t("上市时间") }}:</div>
+ <div class="xgTime">
+ {{ $moment(shengouObj.listDate).format("DD-MM-YYYY hh:mm:ss A") }}
</div>
</div>
<div class="xgsj">
@@ -126,9 +148,9 @@
<div class="sjtlt">上市時間:</div>
</div> -->
</div>
- <van-button class="but" type="info" @click="newAddxg">{{
- $t("hj58")
- }}</van-button>
+ <van-button class="but" type="info" @click="newAddxg">
+ {{ shengouObj.type === 1 ? $t("hj58") : $t("立即配售") }}
+ </van-button>
</div>
</van-popup>
</div>
@@ -202,7 +224,6 @@
applyNums: this.fromData.value,
});
if (res.status === 0) {
- console.log(333);
Notify({ type: "success", message: res.msg });
} else {
Notify({ type: "warning", message: res.msg });
@@ -308,7 +329,7 @@
-ms-flex-align: center;
align-items: center;
.sjtlt {
- width: 25%;
+ width: 33%;
margin-left: 0.4rem;
}
}
@@ -371,16 +392,24 @@
font-weight: 500;
font-size: 0.4rem;
line-height: 0.56rem;
- width: 4.2rem;
+ width: 4rem;
text-align: left;
color: #14181f;
}
.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