vConsole

1

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <title>Help</title>
  <!--忽略电话号码和email识别-->
  <meta name="format-detection" content="telephone=no" />
  <meta name="format-detection" content="email=no" />
  <!--当网站添加到主屏幕快速启动方式,将网站添加到主屏幕快速启动方式-->
  <meta name="apple-mobile-web-app-capable" content="yes" />
  <!--隐藏ios上的浏览器地址栏-->
  <meta name="apple-mobile-web-app-status-bar-style" content="black" />
  <!-- UC默认竖屏 ,UC强制全屏 -->
  <meta name="full-screen" content="yes">
  <meta name="browsermode" content="application">
  <!-- QQ强制竖屏 QQ强制全屏 -->
  <meta name="x5-orientation" content="portrait">
  <meta name="x5-fullscreen" content="true">
  <meta name="x5-page-mode" content="app">
  <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
  <meta http-equiv="Pragma" content="no-cache" />
  <meta http-equiv="Expires" content="0" />
  <meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no,minimal-ui">
  <link rel="icon" href="https://app-static.nio.com/app/web/v2/dist/favicon.ico" type="image/x-icon">
  <link rel="shortcut icon" href="https://app-static.nio.com/app/web/v2/dist/favicon.ico" type="image/x-icon">
  <script src="https://cdn.bootcdn.net/ajax/libs/vConsole/3.3.4/vconsole.min.js"></script>
  <script src="./js/sensorsdata.min.js"></script>
  <script>
    let path = window.location.href;
    if (path.match(/app-dev/i) || path.match(/localhost/i)) {
      window.vConsole = new window.VConsole();
      window.vConsole.setOption({maxLogNumber: 5000});
      window.vConsole.show();
    }
    var sensors = window['sensorsDataAnalytic201505'];
    let sensorsUrl = 'https://sensors.nio.com/sa?project=nioapp_';
    if (path.match(/app-test/i) || path.match(/app-stg/i) || path.match(/localhost/i)) {
      sensorsUrl += 'test';
    } else if (path.match(/app.nio.com/i)) {
      sensorsUrl += 'prod';
    }
    sensors.init({
        server_url: sensorsUrl,
        heatmap:{scroll_notice_map:'not_collect'},
        is_track_single_page:true    
    });
    sensors.quick('autoTrack');
  </script>
</head>
<body>
<div id="app"></div>
</body>
</html>

2

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值