diff --git a/src/components/redPackets/index.less b/src/components/redPackets/index.less index 3d9d9506..9ba93a33 100644 --- a/src/components/redPackets/index.less +++ b/src/components/redPackets/index.less @@ -87,6 +87,10 @@ } + .TextBlock { + margin-top: 20px; + } + .notice { width: 170px; margin-bottom: 2px; diff --git a/src/components/redPackets/mobileComponent.jsx b/src/components/redPackets/mobileComponent.jsx index 2219c7cb..0f195e61 100644 --- a/src/components/redPackets/mobileComponent.jsx +++ b/src/components/redPackets/mobileComponent.jsx @@ -1,5 +1,10 @@ import './index.less'; +import { Placeholder } from 'zent'; import moment from 'moment/moment'; +const widths = [ + 24, 100, 100, 100, 80, 100, 100, 100, 80, 100, 100, 100, 80, 100, 100, 100, + 100 +]; export default ({ data }) => { return (
@@ -34,11 +39,21 @@ export default ({ data }) => { alt='' />

-

- 1、在支付宝APP内打开销接,点击 [一键领取]完成领取支付宝立减金; -
- 2、支付宝里立减金一日领取不可撤销、不可转让,注意不要将换券泄露给他人。 -

+ {data.instruction ? ( +

+ 1、在支付宝APP内打开销接,点击 [一键领取]完成领取支付宝立减金; +
+ 2、支付宝里立减金一日领取不可撤销、不可转让,注意不要将换券泄露给他人。 +

+ ) : ( + + )}

@@ -48,11 +63,21 @@ export default ({ data }) => { alt='' />

-

+ {data.instruction ? ( +

+ ) : ( + + )}