@rk911/tracker-sdk 1.7.4 → 1.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/platforms/web.js +16 -1
package/package.json
CHANGED
package/platforms/web.js
CHANGED
|
@@ -3,10 +3,23 @@ export const ROUTE_TITLE_MAP = {
|
|
|
3
3
|
'/pages/circle/index': '银友圈',
|
|
4
4
|
'/pages/circle/circleOfFriends/sendFriends/sendFriends': '发布动态',
|
|
5
5
|
'/pages/circle/circleOfFriends/sendFriends/circleClass/circleClass': '圈子分类',
|
|
6
|
+
'/pages/circle/userHome/otherHome': '个人主页',
|
|
6
7
|
'/healthFu/index/index': '健康福/AI助手',
|
|
8
|
+
'/healthMonitor/pages/index': '健康监测/体检',
|
|
9
|
+
'/videoNote/index/index': '视频笔记',
|
|
10
|
+
'/pagesA/app/videoAnswerList': '答题精选',
|
|
11
|
+
'/pagesA/index/activity/activity': '活动中心',
|
|
12
|
+
'/pagesA/index/game/game': '游戏中心',
|
|
13
|
+
'/pagesA/member/videoRanking': '视频排行榜',
|
|
14
|
+
'/pages/VoicePunchIn/VoicePunchIn': '语音打卡',
|
|
15
|
+
'/taskCenter/index/index': '任务中心',
|
|
16
|
+
'/yangji/index/index': '福利活动',
|
|
7
17
|
'/pages/mall/goods/goodsList': '商品列表',
|
|
18
|
+
'/pages/mall/goods/goodsInfo': '商品详情',
|
|
8
19
|
'/pages/mall/goods/goodsDetail': '商品详情',
|
|
9
20
|
'/pages/mall/goods/order': '商品下单',
|
|
21
|
+
'/pages/mall/searchGoods/searchGoods': '商品搜索',
|
|
22
|
+
'/pages/mall/goods/shopAddressList': '收货地址',
|
|
10
23
|
'/pages/my/store/index': '我的小店',
|
|
11
24
|
'/pages/my/store/withdrawalList': '提现记录',
|
|
12
25
|
'/pages/integralMall/integralMall': '积分商城',
|
|
@@ -235,8 +248,10 @@ export class WebAdapter {
|
|
|
235
248
|
try {
|
|
236
249
|
const info = uni.getSystemInfoSync()
|
|
237
250
|
var ua = (typeof navigator !== 'undefined' ? navigator.userAgent : '').toLowerCase()
|
|
251
|
+
var rawBrand = info.brand || this._judgeBrand(ua, info.model) || ''
|
|
252
|
+
var brand = rawBrand.toUpperCase() === 'OPPO' ? 'OPPO' : rawBrand
|
|
238
253
|
return {
|
|
239
|
-
brand:
|
|
254
|
+
brand: brand,
|
|
240
255
|
model: info.model || '',
|
|
241
256
|
platform: (info.platform || '').toLowerCase() === 'android' ? 'Android' : (info.platform || ''),
|
|
242
257
|
system: (info.system || '').toLowerCase().startsWith('android') ? ('Android ' + (info.system.split(' ')[1] || '')) : (info.system || ''),
|