update pay ui

This commit is contained in:
2025-12-11 14:10:59 +08:00
parent 3cc7f2ca6e
commit 429c2a4531
5 changed files with 81 additions and 98 deletions

View File

@@ -307,7 +307,13 @@ export const conceptHandlers = [
const count = Math.min(limit, stockPool.length);
for (let i = 0; i < count; i++) {
const stock = stockPool[i];
const suffix = stock.code.startsWith('6') ? '.SH' : '.SZ';
// 根据股票代码判断交易所后缀
let suffix = '.SZ';
if (stock.code.startsWith('6')) {
suffix = '.SH';
} else if (stock.code.startsWith('8') || stock.code.startsWith('9') || stock.code.startsWith('4')) {
suffix = '.BJ';
}
stocks.push({
stock_code: `${stock.code}${suffix}`,
code: `${stock.code}${suffix}`,