diff --git a/src/components/knockGold/index.less b/src/components/knockGold/index.less index d8c4791c..314092f0 100644 --- a/src/components/knockGold/index.less +++ b/src/components/knockGold/index.less @@ -636,4 +636,10 @@ line-height: 22px; min-height: 200px; } +} + +.r-f { + margin: 5px 0; + font-size: 11px; + color: #a8a8a8; } \ No newline at end of file diff --git a/src/components/knockGold/timeComponent.jsx b/src/components/knockGold/timeComponent.jsx index 2646bfd4..1f959f50 100644 --- a/src/components/knockGold/timeComponent.jsx +++ b/src/components/knockGold/timeComponent.jsx @@ -7,6 +7,27 @@ export default ({ data }) => { }, [data.ruleWeek]) function createElement() { + console.log(data) + if (data.usable_time === "received") { + return ( +
+ 领取后{data.effect_date_type.text},有效期 {data.effect_date} 天 +
++ {data.fixed_time[0]} ~ {data.fixed_time[1]} +
+