You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.3 KiB

1 week ago
5 days ago
1 week ago
5 days ago
1 week ago
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <link rel="stylesheet" href="/h5/assets/uni.82469697.css">
  5. <meta charset="UTF-8" />
  6. <script>
  7. var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
  8. CSS.supports('top: constant(a)'))
  9. document.write(
  10. '<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
  11. (coverSupport ? ', viewport-fit=cover' : '') + '" />')
  12. </script>
  13. <title>理论学习</title>
  14. <!--preload-links-->
  15. <!--app-context-->
  16. <script type="module" crossorigin src="/h5/assets/index-IX2tYR8R.js"></script>
  17. <link rel="stylesheet" crossorigin href="/h5/assets/index-Dvc-UEg5.css">
  18. </head>
  19. <body>
  20. <div id="app"><!--app-html--></div>
  21. <!-- <script type="text/javascript" src="./uniWebview.js"></script> -->
  22. <!-- <script type="text/javascript" src="https://gitcode.net/dcloud/uni-app/-/raw/dev/dist/uni.webview.1.5.6.js"></script> -->
  23. <script>
  24. document.addEventListener('UniAppJSBridgeReady', function() {
  25. uni.webView.getEnv(function(res) {
  26. console.log('当前环境:' + JSON.stringify(res));
  27. });
  28. // uni.webView.navigateTo(...)
  29. });
  30. </script>
  31. </body>
  32. </html>