qinjie 3 years ago
parent
commit
e528ab0f61
29 changed files with 88 additions and 88 deletions
  1. BIN
      .DS_Store
  2. 87 87
      hybrid/html/local.html
  3. 1 1
      index.html
  4. BIN
      static/.DS_Store
  5. BIN
      static/images/avatar.png
  6. 0 0
      static/js/chunk-vendors.efb6a31e.js
  7. 0 0
      static/js/index.1b020654.js
  8. 0 0
      static/js/index.c42578a2.js
  9. 0 0
      static/js/pages-achievement-achievement_statistics-achievement_statistics.0f4268ea.js
  10. 0 0
      static/js/pages-achievement-achievement_statistics-achievement_statistics.6993714b.js
  11. 0 0
      static/js/pages-app-index-index.1fe58d88.js
  12. 0 0
      static/js/pages-app-index-index.c619383d.js
  13. 0 0
      static/js/pages-app-index-index~pages-app-my-my~pages-my-accountschange-accountschange~pages-my-team-team.33d24df4.js
  14. 0 0
      static/js/pages-app-index-index~pages-app-my-my~pages-my-accountschange-accountschange~pages-my-team-team.3a8354dc.js
  15. 0 0
      static/js/pages-app-login-login.50d64c7b.js
  16. 0 0
      static/js/pages-app-login-login.8f430525.js
  17. 0 0
      static/js/pages-app-my-my.0d6b32da.js
  18. 0 0
      static/js/pages-app-my-my.c022cfad.js
  19. 0 0
      static/js/pages-assets-singlepage-singlepage.06daa3be.js
  20. 0 0
      static/js/pages-fund-detail-detail.1619010d.js
  21. 0 0
      static/js/pages-fund-detail-detail.895abf97.js
  22. 0 0
      static/js/pages-fund-package-package.310f73f2.js
  23. 0 0
      static/js/pages-fund-package-package.d32c137f.js
  24. 0 0
      static/js/pages-fund-withdraw-withdraw.4fb410d4.js
  25. 0 0
      static/js/pages-fund-withdraw-withdraw.c581c2fa.js
  26. 0 0
      static/js/pages-my-accountschange-accountschange.80bbb3e5.js
  27. 0 0
      static/js/pages-my-accountschange-accountschange.8eabaea3.js
  28. 0 0
      static/js/pages-my-team-team.4a1c9383.js
  29. 0 0
      static/js/pages-my-team-team.c330fbea.js

BIN
.DS_Store


+ 87 - 87
hybrid/html/local.html

@@ -1,88 +1,88 @@
-<!DOCTYPE html>
-<html>
-	<head>
-		<meta charset="utf-8" />
-		<meta name="viewport" content="width=device-width, initial-scale=1">
-		<title>本地网页</title>
-		<style type="text/css">
-			.btn {
-				display: block;
-				margin: 20px auto;
-				padding: 5px;
-				background-color: #007aff;
-				border: 0;
-				color: #ffffff;
-				height: 40px;
-				width: 200px;
-			}
-
-			.btn-red {
-				background-color: #dd524d;
-			}
-
-			.btn-yellow {
-				background-color: #f0ad4e;
-			}
-
-			.desc {
-				padding: 10px;
-				color: #999999;
-			}
-		</style>
-	</head>
-	<body>
-		<p class="desc">web-view 组件加载本地 html 示例,仅在 App 环境下生效。点击下列按钮,跳转至其它页面。</p>
-		<div class="btn-list">
-			<button class="btn" type="button" data-action="navigateTo">navigateTo</button>
-			<button class="btn" type="button" data-action="redirectTo">redirectTo</button>
-			<button class="btn" type="button" data-action="navigateBack">navigateBack</button>
-			<button class="btn" type="button" data-action="reLaunch">reLaunch</button>
-			<button class="btn" type="button" data-action="switchTab">switchTab</button>
-		</div>
-		<p class="desc">网页向应用发送消息。注意:小程序端应用会在此页面后退时接收到消息。</p>
-		<div class="btn-list">
-			<button class="btn btn-red" type="button" id="postMessage">postMessage</button>
-		</div>
-		<!-- uni 的 SDK -->
-		<script type="text/javascript" src="https://unpkg.com/@dcloudio/uni-webview-js@0.0.1/index.js"></script>
-		<script type="text/javascript">
-			document.addEventListener('UniAppJSBridgeReady', function() {
-				document.querySelector('.btn-list').addEventListener('click', function(evt) {
-					var target = evt.target;
-					if (target.tagName === 'BUTTON') {
-						var action = target.getAttribute('data-action');
-						switch (action) {
-							case 'switchTab':
-								uni.switchTab({
-									url: '/pages/tabBar/API/API'
-								});
-								break;
-							case 'reLaunch':
-								uni.reLaunch({
-									url: '/pages/tabBar/API/API'
-								});
-								break;
-							case 'navigateBack':
-								uni.navigateBack({
-									delta: 1
-								});
-								break;
-							default:
-								uni[action]({
-									url: '/pages/component/button/button'
-								});
-								break;
-						}
-					}
-				});
-				document.querySelector("#postMessage").addEventListener('click', function() {
-					uni.postMessage({
-						data: {
-							action: 'message'
-						}
-					});
-				})
-			});
-		</script>
-	</body>
+<!DOCTYPE html>
+<html>
+	<head>
+		<meta charset="utf-8" />
+		<meta name="viewport" content="width=device-width, initial-scale=1">
+		<title>本地网页</title>
+		<style type="text/css">
+			.btn {
+				display: block;
+				margin: 20px auto;
+				padding: 5px;
+				background-color: #007aff;
+				border: 0;
+				color: #ffffff;
+				height: 40px;
+				width: 200px;
+			}
+
+			.btn-red {
+				background-color: #dd524d;
+			}
+
+			.btn-yellow {
+				background-color: #f0ad4e;
+			}
+
+			.desc {
+				padding: 10px;
+				color: #999999;
+			}
+		</style>
+	</head>
+	<body>
+		<p class="desc">web-view 组件加载本地 html 示例,仅在 App 环境下生效。点击下列按钮,跳转至其它页面。</p>
+		<div class="btn-list">
+			<button class="btn" type="button" data-action="navigateTo">navigateTo</button>
+			<button class="btn" type="button" data-action="redirectTo">redirectTo</button>
+			<button class="btn" type="button" data-action="navigateBack">navigateBack</button>
+			<button class="btn" type="button" data-action="reLaunch">reLaunch</button>
+			<button class="btn" type="button" data-action="switchTab">switchTab</button>
+		</div>
+		<p class="desc">网页向应用发送消息。注意:小程序端应用会在此页面后退时接收到消息。</p>
+		<div class="btn-list">
+			<button class="btn btn-red" type="button" id="postMessage">postMessage</button>
+		</div>
+		<!-- uni 的 SDK -->
+		<script type="text/javascript" src="https://unpkg.com/@dcloudio/uni-webview-js@0.0.1/index.js"></script>
+		<script type="text/javascript">
+			document.addEventListener('UniAppJSBridgeReady', function() {
+				document.querySelector('.btn-list').addEventListener('click', function(evt) {
+					var target = evt.target;
+					if (target.tagName === 'BUTTON') {
+						var action = target.getAttribute('data-action');
+						switch (action) {
+							case 'switchTab':
+								uni.switchTab({
+									url: '/pages/tabBar/API/API'
+								});
+								break;
+							case 'reLaunch':
+								uni.reLaunch({
+									url: '/pages/tabBar/API/API'
+								});
+								break;
+							case 'navigateBack':
+								uni.navigateBack({
+									delta: 1
+								});
+								break;
+							default:
+								uni[action]({
+									url: '/pages/component/button/button'
+								});
+								break;
+						}
+					}
+				});
+				document.querySelector("#postMessage").addEventListener('click', function() {
+					uni.postMessage({
+						data: {
+							action: 'message'
+						}
+					});
+				})
+			});
+		</script>
+	</body>
 </html>

+ 1 - 1
index.html

@@ -1,2 +1,2 @@
 <!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>cryl_fenrun</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
-            document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/static/index.f7bc0a37.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.eff4e958.js></script><script src=/static/js/index.1b020654.js></script></body></html>
+            document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/static/index.f7bc0a37.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/static/js/chunk-vendors.efb6a31e.js></script><script src=/static/js/index.c42578a2.js></script></body></html>

BIN
static/.DS_Store


BIN
static/images/avatar.png


+ 0 - 0
static/js/chunk-vendors.eff4e958.js → static/js/chunk-vendors.efb6a31e.js


File diff suppressed because it is too large
+ 0 - 0
static/js/index.1b020654.js


File diff suppressed because it is too large
+ 0 - 0
static/js/index.c42578a2.js


File diff suppressed because it is too large
+ 0 - 0
static/js/pages-achievement-achievement_statistics-achievement_statistics.0f4268ea.js


File diff suppressed because it is too large
+ 0 - 0
static/js/pages-achievement-achievement_statistics-achievement_statistics.6993714b.js


File diff suppressed because it is too large
+ 0 - 0
static/js/pages-app-index-index.1fe58d88.js


File diff suppressed because it is too large
+ 0 - 0
static/js/pages-app-index-index.c619383d.js


File diff suppressed because it is too large
+ 0 - 0
static/js/pages-app-index-index~pages-app-my-my~pages-my-accountschange-accountschange~pages-my-team-team.33d24df4.js


File diff suppressed because it is too large
+ 0 - 0
static/js/pages-app-index-index~pages-app-my-my~pages-my-accountschange-accountschange~pages-my-team-team.3a8354dc.js


File diff suppressed because it is too large
+ 0 - 0
static/js/pages-app-login-login.50d64c7b.js


File diff suppressed because it is too large
+ 0 - 0
static/js/pages-app-login-login.8f430525.js


File diff suppressed because it is too large
+ 0 - 0
static/js/pages-app-my-my.0d6b32da.js


File diff suppressed because it is too large
+ 0 - 0
static/js/pages-app-my-my.c022cfad.js


File diff suppressed because it is too large
+ 0 - 0
static/js/pages-assets-singlepage-singlepage.06daa3be.js


File diff suppressed because it is too large
+ 0 - 0
static/js/pages-fund-detail-detail.1619010d.js


File diff suppressed because it is too large
+ 0 - 0
static/js/pages-fund-detail-detail.895abf97.js


File diff suppressed because it is too large
+ 0 - 0
static/js/pages-fund-package-package.310f73f2.js


File diff suppressed because it is too large
+ 0 - 0
static/js/pages-fund-package-package.d32c137f.js


File diff suppressed because it is too large
+ 0 - 0
static/js/pages-fund-withdraw-withdraw.4fb410d4.js


File diff suppressed because it is too large
+ 0 - 0
static/js/pages-fund-withdraw-withdraw.c581c2fa.js


File diff suppressed because it is too large
+ 0 - 0
static/js/pages-my-accountschange-accountschange.80bbb3e5.js


File diff suppressed because it is too large
+ 0 - 0
static/js/pages-my-accountschange-accountschange.8eabaea3.js


File diff suppressed because it is too large
+ 0 - 0
static/js/pages-my-team-team.4a1c9383.js


File diff suppressed because it is too large
+ 0 - 0
static/js/pages-my-team-team.c330fbea.js


Some files were not shown because too many files changed in this diff