调整部分页面
This commit is contained in:
parent
4307d36205
commit
f1dd02bb55
|
|
@ -12,27 +12,27 @@ export default {
|
|||
boardChef: {
|
||||
97: '0x82ab2659c3de15f48cd67f12668dca514b44070f',
|
||||
56: '0x82ab2659c3de15f48cd67f12668dca514b44070f', // NEED CHANGE 节点董事会合约
|
||||
5: '0x82ab2659c3de15f48cd67f12668dca514b44070f',
|
||||
5: '0x767C46567D874a77135A7dE2dfD924aFfBBb5CFb',
|
||||
},
|
||||
boardRewardChef: {
|
||||
97: '0x44a7b703a90b87e54abff5ae0861e917c828d062',
|
||||
56: '0x44a7b703a90b87e54abff5ae0861e917c828d062', // NEED CHANGE 节点董事会分红合约
|
||||
5: '0x44a7b703a90b87e54abff5ae0861e917c828d062',
|
||||
5: '0x20870ba1F41fDB24B6323DAd6c9f93e7488C7786',
|
||||
},
|
||||
holderChef: {
|
||||
97: '0xe3031f378f201dca46361a34e3fd12e50bdd202f',
|
||||
56: '0xe3031f378f201dca46361a34e3fd12e50bdd202f', // NEED CHANGE 持币人
|
||||
5: '0xe3031f378f201dca46361a34e3fd12e50bdd202f',
|
||||
5: '0xeA9f0EAaFbF892dcbC7b2378caE4D9cE4bff01cb',
|
||||
},
|
||||
holderRewardChef: {
|
||||
97: '0x9ee1c805a9508c0799b157ebbe3108d57c8d8588',
|
||||
56: '0x9ee1c805a9508c0799b157ebbe3108d57c8d8588', // NEED CHANGE 持币人分红
|
||||
5: '0x9ee1c805a9508c0799b157ebbe3108d57c8d8588',
|
||||
5: '0xd91740ABe3C54f9e9D8A2c80615618a5dd234556',
|
||||
},
|
||||
referralChef: {
|
||||
97: '0x0866962d208e91ea8804db3f547cccf22fe39ea7',
|
||||
56: '0x0866962d208e91ea8804db3f547cccf22fe39ea7', // NEED CHANGE 邀请或则军团长
|
||||
5: '0x0866962d208e91ea8804db3f547cccf22fe39ea7',
|
||||
5: '0x9C08E33271ea01da9FbC72aE7bDa8FEdAa41ee59',
|
||||
},
|
||||
referralRewardChef: {
|
||||
97: '0x0fb12ffe4b38730b80c26f44fa540eabfd03a30e',
|
||||
|
|
@ -42,7 +42,7 @@ export default {
|
|||
idoPurchase: {
|
||||
97: '0x2f562A9fE0325501A6Aa92cd9e2081B026fC35aa',
|
||||
56: '0x2f562A9fE0325501A6Aa92cd9e2081B026fC35aa', // NEED CHANGE IDO兑换
|
||||
5: '0x2f562A9fE0325501A6Aa92cd9e2081B026fC35aa',
|
||||
5: '0xC7dB5e542f63CB616fF7D25c683f82f96dBfBEe6',
|
||||
},
|
||||
lotteryV2: {
|
||||
97: '0x5790c3534F30437641541a0FA04C992799602998',
|
||||
|
|
|
|||
|
|
@ -58,10 +58,11 @@ const FooterLabel = styled(Text)`
|
|||
font-size: 14px;
|
||||
color: #999999;
|
||||
`
|
||||
const FooterValue = styled(Text)`
|
||||
width: 40%;
|
||||
const FooterValue = styled(Flex)`
|
||||
/* width: 40%; */
|
||||
font-size: 16px;
|
||||
color: #1fc7d4;
|
||||
flex-wrap: wrap;
|
||||
`
|
||||
|
||||
const ContentShop: React.FC<ContentShop> = ({ list, getDetail }) => {
|
||||
|
|
@ -90,11 +91,11 @@ const ContentShop: React.FC<ContentShop> = ({ list, getDetail }) => {
|
|||
<FooterValue>
|
||||
{item.priceList.map((childItem, index) => {
|
||||
return (
|
||||
<Flex alignItems="center" flexWrap="wrap" key={childItem.label}>
|
||||
<Flex alignItems="center" key={childItem.label}>
|
||||
{/* <>{formatTimeNumber(childItem.value)}</> */}
|
||||
<>{Number(childItem.value).toFixed(2)}</>
|
||||
<Text color="text">{childItem.label}</Text>
|
||||
{index === 0 && item.priceList.length === 2 && <Text marginLeft="10px">-</Text>}
|
||||
{index === 0 && item.priceList.length === 2 && <Text margin="0 5px">-</Text>}
|
||||
</Flex>
|
||||
)
|
||||
})}
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@ const MainFlex = styled(Flex)`
|
|||
`
|
||||
const ShopFlex = styled(Flex)`
|
||||
width: 476px;
|
||||
height: 590px;
|
||||
flex-direction: column;
|
||||
background: #fff;
|
||||
box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.15);
|
||||
|
|
@ -60,7 +61,8 @@ const ShopFlex = styled(Flex)`
|
|||
`
|
||||
const Detail = styled.div`
|
||||
width: 614px;
|
||||
min-height: 580px;
|
||||
height: 590px;
|
||||
/* min-height: 580px; */
|
||||
box-sizing: border-box;
|
||||
background: rgba(245, 255, 255, 0.39);
|
||||
box-shadow: 0px 2px 8px rgba(0, 67, 70, 0.15);
|
||||
|
|
@ -73,6 +75,7 @@ const Detail = styled.div`
|
|||
width: 482px;
|
||||
}
|
||||
${({ theme }) => theme.mediaQueries.lg} {
|
||||
margin-top: 0px;
|
||||
margin-left: 30px;
|
||||
width: 614px;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue