|
|
@ -68,13 +68,22 @@ const ProductInfo = (props: ProductInfoProps) => { |
|
|
|
{data.type === 3 && !visibleTime && <div className='row-center mt-1'> |
|
|
|
<CountDown time={data.start_time * 1000 - Date.now()} className="fz-18 fz-wb-550" style={{ letterSpacing: 2 }} onFinish={() => setVisibleTime(true)} /> |
|
|
|
</div>} |
|
|
|
{data.type !== 0 && <div className='mt-1 row-center'> |
|
|
|
{data.type !== 3 && <i className={`iconfont icon-daohangshoucangyishoucang fz-20 ${isLike(data.id, likeNft) ? 'like-text' : 'sub-text'} mr-4`} onClick={() => setLike(data.id)} />} |
|
|
|
<div className='mt-1 row-center'> |
|
|
|
{data.type !== 3 && <i className={`iconfont icon-daohangshoucangyishoucang fz-20 ${isLike(data.id, likeNft) ? data.symbol + '-text' : 'sub-text'} mr-4`} onClick={() => setLike(data.id)} />} |
|
|
|
<i className='iconfont icon-shangchuandaochu fz-24' onClick={share} /> |
|
|
|
</div>} |
|
|
|
</div> |
|
|
|
<div className='mt-3 fz-30 fz-wb-550'>{data.name}</div> |
|
|
|
|
|
|
|
<div className={`price-tag mt-1 ${data.symbol}-bg`}>{data.symbol} {toThousands(data.price)}</div> |
|
|
|
{ |
|
|
|
<div className='row-items'> |
|
|
|
{ |
|
|
|
data.type === 0 && ( |
|
|
|
<div className='mr-1 fz-14 mt-1'>最近成交價</div> |
|
|
|
) |
|
|
|
} |
|
|
|
<div className={`price-tag ${data.symbol}-bg mt-1`}>{data.symbol} {toThousands(data.price)}</div> |
|
|
|
</div> |
|
|
|
} |
|
|
|
|
|
|
|
<div className='mt-3 row-between'> |
|
|
|
<div onClick={() => toShare('cast')}> |
|
|
@ -107,7 +116,7 @@ const ProductInfo = (props: ProductInfoProps) => { |
|
|
|
showConfirmButton |
|
|
|
backgroundColosed |
|
|
|
> |
|
|
|
<div className='tac mt-2 like-text'> |
|
|
|
<div className={`tac mt-2 ${data.symbol}-text`}> |
|
|
|
已複製鏈接 |
|
|
|
</div> |
|
|
|
</Modal> |
|
|
|