Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Neos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
love_飞影
Neos
Commits
86a8fa0f
Commit
86a8fa0f
authored
Mar 11, 2023
by
Chunchi Che
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix small
parent
65d8dde5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
10 deletions
+18
-10
src/ui/Duel/cardModal.tsx
src/ui/Duel/cardModal.tsx
+18
-10
No files found.
src/ui/Duel/cardModal.tsx
View file @
86a8fa0f
...
@@ -26,8 +26,8 @@ const CardModal = () => {
...
@@ -26,8 +26,8 @@ const CardModal = () => {
const
meta
=
useAppSelector
(
selectCardModalMeta
);
const
meta
=
useAppSelector
(
selectCardModalMeta
);
const
name
=
meta
?.
text
.
name
;
const
name
=
meta
?.
text
.
name
;
const
desc
=
meta
?.
text
.
desc
;
const
desc
=
meta
?.
text
.
desc
;
const
atk
=
meta
?.
data
.
atk
||
0
;
const
atk
=
meta
?.
data
.
atk
;
const
def
=
meta
?.
data
.
def
||
0
;
const
def
=
meta
?.
data
.
def
;
const
imgUrl
=
meta
?.
id
const
imgUrl
=
meta
?.
id
?
`
${
NeosConfig
.
cardImgUrl
}
/
${
meta
.
id
}
.jpg`
?
`
${
NeosConfig
.
cardImgUrl
}
/
${
meta
.
id
}
.jpg`
:
undefined
;
:
undefined
;
...
@@ -48,17 +48,25 @@ const CardModal = () => {
...
@@ -48,17 +48,25 @@ const CardModal = () => {
<
p
>
{
desc
}
</
p
>
<
p
>
{
desc
}
</
p
>
<
p
>
<
p
>
<
Row
gutter=
{
8
}
>
<
Row
gutter=
{
8
}
>
{
atk
?
(
<
Col
>
<
Col
>
<
Icon
component=
{
BattleSvg
}
/>
<
Icon
component=
{
BattleSvg
}
/>
<
a
>
{
atk
}
</
a
>
<
a
>
{
atk
}
</
a
>
</
Col
>
</
Col
>
)
:
(
<></>
)
}
<
Col
>
<
Col
>
<
div
>
/
</
div
>
<
div
>
/
</
div
>
</
Col
>
</
Col
>
{
def
?
(
<
Col
>
<
Col
>
<
Icon
component=
{
DefenceSvg
}
/>
<
Icon
component=
{
DefenceSvg
}
/>
<
a
>
{
def
}
</
a
>
<
a
>
{
def
}
</
a
>
</
Col
>
</
Col
>
)
:
(
<></>
)
}
</
Row
>
</
Row
>
</
p
>
</
p
>
</
Card
>
</
Card
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment