__uniappview.html 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <script>
  6. var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
  7. CSS.supports('top: constant(a)'))
  8. document.write(
  9. '<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
  10. (coverSupport ? ', viewport-fit=cover' : '') + '" />')
  11. </script>
  12. <title>View</title>
  13. <style>
  14. * {
  15. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  16. -webkit-tap-highlight-color: transparent;
  17. }
  18. input[type="search"i]::-webkit-search-cancel-button {
  19. display: none;
  20. }
  21. </style>
  22. <script>
  23. var __wxConfig = {"debug":false,"appname":"润银小测","entryPagePath":"pages/Login/Login.html","page":{"pages/Login/Login.html":{"window":{"navigationStyle":"custom","disableScroll":true,"usingComponents":{}}},"pages/PaperList/PaperList.html":{"window":{"navigationBarTitleText":"待考试卷","disableScroll":true,"enablePullDownRefresh":true,"usingComponents":{"paper-list-item":"/components/paper/PaperListItem"}}},"pages/Paper/Paper.html":{"window":{"usingComponents":{"single-answer-choise":"/components/paper/SingleAnswerChoise","multi-answers-choise":"/components/paper/MultiAnswersChoise","fill-blank":"/components/paper/FillBlank","true-false":"/components/paper/TrueFalse","qand-a":"/components/paper/QandA"}}}},"global":{"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"","navigationBarBackgroundColor":"#F8F8F8","backgroundColor":"#F8F8F8","animationType":"slide-in-right","animationDuration":200}},"tabBar":{"color":"","selectedColor":"","backgroundColor":"","borderStyle":"black","list":[],"position":"bottom"},"networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000},"platform":"devtools","pages":["pages/Login/Login","pages/PaperList/PaperList","pages/Paper/Paper"],"subPackages":[],"nvueCompiler":"weex","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"compilerVersion":"2.1.1","usingComponents":{"paper-list-item":"/components/paper/PaperListItem","question-title":"/components/paper/QuestionTitle","single-answer-choise":"/components/paper/SingleAnswerChoise","multi-answers-choise":"/components/paper/MultiAnswersChoise","fill-blank":"/components/paper/FillBlank","true-false":"/components/paper/TrueFalse","qand-a":"/components/paper/QandA"}}
  24. </script>
  25. <script>
  26. var __id__ = '';
  27. window.__dispatchGenerateFunc__ = function(page) {
  28. __id__ = page;
  29. document.title = page;
  30. // window.history.pushState('', '', page);
  31. var wxss = page.replace('.html', '.wxss')
  32. if (
  33. typeof __wxAppCode__ !== 'undefined' &&
  34. __wxAppCode__.hasOwnProperty(wxss)
  35. ) {
  36. var setCssToHead = __wxAppCode__[wxss]
  37. typeof setCssToHead === 'function' && setCssToHead()
  38. document.dispatchEvent(new CustomEvent("generateFuncReady", {
  39. detail: {
  40. generateFunc: $gwx(page.replace('.html', '.wxml'))
  41. }
  42. }));
  43. } else {
  44. plus.webview.currentWebview().setJsFile('_www/' + page.replace('.html', '.js'));
  45. }
  46. };
  47. </script>
  48. <script src="__uniappes6.js"></script>
  49. <script src="uniapp://ready"></script>
  50. </head>
  51. <body>
  52. <div></div>
  53. </body>
  54. </html>