1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
| const userInfo = {
| avatarUrl:
| 'https://we-retail-static-1300977798.cos.ap-guangzhou.myqcloud.com/retail-ui/components-exp/avatar/avatar-1.jpg',
| nickName: 'TDesign 🌟',
| phoneNumber: '13438358888',
| gender: 2,
| };
| const countsData = [
| {
| num: 2,
| name: '积分',
| type: 'point',
| },
| {
| num: 10,
| name: '优惠券',
| type: 'coupon',
| },
| ];
|
| const orderTagInfos = [
| {
| orderNum: 1,
| tabType: 5,
| },
| {
| orderNum: 1,
| tabType: 10,
| },
| {
| orderNum: 1,
| tabType: 40,
| },
| {
| orderNum: 0,
| tabType: 0,
| },
| ];
|
| const customerServiceInfo = {
| servicePhone: '4006336868',
| serviceTimeDuration: '每周三至周五 9:00-12:00 13:00-15:00',
| };
|
| export const genSimpleUserInfo = () => ({ ...userInfo });
|
| export const genUsercenter = () => ({
| userInfo,
| countsData,
| orderTagInfos,
| customerServiceInfo,
| });
|
|