Commit bd05ba89 by haojie

1

parent 2fa5b83a
No preview for this file type
......@@ -2441,6 +2441,33 @@ export const SwapList: any = {
needToken: true,
},
],
'GNOSIS CHAIN': [
{
img: '/images/svg/table/swap/GNOSIS CHAIN/swapr.png',
name: 'swapr',
url: 'https://swapr.eth.limo/#/swap?chainId=100&outputCurrency',
needToken: true,
},
{
img: '/images/svg/table/swap/GNOSIS CHAIN/honeyswap.png',
name: 'honeyswap',
url: 'https://app.honeyswap.org/#/swap?outputCurrency=',
needToken: true,
},
{
img: '/images/svg/table/swap/GNOSIS CHAIN/sushiswap.png',
name: 'sushiswap',
url: 'https://app.sushi.com/swap?outputCurrency=',
needToken: true,
},
// baofinance
{
img: '/images/svg/table/swap/GNOSIS CHAIN/baofinance.png',
name: 'baofinance',
url: 'https://www.baoswap.xyz/#/swap?outputCurrency=',
needToken: true,
},
],
};
// 获取对应的swap图标
export const getSwap = (fullName: string, swapName: string) => {
......
......@@ -528,9 +528,11 @@ const getColGroupWidth = () => {
getMinWidth();
// 动态改变吸顶表头的th宽度
colGroupList.list.forEach((it: any) => {
tableTrOne.value.forEach((item: any, index: number) => {
colGroupList.list[index] = item.clientWidth + 'px';
});
if (tableTrOne.value) {
tableTrOne.value.forEach((item: any, index: number) => {
colGroupList.list[index] = item.clientWidth + 'px';
});
}
});
};
// 默认接口
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment