|
@@ -2,32 +2,66 @@ import React, { useState, useEffect } from 'react';
|
2
|
2
|
import { Row, Col } from 'antd';
|
3
|
3
|
import router from 'umi/router';
|
4
|
4
|
import Styles from './style.less';
|
|
5
|
+import bargain from '../../assets/market/bargain.png'
|
|
6
|
+import card from '../../assets/market/card.png'
|
|
7
|
+import collage from '../../assets/market/collage.png'
|
|
8
|
+import draw from '../../assets/market/draw.png'
|
|
9
|
+import guess from '../../assets/market/guess.png'
|
|
10
|
+import lottery from '../../assets/market/lottery.png'
|
|
11
|
+import seckill from '../../assets/market/seckill.png'
|
|
12
|
+import shake from '../../assets/market/shake.png'
|
|
13
|
+import test from '../../assets/market/test.png'
|
5
|
14
|
|
6
|
15
|
|
7
|
16
|
const Market = props => {
|
8
|
17
|
|
9
|
18
|
const list = [
|
10
|
19
|
{
|
11
|
|
- img: 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1591876471373&di=ceb7710067a87ee0fb182c4e7e753c04&imgtype=0&src=http%3A%2F%2Fa3.att.hudong.com%2F14%2F75%2F01300000164186121366756803686.jpg',
|
|
20
|
+ img: draw,
|
12
|
21
|
title: '幸运大抽奖',
|
13
|
22
|
desc: '常见的转盘式抽奖方法',
|
14
|
23
|
url: '/marketingTools/lottery/index'
|
15
|
24
|
},
|
16
|
25
|
{
|
17
|
|
- img: 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1591876471373&di=ceb7710067a87ee0fb182c4e7e753c04&imgtype=0&src=http%3A%2F%2Fa3.att.hudong.com%2F14%2F75%2F01300000164186121366756803686.jpg',
|
|
26
|
+ img: seckill,
|
18
|
27
|
title: '秒杀',
|
19
|
28
|
desc: '快速抢购引导顾客更多消费'
|
20
|
29
|
},
|
21
|
30
|
{
|
22
|
|
- img: 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1591876471373&di=ceb7710067a87ee0fb182c4e7e753c04&imgtype=0&src=http%3A%2F%2Fa3.att.hudong.com%2F14%2F75%2F01300000164186121366756803686.jpg',
|
|
31
|
+ img: card,
|
23
|
32
|
title: '刮刮卡',
|
24
|
33
|
desc: '通过刮开卡片的方式进行抽奖的玩法'
|
25
|
34
|
},
|
26
|
35
|
{
|
27
|
|
- img: 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1591876471373&di=ceb7710067a87ee0fb182c4e7e753c04&imgtype=0&src=http%3A%2F%2Fa3.att.hudong.com%2F14%2F75%2F01300000164186121366756803686.jpg',
|
|
36
|
+ img: test,
|
28
|
37
|
title: '趣味测试',
|
29
|
38
|
desc: '趣味小测试,互动吸粉'
|
30
|
39
|
},
|
|
40
|
+ {
|
|
41
|
+ img: shake,
|
|
42
|
+ title: '摇一摇',
|
|
43
|
+ desc: '让客户摇一摇进行抽奖'
|
|
44
|
+ },
|
|
45
|
+ {
|
|
46
|
+ img: lottery,
|
|
47
|
+ title: '0元抽奖',
|
|
48
|
+ desc: '拼团成功即可获得抽奖机会'
|
|
49
|
+ },
|
|
50
|
+ {
|
|
51
|
+ img: guess,
|
|
52
|
+ title: '疯狂猜猜猜',
|
|
53
|
+ desc: '回答问题,按答题情况给奖励'
|
|
54
|
+ },
|
|
55
|
+ {
|
|
56
|
+ img: collage,
|
|
57
|
+ title: '多人拼团',
|
|
58
|
+ desc: '引导用户邀请好友参加'
|
|
59
|
+ },
|
|
60
|
+ {
|
|
61
|
+ img: bargain,
|
|
62
|
+ title: '砍价0元购',
|
|
63
|
+ desc: '邀请好友砍价后购买'
|
|
64
|
+ },
|
31
|
65
|
]
|
32
|
66
|
|
33
|
67
|
const handleItem = (url) => {
|