From eb23a7c7faefe86330a88f9118b8211f6b86e75b Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期二, 20 九月 2022 19:00:58 +0800
Subject: [PATCH] 1.点检项目开发( 除提交功能外完成)

---
 unpackage/cache/wgt/H5EDA0853/components/barcode_scan.html   |   94 
 unpackage/cache/wgt/H5EDA0853/pages/xtsy/index.html          |    7 
 components/barcode_custom.html                               |  163 +
 js/global.js                                                 |   30 
 plus/barcode_scan.html                                       |  143 
 js/common.js                                                 |  473 ++--
 pages/login/index.html                                       |    6 
 unpackage/cache/wgt/H5EDA0853/plus/barcode_scan.html         |  143 
 unpackage/cache/wgt/H5EDA0853/doc/barcode.html               |  590 +++--
 unpackage/cache/wgt/H5EDA0853/components/barcode_scan2.html  |   94 
 unpackage/cache/wgt/H5EDA0853/plus/barcode_custom.html       |  269 +-
 plus/barcode.html                                            |  284 +-
 pages/sbgl/rcdj.html                                         |  457 ++++
 unpackage/cache/wgt/H5EDA0853/pages/sbgl/dqby.html           |   11 
 unpackage/cache/wgt/H5EDA0853/pages/sbgl/wxyz.html           |    9 
 unpackage/cache/wgt/H5EDA0853/pages/sbgl/rcdj_back.html      |  493 ++++
 unpackage/cache/wgt/H5EDA0853/css/global.css                 |   71 
 css/global.css                                               |   71 
 unpackage/cache/wgt/H5EDA0853/pages/login/index.html         |   10 
 unpackage/cache/wgt/H5EDA0853/components/barcode_custom.html |  163 +
 unpackage/cache/wgt/H5EDA0853/js/common.js                   |  473 ++--
 unpackage/cache/wgt/H5EDA0853/plus/barcode.html              |  284 +-
 unpackage/cache/wgt/H5EDA0853/js/global.js                   |   30 
 pages/sbgl/rcdj_back.html                                    |  493 ++++
 plus/barcode_custom.html                                     |  269 +-
 doc/barcode.html                                             |  590 +++--
 components/barcode_scan2.html                                |   94 
 components/barcode_scan.html                                 |   94 
 unpackage/cache/wgt/H5EDA0853/pages/sbgl/rcdj.html           |  462 ++++
 unpackage/cache/wgt/H5EDA0853/pages/sbgl/sbwx.html           |    9 
 30 files changed, 4,641 insertions(+), 1,738 deletions(-)

diff --git a/components/barcode_custom.html b/components/barcode_custom.html
new file mode 100644
index 0000000..27388c0
--- /dev/null
+++ b/components/barcode_custom.html
@@ -0,0 +1,163 @@
+<!DOCTYPE html>
+<html>
+	<head>
+		<meta charset="utf-8" />
+		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />
+		<meta name="HandheldFriendly" content="true" />
+		<meta name="MobileOptimized" content="320" />
+		<title>Hello H5+</title>
+		<script type="text/javascript" src="../js/common.js"></script>
+		<script type="text/javascript">
+			var ws = null,
+				wo = null;
+			var scan = null;
+			// H5 plus浜嬩欢澶勭悊
+			function plusReady() {
+				// 鑾峰彇绐楀彛瀵硅薄
+				ws = plus.webview.currentWebview();
+				nv = ws.getTitleNView();
+				wo = ws.opener();
+				// 寮�濮嬫壂鎻�
+				ws.addEventListener('show', function() {
+					scan = new plus.barcode.Barcode('bcid', [plus.barcode.QR, plus.barcode.EAN8, plus.barcode.EAN13], {
+						frameColor: '#00FF00',
+						scanbarColor: '#00FF00'
+					});
+					scan.onmarked = onmarked;
+					scan.start({
+						conserve: true,
+						filename: '_doc/barcode/'
+					});
+					createSubview();
+				}, false);
+				// 鏄剧ず椤甸潰骞跺叧闂瓑寰呮
+				ws.show('pop-in');
+			}
+			document.addEventListener('plusready', plusReady, false);
+
+			// 浜岀淮鐮佹壂鎻忔垚鍔�
+			function onmarked(type, result, file) {
+				switch (type) {
+					case plus.barcode.QR:
+						type = 'QR';
+						break;
+					case plus.barcode.EAN13:
+						type = 'EAN13';
+						break;
+					case plus.barcode.EAN8:
+						type = 'EAN8';
+						break;
+					default:
+						type = '鍏跺畠' + type;
+						break;
+				}
+				result = result.replace(/\r\n/g, '');
+				wo.evalJS("scaned('" + type + "','" + result + "','" + file + "');");
+				back();
+			}
+			// 鍒涘缓瀛愮獥鍙�
+			var view = null;
+
+			function createSubview() {
+				view = new plus.nativeObj.View('nbutton', {
+					bottom: '20px',
+					left: '30%',
+					width: '40%',
+					height: '44px'
+				}, [{
+					tag: 'rect',
+					id: 'rect',
+					rectStyles: {
+						radius: '8px',
+						color: 'rgba(255,0,0,0.8)'
+					}
+				}, {
+					tag: 'font',
+					id: 'text',
+					text: '鏆傘��鍋�',
+					textStyles: {
+						color: '#FFFFFF'
+					}
+				}]);
+				// 澶勭悊浜嬩欢
+				view.addEventListener('click', function(e) {
+					switchScan();
+				}, false);
+				view.addEventListener('touchstart', function(e) {
+					view.drawRect({
+						radius: '8px',
+						color: 'rgba(255,0,0,0.5)'
+					}, {}, 'rect');
+				}, false);
+				view.addEventListener('touchend', function(e) {
+					view.drawRect({
+						radius: '8px',
+						color: 'rgba(255,0,0,0.8)'
+					}, {}, 'rect');
+				}, false);
+				ws.append(view);
+			}
+			// 寮�鍏抽棯鍏夌伅 
+			var bFlash = false;
+			var AVCaptureDevice = null;
+			var Camera = null;
+
+			function switchFlash() {
+				bFlash = !bFlash;
+				scan.setFlash(bFlash);
+				ws.setStyle({
+					titleNView: {
+						buttons: [{
+							fontSrc: '_www/helloh5.ttf',
+							text: (bFlash ? '\ue400' : '\ue401'),
+							fontSize: '18px',
+							onclick: 'javascript:switchFlash()'
+						}]
+					}
+				});
+			}
+			// 鍒囨崲鎵弿  
+			var bScan = false;
+
+			function switchScan() {
+				if (bScan) {
+					scan.start({
+						conserve: true,
+						filename: '_doc/barcode/'
+					});
+					view && (view.drawText('鏆傘��鍋�', {}, {
+						color: '#FFFFFF'
+					}, 'text'));
+				} else {
+					scan.cancel();
+					view && (view.drawText('寮�銆�濮�', {}, {
+						color: '#FFFFFF'
+					}, 'text'));
+				}
+				bScan = !bScan;
+			}
+		</script>
+		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
+		<style type="text/css">
+			#bcid {
+				width: 100%;
+				position: absolute;
+				top: 0px;
+				bottom: 0px;
+				text-align: center;
+			}
+
+			.tip {
+				color: #FFFFFF;
+				font-weight: bold;
+				text-shadow: 0px -1px #103E5C;
+			}
+		</style>
+	</head>
+	<body style="background-color:#000000;">
+		<div id="bcid">
+			<div style="height:40%"></div>
+			<p class="tip">...杞藉叆涓�...</p>
+		</div>
+	</body>
+</html>
diff --git a/components/barcode_scan.html b/components/barcode_scan.html
new file mode 100644
index 0000000..ed8309d
--- /dev/null
+++ b/components/barcode_scan.html
@@ -0,0 +1,94 @@
+<!DOCTYPE html>
+<html>
+	<head>
+		<meta charset="utf-8" />
+		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />
+		<meta name="HandheldFriendly" content="true" />
+		<meta name="MobileOptimized" content="320" />
+		<title>Hello H5+</title>
+		<script type="text/javascript" src="../js/common.js"></script>
+
+		<script type="text/javascript">
+			var ws = null,
+				wo = null;
+			var scan = null;
+			// H5 plus浜嬩欢澶勭悊
+			function plusReady() {
+				// 鑾峰彇绐楀彛瀵硅薄
+				ws = plus.webview.currentWebview();
+				wo = ws.opener();
+				// 寮�濮嬫壂鎻�
+				ws.addEventListener('show', function() {
+					scan = new plus.barcode.Barcode('bcid');
+					scan.onmarked = onmarked;
+					scan.start({
+						conserve: true,
+						filename: '_doc/barcode/'
+					});
+					createSubview();
+				}, false);
+				// 鏄剧ず椤甸潰骞跺叧闂瓑寰呮
+				ws.show('pop-in');
+			}
+			document.addEventListener('plusready', plusReady, false);
+
+			// 浜岀淮鐮佹壂鎻忔垚鍔�
+			function onmarked(type, result, file) {
+				switch (type) {
+					case plus.barcode.QR:
+						type = 'QR';
+						break;
+					case plus.barcode.EAN13:
+						type = 'EAN13';
+						break;
+					case plus.barcode.EAN8:
+						type = 'EAN8';
+						break;
+					default:
+						type = '鍏跺畠' + type;
+						break;
+				}
+				result = result.replace(/\r\n/g, '');
+				// wo.evalJS("scaned('" + type + "','" + result + "','" + file + "');");
+				wo.evalJS("scaned('" + result + "');");
+				back();
+			}
+			// 鍒涘缓瀛愮獥鍙�
+			function createSubview() {
+				//
+			}
+			// 浠庣浉鍐屼腑閫夋嫨浜岀淮鐮佸浘鐗� 
+			function scanPicture() {
+				plus.gallery.pick(function(path) {
+					plus.barcode.scan(path, onmarked, function(error) {
+						plus.nativeUI.alert('鏃犳硶璇嗗埆姝ゅ浘鐗�');
+					});
+				}, function(err) {
+					console.log('Failed: ' + err.message);
+				});
+			}
+		</script>
+		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
+		<style type="text/css">
+			#bcid {
+				width: 100%;
+				position: absolute;
+				top: 0px;
+				bottom: 0px;
+				text-align: center;
+			}
+
+			.tip {
+				color: #FFFFFF;
+				font-weight: bold;
+				text-shadow: 0px -1px #103E5C;
+			}
+		</style>
+	</head>
+	<body style="background-color:#000000;">
+		<div id="bcid">
+			<div style="height:40%"></div>
+			<p class="tip">...杞藉叆涓�...</p>
+		</div>
+	</body>
+</html>
diff --git a/components/barcode_scan2.html b/components/barcode_scan2.html
new file mode 100644
index 0000000..18ba6df
--- /dev/null
+++ b/components/barcode_scan2.html
@@ -0,0 +1,94 @@
+<!DOCTYPE html>
+<html>
+	<head>
+		<meta charset="utf-8" />
+		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />
+		<meta name="HandheldFriendly" content="true" />
+		<meta name="MobileOptimized" content="320" />
+		<title>Hello H5+</title>
+		<script type="text/javascript" src="../js/common.js"></script>
+
+		<script type="text/javascript">
+			var ws = null,
+				wo = null;
+			var scan = null;
+			// H5 plus浜嬩欢澶勭悊
+			function plusReady() {
+				// 鑾峰彇绐楀彛瀵硅薄
+				ws = plus.webview.currentWebview();
+				wo = ws.opener();
+				// 寮�濮嬫壂鎻�
+				ws.addEventListener('show', function() {
+					scan = new plus.barcode.Barcode('bcid');
+					scan.onmarked = onmarked;
+					scan.start({
+						conserve: true,
+						filename: '_doc/barcode/'
+					});
+					createSubview();
+				}, false);
+				// 鏄剧ず椤甸潰骞跺叧闂瓑寰呮
+				ws.show('pop-in');
+			}
+			document.addEventListener('plusready', plusReady, false);
+
+			// 浜岀淮鐮佹壂鎻忔垚鍔�
+			function onmarked(type, result, file) {
+				switch (type) {
+					case plus.barcode.QR:
+						type = 'QR';
+						break;
+					case plus.barcode.EAN13:
+						type = 'EAN13';
+						break;
+					case plus.barcode.EAN8:
+						type = 'EAN8';
+						break;
+					default:
+						type = '鍏跺畠' + type;
+						break;
+				}
+				result = result.replace(/\r\n/g, '');
+				// wo.evalJS("scaned('" + type + "','" + result + "','" + file + "');");
+				wo.evalJS("scaned2('" + result + "');");
+				back();
+			}
+			// 鍒涘缓瀛愮獥鍙�
+			function createSubview() {
+				//
+			}
+			// 浠庣浉鍐屼腑閫夋嫨浜岀淮鐮佸浘鐗� 
+			function scanPicture() {
+				plus.gallery.pick(function(path) {
+					plus.barcode.scan(path, onmarked, function(error) {
+						plus.nativeUI.alert('鏃犳硶璇嗗埆姝ゅ浘鐗�');
+					});
+				}, function(err) {
+					console.log('Failed: ' + err.message);
+				});
+			}
+		</script>
+		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
+		<style type="text/css">
+			#bcid {
+				width: 100%;
+				position: absolute;
+				top: 0px;
+				bottom: 0px;
+				text-align: center;
+			}
+
+			.tip {
+				color: #FFFFFF;
+				font-weight: bold;
+				text-shadow: 0px -1px #103E5C;
+			}
+		</style>
+	</head>
+	<body style="background-color:#000000;">
+		<div id="bcid">
+			<div style="height:40%"></div>
+			<p class="tip">...杞藉叆涓�...</p>
+		</div>
+	</body>
+</html>
diff --git a/css/global.css b/css/global.css
index e69de29..959f185 100644
--- a/css/global.css
+++ b/css/global.css
@@ -0,0 +1,71 @@
+.head {
+	background-color: aliceblue;
+	padding-top: 10px;
+	padding-bottom: 10px;
+	margin: 5px 8px;
+	display: flex;
+	flex-direction: column;
+}
+
+.head_block {
+	display: flex;
+	justify-content: space-between;
+}
+
+.head_left {
+	display: flex;
+}
+
+.head_bar {
+	width: 5px;
+	height: 20px;
+	background-color: red;
+}
+
+.head_title {
+	margin-left: 5px;
+}
+
+
+.flex_column {
+	display: flex;
+	flex-direction: column;
+}
+
+.flex_between {
+	display: flex;
+	justify-content: space-between;
+	align-items: center;
+}
+
+.flex_center {
+	display: flex;
+	align-items: center;
+}
+
+.center_title{
+	font-weight: bolder;
+}
+.center_border {
+	border: 1px solid #ccc;
+	min-height: 50px;
+	border-radius: 5px;
+	margin: 15px 0 0 0;
+	padding: 5px 0px 5px 10px;
+}
+
+
+
+
+.footer {
+	position: fixed;
+	bottom: 0;
+	background-color: aliceblue;
+	min-height: 100px;
+	padding-top: 10px;
+	margin: 5px 8px 0;
+	width: 96%;
+	padding-bottom: 10px;
+	display: flex;
+	flex-direction: column;
+}
diff --git a/doc/barcode.html b/doc/barcode.html
index a521667..1048a7b 100644
--- a/doc/barcode.html
+++ b/doc/barcode.html
@@ -1,81 +1,107 @@
 <!DOCTYPE HTML>
 <html>
-<head>
-<meta charset="utf-8">
-<meta name="viewport" content="initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
-<meta name="HandheldFriendly" content="true">
-<meta name="MobileOptimized" content="320">
-<title>Barcode Document</title>
-<link rel="stylesheet" type="text/css" href="res/doc.css" charset="utf-8">
-<link rel="stylesheet" type="text/css" href="res/prettify.sons.css" charset="utf-8">
-<script type="text/javascript" src="res/doc.js" charset="utf-8"></script><script type="text/javascript" src="res/prettify.js" charset="utf-8"></script>
-</head>
-<body><div id="content" class="content">
-<h1><a name="plus.barcode">barcode</a></h1>
-<p>Barcode妯″潡绠$悊鏉$爜锛堜竴缁寸爜鍜屼簩缁寸爜锛夋壂鎻忚瘑鍒紝鏀寔甯歌鐨勪竴缁寸爜锛堝EAN13鐮侊級鍙婁簩缁寸爜锛堝QR鐮侊級銆傞�氳繃璋冪敤璁惧鐨勬憚鍍忓ご瀵规潯鐮佽繘琛屾壂鎻忚瘑鍒紝鎵弿鍒版潯鐮佸悗杩涜瑙g爜骞惰繑鍥炵爜鏁版嵁鍐呭鍙婄爜绫诲瀷銆�</p>
-<h2>甯搁噺锛�</h2>
-<ul>
-<li>
-<a href="#plus.barcode.QR">QR</a>: QR浜岀淮鐮侊紝鏁板�间负0</li>
-<li>
-<a href="#plus.barcode.EAN13">EAN13</a>: EAN鏉″舰鐮佹爣鍑嗙増锛屾暟鍊间负1</li>
-<li>
-<a href="#plus.barcode.EAN8">EAN8</a>: ENA鏉″舰鐮佺畝鐗堬紝鏁板�间负2</li>
-<li>
-<a href="#plus.barcode.AZTEC">AZTEC</a>: Aztec浜岀淮鐮侊紝鏁板�间负3</li>
-<li>
-<a href="#plus.barcode.DATAMATRIX">DATAMATRIX</a>: Data Matrix浜岀淮鐮侊紝鏁板�间负4</li>
-<li>
-<a href="#plus.barcode.UPCA">UPCA</a>: UPC鏉″舰鐮佹爣鍑嗙増锛屾暟鍊间负5</li>
-<li>
-<a href="#plus.barcode.UPCE">UPCE</a>: UPC鏉″舰鐮佺缉鐭増锛屾暟鍊间负6</li>
-<li>
-<a href="#plus.barcode.CODABAR">CODABAR</a>: Codabar鏉″舰鐮侊紝鏁板�间负7</li>
-<li>
-<a href="#plus.barcode.CODE39">CODE39</a>: Code39鏉″舰鐮侊紝鏁板�间负8</li>
-<li>
-<a href="#plus.barcode.CODE93">CODE93</a>: Code93鏉″舰鐮侊紝鏁板�间负9</li>
-<li>
-<a href="#plus.barcode.CODE128">CODE128</a>: Code128鏉″舰鐮侊紝鏁板�间负10</li>
-<li>
-<a href="#plus.barcode.ITF">ITF</a>: ITF鏉″舰鐮侊紝鏁板�间负11</li>
-<li>
-<a href="#plus.barcode.MAXICODE">MAXICODE</a>: MaxiCode浜岀淮鐮侊紝鏁板�间负12</li>
-<li>
-<a href="#plus.barcode.PDF417">PDF417</a>: PDF 417浜岀淮鏉$爜锛屾暟鍊间负13</li>
-<li>
-<a href="#plus.barcode.RSS14">RSS14</a>: RSS 14鏉″舰缁勫悎鐮侊紝鏁板�间负14</li>
-<li>
-<a href="#plus.barcode.RSSEXPANDED">RSSEXPANDED</a>: 鎵╁睍寮廟SS鏉″舰缁勫悎鐮侊紝鏁板�间负15</li>
-</ul>
-<h2>鏂规硶锛�</h2>
-<ul>
-<li>
-<a href="#plus.barcode.scan">scan</a>: 鎵爜璇嗗埆鍥剧墖涓殑鏉$爜</li>
-<li>
-<a href="#plus.barcode.create">create</a>: 鍒涘缓鎵爜璇嗗埆鎺т欢瀵硅薄</li>
-<li>
-<a href="#plus.barcode.getBarcodeById">getBarcodeById</a>: 鏌ユ壘鎵爜璇嗗埆鎺т欢瀵硅薄</li>
-</ul>
-<h2>瀵硅薄锛�</h2>
-<ul>
-<li>
-<a href="#plus.barcode.Barcode">Barcode</a>: 鎵爜璇嗗埆鎺т欢瀵硅薄</li>
-<li>
-<a href="#plus.barcode.BarcodeStyles">BarcodeStyles</a>: Barcode鎵爜鎺т欢鏍峰紡</li>
-<li>
-<a href="#plus.barcode.BarcodeOptions">BarcodeOptions</a>: 鏉$爜璇嗗埆鎺т欢鎵弿鍙傛暟</li>
-</ul>
-<h2>鍥炶皟鏂规硶锛�</h2>
-<ul>
-<li>
-<a href="#plus.barcode.BarcodeSuccessCallback">BarcodeSuccessCallback</a>: 鎵爜璇嗗埆鎴愬姛鍥炶皟鍑芥暟</li>
-<li>
-<a href="#plus.barcode.BarcodeErrorCallback">BarcodeErrorCallback</a>: 鎵爜璇嗗埆閿欒鍥炶皟鍑芥暟</li>
-</ul>
-<h2>鏉冮檺锛�</h2>
-<p>permissions</p>
-<pre class="prettyprint linenums">
+	<head>
+		<meta charset="utf-8">
+		<meta name="viewport" content="initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
+		<meta name="HandheldFriendly" content="true">
+		<meta name="MobileOptimized" content="320">
+		<title>Barcode Document</title>
+		<link rel="stylesheet" type="text/css" href="res/doc.css" charset="utf-8">
+		<link rel="stylesheet" type="text/css" href="res/prettify.sons.css" charset="utf-8">
+		<script type="text/javascript" src="res/doc.js" charset="utf-8"></script>
+		<script type="text/javascript" src="res/prettify.js" charset="utf-8"></script>
+	</head>
+	<body>
+		<div id="content" class="content">
+			<h1><a name="plus.barcode">barcode</a></h1>
+			<p>Barcode妯″潡绠$悊鏉$爜锛堜竴缁寸爜鍜屼簩缁寸爜锛夋壂鎻忚瘑鍒紝鏀寔甯歌鐨勪竴缁寸爜锛堝EAN13鐮侊級鍙婁簩缁寸爜锛堝QR鐮侊級銆傞�氳繃璋冪敤璁惧鐨勬憚鍍忓ご瀵规潯鐮佽繘琛屾壂鎻忚瘑鍒紝鎵弿鍒版潯鐮佸悗杩涜瑙g爜骞惰繑鍥炵爜鏁版嵁鍐呭鍙婄爜绫诲瀷銆�</p>
+			<h2>甯搁噺锛�</h2>
+			<ul>
+				<li>
+					<a href="#plus.barcode.QR">QR</a>: QR浜岀淮鐮侊紝鏁板�间负0
+				</li>
+				<li>
+					<a href="#plus.barcode.EAN13">EAN13</a>: EAN鏉″舰鐮佹爣鍑嗙増锛屾暟鍊间负1
+				</li>
+				<li>
+					<a href="#plus.barcode.EAN8">EAN8</a>: ENA鏉″舰鐮佺畝鐗堬紝鏁板�间负2
+				</li>
+				<li>
+					<a href="#plus.barcode.AZTEC">AZTEC</a>: Aztec浜岀淮鐮侊紝鏁板�间负3
+				</li>
+				<li>
+					<a href="#plus.barcode.DATAMATRIX">DATAMATRIX</a>: Data Matrix浜岀淮鐮侊紝鏁板�间负4
+				</li>
+				<li>
+					<a href="#plus.barcode.UPCA">UPCA</a>: UPC鏉″舰鐮佹爣鍑嗙増锛屾暟鍊间负5
+				</li>
+				<li>
+					<a href="#plus.barcode.UPCE">UPCE</a>: UPC鏉″舰鐮佺缉鐭増锛屾暟鍊间负6
+				</li>
+				<li>
+					<a href="#plus.barcode.CODABAR">CODABAR</a>: Codabar鏉″舰鐮侊紝鏁板�间负7
+				</li>
+				<li>
+					<a href="#plus.barcode.CODE39">CODE39</a>: Code39鏉″舰鐮侊紝鏁板�间负8
+				</li>
+				<li>
+					<a href="#plus.barcode.CODE93">CODE93</a>: Code93鏉″舰鐮侊紝鏁板�间负9
+				</li>
+				<li>
+					<a href="#plus.barcode.CODE128">CODE128</a>: Code128鏉″舰鐮侊紝鏁板�间负10
+				</li>
+				<li>
+					<a href="#plus.barcode.ITF">ITF</a>: ITF鏉″舰鐮侊紝鏁板�间负11
+				</li>
+				<li>
+					<a href="#plus.barcode.MAXICODE">MAXICODE</a>: MaxiCode浜岀淮鐮侊紝鏁板�间负12
+				</li>
+				<li>
+					<a href="#plus.barcode.PDF417">PDF417</a>: PDF 417浜岀淮鏉$爜锛屾暟鍊间负13
+				</li>
+				<li>
+					<a href="#plus.barcode.RSS14">RSS14</a>: RSS 14鏉″舰缁勫悎鐮侊紝鏁板�间负14
+				</li>
+				<li>
+					<a href="#plus.barcode.RSSEXPANDED">RSSEXPANDED</a>: 鎵╁睍寮廟SS鏉″舰缁勫悎鐮侊紝鏁板�间负15
+				</li>
+			</ul>
+			<h2>鏂规硶锛�</h2>
+			<ul>
+				<li>
+					<a href="#plus.barcode.scan">scan</a>: 鎵爜璇嗗埆鍥剧墖涓殑鏉$爜
+				</li>
+				<li>
+					<a href="#plus.barcode.create">create</a>: 鍒涘缓鎵爜璇嗗埆鎺т欢瀵硅薄
+				</li>
+				<li>
+					<a href="#plus.barcode.getBarcodeById">getBarcodeById</a>: 鏌ユ壘鎵爜璇嗗埆鎺т欢瀵硅薄
+				</li>
+			</ul>
+			<h2>瀵硅薄锛�</h2>
+			<ul>
+				<li>
+					<a href="#plus.barcode.Barcode">Barcode</a>: 鎵爜璇嗗埆鎺т欢瀵硅薄
+				</li>
+				<li>
+					<a href="#plus.barcode.BarcodeStyles">BarcodeStyles</a>: Barcode鎵爜鎺т欢鏍峰紡
+				</li>
+				<li>
+					<a href="#plus.barcode.BarcodeOptions">BarcodeOptions</a>: 鏉$爜璇嗗埆鎺т欢鎵弿鍙傛暟
+				</li>
+			</ul>
+			<h2>鍥炶皟鏂规硶锛�</h2>
+			<ul>
+				<li>
+					<a href="#plus.barcode.BarcodeSuccessCallback">BarcodeSuccessCallback</a>: 鎵爜璇嗗埆鎴愬姛鍥炶皟鍑芥暟
+				</li>
+				<li>
+					<a href="#plus.barcode.BarcodeErrorCallback">BarcodeErrorCallback</a>: 鎵爜璇嗗埆閿欒鍥炶皟鍑芥暟
+				</li>
+			</ul>
+			<h2>鏉冮檺锛�</h2>
+			<p>permissions</p>
+			<pre class="prettyprint linenums">
 {
 // ...
 "permissions":{
@@ -86,9 +112,9 @@
 }
 }
 			</pre>
-<h1><a name="plus.barcode.Barcode">Barcode</a></h1>
-<p>鎵爜璇嗗埆鎺т欢瀵硅薄</p>
-<pre class="prettyprint linenums">
+			<h1><a name="plus.barcode.Barcode">Barcode</a></h1>
+			<p>鎵爜璇嗗埆鎺т欢瀵硅薄</p>
+			<pre class="prettyprint linenums">
 interface plus.barcode.Barcode {
 	// Methods
 	function void cancel();
@@ -102,37 +128,48 @@
 	function void onmarked();
 }
 				</pre>
-<h2>璇存槑锛�</h2>
-<p class="des">
-	鍙�氳繃plus.barcode.create鍒涘缓锛屼篃鍙�氳繃new plus.barcode.Barcode鏋勯�狅紙浠呭湪5+APP涓娇鐢級鍒涘缓銆�
-	鎵爜璇嗗埆鎺т欢灏嗕娇鐢ㄨ澶囩殑鎽勫儚澶撮瑙堟壂鎻忓唴瀹癸紝鍦ㄦ帶浠朵腑鏄剧ず鎵弿鍩哄噯妗嗙瓑鐢ㄦ埛浜や簰鍏冪礌銆�
-				</p>
-<h2>鏋勯�狅細</h2>
-<ul><li>
-<a href="#plus.barcode.Barcode.Barcode.constructor(domId,%20filters,%20styles)">Barcode.constructor(domId, filters, styles)</a>: 鏋勯�犳壂鐮佽瘑鍒帶浠�</li></ul>
-<h2>鏂规硶锛�</h2>
-<ul>
-<li>
-<a href="#plus.barcode.Barcode.cancel">cancel</a>: 鍙栨秷鎵爜璇嗗埆</li>
-<li>
-<a href="#plus.barcode.Barcode.close">close</a>: 鍏抽棴鏉$爜璇嗗埆鎺т欢</li>
-<li>
-<a href="#plus.barcode.Barcode.setFlash">setFlash</a>: 鎿嶄綔闂厜鐏�</li>
-<li>
-<a href="#plus.barcode.Barcode.setStyle">setStyle</a>: 璁剧疆鎵爜璇嗗埆鎺т欢鐨勬牱寮�</li>
-<li>
-<a href="#plus.barcode.Barcode.start">start</a>: 寮�濮嬫壂鐮佽瘑鍒�</li>
-</ul>
-<h2>浜嬩欢锛�</h2>
-<ul>
-<li>
-<a href="#plus.barcode.Barcode.onmarked">onmarked</a>: 鎵爜璇嗗埆鎴愬姛浜嬩欢</li>
-<li>
-<a href="#plus.barcode.Barcode.onerror">onerror</a>: 鎵爜璇嗗埆閿欒浜嬩欢</li>
-</ul>
-<h1><a name="plus.barcode.BarcodeStyles">BarcodeStyles</a></h1>
-<p>Barcode鎵爜鎺т欢鏍峰紡</p>
-<pre class="prettyprint linenums">
+			<h2>璇存槑锛�</h2>
+			<p class="des">
+				鍙�氳繃plus.barcode.create鍒涘缓锛屼篃鍙�氳繃new plus.barcode.Barcode鏋勯�狅紙浠呭湪5+APP涓娇鐢級鍒涘缓銆�
+				鎵爜璇嗗埆鎺т欢灏嗕娇鐢ㄨ澶囩殑鎽勫儚澶撮瑙堟壂鎻忓唴瀹癸紝鍦ㄦ帶浠朵腑鏄剧ず鎵弿鍩哄噯妗嗙瓑鐢ㄦ埛浜や簰鍏冪礌銆�
+			</p>
+			<h2>鏋勯�狅細</h2>
+			<ul>
+				<li>
+					<a href="#plus.barcode.Barcode.Barcode.constructor(domId,%20filters,%20styles)">Barcode.constructor(domId,
+						filters, styles)</a>: 鏋勯�犳壂鐮佽瘑鍒帶浠�
+				</li>
+			</ul>
+			<h2>鏂规硶锛�</h2>
+			<ul>
+				<li>
+					<a href="#plus.barcode.Barcode.cancel">cancel</a>: 鍙栨秷鎵爜璇嗗埆
+				</li>
+				<li>
+					<a href="#plus.barcode.Barcode.close">close</a>: 鍏抽棴鏉$爜璇嗗埆鎺т欢
+				</li>
+				<li>
+					<a href="#plus.barcode.Barcode.setFlash">setFlash</a>: 鎿嶄綔闂厜鐏�
+				</li>
+				<li>
+					<a href="#plus.barcode.Barcode.setStyle">setStyle</a>: 璁剧疆鎵爜璇嗗埆鎺т欢鐨勬牱寮�
+				</li>
+				<li>
+					<a href="#plus.barcode.Barcode.start">start</a>: 寮�濮嬫壂鐮佽瘑鍒�
+				</li>
+			</ul>
+			<h2>浜嬩欢锛�</h2>
+			<ul>
+				<li>
+					<a href="#plus.barcode.Barcode.onmarked">onmarked</a>: 鎵爜璇嗗埆鎴愬姛浜嬩欢
+				</li>
+				<li>
+					<a href="#plus.barcode.Barcode.onerror">onerror</a>: 鎵爜璇嗗埆閿欒浜嬩欢
+				</li>
+			</ul>
+			<h1><a name="plus.barcode.BarcodeStyles">BarcodeStyles</a></h1>
+			<p>Barcode鎵爜鎺т欢鏍峰紡</p>
+			<pre class="prettyprint linenums">
 interface plus.barcode.BarcodeStyles {
 	attribute String background;
 	attribute String frameColor;
@@ -145,80 +182,88 @@
 	attribute String position;
 }
 				</pre>
-<h2>璇存槑锛�</h2>
-<p class="des">
-	璁剧疆Barcode鎵爜鎺т欢鐨勬牱寮忥紝濡傛壂鐮佹銆佹壂鐮佹潯鐨勯鑹茬瓑銆�
-				</p>
-<h2>灞炴�э細</h2>
-<ul>
-<li>background: <em>(<font class="type">String</font>
-	绫诲瀷
-)</em>鏉$爜璇嗗埆鎺т欢鑳屾櫙棰滆壊<br><p>
-	棰滆壊鍊兼敮鎸�(鍙傝�僀SS棰滆壊瑙勮寖)锛氶鑹插悕绉�(鍙傝�僀SS Color Names)/鍗佸叚杩涘埗鍊�/rgb鍊硷紝榛樿鍊间负绾㈣壊銆�
-						</p>
-</li>
-<li>frameColor: <em>(<font class="type">String</font>
-	绫诲瀷
-)</em>鎵爜妗嗛鑹�<br><p>
-	棰滆壊鍊兼敮鎸�(鍙傝�僀SS棰滆壊瑙勮寖)锛氶鑹插悕绉�(鍙傝�僀SS Color Names)/鍗佸叚杩涘埗鍊�/rgb鍊�/rgba鍊硷紝榛樿鍊间负绾㈣壊銆�
-						</p>
-</li>
-<li>scanbarColor: <em>(<font class="type">String</font>
-	绫诲瀷
-)</em>鎵爜鏉¢鑹�<br><p>
-	棰滆壊鍊兼敮鎸�(鍙傝�僀SS棰滆壊瑙勮寖)锛氶鑹插悕绉�(鍙傝�僀SS Color Names)/鍗佸叚杩涘埗鍊�/rgb鍊�/rgba鍊硷紝榛樿鍊间负绾㈣壊銆�
-						</p>
-</li>
-<li>top: <em>(<font class="type">String</font>
-	绫诲瀷
-)</em>Barcode鎵爜鎺т欢宸︿笂瑙掔殑鍨傜洿鍋忕Щ閲�<br><p>
-	鍙彇鍊硷細
-		鍍忕礌鍊硷紝濡�"100px"锛�
-		鐧惧垎姣旓紝濡�"10%"锛岀浉瀵逛簬鐖禬ebview绐楀彛鐨勯珮搴︼紱
-		鑷姩璁$畻锛屽"auto",鏍规嵁height鍊艰嚜鍔ㄨ绠楋紝鐩稿浜庣埗Webview绐楀彛鍨傜洿灞呬腑銆�
-						</p>
-</li>
-<li>left: <em>(<font class="type">String</font>
-	绫诲瀷
-)</em>Barcode鎵爜鎺т欢宸︿笂瑙掔殑姘村钩鍋忕Щ閲�<br><p>
-	鍙彇鍊硷細
-		鍍忕礌鍊硷紝濡�"100px"锛�
-		鐧惧垎姣旓紝濡�"10%"锛岀浉瀵逛簬鐖禬ebview绐楀彛鐨勫搴︼紱
-		鑷姩璁$畻锛屽"auto"锛屾牴鎹畐idth鍊艰嚜鍔ㄨ绠楋紝鐩稿浜庣埗Webview绐楀彛姘村钩灞呬腑銆�
-	榛樿鍊间负"0px"銆�
-						</p>
-</li>
-<li>width: <em>(<font class="type">String</font>
-	绫诲瀷
-)</em>Barcode鎵爜鎺т欢鐨勫搴�<br><p>
-	鍙彇鍊硷細
-		鍍忕礌鍊硷紝濡�"100px"锛�
-		鐧惧垎姣旓紝濡�"10%"锛岀浉瀵逛簬鐖禬ebview绐楀彛鐨勫搴︺��
-	榛樿鍊间负"100%"銆�
-						</p>
-</li>
-<li>height: <em>(<font class="type">String</font>
-	绫诲瀷
-)</em>Barcode鎵爜鎺т欢鐨勯珮搴�<br><p>
-	鍙彇鍊硷細
-		鍍忕礌鍊硷紝濡�"100px"锛�
-		鐧惧垎姣旓紝濡�"10%"锛岀浉瀵逛簬鐖禬ebview绐楀彛鐨勯珮搴︺��
-	榛樿鍊间负"100%"銆�
-						</p>
-</li>
-<li>position: <em>(<font class="type">String</font>
-	绫诲瀷
-)</em>Barcode鎵爜鎺т欢鍦╓ebview绐楀彛鐨勫竷灞�妯″紡<br><p>
-	鍙彇鍊硷細
-		"static" - 闈欐�佸竷灞�妯″紡锛屽鏋滈〉闈㈠瓨鍦ㄦ粴鍔ㄦ潯鍒欓殢绐楀彛鍐呭婊氬姩锛�
-		"absolute" - 缁濆甯冨眬妯″紡锛屽鏋滈〉闈㈠瓨鍦ㄦ粴鍔ㄦ潯涓嶉殢绐楀彛鍐呭婊氬姩锛�
-	榛樿鍊间负"static"銆�
-						</p>
-</li>
-</ul>
-<h1><a name="plus.barcode.BarcodeOptions">BarcodeOptions</a></h1>
-<p>鏉$爜璇嗗埆鎺т欢鎵弿鍙傛暟</p>
-<pre class="prettyprint linenums">
+			<h2>璇存槑锛�</h2>
+			<p class="des">
+				璁剧疆Barcode鎵爜鎺т欢鐨勬牱寮忥紝濡傛壂鐮佹銆佹壂鐮佹潯鐨勯鑹茬瓑銆�
+			</p>
+			<h2>灞炴�э細</h2>
+			<ul>
+				<li>background: <em>(<font class="type">String</font>
+						绫诲瀷
+						)</em>鏉$爜璇嗗埆鎺т欢鑳屾櫙棰滆壊<br>
+					<p>
+						棰滆壊鍊兼敮鎸�(鍙傝�僀SS棰滆壊瑙勮寖)锛氶鑹插悕绉�(鍙傝�僀SS Color Names)/鍗佸叚杩涘埗鍊�/rgb鍊硷紝榛樿鍊间负绾㈣壊銆�
+					</p>
+				</li>
+				<li>frameColor: <em>(<font class="type">String</font>
+						绫诲瀷
+						)</em>鎵爜妗嗛鑹�<br>
+					<p>
+						棰滆壊鍊兼敮鎸�(鍙傝�僀SS棰滆壊瑙勮寖)锛氶鑹插悕绉�(鍙傝�僀SS Color Names)/鍗佸叚杩涘埗鍊�/rgb鍊�/rgba鍊硷紝榛樿鍊间负绾㈣壊銆�
+					</p>
+				</li>
+				<li>scanbarColor: <em>(<font class="type">String</font>
+						绫诲瀷
+						)</em>鎵爜鏉¢鑹�<br>
+					<p>
+						棰滆壊鍊兼敮鎸�(鍙傝�僀SS棰滆壊瑙勮寖)锛氶鑹插悕绉�(鍙傝�僀SS Color Names)/鍗佸叚杩涘埗鍊�/rgb鍊�/rgba鍊硷紝榛樿鍊间负绾㈣壊銆�
+					</p>
+				</li>
+				<li>top: <em>(<font class="type">String</font>
+						绫诲瀷
+						)</em>Barcode鎵爜鎺т欢宸︿笂瑙掔殑鍨傜洿鍋忕Щ閲�<br>
+					<p>
+						鍙彇鍊硷細
+						鍍忕礌鍊硷紝濡�"100px"锛�
+						鐧惧垎姣旓紝濡�"10%"锛岀浉瀵逛簬鐖禬ebview绐楀彛鐨勯珮搴︼紱
+						鑷姩璁$畻锛屽"auto",鏍规嵁height鍊艰嚜鍔ㄨ绠楋紝鐩稿浜庣埗Webview绐楀彛鍨傜洿灞呬腑銆�
+					</p>
+				</li>
+				<li>left: <em>(<font class="type">String</font>
+						绫诲瀷
+						)</em>Barcode鎵爜鎺т欢宸︿笂瑙掔殑姘村钩鍋忕Щ閲�<br>
+					<p>
+						鍙彇鍊硷細
+						鍍忕礌鍊硷紝濡�"100px"锛�
+						鐧惧垎姣旓紝濡�"10%"锛岀浉瀵逛簬鐖禬ebview绐楀彛鐨勫搴︼紱
+						鑷姩璁$畻锛屽"auto"锛屾牴鎹畐idth鍊艰嚜鍔ㄨ绠楋紝鐩稿浜庣埗Webview绐楀彛姘村钩灞呬腑銆�
+						榛樿鍊间负"0px"銆�
+					</p>
+				</li>
+				<li>width: <em>(<font class="type">String</font>
+						绫诲瀷
+						)</em>Barcode鎵爜鎺т欢鐨勫搴�<br>
+					<p>
+						鍙彇鍊硷細
+						鍍忕礌鍊硷紝濡�"100px"锛�
+						鐧惧垎姣旓紝濡�"10%"锛岀浉瀵逛簬鐖禬ebview绐楀彛鐨勫搴︺��
+						榛樿鍊间负"100%"銆�
+					</p>
+				</li>
+				<li>height: <em>(<font class="type">String</font>
+						绫诲瀷
+						)</em>Barcode鎵爜鎺т欢鐨勯珮搴�<br>
+					<p>
+						鍙彇鍊硷細
+						鍍忕礌鍊硷紝濡�"100px"锛�
+						鐧惧垎姣旓紝濡�"10%"锛岀浉瀵逛簬鐖禬ebview绐楀彛鐨勯珮搴︺��
+						榛樿鍊间负"100%"銆�
+					</p>
+				</li>
+				<li>position: <em>(<font class="type">String</font>
+						绫诲瀷
+						)</em>Barcode鎵爜鎺т欢鍦╓ebview绐楀彛鐨勫竷灞�妯″紡<br>
+					<p>
+						鍙彇鍊硷細
+						"static" - 闈欐�佸竷灞�妯″紡锛屽鏋滈〉闈㈠瓨鍦ㄦ粴鍔ㄦ潯鍒欓殢绐楀彛鍐呭婊氬姩锛�
+						"absolute" - 缁濆甯冨眬妯″紡锛屽鏋滈〉闈㈠瓨鍦ㄦ粴鍔ㄦ潯涓嶉殢绐楀彛鍐呭婊氬姩锛�
+						榛樿鍊间负"static"銆�
+					</p>
+				</li>
+			</ul>
+			<h1><a name="plus.barcode.BarcodeOptions">BarcodeOptions</a></h1>
+			<p>鏉$爜璇嗗埆鎺т欢鎵弿鍙傛暟</p>
+			<pre class="prettyprint linenums">
 interface plus.barcode.BarcodeOptions {
 	attribute Boolean conserve;
 	attribute String filename;
@@ -226,99 +271,110 @@
 	attribute String sound;
 }
 				</pre>
-<h2>璇存槑锛�</h2>
-<p class="des">
-	璁剧疆Barcode鎵爜鎺т欢鐨勬壂鐮佽瘑鍒弬鏁帮紝濡傛槸鍚︿繚瀛樻壂鐮佸姛鏃剁殑鎴浘绛夈��
-				</p>
-<h2>灞炴�э細</h2>
-<ul>
-<li>conserve: <em>(<font class="type">Boolean</font>
-	绫诲瀷
-)</em>鏄惁淇濆瓨鎵爜鎴愬姛鏃剁殑鎴浘<br><p>
-	濡傛灉璁剧疆涓簍rue鍒欏湪鎵爜鎴愬姛鏃跺皢鍥剧墖淇濆瓨锛屽苟閫氳繃onmarked鍥炶皟鍑芥暟鐨刦ile鍙傛暟杩斿洖淇濆瓨鏂囦欢鐨勮矾寰勩��
-	榛樿鍊间负false锛屼笉淇濆瓨鎴浘銆�
-						</p>
-</li>
-<li>filename: <em>(<font class="type">String</font>
-	绫诲瀷
-)</em>淇濆瓨鎵爜鎴愬姛鏃跺浘鐗囦繚瀛樿矾寰�<br><p>
-	鍙�氳繃姝ゅ弬鏁拌缃繚瀛樻埅鍥剧殑璺緞鍜屽悕绉帮紝濡傛灉璁剧疆鍥剧墖鏂囦欢鍚嶇О鍒欏繀椤绘寚瀹氭枃浠剁殑鍚庣紑鍚嶏紙蹇呴』鏄�.png锛夛紝鍚﹀垯璁や负鏄寚瀹氱洰褰曪紝鏂囦欢鍚嶇О鍒欒嚜鍔ㄧ敓鎴愩��
-						</p>
-</li>
-<li>vibrate: <em>(<font class="type">Boolean</font>
-	绫诲瀷
-)</em>鎵爜鎴愬姛鏃舵槸鍚﹂渶瑕侀渿鍔ㄦ彁閱�<br><p>
-	濡傛灉璁剧疆涓簍rue鍒欏湪鎵爜鎴愬姛鏃堕渿鍔ㄨ澶囷紝false鍒欎笉闇囧姩銆�
-	榛樿鍊间负true銆�
-						</p>
-</li>
-<li>sound: <em>(<font class="type">String</font>
-	绫诲瀷
-)</em>鎵爜鎴愬姛鏃舵挱鏀剧殑鎻愮ず闊�<br><p>
-	鍙彇鍊硷細
-	"none" - 涓嶆挱鏀炬彁绀洪煶锛�
-	"default" - 鎾斁榛樿鎻愮ず闊筹紙5+寮曟搸鍐呯疆锛夈��
-	榛樿鍊间负"default"銆�
-						</p>
-</li>
-</ul>
-<h1><a name="plus.barcode.BarcodeSuccessCallback">BarcodeSuccessCallback</a></h1>
-<p>鎵爜璇嗗埆鎴愬姛鍥炶皟鍑芥暟</p>
-<pre class="prettyprint linenums">
+			<h2>璇存槑锛�</h2>
+			<p class="des">
+				璁剧疆Barcode鎵爜鎺т欢鐨勬壂鐮佽瘑鍒弬鏁帮紝濡傛槸鍚︿繚瀛樻壂鐮佸姛鏃剁殑鎴浘绛夈��
+			</p>
+			<h2>灞炴�э細</h2>
+			<ul>
+				<li>conserve: <em>(<font class="type">Boolean</font>
+						绫诲瀷
+						)</em>鏄惁淇濆瓨鎵爜鎴愬姛鏃剁殑鎴浘<br>
+					<p>
+						濡傛灉璁剧疆涓簍rue鍒欏湪鎵爜鎴愬姛鏃跺皢鍥剧墖淇濆瓨锛屽苟閫氳繃onmarked鍥炶皟鍑芥暟鐨刦ile鍙傛暟杩斿洖淇濆瓨鏂囦欢鐨勮矾寰勩��
+						榛樿鍊间负false锛屼笉淇濆瓨鎴浘銆�
+					</p>
+				</li>
+				<li>filename: <em>(<font class="type">String</font>
+						绫诲瀷
+						)</em>淇濆瓨鎵爜鎴愬姛鏃跺浘鐗囦繚瀛樿矾寰�<br>
+					<p>
+						鍙�氳繃姝ゅ弬鏁拌缃繚瀛樻埅鍥剧殑璺緞鍜屽悕绉帮紝濡傛灉璁剧疆鍥剧墖鏂囦欢鍚嶇О鍒欏繀椤绘寚瀹氭枃浠剁殑鍚庣紑鍚嶏紙蹇呴』鏄�.png锛夛紝鍚﹀垯璁や负鏄寚瀹氱洰褰曪紝鏂囦欢鍚嶇О鍒欒嚜鍔ㄧ敓鎴愩��
+					</p>
+				</li>
+				<li>vibrate: <em>(<font class="type">Boolean</font>
+						绫诲瀷
+						)</em>鎵爜鎴愬姛鏃舵槸鍚﹂渶瑕侀渿鍔ㄦ彁閱�<br>
+					<p>
+						濡傛灉璁剧疆涓簍rue鍒欏湪鎵爜鎴愬姛鏃堕渿鍔ㄨ澶囷紝false鍒欎笉闇囧姩銆�
+						榛樿鍊间负true銆�
+					</p>
+				</li>
+				<li>sound: <em>(<font class="type">String</font>
+						绫诲瀷
+						)</em>鎵爜鎴愬姛鏃舵挱鏀剧殑鎻愮ず闊�<br>
+					<p>
+						鍙彇鍊硷細
+						"none" - 涓嶆挱鏀炬彁绀洪煶锛�
+						"default" - 鎾斁榛樿鎻愮ず闊筹紙5+寮曟搸鍐呯疆锛夈��
+						榛樿鍊间负"default"銆�
+					</p>
+				</li>
+			</ul>
+			<h1><a name="plus.barcode.BarcodeSuccessCallback">BarcodeSuccessCallback</a></h1>
+			<p>鎵爜璇嗗埆鎴愬姛鍥炶皟鍑芥暟</p>
+			<pre class="prettyprint linenums">
 void BarcodeSuccessCallback(type, code, file){
 	// Barcode success code
 }
 				</pre>
-<h2>璇存槑锛�</h2>
-<p class="des">
-	褰揃arcode鎺т欢鎵爜鎴愬姛鏃剁殑鍥炶皟鍑芥暟锛岃繑鍥炶瘑鍒垚鍔熺殑鎵爜鏁版嵁銆�
-				</p>
-<h2>鍙傛暟锛�</h2>
-<ul>
-<li>type: 
-		<em>(
-			<font class="type">Number</font>
-			)
-			蹇呴�� </em>璇嗗埆鍒扮殑鏉$爜绫诲瀷<br>
-	Number绫诲瀷鐨勫�硷紝涓嶣arcode瀵硅薄瀹氫箟鐨勬潯鐮佺被鍨嬪父閲忎竴鑷淬��
-						</li>
-<li>code: 
-		<em>(
-			<font class="type">String</font>
-			)
-			蹇呴�� </em>璇嗗埆鍒扮殑鏉$爜鏁版嵁<br>
-	鎵爜璇嗗埆鍑虹殑鏁版嵁鍐呭锛屽瓧绗︿覆绫诲瀷锛岄噰鐢║TF8缂栫爜鏍煎紡銆�
-						</li>
-<li>file: 
-		<em>(
-			<font class="type">String</font>
-			)
-			鍙�� </em>鎵爜鎴愬姛鐨勬埅鍥炬枃浠惰矾寰�<br>
-	鎵爜璇嗗埆鍒扮殑鎴浘锛宲ng鏍煎紡鏂囦欢锛屽鏋滆缃负涓嶄繚瀛樻埅鍥撅紝鍒欒繑鍥瀠ndefined銆�
-						</li>
-</ul>
-<h2>杩斿洖鍊硷細</h2>
-<font class="type">void</font>
+			<h2>璇存槑锛�</h2>
+			<p class="des">
+				褰揃arcode鎺т欢鎵爜鎴愬姛鏃剁殑鍥炶皟鍑芥暟锛岃繑鍥炶瘑鍒垚鍔熺殑鎵爜鏁版嵁銆�
+			</p>
+			<h2>鍙傛暟锛�</h2>
+			<ul>
+				<li>type:
+					<em>(
+						<font class="type">Number</font>
+						)
+						蹇呴��
+					</em>璇嗗埆鍒扮殑鏉$爜绫诲瀷<br>
+					Number绫诲瀷鐨勫�硷紝涓嶣arcode瀵硅薄瀹氫箟鐨勬潯鐮佺被鍨嬪父閲忎竴鑷淬��
+				</li>
+				<li>code:
+					<em>(
+						<font class="type">String</font>
+						)
+						蹇呴��
+					</em>璇嗗埆鍒扮殑鏉$爜鏁版嵁<br>
+					鎵爜璇嗗埆鍑虹殑鏁版嵁鍐呭锛屽瓧绗︿覆绫诲瀷锛岄噰鐢║TF8缂栫爜鏍煎紡銆�
+				</li>
+				<li>file:
+					<em>(
+						<font class="type">String</font>
+						)
+						鍙��
+					</em>鎵爜鎴愬姛鐨勬埅鍥炬枃浠惰矾寰�<br>
+					鎵爜璇嗗埆鍒扮殑鎴浘锛宲ng鏍煎紡鏂囦欢锛屽鏋滆缃负涓嶄繚瀛樻埅鍥撅紝鍒欒繑鍥瀠ndefined銆�
+				</li>
+			</ul>
+			<h2>杩斿洖鍊硷細</h2>
+			<font class="type">void</font>
 			: 鏃�<h1><a name="plus.barcode.BarcodeErrorCallback">BarcodeErrorCallback</a></h1>
-<p>鎵爜璇嗗埆閿欒鍥炶皟鍑芥暟</p>
-<pre class="prettyprint linenums">
+			<p>鎵爜璇嗗埆閿欒鍥炶皟鍑芥暟</p>
+			<pre class="prettyprint linenums">
 void BarcodeErrorCallback(error){
 	// Error 
 	var code = error.code; 			// 閿欒缂栫爜
 	var message = error.message;	// 閿欒鎻忚堪淇℃伅
 }
 				</pre>
-<h2>鍙傛暟锛�</h2>
-<ul><li>error: 
-		<em>(
-			<font class="type">DOMException</font>
-			)
-			蹇呴�� </em>鎵爜璇嗗埆鐨勯敊璇俊鎭�<br>
-	鍙�氳繃error.code锛圢umber绫诲瀷锛夎幏鍙栭敊璇紪鐮侊紱
-	鍙�氳繃error.message锛圫tring绫诲瀷锛夎幏鍙栭敊璇弿杩颁俊鎭��
-						</li></ul>
-<h2>杩斿洖鍊硷細</h2>
-<font class="type">void</font>
+			<h2>鍙傛暟锛�</h2>
+			<ul>
+				<li>error:
+					<em>(
+						<font class="type">DOMException</font>
+						)
+						蹇呴��
+					</em>鎵爜璇嗗埆鐨勯敊璇俊鎭�<br>
+					鍙�氳繃error.code锛圢umber绫诲瀷锛夎幏鍙栭敊璇紪鐮侊紱
+					鍙�氳繃error.message锛圫tring绫诲瀷锛夎幏鍙栭敊璇弿杩颁俊鎭��
+				</li>
+			</ul>
+			<h2>杩斿洖鍊硷細</h2>
+			<font class="type">void</font>
 			: 鏃�<br><br>
-</div></body>
+		</div>
+	</body>
 </html>
diff --git a/js/common.js b/js/common.js
index 2a5c880..ac4a291 100644
--- a/js/common.js
+++ b/js/common.js
@@ -1,178 +1,189 @@
-(function(w){
-// 绌哄嚱鏁�
-function shield(){
-	return false;
-}
-document.addEventListener('touchstart', shield, false);//鍙栨秷娴忚鍣ㄧ殑鎵�鏈変簨浠讹紝浣垮緱active鐨勬牱寮忓湪鎵嬫満涓婃甯哥敓鏁�
-document.oncontextmenu=shield;//灞忚斀閫夋嫨鍑芥暟
-// H5 plus浜嬩欢澶勭悊
-var ws=null,as='pop-in';
-function plusReady(){
-	ws=plus.webview.currentWebview();
-	plus.key.addEventListener('backbutton', function(){
-		back();
-	},false);
-}
-if(w.plus){
-	plusReady();
-}else{
-	document.addEventListener('plusready', plusReady, false);
-}
-// DOMContentLoaded浜嬩欢澶勭悊
-document.addEventListener('DOMContentLoaded', function(){
-	gInit();
-	document.body.onselectstart=shield;
-},false);
-// 杩斿洖
-w.back=function(hide){
-	if(w.plus){
-		ws||(ws=plus.webview.currentWebview());
-		(hide||ws.preate)?ws.hide('auto'):ws.close('auto');
-	}else if(history.length>1){
-		history.back();
-	}else{
-		w.close();
+(function(w) {
+	// 绌哄嚱鏁�
+	function shield() {
+		return false;
 	}
-};
-// 澶勭悊鐐瑰嚮浜嬩欢
-var openw=null;
-/**
- * 鎵撳紑鏂扮獥鍙�
- * @param {URIString} id : 瑕佹墦寮�椤甸潰url
- * @param {String} t : 椤甸潰鏍囬鍚嶇О
- * @param {JSON} ws : Webview绐楀彛灞炴��
- */
-w.clicked=function(id, t, ws){
-	if(openw){//閬垮厤澶氭鎵撳紑鍚屼竴涓〉闈�
-		return null;
-	}
-	if(w.plus){
-		ws=ws||{};
-		ws.scrollIndicator||(ws.scrollIndicator='none');
-		ws.scalable||(ws.scalable=false);
-		ws.backButtonAutoControl||(ws.backButtonAutoControl='close');
-		ws.titleNView=ws.titleNView||{autoBackButton:true};
-		ws.titleNView.backgroundColor = '#D74B28';
-		ws.titleNView.titleColor = '#CCCCCC';
-		ws.doc&&(ws.titleNView.buttons=ws.titleNView.buttons||[],ws.titleNView.buttons.push({fontSrc:'_www/helloh5.ttf',text:'\ue301',fontSize:'20px',onclick:'javascript:openDoc()'}));
-		t&&(ws.titleNView.titleText=t);
-		openw = plus.webview.create(id, id, ws);
-		openw.addEventListener('loaded', function(){
-			openw.show(as);
+	document.addEventListener('touchstart', shield, false); //鍙栨秷娴忚鍣ㄧ殑鎵�鏈変簨浠讹紝浣垮緱active鐨勬牱寮忓湪鎵嬫満涓婃甯哥敓鏁�
+	document.oncontextmenu = shield; //灞忚斀閫夋嫨鍑芥暟
+	// H5 plus浜嬩欢澶勭悊
+	var ws = null,
+		as = 'pop-in';
+
+	function plusReady() {
+		ws = plus.webview.currentWebview();
+		plus.key.addEventListener('backbutton', function() {
+			back();
 		}, false);
-		openw.addEventListener('close', function(){
-			openw=null;
-		}, false);
-		return openw;
-	}else{
-		w.open(id);
 	}
-	return null;
-};
-/**
- * 鍒涘缓鏂扮獥鍙o紙鏃犲師濮嬫爣棰樻爮锛夛紝
- * @param {URIString} id : 瑕佹墦寮�椤甸潰url
- * @param {JSON} ws : Webview绐楀彛灞炴��
- */
-w.createWithoutTitle=function(id, ws){
-	if(openw){//閬垮厤澶氭鎵撳紑鍚屼竴涓〉闈�
-		return null;
+	if (w.plus) {
+		plusReady();
+	} else {
+		document.addEventListener('plusready', plusReady, false);
 	}
-	if(w.plus){
-		ws=ws||{};
-		ws.scrollIndicator||(ws.scrollIndicator='none');
-		ws.scalable||(ws.scalable=false);
-		ws.backButtonAutoControl||(ws.backButtonAutoControl='close');
-		openw = plus.webview.create(id, id, ws);
-		openw.addEventListener('close', function(){
-			openw=null;
-		}, false);
-		return openw;
-	}else{
-		w.open(id);
-	}
-	return null;
-};
-/**
- * 鎵撳紑鏂囨。椤甸潰
- * @param {URIString} c : 瑕佹墦寮�椤甸潰url
- */
-w.openDoc=function(c){
-	plus.webview.create(c, 'document', {
-		titleNView:{
-			autoBackButton:true,
-			backgroundColor:'#D74B28',
-			titleColor:'#CCCCCC'
-		},
-		backButtonAutoControl:'close',
-		scalable:false
-	}).show('pop-in');
-};
-/**
- * 鍏煎鎻愮ず
- */
-w.compatibleConfirm=function(){
-	plus.nativeUI.confirm('鏈琌S鍘熺敓灞傞潰涓嶆彁渚涜鎺т欢锛岄渶浣跨敤mui妗嗘灦瀹炵幇绫讳技鏁堟灉銆傝鐐瑰嚮鈥滅‘瀹氣�濅笅杞紿ello mui绀轰緥',function(e){
-		if(0==e.index){
-			plus.runtime.openURL("http://www.dcloud.io/hellomui/");
+	// DOMContentLoaded浜嬩欢澶勭悊
+	document.addEventListener('DOMContentLoaded', function() {
+		gInit();
+		document.body.onselectstart = shield;
+	}, false);
+	// 杩斿洖
+	w.back = function(hide) {
+		if (w.plus) {
+			ws || (ws = plus.webview.currentWebview());
+			(hide || ws.preate) ? ws.hide('auto'): ws.close('auto');
+		} else if (history.length > 1) {
+			history.back();
+		} else {
+			w.close();
 		}
-	},"",["纭畾","鍙栨秷"]);
-}
-// 閫氱敤鍏冪礌瀵硅薄
-var _dout_=null;
-w.gInit=function(){
-	_dout_=document.getElementById("output");
-};
-// 娓呯┖杈撳嚭鍐呭
-w.outClean=function(){
-	_dout_.innerText="";
-	_dout_.scrollTop=0;//鍦╥OS8瀛樺湪涓嶆粴鍔ㄧ殑鐜拌薄
-};
-// 杈撳嚭鍐呭
-w.outSet=function(s){
-	console.log(s);
-	_dout_.innerText=s+"\n";
-	(0==_dout_.scrollTop)&&(_dout_.scrollTop=1);//鍦╥OS8瀛樺湪涓嶆粴鍔ㄧ殑鐜拌薄
-};
-// 杈撳嚭琛屽唴瀹�
-w.outLine=function(s){
-	console.log(s);
-	_dout_.innerText+=s+"\n";
-	(0==_dout_.scrollTop)&&(_dout_.scrollTop=1);//鍦╥OS8瀛樺湪涓嶆粴鍔ㄧ殑鐜拌薄
-};
-// 鏍煎紡鍖栨椂闀垮瓧绗︿覆锛屾牸寮忎负"HH:MM:SS"
-w.timeToStr=function(ts){
-	if(isNaN(ts)){
-		return "--:--:--";
+	};
+	// 澶勭悊鐐瑰嚮浜嬩欢
+	var openw = null;
+	/**
+	 * 鎵撳紑鏂扮獥鍙�
+	 * @param {URIString} id : 瑕佹墦寮�椤甸潰url
+	 * @param {String} t : 椤甸潰鏍囬鍚嶇О
+	 * @param {JSON} ws : Webview绐楀彛灞炴��
+	 */
+	w.clicked = function(id, t, ws) {
+		if (openw) { //閬垮厤澶氭鎵撳紑鍚屼竴涓〉闈�
+			return null;
+		}
+		if (w.plus) {
+			ws = ws || {};
+			ws.scrollIndicator || (ws.scrollIndicator = 'none');
+			ws.scalable || (ws.scalable = false);
+			ws.backButtonAutoControl || (ws.backButtonAutoControl = 'close');
+			ws.titleNView = ws.titleNView || {
+				autoBackButton: true
+			};
+			ws.titleNView.backgroundColor = '#D74B28';
+			ws.titleNView.titleColor = '#CCCCCC';
+			ws.doc && (ws.titleNView.buttons = ws.titleNView.buttons || [], ws.titleNView.buttons.push({
+				fontSrc: '_www/helloh5.ttf',
+				text: '\ue301',
+				fontSize: '20px',
+				onclick: 'javascript:openDoc()'
+			}));
+			t && (ws.titleNView.titleText = t);
+			openw = plus.webview.create(id, id, ws);
+			openw.addEventListener('loaded', function() {
+				openw.show(as);
+			}, false);
+			openw.addEventListener('close', function() {
+				openw = null;
+			}, false);
+			return openw;
+		} else {
+			w.open(id);
+		}
+		return null;
+	};
+	/**
+	 * 鍒涘缓鏂扮獥鍙o紙鏃犲師濮嬫爣棰樻爮锛夛紝
+	 * @param {URIString} id : 瑕佹墦寮�椤甸潰url
+	 * @param {JSON} ws : Webview绐楀彛灞炴��
+	 */
+	w.createWithoutTitle = function(id, ws) {
+		if (openw) { //閬垮厤澶氭鎵撳紑鍚屼竴涓〉闈�
+			return null;
+		}
+		if (w.plus) {
+			ws = ws || {};
+			ws.scrollIndicator || (ws.scrollIndicator = 'none');
+			ws.scalable || (ws.scalable = false);
+			ws.backButtonAutoControl || (ws.backButtonAutoControl = 'close');
+			openw = plus.webview.create(id, id, ws);
+			openw.addEventListener('close', function() {
+				openw = null;
+			}, false);
+			return openw;
+		} else {
+			w.open(id);
+		}
+		return null;
+	};
+	/**
+	 * 鎵撳紑鏂囨。椤甸潰
+	 * @param {URIString} c : 瑕佹墦寮�椤甸潰url
+	 */
+	w.openDoc = function(c) {
+		plus.webview.create(c, 'document', {
+			titleNView: {
+				autoBackButton: true,
+				backgroundColor: '#D74B28',
+				titleColor: '#CCCCCC'
+			},
+			backButtonAutoControl: 'close',
+			scalable: false
+		}).show('pop-in');
+	};
+	/**
+	 * 鍏煎鎻愮ず
+	 */
+	w.compatibleConfirm = function() {
+		plus.nativeUI.confirm('鏈琌S鍘熺敓灞傞潰涓嶆彁渚涜鎺т欢锛岄渶浣跨敤mui妗嗘灦瀹炵幇绫讳技鏁堟灉銆傝鐐瑰嚮鈥滅‘瀹氣�濅笅杞紿ello mui绀轰緥', function(e) {
+			if (0 == e.index) {
+				plus.runtime.openURL("http://www.dcloud.io/hellomui/");
+			}
+		}, "", ["纭畾", "鍙栨秷"]);
 	}
-	var h=parseInt(ts/3600);
-	var m=parseInt((ts%3600)/60);
-	var s=parseInt(ts%60);
-	return (ultZeroize(h)+":"+ultZeroize(m)+":"+ultZeroize(s));
-};
-// 鏍煎紡鍖栨棩鏈熸椂闂村瓧绗︿覆锛屾牸寮忎负"YYYY-MM-DD HH:MM:SS"
-w.dateToStr=function(d){
-	return (d.getFullYear()+"-"+ultZeroize(d.getMonth()+1)+"-"+ultZeroize(d.getDate())+" "+ultZeroize(d.getHours())+":"+ultZeroize(d.getMinutes())+":"+ultZeroize(d.getSeconds()));
-};
-/**
- * zeroize value with length(default is 2).
- * @param {Object} v
- * @param {Number} l
- * @return {String} 
- */
-w.ultZeroize=function(v,l){
-	var z="";
-	l=l||2;
-	v=String(v);
-	for(var i=0;i<l-v.length;i++){
-		z+="0";
-	}
-	return z+v;
-};
+	// 閫氱敤鍏冪礌瀵硅薄
+	var _dout_ = null;
+	w.gInit = function() {
+		_dout_ = document.getElementById("output");
+	};
+	// 娓呯┖杈撳嚭鍐呭
+	w.outClean = function() {
+		_dout_.innerText = "";
+		_dout_.scrollTop = 0; //鍦╥OS8瀛樺湪涓嶆粴鍔ㄧ殑鐜拌薄
+	};
+	// 杈撳嚭鍐呭
+	w.outSet = function(s) {
+		console.log(s);
+		_dout_.innerText = s + "\n";
+		(0 == _dout_.scrollTop) && (_dout_.scrollTop = 1); //鍦╥OS8瀛樺湪涓嶆粴鍔ㄧ殑鐜拌薄
+	};
+	// 杈撳嚭琛屽唴瀹�
+	w.outLine = function(s) {
+		console.log(s);
+		_dout_.innerText += s + "\n";
+		(0 == _dout_.scrollTop) && (_dout_.scrollTop = 1); //鍦╥OS8瀛樺湪涓嶆粴鍔ㄧ殑鐜拌薄
+	};
+	// 鏍煎紡鍖栨椂闀垮瓧绗︿覆锛屾牸寮忎负"HH:MM:SS"
+	w.timeToStr = function(ts) {
+		if (isNaN(ts)) {
+			return "--:--:--";
+		}
+		var h = parseInt(ts / 3600);
+		var m = parseInt((ts % 3600) / 60);
+		var s = parseInt(ts % 60);
+		return (ultZeroize(h) + ":" + ultZeroize(m) + ":" + ultZeroize(s));
+	};
+	// 鏍煎紡鍖栨棩鏈熸椂闂村瓧绗︿覆锛屾牸寮忎负"YYYY-MM-DD HH:MM:SS"
+	w.dateToStr = function(d) {
+		return (d.getFullYear() + "-" + ultZeroize(d.getMonth() + 1) + "-" + ultZeroize(d.getDate()) + " " +
+			ultZeroize(d.getHours()) + ":" + ultZeroize(d.getMinutes()) + ":" + ultZeroize(d.getSeconds()));
+	};
+	/**
+	 * zeroize value with length(default is 2).
+	 * @param {Object} v
+	 * @param {Number} l
+	 * @return {String} 
+	 */
+	w.ultZeroize = function(v, l) {
+		var z = "";
+		l = l || 2;
+		v = String(v);
+		for (var i = 0; i < l - v.length; i++) {
+			z += "0";
+		}
+		return z + v;
+	};
 })(window);
 
 // fast click 
-;(function () {
+;
+(function() {
 	'use strict';
 
 	/**
@@ -282,7 +293,9 @@
 
 		// Some old versions of Android don't have Function.prototype.bind
 		function bind(method, context) {
-			return function() { return method.apply(context, arguments); };
+			return function() {
+				return method.apply(context, arguments);
+			};
 		}
 
 
@@ -348,10 +361,10 @@
 	}
 
 	/**
-	* Windows Phone 8.1 fakes user agent string to look like Android and iPhone.
-	*
-	* @type boolean
-	*/
+	 * Windows Phone 8.1 fakes user agent string to look like Android and iPhone.
+	 *
+	 * @type boolean
+	 */
 	var deviceIsWindowsPhone = navigator.userAgent.indexOf("Windows Phone") >= 0;
 
 	/**
@@ -401,27 +414,27 @@
 	FastClick.prototype.needsClick = function(target) {
 		switch (target.nodeName.toLowerCase()) {
 
-		// Don't send a synthetic click to disabled inputs (issue #62)
-		case 'button':
-		case 'select':
-		case 'textarea':
-			if (target.disabled) {
+			// Don't send a synthetic click to disabled inputs (issue #62)
+			case 'button':
+			case 'select':
+			case 'textarea':
+				if (target.disabled) {
+					return true;
+				}
+
+				break;
+			case 'input':
+
+				// File inputs need real clicks on iOS 6 due to a browser bug (issue #68)
+				if ((deviceIsIOS && target.type === 'file') || target.disabled) {
+					return true;
+				}
+
+				break;
+			case 'label':
+			case 'iframe': // iOS8 homescreen apps can prevent events bubbling into frames
+			case 'video':
 				return true;
-			}
-
-			break;
-		case 'input':
-
-			// File inputs need real clicks on iOS 6 due to a browser bug (issue #68)
-			if ((deviceIsIOS && target.type === 'file') || target.disabled) {
-				return true;
-			}
-
-			break;
-		case 'label':
-		case 'iframe': // iOS8 homescreen apps can prevent events bubbling into frames
-		case 'video':
-			return true;
 		}
 
 		return (/\bneedsclick\b/).test(target.className);
@@ -436,25 +449,25 @@
 	 */
 	FastClick.prototype.needsFocus = function(target) {
 		switch (target.nodeName.toLowerCase()) {
-		case 'textarea':
-			return true;
-		case 'select':
-			return !deviceIsAndroid;
-		case 'input':
-			switch (target.type) {
-			case 'button':
-			case 'checkbox':
-			case 'file':
-			case 'image':
-			case 'radio':
-			case 'submit':
-				return false;
-			}
+			case 'textarea':
+				return true;
+			case 'select':
+				return !deviceIsAndroid;
+			case 'input':
+				switch (target.type) {
+					case 'button':
+					case 'checkbox':
+					case 'file':
+					case 'image':
+					case 'radio':
+					case 'submit':
+						return false;
+				}
 
-			// No point in attempting to focus disabled inputs
-			return !target.disabled && !target.readOnly;
-		default:
-			return (/\bneedsfocus\b/).test(target.className);
+				// No point in attempting to focus disabled inputs
+				return !target.disabled && !target.readOnly;
+			default:
+				return (/\bneedsfocus\b/).test(target.className);
 		}
 	};
 
@@ -477,7 +490,8 @@
 
 		// Synthesise a click event, with an extra attribute so it can be tracked
 		clickEvent = document.createEvent('MouseEvents');
-		clickEvent.initMouseEvent(this.determineEventType(targetElement), true, true, window, 1, touch.screenX, touch.screenY, touch.clientX, touch.clientY, false, false, false, false, 0, null);
+		clickEvent.initMouseEvent(this.determineEventType(targetElement), true, true, window, 1, touch.screenX,
+			touch.screenY, touch.clientX, touch.clientY, false, false, false, false, 0, null);
 		clickEvent.forwardedTouchEvent = true;
 		targetElement.dispatchEvent(clickEvent);
 	};
@@ -500,7 +514,8 @@
 		var length;
 
 		// Issue #160: on iOS 7, some input elements (e.g. date datetime month) throw a vague TypeError on setSelectionRange. These elements don't have an integer value for the selectionStart and selectionEnd properties, but unfortunately that can't be used for detection because accessing the properties also throws a TypeError. Just check the type instead. Filed as Apple bug #15122724.
-		if (deviceIsIOS && targetElement.setSelectionRange && targetElement.type.indexOf('date') !== 0 && targetElement.type !== 'time' && targetElement.type !== 'month') {
+		if (deviceIsIOS && targetElement.setSelectionRange && targetElement.type.indexOf('date') !== 0 &&
+			targetElement.type !== 'time' && targetElement.type !== 'month') {
 			length = targetElement.value.length;
 			targetElement.setSelectionRange(length, length);
 		} else {
@@ -631,9 +646,11 @@
 	 * @returns {boolean}
 	 */
 	FastClick.prototype.touchHasMoved = function(event) {
-		var touch = event.changedTouches[0], boundary = this.touchBoundary;
+		var touch = event.changedTouches[0],
+			boundary = this.touchBoundary;
 
-		if (Math.abs(touch.pageX - this.touchStartX) > boundary || Math.abs(touch.pageY - this.touchStartY) > boundary) {
+		if (Math.abs(touch.pageX - this.touchStartX) > boundary || Math.abs(touch.pageY - this.touchStartY) >
+			boundary) {
 			return true;
 		}
 
@@ -653,7 +670,8 @@
 		}
 
 		// If the touch has moved, cancel the click tracking
-		if (this.targetElement !== this.getTargetElementFromEventTarget(event.target) || this.touchHasMoved(event)) {
+		if (this.targetElement !== this.getTargetElementFromEventTarget(event.target) || this.touchHasMoved(
+				event)) {
 			this.trackingClick = false;
 			this.targetElement = null;
 		}
@@ -682,7 +700,8 @@
 
 		// If no for attribute exists, attempt to retrieve the first labellable descendant element
 		// the list of which is defined here: http://www.w3.org/TR/html5/forms.html#category-label
-		return labelElement.querySelector('button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea');
+		return labelElement.querySelector(
+			'button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea');
 	};
 
 
@@ -693,7 +712,8 @@
 	 * @returns {boolean}
 	 */
 	FastClick.prototype.onTouchEnd = function(event) {
-		var forElement, trackingClickStart, targetTagName, scrollParent, touch, targetElement = this.targetElement;
+		var forElement, trackingClickStart, targetTagName, scrollParent, touch, targetElement = this
+			.targetElement;
 
 		if (!this.trackingClick) {
 			return true;
@@ -726,7 +746,8 @@
 			touch = event.changedTouches[0];
 
 			// In certain cases arguments of elementFromPoint can be negative, so prevent setting targetElement to null
-			targetElement = document.elementFromPoint(touch.pageX - window.pageXOffset, touch.pageY - window.pageYOffset) || targetElement;
+			targetElement = document.elementFromPoint(touch.pageX - window.pageXOffset, touch.pageY - window
+				.pageYOffset) || targetElement;
 			targetElement.fastClickScrollParent = this.targetElement.fastClickScrollParent;
 		}
 
@@ -745,7 +766,8 @@
 
 			// Case 1: If the touch started a while ago (best guess is 100ms based on tests for issue #36) then focus will be triggered anyway. Return early and unset the target element reference so that the subsequent click will be allowed through.
 			// Case 2: Without this exception for input elements tapped when the document is contained in an iframe, then any inputted text won't be visible even though the value attribute is updated as the user types (issue #37).
-			if ((event.timeStamp - trackingClickStart) > 100 || (deviceIsIOS && window.top !== window && targetTagName === 'input')) {
+			if ((event.timeStamp - trackingClickStart) > 100 || (deviceIsIOS && window.top !== window &&
+					targetTagName === 'input')) {
 				this.targetElement = null;
 				return false;
 			}
@@ -917,7 +939,7 @@
 		}
 
 		// Chrome version - zero for other browsers
-		chromeVersion = +(/Chrome\/([0-9]+)/.exec(navigator.userAgent) || [,0])[1];
+		chromeVersion = +(/Chrome\/([0-9]+)/.exec(navigator.userAgent) || [, 0])[1];
 
 		if (chromeVersion) {
 
@@ -935,7 +957,7 @@
 					}
 				}
 
-			// Chrome desktop doesn't need FastClick (issue #15)
+				// Chrome desktop doesn't need FastClick (issue #15)
 			} else {
 				return true;
 			}
@@ -968,13 +990,14 @@
 		}
 
 		// Firefox version - zero for other browsers
-		firefoxVersion = +(/Firefox\/([0-9]+)/.exec(navigator.userAgent) || [,0])[1];
+		firefoxVersion = +(/Firefox\/([0-9]+)/.exec(navigator.userAgent) || [, 0])[1];
 
 		if (firefoxVersion >= 27) {
 			// Firefox 27+ does not have tap delay if the content is not zoomable - https://bugzilla.mozilla.org/show_bug.cgi?id=922896
 
 			metaViewport = document.querySelector('meta[name=viewport]');
-			if (metaViewport && (metaViewport.content.indexOf('user-scalable=no') !== -1 || document.documentElement.scrollWidth <= window.outerWidth)) {
+			if (metaViewport && (metaViewport.content.indexOf('user-scalable=no') !== -1 || document
+					.documentElement.scrollWidth <= window.outerWidth)) {
 				return true;
 			}
 		}
@@ -1013,8 +1036,8 @@
 		window.FastClick = FastClick;
 	}
 
-document.addEventListener('DOMContentLoaded', function() {
-    FastClick.attach(document.body);
-}, false);
+	document.addEventListener('DOMContentLoaded', function() {
+		FastClick.attach(document.body);
+	}, false);
 
 }());
diff --git a/js/global.js b/js/global.js
index 7f45abe..70ec3bb 100644
--- a/js/global.js
+++ b/js/global.js
@@ -1,16 +1,14 @@
-// // 鏍煎紡鍖栧湴鍧�鏍忓弬鏁�    灏嗗璞¤嚜鍔ㄦ嫾鎺ユ垚鍦板潃鏍忎紶鍙傚舰寮�
-
-// export   formatParams() {
-// 	const data = {
-// 		userid: 33,
-// 		usercode: '002',
-// 		username: '寮犱笁',
-// 		usertype: 'APP'
-// 	}
-
-
-// 	return data
-
-// }
-
-// export const value=1
+(function(w) {
+	 // 鏍煎紡鍖栧湴鍧�鏍忓弬鏁�    灏嗗璞¤嚜鍔ㄦ嫾鎺ユ垚鍦板潃鏍忎紶鍙傚舰寮�
+	 w.formatParams = function() {
+			const data = {
+				userid: 33,
+				usercode: '002',
+				username: '寮犱笁',
+				usertype: 'APP'
+			}
+		return data;
+	}
+	
+	
+})(window);
\ No newline at end of file
diff --git a/pages/login/index.html b/pages/login/index.html
index a27c8a4..92af73e 100644
--- a/pages/login/index.html
+++ b/pages/login/index.html
@@ -19,8 +19,8 @@
 		<script type="text/javascript" src="../../js/http.js"></script>
 
 
-		<!-- 瀵煎叆鑷畾涔塲s鏂囦欢 -->
-		<!-- <script type="module" src="../../js/global.js"></script> -->
+		<!-- 瀵煎叆鑷畾涔夊叏灞�js鏂囦欢 -->
+		<script type="text/javascript" src="../../js/global.js"></script>
 
 
 
@@ -73,7 +73,7 @@
 
 			},
 			mounted() {
-
+				console.log(formatParams(),1)
 			},
 			methods: {
 				loginClick() {
diff --git a/pages/sbgl/rcdj.html b/pages/sbgl/rcdj.html
index c7aee17..51480a0 100644
--- a/pages/sbgl/rcdj.html
+++ b/pages/sbgl/rcdj.html
@@ -6,7 +6,7 @@
 		<meta name="HandheldFriendly" content="true" />
 		<meta name="MobileOptimized" content="320" />
 		<title>鏂板嚡杩埗閫犱簯骞冲彴</title>
-		
+
 		<!-- 寮曞叆鏍峰紡鏂囦欢 -->
 		<link rel="stylesheet" href="../../css/vant.css" />
 		<!-- 寮曞叆 Vue 鍜� Vant 鐨� JS 鏂囦欢 -->
@@ -17,10 +17,150 @@
 		<script type="text/javascript" src="../../js/axios.min.js"></script>
 		<script type="text/javascript" src="../../js/http.js"></script>
 
+		<script type="text/javascript" src="../../js/common.js"></script>
 
-		<link rel="stylesheet" href="../css/global.css" type="text/css" charset="utf-8" />
+		<!-- <link rel="stylesheet" href="../../css/global.css" type="text/css" charset="utf-8" /> -->
 
+		<script type="text/javascript">
+			var topContent = [
+				// {
+				// 	code: 'SB001',
+				// 	name: '榻胯疆绠辩粍',
+				// 	wksp_code: "CJ002",
+				// 	wksp_name: '瑁呴厤杞﹂棿',
+				// 	eqpchkmain_code: "djbz002"
+				// },
+				// {
+				// 	code: 'SB003',
+				// 	name: '榻胯疆绠辩粍',
+				// 	wksp_code: "CJ002",
+				// 	wksp_name: '瑁呴厤杞﹂棿',
+				// 	eqpchkmain_code: "djbz002"
+				// }, 
+			];
+
+			var centerContent = [
+				// 	{
+				// 	checkdesc: '姘斿帇姝e父10甯曪紝鏈�楂樹笉瓒呰繃10.5甯曪紝鏈�浣庝笉浣庝簬9.7',
+				// 	code: 'BW003',
+				// 	name: '閮ㄤ綅3',
+				// 	seq: 2,
+				// 	cycle: 'D',
+				// 	isscan: 'N',
+				// 	isOK: 'OK',
+				// 	inputValue: '',
+				// 	isDisabled: false,
+				// },
+			]
+
+
+			let radioValue = ''
+
+			let resultValue = ''
+
+
+			let bwcode = ''
+
+			let number = []
+
+			function scaned(r) {
+
+				let flag = false
+				topContent.forEach((item, index) => {
+					if (item.code === r) {
+						flag = true
+					}
+				})
+				if (flag) {
+					vant.Notify({
+						type: 'danger',
+						message: '姝ゆ潯鐮佸凡鎵弿锛屽凡鍦ㄥ垪琛ㄤ腑锛�'
+					});
+				} else {
+					get('AppDeviceManage/CheckScanDeviceQrCodeData', {
+						eqpcode: r
+					}).then(res => {
+						if (res.code === '200' && res.data[0].eqpchkmain_code !== null) {
+							topContent.unshift(res.data[0])
+							topContentClcik(topContent[0].code)
+						}
+
+						if (res.code === '200' && res.data[0].eqpchkmain_code === null) {
+							vant.Notify({
+								type: 'danger',
+								message: '褰撳墠璁惧鏈缃偣妫�鏍囧噯缁戝畾鐐规椤圭洰锛�'
+							});
+						}
+					})
+				}
+
+
+
+			}
+
+
+			function scaned2(r) {
+				if (bwcode === r) {
+					centerContent.forEach(item => {
+						if (item.code === bwcode) {
+							item.isDisabled = false
+							item.isOK = 'OK'
+
+
+							if (centerContent.every(r => r.isOK === 'OK')) {
+								resultValue = 'OK'
+							}
+							if (centerContent.some(r => r.isOK === 'NG')) {
+								resultValue = 'NG'
+							}
+							if (centerContent.some(r => r.isOK === '')) {
+								resultValue = ''
+							}
+
+
+							number.push({
+								id: '1'
+							})
+						}
+					})
+				} else {
+					vant.Notify({
+						type: 'danger',
+						message: '鎵弿鐨勪簩缁寸爜鏈笌姝ょ偣妫�椤圭洰鐩稿尮閰嶏紒'
+					});
+				}
+
+			}
+
+
+			function topContentClcik(code) {
+				radioValue = code
+				get('AppDeviceManage/SelectScanDeviceQrCodeItem', {
+					eqpcode: code
+				}).then(res => {
+					if (res.code === '200') {
+						centerContent = res.data
+						centerContent = JSON.parse(JSON.stringify(centerContent))
+						centerContent.forEach(item => {
+							item.isDisabled = item.isscan === 'Y'
+							item.inputValue = ''
+							item.isOK = item.isscan !== 'Y' ? 'OK' : ''
+						})
+						if (centerContent.every(r => r.isOK === 'OK')) {
+							resultValue = 'OK'
+						}
+						if (centerContent.some(r => r.isOK === 'NG')) {
+							resultValue = 'NG'
+						}
+						if (centerContent.some(r => r.isOK === '')) {
+							resultValue = ''
+						}
+					}
+				})
+			}
+		</script>
 	</head>
+	<!-- <body onload="loadNodes()"> -->
 	<body>
 		<div id="app">
 
@@ -28,7 +168,7 @@
 
 				<van-nav-bar title="鏃ュ父鐐规" @click-right="onClickRight" left-arrow @click-left="onClickleft">
 					<template #right>
-						<van-popover style="" placement="bottom-end" :offset="[13,8]" v-model="showPopover" 
+						<van-popover style="" placement="bottom-end" :offset="[13,8]" v-model="showPopover"
 							trigger="click" :actions="actions" @select="onSelect">
 							<template #reference>
 								<van-icon name="bars" size='20' color='#fff' />
@@ -37,8 +177,129 @@
 					</template>
 				</van-nav-bar>
 
-			</div>
 
+				<div class="head">
+					<div class="head_block">
+						<div class="head_left">
+							<div class="head_bar"></div>
+							<div class="head_title">
+								鎵弿鐐规宸ヤ綅
+							</div>
+						</div>
+
+						<div style="margin-right: 10px;">
+							<van-icon name="scan" color='red' size='24' @click='topScanClick()' />
+						</div>
+
+					</div>
+
+					<div class="flex_between" style="">
+						<div id="contentLeft" style="width: 100%;margin-top: 10px;">
+							<div id="topContentID" v-for="item in topContent" :key="item.code"
+								style="margin-bottom: 10px;margin-left: 20px;" @click="topContentClcik(item.code)">
+								<div style="display: flex;align-items: center;">
+									<div>
+										<div>宸ヤ綅缂栫爜锛�</div>
+										<div>宸ヤ綅鍚嶇О锛�</div>
+										<div>鐢熶骇杞﹂棿锛�</div>
+									</div>
+									<div>
+										<div>{{item.code}}</div>
+										<div>{{item.name}}</div>
+										<div>{{item.wksp_name}}</div>
+									</div>
+								</div>
+
+							</div>
+						</div>
+						<div id="contentRight">
+							<van-radio-group v-model="radioValue" style="padding-right: 12px;">
+								<van-radio checked-color='red' icon-size="18px"
+									style="height: 63px;margin-bottom: 10px;" v-for="item in topContent"
+									:key="item.code" :name="item.code"></van-radio>
+							</van-radio-group>
+						</div>
+					</div>
+				</div>
+
+				<div class="head"
+					:style="{marginTop:topContent.length===0?'100px':'0',minHeight:topContent.length===0?'0':'220px'}"
+					style="margin-bottom: 130px;padding-bottom: 10px;overflow-y: ;"
+					:style="{marginTop:topContent.length===0?'78px':'0'}">
+					<div class="head_block" style="margin-bottom:10px;">
+						<div class="head_left">
+							<div class="head_bar"></div>
+							<div class="head_title">
+								鐐规椤圭洰鍐呭
+							</div>
+						</div>
+					</div>
+
+
+					<div class="center_border flex_column" style="margin:  5px;" v-for="item in centerContent"
+						:key="item.code">
+						<div class="flex_between">
+							<div class="center_title">{{item.name}}</div>
+							<div style="margin-right: 10px;" v-if="item.isscan==='Y'">
+								<van-icon name="scan" color='red' size='24' @click='centerScanClick(item.code)' />
+							</div>
+						</div>
+						<div class="flex_between ">
+							<div class='flex_between' style="width: 90%;">
+								<van-field class="vanFieldInput" :disabled="item.isDisabled" v-model="item.inputValue"
+									placeholder="璇疯緭鍏�" />
+							</div>
+
+
+							<div class="" style="width: 40%;display: flex;justify-content: space-around;">
+								<van-button class="buttonSmall" :disabled='item.isDisabled' size="small"
+									:plain="item.isOK!=='OK'" @click="bwClick(item,'OK')" type="primary">姝e父</van-button>
+								<van-button class="buttonSmall" size="small" :plain="item.isOK!=='NG'"
+									@click="bwClick(item,'NG')" :disabled='item.isDisabled' type="danger">寮傚父
+								</van-button>
+							</div>
+						</div>
+						<div style="font-weight: lighter;font-size: 14px;padding-right: 5px">
+							{{item.checkdesc}}
+						</div>
+					</div>
+
+				</div>
+
+
+				<div style="">
+					<div class="footer">
+						<div class="head_block" style="margin-bottom: 20rpx;align-items: center;">
+							<div class="head_left">
+								<div class="head_bar"></div>
+								<div class="head_title">
+									鐐规缁撴灉
+								</div>
+							</div>
+							<div class="flex_center" style="width: 30%;display: flex;justify-content: space-around;">
+
+								<van-button class="buttonSmall"
+									:disabled="centerContent.some(item=>item.isDisabled===true)||centerContent.length===0"
+									size="small" :plain="resultValue!=='OK'" @click="resultClick('OK')" type="primary">
+									姝e父</van-button>
+								<van-button class="buttonSmall" size="small" :plain="resultValue!=='NG'"
+									:disabled="centerContent.some(item=>item.isDisabled===true)||centerContent.length===0"
+									@click="resultClick('NG')" type="danger">寮傚父</van-button>
+							</div>
+
+						</div>
+
+						<div
+							style="position:fixed;bottom: 0;width: 96%;display: flex;justify-content: center;flex-direction: column;align-items: center">
+							<van-button class="vanButtonInfo" :disabled="resultValue===''" @click="submit" type="info">
+								纭鎻愪氦</van-button>
+						</div>
+
+					</div>
+				</div>
+
+
+			</div>
 
 			<van-overlay :show="overlayShow" @click="overlayShow=false" />
 
@@ -62,17 +323,150 @@
 						icon: 'revoke',
 						text: '閫�鍑虹櫥褰�'
 					}],
-
+					topContent2: topContent,
+					centerContent2: centerContent,
+					number2: number
 				}
 			},
-			created() {
+			watch: {
+				'topContent2.length': {
+					handler(newValue, oldValue) {
+						if (newValue !== oldValue) {
+							// this.topContent2 = topContent
+							// this.$forceUpdate()
+							if (topContent[0] && topContent[0].code) {
+								this.$forceUpdate()
+								this.topContentClcik(topContent[0].code)
+							}
 
+						}
+					},
+					deep: true,
+					immediate: true,
+				},
+
+				'topContent.length': {
+					handler(newValue, oldValue) {
+						if (newValue !== oldValue) {
+							this.$forceUpdate()
+							// if (topContent[0]&&topContent[0].code) {
+							// 	this.$forceUpdate()
+							// 	this.topContentClcik(topContent[0].code)
+							// }
+						}
+					},
+					deep: true,
+					immediate: true,
+				},
+				'number2.length': {
+					handler(newValue, oldValue) {
+						this.$forceUpdate()
+					},
+					deep: true,
+					immediate: true,
+				},
+				'number.length': {
+					handler(newValue, oldValue) {
+						this.$forceUpdate()
+					},
+					deep: true,
+					immediate: true,
+				},
 			},
-			mounted() {
-			
-			},
+			created() {},
+			mounted() {},
 			methods: {
-				onClickleft(){
+				submit() {
+					vant.Toast('xxx1')
+				},
+				topContentClcik(code) {
+					radioValue = code
+					this.$forceUpdate()
+					get('AppDeviceManage/SelectScanDeviceQrCodeItem', {
+						eqpcode: code
+					}).then(res => {
+						if (res.code === '200') {
+							centerContent = res.data
+							centerContent.forEach(item => {
+								item.isDisabled = item.isscan === 'Y'
+								item.inputValue = ''
+								item.isOK = item.isscan !== 'Y' ? 'OK' : ''
+							})
+							if (centerContent.every(r => r.isOK === 'OK')) {
+								resultValue = 'OK'
+							}
+							if (centerContent.some(r => r.isOK === 'NG')) {
+								resultValue = 'NG'
+							}
+							if (centerContent.some(r => r.isOK === '')) {
+								resultValue = ''
+							}
+
+							this.$forceUpdate()
+						}
+					})
+				},
+
+				resultClick(val) {
+					resultValue = val
+					this.$forceUpdate()
+				},
+
+				selected(id) {
+					alert(id)
+				},
+
+				// 鎵弿鐐规宸ヤ綅鎵弿
+				topScanClick() {
+					createWithoutTitle('../../components/barcode_scan.html', {
+						titleNView: {
+							type: 'float',
+							backgroundColor: 'rgba(215,75,40,0.3)',
+							titleText: '鎵竴鎵�',
+							titleColor: '#FFFFFF',
+							autoBackButton: true,
+							buttons: [{
+								fontSrc: '_www/helloh5.ttf',
+								text: '\ue302',
+								fontSize: '18px',
+								onclick: 'javascript:scanPicture()'
+							}]
+						}
+					});
+				},
+				// 鐐规椤圭洰鍐呭鎵弿
+				centerScanClick(code) {
+					bwcode = code
+					createWithoutTitle('../../components/barcode_scan2.html', {
+						titleNView: {
+							type: 'float',
+							backgroundColor: 'rgba(215,75,40,0.3)',
+							titleText: '鎵竴鎵�',
+							titleColor: '#FFFFFF',
+							autoBackButton: true,
+							buttons: [{
+								fontSrc: '_www/helloh5.ttf',
+								text: '\ue302',
+								fontSize: '18px',
+								onclick: 'javascript:scanPicture()'
+							}]
+						}
+					});
+				},
+
+				// 閮ㄤ綅姝e父 寮傚父鎸夐挳鐐瑰嚮
+				bwClick(item, val) {
+					item.isOK = val
+					if (centerContent.every(item => item.isOK !== '')) {
+						if (centerContent.every(item => item.isOK === 'OK')) {
+							resultValue = 'OK'
+						} else {
+							resultValue = 'NG'
+						}
+					}
+					this.$forceUpdate() //寮哄埗瑙嗗浘鏇存柊
+				},
+				onClickleft() {
 					history.back()
 				},
 				onClickRight() {
@@ -86,16 +480,18 @@
 		})
 	</script>
 	<style type="text/css">
+		@import url('../../css/global.css');
+
 		body {
 			background-color: #fff;
 		}
 
 		.body {
-			height: 600px;
+			min-height: 600px;
 			background-color: grey;
 			margin-top: 0px;
 			background-color: #fff;
-			position: relative;			
+			position: relative;
 		}
 
 		.van-nav-bar__content {
@@ -107,8 +503,43 @@
 			color: #fff;
 			letter-spacing: 2px;
 		}
-		.van-nav-bar__arrow{
+
+		.van-nav-bar__arrow {
 			color: #fff !important;
 		}
+
+		.createElementDiv {
+			display: flex;
+			justify-content: space-between;
+			align-items: center;
+			margin-bottom: 10px;
+			margin-left: 20px;
+		}
+
+		.vanFieldInput {
+			height: 36px;
+			line-height: 36px;
+			align-items: center;
+			/* width: 200px; */
+
+			padding: 0;
+			padding-left: 10px;
+			/* border-radius: 5px; */
+			margin: 5px 0;
+			/* background-color: #fff; */
+		}
+
+		.buttonSmall {
+			/* border-radius: 5px; */
+		}
+
+		.vanButtonInfo {
+			width: 100%;
+			letter-spacing: 2px;
+			height: 50px;
+			font-size: 18px;
+			/* margin-left: 0; */
+
+		}
 	</style>
 </html>
diff --git a/pages/sbgl/rcdj_back.html b/pages/sbgl/rcdj_back.html
new file mode 100644
index 0000000..301013e
--- /dev/null
+++ b/pages/sbgl/rcdj_back.html
@@ -0,0 +1,493 @@
+<!DOCTYPE html>
+<html>
+	<head>
+		<meta charset="utf-8">
+		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
+		<meta name="HandheldFriendly" content="true" />
+		<meta name="MobileOptimized" content="320" />
+		<title>鏂板嚡杩埗閫犱簯骞冲彴</title>
+
+		<!-- 寮曞叆鏍峰紡鏂囦欢 -->
+		<link rel="stylesheet" href="../../css/vant.css" />
+		<!-- 寮曞叆 Vue 鍜� Vant 鐨� JS 鏂囦欢 -->
+		<script src="../../js/vue.min.js"></script>
+		<script src="../../js/vant.min.js"></script>
+
+		<script type="text/javascript" src="../../js/jquery-1.6.4.min.js"></script>
+		<script type="text/javascript" src="../../js/axios.min.js"></script>
+		<script type="text/javascript" src="../../js/http.js"></script>
+
+		<script type="text/javascript" src="../../js/common.js"></script>
+
+		<!-- <link rel="stylesheet" href="../../css/global.css" type="text/css" charset="utf-8" /> -->
+
+		<script type="text/javascript">
+			var topContent = [{
+				code: 'SB001',
+				name: '12312',
+				wksp_code: "CJ002",
+				wksp_name: '12321321',
+				eqpchkmain_code: "djbz002"
+			}, ];
+
+			var centerContent = [{
+					checkdesc: '1234',
+					code: 'BW001',
+					name: '閮ㄤ綅22222',
+					seq: 1,
+					cycle: 'D',
+					isscan: 'N',
+					inputValue: '',
+					isOK: 'OK',
+					isDisabled: false,
+				},
+				{
+					checkdesc: '姘斿帇姝e父10甯曪紝鏈�楂樹笉瓒呰繃10.5甯曪紝鏈�浣庝笉浣庝簬9.7',
+					code: 'BW003',
+					name: '閮ㄤ綅3',
+					seq: 2,
+					cycle: 'D',
+					isscan: 'N',
+					isOK: 'OK',
+					inputValue: '',
+					isDisabled: true,
+				},
+			]
+
+			let radioValue = ''
+			let resultValue = ''
+
+
+			function loadNodes() {
+				let li = null
+				hl = document.getElementById('contentLeft');
+
+				topContent.forEach((item, index) => {
+					li = document.createElement('div');
+					li.code = item.code
+					li.id = item.code
+					let html = '<div class="createElementDiv">'
+					html += '<div style="">' +
+						'宸ヤ綅缂栫爜锛�' + item.code + '</br>' + '宸ヤ綅鍚嶇О锛�' + item.name + '</br>' + '鐢熶骇杞﹂棿锛�' + item.wksp_name +
+						'</div><input  type="radio" class="radioClass" style="margin-right:16px;background-color:red !important;color:red !important;"  name="radioValue"></input>'
+					html += '</div>'
+
+					li.setAttribute('onclick', 'createElementDivClick(code)')
+					li.innerHTML = html;
+					hl.insertBefore(li, hl.childNodes[index]);
+
+				})
+
+
+				if (hl.querySelectorAll("div")[1]) {
+					hl.querySelectorAll("div")[1].querySelectorAll("input")[0].checked = true
+					// createElementDivClick(topContent[0].code)
+				}
+
+			}
+
+			function createElementDivClick(code) {
+
+				let node = document.getElementById(code)
+				node.querySelectorAll("div.createElementDiv>input")[0].checked = true
+
+				get('AppDeviceManage/SelectScanDeviceQrCodeItem', {
+					eqpcode: code
+				}).then(res => {
+
+					vant.Toast(JSON.stringify(res.data))
+				})
+			}
+
+			function scaned(r) {
+
+				get('AppDeviceManage/CheckScanDeviceQrCodeData', {
+					eqpcode: r
+				}).then(res => {
+
+					if (res.code === '200' && res.data[0].eqpchkmain_code !== null) {
+						// alert(JSON.stringify(res.data))
+						// alert(JSON.stringify(res.data))
+						let li = null
+						hl = document.getElementById('contentLeft');
+
+						li = document.createElement('div');
+						li.code = res.data[0].code
+						li.id = res.data[0].code
+						let html = '<div class="createElementDiv">'
+						html += '<div style="">' +
+							'宸ヤ綅缂栫爜锛�' + res.data[0].code + '</br>' + '宸ヤ綅鍚嶇О锛�' + res.data[0].name + '</br>' + '鐢熶骇杞﹂棿锛�' + res
+							.data[0]
+							.wksp_name +
+							'</div><input  style="margin-right:16px;background-color:red !important;color:red !important;" type="radio"   name="radioValue"></input>'
+						html += '</div>'
+
+						li.setAttribute('onclick', 'createElementDivClick(code)')
+						li.innerHTML = html;
+						hl.insertBefore(li, hl.childNodes[0]);
+
+
+						if (hl.querySelectorAll("div")[1]) {
+							hl.querySelectorAll("div")[1].querySelectorAll("input")[0].checked = true
+							createElementDivClick(res.data[0].code)
+						}
+						topContent.unshift({
+							code: res.data[0].code,
+							name: res.data[0].name,
+							wksp_name: res[0].data.wksp_name
+						})
+
+					}
+
+					if (res.code === '200' && res.data[0].eqpchkmain_code === null) {
+						vant.Notify({
+							type: 'danger',
+							message: res.Message
+						});
+					}
+				})
+
+			}
+
+
+			function scaned2(r) {
+				alert(r)
+			}
+
+			function del() {
+				let node = document.getElementById('contentLeft')
+				node.removeChild(document.getElementById('SB001'))
+			}
+		</script>
+	</head>
+	<body onload="loadNodes()">
+		<!-- <body> -->
+		<div id="app">
+
+			<div class="body">
+
+				<van-nav-bar title="鏃ュ父鐐规" @click-right="onClickRight" left-arrow @click-left="onClickleft">
+					<template #right>
+						<van-popover style="" placement="bottom-end" :offset="[13,8]" v-model="showPopover"
+							trigger="click" :actions="actions" @select="onSelect">
+							<template #reference>
+								<van-icon name="bars" size='20' color='#fff' />
+							</template>
+						</van-popover>
+					</template>
+				</van-nav-bar>
+
+
+				<div class="head">
+					<div class="head_block">
+						<div class="head_left">
+							<div class="head_bar"></div>
+							<div class="head_title">
+								鎵弿鐐规宸ヤ綅
+							</div>
+						</div>
+
+						<div style="margin-right: 10px;">
+							<van-icon name="scan" color='red' size='24' @click='topScanClick()' />
+						</div>
+
+					</div>
+
+					<div class="flex_between" style="">
+						<div id="contentLeft" style="width: 100%;">
+						</div>
+						<div id="contentRight">
+						</div>
+					</div>
+				</div>
+
+				<div class="head" style="margin-bottom: 15px;padding-bottom: 10px;"
+					:style="{marginTop:topContent.length===0?'78px':'0'}">
+					<div class="head_block" style="margin-bottom:10px;">
+						<div class="head_left">
+							<div class="head_bar"></div>
+							<div class="head_title">
+								鐐规椤圭洰鍐呭
+							</div>
+						</div>
+					</div>
+
+
+					<div class="center_border flex_column" style="margin:  5px;" v-for="item in centerContent"
+						:key="item.code">
+						<div class="flex_between">
+							<div class="center_title">{{item.name}}</div>
+							<!-- v-if="item.isscan==='Y'" -->
+							<div style="margin-right: 10px;">
+								<van-icon name="scan" color='red' size='24' @click='centerScanClick(item.code)' />
+							</div>
+						</div>
+						<div class="flex_between ">
+							<div class='flex_between'>
+								<van-field class="vanFieldInput" style="" border v-model="item.inputValue"
+									label="璇疯緭鍏�" />
+							</div>
+
+
+							<div class="" style="width: 40%;display: flex;justify-content: space-around;">
+								<van-button class="buttonSmall" size="small" :plain="item.isOK!=='OK'"
+									@click="bwClick(item,'OK')" type="primary">姝e父</van-button>
+								<van-button class="buttonSmall" size="small" :plain="item.isOK!=='NG'"
+									@click="bwClick(item,'NG')" type="danger">寮傚父</van-button>
+							</div>
+						</div>
+						<div style="font-weight: lighter;font-size: 14px;padding-right: 5px">
+							{{item.checkdesc}}
+						</div>
+					</div>
+
+				</div>
+				<!-- 		
+				<div style="position:fixed;bottom: 0;width: 100%;display: flex;justify-content: center;flex-direction: column;align-items: center">
+					<div style="display: flex;float: left;">
+						111
+					</div>
+					<van-button class="vanButtonInfo"  type="info">纭鎻愪氦</van-button>
+				</div> -->
+
+
+				<div style="">
+					<div class="footer">
+						<div class="head_block" style="margin-bottom: 20rpx;align-items: center;">
+							<div class="head_left">
+								<div class="head_bar"></div>
+								<div class="head_title">
+									鐐规缁撴灉
+								</div>
+							</div>
+							<div class="flex_center" style="width: 30%;display: flex;justify-content: space-around;">
+
+								<van-button class="buttonSmall" size="small" :plain="resultValue!=='OK'"
+									@click="resultClick('OK')" type="primary">姝e父</van-button>
+								<van-button class="buttonSmall" size="small" :plain="resultValue!=='NG'"
+									@click="resultClick('NG')" type="danger">寮傚父</van-button>
+							</div>
+
+						</div>
+
+						<div
+							style="position:fixed;bottom: 0;width: 96%;display: flex;justify-content: center;flex-direction: column;align-items: center">
+							<van-button class="vanButtonInfo" type="info">纭鎻愪氦</van-button>
+						</div>
+
+					</div>
+				</div>
+
+
+			</div>
+
+			<!-- <button @click="del">鍒犻櫎鑺傜偣</button> -->
+
+
+			<van-overlay :show="overlayShow" @click="overlayShow=false" />
+
+
+		</div>
+	</body>
+	<script>
+		var app = new Vue({
+			el: '#app',
+			data: function() {
+				return {
+					overlayShow: false,
+					showPopover: false,
+					actions: [{
+						icon: 'description',
+						text: '鎿嶄綔鎸囧'
+					}, {
+						icon: 'award-o',
+						text: '鎴愬搧杩芥函'
+					}, {
+						icon: 'revoke',
+						text: '閫�鍑虹櫥褰�'
+					}],
+
+
+					radioValue: '',
+
+
+
+				}
+			},
+			watch: {
+
+			},
+			created() {
+
+			},
+			mounted() {
+
+			},
+			methods: {
+
+				resultClick(val) {
+					resultValue = val
+					this.$forceUpdate()
+				},
+
+				selected(id) {
+					alert(id)
+				},
+
+				// 鎵弿鐐规宸ヤ綅鎵弿
+				topScanClick() {
+					createWithoutTitle('../../components/barcode_scan.html', {
+						titleNView: {
+							type: 'float',
+							backgroundColor: 'rgba(215,75,40,0.3)',
+							titleText: '鎵竴鎵�',
+							titleColor: '#FFFFFF',
+							autoBackButton: true,
+							buttons: [{
+								fontSrc: '_www/helloh5.ttf',
+								text: '\ue302',
+								fontSize: '18px',
+								onclick: 'javascript:scanPicture()'
+							}]
+						}
+					});
+				},
+				// 鐐规椤圭洰鍐呭鎵弿
+				centerScanClick() {
+					createWithoutTitle('../../components/barcode_scan2.html', {
+						titleNView: {
+							type: 'float',
+							backgroundColor: 'rgba(215,75,40,0.3)',
+							titleText: '鎵竴鎵�',
+							titleColor: '#FFFFFF',
+							autoBackButton: true,
+							buttons: [{
+								fontSrc: '_www/helloh5.ttf',
+								text: '\ue302',
+								fontSize: '18px',
+								onclick: 'javascript:scanPicture()'
+							}]
+						}
+					});
+				},
+
+				// 閮ㄤ綅姝e父 寮傚父鎸夐挳鐐瑰嚮
+				bwClick(item, val) {
+					item.isOK = val
+					if (centerContent.every(item => item.isOK !== '')) {
+						// if (centerContent.every(item => item.isOK === 'OK')) {
+						// 	this.resultValue = 'OK'
+						// } else {
+						// 	this.resultValue = 'NG'
+						// }
+					}
+					this.$forceUpdate() //寮哄埗瑙嗗浘鏇存柊
+				},
+
+				groupChange(code) {
+
+				},
+
+
+				onClickleft() {
+					history.back()
+				},
+				onClickRight() {
+					this.overlayShow = true
+				},
+				onSelect(action) {
+					vant.Toast(action.text);
+					this.overlayShow = false
+				},
+			}
+		})
+	</script>
+	<style type="text/css">
+		@import url('../../css/global.css');
+
+		body {
+			background-color: #fff;
+		}
+
+		.body {
+			min-height: 600px;
+			background-color: grey;
+			margin-top: 0px;
+			background-color: #fff;
+			position: relative;
+		}
+
+		.van-nav-bar__content {
+			background-color: #2651d8;
+			height: 44px;
+		}
+
+		.van-nav-bar__title {
+			color: #fff;
+			letter-spacing: 2px;
+		}
+
+		.van-nav-bar__arrow {
+			color: #fff !important;
+		}
+
+		.createElementDiv {
+			display: flex;
+			justify-content: space-between;
+			align-items: center;
+			margin-bottom: 10px;
+			margin-left: 20px;
+		}
+
+		.vanFieldInput {
+			height: 36px;
+			line-height: 36px;
+			align-items: center;
+			width: 90%;
+			/* border-radius: 5px; */
+			margin: 5px 0;
+			/* background-color: #fff; */
+		}
+
+		.buttonSmall {
+			/* border-radius: 5px; */
+		}
+
+		.vanButtonInfo {
+			width: 100%;
+			letter-spacing: 2px;
+			height: 50px;
+			font-size: 18px;
+			/* margin-left: 0; */
+
+		}
+
+		/* 
+		::v-deep input[type="radio"] {
+			background-color: red !important;
+			color: red !important;
+			position: absolute !important;
+
+		}
+
+		::v-deep .radioClass {
+			background-color: red !important;
+			color: red !important;
+				position: absolute !important;
+		} */
+
+
+		/* 	input[type="radio"]+label ::before {
+			content: '';
+			display: inline-block;
+			vertical-align: middle;
+			width: 15px;
+			height: 15px;
+			margin-right: 5px;
+			box-sizing: border-box;
+			border-radius: 50%;
+			margin-bottom: 4px;
+			border: 1px solid #bfcbd9;
+		} */
+	</style>
+</html>
diff --git a/plus/barcode.html b/plus/barcode.html
index 2b0f601..1c470a8 100644
--- a/plus/barcode.html
+++ b/plus/barcode.html
@@ -1,151 +1,173 @@
 <!DOCTYPE HTML>
 <html>
 	<head>
-		<meta charset="utf-8"/>
-		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
-		<meta name="HandheldFriendly" content="true"/>
-		<meta name="MobileOptimized" content="320"/>
+		<meta charset="utf-8" />
+		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
+		<meta name="HandheldFriendly" content="true" />
+		<meta name="MobileOptimized" content="320" />
 		<title>Hello H5+</title>
 		<script type="text/javascript" src="../js/common.js"></script>
 		<script type="text/javascript">
-var img = null;
-var blist = [];
-function scaned(t, r, f){
-	var d = new Date();
-	var h=d.getHours(),m=d.getMinutes(),s=d.getSeconds(),ms=d.getMilliseconds();
-	if(h < 10){ h='0'+h; }
-	if(m < 10){ m='0'+m; }
-	if(s < 10){ s='0'+s; }
-	if(ms < 10){ ms='00'+ms; }
-	else if(ms < 100){ ms='0'+ms; }
-	var ts = '['+h+':'+m+':'+s+'.'+ms+']';
-	var li=null,hl = document.getElementById('history');
-	if(blist.length > 0){
-		li = document.createElement('li');
-		li.className = 'ditem';
-		hl.insertBefore(li, hl.childNodes[0]);
-	} else{
-		li = document.getElementById('nohistory');
-	}
-	li.id = blist.length;
-	var html = '['+h+':'+m+':'+s+'.'+ms+']'+'銆�銆�'+t+'鐮�<div class="hdata">';
-	html += r;
-	html += '</div>';
-	li.innerHTML = html;
-	li.setAttribute('onclick', 'selected(id)');
-	blist[blist.length] = {type:t,result:r,file:f};
-	update(t, r, f);
-}
-function selected(id){
-	var h = blist[id];
-	update( h.type, h.result, h.file );
-	if(h.result.indexOf('http://')==0  || h.result.indexOf('https://')==0){
-		plus.nativeUI.confirm(h.result, function(i){
-			if(i.index == 0){
-				plus.runtime.openURL(h.result);
+			var img = null;
+			var blist = [];
+
+			function scaned(t, r, f) {
+				var d = new Date();
+				var h = d.getHours(),
+					m = d.getMinutes(),
+					s = d.getSeconds(),
+					ms = d.getMilliseconds();
+				if (h < 10) {
+					h = '0' + h;
+				}
+				if (m < 10) {
+					m = '0' + m;
+				}
+				if (s < 10) {
+					s = '0' + s;
+				}
+				if (ms < 10) {
+					ms = '00' + ms;
+				} else if (ms < 100) {
+					ms = '0' + ms;
+				}
+				var ts = '[' + h + ':' + m + ':' + s + '.' + ms + ']';
+				var li = null,
+					hl = document.getElementById('history');
+				if (blist.length > 0) {
+					li = document.createElement('li');
+					li.className = 'ditem';
+					hl.insertBefore(li, hl.childNodes[0]);
+				} else {
+					li = document.getElementById('nohistory');
+				}
+				li.id = blist.length;
+				var html = '[' + h + ':' + m + ':' + s + '.' + ms + ']' + '銆�銆�' + t + '鐮�<div class="hdata">';
+				html += r;
+				html += '</div>';
+				li.innerHTML = html;
+				li.setAttribute('onclick', 'selected(id)');
+				blist[blist.length] = {
+					type: t,
+					result: r,
+					file: f
+				};
+				update(t, r, f);
 			}
-		}, '', ['鎵撳紑', '鍙栨秷']);
-	} else{
-		plus.nativeUI.alert(h.result);
-	}
-}
-function update(t, r, f){
-	outSet('鎵弿鎴愬姛锛�');
-	outLine(t);
-	outLine(r);
-	outLine('\n鍥剧墖鍦板潃锛�'+f);
-	if(!f || f=='null'){
-		img.src = '../img/barcode.png';	
-	} else{
-		plus.io.resolveLocalFileSystemURL(f, function(entry){
-			img.src=entry.toLocalURL();
-		});
-		//img.src = 'http://localhost:13131/'+f;
-	}
-}
-function onempty(){
-	if(window.plus){
-		plus.nativeUI.alert('鏃犳壂鎻忚褰�');
-	} else {
-		alert('鏃犳壂鎻忚褰�');
-	}
-}
-function cleanHistroy(){
-	if(blist.length > 0){
-		var hl = document.getElementById('history');
-		hl.innerHTML = '<li id="nohistory" class="ditem" onclick="onempty();">鏃犲巻鍙茶褰�	</li>';
-	}
-	plus.io.resolveLocalFileSystemURL('_doc/barcode/', function(entry){
-		entry.removeRecursively(function(){
-			// Success
-		}, function(e){
-			//alert( "failed"+e.message );
-		});
-	});
-}
-// 鎵撳紑浜岀淮鐮佹壂鎻忕晫闈� 
-function openBarcode(){
-	createWithoutTitle('barcode_scan.html', {
-		titleNView:{
-			type: 'float',
-			backgroundColor: 'rgba(215,75,40,0.3)',
-			titleText: '鎵竴鎵�',
-			titleColor: '#FFFFFF',
-			autoBackButton: true,
-			buttons: [{
-				fontSrc: '_www/helloh5.ttf',
-				text: '\ue302',
-				fontSize: '18px',
-				onclick: 'javascript:scanPicture()'
-			}]
-		}
-	});
-}
-// 鎵撳紑鑷畾涔夋壂鎻忕晫闈� 
-function openBarcodeCustom(){
-	createWithoutTitle('barcode_custom.html', {
-		titleNView:{
-			type: 'float',
-			backgroundColor: 'rgba(215,75,40,0.3)',
-			titleText: '鎵竴鎵�',
-			titleColor: '#FFFFFF',
-			autoBackButton: true,
-			buttons: [{
-				fontSrc: '_www/helloh5.ttf',
-				text: '\ue401',
-				fontSize: '18px',
-				onclick: 'javascript:switchFlash()'
-			}]
-		}
-	});
-}
+
+			function selected(id) {
+				var h = blist[id];
+				update(h.type, h.result, h.file);
+				if (h.result.indexOf('http://') == 0 || h.result.indexOf('https://') == 0) {
+					plus.nativeUI.confirm(h.result, function(i) {
+						if (i.index == 0) {
+							plus.runtime.openURL(h.result);
+						}
+					}, '', ['鎵撳紑', '鍙栨秷']);
+				} else {
+					plus.nativeUI.alert(h.result);
+				}
+			}
+
+			function update(t, r, f) {
+				outSet('鎵弿鎴愬姛锛�');
+				outLine(t);
+				outLine(r);
+				outLine('\n鍥剧墖鍦板潃锛�' + f);
+				if (!f || f == 'null') {
+					img.src = '../img/barcode.png';
+				} else {
+					plus.io.resolveLocalFileSystemURL(f, function(entry) {
+						img.src = entry.toLocalURL();
+					});
+					//img.src = 'http://localhost:13131/'+f;
+				}
+			}
+
+			function onempty() {
+				if (window.plus) {
+					plus.nativeUI.alert('鏃犳壂鎻忚褰�');
+				} else {
+					alert('鏃犳壂鎻忚褰�');
+				}
+			}
+
+			function cleanHistroy() {
+				if (blist.length > 0) {
+					var hl = document.getElementById('history');
+					hl.innerHTML = '<li id="nohistory" class="ditem" onclick="onempty();">鏃犲巻鍙茶褰�	</li>';
+				}
+				plus.io.resolveLocalFileSystemURL('_doc/barcode/', function(entry) {
+					entry.removeRecursively(function() {
+						// Success
+					}, function(e) {
+						//alert( "failed"+e.message );
+					});
+				});
+			}
+			// 鎵撳紑浜岀淮鐮佹壂鎻忕晫闈� 
+			function openBarcode() {
+				createWithoutTitle('barcode_scan.html', {
+					titleNView: {
+						type: 'float',
+						backgroundColor: 'rgba(215,75,40,0.3)',
+						titleText: '鎵竴鎵�',
+						titleColor: '#FFFFFF',
+						autoBackButton: true,
+						buttons: [{
+							fontSrc: '_www/helloh5.ttf',
+							text: '\ue302',
+							fontSize: '18px',
+							onclick: 'javascript:scanPicture()'
+						}]
+					}
+				});
+			}
+			// 鎵撳紑鑷畾涔夋壂鎻忕晫闈� 
+			function openBarcodeCustom() {
+				createWithoutTitle('barcode_custom.html', {
+					titleNView: {
+						type: 'float',
+						backgroundColor: 'rgba(215,75,40,0.3)',
+						titleText: '鎵竴鎵�',
+						titleColor: '#FFFFFF',
+						autoBackButton: true,
+						buttons: [{
+							fontSrc: '_www/helloh5.ttf',
+							text: '\ue401',
+							fontSize: '18px',
+							onclick: 'javascript:switchFlash()'
+						}]
+					}
+				});
+			}
 		</script>
-		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
+		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
 		<style type="text/css" media="screen">
-.hdata {
-	color: #e1673e;	
-	font-size: 14px;
-	overflow: hidden;
-	text-overflow: ellipsis;
-	white-space: nowrap;
-}
+			.hdata {
+				color: #e1673e;
+				font-size: 14px;
+				overflow: hidden;
+				text-overflow: ellipsis;
+				white-space: nowrap;
+			}
 		</style>
 	</head>
 	<body onload="img=document.getElementById('bimg')">
-		<br/>
-		<img style="width:40%" id="bimg" src="../img/barcode.png"/>
-		<br/>
+		<br />
+		<img style="width:40%" id="bimg" src="../img/barcode.png" />
+		<br />
 		<div class="button" onclick="openBarcode()">鎵竴鎵�</div>
 		<div class="button" onclick="openBarcodeCustom()">鎵竴鎵紙鑷畾涔夛級</div>
-		<br/>
+		<br />
 		<ul id="history" class="dlist" style="text-align:left;">
-			<li id="nohistory" class="ditem" onclick="onempty()">鏃犲巻鍙茶褰�	</li>
+			<li id="nohistory" class="ditem" onclick="onempty()">鏃犲巻鍙茶褰� </li>
 		</ul>
-		<br/>
+		<br />
 		<div class="button button-waring" onclick="cleanHistroy()">娓呯┖鍘嗗彶璁板綍</div>
-		<div id="outpos"/>
+		<div id="outpos" />
 		<div id="output">
-Barcode鎻愪緵浜岀淮鐮佹壂鎻忚瘑鍒姛鑳斤紝鏀寔璋冪敤鎽勫儚澶村嵆鏃舵壂鎻忎簩缁寸爜锛屼篃鍙洿鎺ヨ緭鍏ュ浘鐗囪繘琛屾壂鎻忚瘑鍒��
+			Barcode鎻愪緵浜岀淮鐮佹壂鎻忚瘑鍒姛鑳斤紝鏀寔璋冪敤鎽勫儚澶村嵆鏃舵壂鎻忎簩缁寸爜锛屼篃鍙洿鎺ヨ緭鍏ュ浘鐗囪繘琛屾壂鎻忚瘑鍒��
 		</div>
 	</body>
-</html>
\ No newline at end of file
+</html>
diff --git a/plus/barcode_custom.html b/plus/barcode_custom.html
index f02b05e..27388c0 100644
--- a/plus/barcode_custom.html
+++ b/plus/barcode_custom.html
@@ -1,136 +1,157 @@
 <!DOCTYPE html>
 <html>
 	<head>
-		<meta charset="utf-8"/>
-		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"/>
-		<meta name="HandheldFriendly" content="true"/>
-		<meta name="MobileOptimized" content="320"/>
+		<meta charset="utf-8" />
+		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />
+		<meta name="HandheldFriendly" content="true" />
+		<meta name="MobileOptimized" content="320" />
 		<title>Hello H5+</title>
 		<script type="text/javascript" src="../js/common.js"></script>
 		<script type="text/javascript">
-var ws=null,wo=null;
-var scan=null;
-// H5 plus浜嬩欢澶勭悊
-function plusReady(){
-	// 鑾峰彇绐楀彛瀵硅薄
-	ws=plus.webview.currentWebview();
-	nv=ws.getTitleNView();
-	wo=ws.opener();
-	// 寮�濮嬫壂鎻�
-	ws.addEventListener('show', function(){
-		scan=new plus.barcode.Barcode('bcid',[plus.barcode.QR,plus.barcode.EAN8,plus.barcode.EAN13],{frameColor:'#00FF00',scanbarColor:'#00FF00'});
-	    scan.onmarked=onmarked;
-	    scan.start({conserve:true,filename:'_doc/barcode/'});
-		createSubview();
-	}, false);
-	// 鏄剧ず椤甸潰骞跺叧闂瓑寰呮
-    ws.show('pop-in');
-}
-document.addEventListener('plusready', plusReady, false);
+			var ws = null,
+				wo = null;
+			var scan = null;
+			// H5 plus浜嬩欢澶勭悊
+			function plusReady() {
+				// 鑾峰彇绐楀彛瀵硅薄
+				ws = plus.webview.currentWebview();
+				nv = ws.getTitleNView();
+				wo = ws.opener();
+				// 寮�濮嬫壂鎻�
+				ws.addEventListener('show', function() {
+					scan = new plus.barcode.Barcode('bcid', [plus.barcode.QR, plus.barcode.EAN8, plus.barcode.EAN13], {
+						frameColor: '#00FF00',
+						scanbarColor: '#00FF00'
+					});
+					scan.onmarked = onmarked;
+					scan.start({
+						conserve: true,
+						filename: '_doc/barcode/'
+					});
+					createSubview();
+				}, false);
+				// 鏄剧ず椤甸潰骞跺叧闂瓑寰呮
+				ws.show('pop-in');
+			}
+			document.addEventListener('plusready', plusReady, false);
 
-// 浜岀淮鐮佹壂鎻忔垚鍔�
-function onmarked(type, result, file){
-    switch(type){
-    	case plus.barcode.QR:
-    	type = 'QR';
-    	break;
-    	case plus.barcode.EAN13:
-    	type = 'EAN13';
-    	break;
-    	case plus.barcode.EAN8:
-    	type = 'EAN8';
-    	break;
-    	default:
-    	type = '鍏跺畠'+type;
-    	break;
-    }
-    result = result.replace(/\r\n/g, '');
-    wo.evalJS("scaned('"+ type +"','"+ result +"','"+ file +"');");
-    back();
-}
-// 鍒涘缓瀛愮獥鍙�
-var view = null;
-function createSubview(){
-	view = new plus.nativeObj.View('nbutton', {
-		bottom: '20px',
-		left: '30%',
-		width: '40%',
-		height: '44px'
-	}, [{
-		tag: 'rect',
-		id: 'rect',
-		rectStyles: {
-			radius: '8px',
-			color: 'rgba(255,0,0,0.8)'
-		}},{
-		tag: 'font',
-		id: 'text',
-		text: '鏆傘��鍋�',
-		textStyles: {
-			color: '#FFFFFF'
-		}
-	}]);
-	// 澶勭悊浜嬩欢
-	view.addEventListener('click', function(e){
-		switchScan();
-	}, false);
-	view.addEventListener('touchstart', function(e){
-		view.drawRect({
-			radius: '8px',
-			color: 'rgba(255,0,0,0.5)'
-		}, {}, 'rect');
-	}, false);
-	view.addEventListener('touchend', function(e){
-		view.drawRect({
-			radius: '8px',
-			color: 'rgba(255,0,0,0.8)'
-		}, {}, 'rect');
-	}, false);
-	ws.append(view);
-}
-// 寮�鍏抽棯鍏夌伅 
-var bFlash = false;
-var AVCaptureDevice=null;
-var Camera=null;
-function switchFlash(){
-	bFlash = !bFlash;
-	scan.setFlash(bFlash);
-	ws.setStyle({titleNView: {
-		buttons: [{
-			fontSrc: '_www/helloh5.ttf',
-			text: (bFlash?'\ue400':'\ue401'),
-			fontSize: '18px',
-			onclick: 'javascript:switchFlash()'
-		}]
-	}});
-}
-// 鍒囨崲鎵弿  
-var bScan = false;
-function switchScan(){
-    if(bScan){
-    	scan.start({conserve:true, filename:'_doc/barcode/'});
-    	view&&(view.drawText('鏆傘��鍋�', {}, {color:'#FFFFFF'}, 'text'));
-    }else{
-    	scan.cancel();
-    	view&&(view.drawText('寮�銆�濮�', {}, {color:'#FFFFFF'}, 'text'));
-    }
-    bScan=!bScan;
-}
+			// 浜岀淮鐮佹壂鎻忔垚鍔�
+			function onmarked(type, result, file) {
+				switch (type) {
+					case plus.barcode.QR:
+						type = 'QR';
+						break;
+					case plus.barcode.EAN13:
+						type = 'EAN13';
+						break;
+					case plus.barcode.EAN8:
+						type = 'EAN8';
+						break;
+					default:
+						type = '鍏跺畠' + type;
+						break;
+				}
+				result = result.replace(/\r\n/g, '');
+				wo.evalJS("scaned('" + type + "','" + result + "','" + file + "');");
+				back();
+			}
+			// 鍒涘缓瀛愮獥鍙�
+			var view = null;
+
+			function createSubview() {
+				view = new plus.nativeObj.View('nbutton', {
+					bottom: '20px',
+					left: '30%',
+					width: '40%',
+					height: '44px'
+				}, [{
+					tag: 'rect',
+					id: 'rect',
+					rectStyles: {
+						radius: '8px',
+						color: 'rgba(255,0,0,0.8)'
+					}
+				}, {
+					tag: 'font',
+					id: 'text',
+					text: '鏆傘��鍋�',
+					textStyles: {
+						color: '#FFFFFF'
+					}
+				}]);
+				// 澶勭悊浜嬩欢
+				view.addEventListener('click', function(e) {
+					switchScan();
+				}, false);
+				view.addEventListener('touchstart', function(e) {
+					view.drawRect({
+						radius: '8px',
+						color: 'rgba(255,0,0,0.5)'
+					}, {}, 'rect');
+				}, false);
+				view.addEventListener('touchend', function(e) {
+					view.drawRect({
+						radius: '8px',
+						color: 'rgba(255,0,0,0.8)'
+					}, {}, 'rect');
+				}, false);
+				ws.append(view);
+			}
+			// 寮�鍏抽棯鍏夌伅 
+			var bFlash = false;
+			var AVCaptureDevice = null;
+			var Camera = null;
+
+			function switchFlash() {
+				bFlash = !bFlash;
+				scan.setFlash(bFlash);
+				ws.setStyle({
+					titleNView: {
+						buttons: [{
+							fontSrc: '_www/helloh5.ttf',
+							text: (bFlash ? '\ue400' : '\ue401'),
+							fontSize: '18px',
+							onclick: 'javascript:switchFlash()'
+						}]
+					}
+				});
+			}
+			// 鍒囨崲鎵弿  
+			var bScan = false;
+
+			function switchScan() {
+				if (bScan) {
+					scan.start({
+						conserve: true,
+						filename: '_doc/barcode/'
+					});
+					view && (view.drawText('鏆傘��鍋�', {}, {
+						color: '#FFFFFF'
+					}, 'text'));
+				} else {
+					scan.cancel();
+					view && (view.drawText('寮�銆�濮�', {}, {
+						color: '#FFFFFF'
+					}, 'text'));
+				}
+				bScan = !bScan;
+			}
 		</script>
-		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
+		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
 		<style type="text/css">
-#bcid {
-	width: 100%;
-	position: absolute;
-	top: 0px;
-	bottom: 0px;
-	text-align: center;
-}
-.tip {
-	color: #FFFFFF;
-	font-weight: bold;
-	text-shadow: 0px -1px #103E5C;
-}
+			#bcid {
+				width: 100%;
+				position: absolute;
+				top: 0px;
+				bottom: 0px;
+				text-align: center;
+			}
+
+			.tip {
+				color: #FFFFFF;
+				font-weight: bold;
+				text-shadow: 0px -1px #103E5C;
+			}
 		</style>
 	</head>
 	<body style="background-color:#000000;">
diff --git a/plus/barcode_scan.html b/plus/barcode_scan.html
index 070f4b6..8723630 100644
--- a/plus/barcode_scan.html
+++ b/plus/barcode_scan.html
@@ -1,81 +1,86 @@
 <!DOCTYPE html>
 <html>
 	<head>
-		<meta charset="utf-8"/>
-		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"/>
-		<meta name="HandheldFriendly" content="true"/>
-		<meta name="MobileOptimized" content="320"/>
+		<meta charset="utf-8" />
+		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />
+		<meta name="HandheldFriendly" content="true" />
+		<meta name="MobileOptimized" content="320" />
 		<title>Hello H5+</title>
 		<script type="text/javascript" src="../js/common.js"></script>
 		<script type="text/javascript">
-var ws=null,wo=null;
-var scan=null;
-// H5 plus浜嬩欢澶勭悊
-function plusReady(){
-	// 鑾峰彇绐楀彛瀵硅薄
-	ws=plus.webview.currentWebview();
-	wo=ws.opener();
-	// 寮�濮嬫壂鎻�
-	ws.addEventListener('show', function(){
-		scan=new plus.barcode.Barcode('bcid');
-	    scan.onmarked=onmarked;
-	    scan.start({conserve:true,filename:'_doc/barcode/'});
-		createSubview();
-	}, false);
-	// 鏄剧ず椤甸潰骞跺叧闂瓑寰呮
-    ws.show('pop-in');
-}
-document.addEventListener('plusready', plusReady, false);
+			var ws = null,
+				wo = null;
+			var scan = null;
+			// H5 plus浜嬩欢澶勭悊
+			function plusReady() {
+				// 鑾峰彇绐楀彛瀵硅薄
+				ws = plus.webview.currentWebview();
+				wo = ws.opener();
+				// 寮�濮嬫壂鎻�
+				ws.addEventListener('show', function() {
+					scan = new plus.barcode.Barcode('bcid');
+					scan.onmarked = onmarked;
+					scan.start({
+						conserve: true,
+						filename: '_doc/barcode/'
+					});
+					createSubview();
+				}, false);
+				// 鏄剧ず椤甸潰骞跺叧闂瓑寰呮
+				ws.show('pop-in');
+			}
+			document.addEventListener('plusready', plusReady, false);
 
-// 浜岀淮鐮佹壂鎻忔垚鍔�
-function onmarked(type, result, file){
-    switch(type){
-    	case plus.barcode.QR:
-    	type = 'QR';
-    	break;
-    	case plus.barcode.EAN13:
-    	type = 'EAN13';
-    	break;
-    	case plus.barcode.EAN8:
-    	type = 'EAN8';
-    	break;
-    	default:
-    	type = '鍏跺畠'+type;
-    	break;
-    }
-    result = result.replace(/\r\n/g, '');
-    wo.evalJS("scaned('"+ type +"','"+ result +"','"+ file +"');");
-    back();
-}
-// 鍒涘缓瀛愮獥鍙�
-function createSubview(){
-	//
-}
-// 浠庣浉鍐屼腑閫夋嫨浜岀淮鐮佸浘鐗� 
-function scanPicture(){
-    plus.gallery.pick(function(path){
-	    plus.barcode.scan(path,onmarked,function(error){
-			plus.nativeUI.alert('鏃犳硶璇嗗埆姝ゅ浘鐗�');
-		});
-    }, function(err){
-        console.log('Failed: '+err.message);
-    });
-}
+			// 浜岀淮鐮佹壂鎻忔垚鍔�
+			function onmarked(type, result, file) {
+				switch (type) {
+					case plus.barcode.QR:
+						type = 'QR';
+						break;
+					case plus.barcode.EAN13:
+						type = 'EAN13';
+						break;
+					case plus.barcode.EAN8:
+						type = 'EAN8';
+						break;
+					default:
+						type = '鍏跺畠' + type;
+						break;
+				}
+				result = result.replace(/\r\n/g, '');
+				wo.evalJS("scaned('" + type + "','" + result + "','" + file + "');");
+				back();
+			}
+			// 鍒涘缓瀛愮獥鍙�
+			function createSubview() {
+				//
+			}
+			// 浠庣浉鍐屼腑閫夋嫨浜岀淮鐮佸浘鐗� 
+			function scanPicture() {
+				plus.gallery.pick(function(path) {
+					plus.barcode.scan(path, onmarked, function(error) {
+						plus.nativeUI.alert('鏃犳硶璇嗗埆姝ゅ浘鐗�');
+					});
+				}, function(err) {
+					console.log('Failed: ' + err.message);
+				});
+			}
 		</script>
-		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
+		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
 		<style type="text/css">
-#bcid {
-	width: 100%;
-	position: absolute;
-	top: 0px;
-	bottom: 0px;
-	text-align: center;
-}
-.tip {
-	color: #FFFFFF;
-	font-weight: bold;
-	text-shadow: 0px -1px #103E5C;
-}
+			#bcid {
+				width: 100%;
+				position: absolute;
+				top: 0px;
+				bottom: 0px;
+				text-align: center;
+			}
+
+			.tip {
+				color: #FFFFFF;
+				font-weight: bold;
+				text-shadow: 0px -1px #103E5C;
+			}
 		</style>
 	</head>
 	<body style="background-color:#000000;">
diff --git a/unpackage/cache/wgt/H5EDA0853/components/barcode_custom.html b/unpackage/cache/wgt/H5EDA0853/components/barcode_custom.html
new file mode 100644
index 0000000..27388c0
--- /dev/null
+++ b/unpackage/cache/wgt/H5EDA0853/components/barcode_custom.html
@@ -0,0 +1,163 @@
+<!DOCTYPE html>
+<html>
+	<head>
+		<meta charset="utf-8" />
+		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />
+		<meta name="HandheldFriendly" content="true" />
+		<meta name="MobileOptimized" content="320" />
+		<title>Hello H5+</title>
+		<script type="text/javascript" src="../js/common.js"></script>
+		<script type="text/javascript">
+			var ws = null,
+				wo = null;
+			var scan = null;
+			// H5 plus浜嬩欢澶勭悊
+			function plusReady() {
+				// 鑾峰彇绐楀彛瀵硅薄
+				ws = plus.webview.currentWebview();
+				nv = ws.getTitleNView();
+				wo = ws.opener();
+				// 寮�濮嬫壂鎻�
+				ws.addEventListener('show', function() {
+					scan = new plus.barcode.Barcode('bcid', [plus.barcode.QR, plus.barcode.EAN8, plus.barcode.EAN13], {
+						frameColor: '#00FF00',
+						scanbarColor: '#00FF00'
+					});
+					scan.onmarked = onmarked;
+					scan.start({
+						conserve: true,
+						filename: '_doc/barcode/'
+					});
+					createSubview();
+				}, false);
+				// 鏄剧ず椤甸潰骞跺叧闂瓑寰呮
+				ws.show('pop-in');
+			}
+			document.addEventListener('plusready', plusReady, false);
+
+			// 浜岀淮鐮佹壂鎻忔垚鍔�
+			function onmarked(type, result, file) {
+				switch (type) {
+					case plus.barcode.QR:
+						type = 'QR';
+						break;
+					case plus.barcode.EAN13:
+						type = 'EAN13';
+						break;
+					case plus.barcode.EAN8:
+						type = 'EAN8';
+						break;
+					default:
+						type = '鍏跺畠' + type;
+						break;
+				}
+				result = result.replace(/\r\n/g, '');
+				wo.evalJS("scaned('" + type + "','" + result + "','" + file + "');");
+				back();
+			}
+			// 鍒涘缓瀛愮獥鍙�
+			var view = null;
+
+			function createSubview() {
+				view = new plus.nativeObj.View('nbutton', {
+					bottom: '20px',
+					left: '30%',
+					width: '40%',
+					height: '44px'
+				}, [{
+					tag: 'rect',
+					id: 'rect',
+					rectStyles: {
+						radius: '8px',
+						color: 'rgba(255,0,0,0.8)'
+					}
+				}, {
+					tag: 'font',
+					id: 'text',
+					text: '鏆傘��鍋�',
+					textStyles: {
+						color: '#FFFFFF'
+					}
+				}]);
+				// 澶勭悊浜嬩欢
+				view.addEventListener('click', function(e) {
+					switchScan();
+				}, false);
+				view.addEventListener('touchstart', function(e) {
+					view.drawRect({
+						radius: '8px',
+						color: 'rgba(255,0,0,0.5)'
+					}, {}, 'rect');
+				}, false);
+				view.addEventListener('touchend', function(e) {
+					view.drawRect({
+						radius: '8px',
+						color: 'rgba(255,0,0,0.8)'
+					}, {}, 'rect');
+				}, false);
+				ws.append(view);
+			}
+			// 寮�鍏抽棯鍏夌伅 
+			var bFlash = false;
+			var AVCaptureDevice = null;
+			var Camera = null;
+
+			function switchFlash() {
+				bFlash = !bFlash;
+				scan.setFlash(bFlash);
+				ws.setStyle({
+					titleNView: {
+						buttons: [{
+							fontSrc: '_www/helloh5.ttf',
+							text: (bFlash ? '\ue400' : '\ue401'),
+							fontSize: '18px',
+							onclick: 'javascript:switchFlash()'
+						}]
+					}
+				});
+			}
+			// 鍒囨崲鎵弿  
+			var bScan = false;
+
+			function switchScan() {
+				if (bScan) {
+					scan.start({
+						conserve: true,
+						filename: '_doc/barcode/'
+					});
+					view && (view.drawText('鏆傘��鍋�', {}, {
+						color: '#FFFFFF'
+					}, 'text'));
+				} else {
+					scan.cancel();
+					view && (view.drawText('寮�銆�濮�', {}, {
+						color: '#FFFFFF'
+					}, 'text'));
+				}
+				bScan = !bScan;
+			}
+		</script>
+		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
+		<style type="text/css">
+			#bcid {
+				width: 100%;
+				position: absolute;
+				top: 0px;
+				bottom: 0px;
+				text-align: center;
+			}
+
+			.tip {
+				color: #FFFFFF;
+				font-weight: bold;
+				text-shadow: 0px -1px #103E5C;
+			}
+		</style>
+	</head>
+	<body style="background-color:#000000;">
+		<div id="bcid">
+			<div style="height:40%"></div>
+			<p class="tip">...杞藉叆涓�...</p>
+		</div>
+	</body>
+</html>
diff --git a/unpackage/cache/wgt/H5EDA0853/components/barcode_scan.html b/unpackage/cache/wgt/H5EDA0853/components/barcode_scan.html
new file mode 100644
index 0000000..ed8309d
--- /dev/null
+++ b/unpackage/cache/wgt/H5EDA0853/components/barcode_scan.html
@@ -0,0 +1,94 @@
+<!DOCTYPE html>
+<html>
+	<head>
+		<meta charset="utf-8" />
+		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />
+		<meta name="HandheldFriendly" content="true" />
+		<meta name="MobileOptimized" content="320" />
+		<title>Hello H5+</title>
+		<script type="text/javascript" src="../js/common.js"></script>
+
+		<script type="text/javascript">
+			var ws = null,
+				wo = null;
+			var scan = null;
+			// H5 plus浜嬩欢澶勭悊
+			function plusReady() {
+				// 鑾峰彇绐楀彛瀵硅薄
+				ws = plus.webview.currentWebview();
+				wo = ws.opener();
+				// 寮�濮嬫壂鎻�
+				ws.addEventListener('show', function() {
+					scan = new plus.barcode.Barcode('bcid');
+					scan.onmarked = onmarked;
+					scan.start({
+						conserve: true,
+						filename: '_doc/barcode/'
+					});
+					createSubview();
+				}, false);
+				// 鏄剧ず椤甸潰骞跺叧闂瓑寰呮
+				ws.show('pop-in');
+			}
+			document.addEventListener('plusready', plusReady, false);
+
+			// 浜岀淮鐮佹壂鎻忔垚鍔�
+			function onmarked(type, result, file) {
+				switch (type) {
+					case plus.barcode.QR:
+						type = 'QR';
+						break;
+					case plus.barcode.EAN13:
+						type = 'EAN13';
+						break;
+					case plus.barcode.EAN8:
+						type = 'EAN8';
+						break;
+					default:
+						type = '鍏跺畠' + type;
+						break;
+				}
+				result = result.replace(/\r\n/g, '');
+				// wo.evalJS("scaned('" + type + "','" + result + "','" + file + "');");
+				wo.evalJS("scaned('" + result + "');");
+				back();
+			}
+			// 鍒涘缓瀛愮獥鍙�
+			function createSubview() {
+				//
+			}
+			// 浠庣浉鍐屼腑閫夋嫨浜岀淮鐮佸浘鐗� 
+			function scanPicture() {
+				plus.gallery.pick(function(path) {
+					plus.barcode.scan(path, onmarked, function(error) {
+						plus.nativeUI.alert('鏃犳硶璇嗗埆姝ゅ浘鐗�');
+					});
+				}, function(err) {
+					console.log('Failed: ' + err.message);
+				});
+			}
+		</script>
+		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
+		<style type="text/css">
+			#bcid {
+				width: 100%;
+				position: absolute;
+				top: 0px;
+				bottom: 0px;
+				text-align: center;
+			}
+
+			.tip {
+				color: #FFFFFF;
+				font-weight: bold;
+				text-shadow: 0px -1px #103E5C;
+			}
+		</style>
+	</head>
+	<body style="background-color:#000000;">
+		<div id="bcid">
+			<div style="height:40%"></div>
+			<p class="tip">...杞藉叆涓�...</p>
+		</div>
+	</body>
+</html>
diff --git a/unpackage/cache/wgt/H5EDA0853/components/barcode_scan2.html b/unpackage/cache/wgt/H5EDA0853/components/barcode_scan2.html
new file mode 100644
index 0000000..18ba6df
--- /dev/null
+++ b/unpackage/cache/wgt/H5EDA0853/components/barcode_scan2.html
@@ -0,0 +1,94 @@
+<!DOCTYPE html>
+<html>
+	<head>
+		<meta charset="utf-8" />
+		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />
+		<meta name="HandheldFriendly" content="true" />
+		<meta name="MobileOptimized" content="320" />
+		<title>Hello H5+</title>
+		<script type="text/javascript" src="../js/common.js"></script>
+
+		<script type="text/javascript">
+			var ws = null,
+				wo = null;
+			var scan = null;
+			// H5 plus浜嬩欢澶勭悊
+			function plusReady() {
+				// 鑾峰彇绐楀彛瀵硅薄
+				ws = plus.webview.currentWebview();
+				wo = ws.opener();
+				// 寮�濮嬫壂鎻�
+				ws.addEventListener('show', function() {
+					scan = new plus.barcode.Barcode('bcid');
+					scan.onmarked = onmarked;
+					scan.start({
+						conserve: true,
+						filename: '_doc/barcode/'
+					});
+					createSubview();
+				}, false);
+				// 鏄剧ず椤甸潰骞跺叧闂瓑寰呮
+				ws.show('pop-in');
+			}
+			document.addEventListener('plusready', plusReady, false);
+
+			// 浜岀淮鐮佹壂鎻忔垚鍔�
+			function onmarked(type, result, file) {
+				switch (type) {
+					case plus.barcode.QR:
+						type = 'QR';
+						break;
+					case plus.barcode.EAN13:
+						type = 'EAN13';
+						break;
+					case plus.barcode.EAN8:
+						type = 'EAN8';
+						break;
+					default:
+						type = '鍏跺畠' + type;
+						break;
+				}
+				result = result.replace(/\r\n/g, '');
+				// wo.evalJS("scaned('" + type + "','" + result + "','" + file + "');");
+				wo.evalJS("scaned2('" + result + "');");
+				back();
+			}
+			// 鍒涘缓瀛愮獥鍙�
+			function createSubview() {
+				//
+			}
+			// 浠庣浉鍐屼腑閫夋嫨浜岀淮鐮佸浘鐗� 
+			function scanPicture() {
+				plus.gallery.pick(function(path) {
+					plus.barcode.scan(path, onmarked, function(error) {
+						plus.nativeUI.alert('鏃犳硶璇嗗埆姝ゅ浘鐗�');
+					});
+				}, function(err) {
+					console.log('Failed: ' + err.message);
+				});
+			}
+		</script>
+		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
+		<style type="text/css">
+			#bcid {
+				width: 100%;
+				position: absolute;
+				top: 0px;
+				bottom: 0px;
+				text-align: center;
+			}
+
+			.tip {
+				color: #FFFFFF;
+				font-weight: bold;
+				text-shadow: 0px -1px #103E5C;
+			}
+		</style>
+	</head>
+	<body style="background-color:#000000;">
+		<div id="bcid">
+			<div style="height:40%"></div>
+			<p class="tip">...杞藉叆涓�...</p>
+		</div>
+	</body>
+</html>
diff --git a/unpackage/cache/wgt/H5EDA0853/css/global.css b/unpackage/cache/wgt/H5EDA0853/css/global.css
index e69de29..959f185 100644
--- a/unpackage/cache/wgt/H5EDA0853/css/global.css
+++ b/unpackage/cache/wgt/H5EDA0853/css/global.css
@@ -0,0 +1,71 @@
+.head {
+	background-color: aliceblue;
+	padding-top: 10px;
+	padding-bottom: 10px;
+	margin: 5px 8px;
+	display: flex;
+	flex-direction: column;
+}
+
+.head_block {
+	display: flex;
+	justify-content: space-between;
+}
+
+.head_left {
+	display: flex;
+}
+
+.head_bar {
+	width: 5px;
+	height: 20px;
+	background-color: red;
+}
+
+.head_title {
+	margin-left: 5px;
+}
+
+
+.flex_column {
+	display: flex;
+	flex-direction: column;
+}
+
+.flex_between {
+	display: flex;
+	justify-content: space-between;
+	align-items: center;
+}
+
+.flex_center {
+	display: flex;
+	align-items: center;
+}
+
+.center_title{
+	font-weight: bolder;
+}
+.center_border {
+	border: 1px solid #ccc;
+	min-height: 50px;
+	border-radius: 5px;
+	margin: 15px 0 0 0;
+	padding: 5px 0px 5px 10px;
+}
+
+
+
+
+.footer {
+	position: fixed;
+	bottom: 0;
+	background-color: aliceblue;
+	min-height: 100px;
+	padding-top: 10px;
+	margin: 5px 8px 0;
+	width: 96%;
+	padding-bottom: 10px;
+	display: flex;
+	flex-direction: column;
+}
diff --git a/unpackage/cache/wgt/H5EDA0853/doc/barcode.html b/unpackage/cache/wgt/H5EDA0853/doc/barcode.html
index a521667..1048a7b 100644
--- a/unpackage/cache/wgt/H5EDA0853/doc/barcode.html
+++ b/unpackage/cache/wgt/H5EDA0853/doc/barcode.html
@@ -1,81 +1,107 @@
 <!DOCTYPE HTML>
 <html>
-<head>
-<meta charset="utf-8">
-<meta name="viewport" content="initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
-<meta name="HandheldFriendly" content="true">
-<meta name="MobileOptimized" content="320">
-<title>Barcode Document</title>
-<link rel="stylesheet" type="text/css" href="res/doc.css" charset="utf-8">
-<link rel="stylesheet" type="text/css" href="res/prettify.sons.css" charset="utf-8">
-<script type="text/javascript" src="res/doc.js" charset="utf-8"></script><script type="text/javascript" src="res/prettify.js" charset="utf-8"></script>
-</head>
-<body><div id="content" class="content">
-<h1><a name="plus.barcode">barcode</a></h1>
-<p>Barcode妯″潡绠$悊鏉$爜锛堜竴缁寸爜鍜屼簩缁寸爜锛夋壂鎻忚瘑鍒紝鏀寔甯歌鐨勪竴缁寸爜锛堝EAN13鐮侊級鍙婁簩缁寸爜锛堝QR鐮侊級銆傞�氳繃璋冪敤璁惧鐨勬憚鍍忓ご瀵规潯鐮佽繘琛屾壂鎻忚瘑鍒紝鎵弿鍒版潯鐮佸悗杩涜瑙g爜骞惰繑鍥炵爜鏁版嵁鍐呭鍙婄爜绫诲瀷銆�</p>
-<h2>甯搁噺锛�</h2>
-<ul>
-<li>
-<a href="#plus.barcode.QR">QR</a>: QR浜岀淮鐮侊紝鏁板�间负0</li>
-<li>
-<a href="#plus.barcode.EAN13">EAN13</a>: EAN鏉″舰鐮佹爣鍑嗙増锛屾暟鍊间负1</li>
-<li>
-<a href="#plus.barcode.EAN8">EAN8</a>: ENA鏉″舰鐮佺畝鐗堬紝鏁板�间负2</li>
-<li>
-<a href="#plus.barcode.AZTEC">AZTEC</a>: Aztec浜岀淮鐮侊紝鏁板�间负3</li>
-<li>
-<a href="#plus.barcode.DATAMATRIX">DATAMATRIX</a>: Data Matrix浜岀淮鐮侊紝鏁板�间负4</li>
-<li>
-<a href="#plus.barcode.UPCA">UPCA</a>: UPC鏉″舰鐮佹爣鍑嗙増锛屾暟鍊间负5</li>
-<li>
-<a href="#plus.barcode.UPCE">UPCE</a>: UPC鏉″舰鐮佺缉鐭増锛屾暟鍊间负6</li>
-<li>
-<a href="#plus.barcode.CODABAR">CODABAR</a>: Codabar鏉″舰鐮侊紝鏁板�间负7</li>
-<li>
-<a href="#plus.barcode.CODE39">CODE39</a>: Code39鏉″舰鐮侊紝鏁板�间负8</li>
-<li>
-<a href="#plus.barcode.CODE93">CODE93</a>: Code93鏉″舰鐮侊紝鏁板�间负9</li>
-<li>
-<a href="#plus.barcode.CODE128">CODE128</a>: Code128鏉″舰鐮侊紝鏁板�间负10</li>
-<li>
-<a href="#plus.barcode.ITF">ITF</a>: ITF鏉″舰鐮侊紝鏁板�间负11</li>
-<li>
-<a href="#plus.barcode.MAXICODE">MAXICODE</a>: MaxiCode浜岀淮鐮侊紝鏁板�间负12</li>
-<li>
-<a href="#plus.barcode.PDF417">PDF417</a>: PDF 417浜岀淮鏉$爜锛屾暟鍊间负13</li>
-<li>
-<a href="#plus.barcode.RSS14">RSS14</a>: RSS 14鏉″舰缁勫悎鐮侊紝鏁板�间负14</li>
-<li>
-<a href="#plus.barcode.RSSEXPANDED">RSSEXPANDED</a>: 鎵╁睍寮廟SS鏉″舰缁勫悎鐮侊紝鏁板�间负15</li>
-</ul>
-<h2>鏂规硶锛�</h2>
-<ul>
-<li>
-<a href="#plus.barcode.scan">scan</a>: 鎵爜璇嗗埆鍥剧墖涓殑鏉$爜</li>
-<li>
-<a href="#plus.barcode.create">create</a>: 鍒涘缓鎵爜璇嗗埆鎺т欢瀵硅薄</li>
-<li>
-<a href="#plus.barcode.getBarcodeById">getBarcodeById</a>: 鏌ユ壘鎵爜璇嗗埆鎺т欢瀵硅薄</li>
-</ul>
-<h2>瀵硅薄锛�</h2>
-<ul>
-<li>
-<a href="#plus.barcode.Barcode">Barcode</a>: 鎵爜璇嗗埆鎺т欢瀵硅薄</li>
-<li>
-<a href="#plus.barcode.BarcodeStyles">BarcodeStyles</a>: Barcode鎵爜鎺т欢鏍峰紡</li>
-<li>
-<a href="#plus.barcode.BarcodeOptions">BarcodeOptions</a>: 鏉$爜璇嗗埆鎺т欢鎵弿鍙傛暟</li>
-</ul>
-<h2>鍥炶皟鏂规硶锛�</h2>
-<ul>
-<li>
-<a href="#plus.barcode.BarcodeSuccessCallback">BarcodeSuccessCallback</a>: 鎵爜璇嗗埆鎴愬姛鍥炶皟鍑芥暟</li>
-<li>
-<a href="#plus.barcode.BarcodeErrorCallback">BarcodeErrorCallback</a>: 鎵爜璇嗗埆閿欒鍥炶皟鍑芥暟</li>
-</ul>
-<h2>鏉冮檺锛�</h2>
-<p>permissions</p>
-<pre class="prettyprint linenums">
+	<head>
+		<meta charset="utf-8">
+		<meta name="viewport" content="initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
+		<meta name="HandheldFriendly" content="true">
+		<meta name="MobileOptimized" content="320">
+		<title>Barcode Document</title>
+		<link rel="stylesheet" type="text/css" href="res/doc.css" charset="utf-8">
+		<link rel="stylesheet" type="text/css" href="res/prettify.sons.css" charset="utf-8">
+		<script type="text/javascript" src="res/doc.js" charset="utf-8"></script>
+		<script type="text/javascript" src="res/prettify.js" charset="utf-8"></script>
+	</head>
+	<body>
+		<div id="content" class="content">
+			<h1><a name="plus.barcode">barcode</a></h1>
+			<p>Barcode妯″潡绠$悊鏉$爜锛堜竴缁寸爜鍜屼簩缁寸爜锛夋壂鎻忚瘑鍒紝鏀寔甯歌鐨勪竴缁寸爜锛堝EAN13鐮侊級鍙婁簩缁寸爜锛堝QR鐮侊級銆傞�氳繃璋冪敤璁惧鐨勬憚鍍忓ご瀵规潯鐮佽繘琛屾壂鎻忚瘑鍒紝鎵弿鍒版潯鐮佸悗杩涜瑙g爜骞惰繑鍥炵爜鏁版嵁鍐呭鍙婄爜绫诲瀷銆�</p>
+			<h2>甯搁噺锛�</h2>
+			<ul>
+				<li>
+					<a href="#plus.barcode.QR">QR</a>: QR浜岀淮鐮侊紝鏁板�间负0
+				</li>
+				<li>
+					<a href="#plus.barcode.EAN13">EAN13</a>: EAN鏉″舰鐮佹爣鍑嗙増锛屾暟鍊间负1
+				</li>
+				<li>
+					<a href="#plus.barcode.EAN8">EAN8</a>: ENA鏉″舰鐮佺畝鐗堬紝鏁板�间负2
+				</li>
+				<li>
+					<a href="#plus.barcode.AZTEC">AZTEC</a>: Aztec浜岀淮鐮侊紝鏁板�间负3
+				</li>
+				<li>
+					<a href="#plus.barcode.DATAMATRIX">DATAMATRIX</a>: Data Matrix浜岀淮鐮侊紝鏁板�间负4
+				</li>
+				<li>
+					<a href="#plus.barcode.UPCA">UPCA</a>: UPC鏉″舰鐮佹爣鍑嗙増锛屾暟鍊间负5
+				</li>
+				<li>
+					<a href="#plus.barcode.UPCE">UPCE</a>: UPC鏉″舰鐮佺缉鐭増锛屾暟鍊间负6
+				</li>
+				<li>
+					<a href="#plus.barcode.CODABAR">CODABAR</a>: Codabar鏉″舰鐮侊紝鏁板�间负7
+				</li>
+				<li>
+					<a href="#plus.barcode.CODE39">CODE39</a>: Code39鏉″舰鐮侊紝鏁板�间负8
+				</li>
+				<li>
+					<a href="#plus.barcode.CODE93">CODE93</a>: Code93鏉″舰鐮侊紝鏁板�间负9
+				</li>
+				<li>
+					<a href="#plus.barcode.CODE128">CODE128</a>: Code128鏉″舰鐮侊紝鏁板�间负10
+				</li>
+				<li>
+					<a href="#plus.barcode.ITF">ITF</a>: ITF鏉″舰鐮侊紝鏁板�间负11
+				</li>
+				<li>
+					<a href="#plus.barcode.MAXICODE">MAXICODE</a>: MaxiCode浜岀淮鐮侊紝鏁板�间负12
+				</li>
+				<li>
+					<a href="#plus.barcode.PDF417">PDF417</a>: PDF 417浜岀淮鏉$爜锛屾暟鍊间负13
+				</li>
+				<li>
+					<a href="#plus.barcode.RSS14">RSS14</a>: RSS 14鏉″舰缁勫悎鐮侊紝鏁板�间负14
+				</li>
+				<li>
+					<a href="#plus.barcode.RSSEXPANDED">RSSEXPANDED</a>: 鎵╁睍寮廟SS鏉″舰缁勫悎鐮侊紝鏁板�间负15
+				</li>
+			</ul>
+			<h2>鏂规硶锛�</h2>
+			<ul>
+				<li>
+					<a href="#plus.barcode.scan">scan</a>: 鎵爜璇嗗埆鍥剧墖涓殑鏉$爜
+				</li>
+				<li>
+					<a href="#plus.barcode.create">create</a>: 鍒涘缓鎵爜璇嗗埆鎺т欢瀵硅薄
+				</li>
+				<li>
+					<a href="#plus.barcode.getBarcodeById">getBarcodeById</a>: 鏌ユ壘鎵爜璇嗗埆鎺т欢瀵硅薄
+				</li>
+			</ul>
+			<h2>瀵硅薄锛�</h2>
+			<ul>
+				<li>
+					<a href="#plus.barcode.Barcode">Barcode</a>: 鎵爜璇嗗埆鎺т欢瀵硅薄
+				</li>
+				<li>
+					<a href="#plus.barcode.BarcodeStyles">BarcodeStyles</a>: Barcode鎵爜鎺т欢鏍峰紡
+				</li>
+				<li>
+					<a href="#plus.barcode.BarcodeOptions">BarcodeOptions</a>: 鏉$爜璇嗗埆鎺т欢鎵弿鍙傛暟
+				</li>
+			</ul>
+			<h2>鍥炶皟鏂规硶锛�</h2>
+			<ul>
+				<li>
+					<a href="#plus.barcode.BarcodeSuccessCallback">BarcodeSuccessCallback</a>: 鎵爜璇嗗埆鎴愬姛鍥炶皟鍑芥暟
+				</li>
+				<li>
+					<a href="#plus.barcode.BarcodeErrorCallback">BarcodeErrorCallback</a>: 鎵爜璇嗗埆閿欒鍥炶皟鍑芥暟
+				</li>
+			</ul>
+			<h2>鏉冮檺锛�</h2>
+			<p>permissions</p>
+			<pre class="prettyprint linenums">
 {
 // ...
 "permissions":{
@@ -86,9 +112,9 @@
 }
 }
 			</pre>
-<h1><a name="plus.barcode.Barcode">Barcode</a></h1>
-<p>鎵爜璇嗗埆鎺т欢瀵硅薄</p>
-<pre class="prettyprint linenums">
+			<h1><a name="plus.barcode.Barcode">Barcode</a></h1>
+			<p>鎵爜璇嗗埆鎺т欢瀵硅薄</p>
+			<pre class="prettyprint linenums">
 interface plus.barcode.Barcode {
 	// Methods
 	function void cancel();
@@ -102,37 +128,48 @@
 	function void onmarked();
 }
 				</pre>
-<h2>璇存槑锛�</h2>
-<p class="des">
-	鍙�氳繃plus.barcode.create鍒涘缓锛屼篃鍙�氳繃new plus.barcode.Barcode鏋勯�狅紙浠呭湪5+APP涓娇鐢級鍒涘缓銆�
-	鎵爜璇嗗埆鎺т欢灏嗕娇鐢ㄨ澶囩殑鎽勫儚澶撮瑙堟壂鎻忓唴瀹癸紝鍦ㄦ帶浠朵腑鏄剧ず鎵弿鍩哄噯妗嗙瓑鐢ㄦ埛浜や簰鍏冪礌銆�
-				</p>
-<h2>鏋勯�狅細</h2>
-<ul><li>
-<a href="#plus.barcode.Barcode.Barcode.constructor(domId,%20filters,%20styles)">Barcode.constructor(domId, filters, styles)</a>: 鏋勯�犳壂鐮佽瘑鍒帶浠�</li></ul>
-<h2>鏂规硶锛�</h2>
-<ul>
-<li>
-<a href="#plus.barcode.Barcode.cancel">cancel</a>: 鍙栨秷鎵爜璇嗗埆</li>
-<li>
-<a href="#plus.barcode.Barcode.close">close</a>: 鍏抽棴鏉$爜璇嗗埆鎺т欢</li>
-<li>
-<a href="#plus.barcode.Barcode.setFlash">setFlash</a>: 鎿嶄綔闂厜鐏�</li>
-<li>
-<a href="#plus.barcode.Barcode.setStyle">setStyle</a>: 璁剧疆鎵爜璇嗗埆鎺т欢鐨勬牱寮�</li>
-<li>
-<a href="#plus.barcode.Barcode.start">start</a>: 寮�濮嬫壂鐮佽瘑鍒�</li>
-</ul>
-<h2>浜嬩欢锛�</h2>
-<ul>
-<li>
-<a href="#plus.barcode.Barcode.onmarked">onmarked</a>: 鎵爜璇嗗埆鎴愬姛浜嬩欢</li>
-<li>
-<a href="#plus.barcode.Barcode.onerror">onerror</a>: 鎵爜璇嗗埆閿欒浜嬩欢</li>
-</ul>
-<h1><a name="plus.barcode.BarcodeStyles">BarcodeStyles</a></h1>
-<p>Barcode鎵爜鎺т欢鏍峰紡</p>
-<pre class="prettyprint linenums">
+			<h2>璇存槑锛�</h2>
+			<p class="des">
+				鍙�氳繃plus.barcode.create鍒涘缓锛屼篃鍙�氳繃new plus.barcode.Barcode鏋勯�狅紙浠呭湪5+APP涓娇鐢級鍒涘缓銆�
+				鎵爜璇嗗埆鎺т欢灏嗕娇鐢ㄨ澶囩殑鎽勫儚澶撮瑙堟壂鎻忓唴瀹癸紝鍦ㄦ帶浠朵腑鏄剧ず鎵弿鍩哄噯妗嗙瓑鐢ㄦ埛浜や簰鍏冪礌銆�
+			</p>
+			<h2>鏋勯�狅細</h2>
+			<ul>
+				<li>
+					<a href="#plus.barcode.Barcode.Barcode.constructor(domId,%20filters,%20styles)">Barcode.constructor(domId,
+						filters, styles)</a>: 鏋勯�犳壂鐮佽瘑鍒帶浠�
+				</li>
+			</ul>
+			<h2>鏂规硶锛�</h2>
+			<ul>
+				<li>
+					<a href="#plus.barcode.Barcode.cancel">cancel</a>: 鍙栨秷鎵爜璇嗗埆
+				</li>
+				<li>
+					<a href="#plus.barcode.Barcode.close">close</a>: 鍏抽棴鏉$爜璇嗗埆鎺т欢
+				</li>
+				<li>
+					<a href="#plus.barcode.Barcode.setFlash">setFlash</a>: 鎿嶄綔闂厜鐏�
+				</li>
+				<li>
+					<a href="#plus.barcode.Barcode.setStyle">setStyle</a>: 璁剧疆鎵爜璇嗗埆鎺т欢鐨勬牱寮�
+				</li>
+				<li>
+					<a href="#plus.barcode.Barcode.start">start</a>: 寮�濮嬫壂鐮佽瘑鍒�
+				</li>
+			</ul>
+			<h2>浜嬩欢锛�</h2>
+			<ul>
+				<li>
+					<a href="#plus.barcode.Barcode.onmarked">onmarked</a>: 鎵爜璇嗗埆鎴愬姛浜嬩欢
+				</li>
+				<li>
+					<a href="#plus.barcode.Barcode.onerror">onerror</a>: 鎵爜璇嗗埆閿欒浜嬩欢
+				</li>
+			</ul>
+			<h1><a name="plus.barcode.BarcodeStyles">BarcodeStyles</a></h1>
+			<p>Barcode鎵爜鎺т欢鏍峰紡</p>
+			<pre class="prettyprint linenums">
 interface plus.barcode.BarcodeStyles {
 	attribute String background;
 	attribute String frameColor;
@@ -145,80 +182,88 @@
 	attribute String position;
 }
 				</pre>
-<h2>璇存槑锛�</h2>
-<p class="des">
-	璁剧疆Barcode鎵爜鎺т欢鐨勬牱寮忥紝濡傛壂鐮佹銆佹壂鐮佹潯鐨勯鑹茬瓑銆�
-				</p>
-<h2>灞炴�э細</h2>
-<ul>
-<li>background: <em>(<font class="type">String</font>
-	绫诲瀷
-)</em>鏉$爜璇嗗埆鎺т欢鑳屾櫙棰滆壊<br><p>
-	棰滆壊鍊兼敮鎸�(鍙傝�僀SS棰滆壊瑙勮寖)锛氶鑹插悕绉�(鍙傝�僀SS Color Names)/鍗佸叚杩涘埗鍊�/rgb鍊硷紝榛樿鍊间负绾㈣壊銆�
-						</p>
-</li>
-<li>frameColor: <em>(<font class="type">String</font>
-	绫诲瀷
-)</em>鎵爜妗嗛鑹�<br><p>
-	棰滆壊鍊兼敮鎸�(鍙傝�僀SS棰滆壊瑙勮寖)锛氶鑹插悕绉�(鍙傝�僀SS Color Names)/鍗佸叚杩涘埗鍊�/rgb鍊�/rgba鍊硷紝榛樿鍊间负绾㈣壊銆�
-						</p>
-</li>
-<li>scanbarColor: <em>(<font class="type">String</font>
-	绫诲瀷
-)</em>鎵爜鏉¢鑹�<br><p>
-	棰滆壊鍊兼敮鎸�(鍙傝�僀SS棰滆壊瑙勮寖)锛氶鑹插悕绉�(鍙傝�僀SS Color Names)/鍗佸叚杩涘埗鍊�/rgb鍊�/rgba鍊硷紝榛樿鍊间负绾㈣壊銆�
-						</p>
-</li>
-<li>top: <em>(<font class="type">String</font>
-	绫诲瀷
-)</em>Barcode鎵爜鎺т欢宸︿笂瑙掔殑鍨傜洿鍋忕Щ閲�<br><p>
-	鍙彇鍊硷細
-		鍍忕礌鍊硷紝濡�"100px"锛�
-		鐧惧垎姣旓紝濡�"10%"锛岀浉瀵逛簬鐖禬ebview绐楀彛鐨勯珮搴︼紱
-		鑷姩璁$畻锛屽"auto",鏍规嵁height鍊艰嚜鍔ㄨ绠楋紝鐩稿浜庣埗Webview绐楀彛鍨傜洿灞呬腑銆�
-						</p>
-</li>
-<li>left: <em>(<font class="type">String</font>
-	绫诲瀷
-)</em>Barcode鎵爜鎺т欢宸︿笂瑙掔殑姘村钩鍋忕Щ閲�<br><p>
-	鍙彇鍊硷細
-		鍍忕礌鍊硷紝濡�"100px"锛�
-		鐧惧垎姣旓紝濡�"10%"锛岀浉瀵逛簬鐖禬ebview绐楀彛鐨勫搴︼紱
-		鑷姩璁$畻锛屽"auto"锛屾牴鎹畐idth鍊艰嚜鍔ㄨ绠楋紝鐩稿浜庣埗Webview绐楀彛姘村钩灞呬腑銆�
-	榛樿鍊间负"0px"銆�
-						</p>
-</li>
-<li>width: <em>(<font class="type">String</font>
-	绫诲瀷
-)</em>Barcode鎵爜鎺т欢鐨勫搴�<br><p>
-	鍙彇鍊硷細
-		鍍忕礌鍊硷紝濡�"100px"锛�
-		鐧惧垎姣旓紝濡�"10%"锛岀浉瀵逛簬鐖禬ebview绐楀彛鐨勫搴︺��
-	榛樿鍊间负"100%"銆�
-						</p>
-</li>
-<li>height: <em>(<font class="type">String</font>
-	绫诲瀷
-)</em>Barcode鎵爜鎺т欢鐨勯珮搴�<br><p>
-	鍙彇鍊硷細
-		鍍忕礌鍊硷紝濡�"100px"锛�
-		鐧惧垎姣旓紝濡�"10%"锛岀浉瀵逛簬鐖禬ebview绐楀彛鐨勯珮搴︺��
-	榛樿鍊间负"100%"銆�
-						</p>
-</li>
-<li>position: <em>(<font class="type">String</font>
-	绫诲瀷
-)</em>Barcode鎵爜鎺т欢鍦╓ebview绐楀彛鐨勫竷灞�妯″紡<br><p>
-	鍙彇鍊硷細
-		"static" - 闈欐�佸竷灞�妯″紡锛屽鏋滈〉闈㈠瓨鍦ㄦ粴鍔ㄦ潯鍒欓殢绐楀彛鍐呭婊氬姩锛�
-		"absolute" - 缁濆甯冨眬妯″紡锛屽鏋滈〉闈㈠瓨鍦ㄦ粴鍔ㄦ潯涓嶉殢绐楀彛鍐呭婊氬姩锛�
-	榛樿鍊间负"static"銆�
-						</p>
-</li>
-</ul>
-<h1><a name="plus.barcode.BarcodeOptions">BarcodeOptions</a></h1>
-<p>鏉$爜璇嗗埆鎺т欢鎵弿鍙傛暟</p>
-<pre class="prettyprint linenums">
+			<h2>璇存槑锛�</h2>
+			<p class="des">
+				璁剧疆Barcode鎵爜鎺т欢鐨勬牱寮忥紝濡傛壂鐮佹銆佹壂鐮佹潯鐨勯鑹茬瓑銆�
+			</p>
+			<h2>灞炴�э細</h2>
+			<ul>
+				<li>background: <em>(<font class="type">String</font>
+						绫诲瀷
+						)</em>鏉$爜璇嗗埆鎺т欢鑳屾櫙棰滆壊<br>
+					<p>
+						棰滆壊鍊兼敮鎸�(鍙傝�僀SS棰滆壊瑙勮寖)锛氶鑹插悕绉�(鍙傝�僀SS Color Names)/鍗佸叚杩涘埗鍊�/rgb鍊硷紝榛樿鍊间负绾㈣壊銆�
+					</p>
+				</li>
+				<li>frameColor: <em>(<font class="type">String</font>
+						绫诲瀷
+						)</em>鎵爜妗嗛鑹�<br>
+					<p>
+						棰滆壊鍊兼敮鎸�(鍙傝�僀SS棰滆壊瑙勮寖)锛氶鑹插悕绉�(鍙傝�僀SS Color Names)/鍗佸叚杩涘埗鍊�/rgb鍊�/rgba鍊硷紝榛樿鍊间负绾㈣壊銆�
+					</p>
+				</li>
+				<li>scanbarColor: <em>(<font class="type">String</font>
+						绫诲瀷
+						)</em>鎵爜鏉¢鑹�<br>
+					<p>
+						棰滆壊鍊兼敮鎸�(鍙傝�僀SS棰滆壊瑙勮寖)锛氶鑹插悕绉�(鍙傝�僀SS Color Names)/鍗佸叚杩涘埗鍊�/rgb鍊�/rgba鍊硷紝榛樿鍊间负绾㈣壊銆�
+					</p>
+				</li>
+				<li>top: <em>(<font class="type">String</font>
+						绫诲瀷
+						)</em>Barcode鎵爜鎺т欢宸︿笂瑙掔殑鍨傜洿鍋忕Щ閲�<br>
+					<p>
+						鍙彇鍊硷細
+						鍍忕礌鍊硷紝濡�"100px"锛�
+						鐧惧垎姣旓紝濡�"10%"锛岀浉瀵逛簬鐖禬ebview绐楀彛鐨勯珮搴︼紱
+						鑷姩璁$畻锛屽"auto",鏍规嵁height鍊艰嚜鍔ㄨ绠楋紝鐩稿浜庣埗Webview绐楀彛鍨傜洿灞呬腑銆�
+					</p>
+				</li>
+				<li>left: <em>(<font class="type">String</font>
+						绫诲瀷
+						)</em>Barcode鎵爜鎺т欢宸︿笂瑙掔殑姘村钩鍋忕Щ閲�<br>
+					<p>
+						鍙彇鍊硷細
+						鍍忕礌鍊硷紝濡�"100px"锛�
+						鐧惧垎姣旓紝濡�"10%"锛岀浉瀵逛簬鐖禬ebview绐楀彛鐨勫搴︼紱
+						鑷姩璁$畻锛屽"auto"锛屾牴鎹畐idth鍊艰嚜鍔ㄨ绠楋紝鐩稿浜庣埗Webview绐楀彛姘村钩灞呬腑銆�
+						榛樿鍊间负"0px"銆�
+					</p>
+				</li>
+				<li>width: <em>(<font class="type">String</font>
+						绫诲瀷
+						)</em>Barcode鎵爜鎺т欢鐨勫搴�<br>
+					<p>
+						鍙彇鍊硷細
+						鍍忕礌鍊硷紝濡�"100px"锛�
+						鐧惧垎姣旓紝濡�"10%"锛岀浉瀵逛簬鐖禬ebview绐楀彛鐨勫搴︺��
+						榛樿鍊间负"100%"銆�
+					</p>
+				</li>
+				<li>height: <em>(<font class="type">String</font>
+						绫诲瀷
+						)</em>Barcode鎵爜鎺т欢鐨勯珮搴�<br>
+					<p>
+						鍙彇鍊硷細
+						鍍忕礌鍊硷紝濡�"100px"锛�
+						鐧惧垎姣旓紝濡�"10%"锛岀浉瀵逛簬鐖禬ebview绐楀彛鐨勯珮搴︺��
+						榛樿鍊间负"100%"銆�
+					</p>
+				</li>
+				<li>position: <em>(<font class="type">String</font>
+						绫诲瀷
+						)</em>Barcode鎵爜鎺т欢鍦╓ebview绐楀彛鐨勫竷灞�妯″紡<br>
+					<p>
+						鍙彇鍊硷細
+						"static" - 闈欐�佸竷灞�妯″紡锛屽鏋滈〉闈㈠瓨鍦ㄦ粴鍔ㄦ潯鍒欓殢绐楀彛鍐呭婊氬姩锛�
+						"absolute" - 缁濆甯冨眬妯″紡锛屽鏋滈〉闈㈠瓨鍦ㄦ粴鍔ㄦ潯涓嶉殢绐楀彛鍐呭婊氬姩锛�
+						榛樿鍊间负"static"銆�
+					</p>
+				</li>
+			</ul>
+			<h1><a name="plus.barcode.BarcodeOptions">BarcodeOptions</a></h1>
+			<p>鏉$爜璇嗗埆鎺т欢鎵弿鍙傛暟</p>
+			<pre class="prettyprint linenums">
 interface plus.barcode.BarcodeOptions {
 	attribute Boolean conserve;
 	attribute String filename;
@@ -226,99 +271,110 @@
 	attribute String sound;
 }
 				</pre>
-<h2>璇存槑锛�</h2>
-<p class="des">
-	璁剧疆Barcode鎵爜鎺т欢鐨勬壂鐮佽瘑鍒弬鏁帮紝濡傛槸鍚︿繚瀛樻壂鐮佸姛鏃剁殑鎴浘绛夈��
-				</p>
-<h2>灞炴�э細</h2>
-<ul>
-<li>conserve: <em>(<font class="type">Boolean</font>
-	绫诲瀷
-)</em>鏄惁淇濆瓨鎵爜鎴愬姛鏃剁殑鎴浘<br><p>
-	濡傛灉璁剧疆涓簍rue鍒欏湪鎵爜鎴愬姛鏃跺皢鍥剧墖淇濆瓨锛屽苟閫氳繃onmarked鍥炶皟鍑芥暟鐨刦ile鍙傛暟杩斿洖淇濆瓨鏂囦欢鐨勮矾寰勩��
-	榛樿鍊间负false锛屼笉淇濆瓨鎴浘銆�
-						</p>
-</li>
-<li>filename: <em>(<font class="type">String</font>
-	绫诲瀷
-)</em>淇濆瓨鎵爜鎴愬姛鏃跺浘鐗囦繚瀛樿矾寰�<br><p>
-	鍙�氳繃姝ゅ弬鏁拌缃繚瀛樻埅鍥剧殑璺緞鍜屽悕绉帮紝濡傛灉璁剧疆鍥剧墖鏂囦欢鍚嶇О鍒欏繀椤绘寚瀹氭枃浠剁殑鍚庣紑鍚嶏紙蹇呴』鏄�.png锛夛紝鍚﹀垯璁や负鏄寚瀹氱洰褰曪紝鏂囦欢鍚嶇О鍒欒嚜鍔ㄧ敓鎴愩��
-						</p>
-</li>
-<li>vibrate: <em>(<font class="type">Boolean</font>
-	绫诲瀷
-)</em>鎵爜鎴愬姛鏃舵槸鍚﹂渶瑕侀渿鍔ㄦ彁閱�<br><p>
-	濡傛灉璁剧疆涓簍rue鍒欏湪鎵爜鎴愬姛鏃堕渿鍔ㄨ澶囷紝false鍒欎笉闇囧姩銆�
-	榛樿鍊间负true銆�
-						</p>
-</li>
-<li>sound: <em>(<font class="type">String</font>
-	绫诲瀷
-)</em>鎵爜鎴愬姛鏃舵挱鏀剧殑鎻愮ず闊�<br><p>
-	鍙彇鍊硷細
-	"none" - 涓嶆挱鏀炬彁绀洪煶锛�
-	"default" - 鎾斁榛樿鎻愮ず闊筹紙5+寮曟搸鍐呯疆锛夈��
-	榛樿鍊间负"default"銆�
-						</p>
-</li>
-</ul>
-<h1><a name="plus.barcode.BarcodeSuccessCallback">BarcodeSuccessCallback</a></h1>
-<p>鎵爜璇嗗埆鎴愬姛鍥炶皟鍑芥暟</p>
-<pre class="prettyprint linenums">
+			<h2>璇存槑锛�</h2>
+			<p class="des">
+				璁剧疆Barcode鎵爜鎺т欢鐨勬壂鐮佽瘑鍒弬鏁帮紝濡傛槸鍚︿繚瀛樻壂鐮佸姛鏃剁殑鎴浘绛夈��
+			</p>
+			<h2>灞炴�э細</h2>
+			<ul>
+				<li>conserve: <em>(<font class="type">Boolean</font>
+						绫诲瀷
+						)</em>鏄惁淇濆瓨鎵爜鎴愬姛鏃剁殑鎴浘<br>
+					<p>
+						濡傛灉璁剧疆涓簍rue鍒欏湪鎵爜鎴愬姛鏃跺皢鍥剧墖淇濆瓨锛屽苟閫氳繃onmarked鍥炶皟鍑芥暟鐨刦ile鍙傛暟杩斿洖淇濆瓨鏂囦欢鐨勮矾寰勩��
+						榛樿鍊间负false锛屼笉淇濆瓨鎴浘銆�
+					</p>
+				</li>
+				<li>filename: <em>(<font class="type">String</font>
+						绫诲瀷
+						)</em>淇濆瓨鎵爜鎴愬姛鏃跺浘鐗囦繚瀛樿矾寰�<br>
+					<p>
+						鍙�氳繃姝ゅ弬鏁拌缃繚瀛樻埅鍥剧殑璺緞鍜屽悕绉帮紝濡傛灉璁剧疆鍥剧墖鏂囦欢鍚嶇О鍒欏繀椤绘寚瀹氭枃浠剁殑鍚庣紑鍚嶏紙蹇呴』鏄�.png锛夛紝鍚﹀垯璁や负鏄寚瀹氱洰褰曪紝鏂囦欢鍚嶇О鍒欒嚜鍔ㄧ敓鎴愩��
+					</p>
+				</li>
+				<li>vibrate: <em>(<font class="type">Boolean</font>
+						绫诲瀷
+						)</em>鎵爜鎴愬姛鏃舵槸鍚﹂渶瑕侀渿鍔ㄦ彁閱�<br>
+					<p>
+						濡傛灉璁剧疆涓簍rue鍒欏湪鎵爜鎴愬姛鏃堕渿鍔ㄨ澶囷紝false鍒欎笉闇囧姩銆�
+						榛樿鍊间负true銆�
+					</p>
+				</li>
+				<li>sound: <em>(<font class="type">String</font>
+						绫诲瀷
+						)</em>鎵爜鎴愬姛鏃舵挱鏀剧殑鎻愮ず闊�<br>
+					<p>
+						鍙彇鍊硷細
+						"none" - 涓嶆挱鏀炬彁绀洪煶锛�
+						"default" - 鎾斁榛樿鎻愮ず闊筹紙5+寮曟搸鍐呯疆锛夈��
+						榛樿鍊间负"default"銆�
+					</p>
+				</li>
+			</ul>
+			<h1><a name="plus.barcode.BarcodeSuccessCallback">BarcodeSuccessCallback</a></h1>
+			<p>鎵爜璇嗗埆鎴愬姛鍥炶皟鍑芥暟</p>
+			<pre class="prettyprint linenums">
 void BarcodeSuccessCallback(type, code, file){
 	// Barcode success code
 }
 				</pre>
-<h2>璇存槑锛�</h2>
-<p class="des">
-	褰揃arcode鎺т欢鎵爜鎴愬姛鏃剁殑鍥炶皟鍑芥暟锛岃繑鍥炶瘑鍒垚鍔熺殑鎵爜鏁版嵁銆�
-				</p>
-<h2>鍙傛暟锛�</h2>
-<ul>
-<li>type: 
-		<em>(
-			<font class="type">Number</font>
-			)
-			蹇呴�� </em>璇嗗埆鍒扮殑鏉$爜绫诲瀷<br>
-	Number绫诲瀷鐨勫�硷紝涓嶣arcode瀵硅薄瀹氫箟鐨勬潯鐮佺被鍨嬪父閲忎竴鑷淬��
-						</li>
-<li>code: 
-		<em>(
-			<font class="type">String</font>
-			)
-			蹇呴�� </em>璇嗗埆鍒扮殑鏉$爜鏁版嵁<br>
-	鎵爜璇嗗埆鍑虹殑鏁版嵁鍐呭锛屽瓧绗︿覆绫诲瀷锛岄噰鐢║TF8缂栫爜鏍煎紡銆�
-						</li>
-<li>file: 
-		<em>(
-			<font class="type">String</font>
-			)
-			鍙�� </em>鎵爜鎴愬姛鐨勬埅鍥炬枃浠惰矾寰�<br>
-	鎵爜璇嗗埆鍒扮殑鎴浘锛宲ng鏍煎紡鏂囦欢锛屽鏋滆缃负涓嶄繚瀛樻埅鍥撅紝鍒欒繑鍥瀠ndefined銆�
-						</li>
-</ul>
-<h2>杩斿洖鍊硷細</h2>
-<font class="type">void</font>
+			<h2>璇存槑锛�</h2>
+			<p class="des">
+				褰揃arcode鎺т欢鎵爜鎴愬姛鏃剁殑鍥炶皟鍑芥暟锛岃繑鍥炶瘑鍒垚鍔熺殑鎵爜鏁版嵁銆�
+			</p>
+			<h2>鍙傛暟锛�</h2>
+			<ul>
+				<li>type:
+					<em>(
+						<font class="type">Number</font>
+						)
+						蹇呴��
+					</em>璇嗗埆鍒扮殑鏉$爜绫诲瀷<br>
+					Number绫诲瀷鐨勫�硷紝涓嶣arcode瀵硅薄瀹氫箟鐨勬潯鐮佺被鍨嬪父閲忎竴鑷淬��
+				</li>
+				<li>code:
+					<em>(
+						<font class="type">String</font>
+						)
+						蹇呴��
+					</em>璇嗗埆鍒扮殑鏉$爜鏁版嵁<br>
+					鎵爜璇嗗埆鍑虹殑鏁版嵁鍐呭锛屽瓧绗︿覆绫诲瀷锛岄噰鐢║TF8缂栫爜鏍煎紡銆�
+				</li>
+				<li>file:
+					<em>(
+						<font class="type">String</font>
+						)
+						鍙��
+					</em>鎵爜鎴愬姛鐨勬埅鍥炬枃浠惰矾寰�<br>
+					鎵爜璇嗗埆鍒扮殑鎴浘锛宲ng鏍煎紡鏂囦欢锛屽鏋滆缃负涓嶄繚瀛樻埅鍥撅紝鍒欒繑鍥瀠ndefined銆�
+				</li>
+			</ul>
+			<h2>杩斿洖鍊硷細</h2>
+			<font class="type">void</font>
 			: 鏃�<h1><a name="plus.barcode.BarcodeErrorCallback">BarcodeErrorCallback</a></h1>
-<p>鎵爜璇嗗埆閿欒鍥炶皟鍑芥暟</p>
-<pre class="prettyprint linenums">
+			<p>鎵爜璇嗗埆閿欒鍥炶皟鍑芥暟</p>
+			<pre class="prettyprint linenums">
 void BarcodeErrorCallback(error){
 	// Error 
 	var code = error.code; 			// 閿欒缂栫爜
 	var message = error.message;	// 閿欒鎻忚堪淇℃伅
 }
 				</pre>
-<h2>鍙傛暟锛�</h2>
-<ul><li>error: 
-		<em>(
-			<font class="type">DOMException</font>
-			)
-			蹇呴�� </em>鎵爜璇嗗埆鐨勯敊璇俊鎭�<br>
-	鍙�氳繃error.code锛圢umber绫诲瀷锛夎幏鍙栭敊璇紪鐮侊紱
-	鍙�氳繃error.message锛圫tring绫诲瀷锛夎幏鍙栭敊璇弿杩颁俊鎭��
-						</li></ul>
-<h2>杩斿洖鍊硷細</h2>
-<font class="type">void</font>
+			<h2>鍙傛暟锛�</h2>
+			<ul>
+				<li>error:
+					<em>(
+						<font class="type">DOMException</font>
+						)
+						蹇呴��
+					</em>鎵爜璇嗗埆鐨勯敊璇俊鎭�<br>
+					鍙�氳繃error.code锛圢umber绫诲瀷锛夎幏鍙栭敊璇紪鐮侊紱
+					鍙�氳繃error.message锛圫tring绫诲瀷锛夎幏鍙栭敊璇弿杩颁俊鎭��
+				</li>
+			</ul>
+			<h2>杩斿洖鍊硷細</h2>
+			<font class="type">void</font>
 			: 鏃�<br><br>
-</div></body>
+		</div>
+	</body>
 </html>
diff --git a/unpackage/cache/wgt/H5EDA0853/js/common.js b/unpackage/cache/wgt/H5EDA0853/js/common.js
index 2a5c880..ac4a291 100644
--- a/unpackage/cache/wgt/H5EDA0853/js/common.js
+++ b/unpackage/cache/wgt/H5EDA0853/js/common.js
@@ -1,178 +1,189 @@
-(function(w){
-// 绌哄嚱鏁�
-function shield(){
-	return false;
-}
-document.addEventListener('touchstart', shield, false);//鍙栨秷娴忚鍣ㄧ殑鎵�鏈変簨浠讹紝浣垮緱active鐨勬牱寮忓湪鎵嬫満涓婃甯哥敓鏁�
-document.oncontextmenu=shield;//灞忚斀閫夋嫨鍑芥暟
-// H5 plus浜嬩欢澶勭悊
-var ws=null,as='pop-in';
-function plusReady(){
-	ws=plus.webview.currentWebview();
-	plus.key.addEventListener('backbutton', function(){
-		back();
-	},false);
-}
-if(w.plus){
-	plusReady();
-}else{
-	document.addEventListener('plusready', plusReady, false);
-}
-// DOMContentLoaded浜嬩欢澶勭悊
-document.addEventListener('DOMContentLoaded', function(){
-	gInit();
-	document.body.onselectstart=shield;
-},false);
-// 杩斿洖
-w.back=function(hide){
-	if(w.plus){
-		ws||(ws=plus.webview.currentWebview());
-		(hide||ws.preate)?ws.hide('auto'):ws.close('auto');
-	}else if(history.length>1){
-		history.back();
-	}else{
-		w.close();
+(function(w) {
+	// 绌哄嚱鏁�
+	function shield() {
+		return false;
 	}
-};
-// 澶勭悊鐐瑰嚮浜嬩欢
-var openw=null;
-/**
- * 鎵撳紑鏂扮獥鍙�
- * @param {URIString} id : 瑕佹墦寮�椤甸潰url
- * @param {String} t : 椤甸潰鏍囬鍚嶇О
- * @param {JSON} ws : Webview绐楀彛灞炴��
- */
-w.clicked=function(id, t, ws){
-	if(openw){//閬垮厤澶氭鎵撳紑鍚屼竴涓〉闈�
-		return null;
-	}
-	if(w.plus){
-		ws=ws||{};
-		ws.scrollIndicator||(ws.scrollIndicator='none');
-		ws.scalable||(ws.scalable=false);
-		ws.backButtonAutoControl||(ws.backButtonAutoControl='close');
-		ws.titleNView=ws.titleNView||{autoBackButton:true};
-		ws.titleNView.backgroundColor = '#D74B28';
-		ws.titleNView.titleColor = '#CCCCCC';
-		ws.doc&&(ws.titleNView.buttons=ws.titleNView.buttons||[],ws.titleNView.buttons.push({fontSrc:'_www/helloh5.ttf',text:'\ue301',fontSize:'20px',onclick:'javascript:openDoc()'}));
-		t&&(ws.titleNView.titleText=t);
-		openw = plus.webview.create(id, id, ws);
-		openw.addEventListener('loaded', function(){
-			openw.show(as);
+	document.addEventListener('touchstart', shield, false); //鍙栨秷娴忚鍣ㄧ殑鎵�鏈変簨浠讹紝浣垮緱active鐨勬牱寮忓湪鎵嬫満涓婃甯哥敓鏁�
+	document.oncontextmenu = shield; //灞忚斀閫夋嫨鍑芥暟
+	// H5 plus浜嬩欢澶勭悊
+	var ws = null,
+		as = 'pop-in';
+
+	function plusReady() {
+		ws = plus.webview.currentWebview();
+		plus.key.addEventListener('backbutton', function() {
+			back();
 		}, false);
-		openw.addEventListener('close', function(){
-			openw=null;
-		}, false);
-		return openw;
-	}else{
-		w.open(id);
 	}
-	return null;
-};
-/**
- * 鍒涘缓鏂扮獥鍙o紙鏃犲師濮嬫爣棰樻爮锛夛紝
- * @param {URIString} id : 瑕佹墦寮�椤甸潰url
- * @param {JSON} ws : Webview绐楀彛灞炴��
- */
-w.createWithoutTitle=function(id, ws){
-	if(openw){//閬垮厤澶氭鎵撳紑鍚屼竴涓〉闈�
-		return null;
+	if (w.plus) {
+		plusReady();
+	} else {
+		document.addEventListener('plusready', plusReady, false);
 	}
-	if(w.plus){
-		ws=ws||{};
-		ws.scrollIndicator||(ws.scrollIndicator='none');
-		ws.scalable||(ws.scalable=false);
-		ws.backButtonAutoControl||(ws.backButtonAutoControl='close');
-		openw = plus.webview.create(id, id, ws);
-		openw.addEventListener('close', function(){
-			openw=null;
-		}, false);
-		return openw;
-	}else{
-		w.open(id);
-	}
-	return null;
-};
-/**
- * 鎵撳紑鏂囨。椤甸潰
- * @param {URIString} c : 瑕佹墦寮�椤甸潰url
- */
-w.openDoc=function(c){
-	plus.webview.create(c, 'document', {
-		titleNView:{
-			autoBackButton:true,
-			backgroundColor:'#D74B28',
-			titleColor:'#CCCCCC'
-		},
-		backButtonAutoControl:'close',
-		scalable:false
-	}).show('pop-in');
-};
-/**
- * 鍏煎鎻愮ず
- */
-w.compatibleConfirm=function(){
-	plus.nativeUI.confirm('鏈琌S鍘熺敓灞傞潰涓嶆彁渚涜鎺т欢锛岄渶浣跨敤mui妗嗘灦瀹炵幇绫讳技鏁堟灉銆傝鐐瑰嚮鈥滅‘瀹氣�濅笅杞紿ello mui绀轰緥',function(e){
-		if(0==e.index){
-			plus.runtime.openURL("http://www.dcloud.io/hellomui/");
+	// DOMContentLoaded浜嬩欢澶勭悊
+	document.addEventListener('DOMContentLoaded', function() {
+		gInit();
+		document.body.onselectstart = shield;
+	}, false);
+	// 杩斿洖
+	w.back = function(hide) {
+		if (w.plus) {
+			ws || (ws = plus.webview.currentWebview());
+			(hide || ws.preate) ? ws.hide('auto'): ws.close('auto');
+		} else if (history.length > 1) {
+			history.back();
+		} else {
+			w.close();
 		}
-	},"",["纭畾","鍙栨秷"]);
-}
-// 閫氱敤鍏冪礌瀵硅薄
-var _dout_=null;
-w.gInit=function(){
-	_dout_=document.getElementById("output");
-};
-// 娓呯┖杈撳嚭鍐呭
-w.outClean=function(){
-	_dout_.innerText="";
-	_dout_.scrollTop=0;//鍦╥OS8瀛樺湪涓嶆粴鍔ㄧ殑鐜拌薄
-};
-// 杈撳嚭鍐呭
-w.outSet=function(s){
-	console.log(s);
-	_dout_.innerText=s+"\n";
-	(0==_dout_.scrollTop)&&(_dout_.scrollTop=1);//鍦╥OS8瀛樺湪涓嶆粴鍔ㄧ殑鐜拌薄
-};
-// 杈撳嚭琛屽唴瀹�
-w.outLine=function(s){
-	console.log(s);
-	_dout_.innerText+=s+"\n";
-	(0==_dout_.scrollTop)&&(_dout_.scrollTop=1);//鍦╥OS8瀛樺湪涓嶆粴鍔ㄧ殑鐜拌薄
-};
-// 鏍煎紡鍖栨椂闀垮瓧绗︿覆锛屾牸寮忎负"HH:MM:SS"
-w.timeToStr=function(ts){
-	if(isNaN(ts)){
-		return "--:--:--";
+	};
+	// 澶勭悊鐐瑰嚮浜嬩欢
+	var openw = null;
+	/**
+	 * 鎵撳紑鏂扮獥鍙�
+	 * @param {URIString} id : 瑕佹墦寮�椤甸潰url
+	 * @param {String} t : 椤甸潰鏍囬鍚嶇О
+	 * @param {JSON} ws : Webview绐楀彛灞炴��
+	 */
+	w.clicked = function(id, t, ws) {
+		if (openw) { //閬垮厤澶氭鎵撳紑鍚屼竴涓〉闈�
+			return null;
+		}
+		if (w.plus) {
+			ws = ws || {};
+			ws.scrollIndicator || (ws.scrollIndicator = 'none');
+			ws.scalable || (ws.scalable = false);
+			ws.backButtonAutoControl || (ws.backButtonAutoControl = 'close');
+			ws.titleNView = ws.titleNView || {
+				autoBackButton: true
+			};
+			ws.titleNView.backgroundColor = '#D74B28';
+			ws.titleNView.titleColor = '#CCCCCC';
+			ws.doc && (ws.titleNView.buttons = ws.titleNView.buttons || [], ws.titleNView.buttons.push({
+				fontSrc: '_www/helloh5.ttf',
+				text: '\ue301',
+				fontSize: '20px',
+				onclick: 'javascript:openDoc()'
+			}));
+			t && (ws.titleNView.titleText = t);
+			openw = plus.webview.create(id, id, ws);
+			openw.addEventListener('loaded', function() {
+				openw.show(as);
+			}, false);
+			openw.addEventListener('close', function() {
+				openw = null;
+			}, false);
+			return openw;
+		} else {
+			w.open(id);
+		}
+		return null;
+	};
+	/**
+	 * 鍒涘缓鏂扮獥鍙o紙鏃犲師濮嬫爣棰樻爮锛夛紝
+	 * @param {URIString} id : 瑕佹墦寮�椤甸潰url
+	 * @param {JSON} ws : Webview绐楀彛灞炴��
+	 */
+	w.createWithoutTitle = function(id, ws) {
+		if (openw) { //閬垮厤澶氭鎵撳紑鍚屼竴涓〉闈�
+			return null;
+		}
+		if (w.plus) {
+			ws = ws || {};
+			ws.scrollIndicator || (ws.scrollIndicator = 'none');
+			ws.scalable || (ws.scalable = false);
+			ws.backButtonAutoControl || (ws.backButtonAutoControl = 'close');
+			openw = plus.webview.create(id, id, ws);
+			openw.addEventListener('close', function() {
+				openw = null;
+			}, false);
+			return openw;
+		} else {
+			w.open(id);
+		}
+		return null;
+	};
+	/**
+	 * 鎵撳紑鏂囨。椤甸潰
+	 * @param {URIString} c : 瑕佹墦寮�椤甸潰url
+	 */
+	w.openDoc = function(c) {
+		plus.webview.create(c, 'document', {
+			titleNView: {
+				autoBackButton: true,
+				backgroundColor: '#D74B28',
+				titleColor: '#CCCCCC'
+			},
+			backButtonAutoControl: 'close',
+			scalable: false
+		}).show('pop-in');
+	};
+	/**
+	 * 鍏煎鎻愮ず
+	 */
+	w.compatibleConfirm = function() {
+		plus.nativeUI.confirm('鏈琌S鍘熺敓灞傞潰涓嶆彁渚涜鎺т欢锛岄渶浣跨敤mui妗嗘灦瀹炵幇绫讳技鏁堟灉銆傝鐐瑰嚮鈥滅‘瀹氣�濅笅杞紿ello mui绀轰緥', function(e) {
+			if (0 == e.index) {
+				plus.runtime.openURL("http://www.dcloud.io/hellomui/");
+			}
+		}, "", ["纭畾", "鍙栨秷"]);
 	}
-	var h=parseInt(ts/3600);
-	var m=parseInt((ts%3600)/60);
-	var s=parseInt(ts%60);
-	return (ultZeroize(h)+":"+ultZeroize(m)+":"+ultZeroize(s));
-};
-// 鏍煎紡鍖栨棩鏈熸椂闂村瓧绗︿覆锛屾牸寮忎负"YYYY-MM-DD HH:MM:SS"
-w.dateToStr=function(d){
-	return (d.getFullYear()+"-"+ultZeroize(d.getMonth()+1)+"-"+ultZeroize(d.getDate())+" "+ultZeroize(d.getHours())+":"+ultZeroize(d.getMinutes())+":"+ultZeroize(d.getSeconds()));
-};
-/**
- * zeroize value with length(default is 2).
- * @param {Object} v
- * @param {Number} l
- * @return {String} 
- */
-w.ultZeroize=function(v,l){
-	var z="";
-	l=l||2;
-	v=String(v);
-	for(var i=0;i<l-v.length;i++){
-		z+="0";
-	}
-	return z+v;
-};
+	// 閫氱敤鍏冪礌瀵硅薄
+	var _dout_ = null;
+	w.gInit = function() {
+		_dout_ = document.getElementById("output");
+	};
+	// 娓呯┖杈撳嚭鍐呭
+	w.outClean = function() {
+		_dout_.innerText = "";
+		_dout_.scrollTop = 0; //鍦╥OS8瀛樺湪涓嶆粴鍔ㄧ殑鐜拌薄
+	};
+	// 杈撳嚭鍐呭
+	w.outSet = function(s) {
+		console.log(s);
+		_dout_.innerText = s + "\n";
+		(0 == _dout_.scrollTop) && (_dout_.scrollTop = 1); //鍦╥OS8瀛樺湪涓嶆粴鍔ㄧ殑鐜拌薄
+	};
+	// 杈撳嚭琛屽唴瀹�
+	w.outLine = function(s) {
+		console.log(s);
+		_dout_.innerText += s + "\n";
+		(0 == _dout_.scrollTop) && (_dout_.scrollTop = 1); //鍦╥OS8瀛樺湪涓嶆粴鍔ㄧ殑鐜拌薄
+	};
+	// 鏍煎紡鍖栨椂闀垮瓧绗︿覆锛屾牸寮忎负"HH:MM:SS"
+	w.timeToStr = function(ts) {
+		if (isNaN(ts)) {
+			return "--:--:--";
+		}
+		var h = parseInt(ts / 3600);
+		var m = parseInt((ts % 3600) / 60);
+		var s = parseInt(ts % 60);
+		return (ultZeroize(h) + ":" + ultZeroize(m) + ":" + ultZeroize(s));
+	};
+	// 鏍煎紡鍖栨棩鏈熸椂闂村瓧绗︿覆锛屾牸寮忎负"YYYY-MM-DD HH:MM:SS"
+	w.dateToStr = function(d) {
+		return (d.getFullYear() + "-" + ultZeroize(d.getMonth() + 1) + "-" + ultZeroize(d.getDate()) + " " +
+			ultZeroize(d.getHours()) + ":" + ultZeroize(d.getMinutes()) + ":" + ultZeroize(d.getSeconds()));
+	};
+	/**
+	 * zeroize value with length(default is 2).
+	 * @param {Object} v
+	 * @param {Number} l
+	 * @return {String} 
+	 */
+	w.ultZeroize = function(v, l) {
+		var z = "";
+		l = l || 2;
+		v = String(v);
+		for (var i = 0; i < l - v.length; i++) {
+			z += "0";
+		}
+		return z + v;
+	};
 })(window);
 
 // fast click 
-;(function () {
+;
+(function() {
 	'use strict';
 
 	/**
@@ -282,7 +293,9 @@
 
 		// Some old versions of Android don't have Function.prototype.bind
 		function bind(method, context) {
-			return function() { return method.apply(context, arguments); };
+			return function() {
+				return method.apply(context, arguments);
+			};
 		}
 
 
@@ -348,10 +361,10 @@
 	}
 
 	/**
-	* Windows Phone 8.1 fakes user agent string to look like Android and iPhone.
-	*
-	* @type boolean
-	*/
+	 * Windows Phone 8.1 fakes user agent string to look like Android and iPhone.
+	 *
+	 * @type boolean
+	 */
 	var deviceIsWindowsPhone = navigator.userAgent.indexOf("Windows Phone") >= 0;
 
 	/**
@@ -401,27 +414,27 @@
 	FastClick.prototype.needsClick = function(target) {
 		switch (target.nodeName.toLowerCase()) {
 
-		// Don't send a synthetic click to disabled inputs (issue #62)
-		case 'button':
-		case 'select':
-		case 'textarea':
-			if (target.disabled) {
+			// Don't send a synthetic click to disabled inputs (issue #62)
+			case 'button':
+			case 'select':
+			case 'textarea':
+				if (target.disabled) {
+					return true;
+				}
+
+				break;
+			case 'input':
+
+				// File inputs need real clicks on iOS 6 due to a browser bug (issue #68)
+				if ((deviceIsIOS && target.type === 'file') || target.disabled) {
+					return true;
+				}
+
+				break;
+			case 'label':
+			case 'iframe': // iOS8 homescreen apps can prevent events bubbling into frames
+			case 'video':
 				return true;
-			}
-
-			break;
-		case 'input':
-
-			// File inputs need real clicks on iOS 6 due to a browser bug (issue #68)
-			if ((deviceIsIOS && target.type === 'file') || target.disabled) {
-				return true;
-			}
-
-			break;
-		case 'label':
-		case 'iframe': // iOS8 homescreen apps can prevent events bubbling into frames
-		case 'video':
-			return true;
 		}
 
 		return (/\bneedsclick\b/).test(target.className);
@@ -436,25 +449,25 @@
 	 */
 	FastClick.prototype.needsFocus = function(target) {
 		switch (target.nodeName.toLowerCase()) {
-		case 'textarea':
-			return true;
-		case 'select':
-			return !deviceIsAndroid;
-		case 'input':
-			switch (target.type) {
-			case 'button':
-			case 'checkbox':
-			case 'file':
-			case 'image':
-			case 'radio':
-			case 'submit':
-				return false;
-			}
+			case 'textarea':
+				return true;
+			case 'select':
+				return !deviceIsAndroid;
+			case 'input':
+				switch (target.type) {
+					case 'button':
+					case 'checkbox':
+					case 'file':
+					case 'image':
+					case 'radio':
+					case 'submit':
+						return false;
+				}
 
-			// No point in attempting to focus disabled inputs
-			return !target.disabled && !target.readOnly;
-		default:
-			return (/\bneedsfocus\b/).test(target.className);
+				// No point in attempting to focus disabled inputs
+				return !target.disabled && !target.readOnly;
+			default:
+				return (/\bneedsfocus\b/).test(target.className);
 		}
 	};
 
@@ -477,7 +490,8 @@
 
 		// Synthesise a click event, with an extra attribute so it can be tracked
 		clickEvent = document.createEvent('MouseEvents');
-		clickEvent.initMouseEvent(this.determineEventType(targetElement), true, true, window, 1, touch.screenX, touch.screenY, touch.clientX, touch.clientY, false, false, false, false, 0, null);
+		clickEvent.initMouseEvent(this.determineEventType(targetElement), true, true, window, 1, touch.screenX,
+			touch.screenY, touch.clientX, touch.clientY, false, false, false, false, 0, null);
 		clickEvent.forwardedTouchEvent = true;
 		targetElement.dispatchEvent(clickEvent);
 	};
@@ -500,7 +514,8 @@
 		var length;
 
 		// Issue #160: on iOS 7, some input elements (e.g. date datetime month) throw a vague TypeError on setSelectionRange. These elements don't have an integer value for the selectionStart and selectionEnd properties, but unfortunately that can't be used for detection because accessing the properties also throws a TypeError. Just check the type instead. Filed as Apple bug #15122724.
-		if (deviceIsIOS && targetElement.setSelectionRange && targetElement.type.indexOf('date') !== 0 && targetElement.type !== 'time' && targetElement.type !== 'month') {
+		if (deviceIsIOS && targetElement.setSelectionRange && targetElement.type.indexOf('date') !== 0 &&
+			targetElement.type !== 'time' && targetElement.type !== 'month') {
 			length = targetElement.value.length;
 			targetElement.setSelectionRange(length, length);
 		} else {
@@ -631,9 +646,11 @@
 	 * @returns {boolean}
 	 */
 	FastClick.prototype.touchHasMoved = function(event) {
-		var touch = event.changedTouches[0], boundary = this.touchBoundary;
+		var touch = event.changedTouches[0],
+			boundary = this.touchBoundary;
 
-		if (Math.abs(touch.pageX - this.touchStartX) > boundary || Math.abs(touch.pageY - this.touchStartY) > boundary) {
+		if (Math.abs(touch.pageX - this.touchStartX) > boundary || Math.abs(touch.pageY - this.touchStartY) >
+			boundary) {
 			return true;
 		}
 
@@ -653,7 +670,8 @@
 		}
 
 		// If the touch has moved, cancel the click tracking
-		if (this.targetElement !== this.getTargetElementFromEventTarget(event.target) || this.touchHasMoved(event)) {
+		if (this.targetElement !== this.getTargetElementFromEventTarget(event.target) || this.touchHasMoved(
+				event)) {
 			this.trackingClick = false;
 			this.targetElement = null;
 		}
@@ -682,7 +700,8 @@
 
 		// If no for attribute exists, attempt to retrieve the first labellable descendant element
 		// the list of which is defined here: http://www.w3.org/TR/html5/forms.html#category-label
-		return labelElement.querySelector('button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea');
+		return labelElement.querySelector(
+			'button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea');
 	};
 
 
@@ -693,7 +712,8 @@
 	 * @returns {boolean}
 	 */
 	FastClick.prototype.onTouchEnd = function(event) {
-		var forElement, trackingClickStart, targetTagName, scrollParent, touch, targetElement = this.targetElement;
+		var forElement, trackingClickStart, targetTagName, scrollParent, touch, targetElement = this
+			.targetElement;
 
 		if (!this.trackingClick) {
 			return true;
@@ -726,7 +746,8 @@
 			touch = event.changedTouches[0];
 
 			// In certain cases arguments of elementFromPoint can be negative, so prevent setting targetElement to null
-			targetElement = document.elementFromPoint(touch.pageX - window.pageXOffset, touch.pageY - window.pageYOffset) || targetElement;
+			targetElement = document.elementFromPoint(touch.pageX - window.pageXOffset, touch.pageY - window
+				.pageYOffset) || targetElement;
 			targetElement.fastClickScrollParent = this.targetElement.fastClickScrollParent;
 		}
 
@@ -745,7 +766,8 @@
 
 			// Case 1: If the touch started a while ago (best guess is 100ms based on tests for issue #36) then focus will be triggered anyway. Return early and unset the target element reference so that the subsequent click will be allowed through.
 			// Case 2: Without this exception for input elements tapped when the document is contained in an iframe, then any inputted text won't be visible even though the value attribute is updated as the user types (issue #37).
-			if ((event.timeStamp - trackingClickStart) > 100 || (deviceIsIOS && window.top !== window && targetTagName === 'input')) {
+			if ((event.timeStamp - trackingClickStart) > 100 || (deviceIsIOS && window.top !== window &&
+					targetTagName === 'input')) {
 				this.targetElement = null;
 				return false;
 			}
@@ -917,7 +939,7 @@
 		}
 
 		// Chrome version - zero for other browsers
-		chromeVersion = +(/Chrome\/([0-9]+)/.exec(navigator.userAgent) || [,0])[1];
+		chromeVersion = +(/Chrome\/([0-9]+)/.exec(navigator.userAgent) || [, 0])[1];
 
 		if (chromeVersion) {
 
@@ -935,7 +957,7 @@
 					}
 				}
 
-			// Chrome desktop doesn't need FastClick (issue #15)
+				// Chrome desktop doesn't need FastClick (issue #15)
 			} else {
 				return true;
 			}
@@ -968,13 +990,14 @@
 		}
 
 		// Firefox version - zero for other browsers
-		firefoxVersion = +(/Firefox\/([0-9]+)/.exec(navigator.userAgent) || [,0])[1];
+		firefoxVersion = +(/Firefox\/([0-9]+)/.exec(navigator.userAgent) || [, 0])[1];
 
 		if (firefoxVersion >= 27) {
 			// Firefox 27+ does not have tap delay if the content is not zoomable - https://bugzilla.mozilla.org/show_bug.cgi?id=922896
 
 			metaViewport = document.querySelector('meta[name=viewport]');
-			if (metaViewport && (metaViewport.content.indexOf('user-scalable=no') !== -1 || document.documentElement.scrollWidth <= window.outerWidth)) {
+			if (metaViewport && (metaViewport.content.indexOf('user-scalable=no') !== -1 || document
+					.documentElement.scrollWidth <= window.outerWidth)) {
 				return true;
 			}
 		}
@@ -1013,8 +1036,8 @@
 		window.FastClick = FastClick;
 	}
 
-document.addEventListener('DOMContentLoaded', function() {
-    FastClick.attach(document.body);
-}, false);
+	document.addEventListener('DOMContentLoaded', function() {
+		FastClick.attach(document.body);
+	}, false);
 
 }());
diff --git a/unpackage/cache/wgt/H5EDA0853/js/global.js b/unpackage/cache/wgt/H5EDA0853/js/global.js
index 7f45abe..70ec3bb 100644
--- a/unpackage/cache/wgt/H5EDA0853/js/global.js
+++ b/unpackage/cache/wgt/H5EDA0853/js/global.js
@@ -1,16 +1,14 @@
-// // 鏍煎紡鍖栧湴鍧�鏍忓弬鏁�    灏嗗璞¤嚜鍔ㄦ嫾鎺ユ垚鍦板潃鏍忎紶鍙傚舰寮�
-
-// export   formatParams() {
-// 	const data = {
-// 		userid: 33,
-// 		usercode: '002',
-// 		username: '寮犱笁',
-// 		usertype: 'APP'
-// 	}
-
-
-// 	return data
-
-// }
-
-// export const value=1
+(function(w) {
+	 // 鏍煎紡鍖栧湴鍧�鏍忓弬鏁�    灏嗗璞¤嚜鍔ㄦ嫾鎺ユ垚鍦板潃鏍忎紶鍙傚舰寮�
+	 w.formatParams = function() {
+			const data = {
+				userid: 33,
+				usercode: '002',
+				username: '寮犱笁',
+				usertype: 'APP'
+			}
+		return data;
+	}
+	
+	
+})(window);
\ No newline at end of file
diff --git a/unpackage/cache/wgt/H5EDA0853/pages/login/index.html b/unpackage/cache/wgt/H5EDA0853/pages/login/index.html
index 4911c0d..92af73e 100644
--- a/unpackage/cache/wgt/H5EDA0853/pages/login/index.html
+++ b/unpackage/cache/wgt/H5EDA0853/pages/login/index.html
@@ -3,8 +3,8 @@
 	<head>
 		<meta charset="utf-8">
 		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
-		<!-- <meta name="HandheldFriendly" content="true" /> -->
-		<!-- <meta name="MobileOptimized" content="320" /> -->
+		<meta name="HandheldFriendly" content="true" />
+		<meta name="MobileOptimized" content="320" />
 		<title>鏂板嚡杩埗閫犱簯骞冲彴</title>
 		<!-- 寮曞叆鍍忕礌杞崲 px->rpx -->
 		<!-- <script src="../../js/rpx4html.js"></script> -->
@@ -19,8 +19,8 @@
 		<script type="text/javascript" src="../../js/http.js"></script>
 
 
-		<!-- 瀵煎叆鑷畾涔塲s鏂囦欢 -->
-		<!-- <script type="module" src="../../js/global.js"></script> -->
+		<!-- 瀵煎叆鑷畾涔夊叏灞�js鏂囦欢 -->
+		<script type="text/javascript" src="../../js/global.js"></script>
 
 
 
@@ -73,7 +73,7 @@
 
 			},
 			mounted() {
-
+				console.log(formatParams(),1)
 			},
 			methods: {
 				loginClick() {
diff --git a/unpackage/cache/wgt/H5EDA0853/pages/sbgl/dqby.html b/unpackage/cache/wgt/H5EDA0853/pages/sbgl/dqby.html
index c5987c1..220d658 100644
--- a/unpackage/cache/wgt/H5EDA0853/pages/sbgl/dqby.html
+++ b/unpackage/cache/wgt/H5EDA0853/pages/sbgl/dqby.html
@@ -6,8 +6,6 @@
 		<meta name="HandheldFriendly" content="true" />
 		<meta name="MobileOptimized" content="320" />
 		<title>鏂板嚡杩埗閫犱簯骞冲彴</title>
-		<!-- 寮曞叆鍍忕礌杞崲 px->rpx -->
-		<!-- <script src="../../js/rpx4html.js"></script> -->
 
 		<!-- 寮曞叆鏍峰紡鏂囦欢 -->
 		<link rel="stylesheet" href="../../css/vant.css" />
@@ -93,22 +91,15 @@
 		}
 
 		.body {
-			/* width: 96%; */
 			height: 600px;
 			background-color: grey;
 			margin-top: 0px;
-			/* margin-left: 2%; */
 			background-color: #fff;
-			position: relative;
-			/* 		display: flex;
-			justify-content: center;
-			align-items: flex-start; */
-			
+			position: relative;			
 		}
 
 		.van-nav-bar__content {
 			background-color: #2651d8;
-			/* background-color: #25a4ff; */
 			height: 44px;
 		}
 
diff --git a/unpackage/cache/wgt/H5EDA0853/pages/sbgl/rcdj.html b/unpackage/cache/wgt/H5EDA0853/pages/sbgl/rcdj.html
index 7bcae20..51480a0 100644
--- a/unpackage/cache/wgt/H5EDA0853/pages/sbgl/rcdj.html
+++ b/unpackage/cache/wgt/H5EDA0853/pages/sbgl/rcdj.html
@@ -6,8 +6,6 @@
 		<meta name="HandheldFriendly" content="true" />
 		<meta name="MobileOptimized" content="320" />
 		<title>鏂板嚡杩埗閫犱簯骞冲彴</title>
-		<!-- 寮曞叆鍍忕礌杞崲 px->rpx -->
-		<!-- <script src="../../js/rpx4html.js"></script> -->
 
 		<!-- 寮曞叆鏍峰紡鏂囦欢 -->
 		<link rel="stylesheet" href="../../css/vant.css" />
@@ -19,10 +17,150 @@
 		<script type="text/javascript" src="../../js/axios.min.js"></script>
 		<script type="text/javascript" src="../../js/http.js"></script>
 
+		<script type="text/javascript" src="../../js/common.js"></script>
 
-		<link rel="stylesheet" href="../css/global.css" type="text/css" charset="utf-8" />
+		<!-- <link rel="stylesheet" href="../../css/global.css" type="text/css" charset="utf-8" /> -->
 
+		<script type="text/javascript">
+			var topContent = [
+				// {
+				// 	code: 'SB001',
+				// 	name: '榻胯疆绠辩粍',
+				// 	wksp_code: "CJ002",
+				// 	wksp_name: '瑁呴厤杞﹂棿',
+				// 	eqpchkmain_code: "djbz002"
+				// },
+				// {
+				// 	code: 'SB003',
+				// 	name: '榻胯疆绠辩粍',
+				// 	wksp_code: "CJ002",
+				// 	wksp_name: '瑁呴厤杞﹂棿',
+				// 	eqpchkmain_code: "djbz002"
+				// }, 
+			];
+
+			var centerContent = [
+				// 	{
+				// 	checkdesc: '姘斿帇姝e父10甯曪紝鏈�楂樹笉瓒呰繃10.5甯曪紝鏈�浣庝笉浣庝簬9.7',
+				// 	code: 'BW003',
+				// 	name: '閮ㄤ綅3',
+				// 	seq: 2,
+				// 	cycle: 'D',
+				// 	isscan: 'N',
+				// 	isOK: 'OK',
+				// 	inputValue: '',
+				// 	isDisabled: false,
+				// },
+			]
+
+
+			let radioValue = ''
+
+			let resultValue = ''
+
+
+			let bwcode = ''
+
+			let number = []
+
+			function scaned(r) {
+
+				let flag = false
+				topContent.forEach((item, index) => {
+					if (item.code === r) {
+						flag = true
+					}
+				})
+				if (flag) {
+					vant.Notify({
+						type: 'danger',
+						message: '姝ゆ潯鐮佸凡鎵弿锛屽凡鍦ㄥ垪琛ㄤ腑锛�'
+					});
+				} else {
+					get('AppDeviceManage/CheckScanDeviceQrCodeData', {
+						eqpcode: r
+					}).then(res => {
+						if (res.code === '200' && res.data[0].eqpchkmain_code !== null) {
+							topContent.unshift(res.data[0])
+							topContentClcik(topContent[0].code)
+						}
+
+						if (res.code === '200' && res.data[0].eqpchkmain_code === null) {
+							vant.Notify({
+								type: 'danger',
+								message: '褰撳墠璁惧鏈缃偣妫�鏍囧噯缁戝畾鐐规椤圭洰锛�'
+							});
+						}
+					})
+				}
+
+
+
+			}
+
+
+			function scaned2(r) {
+				if (bwcode === r) {
+					centerContent.forEach(item => {
+						if (item.code === bwcode) {
+							item.isDisabled = false
+							item.isOK = 'OK'
+
+
+							if (centerContent.every(r => r.isOK === 'OK')) {
+								resultValue = 'OK'
+							}
+							if (centerContent.some(r => r.isOK === 'NG')) {
+								resultValue = 'NG'
+							}
+							if (centerContent.some(r => r.isOK === '')) {
+								resultValue = ''
+							}
+
+
+							number.push({
+								id: '1'
+							})
+						}
+					})
+				} else {
+					vant.Notify({
+						type: 'danger',
+						message: '鎵弿鐨勪簩缁寸爜鏈笌姝ょ偣妫�椤圭洰鐩稿尮閰嶏紒'
+					});
+				}
+
+			}
+
+
+			function topContentClcik(code) {
+				radioValue = code
+				get('AppDeviceManage/SelectScanDeviceQrCodeItem', {
+					eqpcode: code
+				}).then(res => {
+					if (res.code === '200') {
+						centerContent = res.data
+						centerContent = JSON.parse(JSON.stringify(centerContent))
+						centerContent.forEach(item => {
+							item.isDisabled = item.isscan === 'Y'
+							item.inputValue = ''
+							item.isOK = item.isscan !== 'Y' ? 'OK' : ''
+						})
+						if (centerContent.every(r => r.isOK === 'OK')) {
+							resultValue = 'OK'
+						}
+						if (centerContent.some(r => r.isOK === 'NG')) {
+							resultValue = 'NG'
+						}
+						if (centerContent.some(r => r.isOK === '')) {
+							resultValue = ''
+						}
+					}
+				})
+			}
+		</script>
 	</head>
+	<!-- <body onload="loadNodes()"> -->
 	<body>
 		<div id="app">
 
@@ -30,7 +168,7 @@
 
 				<van-nav-bar title="鏃ュ父鐐规" @click-right="onClickRight" left-arrow @click-left="onClickleft">
 					<template #right>
-						<van-popover style="" placement="bottom-end" :offset="[13,8]" v-model="showPopover" 
+						<van-popover style="" placement="bottom-end" :offset="[13,8]" v-model="showPopover"
 							trigger="click" :actions="actions" @select="onSelect">
 							<template #reference>
 								<van-icon name="bars" size='20' color='#fff' />
@@ -39,8 +177,129 @@
 					</template>
 				</van-nav-bar>
 
-			</div>
 
+				<div class="head">
+					<div class="head_block">
+						<div class="head_left">
+							<div class="head_bar"></div>
+							<div class="head_title">
+								鎵弿鐐规宸ヤ綅
+							</div>
+						</div>
+
+						<div style="margin-right: 10px;">
+							<van-icon name="scan" color='red' size='24' @click='topScanClick()' />
+						</div>
+
+					</div>
+
+					<div class="flex_between" style="">
+						<div id="contentLeft" style="width: 100%;margin-top: 10px;">
+							<div id="topContentID" v-for="item in topContent" :key="item.code"
+								style="margin-bottom: 10px;margin-left: 20px;" @click="topContentClcik(item.code)">
+								<div style="display: flex;align-items: center;">
+									<div>
+										<div>宸ヤ綅缂栫爜锛�</div>
+										<div>宸ヤ綅鍚嶇О锛�</div>
+										<div>鐢熶骇杞﹂棿锛�</div>
+									</div>
+									<div>
+										<div>{{item.code}}</div>
+										<div>{{item.name}}</div>
+										<div>{{item.wksp_name}}</div>
+									</div>
+								</div>
+
+							</div>
+						</div>
+						<div id="contentRight">
+							<van-radio-group v-model="radioValue" style="padding-right: 12px;">
+								<van-radio checked-color='red' icon-size="18px"
+									style="height: 63px;margin-bottom: 10px;" v-for="item in topContent"
+									:key="item.code" :name="item.code"></van-radio>
+							</van-radio-group>
+						</div>
+					</div>
+				</div>
+
+				<div class="head"
+					:style="{marginTop:topContent.length===0?'100px':'0',minHeight:topContent.length===0?'0':'220px'}"
+					style="margin-bottom: 130px;padding-bottom: 10px;overflow-y: ;"
+					:style="{marginTop:topContent.length===0?'78px':'0'}">
+					<div class="head_block" style="margin-bottom:10px;">
+						<div class="head_left">
+							<div class="head_bar"></div>
+							<div class="head_title">
+								鐐规椤圭洰鍐呭
+							</div>
+						</div>
+					</div>
+
+
+					<div class="center_border flex_column" style="margin:  5px;" v-for="item in centerContent"
+						:key="item.code">
+						<div class="flex_between">
+							<div class="center_title">{{item.name}}</div>
+							<div style="margin-right: 10px;" v-if="item.isscan==='Y'">
+								<van-icon name="scan" color='red' size='24' @click='centerScanClick(item.code)' />
+							</div>
+						</div>
+						<div class="flex_between ">
+							<div class='flex_between' style="width: 90%;">
+								<van-field class="vanFieldInput" :disabled="item.isDisabled" v-model="item.inputValue"
+									placeholder="璇疯緭鍏�" />
+							</div>
+
+
+							<div class="" style="width: 40%;display: flex;justify-content: space-around;">
+								<van-button class="buttonSmall" :disabled='item.isDisabled' size="small"
+									:plain="item.isOK!=='OK'" @click="bwClick(item,'OK')" type="primary">姝e父</van-button>
+								<van-button class="buttonSmall" size="small" :plain="item.isOK!=='NG'"
+									@click="bwClick(item,'NG')" :disabled='item.isDisabled' type="danger">寮傚父
+								</van-button>
+							</div>
+						</div>
+						<div style="font-weight: lighter;font-size: 14px;padding-right: 5px">
+							{{item.checkdesc}}
+						</div>
+					</div>
+
+				</div>
+
+
+				<div style="">
+					<div class="footer">
+						<div class="head_block" style="margin-bottom: 20rpx;align-items: center;">
+							<div class="head_left">
+								<div class="head_bar"></div>
+								<div class="head_title">
+									鐐规缁撴灉
+								</div>
+							</div>
+							<div class="flex_center" style="width: 30%;display: flex;justify-content: space-around;">
+
+								<van-button class="buttonSmall"
+									:disabled="centerContent.some(item=>item.isDisabled===true)||centerContent.length===0"
+									size="small" :plain="resultValue!=='OK'" @click="resultClick('OK')" type="primary">
+									姝e父</van-button>
+								<van-button class="buttonSmall" size="small" :plain="resultValue!=='NG'"
+									:disabled="centerContent.some(item=>item.isDisabled===true)||centerContent.length===0"
+									@click="resultClick('NG')" type="danger">寮傚父</van-button>
+							</div>
+
+						</div>
+
+						<div
+							style="position:fixed;bottom: 0;width: 96%;display: flex;justify-content: center;flex-direction: column;align-items: center">
+							<van-button class="vanButtonInfo" :disabled="resultValue===''" @click="submit" type="info">
+								纭鎻愪氦</van-button>
+						</div>
+
+					</div>
+				</div>
+
+
+			</div>
 
 			<van-overlay :show="overlayShow" @click="overlayShow=false" />
 
@@ -64,17 +323,150 @@
 						icon: 'revoke',
 						text: '閫�鍑虹櫥褰�'
 					}],
-
+					topContent2: topContent,
+					centerContent2: centerContent,
+					number2: number
 				}
 			},
-			created() {
+			watch: {
+				'topContent2.length': {
+					handler(newValue, oldValue) {
+						if (newValue !== oldValue) {
+							// this.topContent2 = topContent
+							// this.$forceUpdate()
+							if (topContent[0] && topContent[0].code) {
+								this.$forceUpdate()
+								this.topContentClcik(topContent[0].code)
+							}
 
+						}
+					},
+					deep: true,
+					immediate: true,
+				},
+
+				'topContent.length': {
+					handler(newValue, oldValue) {
+						if (newValue !== oldValue) {
+							this.$forceUpdate()
+							// if (topContent[0]&&topContent[0].code) {
+							// 	this.$forceUpdate()
+							// 	this.topContentClcik(topContent[0].code)
+							// }
+						}
+					},
+					deep: true,
+					immediate: true,
+				},
+				'number2.length': {
+					handler(newValue, oldValue) {
+						this.$forceUpdate()
+					},
+					deep: true,
+					immediate: true,
+				},
+				'number.length': {
+					handler(newValue, oldValue) {
+						this.$forceUpdate()
+					},
+					deep: true,
+					immediate: true,
+				},
 			},
-			mounted() {
-			
-			},
+			created() {},
+			mounted() {},
 			methods: {
-				onClickleft(){
+				submit() {
+					vant.Toast('xxx1')
+				},
+				topContentClcik(code) {
+					radioValue = code
+					this.$forceUpdate()
+					get('AppDeviceManage/SelectScanDeviceQrCodeItem', {
+						eqpcode: code
+					}).then(res => {
+						if (res.code === '200') {
+							centerContent = res.data
+							centerContent.forEach(item => {
+								item.isDisabled = item.isscan === 'Y'
+								item.inputValue = ''
+								item.isOK = item.isscan !== 'Y' ? 'OK' : ''
+							})
+							if (centerContent.every(r => r.isOK === 'OK')) {
+								resultValue = 'OK'
+							}
+							if (centerContent.some(r => r.isOK === 'NG')) {
+								resultValue = 'NG'
+							}
+							if (centerContent.some(r => r.isOK === '')) {
+								resultValue = ''
+							}
+
+							this.$forceUpdate()
+						}
+					})
+				},
+
+				resultClick(val) {
+					resultValue = val
+					this.$forceUpdate()
+				},
+
+				selected(id) {
+					alert(id)
+				},
+
+				// 鎵弿鐐规宸ヤ綅鎵弿
+				topScanClick() {
+					createWithoutTitle('../../components/barcode_scan.html', {
+						titleNView: {
+							type: 'float',
+							backgroundColor: 'rgba(215,75,40,0.3)',
+							titleText: '鎵竴鎵�',
+							titleColor: '#FFFFFF',
+							autoBackButton: true,
+							buttons: [{
+								fontSrc: '_www/helloh5.ttf',
+								text: '\ue302',
+								fontSize: '18px',
+								onclick: 'javascript:scanPicture()'
+							}]
+						}
+					});
+				},
+				// 鐐规椤圭洰鍐呭鎵弿
+				centerScanClick(code) {
+					bwcode = code
+					createWithoutTitle('../../components/barcode_scan2.html', {
+						titleNView: {
+							type: 'float',
+							backgroundColor: 'rgba(215,75,40,0.3)',
+							titleText: '鎵竴鎵�',
+							titleColor: '#FFFFFF',
+							autoBackButton: true,
+							buttons: [{
+								fontSrc: '_www/helloh5.ttf',
+								text: '\ue302',
+								fontSize: '18px',
+								onclick: 'javascript:scanPicture()'
+							}]
+						}
+					});
+				},
+
+				// 閮ㄤ綅姝e父 寮傚父鎸夐挳鐐瑰嚮
+				bwClick(item, val) {
+					item.isOK = val
+					if (centerContent.every(item => item.isOK !== '')) {
+						if (centerContent.every(item => item.isOK === 'OK')) {
+							resultValue = 'OK'
+						} else {
+							resultValue = 'NG'
+						}
+					}
+					this.$forceUpdate() //寮哄埗瑙嗗浘鏇存柊
+				},
+				onClickleft() {
 					history.back()
 				},
 				onClickRight() {
@@ -88,27 +480,22 @@
 		})
 	</script>
 	<style type="text/css">
+		@import url('../../css/global.css');
+
 		body {
 			background-color: #fff;
 		}
 
 		.body {
-			/* width: 96%; */
-			height: 600px;
+			min-height: 600px;
 			background-color: grey;
 			margin-top: 0px;
-			/* margin-left: 2%; */
 			background-color: #fff;
 			position: relative;
-			/* 		display: flex;
-			justify-content: center;
-			align-items: flex-start; */
-			
 		}
 
 		.van-nav-bar__content {
 			background-color: #2651d8;
-			/* background-color: #25a4ff; */
 			height: 44px;
 		}
 
@@ -116,8 +503,43 @@
 			color: #fff;
 			letter-spacing: 2px;
 		}
-		.van-nav-bar__arrow{
+
+		.van-nav-bar__arrow {
 			color: #fff !important;
 		}
+
+		.createElementDiv {
+			display: flex;
+			justify-content: space-between;
+			align-items: center;
+			margin-bottom: 10px;
+			margin-left: 20px;
+		}
+
+		.vanFieldInput {
+			height: 36px;
+			line-height: 36px;
+			align-items: center;
+			/* width: 200px; */
+
+			padding: 0;
+			padding-left: 10px;
+			/* border-radius: 5px; */
+			margin: 5px 0;
+			/* background-color: #fff; */
+		}
+
+		.buttonSmall {
+			/* border-radius: 5px; */
+		}
+
+		.vanButtonInfo {
+			width: 100%;
+			letter-spacing: 2px;
+			height: 50px;
+			font-size: 18px;
+			/* margin-left: 0; */
+
+		}
 	</style>
 </html>
diff --git a/unpackage/cache/wgt/H5EDA0853/pages/sbgl/rcdj_back.html b/unpackage/cache/wgt/H5EDA0853/pages/sbgl/rcdj_back.html
new file mode 100644
index 0000000..301013e
--- /dev/null
+++ b/unpackage/cache/wgt/H5EDA0853/pages/sbgl/rcdj_back.html
@@ -0,0 +1,493 @@
+<!DOCTYPE html>
+<html>
+	<head>
+		<meta charset="utf-8">
+		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
+		<meta name="HandheldFriendly" content="true" />
+		<meta name="MobileOptimized" content="320" />
+		<title>鏂板嚡杩埗閫犱簯骞冲彴</title>
+
+		<!-- 寮曞叆鏍峰紡鏂囦欢 -->
+		<link rel="stylesheet" href="../../css/vant.css" />
+		<!-- 寮曞叆 Vue 鍜� Vant 鐨� JS 鏂囦欢 -->
+		<script src="../../js/vue.min.js"></script>
+		<script src="../../js/vant.min.js"></script>
+
+		<script type="text/javascript" src="../../js/jquery-1.6.4.min.js"></script>
+		<script type="text/javascript" src="../../js/axios.min.js"></script>
+		<script type="text/javascript" src="../../js/http.js"></script>
+
+		<script type="text/javascript" src="../../js/common.js"></script>
+
+		<!-- <link rel="stylesheet" href="../../css/global.css" type="text/css" charset="utf-8" /> -->
+
+		<script type="text/javascript">
+			var topContent = [{
+				code: 'SB001',
+				name: '12312',
+				wksp_code: "CJ002",
+				wksp_name: '12321321',
+				eqpchkmain_code: "djbz002"
+			}, ];
+
+			var centerContent = [{
+					checkdesc: '1234',
+					code: 'BW001',
+					name: '閮ㄤ綅22222',
+					seq: 1,
+					cycle: 'D',
+					isscan: 'N',
+					inputValue: '',
+					isOK: 'OK',
+					isDisabled: false,
+				},
+				{
+					checkdesc: '姘斿帇姝e父10甯曪紝鏈�楂樹笉瓒呰繃10.5甯曪紝鏈�浣庝笉浣庝簬9.7',
+					code: 'BW003',
+					name: '閮ㄤ綅3',
+					seq: 2,
+					cycle: 'D',
+					isscan: 'N',
+					isOK: 'OK',
+					inputValue: '',
+					isDisabled: true,
+				},
+			]
+
+			let radioValue = ''
+			let resultValue = ''
+
+
+			function loadNodes() {
+				let li = null
+				hl = document.getElementById('contentLeft');
+
+				topContent.forEach((item, index) => {
+					li = document.createElement('div');
+					li.code = item.code
+					li.id = item.code
+					let html = '<div class="createElementDiv">'
+					html += '<div style="">' +
+						'宸ヤ綅缂栫爜锛�' + item.code + '</br>' + '宸ヤ綅鍚嶇О锛�' + item.name + '</br>' + '鐢熶骇杞﹂棿锛�' + item.wksp_name +
+						'</div><input  type="radio" class="radioClass" style="margin-right:16px;background-color:red !important;color:red !important;"  name="radioValue"></input>'
+					html += '</div>'
+
+					li.setAttribute('onclick', 'createElementDivClick(code)')
+					li.innerHTML = html;
+					hl.insertBefore(li, hl.childNodes[index]);
+
+				})
+
+
+				if (hl.querySelectorAll("div")[1]) {
+					hl.querySelectorAll("div")[1].querySelectorAll("input")[0].checked = true
+					// createElementDivClick(topContent[0].code)
+				}
+
+			}
+
+			function createElementDivClick(code) {
+
+				let node = document.getElementById(code)
+				node.querySelectorAll("div.createElementDiv>input")[0].checked = true
+
+				get('AppDeviceManage/SelectScanDeviceQrCodeItem', {
+					eqpcode: code
+				}).then(res => {
+
+					vant.Toast(JSON.stringify(res.data))
+				})
+			}
+
+			function scaned(r) {
+
+				get('AppDeviceManage/CheckScanDeviceQrCodeData', {
+					eqpcode: r
+				}).then(res => {
+
+					if (res.code === '200' && res.data[0].eqpchkmain_code !== null) {
+						// alert(JSON.stringify(res.data))
+						// alert(JSON.stringify(res.data))
+						let li = null
+						hl = document.getElementById('contentLeft');
+
+						li = document.createElement('div');
+						li.code = res.data[0].code
+						li.id = res.data[0].code
+						let html = '<div class="createElementDiv">'
+						html += '<div style="">' +
+							'宸ヤ綅缂栫爜锛�' + res.data[0].code + '</br>' + '宸ヤ綅鍚嶇О锛�' + res.data[0].name + '</br>' + '鐢熶骇杞﹂棿锛�' + res
+							.data[0]
+							.wksp_name +
+							'</div><input  style="margin-right:16px;background-color:red !important;color:red !important;" type="radio"   name="radioValue"></input>'
+						html += '</div>'
+
+						li.setAttribute('onclick', 'createElementDivClick(code)')
+						li.innerHTML = html;
+						hl.insertBefore(li, hl.childNodes[0]);
+
+
+						if (hl.querySelectorAll("div")[1]) {
+							hl.querySelectorAll("div")[1].querySelectorAll("input")[0].checked = true
+							createElementDivClick(res.data[0].code)
+						}
+						topContent.unshift({
+							code: res.data[0].code,
+							name: res.data[0].name,
+							wksp_name: res[0].data.wksp_name
+						})
+
+					}
+
+					if (res.code === '200' && res.data[0].eqpchkmain_code === null) {
+						vant.Notify({
+							type: 'danger',
+							message: res.Message
+						});
+					}
+				})
+
+			}
+
+
+			function scaned2(r) {
+				alert(r)
+			}
+
+			function del() {
+				let node = document.getElementById('contentLeft')
+				node.removeChild(document.getElementById('SB001'))
+			}
+		</script>
+	</head>
+	<body onload="loadNodes()">
+		<!-- <body> -->
+		<div id="app">
+
+			<div class="body">
+
+				<van-nav-bar title="鏃ュ父鐐规" @click-right="onClickRight" left-arrow @click-left="onClickleft">
+					<template #right>
+						<van-popover style="" placement="bottom-end" :offset="[13,8]" v-model="showPopover"
+							trigger="click" :actions="actions" @select="onSelect">
+							<template #reference>
+								<van-icon name="bars" size='20' color='#fff' />
+							</template>
+						</van-popover>
+					</template>
+				</van-nav-bar>
+
+
+				<div class="head">
+					<div class="head_block">
+						<div class="head_left">
+							<div class="head_bar"></div>
+							<div class="head_title">
+								鎵弿鐐规宸ヤ綅
+							</div>
+						</div>
+
+						<div style="margin-right: 10px;">
+							<van-icon name="scan" color='red' size='24' @click='topScanClick()' />
+						</div>
+
+					</div>
+
+					<div class="flex_between" style="">
+						<div id="contentLeft" style="width: 100%;">
+						</div>
+						<div id="contentRight">
+						</div>
+					</div>
+				</div>
+
+				<div class="head" style="margin-bottom: 15px;padding-bottom: 10px;"
+					:style="{marginTop:topContent.length===0?'78px':'0'}">
+					<div class="head_block" style="margin-bottom:10px;">
+						<div class="head_left">
+							<div class="head_bar"></div>
+							<div class="head_title">
+								鐐规椤圭洰鍐呭
+							</div>
+						</div>
+					</div>
+
+
+					<div class="center_border flex_column" style="margin:  5px;" v-for="item in centerContent"
+						:key="item.code">
+						<div class="flex_between">
+							<div class="center_title">{{item.name}}</div>
+							<!-- v-if="item.isscan==='Y'" -->
+							<div style="margin-right: 10px;">
+								<van-icon name="scan" color='red' size='24' @click='centerScanClick(item.code)' />
+							</div>
+						</div>
+						<div class="flex_between ">
+							<div class='flex_between'>
+								<van-field class="vanFieldInput" style="" border v-model="item.inputValue"
+									label="璇疯緭鍏�" />
+							</div>
+
+
+							<div class="" style="width: 40%;display: flex;justify-content: space-around;">
+								<van-button class="buttonSmall" size="small" :plain="item.isOK!=='OK'"
+									@click="bwClick(item,'OK')" type="primary">姝e父</van-button>
+								<van-button class="buttonSmall" size="small" :plain="item.isOK!=='NG'"
+									@click="bwClick(item,'NG')" type="danger">寮傚父</van-button>
+							</div>
+						</div>
+						<div style="font-weight: lighter;font-size: 14px;padding-right: 5px">
+							{{item.checkdesc}}
+						</div>
+					</div>
+
+				</div>
+				<!-- 		
+				<div style="position:fixed;bottom: 0;width: 100%;display: flex;justify-content: center;flex-direction: column;align-items: center">
+					<div style="display: flex;float: left;">
+						111
+					</div>
+					<van-button class="vanButtonInfo"  type="info">纭鎻愪氦</van-button>
+				</div> -->
+
+
+				<div style="">
+					<div class="footer">
+						<div class="head_block" style="margin-bottom: 20rpx;align-items: center;">
+							<div class="head_left">
+								<div class="head_bar"></div>
+								<div class="head_title">
+									鐐规缁撴灉
+								</div>
+							</div>
+							<div class="flex_center" style="width: 30%;display: flex;justify-content: space-around;">
+
+								<van-button class="buttonSmall" size="small" :plain="resultValue!=='OK'"
+									@click="resultClick('OK')" type="primary">姝e父</van-button>
+								<van-button class="buttonSmall" size="small" :plain="resultValue!=='NG'"
+									@click="resultClick('NG')" type="danger">寮傚父</van-button>
+							</div>
+
+						</div>
+
+						<div
+							style="position:fixed;bottom: 0;width: 96%;display: flex;justify-content: center;flex-direction: column;align-items: center">
+							<van-button class="vanButtonInfo" type="info">纭鎻愪氦</van-button>
+						</div>
+
+					</div>
+				</div>
+
+
+			</div>
+
+			<!-- <button @click="del">鍒犻櫎鑺傜偣</button> -->
+
+
+			<van-overlay :show="overlayShow" @click="overlayShow=false" />
+
+
+		</div>
+	</body>
+	<script>
+		var app = new Vue({
+			el: '#app',
+			data: function() {
+				return {
+					overlayShow: false,
+					showPopover: false,
+					actions: [{
+						icon: 'description',
+						text: '鎿嶄綔鎸囧'
+					}, {
+						icon: 'award-o',
+						text: '鎴愬搧杩芥函'
+					}, {
+						icon: 'revoke',
+						text: '閫�鍑虹櫥褰�'
+					}],
+
+
+					radioValue: '',
+
+
+
+				}
+			},
+			watch: {
+
+			},
+			created() {
+
+			},
+			mounted() {
+
+			},
+			methods: {
+
+				resultClick(val) {
+					resultValue = val
+					this.$forceUpdate()
+				},
+
+				selected(id) {
+					alert(id)
+				},
+
+				// 鎵弿鐐规宸ヤ綅鎵弿
+				topScanClick() {
+					createWithoutTitle('../../components/barcode_scan.html', {
+						titleNView: {
+							type: 'float',
+							backgroundColor: 'rgba(215,75,40,0.3)',
+							titleText: '鎵竴鎵�',
+							titleColor: '#FFFFFF',
+							autoBackButton: true,
+							buttons: [{
+								fontSrc: '_www/helloh5.ttf',
+								text: '\ue302',
+								fontSize: '18px',
+								onclick: 'javascript:scanPicture()'
+							}]
+						}
+					});
+				},
+				// 鐐规椤圭洰鍐呭鎵弿
+				centerScanClick() {
+					createWithoutTitle('../../components/barcode_scan2.html', {
+						titleNView: {
+							type: 'float',
+							backgroundColor: 'rgba(215,75,40,0.3)',
+							titleText: '鎵竴鎵�',
+							titleColor: '#FFFFFF',
+							autoBackButton: true,
+							buttons: [{
+								fontSrc: '_www/helloh5.ttf',
+								text: '\ue302',
+								fontSize: '18px',
+								onclick: 'javascript:scanPicture()'
+							}]
+						}
+					});
+				},
+
+				// 閮ㄤ綅姝e父 寮傚父鎸夐挳鐐瑰嚮
+				bwClick(item, val) {
+					item.isOK = val
+					if (centerContent.every(item => item.isOK !== '')) {
+						// if (centerContent.every(item => item.isOK === 'OK')) {
+						// 	this.resultValue = 'OK'
+						// } else {
+						// 	this.resultValue = 'NG'
+						// }
+					}
+					this.$forceUpdate() //寮哄埗瑙嗗浘鏇存柊
+				},
+
+				groupChange(code) {
+
+				},
+
+
+				onClickleft() {
+					history.back()
+				},
+				onClickRight() {
+					this.overlayShow = true
+				},
+				onSelect(action) {
+					vant.Toast(action.text);
+					this.overlayShow = false
+				},
+			}
+		})
+	</script>
+	<style type="text/css">
+		@import url('../../css/global.css');
+
+		body {
+			background-color: #fff;
+		}
+
+		.body {
+			min-height: 600px;
+			background-color: grey;
+			margin-top: 0px;
+			background-color: #fff;
+			position: relative;
+		}
+
+		.van-nav-bar__content {
+			background-color: #2651d8;
+			height: 44px;
+		}
+
+		.van-nav-bar__title {
+			color: #fff;
+			letter-spacing: 2px;
+		}
+
+		.van-nav-bar__arrow {
+			color: #fff !important;
+		}
+
+		.createElementDiv {
+			display: flex;
+			justify-content: space-between;
+			align-items: center;
+			margin-bottom: 10px;
+			margin-left: 20px;
+		}
+
+		.vanFieldInput {
+			height: 36px;
+			line-height: 36px;
+			align-items: center;
+			width: 90%;
+			/* border-radius: 5px; */
+			margin: 5px 0;
+			/* background-color: #fff; */
+		}
+
+		.buttonSmall {
+			/* border-radius: 5px; */
+		}
+
+		.vanButtonInfo {
+			width: 100%;
+			letter-spacing: 2px;
+			height: 50px;
+			font-size: 18px;
+			/* margin-left: 0; */
+
+		}
+
+		/* 
+		::v-deep input[type="radio"] {
+			background-color: red !important;
+			color: red !important;
+			position: absolute !important;
+
+		}
+
+		::v-deep .radioClass {
+			background-color: red !important;
+			color: red !important;
+				position: absolute !important;
+		} */
+
+
+		/* 	input[type="radio"]+label ::before {
+			content: '';
+			display: inline-block;
+			vertical-align: middle;
+			width: 15px;
+			height: 15px;
+			margin-right: 5px;
+			box-sizing: border-box;
+			border-radius: 50%;
+			margin-bottom: 4px;
+			border: 1px solid #bfcbd9;
+		} */
+	</style>
+</html>
diff --git a/unpackage/cache/wgt/H5EDA0853/pages/sbgl/sbwx.html b/unpackage/cache/wgt/H5EDA0853/pages/sbgl/sbwx.html
index 1af327a..222596e 100644
--- a/unpackage/cache/wgt/H5EDA0853/pages/sbgl/sbwx.html
+++ b/unpackage/cache/wgt/H5EDA0853/pages/sbgl/sbwx.html
@@ -93,22 +93,15 @@
 		}
 
 		.body {
-			/* width: 96%; */
 			height: 600px;
 			background-color: grey;
 			margin-top: 0px;
-			/* margin-left: 2%; */
 			background-color: #fff;
-			position: relative;
-			/* 		display: flex;
-			justify-content: center;
-			align-items: flex-start; */
-			
+			position: relative;		
 		}
 
 		.van-nav-bar__content {
 			background-color: #2651d8;
-			/* background-color: #25a4ff; */
 			height: 44px;
 		}
 
diff --git a/unpackage/cache/wgt/H5EDA0853/pages/sbgl/wxyz.html b/unpackage/cache/wgt/H5EDA0853/pages/sbgl/wxyz.html
index afcfb0c..f207692 100644
--- a/unpackage/cache/wgt/H5EDA0853/pages/sbgl/wxyz.html
+++ b/unpackage/cache/wgt/H5EDA0853/pages/sbgl/wxyz.html
@@ -93,22 +93,15 @@
 		}
 
 		.body {
-			/* width: 96%; */
 			height: 600px;
 			background-color: grey;
 			margin-top: 0px;
-			/* margin-left: 2%; */
 			background-color: #fff;
-			position: relative;
-			/* 		display: flex;
-			justify-content: center;
-			align-items: flex-start; */
-			
+			position: relative;		
 		}
 
 		.van-nav-bar__content {
 			background-color: #2651d8;
-			/* background-color: #25a4ff; */
 			height: 44px;
 		}
 
diff --git a/unpackage/cache/wgt/H5EDA0853/pages/xtsy/index.html b/unpackage/cache/wgt/H5EDA0853/pages/xtsy/index.html
index dd1e1d8..aec973f 100644
--- a/unpackage/cache/wgt/H5EDA0853/pages/xtsy/index.html
+++ b/unpackage/cache/wgt/H5EDA0853/pages/xtsy/index.html
@@ -162,22 +162,15 @@
 		}
 
 		.body {
-			/* width: 96%; */
 			height: 600px;
 			background-color: grey;
 			margin-top: 0px;
-			/* margin-left: 2%; */
 			background-color: #fff;
 			position: relative;
-			/* 		display: flex;
-			justify-content: center;
-			align-items: flex-start; */
-
 		}
 
 		.van-nav-bar__content {
 			background-color: #2651d8;
-			/* background-color: #25a4ff; */
 			height: 44px;
 		}
 
diff --git a/unpackage/cache/wgt/H5EDA0853/plus/barcode.html b/unpackage/cache/wgt/H5EDA0853/plus/barcode.html
index 2b0f601..1c470a8 100644
--- a/unpackage/cache/wgt/H5EDA0853/plus/barcode.html
+++ b/unpackage/cache/wgt/H5EDA0853/plus/barcode.html
@@ -1,151 +1,173 @@
 <!DOCTYPE HTML>
 <html>
 	<head>
-		<meta charset="utf-8"/>
-		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
-		<meta name="HandheldFriendly" content="true"/>
-		<meta name="MobileOptimized" content="320"/>
+		<meta charset="utf-8" />
+		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
+		<meta name="HandheldFriendly" content="true" />
+		<meta name="MobileOptimized" content="320" />
 		<title>Hello H5+</title>
 		<script type="text/javascript" src="../js/common.js"></script>
 		<script type="text/javascript">
-var img = null;
-var blist = [];
-function scaned(t, r, f){
-	var d = new Date();
-	var h=d.getHours(),m=d.getMinutes(),s=d.getSeconds(),ms=d.getMilliseconds();
-	if(h < 10){ h='0'+h; }
-	if(m < 10){ m='0'+m; }
-	if(s < 10){ s='0'+s; }
-	if(ms < 10){ ms='00'+ms; }
-	else if(ms < 100){ ms='0'+ms; }
-	var ts = '['+h+':'+m+':'+s+'.'+ms+']';
-	var li=null,hl = document.getElementById('history');
-	if(blist.length > 0){
-		li = document.createElement('li');
-		li.className = 'ditem';
-		hl.insertBefore(li, hl.childNodes[0]);
-	} else{
-		li = document.getElementById('nohistory');
-	}
-	li.id = blist.length;
-	var html = '['+h+':'+m+':'+s+'.'+ms+']'+'銆�銆�'+t+'鐮�<div class="hdata">';
-	html += r;
-	html += '</div>';
-	li.innerHTML = html;
-	li.setAttribute('onclick', 'selected(id)');
-	blist[blist.length] = {type:t,result:r,file:f};
-	update(t, r, f);
-}
-function selected(id){
-	var h = blist[id];
-	update( h.type, h.result, h.file );
-	if(h.result.indexOf('http://')==0  || h.result.indexOf('https://')==0){
-		plus.nativeUI.confirm(h.result, function(i){
-			if(i.index == 0){
-				plus.runtime.openURL(h.result);
+			var img = null;
+			var blist = [];
+
+			function scaned(t, r, f) {
+				var d = new Date();
+				var h = d.getHours(),
+					m = d.getMinutes(),
+					s = d.getSeconds(),
+					ms = d.getMilliseconds();
+				if (h < 10) {
+					h = '0' + h;
+				}
+				if (m < 10) {
+					m = '0' + m;
+				}
+				if (s < 10) {
+					s = '0' + s;
+				}
+				if (ms < 10) {
+					ms = '00' + ms;
+				} else if (ms < 100) {
+					ms = '0' + ms;
+				}
+				var ts = '[' + h + ':' + m + ':' + s + '.' + ms + ']';
+				var li = null,
+					hl = document.getElementById('history');
+				if (blist.length > 0) {
+					li = document.createElement('li');
+					li.className = 'ditem';
+					hl.insertBefore(li, hl.childNodes[0]);
+				} else {
+					li = document.getElementById('nohistory');
+				}
+				li.id = blist.length;
+				var html = '[' + h + ':' + m + ':' + s + '.' + ms + ']' + '銆�銆�' + t + '鐮�<div class="hdata">';
+				html += r;
+				html += '</div>';
+				li.innerHTML = html;
+				li.setAttribute('onclick', 'selected(id)');
+				blist[blist.length] = {
+					type: t,
+					result: r,
+					file: f
+				};
+				update(t, r, f);
 			}
-		}, '', ['鎵撳紑', '鍙栨秷']);
-	} else{
-		plus.nativeUI.alert(h.result);
-	}
-}
-function update(t, r, f){
-	outSet('鎵弿鎴愬姛锛�');
-	outLine(t);
-	outLine(r);
-	outLine('\n鍥剧墖鍦板潃锛�'+f);
-	if(!f || f=='null'){
-		img.src = '../img/barcode.png';	
-	} else{
-		plus.io.resolveLocalFileSystemURL(f, function(entry){
-			img.src=entry.toLocalURL();
-		});
-		//img.src = 'http://localhost:13131/'+f;
-	}
-}
-function onempty(){
-	if(window.plus){
-		plus.nativeUI.alert('鏃犳壂鎻忚褰�');
-	} else {
-		alert('鏃犳壂鎻忚褰�');
-	}
-}
-function cleanHistroy(){
-	if(blist.length > 0){
-		var hl = document.getElementById('history');
-		hl.innerHTML = '<li id="nohistory" class="ditem" onclick="onempty();">鏃犲巻鍙茶褰�	</li>';
-	}
-	plus.io.resolveLocalFileSystemURL('_doc/barcode/', function(entry){
-		entry.removeRecursively(function(){
-			// Success
-		}, function(e){
-			//alert( "failed"+e.message );
-		});
-	});
-}
-// 鎵撳紑浜岀淮鐮佹壂鎻忕晫闈� 
-function openBarcode(){
-	createWithoutTitle('barcode_scan.html', {
-		titleNView:{
-			type: 'float',
-			backgroundColor: 'rgba(215,75,40,0.3)',
-			titleText: '鎵竴鎵�',
-			titleColor: '#FFFFFF',
-			autoBackButton: true,
-			buttons: [{
-				fontSrc: '_www/helloh5.ttf',
-				text: '\ue302',
-				fontSize: '18px',
-				onclick: 'javascript:scanPicture()'
-			}]
-		}
-	});
-}
-// 鎵撳紑鑷畾涔夋壂鎻忕晫闈� 
-function openBarcodeCustom(){
-	createWithoutTitle('barcode_custom.html', {
-		titleNView:{
-			type: 'float',
-			backgroundColor: 'rgba(215,75,40,0.3)',
-			titleText: '鎵竴鎵�',
-			titleColor: '#FFFFFF',
-			autoBackButton: true,
-			buttons: [{
-				fontSrc: '_www/helloh5.ttf',
-				text: '\ue401',
-				fontSize: '18px',
-				onclick: 'javascript:switchFlash()'
-			}]
-		}
-	});
-}
+
+			function selected(id) {
+				var h = blist[id];
+				update(h.type, h.result, h.file);
+				if (h.result.indexOf('http://') == 0 || h.result.indexOf('https://') == 0) {
+					plus.nativeUI.confirm(h.result, function(i) {
+						if (i.index == 0) {
+							plus.runtime.openURL(h.result);
+						}
+					}, '', ['鎵撳紑', '鍙栨秷']);
+				} else {
+					plus.nativeUI.alert(h.result);
+				}
+			}
+
+			function update(t, r, f) {
+				outSet('鎵弿鎴愬姛锛�');
+				outLine(t);
+				outLine(r);
+				outLine('\n鍥剧墖鍦板潃锛�' + f);
+				if (!f || f == 'null') {
+					img.src = '../img/barcode.png';
+				} else {
+					plus.io.resolveLocalFileSystemURL(f, function(entry) {
+						img.src = entry.toLocalURL();
+					});
+					//img.src = 'http://localhost:13131/'+f;
+				}
+			}
+
+			function onempty() {
+				if (window.plus) {
+					plus.nativeUI.alert('鏃犳壂鎻忚褰�');
+				} else {
+					alert('鏃犳壂鎻忚褰�');
+				}
+			}
+
+			function cleanHistroy() {
+				if (blist.length > 0) {
+					var hl = document.getElementById('history');
+					hl.innerHTML = '<li id="nohistory" class="ditem" onclick="onempty();">鏃犲巻鍙茶褰�	</li>';
+				}
+				plus.io.resolveLocalFileSystemURL('_doc/barcode/', function(entry) {
+					entry.removeRecursively(function() {
+						// Success
+					}, function(e) {
+						//alert( "failed"+e.message );
+					});
+				});
+			}
+			// 鎵撳紑浜岀淮鐮佹壂鎻忕晫闈� 
+			function openBarcode() {
+				createWithoutTitle('barcode_scan.html', {
+					titleNView: {
+						type: 'float',
+						backgroundColor: 'rgba(215,75,40,0.3)',
+						titleText: '鎵竴鎵�',
+						titleColor: '#FFFFFF',
+						autoBackButton: true,
+						buttons: [{
+							fontSrc: '_www/helloh5.ttf',
+							text: '\ue302',
+							fontSize: '18px',
+							onclick: 'javascript:scanPicture()'
+						}]
+					}
+				});
+			}
+			// 鎵撳紑鑷畾涔夋壂鎻忕晫闈� 
+			function openBarcodeCustom() {
+				createWithoutTitle('barcode_custom.html', {
+					titleNView: {
+						type: 'float',
+						backgroundColor: 'rgba(215,75,40,0.3)',
+						titleText: '鎵竴鎵�',
+						titleColor: '#FFFFFF',
+						autoBackButton: true,
+						buttons: [{
+							fontSrc: '_www/helloh5.ttf',
+							text: '\ue401',
+							fontSize: '18px',
+							onclick: 'javascript:switchFlash()'
+						}]
+					}
+				});
+			}
 		</script>
-		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
+		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
 		<style type="text/css" media="screen">
-.hdata {
-	color: #e1673e;	
-	font-size: 14px;
-	overflow: hidden;
-	text-overflow: ellipsis;
-	white-space: nowrap;
-}
+			.hdata {
+				color: #e1673e;
+				font-size: 14px;
+				overflow: hidden;
+				text-overflow: ellipsis;
+				white-space: nowrap;
+			}
 		</style>
 	</head>
 	<body onload="img=document.getElementById('bimg')">
-		<br/>
-		<img style="width:40%" id="bimg" src="../img/barcode.png"/>
-		<br/>
+		<br />
+		<img style="width:40%" id="bimg" src="../img/barcode.png" />
+		<br />
 		<div class="button" onclick="openBarcode()">鎵竴鎵�</div>
 		<div class="button" onclick="openBarcodeCustom()">鎵竴鎵紙鑷畾涔夛級</div>
-		<br/>
+		<br />
 		<ul id="history" class="dlist" style="text-align:left;">
-			<li id="nohistory" class="ditem" onclick="onempty()">鏃犲巻鍙茶褰�	</li>
+			<li id="nohistory" class="ditem" onclick="onempty()">鏃犲巻鍙茶褰� </li>
 		</ul>
-		<br/>
+		<br />
 		<div class="button button-waring" onclick="cleanHistroy()">娓呯┖鍘嗗彶璁板綍</div>
-		<div id="outpos"/>
+		<div id="outpos" />
 		<div id="output">
-Barcode鎻愪緵浜岀淮鐮佹壂鎻忚瘑鍒姛鑳斤紝鏀寔璋冪敤鎽勫儚澶村嵆鏃舵壂鎻忎簩缁寸爜锛屼篃鍙洿鎺ヨ緭鍏ュ浘鐗囪繘琛屾壂鎻忚瘑鍒��
+			Barcode鎻愪緵浜岀淮鐮佹壂鎻忚瘑鍒姛鑳斤紝鏀寔璋冪敤鎽勫儚澶村嵆鏃舵壂鎻忎簩缁寸爜锛屼篃鍙洿鎺ヨ緭鍏ュ浘鐗囪繘琛屾壂鎻忚瘑鍒��
 		</div>
 	</body>
-</html>
\ No newline at end of file
+</html>
diff --git a/unpackage/cache/wgt/H5EDA0853/plus/barcode_custom.html b/unpackage/cache/wgt/H5EDA0853/plus/barcode_custom.html
index f02b05e..27388c0 100644
--- a/unpackage/cache/wgt/H5EDA0853/plus/barcode_custom.html
+++ b/unpackage/cache/wgt/H5EDA0853/plus/barcode_custom.html
@@ -1,136 +1,157 @@
 <!DOCTYPE html>
 <html>
 	<head>
-		<meta charset="utf-8"/>
-		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"/>
-		<meta name="HandheldFriendly" content="true"/>
-		<meta name="MobileOptimized" content="320"/>
+		<meta charset="utf-8" />
+		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />
+		<meta name="HandheldFriendly" content="true" />
+		<meta name="MobileOptimized" content="320" />
 		<title>Hello H5+</title>
 		<script type="text/javascript" src="../js/common.js"></script>
 		<script type="text/javascript">
-var ws=null,wo=null;
-var scan=null;
-// H5 plus浜嬩欢澶勭悊
-function plusReady(){
-	// 鑾峰彇绐楀彛瀵硅薄
-	ws=plus.webview.currentWebview();
-	nv=ws.getTitleNView();
-	wo=ws.opener();
-	// 寮�濮嬫壂鎻�
-	ws.addEventListener('show', function(){
-		scan=new plus.barcode.Barcode('bcid',[plus.barcode.QR,plus.barcode.EAN8,plus.barcode.EAN13],{frameColor:'#00FF00',scanbarColor:'#00FF00'});
-	    scan.onmarked=onmarked;
-	    scan.start({conserve:true,filename:'_doc/barcode/'});
-		createSubview();
-	}, false);
-	// 鏄剧ず椤甸潰骞跺叧闂瓑寰呮
-    ws.show('pop-in');
-}
-document.addEventListener('plusready', plusReady, false);
+			var ws = null,
+				wo = null;
+			var scan = null;
+			// H5 plus浜嬩欢澶勭悊
+			function plusReady() {
+				// 鑾峰彇绐楀彛瀵硅薄
+				ws = plus.webview.currentWebview();
+				nv = ws.getTitleNView();
+				wo = ws.opener();
+				// 寮�濮嬫壂鎻�
+				ws.addEventListener('show', function() {
+					scan = new plus.barcode.Barcode('bcid', [plus.barcode.QR, plus.barcode.EAN8, plus.barcode.EAN13], {
+						frameColor: '#00FF00',
+						scanbarColor: '#00FF00'
+					});
+					scan.onmarked = onmarked;
+					scan.start({
+						conserve: true,
+						filename: '_doc/barcode/'
+					});
+					createSubview();
+				}, false);
+				// 鏄剧ず椤甸潰骞跺叧闂瓑寰呮
+				ws.show('pop-in');
+			}
+			document.addEventListener('plusready', plusReady, false);
 
-// 浜岀淮鐮佹壂鎻忔垚鍔�
-function onmarked(type, result, file){
-    switch(type){
-    	case plus.barcode.QR:
-    	type = 'QR';
-    	break;
-    	case plus.barcode.EAN13:
-    	type = 'EAN13';
-    	break;
-    	case plus.barcode.EAN8:
-    	type = 'EAN8';
-    	break;
-    	default:
-    	type = '鍏跺畠'+type;
-    	break;
-    }
-    result = result.replace(/\r\n/g, '');
-    wo.evalJS("scaned('"+ type +"','"+ result +"','"+ file +"');");
-    back();
-}
-// 鍒涘缓瀛愮獥鍙�
-var view = null;
-function createSubview(){
-	view = new plus.nativeObj.View('nbutton', {
-		bottom: '20px',
-		left: '30%',
-		width: '40%',
-		height: '44px'
-	}, [{
-		tag: 'rect',
-		id: 'rect',
-		rectStyles: {
-			radius: '8px',
-			color: 'rgba(255,0,0,0.8)'
-		}},{
-		tag: 'font',
-		id: 'text',
-		text: '鏆傘��鍋�',
-		textStyles: {
-			color: '#FFFFFF'
-		}
-	}]);
-	// 澶勭悊浜嬩欢
-	view.addEventListener('click', function(e){
-		switchScan();
-	}, false);
-	view.addEventListener('touchstart', function(e){
-		view.drawRect({
-			radius: '8px',
-			color: 'rgba(255,0,0,0.5)'
-		}, {}, 'rect');
-	}, false);
-	view.addEventListener('touchend', function(e){
-		view.drawRect({
-			radius: '8px',
-			color: 'rgba(255,0,0,0.8)'
-		}, {}, 'rect');
-	}, false);
-	ws.append(view);
-}
-// 寮�鍏抽棯鍏夌伅 
-var bFlash = false;
-var AVCaptureDevice=null;
-var Camera=null;
-function switchFlash(){
-	bFlash = !bFlash;
-	scan.setFlash(bFlash);
-	ws.setStyle({titleNView: {
-		buttons: [{
-			fontSrc: '_www/helloh5.ttf',
-			text: (bFlash?'\ue400':'\ue401'),
-			fontSize: '18px',
-			onclick: 'javascript:switchFlash()'
-		}]
-	}});
-}
-// 鍒囨崲鎵弿  
-var bScan = false;
-function switchScan(){
-    if(bScan){
-    	scan.start({conserve:true, filename:'_doc/barcode/'});
-    	view&&(view.drawText('鏆傘��鍋�', {}, {color:'#FFFFFF'}, 'text'));
-    }else{
-    	scan.cancel();
-    	view&&(view.drawText('寮�銆�濮�', {}, {color:'#FFFFFF'}, 'text'));
-    }
-    bScan=!bScan;
-}
+			// 浜岀淮鐮佹壂鎻忔垚鍔�
+			function onmarked(type, result, file) {
+				switch (type) {
+					case plus.barcode.QR:
+						type = 'QR';
+						break;
+					case plus.barcode.EAN13:
+						type = 'EAN13';
+						break;
+					case plus.barcode.EAN8:
+						type = 'EAN8';
+						break;
+					default:
+						type = '鍏跺畠' + type;
+						break;
+				}
+				result = result.replace(/\r\n/g, '');
+				wo.evalJS("scaned('" + type + "','" + result + "','" + file + "');");
+				back();
+			}
+			// 鍒涘缓瀛愮獥鍙�
+			var view = null;
+
+			function createSubview() {
+				view = new plus.nativeObj.View('nbutton', {
+					bottom: '20px',
+					left: '30%',
+					width: '40%',
+					height: '44px'
+				}, [{
+					tag: 'rect',
+					id: 'rect',
+					rectStyles: {
+						radius: '8px',
+						color: 'rgba(255,0,0,0.8)'
+					}
+				}, {
+					tag: 'font',
+					id: 'text',
+					text: '鏆傘��鍋�',
+					textStyles: {
+						color: '#FFFFFF'
+					}
+				}]);
+				// 澶勭悊浜嬩欢
+				view.addEventListener('click', function(e) {
+					switchScan();
+				}, false);
+				view.addEventListener('touchstart', function(e) {
+					view.drawRect({
+						radius: '8px',
+						color: 'rgba(255,0,0,0.5)'
+					}, {}, 'rect');
+				}, false);
+				view.addEventListener('touchend', function(e) {
+					view.drawRect({
+						radius: '8px',
+						color: 'rgba(255,0,0,0.8)'
+					}, {}, 'rect');
+				}, false);
+				ws.append(view);
+			}
+			// 寮�鍏抽棯鍏夌伅 
+			var bFlash = false;
+			var AVCaptureDevice = null;
+			var Camera = null;
+
+			function switchFlash() {
+				bFlash = !bFlash;
+				scan.setFlash(bFlash);
+				ws.setStyle({
+					titleNView: {
+						buttons: [{
+							fontSrc: '_www/helloh5.ttf',
+							text: (bFlash ? '\ue400' : '\ue401'),
+							fontSize: '18px',
+							onclick: 'javascript:switchFlash()'
+						}]
+					}
+				});
+			}
+			// 鍒囨崲鎵弿  
+			var bScan = false;
+
+			function switchScan() {
+				if (bScan) {
+					scan.start({
+						conserve: true,
+						filename: '_doc/barcode/'
+					});
+					view && (view.drawText('鏆傘��鍋�', {}, {
+						color: '#FFFFFF'
+					}, 'text'));
+				} else {
+					scan.cancel();
+					view && (view.drawText('寮�銆�濮�', {}, {
+						color: '#FFFFFF'
+					}, 'text'));
+				}
+				bScan = !bScan;
+			}
 		</script>
-		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
+		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
 		<style type="text/css">
-#bcid {
-	width: 100%;
-	position: absolute;
-	top: 0px;
-	bottom: 0px;
-	text-align: center;
-}
-.tip {
-	color: #FFFFFF;
-	font-weight: bold;
-	text-shadow: 0px -1px #103E5C;
-}
+			#bcid {
+				width: 100%;
+				position: absolute;
+				top: 0px;
+				bottom: 0px;
+				text-align: center;
+			}
+
+			.tip {
+				color: #FFFFFF;
+				font-weight: bold;
+				text-shadow: 0px -1px #103E5C;
+			}
 		</style>
 	</head>
 	<body style="background-color:#000000;">
diff --git a/unpackage/cache/wgt/H5EDA0853/plus/barcode_scan.html b/unpackage/cache/wgt/H5EDA0853/plus/barcode_scan.html
index 070f4b6..8723630 100644
--- a/unpackage/cache/wgt/H5EDA0853/plus/barcode_scan.html
+++ b/unpackage/cache/wgt/H5EDA0853/plus/barcode_scan.html
@@ -1,81 +1,86 @@
 <!DOCTYPE html>
 <html>
 	<head>
-		<meta charset="utf-8"/>
-		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"/>
-		<meta name="HandheldFriendly" content="true"/>
-		<meta name="MobileOptimized" content="320"/>
+		<meta charset="utf-8" />
+		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />
+		<meta name="HandheldFriendly" content="true" />
+		<meta name="MobileOptimized" content="320" />
 		<title>Hello H5+</title>
 		<script type="text/javascript" src="../js/common.js"></script>
 		<script type="text/javascript">
-var ws=null,wo=null;
-var scan=null;
-// H5 plus浜嬩欢澶勭悊
-function plusReady(){
-	// 鑾峰彇绐楀彛瀵硅薄
-	ws=plus.webview.currentWebview();
-	wo=ws.opener();
-	// 寮�濮嬫壂鎻�
-	ws.addEventListener('show', function(){
-		scan=new plus.barcode.Barcode('bcid');
-	    scan.onmarked=onmarked;
-	    scan.start({conserve:true,filename:'_doc/barcode/'});
-		createSubview();
-	}, false);
-	// 鏄剧ず椤甸潰骞跺叧闂瓑寰呮
-    ws.show('pop-in');
-}
-document.addEventListener('plusready', plusReady, false);
+			var ws = null,
+				wo = null;
+			var scan = null;
+			// H5 plus浜嬩欢澶勭悊
+			function plusReady() {
+				// 鑾峰彇绐楀彛瀵硅薄
+				ws = plus.webview.currentWebview();
+				wo = ws.opener();
+				// 寮�濮嬫壂鎻�
+				ws.addEventListener('show', function() {
+					scan = new plus.barcode.Barcode('bcid');
+					scan.onmarked = onmarked;
+					scan.start({
+						conserve: true,
+						filename: '_doc/barcode/'
+					});
+					createSubview();
+				}, false);
+				// 鏄剧ず椤甸潰骞跺叧闂瓑寰呮
+				ws.show('pop-in');
+			}
+			document.addEventListener('plusready', plusReady, false);
 
-// 浜岀淮鐮佹壂鎻忔垚鍔�
-function onmarked(type, result, file){
-    switch(type){
-    	case plus.barcode.QR:
-    	type = 'QR';
-    	break;
-    	case plus.barcode.EAN13:
-    	type = 'EAN13';
-    	break;
-    	case plus.barcode.EAN8:
-    	type = 'EAN8';
-    	break;
-    	default:
-    	type = '鍏跺畠'+type;
-    	break;
-    }
-    result = result.replace(/\r\n/g, '');
-    wo.evalJS("scaned('"+ type +"','"+ result +"','"+ file +"');");
-    back();
-}
-// 鍒涘缓瀛愮獥鍙�
-function createSubview(){
-	//
-}
-// 浠庣浉鍐屼腑閫夋嫨浜岀淮鐮佸浘鐗� 
-function scanPicture(){
-    plus.gallery.pick(function(path){
-	    plus.barcode.scan(path,onmarked,function(error){
-			plus.nativeUI.alert('鏃犳硶璇嗗埆姝ゅ浘鐗�');
-		});
-    }, function(err){
-        console.log('Failed: '+err.message);
-    });
-}
+			// 浜岀淮鐮佹壂鎻忔垚鍔�
+			function onmarked(type, result, file) {
+				switch (type) {
+					case plus.barcode.QR:
+						type = 'QR';
+						break;
+					case plus.barcode.EAN13:
+						type = 'EAN13';
+						break;
+					case plus.barcode.EAN8:
+						type = 'EAN8';
+						break;
+					default:
+						type = '鍏跺畠' + type;
+						break;
+				}
+				result = result.replace(/\r\n/g, '');
+				wo.evalJS("scaned('" + type + "','" + result + "','" + file + "');");
+				back();
+			}
+			// 鍒涘缓瀛愮獥鍙�
+			function createSubview() {
+				//
+			}
+			// 浠庣浉鍐屼腑閫夋嫨浜岀淮鐮佸浘鐗� 
+			function scanPicture() {
+				plus.gallery.pick(function(path) {
+					plus.barcode.scan(path, onmarked, function(error) {
+						plus.nativeUI.alert('鏃犳硶璇嗗埆姝ゅ浘鐗�');
+					});
+				}, function(err) {
+					console.log('Failed: ' + err.message);
+				});
+			}
 		</script>
-		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
+		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
 		<style type="text/css">
-#bcid {
-	width: 100%;
-	position: absolute;
-	top: 0px;
-	bottom: 0px;
-	text-align: center;
-}
-.tip {
-	color: #FFFFFF;
-	font-weight: bold;
-	text-shadow: 0px -1px #103E5C;
-}
+			#bcid {
+				width: 100%;
+				position: absolute;
+				top: 0px;
+				bottom: 0px;
+				text-align: center;
+			}
+
+			.tip {
+				color: #FFFFFF;
+				font-weight: bold;
+				text-shadow: 0px -1px #103E5C;
+			}
 		</style>
 	</head>
 	<body style="background-color:#000000;">

--
Gitblit v1.9.3