...
|
...
|
@@ -5,7 +5,7 @@ import yaSDK from 'yoho-activity-sdk'; |
|
|
import config from '../../../../config';
|
|
|
import wx from 'weixin-js-sdk';
|
|
|
import TipModal from '../components/tip-modal';
|
|
|
import moment from 'moment';
|
|
|
import dayjs from 'dayjs';
|
|
|
|
|
|
|
|
|
export default class Prize extends PureComponent {
|
...
|
...
|
@@ -74,7 +74,7 @@ export default class Prize extends PureComponent { |
|
|
let redEnvelopeLink = 'https://activity.yoho.cn/feature/3221.html?title=我的红包&openby:yohobuy={"action":"go.mineredpackage"}';
|
|
|
|
|
|
this.state.prizes.map(prize => {
|
|
|
prize.createTime = moment(new Date(prize.createTime).getTime()).format('YYYY-MM-DD HH:mm');
|
|
|
prize.createTime = dayjs(new Date(prize.createTime).getTime()).format('YYYY-MM-DD HH:mm');
|
|
|
});
|
|
|
|
|
|
return (
|
...
|
...
|
|