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
shenshaokai
jinfa-platform
Commits
fd2240a4
Commit
fd2240a4
authored
Jul 02, 2021
by
卢均锐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 营销活动-新增活动-goodsItem
parent
8121f701
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
74 additions
and
1 deletion
+74
-1
index.tsx
...FormGoods/modal/giveCouponDrawer/couponCollapse/index.tsx
+3
-1
index.less
...nsaction/marketingAbility/components/goodsItem/index.less
+43
-0
index.tsx
...ansaction/marketingAbility/components/goodsItem/index.tsx
+28
-0
No files found.
src/pages/transaction/marketingAbility/components/addFormGoods/modal/giveCouponDrawer/couponCollapse/index.tsx
View file @
fd2240a4
...
...
@@ -3,6 +3,7 @@ import { Button, Select, Input, Drawer, Row, Col, Space, Form } from 'antd';
import
{
CaretDownOutlined
,
CaretRightOutlined
,
PlusOutlined
,
DeleteOutlined
}
from
'@ant-design/icons'
;
import
CouponItem
from
'../../../../couponItem'
;
import
GoodsItem
from
'../../../../goodsItem'
;
import
styles
from
'./index.less'
;
...
...
@@ -55,7 +56,8 @@ const CouponCollapse: React.FC<CouponCollapseProps> = (props: any) => {
<
div
className=
{
styles
.
CouponCollapse_context_coupon
}
>
<
span
className=
{
styles
.
CouponCollapse_context_coupon_span
}
>
赠送优惠券:
</
span
>
<
div
style=
{
{
flex
:
1
}
}
>
<
CouponItem
/>
{
/* <CouponItem /> */
}
<
GoodsItem
/>
</
div
>
</
div
>
<
Form
.
Item
...
...
src/pages/transaction/marketingAbility/components/goodsItem/index.less
0 → 100644
View file @
fd2240a4
.goodsItem {
border: 1px solid #F7F8FA;
padding: 8px;
position: relative;
&:hover{
border-color: #00B37A;
}
.goodsItem_img{
height: 80px;
width: 80px;
background-position: center;
background-size: contain;
background-repeat: no-repeat;
}
.goodsItem_title{
font-size: 12px;
color: #252D37;
}
.goodsItem_price{
color: #91959B;
font-size: 12px;
span{
font-size: 14px;
color: #D32F2F;
}
}
.goodsItem_info{
font-size: 12px;
color: #91959B;
}
.goodsItem_edit{
position: absolute;
right: 0;
top: 0;
background-color: rgba(0,0,0,0.40);
width: 24px;
height: 24px;
line-height: 28px;
font-size: 16px;
text-align: center;
color: #fff;
}
}
src/pages/transaction/marketingAbility/components/goodsItem/index.tsx
0 → 100644
View file @
fd2240a4
import
React
from
'react'
;
import
{
Row
,
Col
,
Space
}
from
'antd'
;
import
{
FormOutlined
}
from
'@ant-design/icons'
;
import
styles
from
'./index.less'
;
const
GoodsItem
=
()
=>
{
return
(
<
div
className=
{
styles
.
goodsItem
}
>
<
Row
gutter=
{
8
}
wrap=
{
false
}
>
<
Col
>
<
div
className=
{
styles
.
goodsItem_img
}
></
div
>
</
Col
>
<
Col
flex=
'auto'
>
<
div
className=
{
styles
.
goodsItem_title
}
>
0.8-1.0mm黑色手折纹胎水牛皮【厂价供应】
</
div
>
<
div
className=
{
styles
.
goodsItem_price
}
>
<
span
>
¥ 179.00
</
span
>
/尺
</
div
>
<
div
className=
{
styles
.
goodsItem_info
}
>
品类:成品皮--
>
牛皮--
>
黄牛皮
</
div
>
<
div
className=
{
styles
.
goodsItem_info
}
>
品牌:PELLE 颜色:红色 规格:XXL
</
div
>
</
Col
>
</
Row
>
<
FormOutlined
className=
{
styles
.
goodsItem_edit
}
/>
</
div
>
);
}
export
default
GoodsItem
;
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