Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈智峰
jinfa-platform
Commits
d0c65621
Commit
d0c65621
authored
Jan 11, 2022
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 添加适用商城溢出效果
parent
0b925212
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
index.less
...ges/systemSetting/coupon/components/CouponCard/index.less
+4
-0
index.tsx
...ages/systemSetting/coupon/components/CouponCard/index.tsx
+6
-4
No files found.
src/pages/systemSetting/coupon/components/CouponCard/index.less
View file @
d0c65621
...
...
@@ -57,6 +57,10 @@
font-size: @font-size-sm * 2;
color: @error-color;
}
&-webs {
.textOverflow();
}
&-actions {
margin-top: @margin-xss;
...
...
src/pages/systemSetting/coupon/components/CouponCard/index.tsx
View file @
d0c65621
...
...
@@ -140,10 +140,12 @@ const CouponCard: React.FC<CouponCardProps> = (props: CouponCardProps) => {
券码:
{
data
.
code
}
</
div
>
<
div
className=
{
styles
[
'coupon-card-webs'
]
}
>
适用商城:
{
data
.
shopList
.
map
((
item
)
=>
item
.
shopName
).
join
(
'、'
)
}
</
div
>
<
Tooltip
title=
{
data
.
shopList
.
map
((
item
)
=>
item
.
shopName
).
join
(
'、'
)
}
>
<
div
className=
{
styles
[
'coupon-card-webs'
]
}
>
适用商城:
{
data
.
shopList
.
map
((
item
)
=>
item
.
shopName
).
join
(
'、'
)
}
</
div
>
</
Tooltip
>
</
div
>
<
div
className=
{
styles
[
'coupon-card-right'
]
}
>
<
div
className=
{
styles
[
'coupon-card-yuanWrap'
]
}
>
...
...
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