diff --git a/src/api/types.ts b/src/api/types.ts index fe4599b..70adeda 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -45,11 +45,9 @@ export type BankAccountData = Treaty.Data; export type SupportBanksData = Treaty.Data; -export type AvailableSubscriptionData = Treaty.Data; - export type AvailableSubscriptionBody = TreatyQuery; -export type RwaData = Treaty.Data; +export type RwaData = Treaty.Data["data"][number]; export type MySubscribeRwaData = Treaty.Data; diff --git a/src/locales/ar.json b/src/locales/ar.json index 4ad7521..67b49a0 100644 --- a/src/locales/ar.json +++ b/src/locales/ar.json @@ -157,8 +157,6 @@ "enterPerUserLimit": "الرجاء إدخال الحد الأقصى للاشتراك الفردي", "totalSupply": "إجمالي الإصدار", "enterTotalSupply": "الرجاء إدخال إجمالي الإصدار", - "subscriptionDeadline": "الموعد النهائي للاشتراك", - "enterSubscriptionDeadline": "الرجاء إدخال الموعد النهائي للاشتراك", "subscriptionStartDate": "تاريخ بدء الاشتراك", "subscriptionEndDate": "تاريخ انتهاء الاشتراك", "unitPrice": "سعر الوحدة", @@ -188,8 +186,6 @@ "subscriptionEndAfterStart": "يجب أن يكون تاريخ انتهاء الاشتراك بعد تاريخ بدء الاشتراك", "perUserLimitRequired": "الحد الأقصى للاشتراك الفردي مطلوب", "totalSupplyRequired": "إجمالي الإصدار مطلوب", - "subscriptionDeadlineRequired": "الموعد النهائي للاشتراك مطلوب", - "deadlineAfterLaunch": "لا يمكن أن يكون الموعد النهائي للاشتراك قبل تاريخ الإصدار", "unitPriceRequired": "سعر الوحدة مطلوب", "dividendRateRequired": "معدل الأرباح مطلوب" }, @@ -248,7 +244,8 @@ "totalSupply": "إجمالي الإصدار", "perUserLimit": "الحد لكل شخص", "launchDate": "وقت الإحماء", - "subscriptionDeadline": "الموعد النهائي للاشتراك" + "subscriptionStartDate": "تاريخ بدء الاشتراك", + "subscriptionEndDate": "تاريخ انتهاء الاشتراك" }, "units": { "shares": "أسهم" diff --git a/src/locales/en-US.json b/src/locales/en-US.json index 86adafd..9d399a8 100644 --- a/src/locales/en-US.json +++ b/src/locales/en-US.json @@ -157,8 +157,6 @@ "enterPerUserLimit": "Please enter per user limit", "totalSupply": "Total Supply", "enterTotalSupply": "Please enter total supply", - "subscriptionDeadline": "Subscription Deadline", - "enterSubscriptionDeadline": "Please enter subscription deadline", "subscriptionStartDate": "Subscription Start Date", "subscriptionEndDate": "Subscription End Date", "unitPrice": "Unit Price", @@ -188,8 +186,6 @@ "subscriptionEndAfterStart": "Subscription end date must be after subscription start date", "perUserLimitRequired": "Per user limit is required", "totalSupplyRequired": "Total supply is required", - "subscriptionDeadlineRequired": "Subscription deadline is required", - "deadlineAfterLaunch": "Subscription deadline cannot be earlier than launch date", "unitPriceRequired": "Unit price is required", "dividendRateRequired": "Dividend rate is required" }, @@ -248,7 +244,8 @@ "totalSupply": "Total Supply", "perUserLimit": "Per User Limit", "launchDate": "Warm-up Time", - "subscriptionDeadline": "Subscription Deadline" + "subscriptionStartDate": "Subscription Start Date", + "subscriptionEndDate": "Subscription End Date" }, "units": { "shares": "shares" diff --git a/src/locales/zh-CN.json b/src/locales/zh-CN.json index c4fbbe9..30c8b99 100644 --- a/src/locales/zh-CN.json +++ b/src/locales/zh-CN.json @@ -157,8 +157,6 @@ "enterPerUserLimit": "请输入个人申购上限", "totalSupply": "发行总量", "enterTotalSupply": "请输入发行总量", - "subscriptionDeadline": "申购截止日期", - "enterSubscriptionDeadline": "请输入申购截止日期", "subscriptionStartDate": "订阅开始时间", "subscriptionEndDate": "订阅结束时间", "unitPrice": "单价", @@ -188,8 +186,6 @@ "subscriptionEndAfterStart": "订阅结束时间必须在订阅开始时间之后", "perUserLimitRequired": "个人申购上限是必填项", "totalSupplyRequired": "发行总量是必填项", - "subscriptionDeadlineRequired": "申购截止日期是必填项", - "deadlineAfterLaunch": "申购截止日期不能小于发行日期", "unitPriceRequired": "单价是必填项", "dividendRateRequired": "分红率是必填项" }, @@ -248,7 +244,8 @@ "totalSupply": "总发行量", "perUserLimit": "每人限量", "launchDate": "预热时间", - "subscriptionDeadline": "认购截止时间" + "subscriptionStartDate": "订阅开始时间", + "subscriptionEndDate": "订阅结束时间" }, "units": { "shares": "份" diff --git a/src/locales/zh-HK.json b/src/locales/zh-HK.json index c043475..562e2d8 100644 --- a/src/locales/zh-HK.json +++ b/src/locales/zh-HK.json @@ -157,8 +157,6 @@ "enterPerUserLimit": "請輸入個人申購上限", "totalSupply": "發行總量", "enterTotalSupply": "請輸入發行總量", - "subscriptionDeadline": "申購截止日期", - "enterSubscriptionDeadline": "請輸入申購截止日期", "subscriptionStartDate": "訂閱開始時間", "subscriptionEndDate": "訂閱結束時間", "unitPrice": "單價", @@ -188,8 +186,6 @@ "subscriptionEndAfterStart": "訂閱結束時間必須在訂閱開始時間之後", "perUserLimitRequired": "個人申購上限是必填項", "totalSupplyRequired": "發行總量是必填項", - "subscriptionDeadlineRequired": "申購截止日期是必填項", - "deadlineAfterLaunch": "申購截止日期不能小於發行日期", "unitPriceRequired": "單價是必填項", "dividendRateRequired": "分紅率是必填項" }, @@ -248,7 +244,8 @@ "totalSupply": "總發行量", "perUserLimit": "每人限量", "launchDate": "預熱時間", - "subscriptionDeadline": "認購截止時間" + "subscriptionStartDate": "訂閱開始時間", + "subscriptionEndDate": "訂閱結束時間" }, "units": { "shares": "份" diff --git a/src/views/market/components/rwa-list.vue b/src/views/market/components/rwa-list.vue index ec76499..8a4b244 100644 --- a/src/views/market/components/rwa-list.vue +++ b/src/views/market/components/rwa-list.vue @@ -4,7 +4,7 @@ import CryptocurrencyColorAppc from "~icons/cryptocurrency-color/appc"; import CryptocurrencyColorNuls from "~icons/cryptocurrency-color/nuls"; defineProps<{ - data: RwaData["data"]; + data: RwaData[]; }>(); const { t } = useI18n(); diff --git a/src/views/market/index.vue b/src/views/market/index.vue index 3e10bef..efce82d 100644 --- a/src/views/market/index.vue +++ b/src/views/market/index.vue @@ -12,7 +12,7 @@ const [query] = useResetRef({ offset: 0, categoryId: "", }); -const rwaData = ref([]); +const rwaData = ref([]); const isFinished = ref(false); async function fetchRwaData() { diff --git a/src/views/trade-rwa/components/about.vue b/src/views/trade-rwa/components/about.vue new file mode 100644 index 0000000..ff00467 --- /dev/null +++ b/src/views/trade-rwa/components/about.vue @@ -0,0 +1,23 @@ + + + + + diff --git a/src/views/trade-rwa/components/base.vue b/src/views/trade-rwa/components/base.vue new file mode 100644 index 0000000..d611abf --- /dev/null +++ b/src/views/trade-rwa/components/base.vue @@ -0,0 +1,105 @@ + + + + + diff --git a/src/views/trade-rwa/index.vue b/src/views/trade-rwa/index.vue index cbfc796..b430c97 100644 --- a/src/views/trade-rwa/index.vue +++ b/src/views/trade-rwa/index.vue @@ -1,7 +1,10 @@