Explorar el Código

Merge branch 'dev' of http://git.ycjcjy.com/zhiyuxing/miniapp-v3 into dev

zhoulisen hace 5 años
padre
commit
e437a73d0c

+ 3
- 3
config/dev.js Ver fichero

@@ -15,11 +15,11 @@ module.exports = {
15 15
     // WSS_HOST: '"wss://wx.fangdeal.cn"',
16 16
     // HOST: '"https://lt.pawoma.cn"',
17 17
     // WSS_HOST: '"wss://lt.pawoma.cn"',
18
-    // HOST: '"http://192.168.2.52:8080"',
19
-    // WSS_HOST: '"ws://192.168.2.52:8080"',
18
+    // HOST: '"http://192.168.2.42:8080"',
19
+    // WSS_HOST: '"ws://192.168.2.42:8080"',
20 20
     OSS_PATH: 'https://njcj.oss-cn-shanghai.aliyuncs.com/',
21 21
     OSS_FAST_PATH: 'https://njcj.oss-accelerate.aliyuncs.com/',
22
-    Version: 'V3.5.19'
22
+    Version: 'V3.5.22'
23 23
   },
24 24
   weapp: {},
25 25
   h5: {}

+ 2
- 1
config/index.js Ver fichero

@@ -1,5 +1,6 @@
1 1
 
2 2
 const path = require('path')
3
+
3 4
 const sassImportor = function (url) {
4 5
   const reg = /^@\/styles\/(.*)/
5 6
   return {
@@ -27,7 +28,7 @@ const config = {
27 28
         }]
28 29
       ],
29 30
       plugins: [
30
-        'transform-decorators-legacy',
31
+        ['preval', ['transform-decorators-legacy']],
31 32
         'transform-class-properties',
32 33
         'transform-object-rest-spread'
33 34
       ]

+ 5
- 5
config/prod.js Ver fichero

@@ -7,15 +7,15 @@ module.exports = {
7 7
     // WSS_HOST: '"ws://192.168.2.52:8080"',
8 8
     // HOST: '"https://dev.pawoma.cn"',// 新测试
9 9
     // WSS_HOST: '"wss://dev.pawoma.cn"',
10
-    // HOST: '"https://dev.fangdeal.cn"',//测试
11
-    // WSS_HOST: '"wss://dev.fangdeal.cn"',
12
-    HOST: '"https://wx.fangdeal.cn"',//正式
13
-    WSS_HOST: '"wss://wx.fangdeal.cn"',
10
+    HOST: '"https://dev.fangdeal.cn"',//测试
11
+    WSS_HOST: '"wss://dev.fangdeal.cn"',
12
+    // HOST: '"https://wx.fangdeal.cn"',//正式
13
+    // WSS_HOST: '"wss://wx.fangdeal.cn"',
14 14
     // HOST: '"https://lt.pawoma.cn"',
15 15
     // WSS_HOST: '"wss://lt.pawoma.cn"',
16 16
     OSS_PATH: 'https://njcj.oss-cn-shanghai.aliyuncs.com/',
17 17
     OSS_FAST_PATH: 'https://njcj.oss-accelerate.aliyuncs.com/',
18
-    Version: 'V3.5.19'
18
+    Version: 'V3.5.22'
19 19
   },
20 20
   weapp: {},
21 21
   h5: {}

+ 567
- 0
config/routes.js Ver fichero

@@ -0,0 +1,567 @@
1
+
2
+const routes = [
3
+
4
+  /**********************************
5
+   *  Tab 页面
6
+   *********************************/
7
+
8
+  {
9
+    name: '首页',
10
+    page: 'pages/project/index',
11
+    pgk: 'main',
12
+    isTab: true,
13
+    type: '',
14
+  },
15
+  {
16
+    name: '积分商城',
17
+    page: 'pages/shop/index',
18
+    pgk: 'main',
19
+    isTab: true,
20
+    type: '',
21
+  },
22
+  {
23
+    name: '活动资讯',
24
+    page: 'pages/activity/activity',
25
+    pgk: 'main',
26
+    isTab: true,
27
+    type: '',
28
+  },
29
+  {
30
+    name: '个人中心',
31
+    page: 'pages/person/index',
32
+    pgk: 'main',
33
+    isTab: true,
34
+    type: '',
35
+  },
36
+
37
+  /********************************
38
+   * 项目相关
39
+   *******************************/
40
+  {
41
+    name: '项目列表',
42
+    page: 'pages/project/list/index',
43
+    pgk: 'main',
44
+    type: '',
45
+  },
46
+  {
47
+    name: '地图看房',
48
+    page: 'pages/project/map/index',
49
+    pgk: 'main',
50
+    type: '',
51
+  },
52
+  {
53
+    name: '项目详情',
54
+    page: 'pages/project/detail/index',
55
+    pgk: 'main',
56
+    type: '',
57
+  },
58
+  {
59
+    name: '项目亮点',
60
+    page: 'pages/project/detail/highLight',
61
+    pgk: 'main',
62
+    type: '',
63
+  },
64
+  {
65
+    name: '楼盘周边',
66
+    page: 'pages/project/detail/map',
67
+    pgk: 'main',
68
+    type: '',
69
+  },
70
+  {
71
+    name: '楼盘信息',
72
+    page: 'pages/project/floor/index',
73
+    pgk: 'main',
74
+    type: '',
75
+  },
76
+  {
77
+    name: '项目相册',
78
+    page: 'pages/project/album/index',
79
+    pgk: 'main',
80
+    type: '',
81
+  },
82
+
83
+
84
+  /**************************************
85
+   * 商城相关
86
+   *************************************/
87
+  {
88
+    name: '积分规则',
89
+    page: 'pages/shop/rule/index',
90
+    pgk: 'main',
91
+    type: '',
92
+  },
93
+  {
94
+    name: '积分明细',
95
+    page: 'pages/shop/integralDetail/index',
96
+    pgk: 'main',
97
+    type: '',
98
+  },
99
+  {
100
+    name: '商品详情',
101
+    page: 'pages/shop/detail/index',
102
+    pgk: 'main',
103
+    type: '',
104
+  },
105
+
106
+
107
+  /************************************
108
+   * 个人中心
109
+   ***********************************/
110
+  {
111
+    name: '登录',
112
+    page: 'pages/person/login/index',
113
+    pgk: 'main',
114
+    type: '',
115
+  },
116
+  {
117
+    name: '我的分享',
118
+    page: 'pages/person/myShare/index',
119
+    pgk: 'main',
120
+    type: '',
121
+  },
122
+  {
123
+    name: '我的活动',
124
+    page: 'pages/activity/myActivity',
125
+    pgk: 'main',
126
+    type: '',
127
+  },
128
+  {
129
+    name: '我的拼团',
130
+    page: 'pages/activity/assemblePage',
131
+    pgk: 'main',
132
+    type: '',
133
+  },
134
+  {
135
+    name: '我的助力',
136
+    page: 'pages/activity/assistancePage',
137
+    pgk: 'main',
138
+    type: '',
139
+  },
140
+  {
141
+    name: '我的推广码',
142
+    page: 'pages/person/spread/index',
143
+    pgk: 'main',
144
+    type: '',
145
+  },
146
+  {
147
+    name: '我的卡片',
148
+    page: 'pages/card/index',
149
+    pgk: 'main',
150
+    type: '',
151
+  },
152
+  {
153
+    name: '我的客户',
154
+    page: 'pages/person/myGuest/index',
155
+    pgk: 'main',
156
+    type: '',
157
+  },
158
+  {
159
+    name: '我的收藏',
160
+    page: 'pages/person/favorite/index',
161
+    pgk: 'main',
162
+    type: '',
163
+  },
164
+  {
165
+    name: '个人资料',
166
+    page: 'pages/person/personDetail/index',
167
+    pgk: 'main',
168
+    type: '',
169
+  },
170
+  {
171
+    name: '编辑资料',
172
+    page: 'pages/person/personDetail/editDetail/index',
173
+    pgk: 'main',
174
+    type: '',
175
+  },
176
+  {
177
+    name: '每日签到',
178
+    page: 'pages/signin/index',
179
+    pgk: 'main',
180
+    type: '',
181
+  },
182
+
183
+
184
+  /****************************************
185
+   * 置业相关
186
+   ***************************************/
187
+  {
188
+    name: '置业列表',
189
+    page: 'pages/card/list/index',
190
+    pgk: 'main',
191
+    type: '',
192
+  },
193
+  {
194
+    name: '置业绑定',
195
+    page: 'pages/card/register/index',
196
+    pgk: 'main',
197
+    type: '',
198
+  },
199
+  {
200
+    name: '咨询列表',
201
+    page: 'pages/im/list/index',
202
+    pgk: 'main',
203
+    type: '',
204
+  },
205
+  {
206
+    name: '聊天咨询',
207
+    page: 'pages/im/index',
208
+    pgk: 'main',
209
+    type: '',
210
+  },
211
+  {
212
+    name: '卡片围观记录',
213
+    page: 'pages/card/fans/index',
214
+    pgk: 'main',
215
+    type: '',    
216
+  },
217
+
218
+  /***********************************
219
+   * 客户相关
220
+   **********************************/
221
+  {
222
+    name: '访客信息',
223
+    page: 'pages/person/myShare/accessRecord',
224
+    pgk: 'main',
225
+    type: '',
226
+  },
227
+  {
228
+    name: '客户详情',
229
+    page: 'pages/person/myGuest/editGuest/index',
230
+    pgk: 'main',
231
+    type: '',
232
+  },
233
+  {
234
+    name: '报备客户',
235
+    page: 'pages/report/index',
236
+    pgk: 'main',
237
+    type: '',
238
+  },
239
+  {
240
+    name: '报备授权',
241
+    page: 'pages/report/login/index',
242
+    pgk: 'main',
243
+    type: '',
244
+  },
245
+  {
246
+    name: '报备详情',
247
+    page: 'pages/report/detail/index',
248
+    pgk: 'main',
249
+    type: '',
250
+  },
251
+
252
+
253
+  /************************************
254
+   * 活动资讯
255
+   ***********************************/
256
+  {
257
+    name: 'H5',
258
+    page: 'pages/project/h5Page',
259
+    pgk: 'main',
260
+    type: '',
261
+  },
262
+  {
263
+    name: '活动详情',
264
+    page: 'pages/activity/detail/index',
265
+    pgk: 'main',
266
+    type: '',
267
+  },
268
+  {
269
+    name: '助力详情',
270
+    page: 'pages/activity/detail/assistance',
271
+    pgk: 'main',
272
+    type: '',
273
+  },
274
+  {
275
+    name: '拼团详情',
276
+    page: 'pages/activity/detail/assemble',
277
+    pgk: 'main',
278
+    type: '',
279
+  },
280
+  {
281
+    name: '资讯详情',
282
+    page: 'pages/news/detail/index',
283
+    pgk: 'main',
284
+    type: '',
285
+  },
286
+  {
287
+    name: '签到',
288
+    page: 'pages/checkin/index',
289
+    pgk: 'main',
290
+    type: '',
291
+  },
292
+  {
293
+    name: '签到结果',
294
+    page: 'pages/checkin/checkinsuccess/index',
295
+    pgk: 'main',
296
+    type: '',
297
+  },
298
+
299
+  /*****************************************
300
+   * 其他
301
+   ****************************************/
302
+  {
303
+    name: '授权',
304
+    page: 'pages/person/authorize/index',
305
+    pgk: 'main',
306
+    type: '',
307
+  },
308
+  {
309
+    name: '授权',
310
+    page: 'pages/auth/index',
311
+    pgk: 'main',
312
+    type: '',
313
+  },
314
+  {
315
+    name: '购房政策列表',
316
+    page: 'pages/policy/index',
317
+    pgk: 'main',
318
+    type: '',
319
+  },
320
+  {
321
+    name: '购房政策详情',
322
+    page: 'pages/policy/detail/index',
323
+    pgk: 'main',
324
+    type: '',
325
+  },
326
+  {
327
+    name: '房贷计算器',
328
+    page: 'pages/toolKit/index',
329
+    pgk: 'main',
330
+    type: '',
331
+  },
332
+  {
333
+    name: '房贷计算结果',
334
+    page: 'pages/toolKit/calculateResult/index',
335
+    pgk: 'main',
336
+    type: '',
337
+  },
338
+  {
339
+    name: '城市列表',
340
+    page: 'pages/city/index',
341
+    pgk: 'main',
342
+    type: '',
343
+  },
344
+  {
345
+    name: '外链容器页',
346
+    page: 'pages/project/panorama/index',
347
+    pgk: 'main',
348
+    type: '',
349
+  },
350
+
351
+  /**
352
+   * 子包: 在线购房
353
+   */
354
+  {
355
+    name: '房源列表',
356
+    page: 'pages/houseList/index',
357
+    pgk: 'onlineSelling',
358
+    type: '',
359
+  },
360
+  {
361
+    name: '认筹流程',
362
+    page: 'pages/raiseMoney/index',
363
+    pgk: 'onlineSelling',
364
+    type: '',
365
+  },
366
+  {
367
+    name: '合同签署结果',
368
+    page: 'pages/raiseMoney/signResult',
369
+    pgk: 'onlineSelling',
370
+    type: '',
371
+  },
372
+  {
373
+    name: '实名认证',
374
+    page: 'pages/raiseMoney/Certification',
375
+    pgk: 'onlineSelling',
376
+    type: '',
377
+  },
378
+  {
379
+    name: '直播详情',
380
+    page: 'pages/live/index',
381
+    pgk: 'onlineSelling',
382
+    type: '',
383
+  },
384
+  {
385
+    name: '选房帮助',
386
+    page: 'pages/help/index',
387
+    pgk: 'onlineSelling',
388
+    type: '',
389
+  },
390
+  {
391
+    name: '选房记录',
392
+    page: 'pages/records/index',
393
+    pgk: 'onlineSelling',
394
+    type: '',
395
+  },
396
+  {
397
+    name: '房源详情',
398
+    page: 'pages/detail/index',
399
+    pgk: 'onlineSelling',
400
+    type: '',
401
+  },
402
+  {
403
+    name: '预选结果',
404
+    page: 'pages/detail/resultPage',
405
+    pgk: 'onlineSelling',
406
+    type: '',
407
+  },
408
+  {
409
+    name: '筛选房源',
410
+    page: 'pages/screenHouse/index',
411
+    pgk: 'onlineSelling',
412
+    type: '',
413
+  },
414
+  {
415
+    name: '选择置业',
416
+    page: 'pages/chooseConsultant/index',
417
+    pgk: 'onlineSelling',
418
+    type: '',
419
+  },
420
+  {
421
+    name: '认筹协议',
422
+    page: 'pages/protocol/index',
423
+    pgk: 'onlineSelling',
424
+    type: '',
425
+  },
426
+  {
427
+    name: '认筹单',
428
+    page: 'pages/raiseProfile/index',
429
+    pgk: 'onlineSelling',
430
+    type: '',
431
+  },
432
+  {
433
+    name: '房源清单',
434
+    page: 'pages/raiseProfile/houseResource',
435
+    pgk: 'onlineSelling',
436
+    type: '',
437
+  },
438
+  {
439
+    name: '添加预选房源',
440
+    page: 'pages/addHouse/index',
441
+    pgk: 'onlineSelling',
442
+    type: '',
443
+  },
444
+  {
445
+    name: '添加其他房源',
446
+    page: 'pages/houseCart/index',
447
+    pgk: 'onlineSelling',
448
+    type: '',
449
+  },
450
+
451
+
452
+  /**
453
+   * 子包: 不常用功能
454
+   */
455
+  {
456
+    name: '盘客工具',
457
+    page: 'pages/person/customerAnalysis/index',
458
+    pgk: 'useless',
459
+    type: '',
460
+  },
461
+  {
462
+    name: '我的客户',   // 置业-我的客户
463
+    page: 'pages/person/customerAnalysis/myCustomer',
464
+    pgk: 'useless',
465
+    type: '',
466
+  },
467
+  {
468
+    name: '客户分析',
469
+    page: 'pages/person/customerAnalysis/analysis',
470
+    pgk: 'useless',
471
+    type: '',
472
+  },
473
+  {
474
+    name: '我的资料',
475
+    page: 'pages/person/profile/index',
476
+    pgk: 'useless',
477
+    type: '',
478
+  },
479
+  {
480
+    name: '资料审核',
481
+    page: 'pages/person/profile/detail/index',
482
+    pgk: 'useless',
483
+    type: '',
484
+  },
485
+  {
486
+    name: '我的主页',
487
+    page: 'pages/agent/index',
488
+    pgk: 'useless',
489
+    type: '',
490
+  },
491
+  {
492
+    name: '成为经纪人',
493
+    page: 'pages/agent/become/index',
494
+    pgk: 'useless',
495
+    type: '',
496
+  },
497
+  {
498
+    name: '推荐客户',
499
+    page: 'pages/agent/recommend/index',
500
+    pgk: 'useless',
501
+    type: '',
502
+  },
503
+  {
504
+    name: '我的客户',   // 经纪人-我的客户
505
+    page: 'pages/agent/client/index',
506
+    pgk: 'useless',
507
+    type: '',
508
+  },
509
+  {
510
+    name: '客户审核进度',
511
+    page: 'pages/agent/progress/index',
512
+    pgk: 'useless',
513
+    type: '',
514
+  },
515
+  {
516
+    name: '意见反馈',
517
+    page: 'pages/person/feedback/index',
518
+    pgk: 'useless',
519
+    type: '',
520
+  },
521
+  {
522
+    name: '积分兑换记录',
523
+    page: 'pages/shop/record/index',
524
+    pgk: 'useless',
525
+    type: '',
526
+  },
527
+  // {
528
+  //   name: '我的邀请',
529
+  //   page: 'pages/agent/invitation/index',
530
+  //   pgk: 'useless',
531
+  //   type: '',
532
+  // },
533
+
534
+]
535
+
536
+
537
+/**
538
+ * 获取 app pages 列表
539
+ */
540
+function getPages() {
541
+  const grp = routes.reduce((g, r) => {
542
+    const { pgk, page } = r
543
+    const pg = g[pgk] || []
544
+    
545
+    return {
546
+      ...g,
547
+      [`${pgk}`]: pg.concat(page),
548
+    }
549
+  }, {});
550
+
551
+  const { main, ...pkgs } = grp
552
+
553
+  return {
554
+    pages: main,
555
+    subPackages: Object.keys(pkgs).map((name) => {
556
+      return {
557
+        root: name,
558
+        pages: pkgs[name]
559
+      }
560
+    })
561
+  }
562
+}
563
+
564
+export {
565
+  routes,
566
+  getPages,
567
+}

+ 1
- 1
ext.json Ver fichero

@@ -1,5 +1,5 @@
1 1
 {
2 2
   "extEnable": true,
3
-  "extAppid": "wxda1f84b79b3edeb3",
3
+  "extAppid": "wxd9ee3a9480a4e544",
4 4
   "ext": {}
5 5
 }

+ 1
- 0
package.json Ver fichero

@@ -36,6 +36,7 @@
36 36
     "@types/react": "^16.4.6",
37 37
     "@types/webpack-env": "^1.13.6",
38 38
     "babel-eslint": "^8.2.3",
39
+    "babel-plugin-preval": "^5.0.0",
39 40
     "babel-plugin-transform-class-properties": "^6.24.1",
40 41
     "babel-plugin-transform-decorators-legacy": "^1.3.4",
41 42
     "babel-plugin-transform-jsx-stylesheet": "^0.6.5",

+ 1
- 1
project.config.json Ver fichero

@@ -2,7 +2,7 @@
2 2
 	"miniprogramRoot": "dist/",
3 3
 	"projectname": "mini-chengjiao",
4 4
 	"description": "知与行互动",
5
-	"appid": "wxd9ee3a9480a4e544",
5
+	"appid": "wxbbb069a341055ef0",
6 6
 	"setting": {
7 7
 		"urlCheck": false,
8 8
 		"es6": false,

+ 12
- 97
src/app.js Ver fichero

@@ -53,103 +53,18 @@ class App extends Component {
53 53
       "wxc4f812079fc9ff0d",
54 54
       "wx60d176f873ca2d67",
55 55
     ],
56
-    pages: [
57
-      'pages/project/index',
58
-      'pages/project/h5Page',
59
-      'pages/project/detail/map',
60
-      'pages/person/myShare/accessRecord',
61
-      'pages/person/myShare/index',
62
-      'pages/shop/index',
63
-      'pages/activity/activity',
64
-      'pages/activity/myActivity',
65
-      'pages/person/index',
66
-      'pages/project/detail/index',
67
-      'pages/project/detail/highLight',
68
-      'pages/activity/assemblePage',
69
-      'pages/activity/assistancePage',
70
-      'pages/person/spread/index',
71
-      'pages/card/index',
72
-      'pages/im/list/index',
73
-      'pages/person/myGuest/index',
74
-      'pages/person/personDetail/index',
75
-      'pages/person/personDetail/editDetail/index',
76
-      'pages/person/login/index',
77
-      'pages/person/myGuest/editGuest/index',
78
-      'pages/shop/rule/index',
79
-      'pages/person/authorize/index',
80
-      'pages/project/map/index',
81
-      'pages/shop/integralDetail/index',
82
-      'pages/auth/index',
83
-      'pages/card/list/index',
84
-      'pages/report/index',
85
-      'pages/project/list/index',
86
-      'pages/report/login/index',
87
-      'pages/project/floor/index',
88
-      'pages/im/index',
89
-      'pages/activity/detail/index',
90
-      'pages/activity/detail/assistance',
91
-      'pages/activity/detail/assemble',
92
-      'pages/news/detail/index',
93
-      'pages/card/register/index',
94
-      'pages/report/detail/index',
95
-      'pages/policy/index',
96
-      'pages/policy/detail/index',
97
-      'pages/toolKit/index',
98
-      'pages/toolKit/calculateResult/index',
99
-      'pages/project/album/index',
100
-      'pages/person/favorite/index',
101
-      'pages/city/index',
102
-      'pages/shop/detail/index',
103
-      'pages/signin/index',
104
-      'pages/card/fans/index',
105
-      'pages/checkin/index',
106
-      'pages/checkin/checkinsuccess/index',
107
-      'pages/project/panorama/index',
108
-    ],
109
-    subPackages: [
110
-      {
111
-        root: "useless",
112
-        pages: [
113
-          'pages/person/customerAnalysis/index',
114
-          'pages/person/customerAnalysis/myCustomer',
115
-          'pages/person/customerAnalysis/analysis',
116
-          'pages/person/profile/index',
117
-          'pages/person/profile/detail/index',
118
-          'pages/agent/index',
119
-          'pages/agent/become/index',
120
-          // 'pages/agent/invitation/index',
121
-          'pages/agent/recommend/index',
122
-          'pages/agent/client/index',
123
-          'pages/agent/progress/index',
124
-          'pages/person/feedback/index',
125
-          'pages/shop/record/index',
126
-        ],
127
-      },
128
-      {
129
-        root: "onlineSelling",
130
-        pages: [
131
-          'pages/houseList/index',
132
-          'pages/raiseMoney/index',
133
-          'pages/raiseMoney/signResult',
134
-          'pages/raiseMoney/Certification',
135
-          'pages/live/index',
136
-          'pages/help/index',
137
-          'pages/records/index',
138
-          'pages/detail/index',
139
-          'pages/detail/resultPage',
140
-          'pages/screenHouse/index',
141
-          'pages/chooseConsultant/index',
142
-          'pages/protocol/index',
143
-          'pages/raiseProfile/index',
144
-          'pages/raiseProfile/houseResource',
145
-          'pages/addHouse/index',
146
-          'pages/houseCart/index',
147
-        ],
148
-      }
149
-    ],
56
+    // eslint-disable-next-line no-undef
57
+    pages: preval`
58
+      const {getPages} = require('./src/routes.js')
59
+      module.exports = getPages().pages
60
+    `,
61
+    // eslint-disable-next-line no-undef
62
+    subPackages: preval`
63
+      const {getPages} = require('./src/routes.js')
64
+      module.exports = getPages().subPackages
65
+    `,
150 66
     window: {
151 67
       backgroundTextStyle: 'light',
152
-      // navigationBarBackgroundColor: '#E31F05',
153 68
       navigationBarBackgroundColor: '#BB9C79',
154 69
       navigationBarTitleText: '',
155 70
       navigationBarTextStyle: 'white',
@@ -225,8 +140,6 @@ class App extends Component {
225 140
     socket.reconnect()
226 141
 
227 142
     this.initData()
228
-
229
-
230 143
   }
231 144
 
232 145
   componentDidMount() {
@@ -317,6 +230,8 @@ class App extends Component {
317 230
           Taro.removeStorageSync('buildingPageIndex')
318 231
           Taro.removeStorageSync('followPageIndex')
319 232
           Taro.removeStorageSync('clinchPageIndex')
233
+          // 获取分享人
234
+          Taro.setStorageSync('recommender', payload.recommender)
320 235
 
321 236
           // 获取未读消息
322 237
           const { person: { personId } } = res

+ 2
- 1
src/components/achievePhone/index.js Ver fichero

@@ -18,7 +18,8 @@ export default class Index extends Component {
18 18
 
19 19
   }
20 20
   getPhoneNumber(e) {
21
-    getUserPhone(e, { buildingId: this.props.buildingId }, (phoneNumber) => {
21
+    const loadOptions = wx.getLaunchOptionsSync()
22
+    getUserPhone(e, { ...this.props.achieveParams, promoter: Taro.getStorageSync('recommender'), sceneId: loadOptions.scene }, (phoneNumber) => {
22 23
       if (!phoneNumber) {
23 24
         Taro.showToast({
24 25
           title: '获取手机号失败',

+ 2
- 1
src/components/authorize/index.js Ver fichero

@@ -19,7 +19,8 @@ export default class Index extends Component {
19 19
   }
20 20
 
21 21
   getPhoneNumber(e) {
22
-    getUserPhone(e, { buildingId: '' }, (phoneNumber) => {
22
+    const loadOptions = wx.getLaunchOptionsSync()
23
+    getUserPhone(e, { ...this.props.achieveParams, promoter: Taro.getStorageSync('recommender'), sceneId: loadOptions.scene, buildingId: '' }, (phoneNumber) => {
23 24
       if (!phoneNumber) {
24 25
         Taro.showToast({
25 26
           title: '获取手机号失败',

+ 1
- 1
src/onlineSelling/components/GrantProfile/index.js Ver fichero

@@ -27,7 +27,7 @@ export default function GrantProfile(props) {
27 27
     <Block>
28 28
       {
29 29
         grantPhone &&
30
-        (<AchievePhone user={props.person} buildingId={props.buildingId} onSuccess={noop}></AchievePhone>)
30
+        (<AchievePhone user={props.person} buildingId={props.buildingId} achieveParams={props.achieveParams} onSuccess={noop}></AchievePhone>)
31 31
       }
32 32
 
33 33
       {

+ 8
- 2
src/onlineSelling/pages/detail/index.js Ver fichero

@@ -189,12 +189,18 @@ export default class Index extends Component {
189 189
     const { taRaise } = this.state.houseDetail
190 190
     const { userInfo } = this.props
191 191
     const address = `${houseDetail.buildingName || ''}${houseDetail.termName || ''}${houseDetail.blockName || ''}${houseDetail.unitName || ''}${houseDetail.floorName || ''}${houseDetail.roomName || ''}`
192
-
192
+    const achieveParams = {
193
+      buildingId: houseDetail.buildingId || '',
194
+      targetName: houseDetail.apartmentName || '',
195
+      targetType: 'other',
196
+      targetId: houseDetail.houseId || '',
197
+    }
198
+    console.log(achieveParams, "achieveParamsachieveParamsachieveParamsachieveParams")
193 199
     return (
194 200
       <Block>
195 201
         {
196 202
           grantPhoneVisible &&
197
-          <AchievePhone user={userInfo.person} onSuccess={this.toggleGrantAvatar} buildingId={houseDetail.buildingId || ''}></AchievePhone>
203
+          <AchievePhone user={userInfo.person} onSuccess={this.toggleGrantAvatar} achieveParams={achieveParams} buildingId={houseDetail.buildingId || ''}></AchievePhone>
198 204
         }
199 205
         {
200 206
           grantAvatarVisible &&

+ 10
- 2
src/onlineSelling/pages/houseList/index.js Ver fichero

@@ -638,6 +638,7 @@ export default class HouseList extends Component {
638 638
       dataType
639 639
     } = this.state
640 640
     const buildingIdProps = this.$router.params.buildingId || buildingId
641
+    const salesBatchId = this.$router.params.id || this.state.id
641 642
 
642 643
     if (loading) {
643 644
       return <View style="margin: 80px auto;"><Loading color="#BB9C79" size={100} /></View>
@@ -650,17 +651,24 @@ export default class HouseList extends Component {
650 651
     console.log('==============>', posterData, showPoster, posterConfig)
651 652
 
652 653
     const screenList = [{ title: '预选热度图', value: 1 }, { title: '认筹热度图', value: 2 }]
654
+    const achieveParams = {
655
+      buildingId: salesBatchDetail.buildingId || buildingIdProps || '',
656
+      targetName: salesBatchDetail.salesBatchName || '',
657
+      targetType: 'house',
658
+      targetId: salesBatchDetail.salesBatchId || salesBatchId || '',
659
+    }
660
+    console.log(achieveParams, "achieveParamsachieveParamsachieveParamsachieveParams")
653 661
     return (
654 662
       <Block>
655 663
         {conditionVisible && this.renderCondition()}
656 664
         {/* 授权电话与头像 */}
657
-        <GrantProfile both person={person} buildingId={buildingIdProps || ''} />
665
+        <GrantProfile both person={person} achieveParams={achieveParams} buildingId={buildingIdProps || ''} />
658 666
         {/* 置业顾问悬框 */}
659 667
         {
660 668
           consultShow && <Consultant style="bottom:150rpx" smallStyle="bottom:178rpx" personId={person.personId} name={person.name || person.nickname} data={consultData}></Consultant>
661 669
         }
662 670
         {/* 生成海报 */}
663
-        {showPoster && <Poster data={posterData} configs={posterConfig} onCancel={this.togglePosterStatus} onFinish={this.togglePosterStatus} ></Poster>}
671
+        {showPoster && <Poster data={posterData} configs={posterConfig} onCancel={() => this.setState({ showPoster: false, showShareMenu: false })} onFinish={this.togglePosterStatus} ></Poster>}
664 672
         {!noRecord ?
665 673
           <Block>
666 674
             {!conditionVisible && <Block>

+ 9
- 3
src/onlineSelling/pages/houseList/poster.js Ver fichero

@@ -34,7 +34,7 @@ export default class Index extends Component {
34 34
   }
35 35
   initConfig() {
36 36
     const { data } = this.props
37
-    console.log(data,"datadatadatadatadatadatadatadatadatadatadatadatadatadata")
37
+    console.log(data, "datadatadatadatadatadatadatadatadatadatadatadatadatadata")
38 38
     const { basicConfig } = this.state
39 39
     // const texts = [
40 40
     //   {
@@ -78,7 +78,7 @@ export default class Index extends Component {
78 78
         zIndex: 1
79 79
       }
80 80
     ]
81
-    const configs = Object.assign(basicConfig, { images, blocks})
81
+    const configs = Object.assign(basicConfig, { images, blocks })
82 82
     this.setState({
83 83
       configs,
84 84
       canvasStatus: true
@@ -123,6 +123,12 @@ export default class Index extends Component {
123 123
     Taro.hideLoading();
124 124
     this.props.toggle(false)
125 125
   }
126
+  onCancel = () => {
127
+    Taro.hideLoading();
128
+    if (typeof this.props.onCancel === 'function') {
129
+      this.props.onCancel()
130
+    }
131
+  }
126 132
 
127 133
   // 保存图片至本地
128 134
   saveToAlbum = (e) => {
@@ -167,7 +173,7 @@ export default class Index extends Component {
167 173
               <View className="con">
168 174
                 <View className="con-head">
169 175
                   <Text>保存后分享图片</Text>
170
-                  <Text className="iconfont icon-buoumaotubiao20" onClick={this.hidePoster}></Text>
176
+                  <Text className="iconfont icon-buoumaotubiao20" onClick={this.onCancel}></Text>
171 177
                 </View>
172 178
                 <View className="con-body">
173 179
                   <Image className="result-img" mode="aspectFit" lazy-load src={this.state.shareImage} onClick={this.onPreview}></Image>

+ 37
- 11
src/onlineSelling/pages/live/index.js Ver fichero

@@ -21,15 +21,15 @@ import './index.scss'
21 21
 const bgImg = "https://njcj.oss-cn-shanghai.aliyuncs.com/miniapp/images/helpgroup/bg.png"
22 22
 
23 23
 @connect(s => s.user)
24
-@withDetail({
25
-  track: {
26
-    event: 'detail',
27
-    eventType: 'activity',
28
-    targetType: 'live',
29
-    propertyName: '查看直播详情页',
30
-    data: '{}',
31
-  }
32
-})
24
+// @withDetail({
25
+//   track: {
26
+//     event: 'detail',
27
+//     eventType: 'activity',
28
+//     targetType: 'live',
29
+//     propertyName: '查看直播详情页',
30
+//     data: '{}',
31
+//   }
32
+// })
33 33
 export default class livePage extends Component {
34 34
   config = {
35 35
     navigationBarTitleText: '直播活动详情',
@@ -46,6 +46,7 @@ export default class livePage extends Component {
46 46
     consultData: {}, // 分享的置业顾问信息
47 47
     consultShow: false,  // 置业顾问悬浮框显示隐藏
48 48
     noRecord: false,
49
+    recordId: undefined, // 埋点ID
49 50
   }
50 51
 
51 52
 
@@ -102,6 +103,10 @@ export default class livePage extends Component {
102 103
     this._$_dataReady()
103 104
   }
104 105
 
106
+  componentWillUnmount() {
107
+    const { recordId } = this.state
108
+    recordId && updatePoint(recordId)
109
+  }
105 110
 
106 111
   anotherInfo(id) {
107 112
 
@@ -124,6 +129,19 @@ export default class livePage extends Component {
124 129
         liveDetail: res || {},
125 130
         noRecord: res.status == '1' ? false : true
126 131
       })
132
+      savePoint({
133
+        event: 'detail',
134
+        eventType: 'activity',
135
+        targetType: 'live',
136
+        targetId: res.liveActivityId,
137
+        propertyName: '查看直播详情页',
138
+        data: '{}',
139
+      }).then(res => {
140
+        this.setState({
141
+          recordId: res.recordId
142
+        })
143
+        console.log('直播详情页')
144
+      })
127 145
       Taro.hideToast()
128 146
       const { templates = [], posterImg = '' } = (res.posters || [])[0]
129 147
 
@@ -254,6 +272,7 @@ export default class livePage extends Component {
254 272
       })
255 273
     }
256 274
   }
275
+
257 276
   getPosterData = () => {
258 277
     return new Promise(resolve => {
259 278
       const { posterData } = this.state
@@ -320,16 +339,23 @@ export default class livePage extends Component {
320 339
     const { userInfo: { person } } = this.props
321 340
     const showCircleBtn = posterData && posterData.qrcode
322 341
     console.log('==============>', posterData, showPoster, posterConfig)
342
+    const achieveParams = {
343
+      buildingId: liveDetail.buildingId || '',
344
+      targetName: liveDetail.liveActivityTitle || '',
345
+      targetType: 'live',
346
+      targetId: liveDetail.liveActivityId || '',
347
+    }
348
+    console.log(achieveParams, "achieveParamsachieveParamsachieveParamsachieveParamsachieveParams")
323 349
     return (
324 350
       <Block>
325 351
         {/* 授权电话与头像 */}
326
-        <GrantProfile both person={person} buildingId={liveDetail.buildingId || ''} />
352
+        <GrantProfile both person={person} achieveParams={achieveParams} buildingId={liveDetail.buildingId || ''} />
327 353
         {/* 置业顾问悬框 */}
328 354
         {
329 355
           consultShow && <Consultant style="bottom:150rpx" smallStyle="bottom:178rpx" personId={person.personId} name={person.name || person.nickname} data={consultData}></Consultant>
330 356
         }
331 357
         {/* 生成海报 */}
332
-        {showPoster && <Poster data={posterData} configs={posterConfig} onCancel={this.togglePosterStatus} onFinish={this.togglePosterStatus} ></Poster>}
358
+        {showPoster && <Poster data={posterData} configs={posterConfig} onCancel={() => this.setState({ showPoster: false, showShareMenu: false })} onFinish={() => this.setState({ showPoster: false, showShareMenu: false })} ></Poster>}
333 359
         {!noRecord ?
334 360
           <View className="live-page">
335 361
             <Image onClick={this.handleLiveBtn} src={transferImage(liveDetail.detailTypeImg || bgImg)} mode='widthFix' className="bg_img"></Image>

+ 7
- 1
src/pages/activity/activity.js Ver fichero

@@ -62,7 +62,13 @@ export default class active extends Component {
62 62
   }
63 63
 
64 64
   renderLogin() {
65
-    return <Authorize from="pages/activity/activity"></Authorize>
65
+    const achieveParams = {
66
+      buildingId: '',
67
+      targetName: '活动资讯',
68
+      targetType: 'other',
69
+      targetId: '',
70
+    }
71
+    return <Authorize from="pages/activity/activity" achieveParams={achieveParams}></Authorize>
66 72
   }
67 73
 
68 74
   render() {

+ 21
- 4
src/pages/activity/detail/assemble.js Ver fichero

@@ -229,6 +229,17 @@ export default class Detail extends Component {
229 229
     //   console.log('生成拼团活动详情海报')
230 230
     // })
231 231
   }
232
+  // 保存海报、关闭海报
233
+  handlePosterVisible = () => {
234
+    const { posterVisible, actionSheetVisible } = this.state
235
+    // actionSheet 需要隐藏掉
236
+    const showActionSheet = posterVisible ? actionSheetVisible : false
237
+
238
+    this.setState({
239
+      posterVisible: !posterVisible,
240
+      actionSheetVisible: showActionSheet,
241
+    })
242
+  }
232 243
 
233 244
   compActState = (startDate, endDate) => {
234 245
     const st = dayjs(startDate).valueOf()
@@ -664,7 +675,8 @@ export default class Detail extends Component {
664 675
       leftTime,
665 676
       ltTicker,
666 677
       consultData,
667
-      consultShow
678
+      consultShow,
679
+      id
668 680
     } = this.state
669 681
 
670 682
     const { userInfo } = this.props
@@ -691,7 +703,12 @@ export default class Detail extends Component {
691 703
     // console.log('------posterConfigs------', posterConfigs)
692 704
 
693 705
     const isJoin = memberList.filter(x => x.personId === userInfo.person.personId)[0] || isStarter
694
-
706
+    const achieveParams = {
707
+      buildingId: detail.buildingId || '',
708
+      targetName: detail.activityName || '',
709
+      targetType: 'group',
710
+      targetId: id || detail.groupActivityId || '',
711
+    }
695 712
     return (
696 713
       <Block>
697 714
         <BackHomeBtn style={consultShow ? "bottom:310rpx" : ''}></BackHomeBtn>
@@ -701,13 +718,13 @@ export default class Detail extends Component {
701 718
         {/* 生成海报 */}
702 719
         {posterVisible && !ltTicker.processing &&
703 720
           (
704
-            <Poster configs={posterConfigs} onCancel={this.togglePosterVisible} onFinish={this.togglePosterVisible}></Poster>
721
+            <Poster configs={posterConfigs} onCancel={this.handlePosterVisible} onFinish={this.handlePosterVisible}></Poster>
705 722
           )
706 723
         }
707 724
 
708 725
         {
709 726
           grantPhoneVisible &&
710
-          <AchievePhone user={userInfo.person} onSuccess={this.toggleGrantAvatar} buildingId={detail.buildingId}></AchievePhone>
727
+          <AchievePhone user={userInfo.person} onSuccess={this.toggleGrantAvatar} achieveParams={achieveParams} buildingId={detail.buildingId}></AchievePhone>
711 728
         }
712 729
         {
713 730
           grantAvatarVisible &&

+ 21
- 3
src/pages/activity/detail/assistance.js Ver fichero

@@ -231,6 +231,16 @@ export default class Detail extends Component {
231 231
     //   console.log('生成助力活动详情海报')
232 232
     // })
233 233
   }
234
+  // 保存海报、关闭海报
235
+  handlePosterVisible = () => {
236
+    const { posterVisible, posters, actionSheetVisible } = this.state
237
+    // actionSheet 需要隐藏掉
238
+    const showActionSheet = posterVisible ? actionSheetVisible : false
239
+    this.setState({
240
+      posterVisible: !posterVisible,
241
+      actionSheetVisible: showActionSheet,
242
+    })
243
+  }
234 244
 
235 245
   compActState = (startDate, endDate) => {
236 246
     const st = dayjs(startDate).valueOf()
@@ -634,7 +644,8 @@ export default class Detail extends Component {
634 644
       leftTime,
635 645
       ltTicker,
636 646
       consultData,
637
-      consultShow
647
+      consultShow,
648
+      id
638 649
     } = this.state
639 650
 
640 651
     const { userInfo } = this.props
@@ -654,6 +665,13 @@ export default class Detail extends Component {
654 665
     // console.log('------posterData------', posterData)
655 666
     // console.log('------posterConfigs------', posterConfigs)
656 667
     const isJoin = helpList.filter(x => x.personId === userInfo.person.personId)[0] || isStarter
668
+    const achieveParams = {
669
+      buildingId: detail.buildingId || '',
670
+      targetName: detail.title || '',
671
+      targetType: 'help',
672
+      targetId: id || detail.helpActivityId || '',
673
+    }
674
+
657 675
     return (
658 676
       <View>
659 677
         <BackHomeBtn style={consultShow ? "bottom:200rpx" : ''}></BackHomeBtn>
@@ -663,12 +681,12 @@ export default class Detail extends Component {
663 681
         {/* 生成海报 */}
664 682
         {posterVisible && !ltTicker.processing &&
665 683
           (
666
-            <Poster configs={posterConfigs} onCancel={this.togglePosterVisible} onFinish={this.togglePosterVisible}></Poster>
684
+            <Poster configs={posterConfigs} onCancel={this.handlePosterVisible} onFinish={this.handlePosterVisible}></Poster>
667 685
           )
668 686
         }
669 687
         {
670 688
           grantPhoneVisible &&
671
-          <AchievePhone user={userInfo.person} onSuccess={this.toggleGrantAvatar} buildingId={detail.buildingId}></AchievePhone>
689
+          <AchievePhone user={userInfo.person} onSuccess={this.toggleGrantAvatar} achieveParams={achieveParams} buildingId={detail.buildingId}></AchievePhone>
672 690
         }
673 691
         {
674 692
           grantAvatarVisible &&

+ 12
- 4
src/pages/activity/detail/index.js Ver fichero

@@ -125,13 +125,13 @@ export default class Detail extends Component {
125 125
       }).catch(err => {
126 126
         console.log(err, "err")
127 127
       })
128
-
128
+      const maxperson = res.maxEnlistByPerson < 100 ? res.maxEnlistByPerson : 100
129 129
       this.setState({
130 130
         detail: res,
131 131
         isSaved,
132 132
         isSign,
133 133
         loaded: true,
134
-        selector: times(res.maxEnlistByPerson || 1).map((_, i) => `${i + 1}`),
134
+        selector: times(maxperson || 1).map((_, i) => `${i + 1}`),
135 135
       }, () => {
136 136
 
137 137
         const { detail } = this.state
@@ -462,14 +462,22 @@ export default class Detail extends Component {
462 462
     const { userInfo = {} } = this.props
463 463
     const { person: { phone, personId, nickname, name, tel } = {} } = userInfo
464 464
 
465
+    const achieveParams = {
466
+      buildingId: detail.buildingId || '',
467
+      targetName: detail.title || '',
468
+      targetType: 'activity',
469
+      targetId: detail.dynamicId || '',
470
+    }
471
+    console.log(achieveParams, "achieveParamsachieveParamsachieveParamsachieveParams")
472
+
465 473
     return (
466 474
       <Block>
467 475
         {/* 生成海报 */}
468
-        {posterVisible && (<Poster data={posterData} toggle={this.togglePosterStatus}></Poster>)}
476
+        {posterVisible && (<Poster data={posterData} onCancel={() => this.setState({ posterVisible: false })} toggle={this.togglePosterStatus}></Poster>)}
469 477
 
470 478
         {
471 479
           grantPhoneVisible &&
472
-          <AchievePhone user={userInfo.person} onSuccess={this.toggleGrantAvatar} buildingId={detail.buildingId}></AchievePhone>
480
+          <AchievePhone user={userInfo.person} onSuccess={this.toggleGrantAvatar} achieveParams={achieveParams} buildingId={detail.buildingId}></AchievePhone>
473 481
         }
474 482
         {
475 483
           grantAvatarVisible &&

+ 6
- 2
src/pages/activity/detail/poster.js Ver fichero

@@ -214,7 +214,11 @@ export default class Index extends Component {
214 214
     Taro.hideLoading();
215 215
     this.props.toggle(false)
216 216
   }
217
-
217
+  onCancel = () => {
218
+    if (typeof this.props.onCancel === 'function') {
219
+      this.props.onCancel()
220
+    }
221
+  }
218 222
   // 保存图片至本地
219 223
   saveToAlbum = (e) => {
220 224
     e.stopPropagation()
@@ -258,7 +262,7 @@ export default class Index extends Component {
258 262
               <View className="con">
259 263
                 <View className="con-head">
260 264
                   <Text>保存后分享图片</Text>
261
-                  <Text className="iconfont icon-buoumaotubiao20" onClick={this.hidePoster}></Text>
265
+                  <Text className="iconfont icon-buoumaotubiao20" onClick={this.onCancel}></Text>
262 266
                 </View>
263 267
                 <View className="con-body">
264 268
                   <Image className="result-img" mode="aspectFit" lazy-load src={this.state.shareImage} onClick={this.onPreview}></Image>

+ 10
- 3
src/pages/card/index.js Ver fichero

@@ -498,7 +498,7 @@ export default class Index extends Component {
498 498
     })
499 499
   }
500 500
   render() {
501
-    const { makePosterStatus, posterData, grantPhoneVisible, grantAvatarVisible, } = this.state
501
+    const { makePosterStatus, posterData, grantPhoneVisible, grantAvatarVisible, cardId } = this.state
502 502
     const { userInfo, cardInfo, projectDetail } = this.props
503 503
     const { person: { personType, personId, phone, tel } } = userInfo
504 504
     const { unReadNum, picture, visitors, id, isReport } = cardInfo
@@ -510,14 +510,21 @@ export default class Index extends Component {
510 510
     const isConsultant = personType === ROLE_CODE['CONSULTANT']
511 511
     const hadPhone = (phone || tel) ? true : false  // nb
512 512
     const visibleChatBtn = !isConsultant && !isSelf
513
+    const achieveParams = {
514
+      buildingId: buildingId || '',
515
+      targetName: '个人主页',
516
+      targetType: 'other',
517
+      targetId: cardId  || '',
518
+    }
519
+    console.log(achieveParams, "achieveParamsachieveParamsachieveParamsachieveParams")
513 520
     return (
514 521
       <Block>
515 522
         {/* 生成海报 */}
516
-        {makePosterStatus && (<Poster data={posterData} toggle={this.toggleVisiblePoster}></Poster>)}
523
+        {makePosterStatus && (<Poster data={posterData} onCancel={() => this.setState({ makePosterStatus: false })} toggle={this.toggleVisiblePoster}></Poster>)}
517 524
 
518 525
         {
519 526
           grantPhoneVisible &&
520
-          <AchievePhone user={userInfo.person} onSuccess={this.toggleGrantAvatar} buildingId={buildingId}></AchievePhone>
527
+          <AchievePhone user={userInfo.person} onSuccess={this.toggleGrantAvatar} achieveParams={achieveParams} buildingId={buildingId}></AchievePhone>
521 528
         }
522 529
         {
523 530
           grantAvatarVisible &&

+ 7
- 2
src/pages/card/poster.js Ver fichero

@@ -263,7 +263,12 @@ export default class Index extends Component {
263 263
     Taro.hideLoading();
264 264
     this.props.toggle(false)
265 265
   }
266
-
266
+  onCancel = () => {
267
+    Taro.hideLoading();
268
+    if (typeof this.props.onCancel === 'function') {
269
+      this.props.onCancel()
270
+    }
271
+  }
267 272
   // 保存图片至本地
268 273
   saveToAlbum = (e) => {
269 274
     e.stopPropagation()
@@ -306,7 +311,7 @@ export default class Index extends Component {
306 311
               <View className="con">
307 312
                 <View className="con-head">
308 313
                   <Text>保存后分享图片</Text>
309
-                  <Text className="iconfont icon-buoumaotubiao20" onClick={this.hidePoster}></Text>
314
+                  <Text className="iconfont icon-buoumaotubiao20" onClick={this.onCancel}></Text>
310 315
                 </View>
311 316
                 <View className="con-body">
312 317
                   <Image className="result-img" mode="aspectFit" lazy-load src={this.state.shareImage} onClick={this.onPreview}></Image>

+ 1
- 0
src/pages/checkin/index.js Ver fichero

@@ -12,6 +12,7 @@ import {
12 12
 import { parseQueryString, getQueryString } from '@/utils/tools'
13 13
 import { NONAME } from 'dns';
14 14
 import ready from '@/utils/ready'
15
+
15 16
 export default class checkin extends Component {
16 17
 
17 18
   state = {

+ 10
- 3
src/pages/news/detail/index.js Ver fichero

@@ -360,15 +360,22 @@ export default class NewsDetail extends Component {
360 360
   render() {
361 361
     const { webViewVisible, grantPhoneVisible, grantAvatarVisible, detail, loaded, isSaved, posterVisible, posterData, posterShow, consultData, consultShow } = this.state
362 362
     const { userInfo = { person: {} } } = this.props
363
-
363
+    
364
+    const achieveParams = {
365
+      buildingId: detail.buildingId || '',
366
+      targetName: detail.newsName || '',
367
+      targetType: 'news',
368
+      targetId: detail.newsId || '',
369
+    }
370
+    console.log(achieveParams, "achieveParamsachieveParamsachieveParamsachieveParams")
364 371
     return (
365 372
       <Block>
366 373
         {/* 生成海报 */}
367
-        {posterVisible && (<Poster data={posterData} toggle={this.handleTogglePoster}></Poster>)}
374
+        {posterVisible && (<Poster data={posterData} onCancel={() => this.setState({ posterVisible: false })} toggle={this.handleTogglePoster}></Poster>)}
368 375
 
369 376
         {
370 377
           grantPhoneVisible &&
371
-          <AchievePhone user={userInfo.person} onSuccess={this.toggleGrantAvatar} buildingId={detail.buildingId}></AchievePhone>
378
+          <AchievePhone user={userInfo.person} onSuccess={this.toggleGrantAvatar} achieveParams={achieveParams} buildingId={detail.buildingId}></AchievePhone>
372 379
         }
373 380
         {
374 381
           grantAvatarVisible &&

+ 10
- 5
src/pages/news/detail/poster.js Ver fichero

@@ -65,7 +65,7 @@ export default class Index extends Component {
65 65
       {
66 66
         x: 30,
67 67
         y: 820,
68
-        text: data.title||'资讯标题',
68
+        text: data.title || '资讯标题',
69 69
         fontSize: 30,
70 70
         color: 'black',
71 71
         baseLine: 'middle',
@@ -78,7 +78,7 @@ export default class Index extends Component {
78 78
       {
79 79
         x: 30,
80 80
         y: 890,
81
-        text: data.posterDescription||'资讯描述',
81
+        text: data.posterDescription || '资讯描述',
82 82
         fontSize: 28,
83 83
         color: '#999',
84 84
         baseLine: 'middle',
@@ -149,7 +149,7 @@ export default class Index extends Component {
149 149
         zIndex: 999
150 150
       },
151 151
       {
152
-        url: getDownloadURL(data.avatarurl, 'avatar')  || require('@/assets/default-avatar.png'),
152
+        url: getDownloadURL(data.avatarurl, 'avatar') || require('@/assets/default-avatar.png'),
153 153
         width: 130,
154 154
         height: 130,
155 155
         y: 630,
@@ -214,7 +214,12 @@ export default class Index extends Component {
214 214
     Taro.hideLoading();
215 215
     this.props.toggle(false)
216 216
   }
217
-
217
+  onCancel = () => {
218
+    Taro.hideLoading();
219
+    if (typeof this.props.onCancel === 'function') {
220
+      this.props.onCancel()
221
+    }
222
+  }
218 223
   // 保存图片至本地
219 224
   saveToAlbum = (e) => {
220 225
     e.stopPropagation()
@@ -258,7 +263,7 @@ export default class Index extends Component {
258 263
               <View className="con">
259 264
                 <View className="con-head">
260 265
                   <Text>保存后分享图片</Text>
261
-                  <Text className="iconfont icon-buoumaotubiao20" onClick={this.hidePoster}></Text>
266
+                  <Text className="iconfont icon-buoumaotubiao20" onClick={this.onCancel}></Text>
262 267
                 </View>
263 268
                 <View className="con-body">
264 269
                   <Image className="result-img" mode="aspectFit" lazy-load src={this.state.shareImage} onClick={this.onPreview}></Image>

+ 8
- 2
src/pages/person/index.js Ver fichero

@@ -189,13 +189,19 @@ export default class Person extends Component {
189 189
   }
190 190
 
191 191
   renderLogin() {
192
-    return <Authorize></Authorize>
192
+    const achieveParams = {
193
+      buildingId: '',
194
+      targetName: '我的地盘',
195
+      targetType: 'other',
196
+      targetId: '',
197
+    }
198
+    return <Authorize achieveParams={achieveParams}></Authorize>
193 199
   }
194 200
 
195 201
   renderDetail() {
196 202
     const { users, menus, roleName } = this.state
197 203
     const { user: { userInfo: { person: { org: { waterMark } = {} }, miniApp: { name } } } } = this.props
198
-    
204
+
199 205
     // const showQRCode = user.personType === ROLE_CODE['CONSULTANT'] || ROLE_CODE['ESTATE_AGENT'] || ROLE_CODE['CHANNEL_AGENT']
200 206
     // const isConsultant = user.personType == ROLE_CODE['CONSULTANT']
201 207
     // const isConsultant = user.personType

+ 9
- 2
src/pages/project/detail/index.js Ver fichero

@@ -1478,11 +1478,18 @@ export default class Index extends Component {
1478 1478
     const shwoBuildingVideo = projectDetail.videoUrl ? true : false
1479 1479
     const showMediaBtn = showBuildingImgs + showBuildingVRs + shwoBuildingVideo > 1 // 满足2个就展示
1480 1480
 
1481
+    const achieveParams = {
1482
+      buildingId: projectDetail.buildingId || '',
1483
+      targetName: projectDetail.buildingName || '',
1484
+      targetType: 'building',
1485
+      targetId: projectDetail.buildingId || '',
1486
+    }
1487
+    console.log(achieveParams, "achieveParamsachieveParamsachieveParamsachieveParams")
1481 1488
     return (
1482 1489
       <Block>
1483 1490
         {
1484 1491
           grantPhoneVisible &&
1485
-          <AchievePhone user={userInfo.person} onSuccess={this.toggleGrantAvatar} buildingId={projectDetail.buildingId}></AchievePhone>
1492
+          <AchievePhone user={userInfo.person} onSuccess={this.toggleGrantAvatar} achieveParams={achieveParams}></AchievePhone>
1486 1493
         }
1487 1494
         {
1488 1495
           grantAvatarVisible &&
@@ -1610,7 +1617,7 @@ export default class Index extends Component {
1610 1617
               </ScrollView>
1611 1618
               {/* 生成海报 */}
1612 1619
               {
1613
-                posterStatus && (<Poster data={posterData} toggle={this.togglePosterStatus}></Poster>)
1620
+                posterStatus && (<Poster data={posterData} onCancel={() => this.setState({ posterStatus: false })} toggle={this.togglePosterStatus}></Poster>)
1614 1621
               }
1615 1622
               {/* 底部菜单 */}
1616 1623
               {this.renderBottomMenu()}

+ 7
- 2
src/pages/project/detail/poster.js Ver fichero

@@ -242,7 +242,12 @@ export default class Index extends Component {
242 242
     Taro.hideLoading();
243 243
     this.props.toggle(false)
244 244
   }
245
-
245
+  onCancel = () => {
246
+    Taro.hideLoading();
247
+    if (typeof this.props.onCancel === 'function') {
248
+      this.props.onCancel()
249
+    }
250
+  }
246 251
   // 保存图片至本地
247 252
   saveToAlbum = (e) => {
248 253
     e.stopPropagation()
@@ -288,7 +293,7 @@ export default class Index extends Component {
288 293
               <View className="con">
289 294
                 <View className="con-head">
290 295
                   <Text>保存后分享图片</Text>
291
-                  <Text className="iconfont icon-buoumaotubiao20" onClick={this.hidePoster}></Text>
296
+                  <Text className="iconfont icon-buoumaotubiao20" onClick={this.onCancel}></Text>
292 297
                 </View>
293 298
                 <View className="con-body">
294 299
                   <Image className="result-img" mode="aspectFit" lazy-load src={this.state.shareImage} onClick={this.onPreview}></Image>

+ 2
- 1
src/pages/project/h5Page.js Ver fichero

@@ -166,7 +166,8 @@ export default class Index extends Component {
166 166
 
167 167
     shareSavePoint({
168 168
       event: 'share',
169
-      eventType: 'h5',
169
+      eventType: 'activity',
170
+      targetType: 'h5',
170 171
       propertyName: 'h5详情分享',
171 172
       consultantId: consultantId,
172 173
       sharePersonId: personId,

+ 7
- 1
src/pages/shop/index.js Ver fichero

@@ -214,7 +214,13 @@ export default class Shop extends Component {
214 214
   }
215 215
 
216 216
   renderLogin() {
217
-    return <Authorize from="pages/shop/index"></Authorize>
217
+    const achieveParams = {
218
+      buildingId: '',
219
+      targetName: '赚积分',
220
+      targetType: 'other',
221
+      targetId: '',
222
+    }
223
+    return <Authorize from="pages/shop/index" achieveParams={achieveParams}></Authorize>
218 224
   }
219 225
   handleBannerClick = (item) => {
220 226
     console.log(this, "this")

+ 568
- 0
src/routes.js Ver fichero

@@ -0,0 +1,568 @@
1
+
2
+const routes = [
3
+
4
+  /**********************************
5
+   *  Tab 页面
6
+   *********************************/
7
+
8
+  {
9
+    name: '首页',
10
+    page: 'pages/project/index',
11
+    pgk: 'main',
12
+    isTab: true,
13
+    type: 'main',
14
+  },
15
+  {
16
+    name: '积分商城',
17
+    page: 'pages/shop/index',
18
+    pgk: 'main',
19
+    isTab: true,
20
+    type: 'other',
21
+  },
22
+  {
23
+    name: '活动资讯',
24
+    page: 'pages/activity/activity',
25
+    pgk: 'main',
26
+    isTab: true,
27
+    type: 'activity',
28
+  },
29
+  {
30
+    name: '个人中心',
31
+    page: 'pages/person/index',
32
+    pgk: 'main',
33
+    isTab: true,
34
+    type: 'center',
35
+  },
36
+
37
+  /********************************
38
+   * 项目相关
39
+   *******************************/
40
+  {
41
+    name: '项目列表',
42
+    page: 'pages/project/list/index',
43
+    pgk: 'main',
44
+    type: 'building',
45
+  },
46
+  {
47
+    name: '地图看房',
48
+    page: 'pages/project/map/index',
49
+    pgk: 'main',
50
+    type: 'building',
51
+  },
52
+  {
53
+    name: '项目详情',
54
+    page: 'pages/project/detail/index',
55
+    pgk: 'main',
56
+    type: 'building',
57
+  },
58
+  {
59
+    name: '项目亮点',
60
+    page: 'pages/project/detail/highLight',
61
+    pgk: 'main',
62
+    type: 'building',
63
+  },
64
+  {
65
+    name: '楼盘周边',
66
+    page: 'pages/project/detail/map',
67
+    pgk: 'main',
68
+    type: 'building',
69
+  },
70
+  {
71
+    name: '楼盘信息',
72
+    page: 'pages/project/floor/index',
73
+    pgk: 'main',
74
+    type: 'building',
75
+  },
76
+  {
77
+    name: '项目相册',
78
+    page: 'pages/project/album/index',
79
+    pgk: 'main',
80
+    type: 'building',
81
+  },
82
+
83
+
84
+  /**************************************
85
+   * 商城相关
86
+   *************************************/
87
+  {
88
+    name: '积分规则',
89
+    page: 'pages/shop/rule/index',
90
+    pgk: 'main',
91
+    type: 'other',
92
+  },
93
+  {
94
+    name: '积分明细',
95
+    page: 'pages/shop/integralDetail/index',
96
+    pgk: 'main',
97
+    type: 'other',
98
+  },
99
+  {
100
+    name: '商品详情',
101
+    page: 'pages/shop/detail/index',
102
+    pgk: 'main',
103
+    type: 'other',
104
+  },
105
+
106
+
107
+  /************************************
108
+   * 个人中心
109
+   ***********************************/
110
+  {
111
+    name: '登录',
112
+    page: 'pages/person/login/index',
113
+    pgk: 'main',
114
+    type: 'other',
115
+  },
116
+  {
117
+    name: '我的分享',
118
+    page: 'pages/person/myShare/index',
119
+    pgk: 'main',
120
+    type: 'other',
121
+  },
122
+  {
123
+    name: '我的活动',
124
+    page: 'pages/activity/myActivity',
125
+    pgk: 'main',
126
+    type: 'activity',
127
+  },
128
+  {
129
+    name: '我的拼团',
130
+    page: 'pages/activity/assemblePage',
131
+    pgk: 'main',
132
+    type: 'activity',
133
+  },
134
+  {
135
+    name: '我的助力',
136
+    page: 'pages/activity/assistancePage',
137
+    pgk: 'main',
138
+    type: 'activity',
139
+  },
140
+  {
141
+    name: '我的推广码',
142
+    page: 'pages/person/spread/index',
143
+    pgk: 'main',
144
+    type: 'other',
145
+  },
146
+  {
147
+    name: '我的卡片',
148
+    page: 'pages/card/index',
149
+    pgk: 'main',
150
+    type: 'card',
151
+  },
152
+  {
153
+    name: '我的客户',
154
+    page: 'pages/person/myGuest/index',
155
+    pgk: 'main',
156
+    type: 'agent',
157
+  },
158
+  {
159
+    name: '我的收藏',
160
+    page: 'pages/person/favorite/index',
161
+    pgk: 'main',
162
+    type: 'other',
163
+  },
164
+  {
165
+    name: '个人资料',
166
+    page: 'pages/person/personDetail/index',
167
+    pgk: 'main',
168
+    type: 'center',
169
+  },
170
+  {
171
+    name: '编辑资料',
172
+    page: 'pages/person/personDetail/editDetail/index',
173
+    pgk: 'main',
174
+    type: 'center',
175
+  },
176
+  {
177
+    name: '每日签到',
178
+    page: 'pages/signin/index',
179
+    pgk: 'main',
180
+    type: 'other',
181
+  },
182
+
183
+
184
+  /****************************************
185
+   * 置业相关
186
+   ***************************************/
187
+  {
188
+    name: '置业列表',
189
+    page: 'pages/card/list/index',
190
+    pgk: 'main',
191
+    type: 'other',
192
+  },
193
+  {
194
+    name: '置业绑定',
195
+    page: 'pages/card/register/index',
196
+    pgk: 'main',
197
+    type: 'other',
198
+  },
199
+  {
200
+    name: '咨询列表',
201
+    page: 'pages/im/list/index',
202
+    pgk: 'main',
203
+    type: 'info',
204
+  },
205
+  {
206
+    name: '聊天咨询',
207
+    page: 'pages/im/index',
208
+    pgk: 'main',
209
+    type: 'info',
210
+  },
211
+  {
212
+    name: '卡片围观记录',
213
+    page: 'pages/card/fans/index',
214
+    pgk: 'main',
215
+    type: 'other',    
216
+  },
217
+
218
+  /***********************************
219
+   * 客户相关
220
+   **********************************/
221
+  {
222
+    name: '访客信息',
223
+    page: 'pages/person/myShare/accessRecord',
224
+    pgk: 'main',
225
+    type: 'agent',
226
+  },
227
+  {
228
+    name: '客户详情',
229
+    page: 'pages/person/myGuest/editGuest/index',
230
+    pgk: 'main',
231
+    type: 'agent',
232
+  },
233
+  {
234
+    name: '报备客户',
235
+    page: 'pages/report/index',
236
+    pgk: 'main',
237
+    type: 'agent',
238
+  },
239
+  {
240
+    name: '报备授权',
241
+    page: 'pages/report/login/index',
242
+    pgk: 'main',
243
+    type: 'agent',
244
+  },
245
+  {
246
+    name: '报备详情',
247
+    page: 'pages/report/detail/index',
248
+    pgk: 'main',
249
+    type: 'agent',
250
+  },
251
+
252
+
253
+  /************************************
254
+   * 活动资讯
255
+   ***********************************/
256
+  {
257
+    name: 'H5',
258
+    page: 'pages/project/h5Page',
259
+    pgk: 'main',
260
+    type: 'activity',
261
+  },
262
+  {
263
+    name: '活动详情',
264
+    page: 'pages/activity/detail/index',
265
+    pgk: 'main',
266
+    type: 'activity',
267
+  },
268
+  {
269
+    name: '助力详情',
270
+    page: 'pages/activity/detail/assistance',
271
+    pgk: 'main',
272
+    type: 'activity',
273
+  },
274
+  {
275
+    name: '拼团详情',
276
+    page: 'pages/activity/detail/assemble',
277
+    pgk: 'main',
278
+    type: 'activity',
279
+  },
280
+  {
281
+    name: '资讯详情',
282
+    page: 'pages/news/detail/index',
283
+    pgk: 'main',
284
+    type: 'news',
285
+  },
286
+  {
287
+    name: '签到',
288
+    page: 'pages/checkin/index',
289
+    pgk: 'main',
290
+    type: 'activity',
291
+  },
292
+  {
293
+    name: '签到结果',
294
+    page: 'pages/checkin/checkinsuccess/index',
295
+    pgk: 'main',
296
+    type: 'activity',
297
+  },
298
+
299
+  /*****************************************
300
+   * 其他
301
+   ****************************************/
302
+  {
303
+    name: '授权',
304
+    page: 'pages/person/authorize/index',
305
+    pgk: 'main',
306
+    type: 'other',
307
+  },
308
+  {
309
+    name: '授权',
310
+    page: 'pages/auth/index',
311
+    pgk: 'main',
312
+    type: 'other',
313
+  },
314
+  {
315
+    name: '购房政策列表',
316
+    page: 'pages/policy/index',
317
+    pgk: 'main',
318
+    type: 'other',
319
+  },
320
+  {
321
+    name: '购房政策详情',
322
+    page: 'pages/policy/detail/index',
323
+    pgk: 'main',
324
+    type: 'other',
325
+  },
326
+  {
327
+    name: '房贷计算器',
328
+    page: 'pages/toolKit/index',
329
+    pgk: 'main',
330
+    type: 'other',
331
+  },
332
+  {
333
+    name: '房贷计算结果',
334
+    page: 'pages/toolKit/calculateResult/index',
335
+    pgk: 'main',
336
+    type: 'other',
337
+  },
338
+  {
339
+    name: '城市列表',
340
+    page: 'pages/city/index',
341
+    pgk: 'main',
342
+    type: 'other',
343
+  },
344
+  {
345
+    name: '外链容器页',
346
+    page: 'pages/project/panorama/index',
347
+    pgk: 'main',
348
+    type: 'other',
349
+  },
350
+
351
+  /**
352
+   * 子包: 在线购房
353
+   */
354
+  {
355
+    name: '房源列表',
356
+    page: 'pages/houseList/index',
357
+    pgk: 'onlineSelling',
358
+    type: 'house',
359
+  },
360
+  {
361
+    name: '认筹流程',
362
+    page: 'pages/raiseMoney/index',
363
+    pgk: 'onlineSelling',
364
+    type: 'house',
365
+  },
366
+  {
367
+    name: '合同签署结果',
368
+    page: 'pages/raiseMoney/signResult',
369
+    pgk: 'onlineSelling',
370
+    type: 'house',
371
+  },
372
+  {
373
+    name: '实名认证',
374
+    page: 'pages/raiseMoney/Certification',
375
+    pgk: 'onlineSelling',
376
+    type: 'house',
377
+  },
378
+  {
379
+    name: '直播详情',
380
+    page: 'pages/live/index',
381
+    pgk: 'onlineSelling',
382
+    type: 'house',
383
+  },
384
+  {
385
+    name: '选房帮助',
386
+    page: 'pages/help/index',
387
+    pgk: 'onlineSelling',
388
+    type: 'house',
389
+  },
390
+  {
391
+    name: '选房记录',
392
+    page: 'pages/records/index',
393
+    pgk: 'onlineSelling',
394
+    type: 'house',
395
+  },
396
+  {
397
+    name: '房源详情',
398
+    page: 'pages/detail/index',
399
+    pgk: 'onlineSelling',
400
+    type: 'house',
401
+  },
402
+  {
403
+    name: '预选结果',
404
+    page: 'pages/detail/resultPage',
405
+    pgk: 'onlineSelling',
406
+    type: 'house',
407
+  },
408
+  {
409
+    name: '筛选房源',
410
+    page: 'pages/screenHouse/index',
411
+    pgk: 'onlineSelling',
412
+    type: 'house',
413
+  },
414
+  {
415
+    name: '选择置业',
416
+    page: 'pages/chooseConsultant/index',
417
+    pgk: 'onlineSelling',
418
+    type: 'house',
419
+  },
420
+  {
421
+    name: '认筹协议',
422
+    page: 'pages/protocol/index',
423
+    pgk: 'onlineSelling',
424
+    type: 'house',
425
+  },
426
+  {
427
+    name: '认筹单',
428
+    page: 'pages/raiseProfile/index',
429
+    pgk: 'onlineSelling',
430
+    type: 'house',
431
+  },
432
+  {
433
+    name: '房源清单',
434
+    page: 'pages/raiseProfile/houseResource',
435
+    pgk: 'onlineSelling',
436
+    type: 'house',
437
+  },
438
+  {
439
+    name: '添加预选房源',
440
+    page: 'pages/addHouse/index',
441
+    pgk: 'onlineSelling',
442
+    type: 'house',
443
+  },
444
+  {
445
+    name: '添加其他房源',
446
+    page: 'pages/houseCart/index',
447
+    pgk: 'onlineSelling',
448
+    type: 'house',
449
+  },
450
+
451
+
452
+  /**
453
+   * 子包: 不常用功能
454
+   */
455
+  {
456
+    name: '盘客工具',
457
+    page: 'pages/person/customerAnalysis/index',
458
+    pgk: 'useless',
459
+    type: 'agent',
460
+  },
461
+  {
462
+    name: '我的客户',   // 置业-我的客户
463
+    page: 'pages/person/customerAnalysis/myCustomer',
464
+    pgk: 'useless',
465
+    type: 'agent',
466
+  },
467
+  {
468
+    name: '客户分析',
469
+    page: 'pages/person/customerAnalysis/analysis',
470
+    pgk: 'useless',
471
+    type: 'agent',
472
+  },
473
+  {
474
+    name: '我的资料',
475
+    page: 'pages/person/profile/index',
476
+    pgk: 'useless',
477
+    type: 'agent',
478
+  },
479
+  {
480
+    name: '资料审核',
481
+    page: 'pages/person/profile/detail/index',
482
+    pgk: 'useless',
483
+    type: 'agent',
484
+  },
485
+  {
486
+    name: '我的主页',
487
+    page: 'pages/agent/index',
488
+    pgk: 'useless',
489
+    type: 'agent',
490
+  },
491
+  {
492
+    name: '成为经纪人',
493
+    page: 'pages/agent/become/index',
494
+    pgk: 'useless',
495
+    type: 'agent',
496
+  },
497
+  {
498
+    name: '推荐客户',
499
+    page: 'pages/agent/recommend/index',
500
+    pgk: 'useless',
501
+    type: 'agent',
502
+  },
503
+  {
504
+    name: '我的客户',   // 经纪人-我的客户
505
+    page: 'pages/agent/client/index',
506
+    pgk: 'useless',
507
+    type: 'agent',
508
+  },
509
+  {
510
+    name: '客户审核进度',
511
+    page: 'pages/agent/progress/index',
512
+    pgk: 'useless',
513
+    type: 'agent',
514
+  },
515
+  {
516
+    name: '意见反馈',
517
+    page: 'pages/person/feedback/index',
518
+    pgk: 'useless',
519
+    type: 'other',
520
+  },
521
+  {
522
+    name: '积分兑换记录',
523
+    page: 'pages/shop/record/index',
524
+    pgk: 'useless',
525
+    type: 'other',
526
+  },
527
+  // {
528
+  //   name: '我的邀请',
529
+  //   page: 'pages/agent/invitation/index',
530
+  //   pgk: 'useless',
531
+  //   type: '',
532
+  // },
533
+
534
+]
535
+
536
+/**
537
+ * 获取 app pages 列表
538
+ */
539
+function getPages() {
540
+  const grp = routes.reduce((g, r) => {
541
+    const { pgk, page } = r
542
+    const pg = g[pgk] || []
543
+    
544
+    return Object.assign(g, {
545
+      [`${pgk}`]: pg.concat(page),
546
+    })
547
+  }, {});
548
+
549
+  const pages = grp.main;
550
+  const subPackages = Object.keys(grp).filter(x => x !== 'main').reduce(((pkg, key) => {
551
+    return pkg.concat({
552
+      root: key,
553
+      pages: grp[key],
554
+    })
555
+  }),[])
556
+
557
+
558
+  return {
559
+    pages,
560
+    subPackages,
561
+  }
562
+}
563
+
564
+// eslint-disable-next-line import/no-commonjs
565
+module.exports = {
566
+  routes,
567
+  getPages,
568
+};

+ 13
- 10
src/utils/track.js Ver fichero

@@ -1,4 +1,5 @@
1 1
 import { savePoint, updatePoint } from '@/services/common'
2
+import { routes } from '../routes'
2 3
 
3 4
 // 此处映射需要与 td_biz_event_type 一致
4 5
 const pathEventTypeMap = {
@@ -18,34 +19,36 @@ const pathEventTypeMap = {
18 19
  * 用户来源
19 20
  * @param {*} router 
20 21
  */
22
+// eslint-disable-next-line import/prefer-default-export
21 23
 export async function trackUserSource(router) {
22 24
   const { path, query, scene } = router || {}
23 25
 
24
-  const pageInfo = pathEventTypeMap[path] || { type: '', desc: '其他' }
26
+  const pageInfo = routes.filter(x => path.indexOf(x.page) > -1)[0] || { type: 'other', name: '其他' }
25 27
 
26 28
   const trackPayload = {
27 29
     event: 'start',
28 30
     eventType: pageInfo.type,
29
-    propertyName: pageInfo.desc,
31
+    propertyName: pageInfo.name,
30 32
     data: '{}',
31 33
     id: (query || {}).id,
32 34
     buildingId: (query || {}).buildingId || '',
35
+    realScene: scene,
33 36
     sceneId: scene,
34 37
     sharePersonId: (query || {}).recommender,
35 38
   }
36
-  console.log(trackPayload, "trackPayloadtrackPayloadtrackPayload")
37
-  console.log(trackPayload.sceneId, "sceneIdsceneIdsceneIdsceneIdsceneId")
38
-  console.log(trackPayload.eventType, "eventTypeeventTypeeventTypeeventTypeeventType")
39
+
40
+  console.log('---app track--->', trackPayload)
39 41
 
40 42
   try {
41 43
     const sceneList = [1005, 1006, 1053, 1042, 1007, 1008, 1011, 1012, 1013, 1045, 1046, 1047, 1048, 1058, 1067, 1000]
42
-    if (sceneList.indexOf(trackPayload.sceneId) != -1) {
43
-
44
-      const { recordId } = await savePoint(trackPayload)
45
-      return function () { updatePoint(recordId); }
46 44
 
45
+    // 任意页面进入小程序, 都需要埋点
46
+    // 2020年4月27日 v3.5.21 统计版本
47
+    if (sceneList.indexOf(trackPayload.sceneId) === -1) {
48
+      trackPayload.sceneId = 1000
47 49
     }
48
-
50
+    const { recordId } = await savePoint(trackPayload)
51
+    return function () { updatePoint(recordId); }
49 52
   } catch (e) {
50 53
     console.error('进入小程序埋点出错:', e);
51 54
     return function () { }

+ 77
- 70
yarn.lock Ver fichero

@@ -138,7 +138,7 @@
138 138
 
139 139
 "@tarojs/cli@1.3.25":
140 140
   version "1.3.25"
141
-  resolved "https://registry.npm.taobao.org/@tarojs/cli/download/@tarojs/cli-1.3.25.tgz#c009179735aecfc8b37f28551dc8c07193759c48"
141
+  resolved "https://registry.npm.taobao.org/@tarojs/cli/download/@tarojs/cli-1.3.25.tgz?cache=0&sync_timestamp=1587870666725&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40tarojs%2Fcli%2Fdownload%2F%40tarojs%2Fcli-1.3.25.tgz#c009179735aecfc8b37f28551dc8c07193759c48"
142 142
   integrity sha1-wAkXlzWuz8izfyhVHcjAcZN1nEg=
143 143
   dependencies:
144 144
     "@tarojs/taroize" "1.3.25"
@@ -225,7 +225,7 @@
225 225
 
226 226
 "@tarojs/components@1.3.25":
227 227
   version "1.3.25"
228
-  resolved "https://registry.npm.taobao.org/@tarojs/components/download/@tarojs/components-1.3.25.tgz#1648a25f8a0aa7624ce23f37e5f3b9828e9b2570"
228
+  resolved "https://registry.npm.taobao.org/@tarojs/components/download/@tarojs/components-1.3.25.tgz?cache=0&sync_timestamp=1587869858867&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40tarojs%2Fcomponents%2Fdownload%2F%40tarojs%2Fcomponents-1.3.25.tgz#1648a25f8a0aa7624ce23f37e5f3b9828e9b2570"
229 229
   integrity sha1-FkiiX4oKp2JM4j835fO5go6bJXA=
230 230
   dependencies:
231 231
     better-scroll "^1.14.1"
@@ -238,51 +238,51 @@
238 238
 
239 239
 "@tarojs/plugin-babel@1.3.25":
240 240
   version "1.3.25"
241
-  resolved "https://registry.npm.taobao.org/@tarojs/plugin-babel/download/@tarojs/plugin-babel-1.3.25.tgz?cache=0&sync_timestamp=1587392594010&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40tarojs%2Fplugin-babel%2Fdownload%2F%40tarojs%2Fplugin-babel-1.3.25.tgz#2085e105fa2bfd7c3e64227bee987a7fb23bd05a"
241
+  resolved "https://registry.npm.taobao.org/@tarojs/plugin-babel/download/@tarojs/plugin-babel-1.3.25.tgz?cache=0&sync_timestamp=1587869859666&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40tarojs%2Fplugin-babel%2Fdownload%2F%40tarojs%2Fplugin-babel-1.3.25.tgz#2085e105fa2bfd7c3e64227bee987a7fb23bd05a"
242 242
   integrity sha1-IIXhBfor/Xw+ZCJ77ph6f7I70Fo=
243 243
   dependencies:
244 244
     babel-core "^6.26.0"
245 245
 
246 246
 "@tarojs/plugin-csso@1.3.25":
247 247
   version "1.3.25"
248
-  resolved "https://registry.npm.taobao.org/@tarojs/plugin-csso/download/@tarojs/plugin-csso-1.3.25.tgz?cache=0&sync_timestamp=1587392617418&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40tarojs%2Fplugin-csso%2Fdownload%2F%40tarojs%2Fplugin-csso-1.3.25.tgz#f16533650cdb6ecd0e18a880f4a97d48b87040d7"
248
+  resolved "https://registry.npm.taobao.org/@tarojs/plugin-csso/download/@tarojs/plugin-csso-1.3.25.tgz?cache=0&sync_timestamp=1587869863332&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40tarojs%2Fplugin-csso%2Fdownload%2F%40tarojs%2Fplugin-csso-1.3.25.tgz#f16533650cdb6ecd0e18a880f4a97d48b87040d7"
249 249
   integrity sha1-8WUzZQzbbs0OGKiA9Kl9SLhwQNc=
250 250
   dependencies:
251 251
     csso "^3.5.0"
252 252
 
253 253
 "@tarojs/plugin-less@1.3.25":
254 254
   version "1.3.25"
255
-  resolved "https://registry.npm.taobao.org/@tarojs/plugin-less/download/@tarojs/plugin-less-1.3.25.tgz?cache=0&sync_timestamp=1587392451500&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40tarojs%2Fplugin-less%2Fdownload%2F%40tarojs%2Fplugin-less-1.3.25.tgz#79d16715efd9dca8d9943c99db838710a7d42d24"
255
+  resolved "https://registry.npm.taobao.org/@tarojs/plugin-less/download/@tarojs/plugin-less-1.3.25.tgz#79d16715efd9dca8d9943c99db838710a7d42d24"
256 256
   integrity sha1-edFnFe/Z3KjZlDyZ24OHEKfULSQ=
257 257
   dependencies:
258 258
     less "^3.0.4"
259 259
 
260 260
 "@tarojs/plugin-sass@1.3.25":
261 261
   version "1.3.25"
262
-  resolved "https://registry.npm.taobao.org/@tarojs/plugin-sass/download/@tarojs/plugin-sass-1.3.25.tgz#f1e2932f46819da7b9e89f4a985be70b3dacd0a9"
262
+  resolved "https://registry.npm.taobao.org/@tarojs/plugin-sass/download/@tarojs/plugin-sass-1.3.25.tgz?cache=0&sync_timestamp=1587869865097&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40tarojs%2Fplugin-sass%2Fdownload%2F%40tarojs%2Fplugin-sass-1.3.25.tgz#f1e2932f46819da7b9e89f4a985be70b3dacd0a9"
263 263
   integrity sha1-8eKTL0aBnae56J9KmFvnCz2s0Kk=
264 264
   dependencies:
265 265
     node-sass "^4.12.0"
266 266
     scss-bundle "^2.5.1"
267 267
 
268
-"@tarojs/plugin-sass@^2.1.5":
269
-  version "2.1.5"
270
-  resolved "https://registry.npm.taobao.org/@tarojs/plugin-sass/download/@tarojs/plugin-sass-2.1.5.tgz#f0ea12bb4269b9d778db204a18f15e6742a28fe5"
271
-  integrity sha1-8OoSu0Jpudd42yBKGPFeZ0Kij+U=
268
+"@tarojs/plugin-sass@^1.3.25":
269
+  version "1.3.42"
270
+  resolved "https://registry.npm.taobao.org/@tarojs/plugin-sass/download/@tarojs/plugin-sass-1.3.42.tgz?cache=0&sync_timestamp=1587869865097&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40tarojs%2Fplugin-sass%2Fdownload%2F%40tarojs%2Fplugin-sass-1.3.42.tgz#56cb31582ba71946450a3daeed3447c9dd3b4ae6"
271
+  integrity sha1-VssxWCunGUZFCj2u7TRHyd07SuY=
272 272
   dependencies:
273 273
     node-sass "^4.12.0"
274 274
     scss-bundle "^2.5.1"
275 275
 
276 276
 "@tarojs/plugin-uglifyjs@1.3.25":
277 277
   version "1.3.25"
278
-  resolved "https://registry.npm.taobao.org/@tarojs/plugin-uglifyjs/download/@tarojs/plugin-uglifyjs-1.3.25.tgz#4c7e9e0ee4795812979f2cef51ca7b1daea6cf3a"
278
+  resolved "https://registry.npm.taobao.org/@tarojs/plugin-uglifyjs/download/@tarojs/plugin-uglifyjs-1.3.25.tgz?cache=0&sync_timestamp=1587869864342&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40tarojs%2Fplugin-uglifyjs%2Fdownload%2F%40tarojs%2Fplugin-uglifyjs-1.3.25.tgz#4c7e9e0ee4795812979f2cef51ca7b1daea6cf3a"
279 279
   integrity sha1-TH6eDuR5WBKXnyzvUcp7Ha6mzzo=
280 280
   dependencies:
281 281
     uglify-js "^3.3.24"
282 282
 
283 283
 "@tarojs/redux@^1.3.25":
284 284
   version "1.3.42"
285
-  resolved "https://registry.npm.taobao.org/@tarojs/redux/download/@tarojs/redux-1.3.42.tgz?cache=0&sync_timestamp=1587392458586&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40tarojs%2Fredux%2Fdownload%2F%40tarojs%2Fredux-1.3.42.tgz#40876a61e5aa66e02d6d2f8658ba7d33248c2cf4"
285
+  resolved "https://registry.npm.taobao.org/@tarojs/redux/download/@tarojs/redux-1.3.42.tgz?cache=0&sync_timestamp=1587870167684&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40tarojs%2Fredux%2Fdownload%2F%40tarojs%2Fredux-1.3.42.tgz#40876a61e5aa66e02d6d2f8658ba7d33248c2cf4"
286 286
   integrity sha1-QIdqYeWqZuAtbS+GWLp9MySMLPQ=
287 287
   dependencies:
288 288
     "@tarojs/taro" "1.3.42"
@@ -290,7 +290,7 @@
290 290
 
291 291
 "@tarojs/router@1.3.25":
292 292
   version "1.3.25"
293
-  resolved "https://registry.npm.taobao.org/@tarojs/router/download/@tarojs/router-1.3.25.tgz?cache=0&sync_timestamp=1587392455758&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40tarojs%2Frouter%2Fdownload%2F%40tarojs%2Frouter-1.3.25.tgz#101338d9da181dcd53a9db3566faa1dfb2bdda9f"
293
+  resolved "https://registry.npm.taobao.org/@tarojs/router/download/@tarojs/router-1.3.25.tgz?cache=0&sync_timestamp=1587869870268&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40tarojs%2Frouter%2Fdownload%2F%40tarojs%2Frouter-1.3.25.tgz#101338d9da181dcd53a9db3566faa1dfb2bdda9f"
294 294
   integrity sha1-EBM42doYHc1Tqds1Zvqh37K92p8=
295 295
   dependencies:
296 296
     invariant "2.2.4"
@@ -313,7 +313,7 @@
313 313
 
314 314
 "@tarojs/taro-weapp@1.3.25":
315 315
   version "1.3.25"
316
-  resolved "https://registry.npm.taobao.org/@tarojs/taro-weapp/download/@tarojs/taro-weapp-1.3.25.tgz?cache=0&sync_timestamp=1587392461970&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40tarojs%2Ftaro-weapp%2Fdownload%2F%40tarojs%2Ftaro-weapp-1.3.25.tgz#a25f82b10e5a62b1be66d9157e547814d6932252"
316
+  resolved "https://registry.npm.taobao.org/@tarojs/taro-weapp/download/@tarojs/taro-weapp-1.3.25.tgz?cache=0&sync_timestamp=1587869878069&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40tarojs%2Ftaro-weapp%2Fdownload%2F%40tarojs%2Ftaro-weapp-1.3.25.tgz#a25f82b10e5a62b1be66d9157e547814d6932252"
317 317
   integrity sha1-ol+CsQ5aYrG+ZtkVflR4FNaTIlI=
318 318
   dependencies:
319 319
     "@tarojs/taro" "1.3.25"
@@ -323,21 +323,21 @@
323 323
 
324 324
 "@tarojs/taro@1.3.25":
325 325
   version "1.3.25"
326
-  resolved "https://registry.npm.taobao.org/@tarojs/taro/download/@tarojs/taro-1.3.25.tgz?cache=0&sync_timestamp=1587392457716&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40tarojs%2Ftaro%2Fdownload%2F%40tarojs%2Ftaro-1.3.25.tgz#70fa2ec933da30f08770739478a76a7ecb752358"
326
+  resolved "https://registry.npm.taobao.org/@tarojs/taro/download/@tarojs/taro-1.3.25.tgz?cache=0&sync_timestamp=1587869873807&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40tarojs%2Ftaro%2Fdownload%2F%40tarojs%2Ftaro-1.3.25.tgz#70fa2ec933da30f08770739478a76a7ecb752358"
327 327
   integrity sha1-cPouyTPaMPCHcHOUeKdqfst1I1g=
328 328
   dependencies:
329 329
     "@tarojs/utils" "1.3.25"
330 330
 
331 331
 "@tarojs/taro@1.3.42":
332 332
   version "1.3.42"
333
-  resolved "https://registry.npm.taobao.org/@tarojs/taro/download/@tarojs/taro-1.3.42.tgz?cache=0&sync_timestamp=1587392457716&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40tarojs%2Ftaro%2Fdownload%2F%40tarojs%2Ftaro-1.3.42.tgz#12f995a7c0120dc7b14f08037bcbec1d2b4661ac"
333
+  resolved "https://registry.npm.taobao.org/@tarojs/taro/download/@tarojs/taro-1.3.42.tgz?cache=0&sync_timestamp=1587869873807&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40tarojs%2Ftaro%2Fdownload%2F%40tarojs%2Ftaro-1.3.42.tgz#12f995a7c0120dc7b14f08037bcbec1d2b4661ac"
334 334
   integrity sha1-EvmVp8ASDcexTwgDe8vsHStGYaw=
335 335
   dependencies:
336 336
     "@tarojs/utils" "1.3.42"
337 337
 
338 338
 "@tarojs/taroize@1.3.25":
339 339
   version "1.3.25"
340
-  resolved "https://registry.npm.taobao.org/@tarojs/taroize/download/@tarojs/taroize-1.3.25.tgz?cache=0&sync_timestamp=1587392412075&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40tarojs%2Ftaroize%2Fdownload%2F%40tarojs%2Ftaroize-1.3.25.tgz#9e78400c5fbfe3c58da150449376e917719cc89e"
340
+  resolved "https://registry.npm.taobao.org/@tarojs/taroize/download/@tarojs/taroize-1.3.25.tgz?cache=0&sync_timestamp=1587870658136&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40tarojs%2Ftaroize%2Fdownload%2F%40tarojs%2Ftaroize-1.3.25.tgz#9e78400c5fbfe3c58da150449376e917719cc89e"
341 341
   integrity sha1-nnhADF+/48WNoVBEk3bpF3GcyJ4=
342 342
   dependencies:
343 343
     "@babel/code-frame" "^7.0.0"
@@ -354,7 +354,7 @@
354 354
 
355 355
 "@tarojs/transformer-wx@1.3.25":
356 356
   version "1.3.25"
357
-  resolved "https://registry.npm.taobao.org/@tarojs/transformer-wx/download/@tarojs/transformer-wx-1.3.25.tgz?cache=0&sync_timestamp=1587392411722&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40tarojs%2Ftransformer-wx%2Fdownload%2F%40tarojs%2Ftransformer-wx-1.3.25.tgz#a1d974f14a3216598f40894bbd1e713106d85180"
357
+  resolved "https://registry.npm.taobao.org/@tarojs/transformer-wx/download/@tarojs/transformer-wx-1.3.25.tgz?cache=0&sync_timestamp=1587869874735&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40tarojs%2Ftransformer-wx%2Fdownload%2F%40tarojs%2Ftransformer-wx-1.3.25.tgz#a1d974f14a3216598f40894bbd1e713106d85180"
358 358
   integrity sha1-odl08UoyFlmPQIlLvR5xMQbYUYA=
359 359
   dependencies:
360 360
     "@babel/code-frame" "^7.0.0-beta.44"
@@ -384,17 +384,17 @@
384 384
 
385 385
 "@tarojs/utils@1.3.25":
386 386
   version "1.3.25"
387
-  resolved "https://registry.npm.taobao.org/@tarojs/utils/download/@tarojs/utils-1.3.25.tgz#646698f3bb2babed837447617ccec7bd4ee393e3"
387
+  resolved "https://registry.npm.taobao.org/@tarojs/utils/download/@tarojs/utils-1.3.25.tgz?cache=0&sync_timestamp=1587869857562&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40tarojs%2Futils%2Fdownload%2F%40tarojs%2Futils-1.3.25.tgz#646698f3bb2babed837447617ccec7bd4ee393e3"
388 388
   integrity sha1-ZGaY87srq+2DdEdhfM7HvU7jk+M=
389 389
 
390 390
 "@tarojs/utils@1.3.42":
391 391
   version "1.3.42"
392
-  resolved "https://registry.npm.taobao.org/@tarojs/utils/download/@tarojs/utils-1.3.42.tgz#93b62c742901297e7f4a30a2e716a90635eb3873"
392
+  resolved "https://registry.npm.taobao.org/@tarojs/utils/download/@tarojs/utils-1.3.42.tgz?cache=0&sync_timestamp=1587869857562&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40tarojs%2Futils%2Fdownload%2F%40tarojs%2Futils-1.3.42.tgz#93b62c742901297e7f4a30a2e716a90635eb3873"
393 393
   integrity sha1-k7YsdCkBKX5/SjCi5xapBjXrOHM=
394 394
 
395 395
 "@tarojs/webpack-runner@1.3.25":
396 396
   version "1.3.25"
397
-  resolved "https://registry.npm.taobao.org/@tarojs/webpack-runner/download/@tarojs/webpack-runner-1.3.25.tgz?cache=0&sync_timestamp=1587392461558&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40tarojs%2Fwebpack-runner%2Fdownload%2F%40tarojs%2Fwebpack-runner-1.3.25.tgz#e363ff14f36ed047f17294922d04a99b05861fdc"
397
+  resolved "https://registry.npm.taobao.org/@tarojs/webpack-runner/download/@tarojs/webpack-runner-1.3.25.tgz?cache=0&sync_timestamp=1587870170325&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40tarojs%2Fwebpack-runner%2Fdownload%2F%40tarojs%2Fwebpack-runner-1.3.25.tgz#e363ff14f36ed047f17294922d04a99b05861fdc"
398 398
   integrity sha1-42P/FPNu0EfxcpSSLQSpmwWGH9w=
399 399
   dependencies:
400 400
     "@tarojs/plugin-sass" "1.3.25"
@@ -528,7 +528,7 @@
528 528
 
529 529
 "@typescript-eslint/experimental-utils@2.29.0":
530 530
   version "2.29.0"
531
-  resolved "https://registry.npm.taobao.org/@typescript-eslint/experimental-utils/download/@typescript-eslint/experimental-utils-2.29.0.tgz?cache=0&sync_timestamp=1587403504946&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40typescript-eslint%2Fexperimental-utils%2Fdownload%2F%40typescript-eslint%2Fexperimental-utils-2.29.0.tgz#3cb8060de9265ba131625a96bbfec31ba6d4a0fe"
531
+  resolved "https://registry.npm.taobao.org/@typescript-eslint/experimental-utils/download/@typescript-eslint/experimental-utils-2.29.0.tgz#3cb8060de9265ba131625a96bbfec31ba6d4a0fe"
532 532
   integrity sha1-PLgGDekmW6ExYlqWu/7DG6bUoP4=
533 533
   dependencies:
534 534
     "@types/json-schema" "^7.0.3"
@@ -548,7 +548,7 @@
548 548
 
549 549
 "@typescript-eslint/typescript-estree@2.29.0":
550 550
   version "2.29.0"
551
-  resolved "https://registry.npm.taobao.org/@typescript-eslint/typescript-estree/download/@typescript-eslint/typescript-estree-2.29.0.tgz?cache=0&sync_timestamp=1587403033838&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40typescript-eslint%2Ftypescript-estree%2Fdownload%2F%40typescript-eslint%2Ftypescript-estree-2.29.0.tgz#1be6612bb02fc37ac9f466521c1459a4744e8d3a"
551
+  resolved "https://registry.npm.taobao.org/@typescript-eslint/typescript-estree/download/@typescript-eslint/typescript-estree-2.29.0.tgz#1be6612bb02fc37ac9f466521c1459a4744e8d3a"
552 552
   integrity sha1-G+ZhK7Avw3rJ9GZSHBRZpHROjTo=
553 553
   dependencies:
554 554
     debug "^4.1.1"
@@ -1415,7 +1415,7 @@ babel-plugin-danger-remove-unused-import@^1.1.1:
1415 1415
   resolved "http://r.cnpmjs.org/babel-plugin-danger-remove-unused-import/download/babel-plugin-danger-remove-unused-import-1.1.2.tgz#ac39c30edfe524ef8cfc411fec5edc479d19e132"
1416 1416
   integrity sha1-rDnDDt/lJO+M/EEf7F7cR50Z4TI=
1417 1417
 
1418
-babel-plugin-macros@^2.0.0:
1418
+babel-plugin-macros@^2.0.0, babel-plugin-macros@^2.8.0:
1419 1419
   version "2.8.0"
1420 1420
   resolved "https://registry.npm.taobao.org/babel-plugin-macros/download/babel-plugin-macros-2.8.0.tgz#0f958a7cc6556b1e65344465d99111a1e5e10138"
1421 1421
   integrity sha1-D5WKfMZVax5lNERl2ZERoeXhATg=
@@ -1441,6 +1441,15 @@ babel-plugin-preval@1.6.4:
1441 1441
     babylon "^6.18.0"
1442 1442
     require-from-string "^2.0.1"
1443 1443
 
1444
+babel-plugin-preval@^5.0.0:
1445
+  version "5.0.0"
1446
+  resolved "https://registry.npm.taobao.org/babel-plugin-preval/download/babel-plugin-preval-5.0.0.tgz?cache=0&sync_timestamp=1584933834382&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fbabel-plugin-preval%2Fdownload%2Fbabel-plugin-preval-5.0.0.tgz#6cabb947ecc241664966e1f99eb56a3b4bb63d1e"
1447
+  integrity sha1-bKu5R+zCQWZJZuH5nrVqO0u2PR4=
1448
+  dependencies:
1449
+    "@babel/runtime" "^7.9.2"
1450
+    babel-plugin-macros "^2.8.0"
1451
+    require-from-string "^2.0.2"
1452
+
1444 1453
 babel-plugin-remove-dead-code@^1.3.2:
1445 1454
   version "1.3.2"
1446 1455
   resolved "http://r.cnpmjs.org/babel-plugin-remove-dead-code/download/babel-plugin-remove-dead-code-1.3.2.tgz#e1a2cd9595bb2f767291f35cab4ec9b467ee62c6"
@@ -1771,7 +1780,7 @@ babel-plugin-transform-jsx-stylesheet@^0.6.5:
1771 1780
 
1772 1781
 babel-plugin-transform-jsx-to-stylesheet@1.3.25:
1773 1782
   version "1.3.25"
1774
-  resolved "https://registry.npm.taobao.org/babel-plugin-transform-jsx-to-stylesheet/download/babel-plugin-transform-jsx-to-stylesheet-1.3.25.tgz?cache=0&sync_timestamp=1587392411365&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fbabel-plugin-transform-jsx-to-stylesheet%2Fdownload%2Fbabel-plugin-transform-jsx-to-stylesheet-1.3.25.tgz#d6ec4eece277aeb251eeb4231cbc3198864653d5"
1783
+  resolved "https://registry.npm.taobao.org/babel-plugin-transform-jsx-to-stylesheet/download/babel-plugin-transform-jsx-to-stylesheet-1.3.25.tgz#d6ec4eece277aeb251eeb4231cbc3198864653d5"
1775 1784
   integrity sha1-1uxO7OJ3rrJR7rQjHLwxmIZGU9U=
1776 1785
 
1777 1786
 babel-plugin-transform-object-rest-spread@^6.26.0:
@@ -1808,12 +1817,12 @@ babel-plugin-transform-strict-mode@^6.24.1:
1808 1817
 
1809 1818
 babel-plugin-transform-taroapi@1.3.15:
1810 1819
   version "1.3.15"
1811
-  resolved "https://registry.npm.taobao.org/babel-plugin-transform-taroapi/download/babel-plugin-transform-taroapi-1.3.15.tgz?cache=0&sync_timestamp=1587392454540&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fbabel-plugin-transform-taroapi%2Fdownload%2Fbabel-plugin-transform-taroapi-1.3.15.tgz#413de3cc47389387bbd36be292d8945d36caf52e"
1820
+  resolved "https://registry.npm.taobao.org/babel-plugin-transform-taroapi/download/babel-plugin-transform-taroapi-1.3.15.tgz?cache=0&sync_timestamp=1587869872042&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fbabel-plugin-transform-taroapi%2Fdownload%2Fbabel-plugin-transform-taroapi-1.3.15.tgz#413de3cc47389387bbd36be292d8945d36caf52e"
1812 1821
   integrity sha1-QT3jzEc4k4e702viktiUXTbK9S4=
1813 1822
 
1814 1823
 babel-plugin-transform-taroapi@1.3.25:
1815 1824
   version "1.3.25"
1816
-  resolved "https://registry.npm.taobao.org/babel-plugin-transform-taroapi/download/babel-plugin-transform-taroapi-1.3.25.tgz?cache=0&sync_timestamp=1587392454540&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fbabel-plugin-transform-taroapi%2Fdownload%2Fbabel-plugin-transform-taroapi-1.3.25.tgz#fb361e0e1d6680b012dc0c44f7165f16b416874a"
1825
+  resolved "https://registry.npm.taobao.org/babel-plugin-transform-taroapi/download/babel-plugin-transform-taroapi-1.3.25.tgz?cache=0&sync_timestamp=1587869872042&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fbabel-plugin-transform-taroapi%2Fdownload%2Fbabel-plugin-transform-taroapi-1.3.25.tgz#fb361e0e1d6680b012dc0c44f7165f16b416874a"
1817 1826
   integrity sha1-+zYeDh1mgLAS3AxE9xZfFrQWh0o=
1818 1827
 
1819 1828
 babel-preset-env@^1.6.1:
@@ -2242,7 +2251,7 @@ buffer@^4.3.0:
2242 2251
 
2243 2252
 buffer@^5.2.1:
2244 2253
   version "5.6.0"
2245
-  resolved "https://registry.npm.taobao.org/buffer/download/buffer-5.6.0.tgz#a31749dc7d81d84db08abf937b6b8c4033f62786"
2254
+  resolved "https://registry.npm.taobao.org/buffer/download/buffer-5.6.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fbuffer%2Fdownload%2Fbuffer-5.6.0.tgz#a31749dc7d81d84db08abf937b6b8c4033f62786"
2246 2255
   integrity sha1-oxdJ3H2B2E2wir+Te2uMQDP2J4Y=
2247 2256
   dependencies:
2248 2257
     base64-js "^1.0.2"
@@ -2546,9 +2555,9 @@ chardet@^0.7.0:
2546 2555
   integrity sha1-kAlISfCTfy7twkJdDSip5fDLrZ4=
2547 2556
 
2548 2557
 "chokidar@>=2.0.0 <4.0.0":
2549
-  version "3.3.1"
2550
-  resolved "https://registry.npm.taobao.org/chokidar/download/chokidar-3.3.1.tgz?cache=0&sync_timestamp=1587380303979&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fchokidar%2Fdownload%2Fchokidar-3.3.1.tgz#c84e5b3d18d9a4d77558fef466b1bf16bbeb3450"
2551
-  integrity sha1-yE5bPRjZpNd1WP70ZrG/FrvrNFA=
2558
+  version "3.4.0"
2559
+  resolved "https://registry.npm.taobao.org/chokidar/download/chokidar-3.4.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fchokidar%2Fdownload%2Fchokidar-3.4.0.tgz#b30611423ce376357c765b9b8f904b9fba3c0be8"
2560
+  integrity sha1-swYRQjzjdjV8dlubj5BLn7o8C+g=
2552 2561
   dependencies:
2553 2562
     anymatch "~3.1.1"
2554 2563
     braces "~3.0.2"
@@ -2556,7 +2565,7 @@ chardet@^0.7.0:
2556 2565
     is-binary-path "~2.1.0"
2557 2566
     is-glob "~4.0.1"
2558 2567
     normalize-path "~3.0.0"
2559
-    readdirp "~3.3.0"
2568
+    readdirp "~3.4.0"
2560 2569
   optionalDependencies:
2561 2570
     fsevents "~2.1.2"
2562 2571
 
@@ -2834,7 +2843,7 @@ commander@~2.19.0:
2834 2843
 
2835 2844
 commander@~2.8.1:
2836 2845
   version "2.8.1"
2837
-  resolved "https://registry.npm.taobao.org/commander/download/commander-2.8.1.tgz?cache=0&sync_timestamp=1584148407069&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcommander%2Fdownload%2Fcommander-2.8.1.tgz#06be367febfda0c330aa1e2a072d3dc9762425d4"
2846
+  resolved "https://registry.npm.taobao.org/commander/download/commander-2.8.1.tgz#06be367febfda0c330aa1e2a072d3dc9762425d4"
2838 2847
   integrity sha1-Br42f+v9oMMwqh4qBy09yXYkJdQ=
2839 2848
   dependencies:
2840 2849
     graceful-readlink ">= 1.0.0"
@@ -3933,7 +3942,7 @@ escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5:
3933 3942
 
3934 3943
 eslint-config-taro@1.3.25:
3935 3944
   version "1.3.25"
3936
-  resolved "https://registry.npm.taobao.org/eslint-config-taro/download/eslint-config-taro-1.3.25.tgz?cache=0&sync_timestamp=1587392411520&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Feslint-config-taro%2Fdownload%2Feslint-config-taro-1.3.25.tgz#2942428afec697363bb500444c0e7d24e5680913"
3945
+  resolved "https://registry.npm.taobao.org/eslint-config-taro/download/eslint-config-taro-1.3.25.tgz?cache=0&sync_timestamp=1587869873099&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Feslint-config-taro%2Fdownload%2Feslint-config-taro-1.3.25.tgz#2942428afec697363bb500444c0e7d24e5680913"
3937 3946
   integrity sha1-KUJCiv7GlzY7tQBETA59JOVoCRM=
3938 3947
   dependencies:
3939 3948
     eslint-plugin-taro "1.3.25"
@@ -4010,7 +4019,7 @@ eslint-plugin-react@^7.4.0, eslint-plugin-react@^7.8.2:
4010 4019
 
4011 4020
 eslint-plugin-taro@1.3.25:
4012 4021
   version "1.3.25"
4013
-  resolved "https://registry.npm.taobao.org/eslint-plugin-taro/download/eslint-plugin-taro-1.3.25.tgz?cache=0&sync_timestamp=1587392410740&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Feslint-plugin-taro%2Fdownload%2Feslint-plugin-taro-1.3.25.tgz#0739dafc1aae5309eaf07fe97727a5ea545d2f59"
4022
+  resolved "https://registry.npm.taobao.org/eslint-plugin-taro/download/eslint-plugin-taro-1.3.25.tgz?cache=0&sync_timestamp=1587869867967&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Feslint-plugin-taro%2Fdownload%2Feslint-plugin-taro-1.3.25.tgz#0739dafc1aae5309eaf07fe97727a5ea545d2f59"
4014 4023
   integrity sha1-Bzna/BquUwnq8H/pdyel6lRdL1k=
4015 4024
   dependencies:
4016 4025
     has "^1.0.1"
@@ -4074,7 +4083,7 @@ eslint-visitor-keys@^1.0.0, eslint-visitor-keys@^1.1.0:
4074 4083
 
4075 4084
 eslint@5.16.0, eslint@^5.16.0:
4076 4085
   version "5.16.0"
4077
-  resolved "https://registry.npm.taobao.org/eslint/download/eslint-5.16.0.tgz?cache=0&sync_timestamp=1585359149021&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Feslint%2Fdownload%2Feslint-5.16.0.tgz#a1e3ac1aae4a3fbd8296fcf8f7ab7314cbb6abea"
4086
+  resolved "https://registry.npm.taobao.org/eslint/download/eslint-5.16.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Feslint%2Fdownload%2Feslint-5.16.0.tgz#a1e3ac1aae4a3fbd8296fcf8f7ab7314cbb6abea"
4078 4087
   integrity sha1-oeOsGq5KP72Clvz496tzFMu2q+o=
4079 4088
   dependencies:
4080 4089
     "@babel/code-frame" "^7.0.0"
@@ -4116,7 +4125,7 @@ eslint@5.16.0, eslint@^5.16.0:
4116 4125
 
4117 4126
 eslint@^6.1.0:
4118 4127
   version "6.8.0"
4119
-  resolved "https://registry.npm.taobao.org/eslint/download/eslint-6.8.0.tgz?cache=0&sync_timestamp=1585359149021&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Feslint%2Fdownload%2Feslint-6.8.0.tgz#62262d6729739f9275723824302fb227c8c93ffb"
4128
+  resolved "https://registry.npm.taobao.org/eslint/download/eslint-6.8.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Feslint%2Fdownload%2Feslint-6.8.0.tgz#62262d6729739f9275723824302fb227c8c93ffb"
4120 4129
   integrity sha1-YiYtZylzn5J1cjgkMC+yJ8jJP/s=
4121 4130
   dependencies:
4122 4131
     "@babel/code-frame" "^7.0.0"
@@ -4890,9 +4899,9 @@ fsevents@^1.2.7:
4890 4899
     node-pre-gyp "^0.12.0"
4891 4900
 
4892 4901
 fsevents@~2.1.2:
4893
-  version "2.1.2"
4894
-  resolved "https://registry.npm.taobao.org/fsevents/download/fsevents-2.1.2.tgz#4c0a1fb34bc68e543b4b82a9ec392bfbda840805"
4895
-  integrity sha1-TAofs0vGjlQ7S4Kp7Dkr+9qECAU=
4902
+  version "2.1.3"
4903
+  resolved "https://registry.npm.taobao.org/fsevents/download/fsevents-2.1.3.tgz?cache=0&sync_timestamp=1587572647225&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ffsevents%2Fdownload%2Ffsevents-2.1.3.tgz#fb738703ae8d2f9fe900c33836ddebee8b97f23e"
4904
+  integrity sha1-+3OHA66NL5/pAMM4Nt3r7ouX8j4=
4896 4905
 
4897 4906
 fstream@^1.0.0, fstream@^1.0.12:
4898 4907
   version "1.0.12"
@@ -7198,9 +7207,9 @@ mime-db@1.40.0:
7198 7207
   integrity sha1-PiUpB7THrbkGWXtLZWNics+ee6w=
7199 7208
 
7200 7209
 mime-db@^1.28.0:
7201
-  version "1.43.0"
7202
-  resolved "https://registry.npm.taobao.org/mime-db/download/mime-db-1.43.0.tgz?cache=0&sync_timestamp=1578281193492&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fmime-db%2Fdownload%2Fmime-db-1.43.0.tgz#0a12e0502650e473d735535050e7c8f4eb4fae58"
7203
-  integrity sha1-ChLgUCZQ5HPXNVNQUOfI9OtPrlg=
7210
+  version "1.44.0"
7211
+  resolved "https://registry.npm.taobao.org/mime-db/download/mime-db-1.44.0.tgz#fa11c5eb0aca1334b4233cb4d52f10c5a6272f92"
7212
+  integrity sha1-+hHF6wrKEzS0Izy01S8QxaYnL5I=
7204 7213
 
7205 7214
 mime-types@^2.1.12, mime-types@~2.1.17, mime-types@~2.1.19, mime-types@~2.1.24:
7206 7215
   version "2.1.24"
@@ -7639,9 +7648,9 @@ node-sass@^4.10.0, node-sass@^4.12.0:
7639 7648
     "true-case-path" "^1.0.2"
7640 7649
 
7641 7650
 node-sass@^4.13.1:
7642
-  version "4.13.1"
7643
-  resolved "https://registry.npm.taobao.org/node-sass/download/node-sass-4.13.1.tgz#9db5689696bb2eec2c32b98bfea4c7a2e992d0a3"
7644
-  integrity sha1-nbVolpa7LuwsMrmL/qTHoumS0KM=
7651
+  version "4.14.0"
7652
+  resolved "https://registry.npm.taobao.org/node-sass/download/node-sass-4.14.0.tgz#a8e9d7720f8e15b4a1072719dcf04006f5648eeb"
7653
+  integrity sha1-qOnXcg+OFbShBycZ3PBABvVkjus=
7645 7654
   dependencies:
7646 7655
     async-foreach "^0.1.3"
7647 7656
     chalk "^1.1.1"
@@ -8409,7 +8418,7 @@ performance-now@^2.1.0:
8409 8418
   resolved "http://r.cnpmjs.org/performance-now/download/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b"
8410 8419
   integrity sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=
8411 8420
 
8412
-picomatch@^2.0.4, picomatch@^2.0.7:
8421
+picomatch@^2.0.4, picomatch@^2.2.1:
8413 8422
   version "2.2.2"
8414 8423
   resolved "https://registry.npm.taobao.org/picomatch/download/picomatch-2.2.2.tgz#21f333e9b6b8eaff02468f5146ea406d345f4dad"
8415 8424
   integrity sha1-IfMz6ba46v8CRo9RRupAbTRfTa0=
@@ -8563,7 +8572,7 @@ postcss-modules-values@^1.3.0:
8563 8572
 
8564 8573
 postcss-plugin-constparse@1.3.25:
8565 8574
   version "1.3.25"
8566
-  resolved "https://registry.npm.taobao.org/postcss-plugin-constparse/download/postcss-plugin-constparse-1.3.25.tgz?cache=0&sync_timestamp=1587392452450&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fpostcss-plugin-constparse%2Fdownload%2Fpostcss-plugin-constparse-1.3.25.tgz#cb800fa39b3625a8dab2ff485d049c2f718f85e3"
8575
+  resolved "https://registry.npm.taobao.org/postcss-plugin-constparse/download/postcss-plugin-constparse-1.3.25.tgz?cache=0&sync_timestamp=1587869867267&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fpostcss-plugin-constparse%2Fdownload%2Fpostcss-plugin-constparse-1.3.25.tgz#cb800fa39b3625a8dab2ff485d049c2f718f85e3"
8567 8576
   integrity sha1-y4APo5s2Jajasv9IXQScL3GPheM=
8568 8577
   dependencies:
8569 8578
     postcss "^6.0.22"
@@ -8578,7 +8587,7 @@ postcss-pxtorem@^4.0.1:
8578 8587
 
8579 8588
 postcss-pxtransform@1.3.25:
8580 8589
   version "1.3.25"
8581
-  resolved "https://registry.npm.taobao.org/postcss-pxtransform/download/postcss-pxtransform-1.3.25.tgz?cache=0&sync_timestamp=1587392453573&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fpostcss-pxtransform%2Fdownload%2Fpostcss-pxtransform-1.3.25.tgz#1159703eeced7cea8b9273711f355b9c24387354"
8590
+  resolved "https://registry.npm.taobao.org/postcss-pxtransform/download/postcss-pxtransform-1.3.25.tgz?cache=0&sync_timestamp=1587869868586&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fpostcss-pxtransform%2Fdownload%2Fpostcss-pxtransform-1.3.25.tgz#1159703eeced7cea8b9273711f355b9c24387354"
8582 8591
   integrity sha1-EVlwPuztfOqLknNxHzVbnCQ4c1Q=
8583 8592
   dependencies:
8584 8593
     postcss "^6.0.16"
@@ -9080,12 +9089,12 @@ readdirp@^2.2.1:
9080 9089
     micromatch "^3.1.10"
9081 9090
     readable-stream "^2.0.2"
9082 9091
 
9083
-readdirp@~3.3.0:
9084
-  version "3.3.0"
9085
-  resolved "https://registry.npm.taobao.org/readdirp/download/readdirp-3.3.0.tgz#984458d13a1e42e2e9f5841b129e162f369aff17"
9086
-  integrity sha1-mERY0ToeQuLp9YQbEp4WLzaa/xc=
9092
+readdirp@~3.4.0:
9093
+  version "3.4.0"
9094
+  resolved "https://registry.npm.taobao.org/readdirp/download/readdirp-3.4.0.tgz#9fdccdf9e9155805449221ac645e8303ab5b9ada"
9095
+  integrity sha1-n9zN+ekVWAVEkiGsZF6DA6tbmto=
9087 9096
   dependencies:
9088
-    picomatch "^2.0.7"
9097
+    picomatch "^2.2.1"
9089 9098
 
9090 9099
 readline2@^1.0.1:
9091 9100
   version "1.0.1"
@@ -9386,7 +9395,7 @@ require-directory@^2.1.1:
9386 9395
   resolved "http://r.cnpmjs.org/require-directory/download/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42"
9387 9396
   integrity sha1-jGStX9MNqxyXbiNE/+f3kqam30I=
9388 9397
 
9389
-require-from-string@^2.0.1:
9398
+require-from-string@^2.0.1, require-from-string@^2.0.2:
9390 9399
   version "2.0.2"
9391 9400
   resolved "https://registry.npm.taobao.org/require-from-string/download/require-from-string-2.0.2.tgz#89a7fdd938261267318eafe14f9c32e598c36909"
9392 9401
   integrity sha1-iaf92TgmEmcxjq/hT5wy5ZjDaQk=
@@ -9585,11 +9594,9 @@ run-async@^2.2.0:
9585 9594
     is-promise "^2.1.0"
9586 9595
 
9587 9596
 run-async@^2.4.0:
9588
-  version "2.4.0"
9589
-  resolved "https://registry.npm.taobao.org/run-async/download/run-async-2.4.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Frun-async%2Fdownload%2Frun-async-2.4.0.tgz#e59054a5b86876cfae07f431d18cbaddc594f1e8"
9590
-  integrity sha1-5ZBUpbhods+uB/Qx0Yy63cWU8eg=
9591
-  dependencies:
9592
-    is-promise "^2.1.0"
9597
+  version "2.4.1"
9598
+  resolved "https://registry.npm.taobao.org/run-async/download/run-async-2.4.1.tgz#8440eccf99ea3e70bd409d49aab88e10c189a455"
9599
+  integrity sha1-hEDsz5nqPnC9QJ1JqriOEMGJpFU=
9593 9600
 
9594 9601
 run-queue@^1.0.0, run-queue@^1.0.3:
9595 9602
   version "1.0.3"
@@ -9669,9 +9676,9 @@ sass-loader@7.1.0:
9669 9676
     semver "^5.5.0"
9670 9677
 
9671 9678
 sass@^1.23.1:
9672
-  version "1.26.3"
9673
-  resolved "https://registry.npm.taobao.org/sass/download/sass-1.26.3.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsass%2Fdownload%2Fsass-1.26.3.tgz#412df54486143b76b5a65cdf7569e86f44659f46"
9674
-  integrity sha1-QS31RIYUO3a1plzfdWnob0Rln0Y=
9679
+  version "1.26.5"
9680
+  resolved "https://registry.npm.taobao.org/sass/download/sass-1.26.5.tgz#2d7aecfbbabfa298567c8f06615b6e24d2d68099"
9681
+  integrity sha1-LXrs+7q/ophWfI8GYVtuJNLWgJk=
9675 9682
   dependencies:
9676 9683
     chokidar ">=2.0.0 <4.0.0"
9677 9684
 
@@ -10391,12 +10398,12 @@ style-search@^0.1.0:
10391 10398
 
10392 10399
 stylelint-config-taro-rn@1.3.25:
10393 10400
   version "1.3.25"
10394
-  resolved "https://registry.npm.taobao.org/stylelint-config-taro-rn/download/stylelint-config-taro-rn-1.3.25.tgz?cache=0&sync_timestamp=1587392454269&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fstylelint-config-taro-rn%2Fdownload%2Fstylelint-config-taro-rn-1.3.25.tgz#6d3aa9eacaaa7712f87f73608f219c4556fa57b2"
10401
+  resolved "https://registry.npm.taobao.org/stylelint-config-taro-rn/download/stylelint-config-taro-rn-1.3.25.tgz?cache=0&sync_timestamp=1587869871197&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fstylelint-config-taro-rn%2Fdownload%2Fstylelint-config-taro-rn-1.3.25.tgz#6d3aa9eacaaa7712f87f73608f219c4556fa57b2"
10395 10402
   integrity sha1-bTqp6sqqdxL4f3NgjyGcRVb6V7I=
10396 10403
 
10397 10404
 stylelint-taro-rn@1.3.25:
10398 10405
   version "1.3.25"
10399
-  resolved "https://registry.npm.taobao.org/stylelint-taro-rn/download/stylelint-taro-rn-1.3.25.tgz?cache=0&sync_timestamp=1587392412300&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fstylelint-taro-rn%2Fdownload%2Fstylelint-taro-rn-1.3.25.tgz#b576df2d3e2e502905c6c89114591b81bd24cb17"
10406
+  resolved "https://registry.npm.taobao.org/stylelint-taro-rn/download/stylelint-taro-rn-1.3.25.tgz?cache=0&sync_timestamp=1587869871633&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fstylelint-taro-rn%2Fdownload%2Fstylelint-taro-rn-1.3.25.tgz#b576df2d3e2e502905c6c89114591b81bd24cb17"
10400 10407
   integrity sha1-tXbfLT4uUCkFxsiRFFkbgb0kyxc=
10401 10408
   dependencies:
10402 10409
     react-native-known-styling-properties "^1.0.4"
@@ -10518,7 +10525,7 @@ svg-tags@^1.0.0:
10518 10525
 
10519 10526
 swiper@4.4.2:
10520 10527
   version "4.4.2"
10521
-  resolved "https://registry.npm.taobao.org/swiper/download/swiper-4.4.2.tgz?cache=0&sync_timestamp=1586538009404&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fswiper%2Fdownload%2Fswiper-4.4.2.tgz#3a35237cbf4870034784e158b4197b65b763d647"
10528
+  resolved "https://registry.npm.taobao.org/swiper/download/swiper-4.4.2.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fswiper%2Fdownload%2Fswiper-4.4.2.tgz#3a35237cbf4870034784e158b4197b65b763d647"
10522 10529
   integrity sha1-OjUjfL9IcANHhOFYtBl7Zbdj1kc=
10523 10530
   dependencies:
10524 10531
     dom7 "^2.1.2"
@@ -10598,7 +10605,7 @@ tar@^4:
10598 10605
 
10599 10606
 taro-css-to-react-native@1.3.25:
10600 10607
   version "1.3.25"
10601
-  resolved "https://registry.npm.taobao.org/taro-css-to-react-native/download/taro-css-to-react-native-1.3.25.tgz?cache=0&sync_timestamp=1587392455427&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ftaro-css-to-react-native%2Fdownload%2Ftaro-css-to-react-native-1.3.25.tgz#84e10e9b404525c337c8601b802af7b3142a2846"
10608
+  resolved "https://registry.npm.taobao.org/taro-css-to-react-native/download/taro-css-to-react-native-1.3.25.tgz#84e10e9b404525c337c8601b802af7b3142a2846"
10602 10609
   integrity sha1-hOEOm0BFJcM3yGAbgCr3sxQqKEY=
10603 10610
   dependencies:
10604 10611
     camelize "^1.0.0"
@@ -10964,9 +10971,9 @@ uglifyjs-webpack-plugin@1.2.4:
10964 10971
     worker-farm "^1.5.2"
10965 10972
 
10966 10973
 unbzip2-stream@^1.0.9:
10967
-  version "1.4.1"
10968
-  resolved "https://registry.npm.taobao.org/unbzip2-stream/download/unbzip2-stream-1.4.1.tgz?cache=0&sync_timestamp=1586468717158&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Funbzip2-stream%2Fdownload%2Funbzip2-stream-1.4.1.tgz#151b104af853df3efdaa135d8b1eca850a44b426"
10969
-  integrity sha1-FRsQSvhT3z79qhNdix7KhQpEtCY=
10974
+  version "1.4.2"
10975
+  resolved "https://registry.npm.taobao.org/unbzip2-stream/download/unbzip2-stream-1.4.2.tgz?cache=0&sync_timestamp=1587481029897&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Funbzip2-stream%2Fdownload%2Funbzip2-stream-1.4.2.tgz#84eb9e783b186d8fb397515fbb656f312f1a7dbf"
10976
+  integrity sha1-hOueeDsYbY+zl1Ffu2VvMS8afb8=
10970 10977
   dependencies:
10971 10978
     buffer "^5.2.1"
10972 10979
     through "^2.3.8"