Commit a162734bc2bd0cde5524c72ad1dcb0fd0408851a

Authored by 莫红玲
1 parent 81485f95

优惠券变更按钮展示优化

src/pages/mkt/ActivityCreate/ExternalPromotion/components/ActivityFlow/Coupons.tsx
... ... @@ -402,8 +402,8 @@ export default function Coupons({
402 402 });
403 403 }}
404 404 >
405   - <Button icon={<SwapOutlined />} style={{ margin: 0 }} type="link" danger>
406   - 变更
  405 + <Button icon={<SwapOutlined />} style={{ margin: 0, fontSize: 12 }} type="link" danger>
  406 + 替换后续发放优惠券
407 407 </Button>
408 408 </Popconfirm>
409 409 )}
... ...
src/pages/mkt/ActivityCreate/ExternalPromotion/components/ActivityFlow/SignupGifts.tsx
... ... @@ -161,7 +161,7 @@ function SignupGifts({ value, onChange, disabled }: Props) {
161 161 <Button type="link" onClick={() => setCoupon({ ...coupon, visible: true, confNo: record.couponCode })}>{changeEnable ? "编辑" : "查看"}</Button>
162 162 {record.giftItemId && (
163 163 <Popconfirm title="是否确定替换该优惠券,已发放优惠券不受影响,将在审批通过后生效" onConfirm={() => setCoupon({ ...coupon, visible: true, giftItemId: record.giftItemId })}>
164   - {!!changeEnable && <Button type="link" style={{ margin: 0 }} danger>变更</Button>}
  164 + {!!changeEnable && <Button type="link" style={{ margin: 0, fontSize: 12 }} danger>替换后续发放优惠券</Button>}
165 165 </Popconfirm>
166 166 )}
167 167 </>
... ...