[add] 機台列表可滑動
This commit is contained in:
parent
e845daa7a8
commit
0d8a5acabc
@ -39,7 +39,10 @@ const SlotList = () => {
|
||||
...gameData,
|
||||
nowSlotId: slotId
|
||||
});
|
||||
if (componyID === BusinessEnum.ComponyType[BusinessEnum.ServerType[BusinessTypeSetting.UseServerType]]) {
|
||||
const UseServerType = BusinessTypeSetting.UseServerType;
|
||||
const ServerType = BusinessEnum.ServerType[UseServerType];
|
||||
const SDType = BusinessEnum.ComponyType[ServerType];
|
||||
if (componyID === SDType) {
|
||||
setGameUrl(url);
|
||||
}
|
||||
else {
|
||||
@ -67,7 +70,7 @@ const SlotList = () => {
|
||||
</Flex>}</>
|
||||
|
||||
: <div style={contentStyle}>
|
||||
<Flex gap="small" wrap="wrap">
|
||||
<Flex gap="small" wrap="wrap" style={{ overflowY: "scroll" }}>
|
||||
{slotList.map((slotId: number, index: number) =>
|
||||
<Image key={index} width={80} height={80} src={`${BusinessTypeSetting.UseDownloadUrl}game/${slotId}/s`}
|
||||
onClick={() => { CoroutineV2.Single(onClickSlotIn(slotId)).Start(); }} style={{ cursor: "pointer" }} />
|
||||
|
Loading…
Reference in New Issue
Block a user