diff --git a/fangija-zsyf/.gitignore b/fangija-zsyf/.gitignore new file mode 100644 index 0000000..ab1dde9 --- /dev/null +++ b/fangija-zsyf/.gitignore @@ -0,0 +1,35 @@ +# maven ignore +unpackage/ +*.apk + +target/ +*.jar +*.war +*.zip +*.tar +*.tar.gz + +# eclipse ignore +.settings/ +.project +.classpath + +# idea ignore +.idea/ +*.ipr +*.iml +*.iws + +# temp ignore +*.log +*.cache +*.diff +*.patch +*.tmp +*.java~ +*.properties~ +*.xml~ + +# system ignore +.DS_Store +Thumbs.db diff --git a/fangija-zsyf/about.html b/fangija-zsyf/about.html new file mode 100644 index 0000000..00496e4 --- /dev/null +++ b/fangija-zsyf/about.html @@ -0,0 +1,196 @@ + + + + + + + + Hello H5+ + + + + + + + +
+ +

HTML5中国产业联盟,简称“HTML5+ 联盟”,是为了更好的推进HTML5的商用、更好的为HTML5开发者服务而由产业链主流厂商共同组成的一个联盟。
+   HTML5+规范的愿景:根据开发者需求,为其提供增强的功能、性能扩展规范。方便开发者开发跨平台的app,并接近原生的功能和性能。 +

+
+ +
+ +
+ + + \ No newline at end of file diff --git a/fangija-zsyf/audio/friendship.mp3 b/fangija-zsyf/audio/friendship.mp3 new file mode 100644 index 0000000..4f0cdd6 Binary files /dev/null and b/fangija-zsyf/audio/friendship.mp3 differ diff --git a/fangija-zsyf/audio/shake.wav b/fangija-zsyf/audio/shake.wav new file mode 100644 index 0000000..a353d66 Binary files /dev/null and b/fangija-zsyf/audio/shake.wav differ diff --git a/fangija-zsyf/css/common.css b/fangija-zsyf/css/common.css new file mode 100644 index 0000000..120945b --- /dev/null +++ b/fangija-zsyf/css/common.css @@ -0,0 +1,194 @@ +* { + -webkit-user-select: none; + -ms-touch-select: none; +/* + -ms-touch-action: none; +*/ +} +html { + width: 100%; + height: 100%; +} +body { + margin: 0; + padding: 0; + width: 100%; + height: 100%; + font-family: Arial; + font-size:16px; + color: #6c6c6c; + -webkit-touch-callout:none; + -webkit-tap-highlight-color:rgba(0,0,0,0); + -webkit-text-size-adjust:none; +} +header { + width: 100%; + height: 44px; + position: fixed; + top: 0; + left: 0; + font-size: 17px; + text-align: center; + line-height: 44px; + background: #D74B28; + /*background: -webkit-linear-gradient(top,rgba(215,75,40,1),rgba(215,75,40,0.8));*/ + z-index: 9999; + /*border-bottom: 1px solid rgba(215,75,40,0.8);*/ + -ms-touch-action: none; +} +.nvbt { + width:15%; + height:100%; + float:left; + overflow:hidden; + text-overflow:ellipsis; + white-space:nowrap; +} +.nvbt:active { + background-color: rgba(170,170,170,0.1); +} +.nvtt { + width: 70%; + height: 100%; + color: #cccccc; + float: left; + overflow:hidden; + text-overflow:ellipsis; + white-space:nowrap; +} +.content { + text-align: center; + padding-top: 44px; +} +.scontent { + width: 100%; + position: fixed; + top: 44px; + bottom: 0px; + text-align: center; + overflow-y: scroll; + -webkit-overflow-scrolling: touch; + -ms-touch-action: pan-y cross-slide-y; + -ms-scroll-chaining: none; + -ms-scroll-limit: 0 50 0 50; +} +.dcontent { + text-align: center; + padding-top: 44px; + padding-bottom: 80px; +} +.sdcontent { + width: 100%; + position: fixed; + top: 44px; + bottom: 80px; + text-align: center; + overflow-y: scroll; + -webkit-overflow-scrolling: touch; + -ms-touch-action: pan-y cross-slide-y; + -ms-scroll-chaining: none; + -ms-scroll-limit: 0 50 0 50; +} +.heading { + margin:0 1em; + text-align:left; +} +.des { + padding: 0 1em; + text-align:left; + text-indent: 2em; + word-break: break-all; +} +.logo { + width: 100%; + text-align: center; +} +.button { + font-size: 18px; + font-weight: normal; + text-decoration: none; + display: block; + text-align: center; + overflow:hidden; + text-overflow:ellipsis; + white-space:nowrap; + color: #FFF; + background-color: #FFCC33; + border: 1px solid #ECB100; + padding: .5em 0em; + margin: .5em .7em; + -webkit-border-radius: 5px; + border-radius: 5px; +} +.button:active { + outline: 0; + -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); + box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); +} +.button-waring { + color: #666; + background-color: #ebebeb; + border-color: #e0e0e0; +} +.button-select { + font-size: 14px; + background-color: #CCCCCC; + border: 0; + -webkit-border-radius: 2px; + border-radius: 2px; +} +.dlist { + padding: 0px; + margin: 1em; + background: #fff; + border: 1px solid #ddd; + -webkit-border-radius: 3px; + border-radius: 3px; +} +.ditem { + overflow: hidden; + list-style-type: none; + font-size: 1em; + padding: 1em; + border-bottom: inset 1px #ebebeb; + vertical-align: middle; +} +.ditem:active { + background: #f4f4f4; +} +.ditem:last-child { + border-bottom: inset 0px #ebebeb; +} +.ditem-empty { + overflow: hidden; + list-style-type: none; + font-size: 1em; + padding: 1em; + vertical-align: middle; +} +#output { + height: 64px; + position: fixed; + left: 0; + right: 0; + bottom: 0; + color: #f00; + background: #FFF; + font-size: 12px; + line-height: 16px; + word-break: break-all; + z-index: 6666; + padding: 8px 16px; + overflow-x: hidden; + overflow-y: scroll; + border-top: 2px solid #AAA; + -webkit-overflow-scrolling: touch; +} +.iback { + background: no-repeat center center url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABYCAYAAAADWlKCAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKwwAACsMBNCkkqwAAABZ0RVh0Q3JlYXRpb24gVGltZQAwOS8xMi8xM5w+I3MAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzVxteM2AAACcklEQVR4nO3a0XESURiG4TeO99iBWoGZ+RvADtKBpAPtwBLsANJBrEAs4MyYDmIHSQXkgk0mMLK7ILt8/+F778ici394OGfDsher1Qqn05tTD+A2M4hYBhHLIGIZRCyDiGUQsQwilkHEMohYBhHLIGIZRCyDiGUQsQwilkHEMohYBhHLIGIZRCyDiGUQsQwilkHEMohYb089wNCVUq6Ay+blfUQsTjhOZxc1P9tbSlkAX7b+/C0ifpxgnF5Ve2TtwAD4OvIoe1UlSAsGwPsRR9m76kA6MAD+jjTKQVUF0gMD4HaEUQ6umot6T4ybiJgNP83hVbFDasGACnZIT4yfEXE1wjj/Xeod0hPjDpgNPsyRSguyB8Y0Ih6Gn+g4pQSpFQMSgtSMAclAaseARCDngAFJQM4FAxKAnBMGiH8xLKVMgV89ln6MiPthpxkn6R0SEUvgusfSZSnlsnuZftI75LlSygyYdyx7ZH1s/Rl+ouFKAQIvx9ctMGlZlh4lDQhAcywtqRhF+hqyXfMmT1m/6buasL6mzMaY6dilAoENlLuWZRNgnhEl1ZH1ulLKO9bH16eOpdfqz2K9Lt0Oea75EjilfadAsp2SFgQ2UH53LJ2XUr4PPtARSntkbVfL7+rVgEBvlM/NHQDJUh9Z2zWf/puOZbPhJzm8qkDgBaXt/teHcSY5rOpAAJp/c/vclJSrShDYifKI+NPvVV3U/1VzU3LavFyo/25SPUi2qj2ysmYQsQwilkHEMohYBhHLIGIZRCyDiGUQsQwilkHEMohYBhHLIGIZRCyDiGUQsQwilkHEMohYBhHLIGIZRCyDiGUQsZ4Ak9fPFwUy/HsAAAAASUVORK5CYII=); + background-size: 50px 44px; +} +.idoc { + background: no-repeat center center url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABYCAYAAAADWlKCAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKwwAACsMBNCkkqwAAABZ0RVh0Q3JlYXRpb24gVGltZQAwOS8xMi8xM5w+I3MAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzVxteM2AAAC2klEQVR4nO3bMU9TURjG8T9qIpskDjqYUAejm5B3MS4yOJoUNzd0dCJ+Av0IMrrVTSfK5oiT05vAJG64OUp0carDOdBbjLWBYp+W55fckHC5Nyf8c+5pk3Pner0epuPCpAdggxxEjIOIcRAxDiLGQcQ4iBgHEeMgYhxEjIOIcRAxDiLGQcQ4iBgHEeMgYhxEjIOIcRAxDiLGQcQ4iBgHEXNp0gMYVWY+BV4DO0AX2I6InYkO6gzMqe9czMwFSog2JcQqsFBPfwW2gW5EdCcywDGTDpKZS0AH6AGPgW/APeAi8AhYAZYal2zRD7T//0Y6PrJBGo+oTeAFME+ZHdfqnxwA+8AP4EY9t8Lg7Dl8tE3N7JEMkpkdYA14FhGdzGwBT4DLQy77Qgl0FXhICdSq5w6oM4cSaH/8ox4P1UV9DXhLWcABrgCfKf/ghb9cc7seUOI8B34CQZk5q5R1iMzcpQTqqH0wUJ0hzUEdLdz15zywSIlzZ4Tb/QL2KLPnFnCfxuyJiLlxjHlcpiHIcQMLd2YuUsK0gOsj3P4rJdAncJCR/CNI08DCnZnzlMdWi+GPN4BXoBdk2r+pLwLrwGaN+A5YBnYjYgN4A3ygzIipoLqon1SbPxfubkS8r797ObmhjWbWgjTdrcc6IPVYGmbaH1kzx0HEOIgYBxHjIGIcRIyDiHEQMQ4ixkHEOIgYBxHjIGIcRIyDiHEQMQ4ixkHEOIgYBxHjIGJUgyzTfznnXJHcBlQ3QO8A1J3vbfobpsfp+5jvd2qSQZrqqwMb9SAz2/TfBWmd8LZ7lFnoIKcVEVuUDdeHb1gdBloadl3DdkR8PKPhnZrkZuuTqO8iNmfP0UZrtQ3Vw8xMkOMy8wElzmpE3Jz0eEY1s0GmlerH3nPLQcQ4iBgHEeMgYhxEjIOIcRAxDiLGQcQ4iBgHEeMgYhxEjIOIcRAxDiLGQcQ4iBgHEeMgYhxEjIOI+Q2gWbiBmTXKQQAAAABJRU5ErkJggg==); + background-size: 50px 44px; +} \ No newline at end of file diff --git a/fangija-zsyf/css/main.css b/fangija-zsyf/css/main.css new file mode 100644 index 0000000..fc7e40c --- /dev/null +++ b/fangija-zsyf/css/main.css @@ -0,0 +1,1205 @@ +@charset "utf-8"; +/* CSS Document */ + +/* 公用 */ +*{font-size:16px;font-family:arial,"华文细黑";} +ul li{list-style:none;} +img{display:block;} +a{color:#18a2ff;} +em{font-style:normal;} +.dn{display:none;} +.di{display:inline;} +.c3{color:#333;} +.c3{color:#333;} +.c3{color:#333;} +.c6{color:#666;} +.c9{color:#999;font-size:0.75rem} + +.content{background:#efeff4;color:#333;z-index:1;} +.popup{background:#fcf9fe;} +.content{background:#f3f3f3;color:#333;z-index:1;} +.popup{background:#f3f3f3;} + +/* 标题栏 */ +.page>header.bar{position:static;padding-left:0.75rem;padding-right:0.75rem;} +.page > header.bar{position:static;padding-left:0.75rem;padding-right:0.75rem;} +.bar:after{height:0;} +.bar .button-nav.pull-left{margin-left:0;} +.bar .button-nav.pull-right{margin-right:0;} +.bar .icon.icon-logo{width:70px;height:20px;background-size:100%;float:left;} +.bar .icon.icon-logo{width:70px;height:20px;background:url(../images/icon-logo.png) no-repeat;background-size:100%;float:left;} +.bar .icon.icon-path{width:20px;height:4px;background:url(../images/icon-path.png) no-repeat;background-size:100%;float:right;} +.bar .icon.icon-left{font-size:0.85rem;margin-left:-0.15rem;} +.bar .button-nav{color:#fff;} + +/* 子导航 */ +.popover { + position: absolute; + top: 0; + right: 10px; + z-index: 11000; + display: none; + min-width: 8rem; + margin: 0; + background: rgba(255, 255, 255, .95); + border-radius: 0.2rem; + opacity: 0; + -webkit-transition-property: opacity; + -o-transition-property: opacity; + transition-property: opacity; + -webkit-transform: none; + -ms-transform: none; + -o-transform: none; + transform: none; +} +.popover.modal-in { + opacity: 1; + -webkit-transition-duration: 300ms; + -o-transition-duration: 300ms; + transition-duration: 300ms; +} +.popover .list-block { + margin: 0; + padding: 0 1rem; +} +.popover .list-block ul { + background: none; +} +.popover .list-block:first-child ul { + border-top: 0; + border-right: 0; + border-radius: .35rem .35rem 0 0; +} +.popover .list-block:first-child li:first-child a { + border-radius: .35rem .35rem 0 0; +} +.popover .list-block:last-child ul { + border-bottom: 0; + border-left: 0; + border-radius: 0 0 .35rem .35rem; +} +.popover .list-block:last-child li:last-child a { + border-radius: 0 0 .35rem .35rem; +} +.popover .list-block:first-child:last-child li:first-child:last-child a, +.popover .list-block:first-child:last-child ul:first-child:last-child { + border-radius: .35rem; +} +.popover .list-block + .list-block { + margin-top: 1.75rem; +} +.popover-angle { + position: absolute; + top: 0; + right: -1.3rem; + z-index: 100; + width: 1.3rem; + height: 1.3rem; + overflow: hidden; +} +.popover-angle:after { + position: absolute; + top: 0; + right: 0; + width: 1.3rem; + height: 1.3rem; + content: ' '; + background: rgba(255, 255, 255, .95); + border-radius: 0; + -webkit-transform: rotate(45deg); + -ms-transform: rotate(45deg); + -o-transform: rotate(45deg); + transform: rotate(45deg); +} +.popover-angle.on-left { + right: -1.3rem; +} +.popover-angle.on-left:after { + top: 0; + right: .95rem; +} +.popover-angle.on-right { + right: 100%; +} +.popover-angle.on-right:after { + top: 0; + right: -.95rem; +} +.popover-angle.on-top { + top: -1.2rem; + right: 0; +} +.popover-angle.on-top:after { + top: 1rem; + right: 0; +} +.popover-angle.on-bottom { + top: 100%; + right: 0; +} +.popover-angle.on-bottom:after { + top: -.95rem; + right: 0; +} +.popover-inner { + overflow: auto; + -webkit-overflow-scrolling: touch; +} +.actions-popover .list-block + .list-block { + margin-top: 1rem; +} +.actions-popover .list-block ul { + background: #fff; +} +.actions-popover-label { + position: relative; + padding: .4rem .5rem; + font-size: .65rem; + line-height: 1.3; + color: #5f646e; + text-align: center; + border-bottom: 1px solid #d2d2d6; +} +.actions-popover-label:last-child { + border-bottom: 0; + border-left: 0; +} + +.popover .list-block .item-link.list-button{text-align:left;} +.popover .list-block ul:before,.popover .list-block ul:after{height:0;} +.popover .list-block .item-link.list-button{color:#333;} + +/* 工具栏 */ +.bar-tab .tab-item{color:#999;} +.bar-tab .tab-item.active, .bar-tab .tab-item:active{color:#18a2ff;} +.bar-tab .tab-item .icon{padding:0;font-size:1.05rem;} + +.bar-tab .tab-item .icon.icon-around01{width:14px;background:url(../images/icon-around01.png) no-repeat center center;background-size:100%;} +.bar-tab .tab-item .icon.icon-around02{width:15px;background:url(../images/icon-around02.png) no-repeat center center;background-size:100%;} +.bar-tab .tab-item .icon.icon-around03{width:18px;background:url(../images/icon-around03.png) no-repeat center center;background-size:100%;} +.bar-tab .tab-item .icon.icon-around04{width:16px;background:url(../images/icon-around04.png) no-repeat center center;background-size:100%;} +.bar-tab .tab-item .icon.icon-around05{width:15px;background:url(../images/icon-around05.png) no-repeat center center;background-size:100%;} +.bar-tab .tab-item .icon.icon-around06{width:17px;background:url(../images/icon-around06.png) no-repeat center center;background-size:100%;} +.bar-tab .tab-item .icon.icon-around07{width:15px;background:url(../images/icon-around07.png) no-repeat center center;background-size:100%;} +.bar-tab .tab-item .icon.icon-around08{width:16px;background:url(../images/icon-around08.png) no-repeat center center;background-size:100%;} + +.bar-tab .tab-item.active .icon.icon-around01{width:14px;background:url(../images/icon-around01-active.png) no-repeat center center;background-size:100%;} +.bar-tab .tab-item.active .icon.icon-around02{width:15px;background:url(../images/icon-around02-active.png) no-repeat center center;background-size:100%;} +.bar-tab .tab-item.active .icon.icon-around03{width:18px;background:url(../images/icon-around03-active.png) no-repeat center center;background-size:100%;} +.bar-tab .tab-item.active .icon.icon-around04{width:16px;background:url(../images/icon-around04-active.png) no-repeat center center;background-size:100%;} +.bar-tab .tab-item.active .icon.icon-around05{width:15px;background:url(../images/icon-around05-active.png) no-repeat center center;background-size:100%;} +.bar-tab .tab-item.active .icon.icon-around06{width:17px;background:url(../images/icon-around06-active.png) no-repeat center center;background-size:100%;} +.bar-tab .tab-item.active .icon.icon-around07{width:15px;background:url(../images/icon-around07-active.png) no-repeat center center;background-size:100%;} +.bar-tab .tab-item.active .icon.icon-around08{width:16px;background:url(../images/icon-around08-active.png) no-repeat center center;background-size:100%;} + +.bar-tab .tab-item:active .icon.icon-around01{width:14px;background:url(../images/icon-around01-active.png) no-repeat center center;background-size:100%;} +.bar-tab .tab-item:active .icon.icon-around02{width:15px;background:url(../images/icon-around02-active.png) no-repeat center center;background-size:100%;} +.bar-tab .tab-item:active .icon.icon-around03{width:18px;background:url(../images/icon-around03-active.png) no-repeat center center;background-size:100%;} +.bar-tab .tab-item:active .icon.icon-around04{width:16px;background:url(../images/icon-around04-active.png) no-repeat center center;background-size:100%;} +.bar-tab .tab-item:active .icon.icon-around05{width:15px;background:url(../images/icon-around05-active.png) no-repeat center center;background-size:100%;} +.bar-tab .tab-item:active .icon.icon-around06{width:17px;background:url(../images/icon-around06-active.png) no-repeat center center;background-size:100%;} +.bar-tab .tab-item:active .icon.icon-around07{width:15px;background:url(../images/icon-around07-active.png) no-repeat center center;background-size:100%;} +.bar-tab .tab-item:active .icon.icon-around08{width:16px;background:url(../images/icon-around08-active.png) no-repeat center center;background-size:100%;} + +.bar-tab .tab-item .icon ~ .tab-label{top:0.05rem;} + +/* 登录 */ +i.loginIcon01{width:14px;height:26px;background:url(../images/loginIcon01.png) no-repeat center 1px;background-size:100%;display:block;} +i.loginIcon02{width:15px;height:25px;background:url(../images/loginIcon02.png) no-repeat center 3px;background-size:100%;display:block;} +i.loginIcon03{width:14px;height:24px;background:url(../images/loginIcon03.png) no-repeat center 3px;background-size:100%;display:block;} +.item-link .item-inner .inpu{width:70px;height:24px;line-height:24px;float:left;margin:0 6px;text-align:center;border:solid 1px #d7d7d7;} +#input_phoneNumber{padding-top:3px;} +#input_phoneNumber,#input_codeImg,#input_codeSms,#input_codeInvite{width:175px;margin-left:-80px;} +.item-link .item-inner label{float:left;text-align:right;padding-left:0;} +.item-link .item-inner label i.loginCode{width:70px;height:25px;background:url(../images/loginCode.png) no-repeat center center;background-size:100%;display:block;margin-top:-2px;} +.sendCode{padding:0 8px;height:27px;background:#fff;border:solid 1px #2db0fc;border-radius:3px;color:#2db0fc;text-align:center;line-height:26px;font-size:0.7rem;float:right;margin-top:-2px;} +.waiting{padding:0 8px;height:27px;background:#0a8ddf;border:solid 1px #0a8ddf;border-radius:3px;color:#fff;text-align:center;line-height:26px;font-size:0.7rem;float:right;margin-top:-2px;} +.agreement{overflow:hidden;margin-left:0.75rem;margin-top:0.75rem;} +.agreement span{float:left;} +.agreement span a{font-size:0.75rem;color:#263238;} +.check{margin-top:2px;margin-right:10px;} +.check a{display:block;width:18px;height:18px;border:solid 1px #a8a8a8;border-radius:4px;position:relative;} +.checkImg{width:10px;height:10px;position:absolute;top:3px;left:3px;} + +/* 首页 */ +.totalValue{padding:1rem 0;overflow:hidden;} +.totalValue div:first-child{float:left;margin-left:0.75rem;} +.totalValue div:last-child{float:right;margin-right:0.75rem;padding-top:0.9rem;overflow:hidden;width:100px;} +.totalValue p{color:#fff;margin:0;} +.totalValue p span{font-size:1.5rem;} +.totalValue p em{font-size:2.5rem;} +.totalValue p label{color:rgba(255,255,255,0.8);} +.totalValue a{color:rgba(255,255,255,0.8);line-height:1.5rem;border:solid 1px rgba(255,255,255,0.8);border-radius:0.2rem;padding:0 0.4rem;float:right;margin-top:1em;} +.totalValue a.open-preloader-title01{border:solid 1px rgba(255,255,255,0.8);text-decoration:none;padding:0.1rem 0.3rem;margin-top:0.9rem;} +.totalValue a.open-preloader-title01 i{width:8px;height:1.2rem;background:url(../images/arrow_check.png) no-repeat right center;background-size:100%;float:right;margin-left:0.3rem;} +.totalValue img{width:70px;float:right;height:100%;} +.totalValue img{width:70px;height:100%;float:right;} + +.totalValue div.addPropertyBox{width:140px;margin:0 auto;float:none;} +.totalValue div.addPropertyBox .addProperty{width:140px;height:60px;background:rgba(255,255,255,0.2);border:dashed 1px #fff;border-radius:5px;font-size:0.8rem;color:#fff;line-height:60px;text-decoration:none;display:block;float:none;margin-top:1.2rem;} +.totalValue div.addPropertyBox .addProperty i{float:left;width:20px;height:20px;margin-left:1rem;margin-right:0.5rem;} +.totalValue div.addPropertyBox .addProperty{width:140px;height:60px;background:rgba(255,255,255,0.2);border:dashed 1px #fff;border-radius:5px;font-size:1em;color:#fff;line-height:60px;text-decoration:none;display:block;float:none;margin-top:1.2rem;} +.totalValue div.addPropertyBox .addProperty i{float:left;width:20px;height:20px;margin-left:0.8rem;margin-right:0.5rem;} +.totalValue div.addPropertyBox + p{font-size:0.75rem;color:#fff;text-align:center;margin-top:0.85rem;} + +.totalValue01 div.addPropertyBox .addProperty{background:#fff;} +.totalValue01 div.addPropertyBox .addProperty i{float:left;width:20px;height:20px;margin-left:1rem;margin-right:0.5rem;} +.totalValue01 div.addPropertyBox .addProperty i{float:left;width:20px;height:20px;margin-left:0.8rem;margin-right:0.5rem;} +.totalValue01 div.addPropertyBox + p{color:#999;} + +.indexCard{height:210px;overflow:hidden;margin:0.75rem;margin-bottom:3.5rem;position:relative;} +.indexCard .card{width:48.5%;text-align:center;color:#fff;margin:0;} +.indexCard .card.indexCard01{height:100%;background:#12b6cb;position:absolute;top:0;left:0;} +.indexCard .card.indexCard02{height:47.2%;background:#aa8abc;position:absolute;top:0;right:0;} +.indexCard .card.indexCard03{height:47.2%;background:#f2914a;position:absolute;bottom:0;right:0;} +.indexCard .card-content-inner{padding:1.6rem 1rem;} +.indexCard .card-content-inner p{font-size:0.9rem;line-height:1.5rem;margin:0;} +.icon-index01{width:38%;margin:0 auto;margin-top:1rem;margin-bottom:0.5rem;} +.icon-index02{width:24%;float:left;} +.icon-index03{width:24%;float:left;} +/* 块 */ +.content-block01{padding:0;} +.content-block-title{color:#999;line-height:1.8rem;margin:0.2rem 0;margin-left:0.75rem;} +.content-block-title + .list-block, .content-block-title + .content-block, .content-block-title + .card{margin-top:0;} + +/* 块 */ +/* 列表 */ +.list-block{margin:0;} +.list-block .item-content{min-height:auto;} +.list-block .item-content .item-inner01{background:none;padding-right:0.75rem;} +.list-block .item-title.label{width:auto;color:#666;} +.list-block .item-title.label font{color:#263238;} +.list-block .item-subtitle{color:#666;} +.list-block .item-subtitle small{font-size:0.85em;} +.list-block .item-title{color:#333;font-size:0.8rem;} +.list-block .item-title.label{width:auto;color:#666;font-size:0.8rem;} +.list-block .item-title.label font{color:#333;font-size:0.8rem;} +.list-block .item-title label{color:#333;font-size:0.8rem;display:inline-block;vertical-align:top;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;} +.list-block .item-title small{color:#999;font-size:0.65rem;} +.list-block .item-title span{color:#666;font-size:0.75rem;} +.list-block .item-after{color:#333;font-size:0.8rem;} +.list-block .item-after span{color:#999;font-size:0.75rem;} +.list-block .item-after em{color:#ff1100;font-size:0.8rem;} +.list-block .item-subtitle{color:#666;font-size:0.75rem;} +.list-block .item-subtitle span{display:inline-block;vertical-align:middle;max-width:90%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#666;font-size:0.75rem;} +.list-block .item-subtitle label{max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;} +.list-block .item-subtitle small{color:#999;font-size:0.65rem;} + +.clearHistory,.noHistory{color:#666;text-align:center;margin-top:10px;cursor:pointer;} +.content-block01{padding:0;} +.content-block .di a{margin-right:10px;} +.topic + .media-list ul{margin-bottom:0.75rem;} + + + + + +.theme + .media-list ul{margin-bottom:0.5rem;} +.list-block.media-list .item-media{padding-top:0;padding-bottom:0;} +label.label-checkbox i.icon-form-checkbox{margin-right:0.5rem;} +label.label-checkbox i.current{background:url(../images/checkImg.png) no-repeat center center #2db0fc;background-size:0.55rem;border:none;} +label.label-checkbox i.current{background:url(../images/checkImg.png) no-repeat center center #18a2ff;background-size:0.55rem;border:none;} +.item-media i.check{width:24px;height:24px;border-radius:1.1rem;border:solid 1px #c7c7cc;margin:0;} +.item-media i.checked{background:url(../images/checkImg.png) no-repeat center center #18a2ff;border:solid 1px #18a2ff;background-size:0.55rem;} + +.content-block-title{color:#999;line-height:1.8rem;margin:0.2rem 0;margin-left:0.75rem;} +.content-block-title + .list-block, .content-block-title + .content-block, .content-block-title + .card{margin-top:0;} +.list-block.list-block01{margin-top:66px;margin-bottom:76px;} +.list-block.list-block02{margin-bottom:0.5rem;} +.list-block ul:before{transform:scaleY(1);} +.list-block ul:after{transform:scaleY(1);} + +/* 列表 */ +.list-block{margin:0;} +.list-block .item-content{min-height:auto;} +.list-block .item-content .item-inner01{background:none;padding-right:0.75rem;} +.list-block .item-title font{color:#333;font-size:0.8rem;} +.list-block .item-title.label{width:auto;color:#666;font-size:0.8rem;} +.list-block .item-title.label font{color:#263238;font-size:0.8rem;} +.list-block .item-title label{color:#333;font-size:0.8rem;display:inline-block;vertical-align:top;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;} +.list-block .item-title small{color:#999;font-size:0.75rem;} +.list-block .item-title span{color:#666;font-size:0.75rem;} +.list-block .item-after{color:#333;font-size:0.8rem;} +.popup .list-block .item-after{line-height:2.4rem;font-size:0.75rem;} +.list-block .item-after span{color:#999;font-size:0.75rem;} +.list-block .item-after em{color:#ff1100;font-size:0.8rem;} +.list-block .item-subtitle{color:#999;font-size:0.75rem;} +.list-block .item-subtitle span{display:inline-block;vertical-align:middle;max-width:80%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#999;font-size:0.75rem;} +.list-block .item-subtitle label{max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;} +.list-block .item-subtitle small{color:#999;font-size:0.65rem;} + +.popup .list-block .item-after {line-height: 2.4rem;font-size: 0.75rem;} + +.list-block .item-title small.small01{color:#2db0fc;font-size:0.65rem;} +.list-block .item-title small.small02{color:#2db0fc;font-size:0.65rem;} +.list-block .item-title .info02 small.small01{margin-top:0;margin-bottom:0;} +.list-block .item-subtitle small.small01{color:#2db0fc;margin-top:0.3rem;} +.list-block .item-subtitle small.small01:nth-of-type(1){background:#eaf7ff;color:#2db0fc;} +.list-block .item-subtitle small.small01:nth-of-type(2){background:#fff7e7;color:#f5b715;} +.list-block .item-subtitle small.small01:nth-of-type(3){background:#e9f8f0;color:#2cb66a;} +.clearHistory,.noHistory{color:#666;text-align:center;margin-top:10px;cursor:pointer;} + + +.searchHistory{padding:0.75rem;padding-bottom:0.5rem;border-top:solid 1px #e7e7e7;color:#999;font-size:0.75rem;} +.icon-near{width:12px;height:16px;background:url(../images/icon-address.png) no-repeat center center;background-size:100%;margin-right:0.3rem;} +.icon-history{width:15px;height:15px;background:url(../images/icon-history.png) no-repeat center center;background-size:100%;margin-right:0.3rem;} +.clearHistory,.noHistory{color:#666;text-align:center;margin-top:10px;cursor:pointer;} + + +.theme + .media-list ul{margin-bottom:0.5rem;} +.list-block.media-list .item-media{padding-top:0;padding-bottom:0;} +label.label-checkbox i.icon-form-checkbox{margin-right:0.5rem;} +label.label-checkbox i.current{background:url(../images/checkImg.png) no-repeat center center #18a2ff;background-size:0.55rem;border:none;} +.item-media i.check{width:24px;height:24px;border-radius:1.1rem;border:solid 1px #c7c7cc;margin:0;} +.item-media i.checked{background:url(../images/checkImg.png) no-repeat center center #18a2ff;border:solid 1px #18a2ff;background-size:0.55rem;} + +.list-block.list-block01{margin-top:66px;margin-bottom:76px;} +.list-block.list-block02{margin-bottom:0.5rem;} +.list-block ul:before{transform:scaleY(1);} +.list-block ul:after{transform:scaleY(1);} + +small.spacing{letter-spacing:28px;} +small.spacing01{margin-right:4px;} +small.spacing01a{margin-right:3.5px;} +label.spacing01{margin-right:26px;} +label.spacing02{margin-right:27px;} + +.textAlignLeft{width:100%;height:auto;text-align:left;position:absolute;left:105px;} +.textAlignRight{width:100%;height:auto;text-align:right;position:absolute;right:30px;} +.textAlignRight01{right:54px;} +.textAlignRight02{right:0.75rem;} +.list-block input[type="text"], .list-block input[type="password"], .list-block input[type="search"], .list-block input[type="email"], .list-block input[type="tel"], .list-block input[type="url"], .list-block input[type="date"], .list-block input[type="datetime-local"], .list-block input[type="time"], .list-block input[type="number"], .list-block select, .list-block textarea{height:24px;line-height:24px;font-size:inherit;padding:0;color:#333;} + +:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ + color: #999; +} +::-moz-placeholder { /* Mozilla Firefox 19+ */ + color: #999; +} +input:-ms-input-placeholder { + color: #999; +} +input::-webkit-input-placeholder { + color: #999; +} + +.info{overflow:hidden;line-height:1rem;margin-bottom:0.2rem;} +.info01{padding-left:0.75rem;padding-top:0.55rem;} +.info02{margin-bottom:0.5rem;} +.infoTop{margin-top:0.2rem;margin-bottom:0.5rem;} +.info i{float:left;padding:1em 0;margin-right:0.3rem;} +.info i.grayIcon01{width:16px;height:16px;background:url(../images/grayIcon01.png) no-repeat center center;background-size:100%;margin-top:-5px;} +.info i.grayIcon02{width:12px;height:12px;background:url(../images/grayIcon02.png) no-repeat center center;background-size:100%;margin-top:-8px;margin-left:2px;margin-right:7px;} +.info i.grayIcon03{width:13px;height:13px;background:url(../images/grayIcon03.png) no-repeat center center;background-size:100%;margin-top:-6px;margin-left:1.5px;margin-right:6.5px;} +.info i.grayIcon04{width:10px;height:10px;background:url(../images/grayIcon04.png) no-repeat center center;background-size:100%;margin-top:-6px;margin-left:2.5px;margin-right:8.5px;} +.info span{float:left;} +.info span font{font-size:0.75rem;} +.info span font.c3{color:#333;} +.info span font.c6{color:#666;} +.info span font.c9{color:#999;} +.info span em{color:#ff1100;font-size:0.75rem;} +.info span em font{font-size:0.7rem;vertical-align:text-bottom;} +.list-block .item-title span.c3{color:#333;font-size:0.8rem;margin-right:0.2rem;display:inline-block;vertical-align:top;} +.list-block .item-title span.c3a{max-width:112px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;} +.list-block .item-title span.c6{color:#666;font-size:0.65rem;border-left:solid 1px #bfbfbf;margin-left:0.1rem;padding-left:0.3rem;display:inline-block;vertical-align:middle;} +.list-block .item-title span.c6a{max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;} +.list-block .item-title span.c9{color:#999;font-size:0.75rem;} +.info i.icon-warning{width:15px;height:15px;background:url(../images/icon-warning.png) no-repeat center center;background-size:100%;float:none;display:block;margin:0 auto;margin-top:0.2rem;} +.list-block .item-title .info label{font-size:0.5rem;color:#f5b715;line-height:0.75rem;display:block;} +.small01{height:0.9rem;background:#eaf7ff;border-radius:2px;padding:0 5px;color:#2db0fc;font-size:0.65rem;line-height:1rem;float:left;margin:0.1rem 0;margin-right:0.2rem;} +.small01:nth-of-type(1){background:#eaf7ff;color:#2db0fc;} +.small01:nth-of-type(2){background:#fff7e7;color:#f5b715;} +.small01:nth-of-type(3){background:#e9f8f0;color:#2cb66a;} +.small02{height:0.9rem;background:none;border:solid 1px #2db0fc;border-radius:2px;padding:0 5px;color:#2db0fc;font-size:0.65rem;line-height:0.9rem;float:left;margin:0.1rem 0;margin-left:0.2rem;} +.list-block .item-title small.small01{color:#2db0fc;font-size:0.65rem;} +.list-block .item-title small.small02{color:#2db0fc;font-size:0.65rem;} +.list-block .item-title .info02 small.small01{margin-top:0;margin-bottom:0;} +.list-block .item-subtitle small.small01{color:#2db0fc;margin-top:0.3rem;} +.list-block .item-subtitle small.small01:nth-of-type(1){background:#eaf7ff;color:#2db0fc;} +.list-block .item-subtitle small.small01:nth-of-type(2){background:#fff7e7;color:#f5b715;} +.list-block .item-subtitle small.small01:nth-of-type(3){background:#e9f8f0;color:#2cb66a;} +.delete_btn{width:12px;height:15px;background:url(../images/delete.png) no-repeat left center;background-size:100%;float:right;margin-right:0.75rem;margin-top:0.3rem;} + +/* 登录 */ +i.loginIcon01{width:14px;height:26px;background:url(../images/loginIcon01.png) no-repeat center 1px;background-size:100%;display:block;} +i.loginIcon02{width:15px;height:25px;background:url(../images/loginIcon02.png) no-repeat center 3px;background-size:100%;display:block;} +i.loginIcon03{width:14px;height:24px;background:url(../images/loginIcon03.png) no-repeat center 3px;background-size:100%;display:block;} +.item-link .item-inner .inpu{width:70px;height:24px;line-height:24px;float:left;margin:0 6px;text-align:center;border:solid 1px #d7d7d7;} +#input_phoneNumber{padding-top:3px;} +#input_phoneNumber,#input_codeImg,#input_codeSms,#input_codeInvite{width:175px;margin-left:-80px;} +.item-link .item-inner label{float:left;text-align:right;padding-left:0;} +.item-link .item-inner label i.loginCode{width:70px;height:25px;background:url(../images/loginCode.png) no-repeat center center;background-size:100%;display:block;margin-top:-2px;} +.sendCode{padding:0 8px;height:27px;background:#fff;border:solid 1px #2db0fc;border-radius:3px;color:#2db0fc;text-align:center;line-height:26px;font-size:0.7rem;float:right;margin-top:-2px;} +.waiting{padding:0 8px;height:27px;background:#0a8ddf;border:solid 1px #0a8ddf;border-radius:3px;color:#fff;text-align:center;line-height:26px;font-size:0.7rem;float:right;margin-top:-2px;} +.agreement{overflow:hidden;margin-left:0.75rem;margin-top:0.75rem;} +.agreement span{float:left;} +.agreement span a{font-size:0.75rem;color:#263238;} +.check{margin-top:2px;margin-right:10px;} +.check a{display:block;width:18px;height:18px;border:solid 1px #a8a8a8;border-radius:4px;position:relative;} +.checkImg{width:10px;height:10px;position:absolute;top:3px;left:3px;} + +/* 顶部 */ +.top{width:100%;background:#efeff4;padding:0.75rem 0.5rem;overflow:hidden;position:fixed;top:0;z-index:20;} +/* popup顶部 */ +.top{width:100%;background:#f3f3f3;padding:0.75rem 0.5rem;overflow:hidden;position:absolute;top:0;z-index:20;} +.top .searchBox{position:relative;line-height:36px;overflow:hidden;} +.top .searchBox .cityChoice{float:left;margin-right:10px;} +.top .searchBox .cityChoice a{line-height:36px;color:#666;display:block;} +.top .searchBox span{display:block;background:#fff;border:solid 1px #e6e6ea;border-radius:6px;overflow:hidden;} +.top .searchBox span input{width:80%;height:34px;padding-left:12px;float:left;border:none;font-size:0.7rem;} +.top .searchBox span i{width:16px;height:16px;background:url(../images/search.png) no-repeat left center;background-size:100%;float:left;margin-left:10px;margin-top:9px;} +.top .searchBox .cancel{float:right;color:#2db0fc;} + +.popup .bar{height:66px;padding-left:0;padding-right:0;position:absolute;right:0;left:0;z-index:10;} +.popup .bar:after{background-color:#efeff4;} +.popup .bar .searchbar{padding:0.75rem 0.5rem;height:66px;background:#efeff4;position:absolute;right:0;left:0;z-index:10;} +.popup .bar:after{background-color:#f3f3f3;} +.popup .bar .searchbar{padding:0.75rem 0.5rem;margin:0;height:66px;background:#f3f3f3;position:absolute;right:0;left:0;z-index:10;} +.popup .bar .searchbar .searchbar-cancel{line-height:36px;} +.popup .bar .searchbar .search-input input{height:36px;border:solid 1px #e6e6ea;} +.bar.bar-nav01{height:auto;overflow:hidden;padding-left:0.5rem;padding-right:0.5rem;} +.bar.bar-nav01 .button-link{color:#18a2ff;} + +/* popup底部 */ +.popup .bottom{height:66px;background:#e4e4e9;border-top:solid 1px #d7d7d7;position:fixed;right:0;left:0;bottom:0;z-index:10;} +.popup .bottom .searchbar{height:66px;background:#e4e4e9;border-top:solid 1px #d7d7d7;position:fixed;right:0;left:0;bottom:0;z-index:10;} +.popup .bottom .searchbar .search-input{line-height:36px;overflow:hidden;margin:0 0.5rem;} +.popup .bottom .searchbar .search-input div{width:30%;float:left;} +.popup .bottom .searchbar .search-input input{width:50%;height:36px;background:#fff;border:solid 1px #e6e6ea;border-right:solid 1px #fff;border-radius:0;padding-left:12px;float:left;} +.popup .bottom .searchbar .search-input a{width:20%;height:36px;border:solid 1px #e6e6ea;border-radius:0;line-height:34px;float:left;margin:0;top:0;} + +/* 评估结果 */ +.topBg{width:100%;padding-left:0.75rem;padding-right:0.75rem;padding-bottom:0.75rem;color:#fff;text-align:center;} +.topBg > div:first-child{border-bottom:solid 1px rgba(255,255,255,0.4);} +.topBg p{margin:0;} +.topBg p em{font-size:2.5rem;} +.topBg p span{font-size:1.5rem;} +.topBg p label{color:rgba(255,255,255,0.8);} +.topBg + .buttons-tab .button{font-size:0.7rem;padding:0 0.3rem;} + +.topBg01{padding-top:0.75rem;padding-bottom:0.5rem;} +.topBg01 img{width:70px;height:100%;margin:0 auto;margin-bottom:0.1rem;} +.topBg01 p label{font-size:0.7rem;color:#333;} +.topBg01>p{font-size:0.65rem;color:#999;text-align:left;margin-top:0.5rem;} +.topBg01>p em{font-size:0.65rem;color:#ff1100;} + +.topBg02{background:#ecf6ff;border-bottom:solid 1px #e7e7e7;color:#333;text-align:justify;padding-top:1rem;} +.topBg02 p label{color:#999;} +.topBg02 + p{font-size:0.65rem;color:#999;text-align:left;margin-left:0.75rem;margin-top:1rem;} +.topBg02 + p em{font-size:0.65rem;color:#29a1f7;} + +.topBg02 + p + .list-block{margin-bottom:0.75rem;position:relative;} +.topBg02 + p + .list-block span{color:#666;} +.topBg02 + p + .list-block em{color:#ff1100;} + +.selectBox{background:#fff;border-top:solid 1px #e7e7e7;text-align:center;line-height:50px;overflow:hidden;} +.selectBox div{float:left;width:50%;} +.selectBox div a{color:#333;display:inline-block;} +.selectBox div i{font-size:0.5rem;margin-left:0.3rem;} + +.selectContent{width:100%;position:absolute;top:52px;z-index:20000;} +.selectContent .list-block i{width:16px;margin-right:0.3rem;} + +.mask{width:100%;height:100%;background:rgba(0,0,0,0.4);position:absolute;top:52px;z-index:10600;} + +.topBg02 + .noData{background:#fff;height:90%;text-align:center;padding-top:3rem;margin-top:0.75rem;} +.topBg02 + .noData img{width:30%;margin:0 auto;} +.topBg02 + .noData p{color:#666;margin-top:0.5rem;margin-bottom:1.5rem;} +.topBg02 + .noData a{text-decoration:underline;} + +.priceInfo{color:#fff;margin-top:0.75rem;overflow:hidden;} +.priceInfoLeft{float:left;width:50%;} +.priceInfoRight{float:right;width:50%;} +.priceInfo div div{overflow:hidden;} +.priceInfo div div i{float:left;padding:0.5rem 0;margin-right:2px;} +.priceInfo div div i.whiteIcon01{width:11px;height:11px;background:url(../images/whiteIcon01.png) no-repeat center center;background-size:100%;margin-left:3px;margin-right:5px;margin-top:-2px;} +.priceInfo div div i.whiteIcon02{width:11px;height:11px;background:url(../images/whiteIcon02.png) no-repeat center center;background-size:100%;margin-left:3px;margin-right:5px;margin-top:-2px;} +.priceInfo div div i.whiteIcon03{width:13px;height:13px;background:url(../images/whiteIcon03.png) no-repeat center center;background-size:100%;margin-left:2px;margin-right:4px;margin-top:-2px;} +.priceInfo div div i.whiteIcon04{width:12px;height:12px;background:url(../images/whiteIcon04.png) no-repeat center center;background-size:100%;margin-left:2px;margin-right:5px;margin-top:-1px;} +.priceInfo div div span{float:left;font-size:0.65rem;line-height:22px;width:146px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;} +.priceInfoTitle{overflow:hidden;margin-bottom:0.5rem;} +.priceInfoTitle .priceInfo-address{float:left;margin-right:0.5rem;font-size:0.85rem;text-align:left;} +.priceInfoTitle #input_status{width:90px;background:url(../images/arrow_select.png) no-repeat 3.7rem center rgba(255,255,255,0.2);border:solid 1px #fff;float:right;color:rgba(255,255,255,0.8);padding:0.1rem 0.2rem;padding-right:0.5rem;} +.priceInfoTitle #input_status{width:90px;background:url(../images/arrow_select.png) no-repeat 3.6rem center rgba(255,255,255,0.2);border:solid 1px #fff;float:right;color:rgba(255,255,255,0.8);padding:0.1rem 0.2rem;padding-right:0.5rem;} + +/* 底部 */ +.popup .bottom{height:66px;background:#e4e4e9;border-top:solid 1px #d7d7d7;position:fixed;right:0;left:0;bottom:0;z-index:10;} +.popup .bottom .searchbar{height:66px;background:#e4e4e9;border-top:solid 1px #d7d7d7;position:fixed;right:0;left:0;bottom:0;z-index:10;} +.popup .bottom .searchbar .search-input{line-height:36px;overflow:hidden;margin:0 0.5rem;} +.popup .bottom .searchbar .search-input div{width:30%;float:left;} +.popup .bottom .searchbar .search-input input{width:50%;height:36px;background:#fff;border:solid 1px #e6e6ea;border-right:solid 1px #fff;border-radius:0;padding-left:12px;float:left;} +.popup .bottom .searchbar .search-input a{width:20%;height:36px;border:solid 1px #e6e6ea;border-radius:0;line-height:34px;float:left;margin:0;top:0;} +.button.button-fill.management_btn{color:rgba(255,255,255,0.8);line-height:1.2rem;background:none;border:solid 1px rgba(255,255,255,0.8);border-radius:0.2rem;padding:0 0.4rem;float:right;} +.button.button-fill.management_btn i{font-size:0.5rem;color:#fff;} +.button.management_btn i.icon:first-child:last-child{margin-left:0.1rem;} +.button.button-fill.management_btn01{color:#333;border:solid 1px #666;position:absolute;top:0.75rem;right:0.75rem;} +.button.button-fill.management_btn01 i{color:#333;} + + +/* 评估结果 */ +.icon-result01{width:15px;height:24px;background:url(../images/icon-result01.png) no-repeat center center;background-size:100%;margin-right:0.75rem;margin-top:-3px;} +.icon-result02{width:15px;height:24px;background:url(../images/icon-result02.png) no-repeat center center;background-size:100%;margin-right:0.75rem;margin-top:-3px;} +.icon-result03{width:15px;height:24px;background:url(../images/icon-result03.png) no-repeat center center;background-size:100%;margin-right:0.75rem;margin-top:-3px;} +.icon-result04{width:15px;height:24px;background:url(../images/icon-result04.png) no-repeat center center;background-size:100%;margin-right:0.75rem;margin-top:-3px;} +.icon-result05{width:15px;height:24px;background:url(../images/icon-result05.png) no-repeat center center;background-size:100%;margin-right:0.75rem;margin-top:-3px;} +.icon-result06{width:15px;height:24px;background:url(../images/icon-result06.png) no-repeat center center;background-size:100%;margin-right:0.75rem;margin-top:-3px;} +.topic{background:#fff;border-top:solid 1px #e7e7e7;border-bottom:solid 1px #e7e7e7;margin-bottom:0.5rem;} +.topic .topicTitle{font-size:0.85rem;border-bottom:solid 1px #e7e7e7;line-height:2.5rem;margin-left:0.75rem;padding-right:0.75rem;color:#666;overflow:hidden;} +.topic .topicTitle > img{float:left;width:90px;margin-right:10px;} +.topic .topicTitle > small{color:#999;} +.topic .topicTitle > em{margin-left:0.5rem;font-size:inherit;} +.topic .topicTitle > span{float:right;color:#999;font-size:0.8rem;} +.topic .topicTitle > span em.up{color:#ff1100;font-size:0.8rem;} +.topic .topicTitle > span em.down{color:#2cb66a;font-size:0.8rem;} +.topic .topicTitle > div{float:left;} +.topic .topicTitle > div p{font-size:0.7rem;line-height:0.6rem;color:#999;} +.topic .topicTitle > div p label{color:#333;} +.topic .topicTitle > div p font{font-size:0.7rem;} +.topic .topicTitle > div p font i{font-size:0.7rem;font-style:normal;margin-right:1rem;} +.topic .topicTitle > div:nth-child(2){text-align:right;float:right;} +.topic .topicTitle > div:nth-child(2) p label{color:#999;} +.topic .topicTitle > div:nth-child(2) p em{color:#ff1100;} +.topic .topicContent .topicTitle01{color:#333;margin-top:0;font-size:0.85rem;} +.topic .topicContent .topicTitle01 em{font-size:1.2rem;} +.topic .icon-note{width:16px;height:16px;background:url(../images/icon-note.png) no-repeat center center;background-size:100%;margin-left:0.3rem;margin-top:-2px;} + +.icon-address{width:14px;height:24px;background:url(../images/icon-address.png) no-repeat center center;background-size:100%;margin-right:0.5rem;margin-top:-3px;} +.icon-address + span{color:#333;} + +.bar.bar-nav02{height:2.5rem;line-height:2.5rem;position:static;background:#fff;margin-top:0.75rem;} +.bar.bar-nav02 .title{color:#333;line-height:2.5rem;} +.bar.bar-nav02 .button-nav{color:#999;font-size:0.7rem;height:2.5rem;line-height:2.5rem;} +.bar.bar-nav02 .button-nav span{font-size:0.6rem;} +.bar.bar-nav02 .icon.icon-left{font-size:0.6rem;margin-left:0.1rem;margin-top:-2px;} +.bar.bar-nav02 .icon.icon-right{font-size:0.6rem;margin-right:0.1rem;margin-top:-2px;} +.bar.bar-nav02 .icon-note{width:16px;height:51px;background:url(../images/icon-note.png) no-repeat center center;background-size:100%;margin-left:0.1rem;margin-top:-2px;position:absolute;} + +.topicBox .topic{position:relative;} +.topicBox .arrow_title{width:15px;position:absolute;top:-8px;left:50%;margin-left:-8.5px;} +.topicBox .list-block02{margin-bottom:0.75rem;} +.list-block ul:before{transform:scaleY(1);} +.list-block ul:after{transform:scaleY(1);} + +.topic{background:#fff;border-top:solid 1px #e7e7e7;border-bottom:solid 1px #e7e7e7;margin-bottom:0.75rem;} +.topic .topicTitle{font-size:0.85rem;border-bottom:solid 1px #e7e7e7;line-height:2.5rem;margin-left:0.75rem;padding-right:0.75rem;color:#666;overflow:hidden;} +.topic .topicTitle img{float:left;width:90px;margin-right:10px;} +.topic .topicTitle>div{float:left;} +.topic .topicTitle>div p{font-size:0.7rem;line-height:0.6rem;color:#999;} +.topic .topicTitle>div p label{color:#333;} +.topic .topicTitle>div p font{font-size:0.7rem;} +.topic .topicTitle>div p font i{font-size:0.7rem;font-style:normal;margin-right:1rem;} +.topic .topicTitle>div:nth-child(2){text-align:right;float:right;} +.topic .topicTitle>div:nth-child(2) p label{color:#999;} +.topic .topicTitle>div:nth-child(2) p em{color:#ff1100;} +.topic .topicTitle .icon-note{width:16px;height:16px;background:url(../images/icon-note.png) no-repeat center center;background-size:100%;margin-left:0.3rem;margin-top:-2px;} + +.topic01{margin-bottom:0.5rem;} +.topic01 .topicTitle{position:relative;} +.topic01 .topicTitle>div{padding:0.4rem 0;} +.topic01 .topicTitle>div.scale{width:70px;height:70px;position:absolute;right:0.3rem;top:50%;margin-top:-35px;} +.topic01 .topicTitle>div p a{font-size:0.7rem;color:#999;text-decoration:underline;} +.topic01 .topicTitle>div p small{font-size:0.7rem;} +.topic01a .topicTitle>div{padding:0;} +.topic01a .topicTitle>div:nth-child(2){font-size:0.8rem;color:#a0a0a0;text-align:left;float:left;margin-left:0.3rem;margin-top:-2px;} +.topic01a .topicTitle>div:nth-child(2) p a{vertical-align:0.5rem;} +.topic01a .topicTitle>div:nth-child(3){text-align:left;float:left;margin-left:0.3rem;width:52%;} +.topic01a .topicTitle>div:nth-child(3) p{margin-bottom:0;} +.topic01a .topicTitle>div:nth-child(3) p a{vertical-align:0.5rem;} +.topic01a .topicTitle>div:nth-child(3) p font{vertical-align:0.5rem;} +.topic01a .topicTitle>div:nth-child(3) p small{vertical-align:0.5rem;} +.topic01 .topicTitle > div{padding:0.4rem 0;} +.topic01 .topicTitle > div.scale{width:70px;height:70px;position:absolute;right:0.3rem;top:50%;margin-top:-35px;} +.topic01 .topicTitle > div p a{font-size:0.7rem;color:#999;text-decoration:underline;} +.topic01 .topicTitle > div p small{font-size:0.7rem;} +.topic01a .topicTitle > div{padding:0;} +.topic01a .topicTitle > div:nth-child(2){font-size:1em;color:#a0a0a0;text-align:left;float:left;margin-left:0.3rem;margin-top:-2px;} +.topic01a .topicTitle > div:nth-child(2) p a{vertical-align:0.5rem;} +.topic01a .topicTitle > div:nth-child(3){text-align:left;float:left;margin-left:0.3rem;width:52%;} +.topic01a .topicTitle > div:nth-child(3) p{margin-bottom:0;} +.topic01a .topicTitle > div:nth-child(3) p a{vertical-align:0.5rem;} +.topic01a .topicTitle > div:nth-child(3) p font{vertical-align:0.5rem;} +.topic01a .topicTitle > div:nth-child(3) p small{vertical-align:0.5rem;} + +.topic .topicContent{overflow:hidden;padding:0.6rem 0.75rem;color:#999;} +.topic .topicContent{overflow:hidden;padding:0.75rem;color:#999;} +.topic .topicContent img{width:100%;} +.topic .topicContent>p{overflow:hidden;margin:0.8em 0;} +.topic .topicContent>p>label{float:left;} +.topic .topicContent>p>span{float:right;color:#333;} +.topic .topicContent > p{overflow:hidden;margin:0.8em 0;} +.topic .topicContent > p > label{float:left;} +.topic .topicContent > p > span{float:right;color:#333;} +.topic .topicContent .content-block{margin:1rem 0;} +.topic .button-apply{width:30%;height:2rem;line-height:2rem;float:right;} +.tabs .topic{margin-bottom:0.5rem;} + +.topic .topicContent .topicContent_top{overflow:hidden;} +.topic .topicContent .topicContent_top .left{float:left;width:50%;} +.topic .topicContent .topicContent_top{overflow:hidden;} +.topic .topicContent .topicContent_top .left{float:left;width:50%;border-right:solid 1px rgba(255,255,255,0.5);} +.topic .topicContent .topicContent_top .right{float:right;width:50%;} +.topic .topicContent .topicContent_top p{overflow:hidden;margin:0.5rem;text-align:center;} +.topic .topicContent .topicContent_top p i{width:10px;height:25px;margin-right:3%;display:inline-block;vertical-align:top;} +.topic .topicContent .topicContent_top p.up i{background:url(../images/up.png) no-repeat center center;background-size:100%;} +.topic .topicContent .topicContent_top p.down i{background:url(../images/down.png) no-repeat center center;background-size:100%;} +.topic .topicContent .topicContent_top p em{font-size:1.3rem;line-height:1.5rem;} +.topic .topicContent .topicContent_top p.up em{color:#ff1100;} +.topic .topicContent .topicContent_top p.down em{color:#22ac38;} +.topic .topicContent .topicContent_top p span{color:#999;text-align:center;} +.topic .topicContent .topicContent_top p{overflow:hidden;margin:0;text-align:center;} +.topic .topicContent .topicContent_top p i{width:10px;height:25px;margin-right:3%;display:inline-block;vertical-align:top;} +.topic .topicContent .topicContent_top p.up i{background:url(../images/up01.png) no-repeat center center;background-size:100%;} +.topic .topicContent .topicContent_top p.down i{background:url(../images/down01.png) no-repeat center center;background-size:100%;} +.topic .topicContent .topicContent_top p em{font-size:1.3rem;line-height:1.5rem;} +.topic .topicContent .topicContent_top p.up em{color:#fff;} +.topic .topicContent .topicContent_top p.down em{color:#fff;} +.topic .topicContent .topicContent_top p em font{vertical-align:middle;} +.topic .topicContent .topicContent_top p span{color:#fff;opacity:0.8;text-align:center;} + +.topic .topicContent .topicContent_top01 .left{border-right:solid 1px #e7e7e7;} +.topic .topicContent .topicContent_top01 p.up i{background:url(../images/up.png) no-repeat center center;background-size:100%;} +.topic .topicContent .topicContent_top01 p.down i{background:url(../images/down.png) no-repeat center center;background-size:100%;} +.topic .topicContent .topicContent_top01 p.up em{color:#ff1100;} +.topic .topicContent .topicContent_top01 p.down em{color:#2cb66a;} +.topic .topicContent .topicContent_top01 p span{color:#999;opacity:1;} + +.adBox{display:block;background:#f9f9f9;border-radius:0.2rem;} +.adBox p{text-align:center;font-size:0.75rem;padding:0.5rem 0.75rem;margin-bottom:0;} +.adBox01{margin:0 0.75rem;} +.icon.icon-right01{font-size:0.6rem;margin-top:-2px;} + +.topic .topicContent .topicContent_bottom{position:relative;} +.topic .topicContent .topicContent_bottom p{margin-bottom:55px;} +.topic .topicContent .topicContent_bottom p em{color:#2db0fc;} +.topic .topicContent .topicContent_bottom p{margin-bottom:55px;font-size:0.8rem;} +.topic .topicContent .topicContent_bottom p em{color:#18a2ff;font-size:0.8rem;} +.topic .topicContent .topicContent_bottom font{width:100%;height:16px;background:#eee;border-radius:50px;display:block;margin-top:-10px;} +.topic .topicContent .topicContent_bottom font i{display:block;height:16px;background:#45b9fc;border:solid 3px #eee;border-radius:50px;} +.topic .topicContent .topicContent_bottom .rankingNote{overflow:hidden;display:block;height:26px;} +.topic .topicContent .topicContent_bottom .rankingNote span{font-size:0.65rem;line-height:26px;color:#999;} +.topic .topicContent .topicContent_bottom .rankingNote span.rankingNoteLeft{float:left;} +.topic .topicContent .topicContent_bottom .rankingNote span.rankingNoteRight{float:right;} +.topic .topicContent .topicContent_bottom .slider_note{background:#bfc2cd;border-radius:3px;position:absolute;bottom:72px;white-space:nowrap;height:auto;padding:0 5px;line-height:26px;color:#fff;} +.topic .topicContent .topicContent_bottom .slider_note span{font-size:0.65rem;color:#fff;} +.topic .topicContent .topicContent_bottom .slider_note img{width:14px;height:6px;position:absolute;bottom:-4px;left:44%;} + +.topic .topicContent .topicContent_center{overflow:hidden;} +.topic .topicContent .topicContent_center div{float:left;width:33%;border-left:solid 1px #e5e5e5;text-align:center;} +.topic .topicContent .topicContent_center{overflow:hidden;} +.topic .topicContent .topicContent_center div{float:left;width:25%;border-left:solid 1px #e7e7e7;text-align:center;} +.topic .topicContent .topicContent_center div:first-child{border-left:none;} +.topic .topicContent .topicContent_center div em{display:block;color:#ff1100;} +.topic .topicContent .topicContent_center div label{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0 auto;} +.topic .topicContent .topicContent_center div em{display:block;color:#ff1100;font-size:0.85rem;} +.topic .topicContent .topicContent_center div label{display:block;color:#999;font-size:0.65rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0 auto;} +.topic .topicContent .topicContent_center div span{display:block;color:#333;font-size:0.75rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0 auto;margin-top:0.2rem;} + +.topic .topicContent .topicContent_center.menu div{width:20%;} +.topic .topicContent .topicContent_center.menu div span{font-size:0.65rem;} + +.topic .topicContent .topicContent_center div .icon{width:25px;height:25px;display:block;margin:0 auto;} +.topic .topicContent .topicContent_center div .icon.icon-menu01{background:url(../images/icon-menu01.png) no-repeat center center;background-size:100%;} +.topic .topicContent .topicContent_center div .icon.icon-menu02{background:url(../images/icon-menu02.png) no-repeat center center;background-size:100%;} +.topic .topicContent .topicContent_center div .icon.icon-menu03{background:url(../images/icon-menu03.png) no-repeat center center;background-size:100%;} +.topic .topicContent .topicContent_center div .icon.icon-menu04{background:url(../images/icon-menu04.png) no-repeat center center;background-size:100%;} +.topic .topicContent .topicContent_center div .icon.icon-menu05{background:url(../images/icon-menu05.png) no-repeat center center;background-size:100%;} +.topic .topicContent .topicContent_center div .icon.icon-menu01a{background:url(../images/icon-menu01a.png) no-repeat center center;background-size:100%;} +.topic .topicContent .topicContent_center div .icon.icon-menu02a{background:url(../images/icon-menu02a.png) no-repeat center center;background-size:100%;} +.topic .topicContent .topicContent_center div .icon.icon-menu03a{background:url(../images/icon-menu03a.png) no-repeat center center;background-size:100%;} +.topic .topicContent .topicContent_center div .icon.icon-menu04a{background:url(../images/icon-menu04a.png) no-repeat center center;background-size:100%;} +.topic .topicContent .topicContent_center div .icon.icon-menu05a{background:url(../images/icon-menu05a.png) no-repeat center center;background-size:100%;} + +.topic .topicContent .topicContent_center01 div{width:29.333333333333332%;background:#fbfbfb;border:solid 1px #eee;border-radius:0.2rem;padding:0.3rem 0;} +.topic .topicContent .topicContent_center01 div:first-child{border-left:solid 1px #eee;} +.topic .topicContent .topicContent_center01 div em{display:block;color:#ff1100;font-size:0.85rem;} +.topic .topicContent .topicContent_center01 div em.riskScore01{color:#ff4500;} +.topic .topicContent .topicContent_center01 div em.riskScore02{color:#ffb53e;} +.topic .topicContent .topicContent_center01 div em.riskScore03{color:#2db0fc;} +.topic .topicContent .topicContent_center01 div em.riskScore04{color:#18d57e;} +.topic .topicContent .topicContent_center01 div em font{font-size:0.7rem;vertical-align:top;} +.topic .topicContent .topicContent_center01 div label{font-size:0.75rem;} +.example{width:40px;height:40px;background:url(../images/example.png) no-repeat;background-size:100%;position:absolute;top:0;left:0;} + +.topic .topicContent .topicContent_center02 p{margin-top:0.5rem;margin-bottom:0;} +.topic .topicContent .topicContent_center02 p label{color:#333;} +.topic .topicContent .topicContent_center02 p em{color:#ff1100;} +.topic .topicContent .topicContent_center02 p span{color:#666;} + +.topic01a .topicContent .topicContent_center{border-bottom:none;padding-bottom:0;} +.topic01a .topicContent .topicContent_center div{width:50%;} +.topic01a .topicContent .topicContent_center div em{margin-top:-0.3rem;} +.topic01a .topicContent .topicContent_center div em i.higher{width:8px;height:16px;background:url(../images/higher.png) no-repeat center bottom;background-size:100%;margin-top:-8px;margin-right:0.1rem;} +.topic01a .topicContent .topicContent_center div em i.lower{width:8px;height:16px;background:url(../images/lower.png) no-repeat center bottom;background-size:100%;margin-top:-8px;margin-right:0.1rem;} +.topic01a .topicContent .topicContent_center div em span{font-size:1.5rem;} +.topic01a .topicContent .topicContent_center div em font{font-size:0.7rem;} +.topic01a .topicContent .topicContent_center div:first-child em span{color:#ffb73a;} +.topic01a .topicContent .topicContent_center div:first-child em font{color:#ffb73a;} +.topic01a .topicContent .topicContent_center div label{margin-top:-0.3rem;} + +.topic .topicContent .topicContent_bottom01{margin-top:0.5rem;text-align:center;} +.topic .topicContent .topicContent_bottom01{text-align:center;} +.topic .topicContent .topicContent_bottom01 span{display:block;height:24px;line-height:24px;} +.topic .topicContent .topicContent_bottom01 .icon.icon-right{margin-top:-2px;} +.topic .topicContent .topicContent_bottom01 label{color:#666;} +.topic .topicContent .topicContent_bottom01 label em{color:#ff1100;margin-left:0.1rem;} + +/* 图表 */ +.chart{height:200px;} +.chart{width:100%;height:200px;} +.chart tspan{font-size:0.6rem;color:#999;text-shadow:none;} +#chart02{height:300px;} +#chart02{height:280px;} + +.topic .topicTitle > div.content-block{float:right;margin-top:0.6rem;padding:0;} +.topic .date{text-align:right;font-size:0.75rem;color:#ccc;padding-right:0.75rem;margin:0;} +.buttons-row .button{height:1.35rem;line-height:1.35rem;} +.buttons-row .button:first-child,.buttons-row .button:last-child{border-radius:0;} +.buttons-row01 .button{border-radius:0.1rem;margin-left:0.5rem;padding:0;font-size:0.65rem;} +.buttons-row01 .button:first-child,.buttons-row01 .button:last-child{border-radius:0.1rem;} +.buttons-row01a .button{width:22%;} + +.districtTab{background:#fff;padding-top:0.75rem;} +.districtTab .buttons-row .button{width:80px;} + +.assetRisk{width:300px;margin:0 auto;padding-top:1rem;} +.assetRisk .assetRiskTitle{font-size:0.85rem;color:#333;margin-bottom:0.5rem;} +.assetRisk .assetRiskTitle em{font-size:1.2rem;} +.riskScore01{color:#ff4500;} +.riskScore02{color:#ffb53e;} +.riskScore03{color:#2db0fc;} +.riskScore04{color:#18d57e;} + +.assetRisk font{height:10px;display:block;margin-top:0.2rem;padding-left:3px;clear:both;} +.assetRisk font i{width:70px;height:10px;float:left;margin-right:1px;} +.assetRisk font i.riskScore01{background:#ff4500;} +.assetRisk font i.riskScore02{background:#ffb53e;} +.assetRisk font i.riskScore03{background:#2db0fc;} +.assetRisk font i.riskScore04{background:#18d57e;} + +.assetRisk p{overflow:hidden;margin:0;padding-left:3px;} +.assetRisk p span{width:70px;float:left;margin-right:1px;text-align:center;line-height:24px;font-size:0.65rem;} +.assetRisk p.p01 span{line-height:14px;text-align:left;width:auto;} + +.judgment{text-align:center;margin-top:1rem;} +.judgment label{color:#666;font-size:0.7rem;} +.judgment p{color:#333;margin:0;} +.judgment p em{color:#ff1100;font-size:1rem;margin-left:0.1rem;} +.judgment p em font{font-size:0.8rem;} +.judgment a{display:block;text-decoration:underline;margin-top:0.5rem;} +.assetRisk .rankingBox{width:283px;height:24px;background:url(../images/scale.png) no-repeat left 10px;background-size:100%;padding-left:2px;margin-left:3px;margin-top:0.5rem;position:relative;} +.assetRisk .rankingBox .ranking{position:absolute;left:1px;top:5px;} +.assetRisk .rankingBox .ranking font{width:283px;height:5px;} +.assetRisk .rankingBox .ranking font i{height:5px;} + +/* 出售分析 */ +.addLink{text-align:center;color:#999;font-size:0.75rem;padding-bottom:1.1em;} +.addLink a{text-decoration:underline;font-size:0.75rem;margin-left:0.1rem;} + +/* 出租管理 */ +.buttons-tab01{padding-top:0.5rem;margin-bottom:0.5rem;overflow-x:auto;} +.buttons-tab01 .button{height:2.5rem;line-height:1rem;border-right:solid 1px #e7e7e7;} +.buttons-tab01 .button label{font-size:0.75rem;display:block;max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0 auto;} +.buttons-tab01 .button small{font-size:0.65rem;display:block;margin:0 auto;} + +/* 我要置换 */ +.nstSlider{width:100%;height:12px;background:#eee;} +.nstSlider .bar{height:12px;top:0;left:0;background:#18a2ff;} +.nstSlider .leftGrip{box-shadow:3px 3px 3px rgba(113,113,113,0.35);top:-5px;z-index:10000} +.nstSlider .leftGrip.gripHighlighted{background:#fff;box-shadow:3px 3px 3px rgba(113,113,113,0.35);} + +.icon-city{width:12px;height:18px;background:url(../images/icon-city.png) no-repeat center center;background-size:100%;margin-left:0.3rem;margin-top:-3px;} + +.contentSuggest > p{font-size:0.65rem;color:#999;text-align:left;margin-left:0.75rem;} +.contentSuggest > p em{font-size:0.65rem;color:#29a1f7;} +.contentSuggest .list-block{position:relative;} + +.selectBox{background:#fff;border-top:solid 1px #e7e7e7;text-align:center;line-height:44px;} +.selectBox div a{font-size:0.7rem;color:#333;display:inline-block;} +.selectBox div i{font-size:0.5rem;color:#999;margin-left:0.3rem;} + +.selectContent{width:100%;position:absolute;top:46px;z-index:20000;} +.selectContent .list-block i{width:16px;margin-right:0.3rem;} +#select_filter{margin-bottom:0;} + +.mask{width:100%;height:100%;background:rgba(0,0,0,0.4);position:absolute;top:47px;z-index:10600;} + +.contentSuggest .noData{background:#fff;height:100%;text-align:center;padding-top:5rem;} +.contentSuggest .noData img{width:30%;margin:0 auto;} +.contentSuggest .noData p{color:#666;margin-top:0.5rem;margin-bottom:1.5rem;} +.contentSuggest .noData a{text-decoration:underline;} + +.topBg02{background:#ecf6ff;border-bottom:solid 1px #e7e7e7;color:#333;text-align:justify;padding-top:1rem;margin-bottom:0.5rem;} +.topBg02 p{font-size:0.75rem;} +.topBg02 p label{color:#999;font-size:0.75rem;} +.topBg02 p em{color:#ff1100;font-size:0.75rem;} +.topBg02 p a{font-size:0.75rem;} + +.collection{position:absolute;right:0.75rem;top:1.4rem;text-align:center;color:#666;font-size:0.7rem;} +.icon-collection01{width:16px;height:16px;background:url(../images/icon-collection01.png) no-repeat center center;background-size:100%;display:block;margin:0 auto;margin-bottom:0.1rem;} +.icon-collection02{width:16px;height:16px;background:url(../images/icon-collection02.png) no-repeat center center;background-size:100%;display:block;margin:0 auto;margin-bottom:0.1rem;} + +.contentSuggest .list-block .item-title.row{margin-left:0;width:100%;} +.contentSuggest .list-block .item-title.row .col-50{margin-left:0;margin-right:4%;} +.contentSuggest .list-block .item-title.row .col-50 p{margin:0;} +.contentSuggest .list-block .item-title.row .col-50 p label{color:#999;font-size:0.75rem;vertical-align:middle;} +.contentSuggest .list-block .item-title.row .col-50 p span{color:#333;font-size:0.75rem;margin-left:-5px;vertical-align:middle;} +.contentSuggest .list-block .item-title.row .col-50 p span.span01{display:inline-block;max-width:160%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;} + +.topic .topicContent .topicContent_center em.up{color:#ff1100;} +.topic .topicContent .topicContent_center em.down{color:#2cb66a;} +.topic .topicContent .topicContent_center em i{width:9px;height:14px;display:inline-block;vertical-align:-1px;margin-right:0.1rem;} +.topic .topicContent .topicContent_center em.up i{background:url(../images/up02.png) no-repeat center center;background-size:100%;} +.topic .topicContent .topicContent_center em.down i{background:url(../images/down02.png) no-repeat center center;background-size:100%;} + +/* 地图 */ +.districtMap{height:200px;margin-top:0.5rem;} +.districtMap{height:200px;} +.districtMap01{height:100%;} +.map{height:100%;} +.districtMap02{height:60%;} +.result{background:#fff;border-top:solid 1px #e7e7e7;border-bottom:solid 1px #e7e7e7;padding:0.75rem 0.75rem;text-align:center;} +.result em{color:#ff1100;} +.icon-address{width:12px;height:18px;background:url(../images/icon-address.png) no-repeat center center;background-size:100%;margin-right:0.3rem;margin-top:-3px;} + +/* 周边详情 */ +.contentList .list-block .item-after{line-height:2.4rem;font-size:0.75rem;} +.contentList .list-block .moreList{margin:0;padding:0.2rem 0;text-align:center;} +.contentList .list-block .moreList, .lessList{margin:0;padding:0.2rem 0;text-align:center;} +.contentList .list-block .lessList{margin:0;padding:0.2rem 0;text-align:center;} +.contentList .list-block .item-title.row .col-50 p span.span01{display:inline-block;vertical-align:middle;max-width:160%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;} +/* 我的资产 */ +.icon-assets01{width:15px;height:24px;background:url(../images/icon-assets01.png) no-repeat center center;background-size:100%;margin-right:0.75rem;margin-top:-3px;} +.icon-assets02{width:15px;height:24px;background:url(../images/icon-assets02.png) no-repeat center center;background-size:100%;margin-right:0.75rem;margin-top:-3px;} +.icon-assets03{width:15px;height:24px;background:url(../images/icon-assets03.png) no-repeat center center;background-size:100%;margin-right:0.75rem;margin-top:-3px;} +.icon-assets04{width:15px;height:24px;background:url(../images/icon-assets04.png) no-repeat center center;background-size:100%;margin-right:0.75rem;margin-top:-3px;} +.icon-assets05{width:15px;height:24px;background:url(../images/icon-assets05.png) no-repeat center center;background-size:100%;margin-right:0.75rem;margin-top:-3px;} +.icon-assets06{width:15px;height:24px;background:url(../images/icon-assets06.png) no-repeat center center;background-size:100%;margin-right:0.75rem;margin-top:-3px;} +.icon-assets07{width:15px;height:24px;background:url(../images/icon-assets07.png) no-repeat center center;background-size:100%;margin-right:0.75rem;margin-top:-3px;} +.icon-assets08{width:15px;height:24px;background:url(../images/icon-assets08.png) no-repeat center center;background-size:100%;margin-right:0.75rem;margin-top:-3px;} +.icon-assets09{width:15px;height:24px;background:url(../images/icon-assets09.png) no-repeat center center;background-size:100%;margin-right:0.75rem;margin-top:-3px;} +/* 我要贷款 */ +.step{background:#fff;overflow:hidden;padding:1rem 0.75rem;} +.step img{width:100%;} +.step .num{float:left;width:20%;} +.step .num label{font-size:1rem;} +.step .num span{font-size:0.8rem;color:#999;} +.step .process{float:right;width:80%;margin-top:0.5rem;} +.step .process font{width:100%;height:12px;background:#eee;border-radius:50px;display:block;} +.step .process font i{display:block;height:12px;background:#18a2ff;opacity:0.9;border-radius:50px;} + +.contentLoan .topic{background:#fff;} +.contentLoan .topic .topicTitle{border-bottom:none;color:#666;text-align:center;font-size:1rem;margin-top:0.75rem;} +.contentLoan .topic .topicContent{padding-top:0;} +.contentLoan .buttons-row.theme .button{height:4.8rem;line-height:4.8rem;background:#fbfbfb;border:solid 1px #eee;border-radius:0.1rem;font-size:0.85rem;} +.contentLoan .buttons-row .button:first-child, .buttons-row .button:last-child{border-radius:0.1rem;} +.contentLoan .buttons-row .button:last-child{margin-left:0.75rem;} +.contentLoan .buttons-row .button.button01{line-height:1.25rem;padding-top:1.1rem;} + +.houseList{margin-top:0.5rem;} + +.resultBox{padding-top:20%;background:none;} +.resultBox img{width:28%;margin:0 auto;margin-bottom:1rem;} +.resultBox em{font-size:2rem;text-align:center;color:#ff1100;display:block;} +.resultBox p{font-size:0.85rem;text-align:center;color:#333;margin-top:0;} +.resultBox span{font-size:0.75rem;text-align:center;color:#999;display:block;margin-top:1rem;margin-bottom:2rem;} +.resultBox span i{font-size:0.75rem;font-style:normal;color:#ff1100;vertical-align:text-top;margin-right:0.1rem;} +.content-block.resultBox{padding-top:0;} +.content-block.resultBox span{margin-bottom:1rem;} +.content-block.resultBox span a{font-size:0.75rem;} + +/* 智能选房 */ +.filter_btn{width:15%;position:absolute;right:0.5rem;top:0.5rem;} + +.houseNum{width:3.5rem;height:3.5rem;border-radius:100%;background:#f74949;opacity:0.9;position:absolute;left:40%;top:20%;} +.houseNum p{color:#fff;font-size:0.75rem;text-align:center;line-height:1rem;} + +.icon-house{width:30px;height:30px;background:url(../images/icon-house.png) no-repeat center center;background-size:100%;position:absolute;left:45%;bottom:50%;z-index:10000;} +.icon-house01{width:50px;height:80px;background:url(../images/icon-house01.png) no-repeat center center;background-size:100%;position:absolute;left:45%;bottom:50%;z-index:10500;} + + + +/* 出错页面 */ +.contentError{padding-top:30%;} +.contentError{padding-top:30%;background:none;} +.contentError img{width:30%;margin:0 auto;} +.contentError em{font-size:2rem;text-align:center;color:#666;display:block;} +.contentError p{text-align:center;color:#999;margin-top:0;} +.contentError a{text-align:center;text-decoration:underline;display:block;margin-top:2rem;} + +/* 广告 */ +.ad01{display:block;margin-top:0.75rem;} +.ad01 img{width:100%;} +.ad02{display:block;margin:0.75rem 0;} +.ad02 p{color:#18a2ff;text-align:center;margin:0;} + +/* 按钮 */ +.content-block{margin:0;} +.button.addProperty_btn{background:#fff;border:dashed 1px #18a2ff;color:#2db0fc;} +.button.addProperty_btn:active{background:#18a2ff;border:dashed 1px #18a2ff;color:#fff;} +.button.addProperty_btn span{width:120px;margin:0 auto;display:block;} +.button.addProperty_btn i{float:left;width:20px;height:20px;background:url(../images/addProperty.png) no-repeat center center;background-size:100%;margin:0.6rem 0;margin-left:13px;margin-right:-5px;} +.button.addProperty_btn:active i{float:left;width:20px;height:20px;background:url(../images/addProperty_active.png) no-repeat center center;background-size:100%;margin:0.6rem 0;margin-left:13px;margin-right:-5px;} + +.return{width:50px;height:50px;background:#fff;border:solid 1px #aaa;border-radius:100%;font-size:0.62rem;color:#666;text-align:center;position:fixed;left:0.75rem;bottom:0.75rem;} +.return i{width:18px;height:18px;background:url(../images/return.png) no-repeat;background-size:100%;display:block;margin:0 auto;margin-top:0.35rem;} + +/* 虚拟工具栏 */ +.toolbarImg{position:absolute;bottom:0;z-index:1;} +.toolbarImg img{width:100%;} + +/* 弹窗 */ +.modal-inner,.modal-button{background:#fff;} +.modal-button{color:#18a2ff;} +.modal-button{color:#50a5fc;} +.cancel_btn{color:#333;} +.modal-text{text-align:justify;} +.modal-no-buttons .modal-text{text-align:center;} +.info-container{overflow:hidden;margin-top:0.75rem;} +.info-container label{float:left;width:87px;text-align:right;} +.info-container input{float:left;width:95px;padding:0 0.3rem;} +.info-container font{float:left;margin-left:0.3rem;} +.info-container label{float:left;width:87px;text-align:right;line-height:1.4rem;} +.info-container input{float:left;width:95px;padding:0 0.3rem;line-height:1.2rem;} +.info-container font{float:left;margin-left:0.3rem;line-height:1.4rem;} + +.modal-no-buttons .modal-inner{background:rgba(0,0,0,0.8)} +.modal-no-buttons .modal-title{color:#fff;} +.modal-no-buttons .modal-text{text-align:center;} + +.modal01 .list-block .item-content{padding:0;} +.modal01 .list-block input[type="text"]{width:40%;} +.modal01 .list-block ul:before,.modal01 .list-block ul:after{height:0;} + +.modal01 .close{width:15px;height:15px;background:url(../images/close.png) no-repeat;background-size:100%;position:absolute;right:0.75rem;top:0.75rem;z-index:11000;} + +.modal01 { + width: 13.5rem; + border-radius: 0.35rem; + text-align: center; + position: absolute; + left: 50%; + margin-left: -6.75rem; + margin-top: 0; + top: 50%; + z-index: 11000; + opacity: 1; +} +.modal01 .modal-inner { + padding: 0.75rem; + border-radius: 0.35rem 0.35rem 0 0; + position: relative; + background: #fff; +} +.modal01 .modal-inner:after { + content: ''; + width: 100%; + height: 1px; + background-color: #b5b5b5; + display: block; + position: absolute; + left: 0; + bottom: 0; + right: auto; + top: auto; + z-index: 15; + -webkit-transform-origin: 50% 100%; + transform-origin: 50% 100%; +} +.modal01-overlay,.guideMask { + width: 100%; + height: 100%; + background: rgba(0, 0, 0, 0.4); + position: absolute; + left: 0; + top: 0; + z-index: 10600; + opacity: 1; + -webkit-transition-duration: 400ms; + transition-duration: 400ms; +} + +/* 字体图标 */ +@font-face { + font-family: "iconfont"; + src: url('../font/iconfont.eot?t=1503292782847'); /* IE9*/ + src: url('../font/iconfont.eot?t=1503292782847#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('../font/iconfont.woff?t=1503292782847') format('woff'), /* chrome, firefox */ + url('../font/iconfont.ttf?t=1503292782847') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/ + url('../font/iconfont.svg?t=1503292782847#iconfont') format('svg'); /* iOS 4.1- */ +} + +.iconfont { + font-family:"iconfont" !important; + font-size:16px; + font-style:normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-tab03:before { content: "\e60d"; } +.icon-tab01:before { content: "\e60e"; } +.icon-tab02:before { content: "\e60f"; } +.icon-tab04:before { content: "\e610"; } +.icon-addProperty:before { content: "\e612"; } + +.contentSuggest .noData{background:#fff;height:100%;text-align:center;padding-top:5rem;} +.contentSuggest .noData img{width:30%;margin:0 auto;} +.contentSuggest .noData p{color:#666;margin-top:0.5rem;margin-bottom:1.5rem;} +.contentSuggest .noData a{text-decoration:underline;} + + +.contentList .noData{background:#fff;height:100%;text-align:center;padding-top:5rem;} +.contentList .noData img{width:30%;margin:0 auto;} +.contentList .noData p{color:#666;margin-top:0.5rem;margin-bottom:1.5rem;} +.contentList .noData a{text-decoration:underline;} + +/* 滑块 */ +.rangeBox{width:100%;height:12px;position:relative;} +.rangeBg{width:100%;height:12px;background:#eee;border-radius:10px;position:absolute;left:0;top:7px;} +input[type=range] { + -webkit-appearance: none; + width: 100%; + border-radius: 10px; /*这个属性设置使填充进度条时的图形为圆角*/ +/* background: #eee;*/ +/* background: -webkit-linear-gradient(#18a2ff, #18a2ff) no-repeat;*/ + opacity: 0.9; + background-size: 0% 100%; + position: absolute; + left: 0; + top: 7px; +} +input[type=range]::-webkit-slider-thumb { + -webkit-appearance: none; +} +input[type=range]::-webkit-slider-runnable-track { + height: 12px; + border-radius: 10px; /*将轨道设为圆角的*/ + /*box-shadow: 0 1px 1px #def3f8, inset 0 .125em .125em #0d1112; 轨道内置阴影效果*/ +} +input[type=range]:focus { + outline: none; +} +input[type=range]::-webkit-slider-thumb { + -webkit-appearance: none; + height: 25px; + width: 25px; + margin-top: -7px; /*使滑块超出轨道部分的偏移量相等*/ + background: #ffffff; + border-radius: 50%; /*外观设置为圆形*/ + border: solid 0.05em rgba(205, 224, 230, 0.1); /*设置边框*/ + box-shadow: 0 .05em .05em #3b4547; /*添加底部阴影*/ +} + +.rangeNote{display:block;margin-top:20px;} +.rangeNote span{font-size:0.65rem;} +.rangeNote span:last-child{margin-right:0;} +.rangeNote span.span01{margin-right:8.5%;} +.rangeNote span.span01a{margin-left:8%;} +.rangeNote span.span02{margin-right:6.2%;} +.rangeNote span.span03{margin-right:10%;} +.rangeNote span.span04{margin-right:13%;} +.rangeNote span.span05{margin-right:9%;} +.rangeNote span.span06{float:left;} +.rangeNote span.span07{float:right;} + +/* 启动页 */ +.contentStart{background:#21a5fe;} +.contentStart .time{width:65px;height:30px;line-height:1.6rem;text-align:center;font-size:0.7rem;color:#fff;background:rgba(0,0,0,0.3);border-radius:1.25rem;display:block;position:absolute;top:0.75rem;right:0.75rem;} +.contentStart #time{font-size:0.7rem;vertical-align:middle;} +.contentStart img{width:70%;margin:0 auto;margin-top:30%;} +.contentStart #test_btn{background:#fff;color:#21a5fe;width:10rem;margin:0 auto;margin-top:1.5rem;} + +/* 引导盒 */ +.guideBox{width:100%;height:100%;position:absolute;z-index:11000;} +.guideText{width:74%;position:absolute;top:8.5rem;left:50%;margin-left:-37%;} +.guideKnown{width:40%;position:absolute;top:16rem;left:50%;margin-left:-20%;} +.guideSkip{width:10%;position:absolute;top:0.75rem;right:0.75rem;} +.guideBox02 .guideText{top:14rem;} +.guideBox02 .guideKnown{top:10rem;} + +.guideBox01 .link{color:rgba(255,255,255,0.8);line-height:30px;border:solid 1px rgba(255,255,255,0.8);border-radius:0.2rem;padding:0 0.4rem;float:right;margin-top:7.95em;margin-right:0.75rem;} +.guideBox02 .link{margin-top:18.1rem;padding-left:0.8rem;padding-right:0.5rem;} +.guideBox02 .link ul{border-radius:0.5rem;} +.guideBox02 .link.list-block ul:before{height:0;} + +.guideMask{background:rgba(0,0,0,0.6);} + +/**收藏*/ +.collection{position:absolute;right:0.75rem;top:1.4rem;text-align:center;color:#666;font-size:0.7rem;} +.icon-collection01{width:16px;height:16px;background:url(../images/icon-collection01.png) no-repeat center center;background-size:100%;display:block;margin:0 auto;margin-bottom:0.1rem;} +.icon-collection02{width:16px;height:16px;background:url(../images/icon-collection02.png) no-repeat center center;background-size:100%;display:block;margin:0 auto;margin-bottom:0.1rem;} + +.contentSuggest .list-block .item-title.row{margin-left:0;width:100%;} +.contentSuggest .list-block .item-title.row .col-50{margin-left:0;margin-right:4%;} +.contentSuggest .list-block .item-title.row .col-50 p{margin:0;} +.contentSuggest .list-block .item-title.row .col-50 p label{color:#999;font-size:0.75rem;vertical-align:middle;} +.contentSuggest .list-block .item-title.row .col-50 p span{color:#333;font-size:0.75rem;margin-left:-5px;vertical-align:middle;} +.contentSuggest .list-block .item-title.row .col-50 p span.span01{display:inline-block;max-width:160%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;} + + +/* 自适应 */ +@media(min-width:414px){ + .inputTwo .item-link .item-inner .inpu{height:26px;line-height:26px;margin:0 8px;} + .list-block .item-title span.c3a{max-width:220px;} + .textAlignLeft{left:120px;} + label.spacing01{margin-right:41px;} + label.spacing02{margin-right:42px;} + small.spacing01a{margin-right:4.5px;} + .rangeNote span.span01{margin-right:8.5%;} + .rangeNote span.span01a{margin-left:8%;} + .rangeNote span.span02{margin-right:8%;} + .rangeNote span.span03{margin-right:13.5%;} + .rangeNote span.span04{margin-right:16%;} + .rangeNote span.span05{margin-right:13%;} + .guideBox02 .guideText{top:13.8rem;} + .guideBox01 .link{margin-top:8.5em;} + .guideBox02 .link{margin-top:17.7rem;} +} +@media(max-width:360px){ +@media(max-width:375px){ + .list-block .item-title span.c3a{max-width:180px;} + label.spacing01{margin-right:11px;} + label.spacing02{margin-right:12px;} + .rangeNote span.span01{margin-right:8.5%;} + .rangeNote span.span01a{margin-left:9%;} + .rangeNote span.span02{margin-right:8%;} + .rangeNote span.span03{margin-right:14%;} + .rangeNote span.span04{margin-right:15.5%;} + .rangeNote span.span05{margin-right:13%;} +} +@media(max-width:320px){ + .list-block .item-title span.c3a{max-width:112px;} + .inputTwo .item-link .item-inner .inpu{width:50px;} + label.spacing01{margin-right:11px;} + label.spacing02{margin-right:12px;} + .priceInfo div div span{width:125px;} + .rangeNote span.span01{margin-right:8.5%;} + .rangeNote span.span01a{margin-left:8%;} + .rangeNote span.span02{margin-right:6.2%;} + .rangeNote span.span03{margin-right:10%;} + .rangeNote span.span04{margin-right:13%;} + .rangeNote span.span05{margin-right:9%;} +} +@media only screen and (-webkit-min-device-pixel-ratio:2){ + .list-block .item-inner:after{-webkit-transform:scaleY(1);transform:scaleY(1);} +} +@media only screen and (-webkit-min-device-pixel-ratio:3){ + .list-block .item-inner:after{-webkit-transform:scaleY(1);transform:scaleY(1);} +} + +.mark-icon-box {width:24px;height:30px;position:absolute;z-index:98;} +.mark-icon-box .mark-icon { + width: 20px; + height: 30px; + display: block; + cursor: pointer; + font-size: 14px; + color: #fff; + font-weight: bold; + text-align: center; + line-height: 24px; + background: url(../images/dw.png) no-repeat; +} + + + diff --git a/fangija-zsyf/css/mui.min.css b/fangija-zsyf/css/mui.min.css new file mode 100644 index 0000000..f61eee5 --- /dev/null +++ b/fangija-zsyf/css/mui.min.css @@ -0,0 +1,5 @@ +/*! + * ===================================================== + * Mui v3.4.0 (http://dev.dcloud.net.cn/mui) + * ===================================================== + *//*! normalize.css v3.0.1 | MIT License | git.io/normalize */html{font-family:sans-serif;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:0 0}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{margin:.67em 0}mark{color:#000;background:#ff0}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{font:inherit;margin:0;color:inherit}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{cursor:pointer;-webkit-appearance:button}button[disabled],html input[disabled]{cursor:default}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{margin:0 2px;padding:.35em .625em .75em;border:1px solid silver}legend{padding:0;border:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-spacing:0;border-collapse:collapse}td,th{padding:0}*{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;outline:0;-webkit-tap-highlight-color:transparent;-webkit-tap-highlight-color:transparent}body{font-family:'Helvetica Neue',Helvetica,sans-serif;font-size:17px;line-height:21px;color:#000;background-color:#efeff4;-webkit-overflow-scrolling:touch}a{text-decoration:none;color:#007aff}a:active{color:#0062cc}.mui-content{background-color:#efeff4;-webkit-overflow-scrolling:touch}.mui-bar-nav~.mui-content{padding-top:44px}.mui-bar-nav~.mui-content.mui-scroll-wrapper .mui-scrollbar-vertical{top:44px}.mui-bar-header-secondary~.mui-content{padding-top:88px}.mui-bar-header-secondary~.mui-content.mui-scroll-wrapper .mui-scrollbar-vertical{top:88px}.mui-bar-footer~.mui-content{padding-bottom:44px}.mui-bar-footer~.mui-content.mui-scroll-wrapper .mui-scrollbar-vertical{bottom:44px}.mui-bar-footer-secondary~.mui-content{padding-bottom:88px}.mui-bar-footer-secondary~.mui-content.mui-scroll-wrapper .mui-scrollbar-vertical{bottom:88px}.mui-bar-tab~.mui-content{padding-bottom:50px}.mui-bar-tab~.mui-content.mui-scroll-wrapper .mui-scrollbar-vertical{bottom:50px}.mui-bar-footer-secondary-tab~.mui-content{padding-bottom:94px}.mui-bar-footer-secondary-tab~.mui-content.mui-scroll-wrapper .mui-scrollbar-vertical{bottom:94px}.mui-content-padded{margin:10px}.mui-inline{display:inline-block;vertical-align:top}.mui-block{display:block!important}.mui-visibility{visibility:visible!important}.mui-hidden{display:none!important}.mui-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.mui-ellipsis-2{display:-webkit-box;overflow:hidden;white-space:normal!important;text-overflow:ellipsis;word-wrap:break-word;-webkit-line-clamp:2;-webkit-box-orient:vertical}.mui-table{display:table;width:100%;table-layout:fixed}.mui-table-cell{position:relative;display:table-cell}.mui-text-left{text-align:left!important}.mui-text-center{text-align:center!important}.mui-text-justify{text-align:justify!important}.mui-text-right{text-align:right!important}.mui-pull-left{float:left}.mui-pull-right{float:right}.mui-list-unstyled{padding-left:0;list-style:none}.mui-list-inline{margin-left:-5px;padding-left:0;list-style:none}.mui-list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}.mui-clearfix:after,.mui-clearfix:before{display:table;content:' '}.mui-clearfix:after{clear:both}.mui-bg-primary{background-color:#007aff}.mui-bg-positive{background-color:#4cd964}.mui-bg-negative{background-color:#dd524d}.mui-error{margin:88px 35px;padding:10px;border-radius:6px;background-color:#bbb}.mui-subtitle{font-size:15px}h1,h2,h3,h4,h5,h6{line-height:1;margin-top:5px;margin-bottom:5px}.mui-h1,h1{font-size:36px}.mui-h2,h2{font-size:30px}.mui-h3,h3{font-size:24px}.mui-h4,h4{font-size:18px}.mui-h5,h5{font-size:14px;font-weight:400;color:#8f8f94}.mui-h6,h6{font-size:12px;font-weight:400;color:#8f8f94}p{font-size:14px;margin-top:0;margin-bottom:10px;color:#8f8f94}.mui-row:after,.mui-row:before{display:table;content:' '}.mui-row:after{clear:both}.mui-col-sm-1,.mui-col-sm-10,.mui-col-sm-11,.mui-col-sm-12,.mui-col-sm-2,.mui-col-sm-3,.mui-col-sm-4,.mui-col-sm-5,.mui-col-sm-6,.mui-col-sm-7,.mui-col-sm-8,.mui-col-sm-9,.mui-col-xs-1,.mui-col-xs-10,.mui-col-xs-11,.mui-col-xs-12,.mui-col-xs-2,.mui-col-xs-3,.mui-col-xs-4,.mui-col-xs-5,.mui-col-xs-6,.mui-col-xs-7,.mui-col-xs-8,.mui-col-xs-9{position:relative;min-height:1px}.mui-row>[class*=mui-col-]{float:left}.mui-col-xs-12{width:100%}.mui-col-xs-11{width:91.66666667%}.mui-col-xs-10{width:83.33333333%}.mui-col-xs-9{width:75%}.mui-col-xs-8{width:66.66666667%}.mui-col-xs-7{width:58.33333333%}.mui-col-xs-6{width:50%}.mui-col-xs-5{width:41.66666667%}.mui-col-xs-4{width:33.33333333%}.mui-col-xs-3{width:25%}.mui-col-xs-2{width:16.66666667%}.mui-col-xs-1{width:8.33333333%}@media (min-width:400px){.mui-col-sm-12{width:100%}.mui-col-sm-11{width:91.66666667%}.mui-col-sm-10{width:83.33333333%}.mui-col-sm-9{width:75%}.mui-col-sm-8{width:66.66666667%}.mui-col-sm-7{width:58.33333333%}.mui-col-sm-6{width:50%}.mui-col-sm-5{width:41.66666667%}.mui-col-sm-4{width:33.33333333%}.mui-col-sm-3{width:25%}.mui-col-sm-2{width:16.66666667%}.mui-col-sm-1{width:8.33333333%}}.mui-scroll-wrapper{position:absolute;z-index:2;top:0;bottom:0;left:0;overflow:hidden;width:100%}.mui-scroll{position:absolute;z-index:1;width:100%;-webkit-transform:translateZ(0);transform:translateZ(0)}.mui-scrollbar{position:absolute;z-index:9998;overflow:hidden;-webkit-transition:500ms;transition:500ms;transform:translateZ(0px);pointer-events:none;opacity:0}.mui-scrollbar-vertical{top:0;right:1px;bottom:2px;width:4px}.mui-scrollbar-vertical .mui-scrollbar-indicator{width:100%}.mui-scrollbar-horizontal{right:2px;bottom:0;left:2px;height:4px}.mui-scrollbar-horizontal .mui-scrollbar-indicator{height:100%}.mui-scrollbar-indicator{position:absolute;display:block;box-sizing:border-box;-webkit-transition:.01s cubic-bezier(.1,.57,.1,1);transition:.01s cubic-bezier(.1,.57,.1,1);transform:translate(0px,0) translateZ(0px);border:1px solid rgba(255,255,255,.80196);border-radius:2px;background:rgba(0,0,0,.39804)}.mui-plus-pullrefresh .mui-fullscreen .mui-scroll-wrapper .mui-scroll-wrapper,.mui-plus-pullrefresh .mui-fullscreen .mui-slider-group .mui-scroll-wrapper{position:absolute;top:0;bottom:0;left:0;overflow:hidden;width:100%}.mui-plus-pullrefresh .mui-fullscreen .mui-scroll-wrapper .mui-scroll,.mui-plus-pullrefresh .mui-fullscreen .mui-slider-group .mui-scroll{position:absolute;width:100%}.mui-plus-pullrefresh .mui-scroll-wrapper,.mui-plus-pullrefresh .mui-slider-group{position:static;top:auto;bottom:auto;left:auto;overflow:auto;width:auto}.mui-plus-pullrefresh .mui-slider-group{overflow:visible}.mui-plus-pullrefresh .mui-scroll{position:static;width:auto}.mui-off-canvas-wrap .mui-bar{position:absolute!important;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);-webkit-box-shadow:none;box-shadow:none}.mui-off-canvas-wrap{position:relative;z-index:1;overflow:hidden;width:100%;height:100%}.mui-off-canvas-wrap .mui-inner-wrap{position:relative;z-index:1;width:100%;height:100%}.mui-off-canvas-wrap .mui-inner-wrap.mui-transitioning{-webkit-transition:-webkit-transform 350ms;transition:transform 350ms cubic-bezier(.165,.84,.44,1)}.mui-off-canvas-wrap .mui-inner-wrap .mui-off-canvas-left{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.mui-off-canvas-wrap .mui-inner-wrap .mui-off-canvas-right{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.mui-off-canvas-wrap.mui-active{overflow:hidden;height:100%}.mui-off-canvas-wrap.mui-active .mui-off-canvas-backdrop{position:absolute;z-index:998;top:0;right:0;bottom:0;left:0;display:block;transition:background 350ms cubic-bezier(.165,.84,.44,1);background:rgba(0,0,0,.4);box-shadow:-4px 0 4px rgba(0,0,0,.5),4px 0 4px rgba(0,0,0,.5);-webkit-tap-highlight-color:transparent}.mui-off-canvas-wrap.mui-slide-in .mui-off-canvas-right{z-index:10000!important;-webkit-transform:translate3d(100%,0,0)}.mui-off-canvas-wrap.mui-slide-in .mui-off-canvas-left{z-index:10000!important;-webkit-transform:translate3d(-100%,0,0)}.mui-off-canvas-left,.mui-off-canvas-right{position:absolute;z-index:-1;top:0;bottom:0;visibility:hidden;box-sizing:content-box;width:70%;min-height:100%;background:#333;-webkit-overflow-scrolling:touch}.mui-off-canvas-left.mui-transitioning,.mui-off-canvas-right.mui-transitioning{-webkit-transition:-webkit-transform 350ms cubic-bezier(.165,.84,.44,1);transition:transform 350ms cubic-bezier(.165,.84,.44,1)}.mui-off-canvas-left{left:0}.mui-off-canvas-right{right:0}.mui-off-canvas-wrap:not(.mui-slide-in).mui-scalable{background-color:#333}.mui-off-canvas-wrap:not(.mui-slide-in).mui-scalable>.mui-off-canvas-left,.mui-off-canvas-wrap:not(.mui-slide-in).mui-scalable>.mui-off-canvas-right{width:80%;-webkit-transform:scale(.8);transform:scale(.8);opacity:.1}.mui-off-canvas-wrap:not(.mui-slide-in).mui-scalable>.mui-off-canvas-left.mui-transitioning,.mui-off-canvas-wrap:not(.mui-slide-in).mui-scalable>.mui-off-canvas-right.mui-transitioning{-webkit-transition:-webkit-transform 350ms cubic-bezier(.165,.84,.44,1),opacity 350ms cubic-bezier(.165,.84,.44,1);transition:transform 350ms cubic-bezier(.165,.84,.44,1),opacity 350ms cubic-bezier(.165,.84,.44,1)}.mui-off-canvas-wrap:not(.mui-slide-in).mui-scalable>.mui-off-canvas-left{-webkit-transform-origin:-100%;transform-origin:-100%}.mui-off-canvas-wrap:not(.mui-slide-in).mui-scalable>.mui-off-canvas-right{-webkit-transform-origin:200%;transform-origin:200%}.mui-off-canvas-wrap:not(.mui-slide-in).mui-scalable.mui-active>.mui-inner-wrap{-webkit-transform:scale(.8);transform:scale(.8)}.mui-off-canvas-wrap:not(.mui-slide-in).mui-scalable.mui-active>.mui-off-canvas-left,.mui-off-canvas-wrap:not(.mui-slide-in).mui-scalable.mui-active>.mui-off-canvas-right{-webkit-transform:scale(1);transform:scale(1);opacity:1}.mui-loading .mui-spinner{display:block;margin:0 auto}.mui-spinner{display:inline-block;width:24px;height:24px;-webkit-transform-origin:50%;transform-origin:50%;-webkit-animation:spinner-spin 1s step-end infinite;animation:spinner-spin 1s step-end infinite}.mui-spinner:after{display:block;width:100%;height:100%;content:'';background-image:url('data:image/svg+xml;charset=utf-8,');background-repeat:no-repeat;background-position:50%;background-size:100%}.mui-spinner-white:after{background-image:url('data:image/svg+xml;charset=utf-8,')}@-webkit-keyframes spinner-spin{0%{-webkit-transform:rotate(0deg)}8.33333333%{-webkit-transform:rotate(30deg)}16.66666667%{-webkit-transform:rotate(60deg)}25%{-webkit-transform:rotate(90deg)}33.33333333%{-webkit-transform:rotate(120deg)}41.66666667%{-webkit-transform:rotate(150deg)}50%{-webkit-transform:rotate(180deg)}58.33333333%{-webkit-transform:rotate(210deg)}66.66666667%{-webkit-transform:rotate(240deg)}75%{-webkit-transform:rotate(270deg)}83.33333333%{-webkit-transform:rotate(300deg)}91.66666667%{-webkit-transform:rotate(330deg)}100%{-webkit-transform:rotate(360deg)}}@keyframes spinner-spin{0%{transform:rotate(0deg)}8.33333333%{transform:rotate(30deg)}16.66666667%{transform:rotate(60deg)}25%{transform:rotate(90deg)}33.33333333%{transform:rotate(120deg)}41.66666667%{transform:rotate(150deg)}50%{transform:rotate(180deg)}58.33333333%{transform:rotate(210deg)}66.66666667%{transform:rotate(240deg)}75%{transform:rotate(270deg)}83.33333333%{transform:rotate(300deg)}91.66666667%{transform:rotate(330deg)}100%{transform:rotate(360deg)}}.mui-btn,button,input[type=button],input[type=reset],input[type=submit]{font-size:14px;font-weight:400;line-height:1.42;position:relative;display:inline-block;margin-bottom:0;padding:6px 12px;cursor:pointer;-webkit-transition:all;transition:all;-webkit-transition-timing-function:linear;transition-timing-function:linear;-webkit-transition-duration:.2s;transition-duration:.2s;text-align:center;vertical-align:top;white-space:nowrap;color:#333;border:1px solid #ccc;border-radius:3px;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;background-color:#fff;background-clip:padding-box}.mui-btn.mui-active:enabled,.mui-btn:enabled:active,button.mui-active:enabled,button:enabled:active,input[type=button].mui-active:enabled,input[type=button]:enabled:active,input[type=reset].mui-active:enabled,input[type=reset]:enabled:active,input[type=submit].mui-active:enabled,input[type=submit]:enabled:active{color:#fff;background-color:#929292}.mui-btn.mui-disabled,.mui-btn:disabled,button.mui-disabled,button:disabled,input[type=button].mui-disabled,input[type=button]:disabled,input[type=reset].mui-disabled,input[type=reset]:disabled,input[type=submit].mui-disabled,input[type=submit]:disabled{opacity:.6}.mui-btn-blue,.mui-btn-primary,input[type=submit]{color:#fff;border:1px solid #007aff;background-color:#007aff}.mui-btn-blue.mui-active:enabled,.mui-btn-blue:enabled:active,.mui-btn-primary.mui-active:enabled,.mui-btn-primary:enabled:active,input[type=submit].mui-active:enabled,input[type=submit]:enabled:active{color:#fff;border:1px solid #0062cc;background-color:#0062cc}.mui-btn-green,.mui-btn-positive,.mui-btn-success{color:#fff;border:1px solid #4cd964;background-color:#4cd964}.mui-btn-green.mui-active:enabled,.mui-btn-green:enabled:active,.mui-btn-positive.mui-active:enabled,.mui-btn-positive:enabled:active,.mui-btn-success.mui-active:enabled,.mui-btn-success:enabled:active{color:#fff;border:1px solid #2ac845;background-color:#2ac845}.mui-btn-warning,.mui-btn-yellow{color:#fff;border:1px solid #f0ad4e;background-color:#f0ad4e}.mui-btn-warning.mui-active:enabled,.mui-btn-warning:enabled:active,.mui-btn-yellow.mui-active:enabled,.mui-btn-yellow:enabled:active{color:#fff;border:1px solid #ec971f;background-color:#ec971f}.mui-btn-danger,.mui-btn-negative,.mui-btn-red{color:#fff;border:1px solid #dd524d;background-color:#dd524d}.mui-btn-danger.mui-active:enabled,.mui-btn-danger:enabled:active,.mui-btn-negative.mui-active:enabled,.mui-btn-negative:enabled:active,.mui-btn-red.mui-active:enabled,.mui-btn-red:enabled:active{color:#fff;border:1px solid #cf2d28;background-color:#cf2d28}.mui-btn-purple,.mui-btn-royal{color:#fff;border:1px solid #8a6de9;background-color:#8a6de9}.mui-btn-purple.mui-active:enabled,.mui-btn-purple:enabled:active,.mui-btn-royal.mui-active:enabled,.mui-btn-royal:enabled:active{color:#fff;border:1px solid #6641e2;background-color:#6641e2}.mui-btn-grey{color:#fff;border:1px solid #c7c7cc;background-color:#c7c7cc}.mui-btn-grey.mui-active:enabled,.mui-btn-grey:enabled:active{color:#fff;border:1px solid #acacb4;background-color:#acacb4}.mui-btn-outlined{background-color:transparent}.mui-btn-outlined.mui-btn-blue,.mui-btn-outlined.mui-btn-primary{color:#007aff}.mui-btn-outlined.mui-btn-green,.mui-btn-outlined.mui-btn-positive,.mui-btn-outlined.mui-btn-success{color:#4cd964}.mui-btn-outlined.mui-btn-warning,.mui-btn-outlined.mui-btn-yellow{color:#f0ad4e}.mui-btn-outlined.mui-btn-danger,.mui-btn-outlined.mui-btn-negative,.mui-btn-outlined.mui-btn-red{color:#dd524d}.mui-btn-outlined.mui-btn-purple,.mui-btn-outlined.mui-btn-royal{color:#8a6de9}.mui-btn-outlined.mui-btn-blue:enabled:active,.mui-btn-outlined.mui-btn-danger:enabled:active,.mui-btn-outlined.mui-btn-green:enabled:active,.mui-btn-outlined.mui-btn-negative:enabled:active,.mui-btn-outlined.mui-btn-positive:enabled:active,.mui-btn-outlined.mui-btn-primary:enabled:active,.mui-btn-outlined.mui-btn-purple:enabled:active,.mui-btn-outlined.mui-btn-red:enabled:active,.mui-btn-outlined.mui-btn-royal:enabled:active,.mui-btn-outlined.mui-btn-success:enabled:active,.mui-btn-outlined.mui-btn-warning:enabled:active,.mui-btn-outlined.mui-btn-yellow:enabled:active{color:#fff}.mui-btn-link{padding-top:6px;padding-bottom:6px;color:#007aff;border:0;background-color:transparent}.mui-btn-link.mui-active:enabled,.mui-btn-link:enabled:active{color:#0062cc;background-color:transparent}.mui-btn-block{font-size:18px;display:block;width:100%;margin-bottom:10px;padding:15px 0}.mui-btn .mui-badge{font-size:14px;margin:-2px -4px -2px 4px;background-color:rgba(0,0,0,.15)}.mui-btn .mui-badge-inverted,.mui-btn:enabled:active .mui-badge-inverted{background-color:transparent}.mui-btn-negative:enabled:active .mui-badge-inverted,.mui-btn-positive:enabled:active .mui-badge-inverted,.mui-btn-primary:enabled:active .mui-badge-inverted{color:#fff}.mui-btn-block .mui-badge{position:absolute;right:0;margin-right:10px}.mui-btn .mui-icon{font-size:inherit}.mui-btn.mui-icon{font-size:14px;line-height:1.42}.mui-btn.mui-fab{width:56px;height:56px;padding:16px;border-radius:50%;outline:0}.mui-btn.mui-fab.mui-btn-mini{width:40px;height:40px;padding:8px}.mui-btn.mui-fab .mui-icon{font-size:24px;line-height:24px;width:24px;height:24px}.mui-btn .mui-spinner{width:14px;height:14px;vertical-align:text-bottom}.mui-btn-block .mui-spinner{width:22px;height:22px}.mui-bar{position:fixed;z-index:10;right:0;left:0;height:44px;padding-right:10px;padding-left:10px;border-bottom:0;background-color:#f7f7f7;-webkit-box-shadow:0 0 1px rgba(0,0,0,.85);box-shadow:0 0 1px rgba(0,0,0,.85);-webkit-backface-visibility:hidden;backface-visibility:hidden}.mui-bar .mui-title{right:40px;left:40px;display:inline-block;overflow:hidden;width:auto;margin:0;text-overflow:ellipsis}.mui-bar .mui-backdrop{background:0 0}.mui-bar-header-secondary{top:44px}.mui-bar-footer{bottom:0}.mui-bar-footer-secondary{bottom:44px}.mui-bar-footer-secondary-tab{bottom:50px}.mui-bar-footer,.mui-bar-footer-secondary,.mui-bar-footer-secondary-tab{border-top:0}.mui-bar-transparent{top:0;background-color:rgba(247,247,247,0);-webkit-box-shadow:none;box-shadow:none}.mui-bar-nav{top:0;-webkit-box-shadow:0 1px 6px #ccc;box-shadow:0 1px 6px #ccc}.mui-bar-nav~.mui-content .mui-anchor{display:block;visibility:hidden;height:45px;margin-top:-45px}.mui-bar-nav.mui-bar .mui-icon{margin-right:-10px;margin-left:-10px;padding-right:10px;padding-left:10px}.mui-title{font-size:17px;font-weight:500;line-height:44px;position:absolute;display:block;width:100%;margin:0 -10px;padding:0;text-align:center;white-space:nowrap;color:#000}.mui-title a{color:inherit}.mui-bar-tab{bottom:0;display:table;width:100%;height:50px;padding:0;table-layout:fixed;border-top:0;border-bottom:0;-webkit-touch-callout:none}.mui-bar-tab .mui-tab-item{display:table-cell;overflow:hidden;width:1%;height:50px;text-align:center;vertical-align:middle;white-space:nowrap;text-overflow:ellipsis;color:#929292}.mui-bar-tab .mui-tab-item.mui-active{color:#007aff}.mui-bar-tab .mui-tab-item .mui-icon{top:3px;width:24px;height:24px;padding-top:0;padding-bottom:0}.mui-bar-tab .mui-tab-item .mui-icon~.mui-tab-label{font-size:11px;display:block;overflow:hidden;text-overflow:ellipsis}.mui-bar-tab .mui-tab-item .mui-icon:active{background:0 0}.mui-focusin>.mui-bar-header-secondary,.mui-focusin>.mui-bar-nav{position:absolute}.mui-focusin>.mui-bar~.mui-content{padding-bottom:0}.mui-bar .mui-btn{font-weight:400;position:relative;z-index:20;top:7px;margin-top:0;padding:6px 12px 7px}.mui-bar .mui-btn.mui-pull-right{margin-left:10px}.mui-bar .mui-btn.mui-pull-left{margin-right:10px}.mui-bar .mui-btn-link{font-size:16px;line-height:44px;top:0;padding:0;color:#007aff;border:0}.mui-bar .mui-btn-link.mui-active,.mui-bar .mui-btn-link:active{color:#0062cc}.mui-bar .mui-btn-block{font-size:16px;top:6px;margin-bottom:0;padding:5px 0}.mui-bar .mui-btn-nav.mui-pull-left{margin-left:-5px}.mui-bar .mui-btn-nav.mui-pull-left .mui-icon-left-nav{margin-right:-3px}.mui-bar .mui-btn-nav.mui-pull-right{margin-right:-5px}.mui-bar .mui-btn-nav.mui-pull-right .mui-icon-right-nav{margin-left:-3px}.mui-bar .mui-btn-nav:active{opacity:.3}.mui-bar .mui-icon{font-size:24px;position:relative;z-index:20;padding-top:10px;padding-bottom:10px}.mui-bar .mui-icon:active{opacity:.3}.mui-bar .mui-btn .mui-icon{top:1px;margin:0;padding:0}.mui-bar .mui-title .mui-icon{margin:0;padding:0}.mui-bar .mui-title .mui-icon.mui-icon-caret{top:4px;margin-left:-5px}.mui-bar input[type=search]{height:29px;margin:6px 0}.mui-bar .mui-input-row .mui-btn{padding:12px 10px}.mui-bar .mui-search:before{margin-top:-10px}.mui-bar .mui-input-row .mui-input-clear~.mui-icon-clear,.mui-bar .mui-input-row .mui-input-speech~.mui-icon-speech{top:0;right:12px}.mui-bar.mui-bar-header-secondary .mui-input-row .mui-input-clear~.mui-icon-clear,.mui-bar.mui-bar-header-secondary .mui-input-row .mui-input-speech~.mui-icon-speech{top:0;right:0}.mui-bar .mui-segmented-control{top:7px;width:auto;margin:0 auto}.mui-bar.mui-bar-header-secondary .mui-segmented-control{top:0}.mui-badge{font-size:12px;line-height:1;display:inline-block;padding:3px 6px;color:#333;border-radius:100px;background-color:rgba(0,0,0,.15)}.mui-badge.mui-badge-inverted{padding:0 5px 0 0;color:#929292;background-color:transparent}.mui-badge-blue,.mui-badge-primary{color:#fff;background-color:#007aff}.mui-badge-blue.mui-badge-inverted,.mui-badge-primary.mui-badge-inverted{color:#007aff;background-color:transparent}.mui-badge-green,.mui-badge-success{color:#fff;background-color:#4cd964}.mui-badge-green.mui-badge-inverted,.mui-badge-success.mui-badge-inverted{color:#4cd964;background-color:transparent}.mui-badge-warning,.mui-badge-yellow{color:#fff;background-color:#f0ad4e}.mui-badge-warning.mui-badge-inverted,.mui-badge-yellow.mui-badge-inverted{color:#f0ad4e;background-color:transparent}.mui-badge-danger,.mui-badge-red{color:#fff;background-color:#dd524d}.mui-badge-danger.mui-badge-inverted,.mui-badge-red.mui-badge-inverted{color:#dd524d;background-color:transparent}.mui-badge-purple,.mui-badge-royal{color:#fff;background-color:#8a6de9}.mui-badge-purple.mui-badge-inverted,.mui-badge-royal.mui-badge-inverted{color:#8a6de9;background-color:transparent}.mui-icon .mui-badge{font-size:10px;line-height:1.4;position:absolute;top:-2px;left:100%;margin-left:-10px;padding:1px 5px;color:#fff;background:red}.mui-card{font-size:14px;position:relative;overflow:hidden;margin:10px;border-radius:2px;background-color:#fff;background-clip:padding-box;box-shadow:0 1px 2px rgba(0,0,0,.3)}.mui-content>.mui-card:first-child{margin-top:15px}.mui-card .mui-input-group .mui-input-row:last-child:after,.mui-card .mui-input-group .mui-input-row:last-child:before,.mui-card .mui-input-group:after,.mui-card .mui-input-group:before{height:0}.mui-card .mui-table-view{margin-bottom:0;border-top:0;border-bottom:0;border-radius:6px}.mui-card .mui-table-view .mui-table-view-cell:first-child,.mui-card .mui-table-view .mui-table-view-divider:first-child{top:0;border-top-left-radius:6px;border-top-right-radius:6px}.mui-card .mui-table-view .mui-table-view-cell:last-child,.mui-card .mui-table-view .mui-table-view-divider:last-child{border-bottom-right-radius:6px;border-bottom-left-radius:6px}.mui-card .mui-table-view:after,.mui-card .mui-table-view:before,.mui-card>.mui-table-view>.mui-table-view-cell:last-child:after,.mui-card>.mui-table-view>.mui-table-view-cell:last-child:before{height:0}.mui-card-footer,.mui-card-header{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;min-height:44px;padding:10px 15px;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.mui-card-footer .mui-card-link,.mui-card-header .mui-card-link{line-height:44px;position:relative;display:-webkit-box;display:-webkit-flex;display:flex;height:44px;margin-top:-10px;margin-bottom:-10px;-webkit-transition-duration:.3s;transition-duration:.3s;text-decoration:none;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.mui-card-footer:before,.mui-card-header:after{position:absolute;top:0;right:0;left:0;height:1px;content:'';-webkit-transform:scaleY(.5);transform:scaleY(.5);background-color:#c8c7cc}.mui-card-header{font-size:17px;border-radius:2px 2px 0 0}.mui-card-header:after{top:auto;bottom:0}.mui-card-header>img:first-child{font-size:0;line-height:0;float:left;width:34px;height:34px}.mui-card-footer{color:#6d6d72;border-radius:0 0 2px 2px}.mui-card-content{font-size:14px;position:relative}.mui-card-content-inner{position:relative;padding:15px}.mui-card-media{vertical-align:bottom;color:#fff;background-position:center;background-size:cover}.mui-card-header.mui-card-media{display:block;padding:10px}.mui-card-header.mui-card-media .mui-media-body{font-size:14px;font-weight:500;line-height:17px;margin-bottom:0;margin-left:44px;color:#333}.mui-card-header.mui-card-media .mui-media-body p{font-size:13px;margin-bottom:0}.mui-table-view{position:relative;margin-top:0;margin-bottom:0;padding-left:0;list-style:none;background-color:#fff}.mui-table-view:after{position:absolute;right:0;bottom:0;left:0;height:1px;content:'';-webkit-transform:scaleY(.5);transform:scaleY(.5);background-color:#c8c7cc}.mui-table-view:before{position:absolute;right:0;left:0;height:1px;content:'';-webkit-transform:scaleY(.5);transform:scaleY(.5);background-color:#c8c7cc;top:-1px}.mui-table-view-icon .mui-table-view-cell .mui-navigate-right .mui-icon{font-size:20px;margin-top:-1px;margin-right:5px;margin-left:-5px}.mui-table-view-icon .mui-table-view-cell:after{left:40px}.mui-table-view-chevron .mui-table-view-cell{padding-right:65px}.mui-table-view-chevron .mui-table-view-cell>a:not(.mui-btn){margin-right:-65px}.mui-table-view-radio .mui-table-view-cell{padding-right:65px}.mui-table-view-radio .mui-table-view-cell>a:not(.mui-btn){margin-right:-65px}.mui-table-view-radio .mui-table-view-cell .mui-navigate-right:after{font-size:30px;font-weight:600;right:9px;content:'';color:#007aff}.mui-table-view-radio .mui-table-view-cell.mui-selected .mui-navigate-right:after{content:'\e472'}.mui-table-view-inverted{color:#fff;background:#333}.mui-table-view-inverted:after{position:absolute;right:0;bottom:0;left:0;height:1px;content:'';-webkit-transform:scaleY(.5);transform:scaleY(.5);background-color:#222}.mui-table-view-inverted:before{position:absolute;top:0;right:0;left:0;height:1px;content:'';-webkit-transform:scaleY(.5);transform:scaleY(.5);background-color:#222}.mui-table-view-inverted .mui-table-view-cell:after{position:absolute;right:0;bottom:0;left:15px;height:1px;content:'';-webkit-transform:scaleY(.5);transform:scaleY(.5);background-color:#222}.mui-table-view-inverted .mui-table-view-cell.mui-active,.mui-table-view-inverted .mui-table-view-cell>a:not(.mui-btn).mui-active{background-color:#242424}.mui-table-view-cell{position:relative;overflow:hidden;padding:11px 15px;-webkit-touch-callout:none}.mui-table-view-cell:after{position:absolute;right:0;bottom:0;left:15px;height:1px;content:'';-webkit-transform:scaleY(.5);transform:scaleY(.5);background-color:#c8c7cc}.mui-table-view-cell.mui-checkbox input[type=checkbox],.mui-table-view-cell.mui-radio input[type=radio]{top:8px}.mui-table-view-cell.mui-checkbox.mui-left,.mui-table-view-cell.mui-radio.mui-left{padding-left:58px}.mui-table-view-cell.mui-active{background-color:#eee}.mui-table-view-cell:last-child:after,.mui-table-view-cell:last-child:before{height:0}.mui-table-view-cell>a:not(.mui-btn){position:relative;display:block;overflow:hidden;margin:-11px -15px;padding:inherit;white-space:nowrap;text-overflow:ellipsis;color:inherit}.mui-table-view-cell>a:not(.mui-btn).mui-active{background-color:#eee}.mui-table-view-cell p{margin-bottom:0}.mui-table-view-cell.mui-transitioning>.mui-slider-handle,.mui-table-view-cell.mui-transitioning>.mui-slider-left .mui-btn,.mui-table-view-cell.mui-transitioning>.mui-slider-right .mui-btn{-webkit-transition:-webkit-transform 300ms ease;transition:transform 300ms ease}.mui-table-view-cell.mui-active>.mui-slider-handle{background-color:#eee}.mui-table-view-cell>.mui-slider-handle{position:relative;background-color:#fff}.mui-table-view-cell>.mui-slider-handle .mui-navigate-right:after,.mui-table-view-cell>.mui-slider-handle.mui-navigate-right:after{right:0}.mui-table-view-cell>.mui-slider-handle,.mui-table-view-cell>.mui-slider-left .mui-btn,.mui-table-view-cell>.mui-slider-right .mui-btn{-webkit-transition:-webkit-transform 0ms ease;transition:transform 0ms ease}.mui-table-view-cell>.mui-slider-left,.mui-table-view-cell>.mui-slider-right{position:absolute;top:0;display:-webkit-box;display:-webkit-flex;display:flex;height:100%}.mui-table-view-cell>.mui-slider-left>.mui-btn,.mui-table-view-cell>.mui-slider-right>.mui-btn{position:relative;left:0;display:-webkit-box;display:-webkit-flex;display:flex;padding:0 30px;color:#fff;border:0;border-radius:0;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.mui-table-view-cell>.mui-slider-left>.mui-btn:after,.mui-table-view-cell>.mui-slider-right>.mui-btn:after{position:absolute;z-index:-1;top:0;width:600%;height:100%;content:'';background:inherit}.mui-table-view-cell>.mui-slider-left>.mui-btn.mui-icon,.mui-table-view-cell>.mui-slider-right>.mui-btn.mui-icon{font-size:30px}.mui-table-view-cell>.mui-slider-right{right:0;-webkit-transition:-webkit-transform 0ms ease;transition:transform 0ms ease;-webkit-transform:translateX(100%);transform:translateX(100%)}.mui-table-view-cell>.mui-slider-left{left:0;-webkit-transition:-webkit-transform 0ms ease;transition:transform 0ms ease;-webkit-transform:translateX(-100%);transform:translateX(-100%)}.mui-table-view-cell>.mui-slider-left>.mui-btn:after{right:100%;margin-right:-1px}.mui-table-view-divider{font-weight:500;position:relative;margin-top:-1px;margin-left:0;padding-top:6px;padding-bottom:6px;padding-left:15px;color:#999;background-color:#fafafa}.mui-table-view-divider:after{position:absolute;right:0;bottom:0;left:0;height:1px;content:'';-webkit-transform:scaleY(.5);transform:scaleY(.5);background-color:#c8c7cc}.mui-table-view-divider:before{position:absolute;top:0;right:0;left:0;height:1px;content:'';-webkit-transform:scaleY(.5);transform:scaleY(.5);background-color:#c8c7cc}.mui-table-view .mui-media,.mui-table-view .mui-media-body{overflow:hidden}.mui-table-view .mui-media-large .mui-media-object{line-height:80px;max-width:80px;height:80px}.mui-table-view .mui-media .mui-subtitle{color:#000}.mui-table-view .mui-media-object{line-height:42px;max-width:42px;height:42px}.mui-table-view .mui-media-object.mui-pull-left{margin-right:10px}.mui-table-view .mui-media-object.mui-pull-right{margin-left:10px}.mui-table-view .mui-table-view-cell.mui-media-icon .mui-media-object{line-height:29px;max-width:29px;height:29px;margin:-4px 0}.mui-table-view .mui-table-view-cell.mui-media-icon .mui-media-object img{line-height:29px;max-width:29px;height:29px}.mui-table-view .mui-table-view-cell.mui-media-icon .mui-media-object.mui-pull-left{margin-right:10px}.mui-table-view .mui-table-view-cell.mui-media-icon .mui-media-object .mui-icon{font-size:29px}.mui-table-view .mui-table-view-cell.mui-media-icon .mui-media-body:after{position:absolute;right:0;bottom:0;left:55px;height:1px;content:'';-webkit-transform:scaleY(.5);transform:scaleY(.5);background-color:#c8c7cc}.mui-table-view .mui-table-view-cell.mui-media-icon:after{height:0!important}.mui-table-view.mui-unfold .mui-table-view-cell.mui-collapse .mui-table-view{display:block}.mui-table-view.mui-unfold .mui-table-view-cell.mui-collapse .mui-table-view:after,.mui-table-view.mui-unfold .mui-table-view-cell.mui-collapse .mui-table-view:before{height:0!important}.mui-table-view.mui-unfold .mui-table-view-cell.mui-media-icon.mui-collapse .mui-media-body:after{position:absolute;right:0;bottom:0;left:70px;height:1px;content:'';-webkit-transform:scaleY(.5);transform:scaleY(.5);background-color:#c8c7cc}.mui-table-view-cell>.mui-badge,.mui-table-view-cell>.mui-btn,.mui-table-view-cell>.mui-switch,.mui-table-view-cell>a>.mui-badge,.mui-table-view-cell>a>.mui-btn,.mui-table-view-cell>a>.mui-switch{position:absolute;top:50%;right:15px;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.mui-table-view-cell .mui-navigate-right>.mui-badge,.mui-table-view-cell .mui-navigate-right>.mui-btn,.mui-table-view-cell .mui-navigate-right>.mui-switch,.mui-table-view-cell .mui-push-left>.mui-badge,.mui-table-view-cell .mui-push-left>.mui-btn,.mui-table-view-cell .mui-push-left>.mui-switch,.mui-table-view-cell .mui-push-right>.mui-badge,.mui-table-view-cell .mui-push-right>.mui-btn,.mui-table-view-cell .mui-push-right>.mui-switch,.mui-table-view-cell>a .mui-navigate-right>.mui-badge,.mui-table-view-cell>a .mui-navigate-right>.mui-btn,.mui-table-view-cell>a .mui-navigate-right>.mui-switch,.mui-table-view-cell>a .mui-push-left>.mui-badge,.mui-table-view-cell>a .mui-push-left>.mui-btn,.mui-table-view-cell>a .mui-push-left>.mui-switch,.mui-table-view-cell>a .mui-push-right>.mui-badge,.mui-table-view-cell>a .mui-push-right>.mui-btn,.mui-table-view-cell>a .mui-push-right>.mui-switch{right:35px}.mui-content>.mui-table-view:first-child{margin-top:15px}.mui-table-view-cell.mui-collapse .mui-table-view .mui-table-view-cell:last-child:after,.mui-table-view-cell.mui-collapse .mui-table-view:after,.mui-table-view-cell.mui-collapse .mui-table-view:before{height:0}.mui-table-view-cell.mui-collapse>.mui-navigate-right:after,.mui-table-view-cell.mui-collapse>.mui-push-right:after{content:'\e581'}.mui-table-view-cell.mui-collapse.mui-active{margin-top:-1px}.mui-table-view-cell.mui-collapse.mui-active .mui-collapse-content,.mui-table-view-cell.mui-collapse.mui-active .mui-table-view{display:block}.mui-table-view-cell.mui-collapse.mui-active>.mui-navigate-right:after,.mui-table-view-cell.mui-collapse.mui-active>.mui-push-right:after{content:'\e580'}.mui-table-view-cell.mui-collapse.mui-active .mui-table-view-cell>a:not(.mui-btn).mui-active{margin-left:-31px;padding-left:47px}.mui-table-view-cell.mui-collapse .mui-collapse-content{position:relative;display:none;overflow:hidden;margin:11px -15px -11px;padding:8px 15px;-webkit-transition:height .35s ease;-o-transition:height .35s ease;transition:height .35s ease;background:#fff}.mui-table-view-cell.mui-collapse .mui-collapse-content>.mui-input-group,.mui-table-view-cell.mui-collapse .mui-collapse-content>.mui-slider{width:auto;height:auto;margin:-8px -15px}.mui-table-view-cell.mui-collapse .mui-collapse-content>.mui-slider{margin:-8px -16px}.mui-table-view-cell.mui-collapse .mui-table-view{display:none;margin-top:11px;margin-right:-15px;margin-bottom:-11px;margin-left:-15px;border:0}.mui-table-view-cell.mui-collapse .mui-table-view.mui-table-view-chevron{margin-right:-65px}.mui-table-view-cell.mui-collapse .mui-table-view .mui-table-view-cell{padding-left:31px;background-position:31px 100%}.mui-table-view-cell.mui-collapse .mui-table-view .mui-table-view-cell:after{position:absolute;right:0;bottom:0;left:30px;height:1px;content:'';-webkit-transform:scaleY(.5);transform:scaleY(.5);background-color:#c8c7cc}.mui-table-view.mui-grid-view{font-size:0;display:block;width:100%;padding:0 10px 10px 0;white-space:normal}.mui-table-view.mui-grid-view .mui-table-view-cell{font-size:17px;display:inline-block;margin-right:-4px;padding:10px 0 0 14px;text-align:center;vertical-align:middle;background:0 0}.mui-table-view.mui-grid-view .mui-table-view-cell .mui-media-object{width:100%;max-width:100%;height:auto}.mui-table-view.mui-grid-view .mui-table-view-cell>a:not(.mui-btn){margin:-10px 0 0 -14px}.mui-table-view.mui-grid-view .mui-table-view-cell>a:not(.mui-btn).mui-active,.mui-table-view.mui-grid-view .mui-table-view-cell>a:not(.mui-btn):active{background:0 0}.mui-table-view.mui-grid-view .mui-table-view-cell .mui-media-body{font-size:15px;line-height:15px;display:block;width:100%;height:15px;margin-top:8px;text-overflow:ellipsis;color:#333}.mui-table-view.mui-grid-view .mui-table-view-cell:after,.mui-table-view.mui-grid-view .mui-table-view-cell:before{height:0}.mui-grid-view.mui-grid-9{margin:0;padding:0;border-top:1px solid #eee;border-left:1px solid #eee;background-color:#f2f2f2}.mui-grid-view.mui-grid-9:after,.mui-grid-view.mui-grid-9:before{display:table;content:' '}.mui-grid-view.mui-grid-9:after{clear:both;position:static}.mui-grid-view.mui-grid-9 .mui-table-view-cell{margin:0;padding:11px 15px;vertical-align:top;border-right:1px solid #eee;border-bottom:1px solid #eee}.mui-grid-view.mui-grid-9 .mui-table-view-cell.mui-active{background-color:#eee}.mui-grid-view.mui-grid-9 .mui-table-view-cell>a:not(.mui-btn){margin:0;padding:10px 0}.mui-grid-view.mui-grid-9:before{height:0}.mui-grid-view.mui-grid-9 .mui-media{color:#797979}.mui-grid-view.mui-grid-9 .mui-media .mui-icon{font-size:2.4em;position:relative}.mui-slider-cell{position:relative}.mui-slider-cell>.mui-slider-handle{z-index:1}.mui-slider-cell>.mui-slider-left,.mui-slider-cell>.mui-slider-right{position:absolute;z-index:0;top:0;bottom:0}.mui-slider-cell>.mui-slider-left{left:0}.mui-slider-cell>.mui-slider-right{right:0}input,select,textarea{font-family:'Helvetica Neue',Helvetica,sans-serif;font-size:17px;-webkit-tap-highlight-color:transparent;-webkit-tap-highlight-color:transparent}input:focus,select:focus,textarea:focus{-webkit-tap-highlight-color:transparent;-webkit-tap-highlight-color:transparent;-webkit-user-modify:read-write-plaintext-only}input[type=color],input[type=date],input[type=datetime-local],input[type=datetime],input[type=email],input[type=month],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week],select,textarea{line-height:21px;width:100%;height:40px;margin-bottom:15px;padding:10px 15px;-webkit-user-select:text;border:1px solid rgba(0,0,0,.2);border-radius:3px;outline:0;background-color:#fff;-webkit-appearance:none}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}input[type=search]{font-size:16px;-webkit-box-sizing:border-box;box-sizing:border-box;height:34px;text-align:center;border:0;border-radius:6px;background-color:rgba(0,0,0,.1)}input[type=search]:focus{text-align:left}textarea{height:auto;resize:none}select{font-size:14px;height:auto;margin-top:1px;border:0!important;background-color:#fff}select:focus{-webkit-user-modify:read-only}.mui-input-group{position:relative;padding:0;border:0;background-color:#fff}.mui-input-group:after{position:absolute;right:0;bottom:0;left:0;height:1px;content:'';-webkit-transform:scaleY(.5);transform:scaleY(.5);background-color:#c8c7cc}.mui-input-group:before{position:absolute;top:0;right:0;left:0;height:1px;content:'';-webkit-transform:scaleY(.5);transform:scaleY(.5);background-color:#c8c7cc}.mui-input-group input,.mui-input-group textarea{margin-bottom:0;border:0;border-radius:0;background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.mui-input-group input[type=search]{background:0 0}.mui-input-group input:last-child{background-image:none}.mui-input-row{clear:left;overflow:hidden}.mui-input-row select{font-size:17px;height:37px;padding:0}.mui-input-row .mui-btn+input,.mui-input-row label+input,.mui-input-row:last-child{background:0 0}.mui-input-group .mui-input-row{height:40px}.mui-input-group .mui-input-row:after{position:absolute;right:0;bottom:0;left:15px;height:1px;content:'';-webkit-transform:scaleY(.5);transform:scaleY(.5);background-color:#c8c7cc}.mui-input-row label{font-family:'Helvetica Neue',Helvetica,sans-serif;line-height:1.1;float:left;width:35%;padding:11px 15px}.mui-input-row label~input,.mui-input-row label~select,.mui-input-row label~textarea{float:right;width:65%;margin-bottom:0;padding-left:0;border:0}.mui-input-row .mui-btn{line-height:1.1;float:right;width:15%;padding:10px 15px}.mui-input-row .mui-btn~input,.mui-input-row .mui-btn~select,.mui-input-row .mui-btn~textarea{float:left;width:85%;margin-bottom:0;padding-left:0;border:0}.mui-button-row{position:relative;padding-top:5px;text-align:center}.mui-input-group .mui-button-row{height:45px}.mui-input-row{position:relative}.mui-input-row.mui-input-range{overflow:visible;padding-right:20px}.mui-input-row .mui-inline{padding:8px 0}.mui-input-row .mui-input-clear~.mui-icon-clear,.mui-input-row .mui-input-password~.mui-icon-eye,.mui-input-row .mui-input-speech~.mui-icon-speech{font-size:20px;position:absolute;z-index:1;top:10px;right:0;width:38px;height:38px;text-align:center;color:#999}.mui-input-row .mui-input-clear~.mui-icon-clear.mui-active,.mui-input-row .mui-input-password~.mui-icon-eye.mui-active,.mui-input-row .mui-input-speech~.mui-icon-speech.mui-active{color:#007aff}.mui-input-row .mui-input-speech~.mui-icon-speech{font-size:24px;top:8px}.mui-input-row .mui-input-clear~.mui-icon-clear~.mui-icon-speech{display:none}.mui-input-row .mui-input-clear~.mui-icon-clear.mui-hidden~.mui-icon-speech{display:inline-block}.mui-input-row .mui-icon-speech~.mui-placeholder{right:38px}.mui-input-row.mui-search .mui-icon-clear{top:7px}.mui-input-row.mui-search .mui-icon-speech{top:5px}.mui-checkbox,.mui-radio{position:relative}.mui-checkbox label,.mui-radio label{display:inline-block;float:none;width:100%;padding-right:58px}.mui-checkbox.mui-left input[type=checkbox],.mui-radio.mui-left input[type=radio]{left:20px}.mui-checkbox.mui-left label,.mui-radio.mui-left label{padding-right:15px;padding-left:58px}.mui-checkbox input[type=checkbox],.mui-radio input[type=radio]{position:absolute;top:4px;right:20px;display:inline-block;width:28px;height:26px;border:0;outline:0!important;background-color:transparent;-webkit-appearance:none}.mui-checkbox input[type=checkbox][disabled]:before,.mui-radio input[type=radio][disabled]:before{opacity:.3}.mui-checkbox input[type=checkbox]:before,.mui-radio input[type=radio]:before{font-family:Muiicons;font-size:28px;font-weight:400;line-height:1;text-decoration:none;color:#aaa;border-radius:0;background:0 0;-webkit-font-smoothing:antialiased}.mui-checkbox input[type=checkbox]:checked:before,.mui-radio input[type=radio]:checked:before{color:#007aff}.mui-checkbox label.mui-disabled,.mui-checkbox.mui-disabled label,.mui-radio label.mui-disabled,.mui-radio.mui-disabled label{opacity:.4}.mui-radio input[type=radio]:before{content:'\e411'}.mui-radio input[type=radio]:checked:before{content:'\e441'}.mui-checkbox input[type=checkbox]:before{content:'\e411'}.mui-checkbox input[type=checkbox]:checked:before{content:'\e442'}.mui-select{position:relative}.mui-select:before{font-family:Muiicons;position:absolute;top:8px;right:21px;content:'\e581';color:rgba(170,170,170,.6)}.mui-input-row .mui-switch{float:right;margin-top:5px;margin-right:20px}.mui-input-range input[type=range]{position:relative;width:100%;height:2px;margin:17px 0;padding:0;cursor:pointer;border:0;border-radius:3px;outline:0;background-color:#999;-webkit-appearance:none!important}.mui-input-range input[type=range]::-webkit-slider-thumb{width:28px;height:28px;border-color:#0062cc;border-radius:50%;background-color:#007aff;background-clip:padding-box;-webkit-appearance:none!important}.mui-input-range label~input[type=range]{width:65%}.mui-input-range .mui-tooltip{font-size:36px;line-height:64px;position:absolute;z-index:1;top:-70px;width:64px;height:64px;text-align:center;opacity:.8;color:#333;border:1px solid #ddd;border-radius:6px;background-color:#fff;text-shadow:0 1px 0 #f3f3f3}.mui-search{position:relative}.mui-search input[type=search]{padding-left:30px}.mui-search .mui-placeholder{font-size:16px;line-height:34px;position:absolute;z-index:1;top:0;right:0;bottom:0;left:0;display:inline-block;height:34px;text-align:center;color:#999;border:0;border-radius:6px;background:0 0}.mui-search .mui-placeholder .mui-icon{font-size:20px;color:#333}.mui-search:before{font-family:Muiicons;font-size:20px;font-weight:400;position:absolute;top:50%;right:50%;display:none;margin-top:-18px;margin-right:31px;content:'\e466'}.mui-search.mui-active:before{font-size:20px;right:auto;left:5px;display:block;margin-right:0}.mui-search.mui-active input[type=search]{text-align:left}.mui-search.mui-active .mui-placeholder{display:none}.mui-segmented-control{font-size:15px;font-weight:400;position:relative;display:table;overflow:hidden;width:100%;table-layout:fixed;border:1px solid #007aff;border-radius:3px;background-color:transparent;-webkit-touch-callout:none}.mui-segmented-control.mui-segmented-control-vertical{border-collapse:collapse;border-width:0;border-radius:0}.mui-segmented-control.mui-segmented-control-vertical .mui-control-item{display:block;border-bottom:1px solid #c8c7cc;border-left-width:0}.mui-segmented-control.mui-scroll-wrapper{height:38px}.mui-segmented-control.mui-scroll-wrapper .mui-scroll{width:auto;height:40px;white-space:nowrap}.mui-segmented-control.mui-scroll-wrapper .mui-control-item{display:inline-block;width:auto;padding:0 20px;border:0}.mui-segmented-control .mui-control-item{line-height:38px;display:table-cell;overflow:hidden;width:1%;-webkit-transition:background-color .1s linear;transition:background-color .1s linear;text-align:center;white-space:nowrap;text-overflow:ellipsis;color:#007aff;border-color:#007aff;border-left:1px solid #007aff}.mui-segmented-control .mui-control-item:first-child{border-left-width:0}.mui-segmented-control .mui-control-item.mui-active{color:#fff;background-color:#007aff}.mui-segmented-control.mui-segmented-control-inverted{width:100%;border:0;border-radius:0}.mui-segmented-control.mui-segmented-control-inverted.mui-segmented-control-vertical .mui-control-item,.mui-segmented-control.mui-segmented-control-inverted.mui-segmented-control-vertical .mui-control-item.mui-active{border-bottom:1px solid #c8c7cc}.mui-segmented-control.mui-segmented-control-inverted .mui-control-item{color:inherit;border:0}.mui-segmented-control.mui-segmented-control-inverted .mui-control-item.mui-active{color:#007aff;border-bottom:2px solid #007aff;background:0 0}.mui-segmented-control.mui-segmented-control-inverted~.mui-slider-progress-bar{background-color:#007aff}.mui-segmented-control-positive{border:1px solid #4cd964}.mui-segmented-control-positive .mui-control-item{color:#4cd964;border-color:inherit}.mui-segmented-control-positive .mui-control-item.mui-active{color:#fff;background-color:#4cd964}.mui-segmented-control-positive.mui-segmented-control-inverted .mui-control-item.mui-active{color:#4cd964;border-bottom:2px solid #4cd964;background:0 0}.mui-segmented-control-positive.mui-segmented-control-inverted~.mui-slider-progress-bar{background-color:#4cd964}.mui-segmented-control-negative{border:1px solid #dd524d}.mui-segmented-control-negative .mui-control-item{color:#dd524d;border-color:inherit}.mui-segmented-control-negative .mui-control-item.mui-active{color:#fff;background-color:#dd524d}.mui-segmented-control-negative.mui-segmented-control-inverted .mui-control-item.mui-active{color:#dd524d;border-bottom:2px solid #dd524d;background:0 0}.mui-segmented-control-negative.mui-segmented-control-inverted~.mui-slider-progress-bar{background-color:#dd524d}.mui-control-content{position:relative;display:none}.mui-control-content.mui-active{display:block}.mui-popover{position:absolute;z-index:999;display:none;width:280px;-webkit-transition:opacity .3s;transition:opacity .3s;-webkit-transition-property:opacity;transition-property:opacity;-webkit-transform:none;transform:none;opacity:0;border-radius:7px;background-color:#f7f7f7;-webkit-box-shadow:0 0 15px rgba(0,0,0,.1);box-shadow:0 0 15px rgba(0,0,0,.1)}.mui-popover .mui-popover-arrow{position:absolute;z-index:1000;top:-25px;left:0;overflow:hidden;width:26px;height:26px}.mui-popover .mui-popover-arrow:after{position:absolute;top:19px;left:0;width:26px;height:26px;content:' ';-webkit-transform:rotate(45deg);transform:rotate(45deg);border-radius:3px;background:#f7f7f7}.mui-popover .mui-popover-arrow.mui-bottom{top:100%;left:-26px;margin-top:-1px}.mui-popover .mui-popover-arrow.mui-bottom:after{top:-19px;left:0}.mui-popover.mui-popover-action{bottom:0;width:100%;-webkit-transition:-webkit-transform .3s,opacity .3s;transition:transform .3s,opacity .3s;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);border-radius:0;background:0 0;-webkit-box-shadow:none;box-shadow:none}.mui-popover.mui-popover-action .mui-popover-arrow{display:none}.mui-popover.mui-popover-action.mui-popover-bottom{position:fixed}.mui-popover.mui-popover-action.mui-active{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.mui-popover.mui-popover-action .mui-table-view{margin:8px;text-align:center;color:#007aff;border-radius:4px}.mui-popover.mui-popover-action .mui-table-view .mui-table-view-cell:after{position:absolute;right:0;bottom:0;left:0;height:1px;content:'';-webkit-transform:scaleY(.5);transform:scaleY(.5);background-color:#c8c7cc}.mui-popover.mui-popover-action .mui-table-view small{font-weight:400;line-height:1.3;display:block}.mui-popover.mui-active{display:block;opacity:1}.mui-popover .mui-bar~.mui-table-view{padding-top:44px}.mui-backdrop{position:fixed;z-index:998;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,.3)}.mui-bar-backdrop.mui-backdrop{bottom:50px;background:0 0}.mui-backdrop-action.mui-backdrop{background-color:rgba(0,0,0,.3)}.mui-backdrop-action.mui-backdrop,.mui-bar-backdrop.mui-backdrop{opacity:0}.mui-backdrop-action.mui-backdrop.mui-active,.mui-bar-backdrop.mui-backdrop.mui-active{-webkit-transition:all .4s ease;transition:all .4s ease;opacity:1}.mui-popover .mui-btn-block{margin-bottom:5px}.mui-popover .mui-btn-block:last-child{margin-bottom:0}.mui-popover .mui-bar{-webkit-box-shadow:none;box-shadow:none}.mui-popover .mui-bar-nav{border-bottom:1px solid rgba(0,0,0,.15);border-top-left-radius:12px;border-top-right-radius:12px;-webkit-box-shadow:none;box-shadow:none}.mui-popover .mui-scroll-wrapper{margin:7px 0;border-radius:7px;background-clip:padding-box}.mui-popover .mui-scroll .mui-table-view{max-height:none}.mui-popover .mui-table-view{overflow:auto;max-height:300px;margin-bottom:0;border-radius:7px;background-color:#f7f7f7;background-image:none;-webkit-overflow-scrolling:touch}.mui-popover .mui-table-view:after,.mui-popover .mui-table-view:before{height:0}.mui-popover .mui-table-view .mui-table-view-cell:first-child,.mui-popover .mui-table-view .mui-table-view-cell:first-child>a:not(.mui-btn){border-top-left-radius:12px;border-top-right-radius:12px}.mui-popover .mui-table-view .mui-table-view-cell:last-child,.mui-popover .mui-table-view .mui-table-view-cell:last-child>a:not(.mui-btn){border-bottom-right-radius:12px;border-bottom-left-radius:12px}.mui-popover.mui-bar-popover .mui-table-view{width:106px}.mui-popover.mui-bar-popover .mui-table-view .mui-table-view-cell{padding:11px 15px;background-position:0 100%}.mui-popover.mui-bar-popover .mui-table-view .mui-table-view-cell>a:not(.mui-btn){margin:-11px -15px -11px -15px}.mui-popup-backdrop{position:fixed;z-index:998;top:0;right:0;bottom:0;left:0;-webkit-transition-duration:400ms;transition-duration:400ms;opacity:0;background:rgba(0,0,0,.4)}.mui-popup-backdrop.mui-active{opacity:1}.mui-popup{position:fixed;z-index:10000;top:50%;left:50%;display:none;overflow:hidden;width:270px;-webkit-transition-property:-webkit-transform,opacity;transition-property:transform,opacity;-webkit-transform:translate3d(-50%,-50%,0) scale(1.185);transform:translate3d(-50%,-50%,0) scale(1.185);text-align:center;opacity:0;color:#000;border-radius:13px}.mui-popup.mui-popup-in{display:block;-webkit-transition-duration:400ms;transition-duration:400ms;-webkit-transform:translate3d(-50%,-50%,0) scale(1);transform:translate3d(-50%,-50%,0) scale(1);opacity:1}.mui-popup.mui-popup-out{-webkit-transition-duration:400ms;transition-duration:400ms;-webkit-transform:translate3d(-50%,-50%,0) scale(1);transform:translate3d(-50%,-50%,0) scale(1);opacity:0}.mui-popup-inner{position:relative;padding:15px;border-radius:13px 13px 0 0;background:rgba(255,255,255,.95)}.mui-popup-inner:after{position:absolute;z-index:15;top:auto;right:auto;bottom:0;left:0;display:block;width:100%;height:1px;content:'';-webkit-transform:scaleY(.5);transform:scaleY(.5);-webkit-transform-origin:50% 100%;transform-origin:50% 100%;background-color:rgba(0,0,0,.2)}.mui-popup-title{font-size:18px;font-weight:500;text-align:center}.mui-popup-title+.mui-popup-text{font-family:inherit;font-size:14px;margin:5px 0 0}.mui-popup-buttons{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;height:44px;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.mui-popup-button{font-size:17px;line-height:44px;position:relative;display:block;overflow:hidden;box-sizing:border-box;width:100%;height:44px;padding:0 5px;cursor:pointer;text-align:center;white-space:nowrap;text-overflow:ellipsis;color:#007aff;background:rgba(255,255,255,.95);-webkit-box-flex:1}.mui-popup-button:after{position:absolute;z-index:15;top:0;right:0;bottom:auto;left:auto;display:block;width:1px;height:100%;content:'';-webkit-transform:scaleX(.5);transform:scaleX(.5);-webkit-transform-origin:100% 50%;transform-origin:100% 50%;background-color:rgba(0,0,0,.2)}.mui-popup-button:first-child{border-radius:0 0 0 13px}.mui-popup-button:first-child:last-child{border-radius:0 0 13px 13px}.mui-popup-button:last-child{border-radius:0 0 13px}.mui-popup-button:last-child:after{display:none}.mui-popup-button.mui-popup-button-bold{font-weight:600}.mui-popup-input input{font-size:14px;width:100%;height:26px;margin:15px 0 0;padding:0 5px;border:1px solid rgba(0,0,0,.3);border-radius:0;background:#fff}.mui-plus.mui-android .mui-popup-backdrop{-webkit-transition-duration:1ms;transition-duration:1ms}.mui-plus.mui-android .mui-popup{-webkit-transition-duration:1ms;transition-duration:1ms;-webkit-transform:translate3d(-50%,-50%,0) scale(1);transform:translate3d(-50%,-50%,0) scale(1)}.mui-progressbar{position:relative;display:block;overflow:hidden;width:100%;height:2px;-webkit-transform-origin:center top;transform-origin:center top;vertical-align:middle;border-radius:2px;background:#b6b6b6;-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.mui-progressbar span{position:absolute;top:0;left:0;width:100%;height:100%;-webkit-transition:150ms;transition:150ms;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);background:#007aff}.mui-progressbar.mui-progressbar-infinite:before{position:absolute;top:0;left:0;width:100%;height:100%;content:'';-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);-webkit-transform-origin:left center;transform-origin:left center;-webkit-animation:mui-progressbar-infinite 1s linear infinite;animation:mui-progressbar-infinite 1s linear infinite;background:#007aff}body>.mui-progressbar{position:absolute;z-index:10000;top:44px;left:0;border-radius:0}.mui-progressbar-in{-webkit-animation:mui-progressbar-in 300ms forwards;animation:mui-progressbar-in 300ms forwards}.mui-progressbar-out{-webkit-animation:mui-progressbar-out 300ms forwards;animation:mui-progressbar-out 300ms forwards}@-webkit-keyframes mui-progressbar-in{from{-webkit-transform:scaleY(0);opacity:0}to{-webkit-transform:scaleY(1);opacity:1}}@keyframes mui-progressbar-in{from{transform:scaleY(0);opacity:0}to{transform:scaleY(1);opacity:1}}@-webkit-keyframes mui-progressbar-out{from{-webkit-transform:scaleY(1);opacity:1}to{-webkit-transform:scaleY(0);opacity:0}}@keyframes mui-progressbar-out{from{transform:scaleY(1);opacity:1}to{transform:scaleY(0);opacity:0}}@-webkit-keyframes mui-progressbar-infinite{0%{-webkit-transform:translate3d(-50%,0,0) scaleX(.5)}100%{-webkit-transform:translate3d(100%,0,0) scaleX(.5)}}@keyframes mui-progressbar-infinite{0%{transform:translate3d(-50%,0,0) scaleX(.5)}100%{transform:translate3d(100%,0,0) scaleX(.5)}}.mui-pagination{display:inline-block;margin:0 auto;padding-left:0;border-radius:6px}.mui-pagination>li{display:inline}.mui-pagination>li>a,.mui-pagination>li>span{line-height:1.428571429;position:relative;float:left;margin-left:-1px;padding:6px 12px;text-decoration:none;color:#007aff;border:1px solid #ddd;background-color:#fff}.mui-pagination>li:first-child>a,.mui-pagination>li:first-child>span{margin-left:0;border-top-left-radius:6px;border-bottom-left-radius:6px;background-clip:padding-box}.mui-pagination>li:last-child>a,.mui-pagination>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px;background-clip:padding-box}.mui-pagination>li.mui-active>a,.mui-pagination>li.mui-active>a:active,.mui-pagination>li.mui-active>span,.mui-pagination>li.mui-active>span:active,.mui-pagination>li:active>a,.mui-pagination>li:active>a:active,.mui-pagination>li:active>span,.mui-pagination>li:active>span:active{z-index:2;cursor:default;color:#fff;border-color:#007aff;background-color:#007aff}.mui-pagination>li.mui-disabled>a,.mui-pagination>li.mui-disabled>a:active,.mui-pagination>li.mui-disabled>span,.mui-pagination>li.mui-disabled>span:active{opacity:.6;color:#777;border:1px solid #ddd;background-color:#fff}.mui-pagination-lg>li>a,.mui-pagination-lg>li>span{font-size:18px;padding:10px 16px}.mui-pagination-sm>li>a,.mui-pagination-sm>li>span{font-size:12px;padding:5px 10px}.mui-pager{padding-left:0;list-style:none;text-align:center}.mui-pager:after,.mui-pager:before{display:table;content:' '}.mui-pager:after{clear:both}.mui-pager li{display:inline}.mui-pager li>a,.mui-pager li>span{display:inline-block;padding:5px 14px;border:1px solid #ddd;border-radius:6px;background-color:#fff;background-clip:padding-box}.mui-pager li.mui-active>a,.mui-pager li.mui-active>span,.mui-pager li:active>a,.mui-pager li:active>span{cursor:default;text-decoration:none;color:#fff;border-color:#007aff;background-color:#007aff}.mui-pager .mui-next>a,.mui-pager .mui-next>span{float:right}.mui-pager .mui-previous>a,.mui-pager .mui-previous>span{float:left}.mui-pager .mui-disabled>a,.mui-pager .mui-disabled>a:active,.mui-pager .mui-disabled>span,.mui-pager .mui-disabled>span:active{opacity:.6;color:#777;border:1px solid #ddd;background-color:#fff}.mui-modal{position:fixed;z-index:999;top:0;overflow:hidden;width:100%;min-height:100%;-webkit-transition:-webkit-transform .25s,opacity 1ms .25s;transition:transform .25s,opacity 1ms .25s;-webkit-transition-timing-function:cubic-bezier(.1,.5,.1,1);transition-timing-function:cubic-bezier(.1,.5,.1,1);-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);opacity:0;background-color:#fff}.mui-modal.mui-active{height:100%;-webkit-transition:-webkit-transform .25s;transition:transform .25s;-webkit-transition-timing-function:cubic-bezier(.1,.5,.1,1);transition-timing-function:cubic-bezier(.1,.5,.1,1);-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);opacity:1}.mui-android .mui-modal .mui-bar{position:static}.mui-android .mui-modal .mui-bar-nav~.mui-content{padding-top:0}.mui-slider{position:relative;z-index:1;overflow:hidden;width:100%}.mui-slider .mui-segmented-control.mui-segmented-control-inverted .mui-control-item.mui-active{border-bottom:0}.mui-slider .mui-segmented-control.mui-segmented-control-inverted~.mui-slider-group .mui-slider-item{border-top:1px solid #c8c7cc;border-bottom:1px solid #c8c7cc}.mui-slider .mui-slider-group{font-size:0;position:relative;-webkit-transition:all 0s linear;transition:all 0s linear;white-space:nowrap}.mui-slider .mui-slider-group .mui-slider-item{font-size:14px;position:relative;display:inline-block;width:100%;height:100%;vertical-align:top;white-space:normal}.mui-slider .mui-slider-group .mui-slider-item>a:not(.mui-control-item){line-height:0;position:relative;display:block}.mui-slider .mui-slider-group .mui-slider-item img{width:100%}.mui-slider .mui-slider-group .mui-slider-item .mui-table-view:after,.mui-slider .mui-slider-group .mui-slider-item .mui-table-view:before{height:0}.mui-slider .mui-slider-group.mui-slider-loop{-webkit-transform:translate(-100%,0);transform:translate(-100%,0)}.mui-slider-title{line-height:30px;position:absolute;bottom:0;left:0;width:100%;height:30px;margin:0;text-align:left;text-indent:12px;opacity:.8;background-color:#000}.mui-slider-indicator{position:absolute;bottom:8px;width:100%;text-align:center;background:0 0}.mui-slider-indicator.mui-segmented-control{position:relative;bottom:auto}.mui-slider-indicator .mui-indicator{display:inline-block;width:6px;height:6px;margin:1px 6px;cursor:pointer;border-radius:50%;background:#aaa;-webkit-box-shadow:0 0 1px 1px rgba(130,130,130,.7);box-shadow:0 0 1px 1px rgba(130,130,130,.7)}.mui-slider-indicator .mui-active.mui-indicator{background:#fff}.mui-slider-indicator .mui-icon{font-size:20px;line-height:30px;width:40px;height:30px;margin:3px;text-align:center;border:1px solid #ddd}.mui-slider-indicator .mui-number{line-height:32px;display:inline-block;width:58px}.mui-slider-indicator .mui-number span{color:#ff5053}.mui-slider-progress-bar{z-index:1;height:2px;-webkit-transform:translateZ(0);transform:translateZ(0)}.mui-switch{position:relative;display:block;width:74px;height:30px;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-property:background-color,border;transition-property:background-color,border;border:2px solid #ddd;border-radius:20px;background-color:#fff;background-clip:padding-box}.mui-switch.mui-disabled{opacity:.3}.mui-switch .mui-switch-handle{position:absolute;z-index:1;top:-1px;left:-1px;width:28px;height:28px;-webkit-transition:.2s ease-in-out;transition:.2s ease-in-out;-webkit-transition-property:-webkit-transform,width,left;transition-property:transform,width,left;border-radius:16px;background-color:#fff;background-clip:padding-box;-webkit-box-shadow:0 2px 5px rgba(0,0,0,.4);box-shadow:0 2px 5px rgba(0,0,0,.4)}.mui-switch:before{font-size:13px;position:absolute;top:3px;right:11px;content:'Off';text-transform:uppercase;color:#999}.mui-switch.mui-dragging{border-color:#f7f7f7;background-color:#f7f7f7}.mui-switch.mui-dragging .mui-switch-handle{width:38px}.mui-switch.mui-dragging.mui-active .mui-switch-handle{left:-11px;width:38px}.mui-switch.mui-active{border-color:#4cd964;background-color:#4cd964}.mui-switch.mui-active .mui-switch-handle{-webkit-transform:translate(43px,0);transform:translate(43px,0)}.mui-switch.mui-active:before{right:auto;left:15px;content:'On';color:#fff}.mui-switch input[type=checkbox]{display:none}.mui-switch-mini{width:47px}.mui-switch-mini:before{display:none}.mui-switch-mini.mui-active .mui-switch-handle{-webkit-transform:translate(16px,0);transform:translate(16px,0)}.mui-switch-blue.mui-active{border:2px solid #007aff;background-color:#007aff}.mui-content.mui-fade{left:0;opacity:0}.mui-content.mui-fade.mui-in{opacity:1}.mui-content.mui-sliding{z-index:2;-webkit-transition:-webkit-transform .4s;transition:transform .4s;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.mui-content.mui-sliding.mui-left{z-index:1;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.mui-content.mui-sliding.mui-right{z-index:3;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.mui-navigate-right:after,.mui-push-left:after,.mui-push-right:after{font-family:Muiicons;font-size:inherit;line-height:1;position:absolute;top:50%;display:inline-block;-webkit-transform:translateY(-50%);transform:translateY(-50%);text-decoration:none;color:#bbb;-webkit-font-smoothing:antialiased}.mui-push-left:after{left:15px;content:'\e582'}.mui-navigate-right:after,.mui-push-right:after{right:15px;content:'\e583'}.mui-pull-bottom-pocket,.mui-pull-top-pocket{position:absolute;left:0;display:block;visibility:hidden;overflow:hidden;width:100%;height:50px}.mui-plus-pullrefresh .mui-pull-bottom-pocket,.mui-plus-pullrefresh .mui-pull-top-pocket{display:none;visibility:visible}.mui-pull-top-pocket{top:0}.mui-bar-nav~.mui-content .mui-pull-top-pocket{top:44px}.mui-bar-nav~.mui-bar-header-secondary~.mui-content .mui-pull-top-pocket{top:88px}.mui-pull-bottom-pocket{position:relative;bottom:0;height:40px}.mui-pull-bottom-pocket .mui-pull-loading{visibility:hidden}.mui-pull-bottom-pocket .mui-pull-loading.mui-in{display:inline-block}.mui-pull{font-weight:700;position:absolute;right:0;bottom:10px;left:0;text-align:center;color:#777}.mui-pull-loading{margin-right:10px;-webkit-transition:-webkit-transform .4s;transition:transform .4s;-webkit-transition-duration:400ms;transition-duration:400ms;vertical-align:middle}.mui-pull-loading.mui-reverse{-webkit-transform:rotate(180deg) translateZ(0);transform:rotate(180deg) translateZ(0)}.mui-pull-caption{font-size:15px;line-height:24px;position:relative;display:inline-block;overflow:visible;margin-top:0;vertical-align:middle}.mui-pull-caption span{display:none}.mui-pull-caption span.mui-in{display:inline}.mui-toast-container{position:fixed;z-index:9999;bottom:50px;width:100%;-webkit-transition:opacity .8s;transition:opacity .8s;opacity:0}.mui-toast-container.mui-active{opacity:1}.mui-toast-message{font-size:14px;width:270px;margin:5px auto;padding:5px;text-align:center;color:#000;border-radius:7px;background-color:#d8d8d8}.mui-numbox{position:relative;display:inline-block;overflow:hidden;width:120px;height:35px;padding:0 40px;vertical-align:top;vertical-align:middle;border:solid 1px #bbb;border-radius:3px;background-color:#efeff4}.mui-numbox [class*=btn-numbox],.mui-numbox [class*=numbox-btn]{font-size:18px;font-weight:400;line-height:100%;position:absolute;top:0;overflow:hidden;width:40px;height:100%;padding:0;color:#555;border:none;border-radius:0;background-color:#f9f9f9}.mui-numbox [class*=btn-numbox]:active,.mui-numbox [class*=numbox-btn]:active{background-color:#ccc}.mui-numbox [class*=btn-numbox][disabled],.mui-numbox [class*=numbox-btn][disabled]{color:silver}.mui-numbox .mui-btn-numbox-plus,.mui-numbox .mui-numbox-btn-plus{right:0;border-top-right-radius:3px;border-bottom-right-radius:3px}.mui-numbox .mui-btn-numbox-minus,.mui-numbox .mui-numbox-btn-minus{left:0;border-top-left-radius:3px;border-bottom-left-radius:3px}.mui-numbox .mui-input-numbox,.mui-numbox .mui-numbox-input{display:inline-block;overflow:hidden;width:100%!important;height:100%;margin:0;padding:0 3px!important;text-align:center;text-overflow:ellipsis;word-break:normal;border:none!important;border-right:solid 1px #ccc!important;border-left:solid 1px #ccc!important;border-radius:0!important}.mui-input-row .mui-numbox{float:right;margin:2px 8px}@font-face{font-family:Muiicons;font-weight:400;font-style:normal;src:url(../fonts/mui.ttf) format('truetype')}.mui-icon{font-family:Muiicons;font-size:24px;font-weight:400;font-style:normal;line-height:1;display:inline-block;text-decoration:none;-webkit-font-smoothing:antialiased}.mui-icon.mui-active{color:#007aff}.mui-icon.mui-right:before{float:right;padding-left:.2em}.mui-icon-contact:before{content:'\e100'}.mui-icon-person:before{content:'\e101'}.mui-icon-personadd:before{content:'\e102'}.mui-icon-contact-filled:before{content:'\e130'}.mui-icon-person-filled:before{content:'\e131'}.mui-icon-personadd-filled:before{content:'\e132'}.mui-icon-phone:before{content:'\e200'}.mui-icon-email:before{content:'\e201'}.mui-icon-chatbubble:before{content:'\e202'}.mui-icon-chatboxes:before{content:'\e203'}.mui-icon-phone-filled:before{content:'\e230'}.mui-icon-email-filled:before{content:'\e231'}.mui-icon-chatbubble-filled:before{content:'\e232'}.mui-icon-chatboxes-filled:before{content:'\e233'}.mui-icon-weibo:before{content:'\e260'}.mui-icon-weixin:before{content:'\e261'}.mui-icon-pengyouquan:before{content:'\e262'}.mui-icon-chat:before{content:'\e263'}.mui-icon-qq:before{content:'\e264'}.mui-icon-videocam:before{content:'\e300'}.mui-icon-camera:before{content:'\e301'}.mui-icon-mic:before{content:'\e302'}.mui-icon-location:before{content:'\e303'}.mui-icon-mic-filled:before,.mui-icon-speech:before{content:'\e332'}.mui-icon-location-filled:before{content:'\e333'}.mui-icon-micoff:before{content:'\e360'}.mui-icon-image:before{content:'\e363'}.mui-icon-map:before{content:'\e364'}.mui-icon-compose:before{content:'\e400'}.mui-icon-trash:before{content:'\e401'}.mui-icon-upload:before{content:'\e402'}.mui-icon-download:before{content:'\e403'}.mui-icon-close:before{content:'\e404'}.mui-icon-redo:before{content:'\e405'}.mui-icon-undo:before{content:'\e406'}.mui-icon-refresh:before{content:'\e407'}.mui-icon-star:before{content:'\e408'}.mui-icon-plus:before{content:'\e409'}.mui-icon-minus:before{content:'\e410'}.mui-icon-checkbox:before,.mui-icon-circle:before{content:'\e411'}.mui-icon-clear:before,.mui-icon-close-filled:before{content:'\e434'}.mui-icon-refresh-filled:before{content:'\e437'}.mui-icon-star-filled:before{content:'\e438'}.mui-icon-plus-filled:before{content:'\e439'}.mui-icon-minus-filled:before{content:'\e440'}.mui-icon-circle-filled:before{content:'\e441'}.mui-icon-checkbox-filled:before{content:'\e442'}.mui-icon-closeempty:before{content:'\e460'}.mui-icon-refreshempty:before{content:'\e461'}.mui-icon-reload:before{content:'\e462'}.mui-icon-starhalf:before{content:'\e463'}.mui-icon-spinner:before{content:'\e464'}.mui-icon-spinner-cycle:before{content:'\e465'}.mui-icon-search:before{content:'\e466'}.mui-icon-plusempty:before{content:'\e468'}.mui-icon-forward:before{content:'\e470'}.mui-icon-back:before,.mui-icon-left-nav:before{content:'\e471'}.mui-icon-checkmarkempty:before{content:'\e472'}.mui-icon-home:before{content:'\e500'}.mui-icon-navigate:before{content:'\e501'}.mui-icon-gear:before{content:'\e502'}.mui-icon-paperplane:before{content:'\e503'}.mui-icon-info:before{content:'\e504'}.mui-icon-help:before{content:'\e505'}.mui-icon-locked:before{content:'\e506'}.mui-icon-more:before{content:'\e507'}.mui-icon-flag:before{content:'\e508'}.mui-icon-home-filled:before{content:'\e530'}.mui-icon-gear-filled:before{content:'\e532'}.mui-icon-info-filled:before{content:'\e534'}.mui-icon-help-filled:before{content:'\e535'}.mui-icon-more-filled:before{content:'\e537'}.mui-icon-settings:before{content:'\e560'}.mui-icon-list:before{content:'\e562'}.mui-icon-bars:before{content:'\e563'}.mui-icon-loop:before{content:'\e565'}.mui-icon-paperclip:before{content:'\e567'}.mui-icon-eye:before{content:'\e568'}.mui-icon-arrowup:before{content:'\e580'}.mui-icon-arrowdown:before{content:'\e581'}.mui-icon-arrowleft:before{content:'\e582'}.mui-icon-arrowright:before{content:'\e583'}.mui-icon-arrowthinup:before{content:'\e584'}.mui-icon-arrowthindown:before{content:'\e585'}.mui-icon-arrowthinleft:before{content:'\e586'}.mui-icon-arrowthinright:before{content:'\e587'}.mui-icon-pulldown:before{content:'\e588'}.mui-fullscreen{position:absolute;top:0;right:0;bottom:0;left:0}.mui-fullscreen.mui-slider .mui-slider-group{height:100%}.mui-fullscreen .mui-segmented-control~.mui-slider-group{position:absolute;top:40px;bottom:0;width:100%;height:auto}.mui-fullscreen.mui-slider .mui-slider-item>a{top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.mui-fullscreen .mui-off-canvas-wrap .mui-slider-item>a{top:auto;-webkit-transform:none;transform:none}.mui-bar-nav~.mui-content .mui-slider.mui-fullscreen{top:44px}.mui-bar-tab~.mui-content .mui-slider.mui-fullscreen .mui-segmented-control~.mui-slider-group{bottom:50px}.mui-android.mui-android-4-0 input:focus,.mui-android.mui-android-4-0 textarea:focus{-webkit-user-modify:inherit}.mui-android.mui-android-4-2 input,.mui-android.mui-android-4-2 textarea,.mui-android.mui-android-4-3 input,.mui-android.mui-android-4-3 textarea{-webkit-user-select:text}.mui-ios .mui-table-view-cell{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.mui-plus-visible,.mui-wechat-visible{display:none!important}.mui-plus-hidden,.mui-wechat-hidden{display:block!important}.mui-tab-item.mui-plus-hidden,.mui-tab-item.mui-wechat-hidden{display:table-cell!important}.mui-plus .mui-plus-visible,.mui-wechat .mui-wechat-visible{display:block!important}.mui-plus .mui-tab-item.mui-plus-visible,.mui-wechat .mui-tab-item.mui-wechat-visible{display:table-cell!important}.mui-plus .mui-plus-hidden,.mui-wechat .mui-wechat-hidden{display:none!important}.mui-plus.mui-statusbar.mui-statusbar-offset .mui-bar-nav{height:64px;padding-top:20px}.mui-plus.mui-statusbar.mui-statusbar-offset .mui-bar-nav~.mui-content{padding-top:64px}.mui-plus.mui-statusbar.mui-statusbar-offset .mui-bar-header-secondary,.mui-plus.mui-statusbar.mui-statusbar-offset .mui-bar-nav~.mui-content .mui-pull-top-pocket{top:64px}.mui-plus.mui-statusbar.mui-statusbar-offset .mui-bar-header-secondary~.mui-content{padding-top:94px}.mui-iframe-wrapper{position:absolute;right:0;left:0;-webkit-overflow-scrolling:touch}.mui-iframe-wrapper iframe{width:100%;height:100%;border:0} \ No newline at end of file diff --git a/fangija-zsyf/css/sm.css b/fangija-zsyf/css/sm.css new file mode 100644 index 0000000..76005b3 --- /dev/null +++ b/fangija-zsyf/css/sm.css @@ -0,0 +1,4682 @@ +/*! + * ===================================================== + * SUI Mobile - http://m.sui.taobao.org/ + * + * ===================================================== + */ + +/*.transition(@d) { + -webkit-transition-duration: @d; + transition-duration: @d; +} +.delay(@d) { + -webkit-transition-delay: @d; + transition-delay: @d; +} +.transform(@t) { + -webkit-transform: @t; + transform: @t; +} +.transform-origin(@to) { + -webkit-transform-origin: @to; + transform-origin: @to; +} +.translate3d(@x:0, @y:0, @z:0) { + -webkit-transform: translate3d(@x,@y,@z); + transform: translate3d(@x,@y,@z); +} +.animation(@a) { + -webkit-animation: @a; + animation: @a; +} +.border-box(){ + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} +.box-shadow(@bs) { + -webkit-box-shadow: @bs; + box-shadow: @bs; +} +.animation-name(@name) { + -webkit-animation-name: @name; + -moz-animation-name: @name; + animation-name: @name; +} +.animation-duration(@duration) { + -webkit-animation-duration: @duration; + -moz-animation-duration: @duration; + animation-duration: @duration; +} +.animation-direction(@direction) { + -webkit-animation-direction: @direction; + -moz-animation-direction: @direction; + animation-direction: @direction; +} +*/ +html { + font-size: 20px; +} +@media only screen and (min-width: 400px) { + html { + font-size: 21.33333333px !important; + } +} +@media only screen and (min-width: 414px) { + html { + font-size: 22.08px !important; + } +} +@media only screen and (min-width: 480px) { + html { + font-size: 25.6px !important; + } +} +/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */ +html { + font-family: sans-serif; + -ms-text-size-adjust: 100%; + -webkit-text-size-adjust: 100%; +} +body { + margin: 0; +} +article, +aside, +details, +figcaption, +figure, +footer, +header, +hgroup, +main, +menu, +nav, +section, +summary { + display: block; +} +audio, +canvas, +progress, +video { + display: inline-block; + vertical-align: baseline; +} +audio:not([controls]) { + display: none; + height: 0; +} +[hidden], +template { + display: none; +} +a { + background-color: transparent; +} +a:active, +a:hover { + outline: 0; +} +abbr[title] { + border-bottom: 1px dotted; +} +b, +strong { + font-weight: bold; +} +dfn { + font-style: italic; +} +h1 { + font-size: 2em; + margin: 0.67em 0; +} +mark { + background: #ff0; + color: #000; +} +small { + font-size: 80%; +} +sub, +sup { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; +} +sup { + top: -0.5em; +} +sub { + bottom: -0.25em; +} +img { + border: 0; +} +svg:not(:root) { + overflow: hidden; +} +figure { + margin: 1em 40px; +} +hr { + box-sizing: content-box; + height: 0; +} +pre { + overflow: auto; +} +code, +kbd, +pre, +samp { + font-family: monospace, monospace; + font-size: 1em; +} +button, +input, +optgroup, +select, +textarea { + color: inherit; + font: inherit; + margin: 0; +} +button { + overflow: visible; +} +button, +select { + text-transform: none; +} +button, +html input[type="button"], +input[type="reset"], +input[type="submit"] { + -webkit-appearance: button; + cursor: pointer; +} +button[disabled], +html input[disabled] { + cursor: default; +} +button::-moz-focus-inner, +input::-moz-focus-inner { + border: 0; + padding: 0; +} +input { + line-height: normal; +} +input[type="checkbox"], +input[type="radio"] { + box-sizing: border-box; + padding: 0; +} +input[type="number"]::-webkit-inner-spin-button, +input[type="number"]::-webkit-outer-spin-button { + height: auto; +} +input[type="search"] { + -webkit-appearance: textfield; + box-sizing: content-box; +} +input[type="search"]::-webkit-search-cancel-button, +input[type="search"]::-webkit-search-decoration { + -webkit-appearance: none; +} +fieldset { + border: 1px solid #c0c0c0; + margin: 0 2px; + padding: 0.35em 0.625em 0.75em; +} +legend { + border: 0; + padding: 0; +} +textarea { + overflow: auto; +} +optgroup { + font-weight: bold; +} +table { + border-collapse: collapse; + border-spacing: 0; +} +td, +th { + padding: 0; +} +* { + box-sizing: border-box; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); + -webkit-touch-callout: none; +} +body { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + font-family: "Helvetica Neue", Helvetica, sans-serif; + font-size: 0.85rem; + line-height: 1.5; + color: #3d4145; + background: #eee; + overflow: hidden; +} +a, +input, +textarea, +select, +button { + outline: 0; +} +p { + margin: 1em 0; +} +a { + color: #0894ec; + text-decoration: none; + -webkit-tap-highlight-color: rgba(0, 0, 0, 0); +} +a:active { + color: #0a8ddf; +} +.page { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + background: #eee; + z-index: 2000; +} +.content { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + overflow: auto; + -webkit-overflow-scrolling: touch; +} +.bar-nav ~ .content { + top: 2.2rem; +} +.bar-header-secondary ~ .content { + top: 4.4rem; +} +.bar-footer ~ .content { + bottom: 2.2rem; +} +.bar-footer-secondary ~ .content { + bottom: 4.4rem; +} +.bar-tab ~ .content { + bottom: 2.5rem; +} +.bar-footer-secondary-tab ~ .content { + bottom: 4.7rem; +} +.content-padded { + margin: 0.5rem; +} +.text-center { + text-align: center; +} +.pull-left { + float: left; +} +.pull-right { + float: right; +} +.clearfix:before, +.clearfix:after { + content: " "; + display: table; +} +.clearfix:after { + clear: both; +} +/* === Content Block === */ +.content-block { + margin: 1.75rem 0; + padding: 0 0.75rem; + color: #6d6d72; +} +.content-block-title { + position: relative; + overflow: hidden; + margin: 0; + white-space: nowrap; + text-overflow: ellipsis; + font-size: 0.7rem; + text-transform: uppercase; + line-height: 1; + color: #6d6d72; + margin: 1.75rem 0.75rem 0.5rem; +} +.content-block-title + .list-block, +.content-block-title + .content-block, +.content-block-title + .card { + margin-top: 0.5rem; +} +.content-block-inner { + background: #fff; + padding: 0.5rem 0.75rem; + margin-left: -0.75rem; + width: 100%; + position: relative; + color: #3d4145; +} +.content-block-inner:before { + content: ''; + position: absolute; + left: 0; + top: 0; + bottom: auto; + right: auto; + height: 1px; + width: 100%; + background-color: #c8c7cc; + display: block; + z-index: 15; + -webkit-transform-origin: 50% 0%; + transform-origin: 50% 0%; +} +@media only screen and (-webkit-min-device-pixel-ratio: 2) { + .content-block-inner:before { + -webkit-transform: scaleY(0.5); + transform: scaleY(0.5); + } +} +@media only screen and (-webkit-min-device-pixel-ratio: 3) { + .content-block-inner:before { + -webkit-transform: scaleY(0.33); + transform: scaleY(0.33); + } +} +.content-block-inner:after { + content: ''; + position: absolute; + left: 0; + bottom: 0; + right: auto; + top: auto; + height: 1px; + width: 100%; + background-color: #c8c7cc; + display: block; + z-index: 15; + -webkit-transform-origin: 50% 100%; + transform-origin: 50% 100%; +} +@media only screen and (-webkit-min-device-pixel-ratio: 2) { + .content-block-inner:after { + -webkit-transform: scaleY(0.5); + transform: scaleY(0.5); + } +} +@media only screen and (-webkit-min-device-pixel-ratio: 3) { + .content-block-inner:after { + -webkit-transform: scaleY(0.33); + transform: scaleY(0.33); + } +} +.content-block.inset { + margin-left: 0.75rem; + margin-right: 0.75rem; + border-radius: 0.35rem; +} +.content-block.inset .content-block-inner { + border-radius: 0.35rem; +} +.content-block.inset .content-block-inner:before { + display: none; +} +.content-block.inset .content-block-inner:after { + display: none; +} +@media all and (min-width: 768px) { + .content-block.tablet-inset { + margin-left: 0.75rem; + margin-right: 0.75rem; + border-radius: 0.35rem; + } + .content-block.tablet-inset .content-block-inner { + border-radius: 0.35rem; + } + .content-block.tablet-inset .content-block-inner:before { + display: none; + } + .content-block.tablet-inset .content-block-inner:after { + display: none; + } +} +/* === Grid === */ +.row { + overflow: hidden; + margin-left: -4%; +} +.row > [class*="col-"], +.row > [class*="tablet-"] { + box-sizing: border-box; + float: left; +} +.row.no-gutter { + margin-left: 0; +} +.row .col-100 { + width: 96%; + margin-left: 4%; +} +.row.no-gutter .col-100 { + width: 100%; + margin: 0; +} +.row .col-95 { + width: 91%; + margin-left: 4%; +} +.row.no-gutter .col-95 { + width: 95%; + margin: 0; +} +.row .col-90 { + width: 86%; + margin-left: 4%; +} +.row.no-gutter .col-90 { + width: 90%; + margin: 0; +} +.row .col-85 { + width: 81%; + margin-left: 4%; +} +.row.no-gutter .col-85 { + width: 85%; + margin: 0; +} +.row .col-80 { + width: 76%; + margin-left: 4%; +} +.row.no-gutter .col-80 { + width: 80%; + margin: 0; +} +.row .col-75 { + width: 71.00000000000001%; + margin-left: 4%; +} +.row.no-gutter .col-75 { + width: 75%; + margin: 0; +} +.row .col-66 { + width: 62.66666666666666%; + margin-left: 4%; +} +.row.no-gutter .col-66 { + width: 66.66666666666666%; + margin: 0; +} +.row .col-60 { + width: 55.99999999999999%; + margin-left: 4%; +} +.row.no-gutter .col-60 { + width: 60%; + margin: 0; +} +.row .col-50 { + width: 46%; + margin-left: 4%; +} +.row.no-gutter .col-50 { + width: 50%; + margin: 0; +} +.row .col-40 { + width: 36%; + margin-left: 4%; +} +.row.no-gutter .col-40 { + width: 40%; + margin: 0; +} +.row .col-33 { + width: 29.333333333333332%; + margin-left: 4%; +} +.row.no-gutter .col-33 { + width: 33.333333333333336%; + margin: 0; +} +.row .col-25 { + width: 21%; + margin-left: 4%; +} +.row.no-gutter .col-25 { + width: 25%; + margin: 0; +} +.row .col-20 { + width: 16%; + margin-left: 4%; +} +.row.no-gutter .col-20 { + width: 20%; + margin: 0; +} +.row .col-15 { + width: 10.999999999999998%; + margin-left: 4%; +} +.row.no-gutter .col-15 { + width: 15%; + margin: 0; +} +.row .col-10 { + width: 6%; + margin-left: 4%; +} +.row.no-gutter .col-10 { + width: 10%; + margin: 0; +} +.row .col-5 { + width: 1%; + margin-left: 4%; +} +.row.no-gutter .col-5 { + width: 5%; + margin: 0; +} +@media all and (min-width: 768px) { + .row { + margin-left: -2%; + } + .row .col-100 { + width: 98%; + margin-left: 2%; + } + .row.no-gutter .col-100 { + width: 100%; + margin: 0; + } + .row .col-95 { + width: 93%; + margin-left: 2%; + } + .row.no-gutter .col-95 { + width: 95%; + margin: 0; + } + .row .col-90 { + width: 87.99999999999999%; + margin-left: 2%; + } + .row.no-gutter .col-90 { + width: 90%; + margin: 0; + } + .row .col-85 { + width: 82.99999999999999%; + margin-left: 2%; + } + .row.no-gutter .col-85 { + width: 85%; + margin: 0; + } + .row .col-80 { + width: 78%; + margin-left: 2%; + } + .row.no-gutter .col-80 { + width: 80%; + margin: 0; + } + .row .col-75 { + width: 73%; + margin-left: 2%; + } + .row.no-gutter .col-75 { + width: 75%; + margin: 0; + } + .row .col-66 { + width: 64.66666666666666%; + margin-left: 2%; + } + .row.no-gutter .col-66 { + width: 66.66666666666666%; + margin: 0; + } + .row .col-60 { + width: 58%; + margin-left: 2%; + } + .row.no-gutter .col-60 { + width: 60%; + margin: 0; + } + .row .col-50 { + width: 48%; + margin-left: 2%; + } + .row.no-gutter .col-50 { + width: 50%; + margin: 0; + } + .row .col-40 { + width: 38%; + margin-left: 2%; + } + .row.no-gutter .col-40 { + width: 40%; + margin: 0; + } + .row .col-33 { + width: 31.333333333333332%; + margin-left: 2%; + } + .row.no-gutter .col-33 { + width: 33.333333333333336%; + margin: 0; + } + .row .col-25 { + width: 23%; + margin-left: 2%; + } + .row.no-gutter .col-25 { + width: 25%; + margin: 0; + } + .row .col-20 { + width: 18%; + margin-left: 2%; + } + .row.no-gutter .col-20 { + width: 20%; + margin: 0; + } + .row .col-15 { + width: 13%; + margin-left: 2%; + } + .row.no-gutter .col-15 { + width: 15%; + margin: 0; + } + .row .col-10 { + width: 8%; + margin-left: 2%; + } + .row.no-gutter .col-10 { + width: 10%; + margin: 0; + } + .row .col-5 { + width: 3%; + margin-left: 2%; + } + .row.no-gutter .col-5 { + width: 5%; + margin: 0; + } + .row .tablet-100 { + width: 98%; + margin-left: 2%; + } + .row.no-gutter .tablet-100 { + width: 100%; + margin: 0; + } + .row .tablet-95 { + width: 93%; + margin-left: 2%; + } + .row.no-gutter .tablet-95 { + width: 95%; + margin: 0; + } + .row .tablet-90 { + width: 87.99999999999999%; + margin-left: 2%; + } + .row.no-gutter .tablet-90 { + width: 90%; + margin: 0; + } + .row .tablet-85 { + width: 82.99999999999999%; + margin-left: 2%; + } + .row.no-gutter .tablet-85 { + width: 85%; + margin: 0; + } + .row .tablet-80 { + width: 78%; + margin-left: 2%; + } + .row.no-gutter .tablet-80 { + width: 80%; + margin: 0; + } + .row .tablet-75 { + width: 73%; + margin-left: 2%; + } + .row.no-gutter .tablet-75 { + width: 75%; + margin: 0; + } + .row .tablet-66 { + width: 64.66666666666666%; + margin-left: 2%; + } + .row.no-gutter .tablet-66 { + width: 66.66666666666666%; + margin: 0; + } + .row .tablet-60 { + width: 58%; + margin-left: 2%; + } + .row.no-gutter .tablet-60 { + width: 60%; + margin: 0; + } + .row .tablet-50 { + width: 48%; + margin-left: 2%; + } + .row.no-gutter .tablet-50 { + width: 50%; + margin: 0; + } + .row .tablet-40 { + width: 38%; + margin-left: 2%; + } + .row.no-gutter .tablet-40 { + width: 40%; + margin: 0; + } + .row .tablet-33 { + width: 31.333333333333332%; + margin-left: 2%; + } + .row.no-gutter .tablet-33 { + width: 33.333333333333336%; + margin: 0; + } + .row .tablet-25 { + width: 23%; + margin-left: 2%; + } + .row.no-gutter .tablet-25 { + width: 25%; + margin: 0; + } + .row .tablet-20 { + width: 18%; + margin-left: 2%; + } + .row.no-gutter .tablet-20 { + width: 20%; + margin: 0; + } + .row .tablet-15 { + width: 13%; + margin-left: 2%; + } + .row.no-gutter .tablet-15 { + width: 15%; + margin: 0; + } + .row .tablet-10 { + width: 8%; + margin-left: 2%; + } + .row.no-gutter .tablet-10 { + width: 10%; + margin: 0; + } + .row .tablet-5 { + width: 3%; + margin-left: 2%; + } + .row.no-gutter .tablet-5 { + width: 5%; + margin: 0; + } +} +.color-default { + color: #3d4145; +} +.color-gray { + color: #999; +} +.color-primary { + color: #0894ec; +} +.color-success { + color: #4cd964; +} +.color-danger { + color: #f6383a; +} +.color-warning { + color: #f60; +} +.text-center { + text-align: center; +} +.bar { + position: absolute; + right: 0; + left: 0; + z-index: 10; + height: 2.2rem; + padding-right: 0.5rem; + padding-left: 0.5rem; + background-color: #f7f7f8; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; +} +.bar:after { + content: ''; + position: absolute; + left: 0; + bottom: 0; + right: auto; + top: auto; + height: 1px; + width: 100%; + background-color: #e7e7e7; + display: block; + z-index: 15; + -webkit-transform-origin: 50% 100%; + transform-origin: 50% 100%; +} +@media only screen and (-webkit-min-device-pixel-ratio: 2) { + .bar:after { + -webkit-transform: scaleY(0.5); + transform: scaleY(0.5); + } +} +@media only screen and (-webkit-min-device-pixel-ratio: 3) { + .bar:after { + -webkit-transform: scaleY(0.33); + transform: scaleY(0.33); + } +} +.bar-header-secondary { + top: 2.2rem; +} +.bar-footer { + bottom: 0; +} +.bar-footer-secondary { + bottom: 2.2rem; +} +.bar-footer-secondary-tab { + bottom: 2.5rem; +} +.bar-footer:before, +.bar-footer-secondary:before, +.bar-footer-secondary-tab:before { + content: ''; + position: absolute; + left: 0; + top: 0; + bottom: auto; + right: auto; + height: 1px; + width: 100%; + background-color: #e7e7e7; + display: block; + z-index: 15; + -webkit-transform-origin: 50% 0%; + transform-origin: 50% 0%; +} +@media only screen and (-webkit-min-device-pixel-ratio: 2) { + .bar-footer:before, + .bar-footer-secondary:before, + .bar-footer-secondary-tab:before { + -webkit-transform: scaleY(0.5); + transform: scaleY(0.5); + } +} +@media only screen and (-webkit-min-device-pixel-ratio: 3) { + .bar-footer:before, + .bar-footer-secondary:before, + .bar-footer-secondary-tab:before { + -webkit-transform: scaleY(0.33); + transform: scaleY(0.33); + } +} +.bar-footer:after, +.bar-footer-secondary:after, +.bar-footer-secondary-tab:after { + display: none; +} +.bar-nav { + top: 0; +} +.title { + position: absolute; + display: block; + width: 100%; + padding: 0; + margin: 0 -0.5rem; + font-size: 0.85rem; + font-weight: 500; + line-height: 2.2rem; + color: #3d4145; + text-align: center; + white-space: nowrap; +} +.title a { + color: inherit; +} +.bar-tab { + bottom: 0; + width: 100%; + height: 2.5rem; + padding: 0; + table-layout: fixed; +} +.bar-tab:before { + content: ''; + position: absolute; + left: 0; + top: 0; + bottom: auto; + right: auto; + height: 1px; + width: 100%; + background-color: #e7e7e7; + display: block; + z-index: 15; + -webkit-transform-origin: 50% 0%; + transform-origin: 50% 0%; +} +@media only screen and (-webkit-min-device-pixel-ratio: 2) { + .bar-tab:before { + -webkit-transform: scaleY(0.5); + transform: scaleY(0.5); + } +} +@media only screen and (-webkit-min-device-pixel-ratio: 3) { + .bar-tab:before { + -webkit-transform: scaleY(0.33); + transform: scaleY(0.33); + } +} +.bar-tab:after { + display: none; +} +.bar-tab .tab-item { + position: relative; + display: table-cell; + width: 1%; + height: 2.5rem; + color: #929292; + text-align: center; + vertical-align: middle; +} +.bar-tab .tab-item.active, +.bar-tab .tab-item:active { + color: #0894ec; +} +.bar-tab .tab-item .badge { + position: absolute; + top: .1rem; + left: 50%; + z-index: 100; + height: .8rem; + min-width: .8rem; + padding: 0 .2rem; + font-size: .6rem; + line-height: .8rem; + color: white; + vertical-align: top; + background: red; + border-radius: .5rem; + margin-left: .1rem; +} +.bar-tab .tab-item .icon { + top: 0.05rem; + height: 1.2rem; + font-size: 1.2rem; + line-height: 1.2rem; + padding-top: 0; + padding-bottom: 0; +} +.bar-tab .tab-item .icon ~ .tab-label { + display: block; + font-size: 0.55rem; + position: relative; + top: 0.15rem; +} +.bar .button { + position: relative; + top: 0.35rem; + z-index: 20; + margin-top: 0; + font-weight: 400; +} +.bar .button.pull-right { + margin-left: 0.5rem; +} +.bar .button.pull-left { + margin-right: 0.5rem; +} +.bar .button-link { + top: 0; + padding: 0; + font-size: 0.8rem; + line-height: 2.2rem; + height: 2.2rem; + color: #0894ec; + border: 0; +} +.bar .button-link:active, +.bar .button-link.active { + color: #0675bb; +} +.bar .button-block { + top: 0.35rem; + font-size: 0.8rem; + width: 100%; +} +.bar .button-nav.pull-left { + margin-left: -0.25rem; +} +.bar .button-nav.pull-left .icon-left-nav { + margin-right: -0.15rem; +} +.bar .button-nav.pull-right { + margin-right: -0.25rem; +} +.bar .button-nav.pull-right .icon-right-nav { + margin-left: -0.15rem; +} +.bar .icon { + position: relative; + z-index: 20; + padding: .5rem .1rem; + font-size: 1rem; + line-height: 1.2rem; +} +.bar .button .icon { + padding: 0; +} +.bar .title .icon { + padding: 0; +} +.bar .title .icon.icon-caret { + top: 0.2rem; + margin-left: -0.25rem; +} +.bar-footer .icon { + font-size: 1.2rem; + line-height: 1.2rem; +} +.bar input[type="search"] { + height: 1.45rem; + margin: 0.3rem 0; +} +.badge { + display: inline-block; + padding: 0.1rem 0.45rem 0.15rem; + font-size: 0.6rem; + line-height: 1; + color: #3d4145; + background-color: rgba(0, 0, 0, 0.15); + border-radius: 5rem; +} +.badge.badge-inverted { + padding: 0 0.25rem 0 0; + background-color: transparent; +} +/* === Lists === */ +.list-block { + margin: 1.75rem 0; + font-size: 0.85rem; + /* + .swipeout { + overflow: hidden; + -webkit-transform-style: preserve-3d; + transform-style: preserve-3d; + } + .swipeout.deleting { + transition-duration: 300ms; + .swipeout-content { + transform: translateX(-100%); + } + } + .swipeout.transitioning { + .swipeout-content, .swipeout-actions-right a, .swipeout-actions-left a, .swipeout-overswipe { + -webkit-transition: 300ms; + transition: 300ms; + } + } + .swipeout-content { + position: relative; + z-index: 10; + } + .swipeout-overswipe { + -webkit-transition: 200ms left; + transition: 200ms left; + } + .swipeout-actions-left, .swipeout-actions-right { + position: absolute; + top: 0; + height: 100%; + .flexbox(); + a { + padding: 0 1.5rem; + color:#fff; + background: #c7c7cc; + .flexbox(); + .align-items(center); + position: relative; + left: 0; + &:after { + content:''; + position: absolute; + top: 0; + width: 600%; + height: 100%; + background: inherit; + z-index: -1; + } + } + a.swipeout-delete { + background: @color-danger; + } + } + .swipeout-actions-right { + right: 0%; + transform: translateX(100%); + a:after { + left: 100%; + margin-left: -1px; + } + } + .swipeout-actions-left { + left: 0%; + transform: translateX(-100%); + a:after { + right: 100%; + margin-right: -1px; + } + } + */ + /* + .sortable-handler { + position: absolute; + right: 0; + top: 0; + bottom: 1px; + z-index: 10; + background-repeat: no-repeat; + background-size: 0.9rem 0.6rem; + background-image: url("@{imgBaseUrl}/i-sortable-handler.png"); + background-position: center; + width: 1.75rem; + opacity: 0; + visibility: hidden; + right: 0; + } + &.sortable { + .item-inner { + transition-duration: 300ms; + } + } + &.sortable-opened { + .sortable-handler { + visibility: visible; + opacity: 1; + } + .item-inner, .item-link .item-inner { + padding-right: 1.5rem; + } + .item-link .item-inner, .item-link .item-title-row { + background-image: none; + } + } + &.sortable-sorting { + li { + transition-duration: 300ms; + } + } + li.sorting { + z-index: 50; + background: rgba(255,255,255,0.8); + box-shadow: 0 0.1rem 0.4rem rgba(0,0,0,0.6); + transition-duration: 0ms; + .item-inner { + .hairline-remove(bottom); + } + } + */ +} +.list-block ul { + background: #fff; + list-style: none; + padding: 0; + margin: 0; + position: relative; +} +.list-block ul:before { + content: ''; + position: absolute; + left: 0; + top: 0; + bottom: auto; + right: auto; + height: 1px; + width: 100%; + background-color: #e7e7e7; + display: block; + z-index: 15; + -webkit-transform-origin: 50% 0%; + transform-origin: 50% 0%; +} +@media only screen and (-webkit-min-device-pixel-ratio: 2) { + .list-block ul:before { + -webkit-transform: scaleY(0.5); + transform: scaleY(0.5); + } +} +@media only screen and (-webkit-min-device-pixel-ratio: 3) { + .list-block ul:before { + -webkit-transform: scaleY(0.33); + transform: scaleY(0.33); + } +} +.list-block ul:after { + content: ''; + position: absolute; + left: 0; + bottom: 0; + right: auto; + top: auto; + height: 1px; + width: 100%; + background-color: #e7e7e7; + display: block; + z-index: 15; + -webkit-transform-origin: 50% 100%; + transform-origin: 50% 100%; +} +@media only screen and (-webkit-min-device-pixel-ratio: 2) { + .list-block ul:after { + -webkit-transform: scaleY(0.5); + transform: scaleY(0.5); + } +} +@media only screen and (-webkit-min-device-pixel-ratio: 3) { + .list-block ul:after { + -webkit-transform: scaleY(0.33); + transform: scaleY(0.33); + } +} +.list-block ul ul { + padding-left: 2.25rem; +} +.list-block ul ul:before { + display: none; +} +.list-block ul ul:after { + display: none; +} +.list-block .align-top, +.list-block .align-top .item-content, +.list-block .align-top .item-inner { + -webkit-box-align: start; + -webkit-align-items: flex-start; + align-items: flex-start; +} +.list-block.inset { + margin-left: 0.75rem; + margin-right: 0.75rem; + border-radius: 0.35rem; +} +.list-block.inset .content-block-title { + margin-left: 0; + margin-right: 0; +} +.list-block.inset ul { + border-radius: 0.35rem; +} +.list-block.inset ul:before { + display: none; +} +.list-block.inset ul:after { + display: none; +} +.list-block.inset li:first-child > a { + border-radius: 0.35rem 0.35rem 0 0; +} +.list-block.inset li:last-child > a { + border-radius: 0 0 0.35rem 0.35rem; +} +.list-block.inset li:first-child:last-child > a { + border-radius: 0.35rem; +} +@media all and (min-width: 768px) { + .list-block.tablet-inset { + margin-left: 0.75rem; + margin-right: 0.75rem; + border-radius: 0.35rem; + } + .list-block.tablet-inset .content-block-title { + margin-left: 0; + margin-right: 0; + } + .list-block.tablet-inset ul { + border-radius: 0.35rem; + } + .list-block.tablet-inset ul:before { + display: none; + } + .list-block.tablet-inset ul:after { + display: none; + } + .list-block.tablet-inset li:first-child > a { + border-radius: 0.35rem 0.35rem 0 0; + } + .list-block.tablet-inset li:last-child > a { + border-radius: 0 0 0.35rem 0.35rem; + } + .list-block.tablet-inset li:first-child:last-child > a { + border-radius: 0.35rem; + } + .list-block.tablet-inset .content-block-title { + margin-left: 0; + margin-right: 0; + } + .list-block.tablet-inset ul { + border-radius: 0.35rem; + } + .list-block.tablet-inset ul:before { + display: none; + } + .list-block.tablet-inset ul:after { + display: none; + } + .list-block.tablet-inset li:first-child > a { + border-radius: 0.35rem 0.35rem 0 0; + } + .list-block.tablet-inset li:last-child > a { + border-radius: 0 0 0.35rem 0.35rem; + } + .list-block.tablet-inset li:first-child:last-child > a { + border-radius: 0.35rem; + } +} +.list-block li { + box-sizing: border-box; + position: relative; +} +.list-block .item-media { + display: -webkit-box; + display: -webkit-flex; + display: flex; + -webkit-flex-shrink: 0; + -ms-flex: 0 0 auto; + -webkit-flex-shrink: 0; + flex-shrink: 0; + -webkit-box-lines: single; + -moz-box-lines: single; + -webkit-flex-wrap: nowrap; + flex-wrap: nowrap; + box-sizing: border-box; + -webkit-box-align: center; + -webkit-align-items: center; + align-items: center; + padding-top: 0.35rem; + padding-bottom: 0.4rem; +} +.list-block .item-media i + i { + margin-left: 0.25rem; +} +.list-block .item-media i + img { + margin-left: 0.25rem; +} +.list-block .item-media + .item-inner { + margin-left: 0.75rem; +} +.list-block .item-inner { + padding-right: 0.75rem; + position: relative; + width: 100%; + padding-top: 0.4rem; + padding-bottom: 0.35rem; + min-height: 2.2rem; + overflow: hidden; + box-sizing: border-box; + display: -webkit-box; + display: -webkit-flex; + display: flex; + -webkit-box-flex: 1; + -ms-flex: 1; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-box-align: center; + -webkit-align-items: center; + align-items: center; +} +.list-block .item-inner:after { + content: ''; + position: absolute; + left: 0; + bottom: 0; + right: auto; + top: auto; + height: 1px; + width: 100%; + background-color: #e7e7e7; + display: block; + z-index: 15; + -webkit-transform-origin: 50% 100%; + transform-origin: 50% 100%; +} +@media only screen and (-webkit-min-device-pixel-ratio: 2) { + .list-block .item-inner:after { + -webkit-transform: scaleY(0.5); + transform: scaleY(0.5); + } +} +@media only screen and (-webkit-min-device-pixel-ratio: 3) { + .list-block .item-inner:after { + -webkit-transform: scaleY(0.33); + transform: scaleY(0.33); + } +} +.list-block .item-title { + -webkit-flex-shrink: 1; + -ms-flex: 0 1 auto; + -webkit-flex-shrink: 1; + flex-shrink: 1; + white-space: nowrap; + position: relative; + overflow: hidden; + text-overflow: ellipsis; + max-width: 100%; +} +.list-block .item-title.label { + width: 35%; + -webkit-flex-shrink: 0; + -ms-flex: 0 0 auto; + -webkit-flex-shrink: 0; + flex-shrink: 0; + margin: 4px 0; +} +.list-block .item-input { + width: 100%; + margin-top: -0.4rem; + margin-bottom: -0.35rem; + -webkit-box-flex: 1; + -ms-flex: 1; + -webkit-flex-shrink: 1; + -ms-flex: 0 1 auto; + -webkit-flex-shrink: 1; + flex-shrink: 1; +} +.list-block .item-after { + white-space: nowrap; + color: #5f646e; + -webkit-flex-shrink: 0; + -ms-flex: 0 0 auto; + -webkit-flex-shrink: 0; + flex-shrink: 0; + margin-left: 0.25rem; + display: -webkit-box; + display: -webkit-flex; + display: flex; + max-height: 1.4rem; +} +.list-block .smart-select .item-after { + max-width: 70%; + overflow: hidden; + text-overflow: ellipsis; + position: relative; +} +.list-block .item-link { + -webkit-transition-duration: 300ms; + transition-duration: 300ms; + display: block; + color: inherit; +} +.list-block .item-link .item-inner { + padding-right: 1.5rem; + background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDIxIDc5LjE1NTc3MiwgMjAxNC8wMS8xMy0xOTo0NDowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTQgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NUM0QzFDNzMyREM0MTFFNUJDNTI4OTMzMEE0RjBENzMiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NUM0QzFDNzQyREM0MTFFNUJDNTI4OTMzMEE0RjBENzMiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo1QzRDMUM3MTJEQzQxMUU1QkM1Mjg5MzMwQTRGMEQ3MyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo1QzRDMUM3MjJEQzQxMUU1QkM1Mjg5MzMwQTRGMEQ3MyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pjs2Bb4AAAItSURBVHjazJhbK0RRGIb3DIOU/AG5kUTOgxmHceFGKf6BO+Vf+E8KKYcYg3FuMpNIDhFJXJAcp/GtvKumrzVs+zBrvfU2u689q6d3rb33+lYgl8tZvymZ3JOX7eQp8gT50fJA0Wj4z3tKbY5VR14hV5ObyWLkZ6sICtq4p4V8CjihevIWucoUQJFUmtUayTvkShMAL5DiGqs3IMlK3YBSgwrIZkBWmAAoIRMKyG2/IIMO/hMjbygepCS53ARAoQHyOqu1YbrLTADMAXJbASmSDOkGlOpTQHaQN72CdAuYBeQuq4cBWaIbUEJGC0Am3UIGPVoqMsk9Vu/CwxTQDSj0iSQPWD2C6Q7oBhT6AmRKAZkwAVDoowBkn+LdqQVQ6A2QhwrIuAmAEjKi2KrF/jPdfgIKveI7Pcfq/eSMCYBSD4pakymA0+RxVrsn15oAOEMeY7Vbcif5ys4ApT7CzZJHWO2G3I1fSyfgPHmY1a7x6bvT/ZpZUMBdOoHzI8El8pCiK+wq8CQXNcFlBdw51tyD00G9SnAVHV++zgDn6hzHiwTjCrgTTKvrQya3Ca5jA5CvY3IP+UlnTxJEb8zhjpDck1cL20mCAcBFWD2D2ovOvjiERojDpTGtnsL9N8EQegt+LJrC5vRN59lMORp0DrePNH2BswvYivXVzuoHSO7dz+2QHcAa6+eMOl87WHOffm8m7QCK7foog+tFi2mZACg3npPkRUxrtkitgvUtwAA5A3LWdzPizwAAAABJRU5ErkJggg==); + background-size: 0.7rem; + background-repeat: no-repeat; + background-position: 97% center; + background-position: -webkit-calc(100% - .5rem) center; + background-position: calc(100% - .5rem) center; +} +html:not(.watch-active-state) .list-block .item-link:active, +.list-block .item-link.active-state { + -webkit-transition-duration: 0ms; + transition-duration: 0ms; + background-color: #d9d9d9; +} +html:not(.watch-active-state) .list-block .item-link:active .item-inner:after, +.list-block .item-link.active-state .item-inner:after { + background-color: transparent; +} +.list-block .item-link.list-button { + padding: 0 0.75rem; + text-align: center; + color: #0894ec; + display: block; + line-height: 2.15rem; +} +.list-block .item-link.list-button:after { + content: ''; + position: absolute; + left: 0; + bottom: 0; + right: auto; + top: auto; + height: 1px; + width: 100%; + background-color: #e7e7e7; + display: block; + z-index: 15; + -webkit-transform-origin: 50% 100%; + transform-origin: 50% 100%; +} +@media only screen and (-webkit-min-device-pixel-ratio: 2) { + .list-block .item-link.list-button:after { + -webkit-transform: scaleY(0.5); + transform: scaleY(0.5); + } +} +@media only screen and (-webkit-min-device-pixel-ratio: 3) { + .list-block .item-link.list-button:after { + -webkit-transform: scaleY(0.33); + transform: scaleY(0.33); + } +} +.list-block .item-content { + box-sizing: border-box; + padding-left: 0.75rem; + min-height: 2.2rem; + display: -webkit-box; + display: -webkit-flex; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-box-align: center; + -webkit-align-items: center; + align-items: center; +} +.list-block .list-block-label { + margin: 0.5rem 0 1.75rem; + padding: 0 0.75rem; + font-size: 0.7rem; + color: #5f646e; +} +.list-block .item-subtitle { + font-size: 0.75rem; + position: relative; + overflow: hidden; + white-space: nowrap; + max-width: 100%; + text-overflow: ellipsis; +} +.list-block .item-text { + font-size: 0.75rem; + color: #5f646e; + line-height: 1.05rem; + position: relative; + overflow: hidden; + height: 2.1rem; + text-overflow: ellipsis; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + display: -webkit-box; +} +.list-block.media-list .item-title { + font-weight: 500; +} +.list-block.media-list .item-inner { + display: block; + padding-top: 0.5rem; + padding-bottom: 0.45rem; + -webkit-align-self: stretch; + align-self: stretch; +} +.list-block.media-list .item-media { + padding-top: 0.45rem; + padding-bottom: 0.5rem; +} +.list-block.media-list .item-media img { + display: block; +} +.list-block.media-list .item-title-row { + display: -webkit-box; + display: -webkit-flex; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; +} +.list-block .list-group ul:after, +.list-block .list-group ul:before { + z-index: 11; +} +.list-block .list-group + .list-group ul:before { + display: none; +} +.list-block .item-divider, +.list-block .list-group-title { + background: #F7F7F7; + margin-top: -1px; + padding: 0.2rem 0.75rem; + white-space: nowrap; + position: relative; + max-width: 100%; + text-overflow: ellipsis; + overflow: hidden; + color: #e7e7e7; +} +.list-block .item-divider:before, +.list-block .list-group-title:before { + content: ''; + position: absolute; + left: 0; + top: 0; + bottom: auto; + right: auto; + height: 1px; + width: 100%; + background-color: #e7e7e7; + display: block; + z-index: 15; + -webkit-transform-origin: 50% 0%; + transform-origin: 50% 0%; +} +@media only screen and (-webkit-min-device-pixel-ratio: 2) { + .list-block .item-divider:before, + .list-block .list-group-title:before { + -webkit-transform: scaleY(0.5); + transform: scaleY(0.5); + } +} +@media only screen and (-webkit-min-device-pixel-ratio: 3) { + .list-block .item-divider:before, + .list-block .list-group-title:before { + -webkit-transform: scaleY(0.33); + transform: scaleY(0.33); + } +} +.list-block .list-group-title { + position: relative; + position: -webkit-sticky; + position: -moz-sticky; + position: sticky; + top: 0; + z-index: 20; + margin-top: 0; +} +.list-block .list-group-title:before { + display: none; +} +.list-block li:last-child .list-button:after { + display: none; +} +.list-block li:last-child .item-inner:after, +.list-block li:last-child li:last-child .item-inner:after { + display: none; +} +.list-block li li:last-child .item-inner:after, +.list-block li:last-child li .item-inner:after { + content: ''; + position: absolute; + left: 0; + bottom: 0; + right: auto; + top: auto; + height: 1px; + width: 100%; + background-color: #e7e7e7; + display: block; + z-index: 15; + -webkit-transform-origin: 50% 100%; + transform-origin: 50% 100%; +} +@media only screen and (-webkit-min-device-pixel-ratio: 2) { + .list-block li li:last-child .item-inner:after, + .list-block li:last-child li .item-inner:after { + -webkit-transform: scaleY(0.5); + transform: scaleY(0.5); + } +} +@media only screen and (-webkit-min-device-pixel-ratio: 3) { + .list-block li li:last-child .item-inner:after, + .list-block li:last-child li .item-inner:after { + -webkit-transform: scaleY(0.33); + transform: scaleY(0.33); + } +} +/* === Forms === */ +.list-block input[type="text"], +.list-block input[type="password"], +.list-block input[type="search"], +.list-block input[type="email"], +.list-block input[type="tel"], +.list-block input[type="url"], +.list-block input[type="date"], +.list-block input[type="datetime-local"], +.list-block input[type="time"], +.list-block input[type="number"], +.list-block select, +.list-block textarea { + -webkit-appearance: none; + -moz-appearance: none; + -ms-appearance: none; + appearance: none; + box-sizing: border-box; + border: none; + background: none; + border-radius: 0 0 0 0; + box-shadow: none; + display: block; + padding: 0 0 0 0.25rem; + margin: 0; + width: 100%; + height: 2.15rem; + color: #3d4145; + font-size: 0.85rem; + font-family: inherit; +} +.list-block input[type="date"], +.list-block input[type="datetime-local"] { + line-height: 2.2rem; +} +.list-block select { + -webkit-appearance: none; + -moz-appearance: none; + -ms-appearance: none; + appearance: none; +} +.list-block .label { + vertical-align: top; +} +.list-block textarea { + height: 5rem; + resize: none; + line-height: 1.4; + padding-top: 0.4rem; + padding-bottom: 0.35rem; +} +.label-switch { + display: inline-block; + vertical-align: middle; + width: 2.6rem; + border-radius: 0.8rem; + box-sizing: border-box; + height: 1.6rem; + position: relative; + cursor: pointer; + -webkit-align-self: center; + align-self: center; +} +.label-switch .checkbox { + width: 2.6rem; + border-radius: 0.8rem; + box-sizing: border-box; + height: 1.6rem; + background: #e5e5e5; + z-index: 0; + margin: 0; + padding: 0; + -webkit-appearance: none; + -moz-appearance: none; + -ms-appearance: none; + appearance: none; + border: none; + cursor: pointer; + position: relative; + -webkit-transition-duration: 300ms; + transition-duration: 300ms; +} +.label-switch .checkbox:before { + content: ' '; + position: absolute; + left: 0.1rem; + top: 0.1rem; + width: 2.4rem; + border-radius: 0.8rem; + box-sizing: border-box; + height: 1.4rem; + background: #fff; + z-index: 1; + -webkit-transition-duration: 300ms; + transition-duration: 300ms; + -webkit-transform: scale(1); + transform: scale(1); +} +.label-switch .checkbox:after { + content: ' '; + height: 1.4rem; + width: 1.4rem; + border-radius: 1.4rem; + background: #fff; + position: absolute; + z-index: 2; + top: 0.1rem; + left: 0.1rem; + box-shadow: 0 0.1rem 0.25rem rgba(0, 0, 0, 0.4); + -webkit-transform: translateX(0px); + transform: translateX(0px); + -webkit-transition-duration: 300ms; + transition-duration: 300ms; +} +.label-switch input[type="checkbox"] { + display: none; +} +.label-switch input[type="checkbox"]:checked + .checkbox { + background: #4cd964; +} +.label-switch input[type="checkbox"]:checked + .checkbox:before { + -webkit-transform: scale(0); + transform: scale(0); +} +.label-switch input[type="checkbox"]:checked + .checkbox:after { + -webkit-transform: translateX(1.1rem); + transform: translateX(1.1rem); +} +html.android .label-switch input[type="checkbox"] + .checkbox { + -webkit-transition-duration: 0; + transition-duration: 0; +} +html.android .label-switch input[type="checkbox"] + .checkbox:after, +html.android .label-switch input[type="checkbox"] + .checkbox:before { + -webkit-transition-duration: 0; + transition-duration: 0; +} +.range-slider { + width: 100%; + position: relative; + overflow: hidden; + padding-left: 0.15rem; + padding-right: 0.15rem; + margin-left: -1px; + -webkit-align-self: center; + align-self: center; +} +.range-slider input[type="range"] { + position: relative; + height: 1.4rem; + width: 100%; + margin: 0.2rem 0 0.25rem 0; + -webkit-appearance: none; + -moz-appearance: none; + -ms-appearance: none; + appearance: none; + background: -webkit-gradient(linear, 50% 0, 50% 100%, color-stop(0, #b7b8b7), color-stop(100%, #b7b8b7)); + background: -webkit-linear-gradient(left, #b7b8b7 0, #b7b8b7 100%); + background: linear-gradient(to right, #b7b8b7 0, #b7b8b7 100%); + background-position: center; + background-size: 100% 0.1rem; + background-repeat: no-repeat; + outline: 0; +} +.range-slider input[type="range"]:after { + height: 0.1rem; + background: #fff; + content: ' '; + width: 0.25rem; + top: 50%; + margin-top: -1px; + left: -0.25rem; + z-index: 1; + position: absolute; +} +.range-slider input[type="range"]::-webkit-slider-thumb { + -webkit-appearance: none; + -moz-appearance: none; + -ms-appearance: none; + appearance: none; + border: none; + height: 1.4rem; + width: 1.4rem; + position: relative; + background: none; +} +.range-slider input[type="range"]::-webkit-slider-thumb:after { + height: 1.4rem; + width: 1.4rem; + border-radius: 1.4rem; + background: #fff; + z-index: 10; + box-shadow: 0 0.1rem 0.2rem rgba(0, 0, 0, 0.4); + position: absolute; + left: 0; + top: 0; + content: ' '; +} +.range-slider input[type="range"]::-webkit-slider-thumb:before { + position: absolute; + top: 50%; + right: 100%; + width: 100rem; + height: 0.1rem; + margin-top: -1px; + z-index: 1; + background: #0894ec; + content: ' '; +} +label.label-checkbox { + cursor: pointer; +} +label.label-checkbox i.icon-form-checkbox { + width: 1.1rem; + height: 1.1rem; + position: relative; + border-radius: 1.1rem; + border: 1px solid #c7c7cc; + box-sizing: border-box; +} +label.label-checkbox i.icon-form-checkbox:after { + content: ' '; + position: absolute; + left: 50%; + margin-left: -0.3rem; + top: 50%; + margin-top: -0.2rem; + width: 0.6rem; + height: 0.45rem; +} +label.label-checkbox input[type="checkbox"], +label.label-checkbox input[type="radio"] { + display: none; +} +label.label-checkbox input[type="checkbox"]:checked + .item-media i.icon-form-checkbox, +label.label-checkbox input[type="radio"]:checked + .item-media i.icon-form-checkbox { + border: none; + background-color: #0894ec; +} +label.label-checkbox input[type="checkbox"]:checked + .item-media i.icon-form-checkbox:after, +label.label-checkbox input[type="radio"]:checked + .item-media i.icon-form-checkbox:after { + background: no-repeat center; + background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20x%3D'0px'%20y%3D'0px'%20viewBox%3D'0%200%2012%209'%20xml%3Aspace%3D'preserve'%3E%3Cpolygon%20fill%3D'%23ffffff'%20points%3D'12%2C0.7%2011.3%2C0%203.9%2C7.4%200.7%2C4.2%200%2C4.9%203.9%2C8.8%203.9%2C8.8%203.9%2C8.8%20'%2F%3E%3C%2Fsvg%3E"); + background-size: 0.6rem 0.45rem; +} +label.label-checkbox { + -webkit-transition-duration: 300ms; + transition-duration: 300ms; +} +html:not(.watch-active-state) label.label-checkbox:active, +label.label-checkbox.active-state { + -webkit-transition: 0ms; + transition: 0ms; + background-color: #d9d9d9; +} +html:not(.watch-active-state) label.label-checkbox:active .item-inner:after, +label.label-checkbox.active-state .item-inner:after { + background-color: transparent; +} +.smart-select select { + display: none; +} +/* === Search Bar === */ +.searchbar { + padding: 8px 0; + overflow: hidden; + height: 2.2rem; + -webkit-box-align: center; + -webkit-align-items: center; + align-items: center; +} +.searchbar .searchbar-cancel { + margin-right: -3rem; + width: 2.2rem; + float: right; + height: 1.4rem; + line-height: 1.4rem; + text-align: center; + -webkit-transition: all .3s; + transition: all .3s; + opacity: 0; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); +} +.searchbar .search-input { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + margin-right: 0; + -webkit-transition: all .3s; + transition: all .3s; +} +.searchbar .search-input input { + margin: 0; + height: 1.4rem; +} +.searchbar.searchbar-active .searchbar-cancel { + margin-right: 0; + opacity: 1; +} +.searchbar.searchbar-active .searchbar-cancel + .search-input { + margin-right: 2.5rem; +} +.search-input { + position: relative; +} +.search-input input { + box-sizing: border-box; + width: 100%; + height: 1.4rem; + display: block; + border: none; + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; + border-radius: 0.25rem; + font-family: inherit; + color: #3d4145; + font-size: 0.7rem; + font-weight: normal; + padding: 0 0.5rem; + background-color: #fff; + border: 1px solid #b4b4b4; +} +.search-input input::-webkit-input-placeholder { + color: #ccc; + opacity: 1; +} +.search-input .icon { + position: absolute; + font-size: 0.9rem; + color: #b4b4b4; + top: 50%; + left: 0.3rem; + -webkit-transform: translate3D(0, -50%, 0); + transform: translate3D(0, -50%, 0); +} +.search-input label + input { + padding-left: 1.4rem; +} +.bar .searchbar { + margin: 0 -0.5rem; + padding: 0.4rem 0.5rem; + background: rgba(0, 0, 0, 0.1); +} +.bar .searchbar .search-input input { + border: 0; +} +.bar .searchbar .searchbar-cancel { + color: #5f646e; +} +.button { + border: 1px solid #0894ec; + color: #0894ec; + text-decoration: none; + text-align: center; + display: block; + border-radius: 0.25rem; + line-height: 1.25rem; + box-sizing: border-box; + -webkit-appearance: none; + -moz-appearance: none; + -ms-appearance: none; + appearance: none; + background: none; + padding: 0 0.5rem; + margin: 0; + height: 1.35rem; + white-space: nowrap; + position: relative; + text-overflow: ellipsis; + font-size: 0.7rem; + font-family: inherit; + cursor: pointer; +} +input[type="submit"].button, +input[type="button"].button { + width: 100%; +} +.button:active { + color: #0a8ddf; + border-color: #0a8ddf; +} +.button.button-round { + border-radius: 1.25rem; +} +.button.active, +.button.active:active { + color: #0a8ddf; + border-color: #0a8ddf; +} +.button.button-big { + font-size: 0.85rem; + height: 2.4rem; + line-height: 2.3rem; +} +.button.button-fill { + color: #fff; + background: #0894ec; + border: none; + line-height: 1.35rem; +} +.button.button-fill.active, +.button.button-fill:active { + background: #0a8ddf; +} +.button.button-fill.button-big { + line-height: 2.4rem; +} +.button .button-link { + padding-top: 0.3rem; + padding-bottom: 0.3rem; + color: #0894ec; + background-color: transparent; + border: 0; +} +.button i.icon:first-child { + margin-right: 0.5rem; +} +.button i.icon:last-child { + margin-left: 0.5rem; +} +.button i.icon:first-child:last-child { + margin-left: 0; + margin-right: 0; +} +.button-light { + border-color: #ccc; + color: #ccc; + color: #5f646e; +} +.button-light:active { + border-color: #0a8ddf; + color: #0a8ddf; +} +.button-light.button-fill { + color: white; + background-color: #ccc; +} +.button-light.button-fill:active { + background-color: #0a8ddf; +} +.button-dark { + border-color: #6e727b; + color: #6e727b; + color: #5f646e; +} +.button-dark:active { + border-color: #0a8ddf; + color: #0a8ddf; +} +.button-dark.button-fill { + color: white; + background-color: #6e727b; +} +.button-dark.button-fill:active { + background-color: #0a8ddf; +} +.button-success { + border-color: #4cd964; + color: #4cd964; +} +.button-success:active { + border-color: #2ac845; + color: #2ac845; +} +.button-success.button-fill { + color: white; + background-color: #4cd964; +} +.button-success.button-fill:active { + background-color: #2ac845; +} +.button-danger { + border-color: #f6383a; + color: #f6383a; +} +.button-danger:active { + border-color: #f00b0d; + color: #f00b0d; +} +.button-danger.button-fill { + color: white; + background-color: #f6383a; +} +.button-danger.button-fill:active { + background-color: #f00b0d; +} +.button-warning { + border-color: #f60; + color: #f60; +} +.button-warning:active { + border-color: #cc5200; + color: #cc5200; +} +.button-warning.button-fill { + color: white; + background-color: #f60; +} +.button-warning.button-fill:active { + background-color: #cc5200; +} +.button.disabled, +.button.button-primary.disabled, +.button.button-success.disabled, +.button.button-danger.disabled, +.button.button-warning.disabled { + border-color: #c8c9cb; + color: #c8c9cb; + cursor: not-allowed; +} +.button.disabled:active, +.button.button-primary.disabled:active, +.button.button-success.disabled:active, +.button.button-danger.disabled:active, +.button.button-warning.disabled:active { + border-color: #c8c9cb; + color: #c8c9cb; +} +.button.disabled.button-fill, +.button.button-primary.disabled.button-fill, +.button.button-success.disabled.button-fill, +.button.button-danger.disabled.button-fill, +.button.button-warning.disabled.button-fill { + color: white; + background-color: #c8c9cb; +} +.button.disabled.button-fill:active, +.button.button-primary.disabled.button-fill:active, +.button.button-success.disabled.button-fill:active, +.button.button-danger.disabled.button-fill:active, +.button.button-warning.disabled.button-fill:active { + background-color: #c8c9cb; +} +.buttons-row, +.buttons-tab { + -webkit-align-self: center; + align-self: center; + display: -webkit-box; + display: -webkit-flex; + display: flex; + -webkit-box-lines: single; + -moz-box-lines: single; + -webkit-flex-wrap: nowrap; + flex-wrap: nowrap; +} +.buttons-row .button { + border-radius: 0 0 0 0; + margin-left: -1px; + width: 100%; + -webkit-box-flex: 1; + -ms-flex: 1; + border-color: #0894ec; + color: #0894ec; +} +.buttons-row .button.active { + background-color: #0894ec; + color: white; + z-index: 90; +} +.buttons-row .button:first-child { + border-radius: 0.25rem 0 0 0.25rem; + margin-left: 0; + border-left-width: 1px; + border-left-style: solid; +} +.buttons-row .button:last-child { + border-radius: 0 0.25rem 0.25rem 0; +} +.buttons-row .button.button-round:first-child { + border-radius: 1.35rem 0 0 1.35rem; +} +.buttons-row .button.button-round:last-child { + border-radius: 0 1.35rem 1.35rem 0; +} +.buttons-tab { + background: white; + position: relative; +} +.buttons-tab:after { + content: ''; + position: absolute; + left: 0; + bottom: 0; + right: auto; + top: auto; + height: 1px; + width: 100%; + background-color: #d0d0d0; + display: block; + z-index: 15; + -webkit-transform-origin: 50% 100%; + transform-origin: 50% 100%; +} +@media only screen and (-webkit-min-device-pixel-ratio: 2) { + .buttons-tab:after { + -webkit-transform: scaleY(0.5); + transform: scaleY(0.5); + } +} +@media only screen and (-webkit-min-device-pixel-ratio: 3) { + .buttons-tab:after { + -webkit-transform: scaleY(0.33); + transform: scaleY(0.33); + } +} +.buttons-tab .button { + color: #5f646e; + font-size: 0.8rem; + width: 100%; + height: 2rem; + line-height: 2rem; + -webkit-box-flex: 1; + -ms-flex: 1; + border: 0; + border-bottom: 2px solid transparent; + border-radius: 0; +} +.buttons-tab .button.active { + color: #0894ec; + border-color: #0894ec; + z-index: 100; +} +.buttons-fixed { + position: fixed; + z-index: 99; + width: 100%; +} +/* === Tabs === */ +.tabs .tab { + display: none; +} +.tabs .tab.active { + display: block; +} +.tabs-animated-wrap { + position: relative; + width: 100%; + overflow: hidden; + height: 100%; +} +.tabs-animated-wrap > .tabs { + display: -webkit-box; + display: -webkit-flex; + display: flex; + height: 100%; + -webkit-transition: 300ms; + transition: 300ms; +} +.tabs-animated-wrap > .tabs > .tab { + width: 100%; + display: block; + -webkit-flex-shrink: 0; + -ms-flex: 0 0 auto; + -webkit-flex-shrink: 0; + flex-shrink: 0; +} +/* === Pages === */ +.page, +.page-group { + box-sizing: border-box; + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + background: #efeff4; + display: none; + overflow: hidden; +} +.page.page-current, +.page-group.page-current, +.page.page-visible, +.page-group.page-visible, +.page.page-from-center-to-left, +.page-group.page-from-center-to-left, +.page.page-from-center-to-right, +.page-group.page-from-center-to-right, +.page.page-from-right-to-center, +.page-group.page-from-right-to-center, +.page.page-from-left-to-center, +.page-group.page-from-left-to-center { + display: block; +} +.page.page-current, +.page-group.page-current { + overflow: hidden; +} +.page-group { + display: block; +} +.page-transitioning, +.page-transitioning .swipeback-page-shadow { + -webkit-transition: 400ms; + transition: 400ms; +} +.page-from-right-to-center { + -webkit-animation: pageFromRightToCenter 400ms forwards; + animation: pageFromRightToCenter 400ms forwards; + z-index: 2002; +} +.page-from-center-to-right { + -webkit-animation: pageFromCenterToRight 400ms forwards; + animation: pageFromCenterToRight 400ms forwards; + z-index: 2002; +} +@-webkit-keyframes pageFromRightToCenter { + from { + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + opacity: .9; + } + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 1; + } +} +@keyframes pageFromRightToCenter { + from { + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + opacity: .9; + } + to { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 1; + } +} +@-webkit-keyframes pageFromCenterToRight { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 1; + } + to { + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + opacity: .9; + } +} +@keyframes pageFromCenterToRight { + from { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + opacity: 1; + } + to { + -webkit-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + opacity: .9; + } +} +.page-from-center-to-left { + -webkit-animation: pageFromCenterToLeft 400ms forwards; + animation: pageFromCenterToLeft 400ms forwards; +} +.page-from-left-to-center { + -webkit-animation: pageFromLeftToCenter 400ms forwards; + animation: pageFromLeftToCenter 400ms forwards; +} +@-webkit-keyframes pageFromCenterToLeft { + from { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + to { + opacity: 0.5; + -webkit-transform: translate3d(-20%, 0, 0); + transform: translate3d(-20%, 0, 0); + } +} +@keyframes pageFromCenterToLeft { + from { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } + to { + opacity: 0.5; + -webkit-transform: translate3d(-20%, 0, 0); + transform: translate3d(-20%, 0, 0); + } +} +@-webkit-keyframes pageFromLeftToCenter { + from { + opacity: .5; + -webkit-transform: translate3d(-20%, 0, 0); + transform: translate3d(-20%, 0, 0); + } + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} +@keyframes pageFromLeftToCenter { + from { + opacity: .5; + -webkit-transform: translate3d(-20%, 0, 0); + transform: translate3d(-20%, 0, 0); + } + to { + opacity: 1; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + } +} +.content-inner { + box-sizing: border-box; + border-top: 1px solid transparent; + margin-top: -1px; + padding-bottom: 0.5rem; +} +.javascript-scroll { + overflow: hidden; +} +/* === Pull To Refresh === */ +.pull-to-refresh-layer { + position: relative; + left: 0; + top: 0; + width: 100%; + height: 2.2rem; +} +.pull-to-refresh-layer .preloader { + position: absolute; + left: 50%; + top: 50%; + margin-left: -0.5rem; + margin-top: -0.5rem; + visibility: hidden; +} +.pull-to-refresh-layer .pull-to-refresh-arrow { + width: 0.65rem; + height: 1rem; + position: absolute; + left: 50%; + top: 50%; + margin-left: -0.15rem; + margin-top: -0.5rem; + background: no-repeat center; + background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2026%2040'%3E%3Cpolygon%20points%3D'9%2C22%209%2C0%2017%2C0%2017%2C22%2026%2C22%2013.5%2C40%200%2C22'%20fill%3D'%238c8c8c'%2F%3E%3C%2Fsvg%3E"); + background-size: 0.65rem 1rem; + z-index: 10; + -webkit-transform: rotate(0deg) translate3d(0, 0, 0); + transform: rotate(0deg) translate3d(0, 0, 0); + -webkit-transition-duration: 300ms; + transition-duration: 300ms; +} +.pull-to-refresh-content { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); +} +.pull-to-refresh-content.transitioning, +.pull-to-refresh-content.refreshing { + -webkit-transition: -webkit-transform 400ms; + transition: transform 400ms; +} +.pull-to-refresh-content:not(.refreshing) .pull-to-refresh-layer .preloader { + -webkit-animation: none; + animation: none; +} +.pull-to-refresh-content.refreshing .pull-to-refresh-arrow { + visibility: hidden; + -webkit-transition-duration: 0ms; + transition-duration: 0ms; +} +.pull-to-refresh-content.refreshing .preloader { + visibility: visible; +} +.pull-to-refresh-content.pull-up .pull-to-refresh-arrow { + -webkit-transform: rotate(180deg) translate3d(0, 0, 0); + transform: rotate(180deg) translate3d(0, 0, 0); +} +.pull-to-refresh-content { + top: -2.2rem; +} +.pull-to-refresh-content.refreshing { + -webkit-transform: translate3d(0, 2.2rem, 0); + transform: translate3d(0, 2.2rem, 0); +} +.bar-nav ~ .pull-to-refresh-content, +.bar-footer ~ .pull-to-refresh-content, +.bar-tab ~ .pull-to-refresh-content { + top: 0; +} +.bar-nav ~ .pull-to-refresh-content.refreshing, +.bar-footer ~ .pull-to-refresh-content.refreshing, +.bar-tab ~ .pull-to-refresh-content.refreshing { + -webkit-transform: translate3d(0, 2.2rem, 0); + transform: translate3d(0, 2.2rem, 0); +} +.bar-header-secondary ~ .pull-to-refresh-content, +.bar-footer-secondary ~ .pull-to-refresh-content { + top: 2.2rem; +} +.infinite-scroll-preloader { + margin: 0.5rem; + text-align: center; +} +.infinite-scroll-preloader .preloader { + width: 1.5rem; + height: 1.5rem; +} +.infinite-scroll-top .infinite-scroll-preloader { + position: absolute; + width: 100%; + top: 0; + margin: 0; +} +/* === Modals === */ +.modal-overlay, +.preloader-indicator-overlay, +.popup-overlay { + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + background: rgba(0, 0, 0, 0.4); + z-index: 10600; + visibility: hidden; + opacity: 0; + -webkit-transition-duration: 400ms; + transition-duration: 400ms; +} +.modal-overlay.modal-overlay-visible, +.preloader-indicator-overlay.modal-overlay-visible, +.popup-overlay.modal-overlay-visible { + visibility: visible; + opacity: 1; +} +.popup-overlay { + z-index: 10200; +} +.modal { + width: 13.5rem; + position: absolute; + z-index: 11000; + left: 50%; + margin-left: -6.75rem; + margin-top: 0; + top: 50%; + text-align: center; + border-radius: 0.35rem; + opacity: 0; + -webkit-transform: translate3d(0, 0, 0) scale(1.185); + transform: translate3d(0, 0, 0) scale(1.185); + -webkit-transition-property: -webkit-transform, opacity; + transition-property: transform, opacity; + color: #3d4145; + display: none; +} +.modal.modal-in { + opacity: 1; + -webkit-transition-duration: 400ms; + transition-duration: 400ms; + -webkit-transform: translate3d(0, 0, 0) scale(1); + transform: translate3d(0, 0, 0) scale(1); +} +.modal.modal-out { + opacity: 0; + z-index: 10999; + -webkit-transition-duration: 400ms; + transition-duration: 400ms; + -webkit-transform: translate3d(0, 0, 0) scale(0.815); + transform: translate3d(0, 0, 0) scale(0.815); +} +.modal-inner { + padding: 0.75rem; + border-radius: 0.35rem 0.35rem 0 0; + position: relative; + background: #e8e8e8; +} +.modal-inner:after { + content: ''; + position: absolute; + left: 0; + bottom: 0; + right: auto; + top: auto; + height: 1px; + width: 100%; + background-color: #b5b5b5; + display: block; + z-index: 15; + -webkit-transform-origin: 50% 100%; + transform-origin: 50% 100%; +} +@media only screen and (-webkit-min-device-pixel-ratio: 2) { + .modal-inner:after { + -webkit-transform: scaleY(0.5); + transform: scaleY(0.5); + } +} +@media only screen and (-webkit-min-device-pixel-ratio: 3) { + .modal-inner:after { + -webkit-transform: scaleY(0.33); + transform: scaleY(0.33); + } +} +.modal-title { + font-weight: 500; + font-size: 0.9rem; + text-align: center; +} +.modal-title + .modal-text { + margin-top: 0.25rem; +} +.modal-buttons { + height: 2.2rem; + overflow: hidden; + display: -webkit-box; + display: -webkit-flex; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + justify-content: center; +} +.modal-buttons.modal-buttons-vertical { + display: block; + height: auto; +} +.modal-button { + width: 100%; + padding: 0 0.25rem; + height: 2.2rem; + font-size: 0.85rem; + line-height: 2.2rem; + text-align: center; + color: #0894ec; + background: #e8e8e8; + display: block; + position: relative; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; + cursor: pointer; + box-sizing: border-box; + -webkit-box-flex: 1; + -ms-flex: 1; +} +.modal-button:after { + content: ''; + position: absolute; + right: 0; + top: 0; + left: auto; + bottom: auto; + width: 1px; + height: 100%; + background-color: #b5b5b5; + display: block; + z-index: 15; + -webkit-transform-origin: 100% 50%; + transform-origin: 100% 50%; +} +@media only screen and (-webkit-min-device-pixel-ratio: 2) { + .modal-button:after { + -webkit-transform: scaleY(0.5); + transform: scaleY(0.5); + } +} +@media only screen and (-webkit-min-device-pixel-ratio: 3) { + .modal-button:after { + -webkit-transform: scaleY(0.33); + transform: scaleY(0.33); + } +} +.modal-button:first-child { + border-radius: 0 0 0 0.35rem; +} +.modal-button:last-child { + border-radius: 0 0 0.35rem 0; +} +.modal-button:last-child:after { + display: none; +} +.modal-button:first-child:last-child { + border-radius: 0 0 0.35rem 0.35rem; +} +.modal-button.modal-button-bold { + font-weight: 500; +} +html:not(.watch-active-state) .modal-button:active, +.modal-button.active-state { + background: #d4d4d4; +} +.modal-buttons-vertical .modal-button { + border-radius: 0; +} +.modal-buttons-vertical .modal-button:after { + display: none; +} +.modal-buttons-vertical .modal-button:before { + display: none; +} +.modal-buttons-vertical .modal-button:after { + content: ''; + position: absolute; + left: 0; + bottom: 0; + right: auto; + top: auto; + height: 1px; + width: 100%; + background-color: #b5b5b5; + display: block; + z-index: 15; + -webkit-transform-origin: 50% 100%; + transform-origin: 50% 100%; +} +@media only screen and (-webkit-min-device-pixel-ratio: 2) { + .modal-buttons-vertical .modal-button:after { + -webkit-transform: scaleY(0.5); + transform: scaleY(0.5); + } +} +@media only screen and (-webkit-min-device-pixel-ratio: 3) { + .modal-buttons-vertical .modal-button:after { + -webkit-transform: scaleY(0.33); + transform: scaleY(0.33); + } +} +.modal-buttons-vertical .modal-button:last-child { + border-radius: 0 0 0.35rem 0.35rem; +} +.modal-buttons-vertical .modal-button:last-child:after { + display: none; +} +.modal-no-buttons .modal-inner { + border-radius: 0.35rem; +} +.modal-no-buttons .modal-inner:after { + display: none; +} +.modal-no-buttons .modal-buttons { + display: none; +} +.actions-modal { + position: absolute; + left: 0; + bottom: 0; + z-index: 11000; + width: 100%; + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); +} +.actions-modal.modal-in { + -webkit-transition-duration: 300ms; + transition-duration: 300ms; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); +} +.actions-modal.modal-out { + z-index: 10999; + -webkit-transition-duration: 300ms; + transition-duration: 300ms; + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); +} +.actions-modal-group { + margin: 0.4rem; +} +.actions-modal-button, +.actions-modal-label { + width: 100%; + text-align: center; + font-weight: normal; + margin: 0; + background: rgba(243, 243, 243, 0.95); + box-sizing: border-box; + display: block; + position: relative; +} +.actions-modal-button:after, +.actions-modal-label:after { + content: ''; + position: absolute; + left: 0; + bottom: 0; + right: auto; + top: auto; + height: 1px; + width: 100%; + background-color: #d2d2d6; + display: block; + z-index: 15; + -webkit-transform-origin: 50% 100%; + transform-origin: 50% 100%; +} +@media only screen and (-webkit-min-device-pixel-ratio: 2) { + .actions-modal-button:after, + .actions-modal-label:after { + -webkit-transform: scaleY(0.5); + transform: scaleY(0.5); + } +} +@media only screen and (-webkit-min-device-pixel-ratio: 3) { + .actions-modal-button:after, + .actions-modal-label:after { + -webkit-transform: scaleY(0.33); + transform: scaleY(0.33); + } +} +.actions-modal-button a, +.actions-modal-label a { + text-decoration: none; + color: inherit; +} +.actions-modal-button b, +.actions-modal-label b { + font-weight: 500; +} +.actions-modal-button.actions-modal-button-bold, +.actions-modal-label.actions-modal-button-bold { + font-weight: 500; +} +.actions-modal-button.actions-modal-button-danger, +.actions-modal-label.actions-modal-button-danger { + color: #f6383a; +} +.actions-modal-button.color-danger, +.actions-modal-label.color-danger { + color: #f6383a; +} +.actions-modal-button.bg-danger, +.actions-modal-label.bg-danger { + background: #f6383a; + color: white; +} +.actions-modal-button.bg-danger:active, +.actions-modal-label.bg-danger:active { + background: #f00b0d; +} +.actions-modal-button:first-child, +.actions-modal-label:first-child { + border-radius: 0.2rem 0.2rem 0 0; +} +.actions-modal-button:last-child, +.actions-modal-label:last-child { + border-radius: 0 0 0.2rem 0.2rem; +} +.actions-modal-button:last-child:after, +.actions-modal-label:last-child:after { + display: none; +} +.actions-modal-button:first-child:last-child, +.actions-modal-label:first-child:last-child { + border-radius: 0.2rem; +} +.actions-modal-button.disabled, +.actions-modal-label.disabled { + opacity: 0.95; + color: #8e8e93; +} +.actions-modal-button { + cursor: pointer; + line-height: 2.15rem; + font-size: 1rem; + color: #0894ec; +} +.actions-modal-button:active, +.actions-modal-button.active-state { + background: #dcdcdc; +} +.actions-modal-label { + font-size: 0.7rem; + line-height: 1.3; + min-height: 2.2rem; + padding: 0.4rem 0.5rem; + color: #5f646e; + display: -webkit-box; + display: -webkit-flex; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + align-items: center; +} +input.modal-text-input { + box-sizing: border-box; + height: 1.5rem; + background: #fff; + margin: 0; + margin-top: 0.75rem; + padding: 0 0.25rem; + border: 1px solid #a0a0a0; + border-radius: 0.25rem; + width: 100%; + font-size: 0.7rem; + font-family: inherit; + display: block; + box-shadow: 0 0 0 rgba(0, 0, 0, 0); + -webkit-appearance: none; + -moz-appearance: none; + appearance: none; +} +input.modal-text-input + input.modal-text-input { + margin-top: 0.25rem; +} +input.modal-text-input.modal-text-input-double { + border-radius: 0.25rem 0.25rem 0 0; +} +input.modal-text-input.modal-text-input-double + input.modal-text-input { + margin-top: 0; + border-top: 0; + border-radius: 0 0 0.25rem 0.25rem; +} +.popup, +.login-screen { + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + z-index: 10400; + background: #fff; + box-sizing: border-box; + display: none; + overflow: auto; + -webkit-overflow-scrolling: touch; + -webkit-transition-property: -webkit-transform; + transition-property: transform; + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); +} +.popup.modal-in, +.login-screen.modal-in, +.popup.modal-out, +.login-screen.modal-out { + -webkit-transition-duration: 400ms; + transition-duration: 400ms; +} +.popup.modal-in, +.login-screen.modal-in { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); +} +.popup.modal-out, +.login-screen.modal-out { + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); +} +.login-screen.modal-in, +.login-screen.modal-out { + display: block; +} +html.with-statusbar-overlay .popup { + height: -webkit-calc(100% - 1rem); + height: calc(100% - 1rem); + top: 1rem; +} +html.with-statusbar-overlay .popup-overlay { + z-index: 9800; +} +@media all and (max-width: 629px), (max-height: 629px) { + html.with-statusbar-overlay .popup { + height: -webkit-calc(100% - 1rem); + height: calc(100% - 1rem); + top: 1rem; + } + html.with-statusbar-overlay .popup-overlay { + z-index: 9800; + } +} +html.with-statusbar-overlay .login-screen, +html.with-statusbar-overlay .popup.tablet-fullscreen { + height: -webkit-calc(100% - 1rem); + height: calc(100% - 1rem); + top: 1rem; +} +.modal .preloader { + width: 1.7rem; + height: 1.7rem; +} +.preloader-indicator-overlay { + visibility: visible; + opacity: 0; + background: none; +} +.preloader-indicator-modal { + position: absolute; + left: 50%; + top: 50%; + padding: 0.4rem; + margin-left: -1.25rem; + margin-top: -1.25rem; + background: rgba(0, 0, 0, 0.8); + z-index: 11000; + border-radius: 0.25rem; +} +.preloader-indicator-modal .preloader { + display: block; + width: 1.7rem; + height: 1.7rem; +} +.picker-modal { + position: fixed; + left: 0; + bottom: 0; + width: 100%; + height: 13rem; + z-index: 11500; + display: none; + -webkit-transition-property: -webkit-transform; + transition-property: transform; + background: #cfd5da; + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); +} +.picker-modal.modal-in, +.picker-modal.modal-out { + -webkit-transition-duration: 400ms; + transition-duration: 400ms; +} +.picker-modal.modal-in { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); +} +.picker-modal.modal-out { + -webkit-transform: translate3d(0, 100%, 0); + transform: translate3d(0, 100%, 0); +} +.picker-modal .picker-modal-inner { + height: 100%; + position: relative; +} +.picker-modal .toolbar { + position: relative; + width: 100%; +} +.picker-modal .toolbar:before { + content: ''; + position: absolute; + left: 0; + top: 0; + bottom: auto; + right: auto; + height: 1px; + width: 100%; + background-color: #999; + display: block; + z-index: 15; + -webkit-transform-origin: 50% 0%; + transform-origin: 50% 0%; +} +@media only screen and (-webkit-min-device-pixel-ratio: 2) { + .picker-modal .toolbar:before { + -webkit-transform: scaleY(0.5); + transform: scaleY(0.5); + } +} +@media only screen and (-webkit-min-device-pixel-ratio: 3) { + .picker-modal .toolbar:before { + -webkit-transform: scaleY(0.33); + transform: scaleY(0.33); + } +} +.picker-modal .toolbar + .picker-modal-inner { + height: -webkit-calc(100% - 2.2rem); + height: calc(100% - 2.2rem); +} +.picker-modal.picker-modal-inline { + display: block; + position: relative; + background: none; + z-index: inherit; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); +} +.picker-modal.picker-modal-inline .toolbar:before { + display: none; +} +.picker-modal.picker-modal-inline .toolbar:after { + content: ''; + position: absolute; + left: 0; + bottom: 0; + right: auto; + top: auto; + height: 1px; + width: 100%; + background-color: #999; + display: block; + z-index: 15; + -webkit-transform-origin: 50% 100%; + transform-origin: 50% 100%; +} +@media only screen and (-webkit-min-device-pixel-ratio: 2) { + .picker-modal.picker-modal-inline .toolbar:after { + -webkit-transform: scaleY(0.5); + transform: scaleY(0.5); + } +} +@media only screen and (-webkit-min-device-pixel-ratio: 3) { + .picker-modal.picker-modal-inline .toolbar:after { + -webkit-transform: scaleY(0.33); + transform: scaleY(0.33); + } +} +.toast { + background: rgba(0, 0, 0, 0.8); + border-radius: 1rem; + color: white; + padding: 0 .8rem; + height: 2rem; + line-height: 2rem; + font-size: 0.8rem; + width: auto; +} +/* === Preloader === */ +.preloader { + display: inline-block; + width: 1rem; + height: 1rem; + -webkit-transform-origin: 50%; + transform-origin: 50%; + -webkit-animation: preloader-spin 1s steps(12, end) infinite; + animation: preloader-spin 1s steps(12, end) infinite; +} +.preloader:after { + display: block; + content: ""; + width: 100%; + height: 100%; + background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%236c6c6c'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"); + background-position: 50%; + background-size: 100%; + background-repeat: no-repeat; +} +.preloader-white:after { + background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%23fff'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"); +} +@-webkit-keyframes preloader-spin { + 100% { + -webkit-transform: rotate(360deg); + } +} +@keyframes preloader-spin { + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +/* === Cards === */ +.cards-list ul, +.card .list-block ul { + background: none; +} +.cards-list > ul:before, +.card .list-block > ul:before { + display: none; +} +.cards-list > ul:after, +.card .list-block > ul:after { + display: none; +} +.card { + background: #fff; + box-shadow: 0 0.05rem 0.1rem rgba(0, 0, 0, 0.3); + margin: 0.5rem; + position: relative; + border-radius: 0.1rem; + font-size: 0.7rem; +} +.card .list-block, +.card .content-block { + margin: 0; +} +.row:not(.no-gutter) .col > .card { + margin-left: 0; + margin-right: 0; +} +.card-content { + position: relative; +} +.card-content-inner { + padding: 0.75rem; + position: relative; +} +.card-content-inner > p:first-child { + margin-top: 0; +} +.card-content-inner > p:last-child { + margin-bottom: 0; +} +.card-content-inner > .list-block, +.card-content-inner > .content-block { + margin: -0.75rem; +} +.card-header, +.card-footer { + min-height: 2.2rem; + position: relative; + padding: 0.5rem 0.75rem; + box-sizing: border-box; + display: -webkit-box; + display: -webkit-flex; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + -webkit-box-align: center; + -webkit-align-items: center; + align-items: center; +} +.card-header[valign="top"], +.card-footer[valign="top"] { + -webkit-box-align: start; + -webkit-align-items: flex-start; + align-items: flex-start; +} +.card-header[valign="bottom"], +.card-footer[valign="bottom"] { + -webkit-box-align: end; + -webkit-align-items: flex-end; + align-items: flex-end; +} +.card-header a.link, +.card-footer a.link { + line-height: 2.2rem; + height: 2.2rem; + text-decoration: none; + position: relative; + margin-top: -0.5rem; + margin-bottom: -0.5rem; + display: -webkit-box; + display: -webkit-flex; + display: flex; + -webkit-box-pack: start; + -webkit-justify-content: flex-start; + justify-content: flex-start; + -webkit-box-align: center; + -webkit-align-items: center; + align-items: center; + -webkit-transition-duration: 300ms; + transition-duration: 300ms; +} +html:not(.watch-active-state) .card-header a.link:active, +html:not(.watch-active-state) .card-footer a.link:active, +.card-header a.link.active-state, +.card-footer a.link.active-state { + opacity: 0.3; + -webkit-transition-duration: 0ms; + transition-duration: 0ms; +} +.card-header a.link i + span, +.card-footer a.link i + span, +.card-header a.link i + i, +.card-footer a.link i + i, +.card-header a.link span + i, +.card-footer a.link span + i, +.card-header a.link span + span, +.card-footer a.link span + span { + margin-left: 0.35rem; +} +.card-header a.link i.icon, +.card-footer a.link i.icon { + display: block; +} +.card-header a.icon-only, +.card-footer a.icon-only { + min-width: 2.2rem; + display: -webkit-box; + display: -webkit-flex; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + align-items: center; + margin: 0; +} +.card-header { + border-radius: 0.1rem 0.1rem 0 0; + font-size: 0.85rem; +} +.card-header:after { + content: ''; + position: absolute; + left: 0; + bottom: 0; + right: auto; + top: auto; + height: 1px; + width: 100%; + background-color: #e1e1e1; + display: block; + z-index: 15; + -webkit-transform-origin: 50% 100%; + transform-origin: 50% 100%; +} +@media only screen and (-webkit-min-device-pixel-ratio: 2) { + .card-header:after { + -webkit-transform: scaleY(0.5); + transform: scaleY(0.5); + } +} +@media only screen and (-webkit-min-device-pixel-ratio: 3) { + .card-header:after { + -webkit-transform: scaleY(0.33); + transform: scaleY(0.33); + } +} +.card-header .card-cover { + width: 100%; + display: block; +} +.card-header.no-border:after { + display: none; +} +.card-header.no-padding { + padding: 0; +} +.card-footer { + border-radius: 0 0 0.1rem 0.1rem; + color: #5f646e; +} +.card-footer:before { + content: ''; + position: absolute; + left: 0; + top: 0; + bottom: auto; + right: auto; + height: 1px; + width: 100%; + background-color: #e1e1e1; + display: block; + z-index: 15; + -webkit-transform-origin: 50% 0%; + transform-origin: 50% 0%; +} +@media only screen and (-webkit-min-device-pixel-ratio: 2) { + .card-footer:before { + -webkit-transform: scaleY(0.5); + transform: scaleY(0.5); + } +} +@media only screen and (-webkit-min-device-pixel-ratio: 3) { + .card-footer:before { + -webkit-transform: scaleY(0.33); + transform: scaleY(0.33); + } +} +.card-footer.no-border:before { + display: none; +} +.facebook-card .card-header { + display: block; + padding: 0.5rem; +} +.facebook-card .facebook-avatar { + float: left; +} +.facebook-card .facebook-name { + margin-left: 2.2rem; + font-size: 0.7rem; + font-weight: 500; +} +.facebook-card .facebook-date { + margin-left: 2.2rem; + font-size: 0.65rem; + color: #5f646e; +} +.facebook-card .card-footer { + background: #fafafa; +} +.facebook-card .card-footer a { + color: #5f646e; + font-weight: 500; +} +.facebook-card .card-content img { + display: block; +} +.facebook-card .card-content-inner { + padding: 0.75rem 0.5rem; +} +/* === Panels === */ +.panel-overlay { + position: absolute; + left: 0; + top: 0; + width: 100%; + height: 100%; + background: rgba(0, 0, 0, 0); + opacity: 0; + z-index: 5999; + display: none; +} +.panel { + z-index: 1000; + display: none; + background: #111; + color: white; + box-sizing: border-box; + overflow: auto; + -webkit-overflow-scrolling: touch; + position: absolute; + width: 12rem; + top: 0; + height: 100%; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + -webkit-transition: -webkit-transform 400ms; + transition: transform 400ms; +} +.panel.panel-left.panel-cover { + z-index: 6000; + left: -12rem; +} +.panel.panel-left.panel-reveal { + left: 0; +} +.panel.panel-right.panel-cover { + z-index: 6000; + right: -12rem; +} +.panel.panel-right.panel-reveal { + right: 0; +} +body.with-panel-left-cover .page, +body.with-panel-right-cover .page { + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + -webkit-transition: -webkit-transform 400ms; + transition: transform 400ms; +} +body.with-panel-left-cover .panel-overlay, +body.with-panel-right-cover .panel-overlay { + display: block; +} +body.with-panel-left-reveal .page, +body.with-panel-right-reveal .page { + -webkit-transition: 400ms; + transition: 400ms; + -webkit-transition-property: -webkit-transform; + transition-property: transform; +} +body.with-panel-left-reveal .panel-overlay, +body.with-panel-right-reveal .panel-overlay { + display: block; +} +body.with-panel-left-reveal .page { + -webkit-transform: translate3d(12rem, 0, 0); + transform: translate3d(12rem, 0, 0); +} +body.with-panel-left-reveal .panel-overlay { + margin-left: 12rem; +} +body.with-panel-left-cover .panel-left { + -webkit-transform: translate3d(12rem, 0, 0); + transform: translate3d(12rem, 0, 0); +} +body.with-panel-right-reveal .page { + -webkit-transform: translate3d(-12rem, 0, 0); + transform: translate3d(-12rem, 0, 0); +} +body.with-panel-right-reveal .panel-overlay { + margin-left: -12rem; +} +body.with-panel-right-cover .panel-right { + -webkit-transform: translate3d(-12rem, 0, 0); + transform: translate3d(-12rem, 0, 0); +} +body.panel-closing .page { + -webkit-transition: 400ms; + transition: 400ms; + -webkit-transition-property: -webkit-transform; + transition-property: transform; +} +/* === Calendar === */ +.picker-calendar { + background: #fff; + height: 300px; + width: 100%; + overflow: hidden; +} +@media (orientation: landscape) and (max-height: 415px) { + .picker-calendar:not(.picker-modal-inline) { + height: 220px; + } +} +.picker-calendar .picker-modal-inner { + overflow: hidden; +} +.picker-calendar-week-days { + height: 18px; + background: #f7f7f8; + display: -webkit-box; + display: -webkit-flex; + display: flex; + font-size: 11px; + box-sizing: border-box; + position: relative; +} +.picker-calendar-week-days:after { + content: ''; + position: absolute; + left: 0; + bottom: 0; + right: auto; + top: auto; + height: 1px; + width: 100%; + background-color: #c4c4c4; + display: block; + z-index: 15; + -webkit-transform-origin: 50% 100%; + transform-origin: 50% 100%; +} +@media only screen and (-webkit-min-device-pixel-ratio: 2) { + .picker-calendar-week-days:after { + -webkit-transform: scaleY(0.5); + transform: scaleY(0.5); + } +} +@media only screen and (-webkit-min-device-pixel-ratio: 3) { + .picker-calendar-week-days:after { + -webkit-transform: scaleY(0.33); + transform: scaleY(0.33); + } +} +.picker-calendar-week-days .picker-calendar-week-day { + -webkit-flex-shrink: 1; + -ms-flex: 0 1 auto; + -webkit-flex-shrink: 1; + flex-shrink: 1; + width: 14.28571429%; + width: -webkit-calc(100% / 7); + width: calc(100% / 7); + line-height: 17px; + text-align: center; +} +.picker-calendar-week-days + .picker-calendar-months { + height: -webkit-calc(100% - 18px); + height: calc(100% - 18px); +} +.picker-calendar-months { + width: 100%; + height: 100%; + overflow: hidden; + position: relative; +} +.picker-calendar-months-wrapper { + position: relative; + width: 100%; + height: 100%; + -webkit-transition: 300ms; + transition: 300ms; +} +.picker-calendar-month { + display: -webkit-box; + display: -webkit-flex; + display: flex; + -webkit-box-orient: vertical; + -webkit-flex-direction: column; + flex-direction: column; + width: 100%; + height: 100%; + position: absolute; + left: 0; + top: 0; +} +.picker-calendar-row { + height: 16.66666667%; + height: -webkit-calc(100% / 6); + height: calc(100% / 6); + display: -webkit-box; + display: -webkit-flex; + display: flex; + -webkit-flex-shrink: 1; + -ms-flex: 0 1 auto; + -webkit-flex-shrink: 1; + flex-shrink: 1; + width: 100%; + position: relative; +} +.picker-calendar-row:after { + content: ''; + position: absolute; + left: 0; + bottom: 0; + right: auto; + top: auto; + height: 1px; + width: 100%; + background-color: #ccc; + display: block; + z-index: 15; + -webkit-transform-origin: 50% 100%; + transform-origin: 50% 100%; +} +@media only screen and (-webkit-min-device-pixel-ratio: 2) { + .picker-calendar-row:after { + -webkit-transform: scaleY(0.5); + transform: scaleY(0.5); + } +} +@media only screen and (-webkit-min-device-pixel-ratio: 3) { + .picker-calendar-row:after { + -webkit-transform: scaleY(0.33); + transform: scaleY(0.33); + } +} +.picker-calendar-row:last-child:after { + display: none; +} +.picker-calendar-day { + -webkit-flex-shrink: 1; + -ms-flex: 0 1 auto; + -webkit-flex-shrink: 1; + flex-shrink: 1; + display: -webkit-box; + display: -webkit-flex; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + justify-content: center; + -webkit-box-align: center; + -webkit-align-items: center; + align-items: center; + box-sizing: border-box; + width: 14.28571429%; + width: -webkit-calc(100% / 7); + width: calc(100% / 7); + text-align: center; + color: #3d4145; + font-size: 15px; + cursor: pointer; +} +.picker-calendar-day.picker-calendar-day-prev, +.picker-calendar-day.picker-calendar-day-next { + color: #ccc; +} +.picker-calendar-day.picker-calendar-day-disabled { + color: #d4d4d4; + cursor: auto; +} +.picker-calendar-day.picker-calendar-day-today span { + background: #e3e3e3; +} +.picker-calendar-day.picker-calendar-day-selected span { + background: #0894ec; + color: #fff; +} +.picker-calendar-day span { + display: inline-block; + border-radius: 100%; + width: 30px; + height: 30px; + line-height: 30px; +} +.picker-calendar-month-picker, +.picker-calendar-year-picker { + display: -webkit-box; + display: -webkit-flex; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + align-items: center; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + justify-content: space-between; + width: 50%; + max-width: 200px; + -webkit-flex-shrink: 10; + -ms-flex: 0 10 auto; + -webkit-flex-shrink: 10; + flex-shrink: 10; +} +.picker-calendar-month-picker a.icon-only, +.picker-calendar-year-picker a.icon-only { + min-width: 36px; +} +.picker-calendar-month-picker span, +.picker-calendar-year-picker span { + -webkit-flex-shrink: 1; + -ms-flex: 0 1 auto; + -webkit-flex-shrink: 1; + flex-shrink: 1; + position: relative; + overflow: hidden; + text-overflow: ellipsis; +} +.picker-modal .toolbar-inner { + height: 2.2rem; + display: -webkit-box; + display: -webkit-flex; + display: flex; + text-align: center; +} +.picker-calendar-month-picker, +.picker-calendar-year-picker { + display: block; + line-height: 2.2rem; +} +.picker-calendar-month-picker a.icon-only, +.picker-calendar-year-picker a.icon-only { + float: left; + width: 25%; + height: 2.2rem; + line-height: 2rem; +} +.picker-calendar-month-picker .current-month-value, +.picker-calendar-year-picker .current-month-value, +.picker-calendar-month-picker .current-year-value, +.picker-calendar-year-picker .current-year-value { + float: left; + width: 50%; + height: 2.2rem; +} +/* === Columns Picker === */ +.picker-columns { + width: 100%; + height: 13rem; + z-index: 11500; +} +.picker-columns.picker-modal-inline { + height: 10rem; +} +@media (orientation: landscape) and (max-height: 415px) { + .picker-columns:not(.picker-modal-inline) { + height: 10rem; + } +} +.picker-items { + display: -webkit-box; + display: -webkit-flex; + display: flex; + -webkit-box-pack: center; + -webkit-justify-content: center; + justify-content: center; + padding: 0; + text-align: right; + font-size: 1.2rem; + -webkit-mask-box-image: -webkit-linear-gradient(bottom, transparent, transparent 5%, white 20%, white 80%, transparent 95%, transparent); + -webkit-mask-box-image: linear-gradient(to top, transparent, transparent 5%, white 20%, white 80%, transparent 95%, transparent); +} +.bar + .picker-items { + height: 10.8rem; +} +.picker-items-col { + overflow: hidden; + position: relative; + max-height: 100%; +} +.picker-items-col.picker-items-col-left { + text-align: left; +} +.picker-items-col.picker-items-col-center { + text-align: center; +} +.picker-items-col.picker-items-col-right { + text-align: right; +} +.picker-items-col.picker-items-col-divider { + color: #3d4145; + display: -webkit-box; + display: -webkit-flex; + display: flex; + -webkit-box-align: center; + -webkit-align-items: center; + align-items: center; +} +.picker-items-col-normal { + width: 100%; +} +.picker-items-col-wrapper { + -webkit-transition: 300ms; + transition: 300ms; + -webkit-transition-timing-function: ease-out; + transition-timing-function: ease-out; +} +.picker-item { + height: 36px; + line-height: 36px; + padding: 0 10px; + white-space: nowrap; + position: relative; + overflow: hidden; + text-overflow: ellipsis; + color: #999; + left: 0; + top: 0; + width: 100%; + box-sizing: border-box; + -webkit-transition: 300ms; + transition: 300ms; +} +.picker-items-col-absolute .picker-item { + position: absolute; +} +.picker-item.picker-item-far { + pointer-events: none; +} +.picker-item.picker-selected { + color: #3d4145; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); + -webkit-transform: rotateX(0deg); + transform: rotateX(0deg); +} +.picker-center-highlight { + height: 36px; + box-sizing: border-box; + position: absolute; + left: 0; + width: 100%; + top: 50%; + margin-top: -18px; + pointer-events: none; +} +.picker-center-highlight:before { + content: ''; + position: absolute; + left: 0; + top: 0; + bottom: auto; + right: auto; + height: 1px; + width: 100%; + background-color: #a8abb0; + display: block; + z-index: 15; + -webkit-transform-origin: 50% 0%; + transform-origin: 50% 0%; +} +@media only screen and (-webkit-min-device-pixel-ratio: 2) { + .picker-center-highlight:before { + -webkit-transform: scaleY(0.5); + transform: scaleY(0.5); + } +} +@media only screen and (-webkit-min-device-pixel-ratio: 3) { + .picker-center-highlight:before { + -webkit-transform: scaleY(0.33); + transform: scaleY(0.33); + } +} +.picker-center-highlight:after { + content: ''; + position: absolute; + left: 0; + bottom: 0; + right: auto; + top: auto; + height: 1px; + width: 100%; + background-color: #a8abb0; + display: block; + z-index: 15; + -webkit-transform-origin: 50% 100%; + transform-origin: 50% 100%; +} +@media only screen and (-webkit-min-device-pixel-ratio: 2) { + .picker-center-highlight:after { + -webkit-transform: scaleY(0.5); + transform: scaleY(0.5); + } +} +@media only screen and (-webkit-min-device-pixel-ratio: 3) { + .picker-center-highlight:after { + -webkit-transform: scaleY(0.33); + transform: scaleY(0.33); + } +} +.picker-3d .picker-items { + overflow: hidden; + -webkit-perspective: 1200px; + perspective: 1200px; +} +.picker-3d .picker-items-col, +.picker-3d .picker-items-col-wrapper, +.picker-3d .picker-item { + -webkit-transform-style: preserve-3d; + transform-style: preserve-3d; +} +.picker-3d .picker-items-col { + overflow: visible; +} +.picker-3d .picker-item { + -webkit-transform-origin: center center -110px; + transform-origin: center center -110px; + -webkit-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-transition-timing-function: ease-out; + transition-timing-function: ease-out; +} +.picker-modal .bar { + position: relative; + top: 0; +} +.picker-modal .bar:before { + content: ''; + position: absolute; + left: 0; + top: 0; + bottom: auto; + right: auto; + height: 1px; + width: 100%; + background-color: #a8abb0; + display: block; + z-index: 15; + -webkit-transform-origin: 50% 0%; + transform-origin: 50% 0%; +} +@media only screen and (-webkit-min-device-pixel-ratio: 2) { + .picker-modal .bar:before { + -webkit-transform: scaleY(0.5); + transform: scaleY(0.5); + } +} +@media only screen and (-webkit-min-device-pixel-ratio: 3) { + .picker-modal .bar:before { + -webkit-transform: scaleY(0.33); + transform: scaleY(0.33); + } +} +.picker-modal .bar:after { + content: ''; + position: absolute; + left: 0; + bottom: 0; + right: auto; + top: auto; + height: 1px; + width: 100%; + background-color: #a8abb0; + display: block; + z-index: 15; + -webkit-transform-origin: 50% 100%; + transform-origin: 50% 100%; +} +@media only screen and (-webkit-min-device-pixel-ratio: 2) { + .picker-modal .bar:after { + -webkit-transform: scaleY(0.5); + transform: scaleY(0.5); + } +} +@media only screen and (-webkit-min-device-pixel-ratio: 3) { + .picker-modal .bar:after { + -webkit-transform: scaleY(0.33); + transform: scaleY(0.33); + } +} +.picker-modal .bar .title { + color: #5f646e; + font-weight: normal; +} +.city-picker .col-province { + width: 5rem; +} +.city-picker .col-city { + width: 6rem; +} +.city-picker .col-district { + width: 5rem; +} +@font-face { + font-family: "iconfont-sm"; + src: url('//at.alicdn.com/t/font_1433401008_2229297.woff') format('woff'), /* chrome、firefox */ url('//at.alicdn.com/t/font_1433401008_2229297.ttf') format('truetype'), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('//at.alicdn.com/t/font_1433401008_2229297.svg#iconfont') format('svg'); + /* iOS 4.1- */ +} +.icon { + font-family: "iconfont-sm" !important; + font-style: normal; + display: inline-block; + vertical-align: middle; + background-size: 100% auto; + background-position: center; + -webkit-font-smoothing: antialiased; + -webkit-text-stroke-width: 0.2px; + -moz-osx-font-smoothing: grayscale; +} +.icon-app:before { + content: "\e605"; +} +.icon-browser:before { + content: "\e606"; +} +.icon-card:before { + content: "\e607"; +} +.icon-cart:before { + content: "\e600"; +} +.icon-code:before { + content: "\e609"; +} +.icon-computer:before { + content: "\e616"; +} +.icon-remove:before { + content: "\e60a"; +} +.icon-download:before { + content: "\e60b"; +} +.icon-edit:before { + content: "\e60c"; +} +.icon-emoji:before { + content: "\e615"; +} +.icon-star:before { + content: "\e60e"; +} +.icon-friends:before { + content: "\e601"; +} +.icon-gift:before { + content: "\e618"; +} +.icon-phone:before { + content: "\e60f"; +} +.icon-clock:before { + content: "\e619"; +} +.icon-home:before { + content: "\e602"; +} +.icon-menu:before { + content: "\e60d"; +} +.icon-message:before { + content: "\e617"; +} +.icon-me:before { + content: "\e603"; +} +.icon-picture:before { + content: "\e61a"; +} +.icon-share:before { + content: "\e61b"; +} +.icon-settings:before { + content: "\e604"; +} +.icon-refresh:before { + content: "\e61c"; +} +.icon-caret:before { + content: "\e610"; +} +.icon-down:before { + content: "\e611"; +} +.icon-up:before { + content: "\e612"; +} +.icon-right:before { + content: "\e613"; +} +.icon-left:before { + content: "\e614"; +} +.icon-check:before { + content: "\e608"; +} +.icon-search:before { + content: "\e61d"; +} +.icon-new:before { + content: "\e61e"; +} +.icon-next, +.icon-prev { + width: 0.75rem; + height: 0.75rem; +} +.icon-next { + background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2015%2015'%3E%3Cg%3E%3Cpath%20fill%3D'%23007aff'%20d%3D'M1%2C1.6l11.8%2C5.8L1%2C13.4V1.6%20M0%2C0v15l15-7.6L0%2C0L0%2C0z'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"); +} +.icon-prev { + background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2015%2015'%3E%3Cg%3E%3Cpath%20fill%3D'%23007aff'%20d%3D'M14%2C1.6v11.8L2.2%2C7.6L14%2C1.6%20M15%2C0L0%2C7.6L15%2C15V0L15%2C0z'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"); +} +/* +.icon-plus { + width: 1.25rem; + height: 1.25rem; + font-size: 1.55rem; + line-height: 1rem; + text-align: center; + font-weight: 100; +} +*/ +/*========================== +Framework7 Layouts Themes +==========================*/ +/* === Dark layout === */ +.theme-dark { + background-color: #222426; +} +.theme-dark .bar, +.bar.theme-dark { + background-color: #131313; + color: #fff; +} +.theme-dark .bar:after, +.bar.theme-dark:after { + background-color: #333; +} +.theme-dark .title { + color: #fff; +} +.theme-dark .bar-nav, +.theme-dark .bar-tab, +.bar-nav.theme-dark, +.bar-tab.theme-dark { + background-color: #131313; + color: #fff; +} +.theme-dark .bar-nav:before, +.theme-dark .bar-tab:before, +.bar-nav.theme-dark:before, +.bar-tab.theme-dark:before { + background-color: #333; +} +.theme-dark .tab-item { + color: #fff; +} +.theme-dark .tab-item.active { + color: #0894ec; +} +.theme-dark .picker-calendar-week-days { + color: #fff; + background-color: #131313; +} +.theme-dark .picker-modal.picker-modal-inline .picker-center-highlight:before { + background-color: #333; +} +.theme-dark .picker-modal.picker-modal-inline .picker-center-highlight:after { + background-color: #333; +} +.theme-dark .picker-modal.picker-modal-inline .picker-item.picker-selected { + color: #fff; +} +.theme-dark .picker-modal.picker-modal-inline .picker-calendar-week-days { + color: #fff; +} +.theme-dark .picker-modal.picker-modal-inline .picker-calendar-day { + color: #fff; +} +.theme-dark .picker-modal.picker-modal-inline .picker-calendar-day.picker-calendar-day-prev, +.theme-dark .picker-modal.picker-modal-inline .picker-calendar-day.picker-calendar-day-next { + color: #777; +} +.theme-dark .picker-modal.picker-modal-inline .picker-calendar-day.picker-calendar-day-disabled { + color: #555; +} +.theme-dark .picker-modal.picker-modal-inline .picker-calendar-day.picker-calendar-day-today span { + background: #444; +} +.theme-dark .picker-modal.picker-modal-inline .picker-calendar-week-days:after, +.theme-dark .picker-modal.picker-modal-inline .picker-calendar-row:after { + background-color: #333; +} +.theme-dark .picker-modal.picker-modal-inline .toolbar ~ .picker-modal-inner .picker-calendar-months:before, +.theme-dark .picker-modal.picker-modal-inline .picker-calendar-week-days ~ .picker-calendar-months:before { + background-color: #333; +} +.theme-dark .photo-browser .navbar, +.photo-browser.theme-dark .navbar, +.theme-dark .view[data-page="photo-browser-slides"] .navbar, +.view[data-page="photo-browser-slides"].theme-dark .navbar, +.theme-dark .photo-browser .toolbar, +.photo-browser.theme-dark .toolbar, +.theme-dark .view[data-page="photo-browser-slides"] .toolbar, +.view[data-page="photo-browser-slides"].theme-dark .toolbar { + background: rgba(19, 19, 19, 0.95); +} +.theme-dark .tabbar a:not(.active) { + color: #fff; +} +.theme-dark .page, +.theme-dark .login-screen-content, +.page.theme-dark, +.theme-dark .panel, +.panel.theme-dark, +.theme-dark .content { + background-color: #222426; + color: #ddd; +} +.theme-dark .content-block-title { + color: #fff; +} +.theme-dark .content-block, +.content-block.theme-dark { + color: #bbb; +} +.theme-dark .content-block-inner { + background: #1c1d1f; + color: #ddd; +} +.theme-dark .content-block-inner:before { + background-color: #393939; +} +.theme-dark .content-block-inner:after { + background-color: #393939; +} +.theme-dark .list-block ul, +.list-block.theme-dark ul { + background: #1c1d1f; +} +.theme-dark .list-block ul:before, +.list-block.theme-dark ul:before { + background-color: #393939; +} +.theme-dark .list-block ul:after, +.list-block.theme-dark ul:after { + background-color: #393939; +} +.theme-dark .list-block.inset ul, +.list-block.theme-dark.inset ul { + background: #1c1d1f; +} +.theme-dark .list-block.notifications > ul, +.list-block.theme-dark.notifications > ul { + background: none; +} +.theme-dark .list-block .item-title, +.list-block.theme-dark .item-title, +.theme-dark .list-block .item-subtitle, +.list-block.theme-dark .item-subtitle { + color: #bbb; +} +.theme-dark .card { + background: #1c1d1f; +} +.theme-dark .card-header:after { + background-color: #393939; +} +.theme-dark .card-footer { + color: #bbb; +} +.theme-dark .card-footer:before { + background-color: #393939; +} +.theme-dark li.sorting { + background-color: #29292f; +} +.theme-dark .swipeout-actions-left a, +.theme-dark .swipeout-actions-right a { + background-color: #444; +} +.theme-dark .item-inner:after, +.theme-dark .list-block ul ul li:last-child .item-inner:after { + background-color: #393939; +} +.theme-dark .item-after { + color: #bbb; +} +html:not(.watch-active-state) .theme-dark .item-link:active, +html:not(.watch-active-state) .theme-dark label.label-checkbox:active, +html:not(.watch-active-state) .theme-dark label.label-radio:active, +.theme-dark .item-link.active-state, +.theme-dark label.label-checkbox.active-state, +.theme-dark label.label-radio.active-state { + background-color: #29292f; +} +.theme-dark .item-link.list-button:after { + background-color: #393939; +} +.theme-dark .list-block-label { + color: #bbb; +} +.theme-dark .item-divider, +.theme-dark .list-group-title { + background: #1a1a1a; + color: #bbb; +} +.theme-dark .item-divider:before, +.theme-dark .list-group-title:before { + background-color: #393939; +} +.theme-dark .searchbar { + background: #333; +} +.theme-dark .searchbar:after { + background-color: #333; +} +.theme-dark .list-block input[type="text"], +.list-block.theme-dark input[type="text"], +.theme-dark .list-block input[type="password"], +.list-block.theme-dark input[type="password"], +.theme-dark .list-block input[type="email"], +.list-block.theme-dark input[type="email"], +.theme-dark .list-block input[type="tel"], +.list-block.theme-dark input[type="tel"], +.theme-dark .list-block input[type="url"], +.list-block.theme-dark input[type="url"], +.theme-dark .list-block input[type="date"], +.list-block.theme-dark input[type="date"], +.theme-dark .list-block input[type="datetime-local"], +.list-block.theme-dark input[type="datetime-local"], +.theme-dark .list-block input[type="number"], +.list-block.theme-dark input[type="number"], +.theme-dark .list-block select, +.list-block.theme-dark select, +.theme-dark .list-block textarea, +.list-block.theme-dark textarea { + color: #fff; +} +.theme-dark .label-switch .checkbox { + background-color: #393939; +} +.theme-dark .label-switch .checkbox:before { + background-color: #1c1d1f; +} +.theme-dark .range-slider input[type="range"]:after { + background: #1c1d1f; +} +.theme-dark .buttons-tab { + background: #131313; +} +.theme-dark .buttons-tab .tab-link:not(.active) { + color: #ddd; +} +/* === White layout === */ +.theme-white .navbar, +.navbar.theme-white, +.theme-white .subnavbar, +.subnavbar.theme-white { + background-color: #fff; + color: #000; +} +.theme-white .navbar:after, +.navbar.theme-white:after, +.theme-white .subnavbar:after, +.subnavbar.theme-white:after { + background-color: #ddd; +} +.theme-white .toolbar, +.toolbar.theme-white { + background-color: #fff; + color: #000; +} +.theme-white .toolbar:before, +.toolbar.theme-white:before { + background-color: #ddd; +} +.theme-white .picker-modal.picker-modal-inline .picker-center-highlight:before { + background-color: #ddd; +} +.theme-white .picker-modal.picker-modal-inline .picker-center-highlight:after { + background-color: #ddd; +} +.theme-white .picker-modal.picker-modal-inline .picker-calendar-week-days:after, +.theme-white .picker-modal.picker-modal-inline .picker-calendar-row:after { + background-color: #ddd; +} +.theme-white .picker-modal.picker-modal-inline .toolbar ~ .picker-modal-inner .picker-calendar-months:before, +.theme-white .picker-modal.picker-modal-inline .picker-calendar-week-days ~ .picker-calendar-months:before { + background-color: #ddd; +} +.theme-white .photo-browser .navbar, +.photo-browser.theme-white .navbar, +.theme-white .view[data-page="photo-browser-slides"] .navbar, +.view[data-page="photo-browser-slides"].theme-white .navbar, +.theme-white .photo-browser .toolbar, +.photo-browser.theme-white .toolbar, +.theme-white .view[data-page="photo-browser-slides"] .toolbar, +.view[data-page="photo-browser-slides"].theme-white .toolbar { + background: rgba(255, 255, 255, 0.95); +} +.theme-white .tabbar a:not(.active) { + color: #777; +} +.theme-white .page, +.theme-white .login-screen-content, +.page.theme-white, +.theme-white .panel, +.panel.theme-white { + background-color: #fff; + color: #000; +} +.theme-white .content-block-title { + color: #777; +} +.theme-white .content-block, +.content-block.theme-white { + color: #777; +} +.theme-white .content-block-inner { + background: #fafafa; + color: #000; +} +.theme-white .content-block-inner:after { + background-color: #ddd; +} +.theme-white .content-block-inner:before { + background-color: #ddd; +} +.theme-white .list-block ul, +.list-block.theme-white ul { + background: #fff; +} +.theme-white .list-block ul:after, +.list-block.theme-white ul:after { + background-color: #ddd; +} +.theme-white .list-block ul:before, +.list-block.theme-white ul:before { + background-color: #ddd; +} +.theme-white .list-block.inset ul, +.list-block.theme-white.inset ul { + background: #fafafa; +} +.theme-white .list-block.notifications > ul, +.list-block.theme-white.notifications > ul { + background: none; +} +.theme-white li.sorting { + background-color: #eee; +} +.theme-white .swipeout-actions-left a, +.theme-white .swipeout-actions-right a { + background-color: #c7c7cc; +} +.theme-white .item-inner, +.theme-white .list-block ul ul li:last-child .item-inner { + border-color: #ddd; +} +.theme-white .item-inner:after, +.theme-white .list-block ul ul li:last-child .item-inner:after { + background-color: #ddd; +} +.theme-white .item-after { + color: #8e8e93; +} +html:not(.watch-active-state) .theme-white .item-link:active, +html:not(.watch-active-state) .theme-white label.label-checkbox:active, +html:not(.watch-active-state) .theme-white label.label-radio:active, +.theme-white .item-link.active-state, +.theme-white label.label-checkbox.active-state, +.theme-white label.label-radio.active-state { + background-color: #eee; +} +.theme-white .item-link.list-button:after { + background-color: #ddd; +} +.theme-white .list-block-label { + color: #777; +} +.theme-white .item-divider, +.theme-white .list-group-title { + background: #f7f7f7; + color: #777; +} +.theme-white .item-divider:before, +.theme-white .list-group-title:before { + background-color: #ddd; +} +.theme-white .searchbar { + background: #c9c9ce; +} +.theme-white .searchbar:after { + background-color: #b4b4b4; +} +.theme-white .list-block input[type="text"], +.list-block.theme-white input[type="text"], +.theme-white .list-block input[type="password"], +.list-block.theme-white input[type="password"], +.theme-white .list-block input[type="email"], +.list-block.theme-white input[type="email"], +.theme-white .list-block input[type="tel"], +.list-block.theme-white input[type="tel"], +.theme-white .list-block input[type="url"], +.list-block.theme-white input[type="url"], +.theme-white .list-block input[type="date"], +.list-block.theme-white input[type="date"], +.theme-white .list-block input[type="datetime-local"], +.list-block.theme-white input[type="datetime-local"], +.theme-white .list-block input[type="number"], +.list-block.theme-white input[type="number"], +.theme-white .list-block select, +.list-block.theme-white select, +.theme-white .list-block textarea, +.list-block.theme-white textarea { + color: #777; +} +.theme-white .label-switch .checkbox { + background-color: #e5e5e5; +} +.theme-white .label-switch .checkbox:before { + background-color: #fff; +} +.theme-white .range-slider input[type="range"]:after { + background: #fff; +} diff --git a/fangija-zsyf/css/theme-blue.css b/fangija-zsyf/css/theme-blue.css new file mode 100644 index 0000000..27f8f8b --- /dev/null +++ b/fangija-zsyf/css/theme-blue.css @@ -0,0 +1,275 @@ +/* CSS Document */ + +/* === blue layout === */ +.theme { + background-color: #18a2ff; +} +.theme .bar{ + background-color: #131313; + color: #fff; +} +.theme .bar:after, +.bar.theme:after { + background-color: #333; +} +.theme .title { + color: #fff; +} +.theme .bar-nav, +.bar-nav.theme{ + background-color: #18a2ff; + color: #fff; +} +.theme .bar-nav:before, +.bar-nav.theme:before, + background-color: #333; +} +.theme .tab-item { + color: #fff; +} +.theme .tab-item.active { + color: #18a2ff; +} +.theme .picker-calendar-week-days { + color: #fff; + background-color: #131313; +} +.theme .picker-modal.picker-modal-inline .picker-center-highlight:before { + background-color: #333; +} +.theme .picker-modal.picker-modal-inline .picker-center-highlight:after { + background-color: #333; +} +.theme .picker-modal.picker-modal-inline .picker-item.picker-selected { + color: #fff; +} +.theme .picker-modal.picker-modal-inline .picker-calendar-week-days { + color: #fff; +} +.theme .picker-modal.picker-modal-inline .picker-calendar-day { + color: #fff; +} +.theme .picker-modal.picker-modal-inline .picker-calendar-day.picker-calendar-day-prev, +.theme .picker-modal.picker-modal-inline .picker-calendar-day.picker-calendar-day-next { + color: #777; +} +.theme .picker-modal.picker-modal-inline .picker-calendar-day.picker-calendar-day-disabled { + color: #555; +} +.theme .picker-modal.picker-modal-inline .picker-calendar-day.picker-calendar-day-today span { + background: #444; +} +.theme .picker-modal.picker-modal-inline .picker-calendar-week-days:after, +.theme .picker-modal.picker-modal-inline .picker-calendar-row:after { + background-color: #333; +} +.theme .picker-modal.picker-modal-inline .toolbar ~ .picker-modal-inner .picker-calendar-months:before, +.theme .picker-modal.picker-modal-inline .picker-calendar-week-days ~ .picker-calendar-months:before { + background-color: #333; +} +.theme .photo-browser .navbar, +.photo-browser.theme .navbar, +.theme .view[data-page="photo-browser-slides"] .navbar, +.view[data-page="photo-browser-slides"].theme .navbar, +.theme .photo-browser .toolbar, +.photo-browser.theme .toolbar, +.theme .view[data-page="photo-browser-slides"] .toolbar, +.view[data-page="photo-browser-slides"].theme .toolbar { + background: rgba(19, 19, 19, 0.95); +} +.theme .tabbar a:not(.active) { + color: #fff; +} +.theme .page, +.theme .login-screen-content, +.page.theme, +.theme .panel, +.panel.theme, +.theme .content { + background-color: #222426; + color: #ddd; +} +.theme .content-block-title { + color: #fff; +} +.theme .content-block, +.content-block.theme { + color: #bbb; +} +.theme .content-block-inner { + background: #1c1d1f; + color: #ddd; +} +.theme .content-block-inner:before { + background-color: #393939; +} +.theme .content-block-inner:after { + background-color: #393939; +} +.theme .list-block ul, +.list-block.theme ul { +/* background: #1c1d1f;*/ +} +.theme .list-block ul:before, +.list-block.theme ul:before { + background-color: #393939; +} +.theme .list-block ul:after, +.list-block.theme ul:after { + background-color: #393939; +} +.theme .list-block.inset ul, +.list-block.theme.inset ul { + background: #1c1d1f; +} +.theme .list-block.notifications > ul, +.list-block.theme.notifications > ul { + background: none; +} +.theme .list-block .item-title, +.list-block.theme .item-title, +.theme .list-block .item-subtitle, +.list-block.theme .item-subtitle { + color: #bbb; +} +.theme .card { + background: #1c1d1f; +} +.theme .card-header:after { + background-color: #393939; +} +.theme .card-footer { + color: #bbb; +} +.theme .card-footer:before { + background-color: #393939; +} +.theme li.sorting { + background-color: #29292f; +} +.theme .swipeout-actions-left a, +.theme .swipeout-actions-right a { + background-color: #444; +} +.theme .item-inner:after, +.theme .list-block ul ul li:last-child .item-inner:after { + background-color: #393939; +} +.theme .item-after { + color: #bbb; +} +html:not(.watch-active-state) .theme .item-link:active, +html:not(.watch-active-state) .theme label.label-checkbox:active, +html:not(.watch-active-state) .theme label.label-radio:active, +.theme .item-link.active-state, +.theme label.label-checkbox.active-state, +.theme label.label-radio.active-state { +/* background-color: #29292f;*/ +} +.theme .item-link.list-button:after { + background-color: #393939; +} +.theme .list-block-label { + color: #bbb; +} +.theme .item-divider, +.theme .list-group-title { + background: #1a1a1a; + color: #bbb; +} +.theme .item-divider:before, +.theme .list-group-title:before { + background-color: #393939; +} +.theme .searchbar { + background: #333; +} +.theme .searchbar:after { + background-color: #333; +} +.theme .list-block input[type="text"], +.list-block.theme input[type="text"], +.theme .list-block input[type="password"], +.list-block.theme input[type="password"], +.theme .list-block input[type="email"], +.list-block.theme input[type="email"], +.theme .list-block input[type="tel"], +.list-block.theme input[type="tel"], +.theme .list-block input[type="url"], +.list-block.theme input[type="url"], +.theme .list-block input[type="date"], +.list-block.theme input[type="date"], +.theme .list-block input[type="datetime-local"], +.list-block.theme input[type="datetime-local"], +.theme .list-block input[type="number"], +.list-block.theme input[type="number"], +.theme .list-block select, +.list-block.theme select, +.theme .list-block textarea, +.list-block.theme textarea { + color: #fff; +} +.theme .label-switch .checkbox { + background-color: #393939; +} +.theme .label-switch .checkbox:before { + background-color: #1c1d1f; +} +.theme .range-slider input[type="range"]:after { + background: #1c1d1f; +} +.theme .buttons-tab { + background: #131313; +} +.theme .buttons-tab .tab-link:not(.active) { + color: #ddd; +} + +.button.theme{background:none;border-color:#18a2ff;color:#18a2ff;} +.button.button-fill.theme{background:#18a2ff;color:#fff;} + +.bar-nav.theme .button-nav{background:#18a2ff;} +.bar-nav.theme .icon.icon-left{color:#fff;} + +.bar .button-link.theme{background:none;color:#18a2ff;} +.bar-tab.theme{background:#f7f7f8;} +.bar-tab.theme .tab-item{color:#999;} +.bar-tab.theme .tab-item.active{color:#18a2ff;} +.bar-tab.theme .tab-item:active{color:#18a2ff;} + +.buttons-row.theme{background:none;} +.buttons-row.theme .button{background:#fbfbfb;border-color:#ccc;color:#666;} +.buttons-row.theme .button.active{background:#18a2ff;border-color:#18a2ff;color:#fff;} + +.selectBox div.theme{background:none;} +.selectBox div.theme.active{color:#18a2ff;} +.selectBox div.theme.active a{color:#18a2ff;} +.selectContent .list-block ul li .item-title.theme{background:none;} +.selectContent .list-block ul li .item-title.theme.active{color:#18a2ff;} + +.buttons-tab.theme{background:#fff;} +.buttons-tab.theme .button.active{border-color:#18a2ff;color:#18a2ff;} +.buttons-tab01.theme .button.active{border-right-color:#e7e7e7;} + +.totalValue01.theme{background:none;} +.totalValue01.theme div.addPropertyBox .addProperty{border-color:#18a2ff;color:#18a2ff;} + +.list-block .item-after span.sendCode.theme{background:none;border-color:#18a2ff;color:#18a2ff;} +.list-block .item-after span.waiting.theme{background:#18a2ff;border-color:#18a2ff;color:#fff;} + +.topic .topicTitle em.theme{background:none;color:#18a2ff;} + +.topic .topicTitle > span.inputBox input{background:none;color:#18a2ff;} +.topic .topicTitle > span.inputBox font{background:none;color:#18a2ff;} + +.list-block.theme ul{background:#18a2ff;} +.theme .list-block ul:before, .list-block.theme ul:before{height:0;} +.theme .list-block ul:after, .list-block.theme ul:after{height:0;} +.list-block.theme .item-link:active{background:#18a2ff;} +.list-block.theme p{color:#fff;} +.list-block.theme .item-link .item-inner{background-image:#fff;} + +input[type=range].theme{background:-webkit-linear-gradient(#18a2ff, #18a2ff) no-repeat;} + + + diff --git a/fangija-zsyf/doc/accelerometer.html b/fangija-zsyf/doc/accelerometer.html new file mode 100644 index 0000000..e480c0f --- /dev/null +++ b/fangija-zsyf/doc/accelerometer.html @@ -0,0 +1,135 @@ + + + + + + + +Hello H5+ + + + + +
+

accelerometer

+

Accelerometer模块管理设备加速度传感器,用于获取设备加速度信息,包括x(屏幕水平方向)、y(垂直屏幕水平方向)、z(垂直屏幕平面方向)三个方向的加速度信息。通过plus.accelerometer获取设备加速度传感器管理对象。

+

方法:

+ +

对象:

+ +

回调方法:

+ +

权限:

+

5+功能模块(permissions)

+
+{
+// ...
+"permissions":{
+	// ...
+	"Accelerometer": {
+		"description": "加速度传感器"
+	}
+}
+}
+			
+

Acceleration

+

设备加速度信息对象

+
+interface Acceleration {
+	readonly attribute Number xAxis;
+	readonly attribute Number yAxis;
+	readonly attribute Number zAxis;  
+}
+				
+

说明:

+

+ JSON对象,保存获取设备的加速度信息,包括x、y、z三个方向的加速度信息。 +

+

属性:

+ +

AccelerometerOption

+

监听设备加速度感应器参数

+
+interface Acceleration {
+	readonly attribute DOMString frequency;
+}
+				
+

说明:

+

+ JSON对象,用于设置获取设备加速度信息的参数。 +

+

属性:

+ +

AccelerometerSuccessCallback

+

获取设备加速度信息成功的回调函数

+
+void onSuccess( acceleration ) {
+	// Get acceleration code.
+}
+				
+

参数:

+ +

返回值:

+void + : 无

AccelerometerErrorCallback

+

获取设备加速度信息失败的回调函数

+
+function void onAccelerometerError( Exception error ) {
+	// Handle error
+	var code = error.code; // 错误编码
+	var message = error.message; // 错误描述信息
+}
+				
+

参数:

+ +

返回值:

+void + : 无

+
+ diff --git a/fangija-zsyf/doc/android.html b/fangija-zsyf/doc/android.html new file mode 100644 index 0000000..8a85332 --- /dev/null +++ b/fangija-zsyf/doc/android.html @@ -0,0 +1,101 @@ + + + + + + + +Hello H5+ + + + + +
+

android

+

Native.js for Android封装一条通过JS语法直接调用Native Java接口通道,通过plus.android可调用几乎所有的系统API。

+

方法:

+ +

对象:

+ +

权限:

+

5+功能模块(permissions)

+
+{
+// ...
+"permissions":{
+	// ...
+	"Invocation": {
+		"description": "Native.js"
+	}
+}
+}
+			
+

ClassObject

+

Java类对象

+
+interface ClassObject {
+	// ...
+	function Object plusGetAttribute( String name );
+	function Object plusSetAttribute( String name, Object value );
+	// ...
+}
+				
+

说明:

+

+ Java类对象,可通过其属性获取类的常量,可通过方法来操作类的静态变量和方法,也通过new方法来创建类的实例对象。 + 对于类的常量,则直接通过.后面跟随常量名称调用即可。 +

+

方法:

+ +

InstanceObject

+

Java实例对象

+
+interface InstanceObject {
+	// ...
+	function Object plusGetAttribute( String name );
+	function Object plusSetAttribute( String name, Object value );
+	// ...
+}
+				
+

说明:

+

+ Java实例对象,可通过其方法来操作实例的变量和方法。 + 注意:必须通过plusGetAttribute()方法读取实例对象的属性值,通过plusSetAttribute()方法设置实例对象的属性值。 +

+

方法:

+ +

+
+ diff --git a/fangija-zsyf/doc/audio.html b/fangija-zsyf/doc/audio.html new file mode 100644 index 0000000..cbd3ffd --- /dev/null +++ b/fangija-zsyf/doc/audio.html @@ -0,0 +1,196 @@ + + + + + + + +Hello H5+ + + + + +
+

audio

+

Audio模块用于提供音频的录制和播放功能,可调用系统的麦克风设备进行录音操作,也可调用系统的扬声器设备播放音频文件。通过plus.audio获取音频管理对象。

+

常量:

+ +

方法:

+ +

对象:

+ +

回调方法:

+ +

权限:

+

5+功能模块(permissions)

+
+{
+// ...
+"permissions":{
+	// ...
+	"Audio": {
+		"description": "音频"
+	}
+}
+}
+			
+

AudioRecorder

+

录音对象

+
+interface AudioRecorder {
+	readonly attribute String[] supportedSamplerates;
+	readonly attribute String[] supportedFormats;
+	function record( option, successCB, errorCB );
+	function stop();
+}
+				
+

属性:

+ +

方法:

+ +

AudioPlayer

+

音频播放对象

+
+interface AudioPlayer {
+	function void play( successCB, errorCB );
+	function void pause();
+	function void resume();
+	function void stop();
+	function void seekTo( position );
+	function Number getDuration();
+	function Number getPosition();
+	function void setRoute( route );
+}
+				
+

说明:

+

+ 音频播放对象,用于音频文件的播放。不能通过new方法直接创建,只能通过audio.createPlayer方法创建。 +

+

方法:

+ +

RecordOption

+

JSON对象,调用麦克风设备进行录音的参数

+

属性:

+ +

RecordSuccessCallback

+

录音操作成功回调

+
+void onSuccess( recordFile ) {
+	// Get record file code.
+}
+				
+

说明:

+

麦克风录音操作成功的回调函数,在录音操作完成调用stop()方法时调用。

+

参数:

+ +

返回值:

+void + : 无

PlaySuccessCallback

+

播放音频文件操作成功回调

+
+void onCompleted() {
+	// Play audio file completed code.
+}
+				
+

说明:

+

+ 音频播放操作成功的回调函数,在音频播放完成或调用stop()方法时触发。 +

+

参数:

+

无

+

返回值:

+void + : 无

AudioErrorCallback

+

音频操作失败回调

+
+void onError( error ) {
+	// Handle audio error
+}
+				
+

参数:

+ +

返回值:

+void + : 无

+
+ diff --git a/fangija-zsyf/doc/barcode.html b/fangija-zsyf/doc/barcode.html new file mode 100644 index 0000000..20beb38 --- /dev/null +++ b/fangija-zsyf/doc/barcode.html @@ -0,0 +1,252 @@ + + + + + + + +Hello H5+ + + + + +
+

barcode

+

Barcode模块管理条码扫描,提供常见的条码(二维码及一维码)的扫描识别功能,可调用设备的摄像头对条码图片扫描进行数据输入。通过plus.barcode可获取条码码管理对象。

+

常量:

+ +

方法:

+ +

对象:

+ +

回调方法:

+ +

权限:

+

permissions

+
+{
+// ...
+"permissions":{
+	// ...
+	"Barcode": {
+		"description": "二维码"
+	}
+}
+}
+			
+

Barcode

+

条码扫描识别控件对象

+
+interface plus.barcode.Barcode {
+	// Methods
+	function void start( options );
+	function void cancel();
+	function void close();
+	function void setFlash( open );
+
+	// Events
+	function void onmarked();
+	function void onerror();
+}
+				
+

说明:

+

+Barcode对象表示条码识别控件对象,在窗口中显示条码识别控件,使用此对象可自定义条码识别界面。 +

+

构造:

+ +

方法:

+ +

事件:

+ +

BarcodeStyles

+

条码扫描控件样式参数

+
+interface plus.barcode.BarcodeStyles {
+	attribute String frameColor;
+	attribute String scanbarColor;
+	attribute String background;
+}
+				
+

说明:

+

+ 设置条码识别控件的样式,如扫描框、扫描条的颜色等。 +

+

属性:

+ +

BarcodeOptions

+

条码识别控件扫描参数

+
+interface plus.barcode.BarcodeOptions {
+	attribute Boolean conserve;
+	attribute String filename;
+	attribute Boolean vibrate;
+	attribute String sound;
+}
+				
+

说明:

+

+ 设置条码识别控件扫描条码的参数,如是否保存扫描成功时的截图等。 +

+

属性:

+ +

BarcodeSuccessCallback

+

条码识别成功的回调函数

+
+void BarcodeSuccessCallback ( type, code, file ) {
+	// Barcode success code
+}
+				
+

说明:

+

当获取条码识别成功时的回调函数,用于返回识别成功的条码数据。

+

参数:

+ +

返回值:

+void + : 无

BarcodeErrorCallback

+

条码识别错误的回调函数

+
+void BarcodeErrorCallback(error){
+	// Error 
+	var code = error.code; 			// 错误编码
+	var message = error.message;	// 错误描述信息
+}
+				
+

参数:

+ +

返回值:

+void + : 无

+
+ diff --git a/fangija-zsyf/doc/cache.html b/fangija-zsyf/doc/cache.html new file mode 100644 index 0000000..57b7ba8 --- /dev/null +++ b/fangija-zsyf/doc/cache.html @@ -0,0 +1,78 @@ + + + + + + + +Hello H5+ + + + + +
+

cache

+

Cache模块用于管理应用缓存,通过plus.cache获取缓存管理对象。

+

方法:

+ +

回调方法:

+ +

权限:

+

5+功能模块(permissions)

+
+{
+// ...
+"permissions":{
+	// ...
+	"Cache": {
+		"description": "应用缓存"
+	}
+}
+}
+			
+

CacheClearCallback

+

清除应用缓存完成回调

+
+void onCompleted() {
+	// Clear cache completed code.
+}
+				
+

说明:

+

清除应用缓存回调函数,调用plus.cache.clear清除缓存操作时作为参数传入,在清除缓存操作完成时触发回调。

+

参数:

+ +

返回值:

+void + : 无

CacheCalculateCallback

+

计算应用使用缓存容量回调

+
+void onCompleted( size ) {
+	// Calculate cache complete code.
+}
+				
+

说明:

+

计算应用当前使用缓存容量回调函数,调用plus.cache.calculate计算缓存容量操作时作为参数传入,在计算缓存容量大小完成时触发回调。

+

参数:

+ +

返回值:

+void + : 无

+
+ diff --git a/fangija-zsyf/doc/camera.html b/fangija-zsyf/doc/camera.html new file mode 100644 index 0000000..d451b46 --- /dev/null +++ b/fangija-zsyf/doc/camera.html @@ -0,0 +1,183 @@ + + + + + + + +Hello H5+ + + + + +
+

camera

+

Camera模块管理设备的摄像头,可用于拍照、摄像操作,通过plus.camera获取摄像头管理对象。

+

方法:

+ +

对象:

+ +

回调方法:

+ +

权限:

+

5+功能模块(permissions)

+
+{
+// ...
+"permissions":{
+	// ...
+	"Camera": {
+		"description": "摄像头"
+	}
+}
+}
+			
+

Camera

+

摄像头对象

+
+interface Camera {
+	readonly attribute String[] supportedImageResolutions;
+	readonly attribute String[] supportedVideoResolutions;
+	readonly attribute String[] supportedImageFormats;
+	readonly attribute String[] supportedVideoFormats;
+	function void captureImage( successCB, errorCB, option );
+	function void startVideoCapture( successCB, errorCB, option );
+	function void stopVideoCapture();
+}
+				
+

属性:

+ +

方法:

+ +

CameraOption

+

JSON对象,调用摄像头的参数

+
+interface CameraOption {
+	attribute String filename;
+	attribute String format;
+	attribute String index;
+	attribute PopPosition popover;
+}
+				
+

属性:

+ +

PopPosition

+

JSON对象,弹出拍照或摄像界面指示位置

+

属性:

+ +

CameraSuccessCallback

+

调用摄像头操作成功回调

+
+void onSuccess( capturedFile ) {
+	// Caputre image/video file code.
+}
+				
+

说明:

+

调用摄像头操作成功的回调函数,在拍照或摄像操作成功时调用,用于返回图片或视频文件的路径。

+

参数:

+ +

返回值:

+void + : 无

CameraErrorCallback

+

摄像头操作失败回调

+
+void onError( error ) {
+	// Handle camera error
+	var code = error.code; // 错误编码
+	var message = error.message; // 错误描述信息
+}
+				
+

参数:

+ +

返回值:

+void + : 无

+
+ diff --git a/fangija-zsyf/doc/console.html b/fangija-zsyf/doc/console.html new file mode 100644 index 0000000..d1b3cb9 --- /dev/null +++ b/fangija-zsyf/doc/console.html @@ -0,0 +1,44 @@ + + + + + + + +Hello H5+ + + + + +
+

console

+

Console模块用于跟踪调试的API,可根据调试需求输出日志,协助开发人员定位业务逻辑问题。

+

方法:

+ +

权限:

+

5+功能模块(permissions)

+
+{
+// ...
+"permissions":{
+	// ...
+	"Console": {
+		"description": "日志,跟踪调试输出日志信息"
+	}
+}
+}
+			
+

+
+ diff --git a/fangija-zsyf/doc/contacts.html b/fangija-zsyf/doc/contacts.html new file mode 100644 index 0000000..c67900b --- /dev/null +++ b/fangija-zsyf/doc/contacts.html @@ -0,0 +1,407 @@ + + + + + + + +Hello H5+ + + + + +
+

contacts

+

Contacts模块管理系统通讯录,用于可对系统通讯录进行增、删、改、查等操作。通过plus.contacts获取系统通讯录管理对象。

+

常量:

+ +

方法:

+ +

对象:

+ +

回调方法:

+ +

权限:

+

5+功能模块(permissions)

+
+{
+// ...
+"permissions":{
+	// ...
+	"Contacts": {
+		"description": "通讯录,访问系统联系人"
+	}
+}
+}
+			
+

AddressBook

+

通讯录对象

+
+interface AddressBook {
+	function Contact create();
+	function void find( contactFields, successCB, errorCB, findOptions );
+}
+				
+

说明:

+

通讯录管理对象,可对系统通讯录进行联系人的增、删、改、查操作。

+

方法:

+ +

Contact

+

联系人对象

+
+interface Contact {
+	readonly attribute String id;
+	attribute String displayName;
+	attribute ContactName name;
+	attribute String nickname;
+	attribute ContackField[] phoneNumbers;
+	attribute ContactField[] emails;
+	attribute ContactAddress[] addresses;
+	attribute ContactField[] ims;
+	attribute ContactOriganization[] organizations;
+	attribute Date birthday;
+	attribute String note;
+	attribute ContactField[] photos;
+	attribute ContactField[] categories;
+	attribute ContactField[] urls;
+	function Contact clone();
+	function void remove( successCB, errorCB );
+	function void save( successCB, errorCB );
+}
+				
+

说明:

+

联系人对象,包括联系人的各种信息,如名称、电话号码、地址等。也包括新增、删除联系人的操作方法。

+

属性:

+ +

方法:

+ +

ContactField

+

JSON对象,联系人域数据对象

+
+interface ContactField {
+	attribute String type;
+	attribute String value;
+	attribute Boolean preferred;
+}
+				
+

说明:

+

联系人域数据对象,保存联系人特定域信息。

+

属性:

+ +

ContactName

+

JSON对象,联系人名称对象

+
+interface ContactName {
+	attribute String formatted;
+	attribute String familyName;
+	attribute String givenName;
+	attribute String middleName;
+	attribute String honorificPrefix;
+	attribute String honorificSuffix;
+}
+				
+

说明:

+

联系人名称对象,保存联系人名称信息,如姓、名等。

+

属性:

+ +

ContactAddress

+

JSON对象,联系人地址对象

+
+interface ContactAddress {
+	attribute String type;
+	attribute String formatted;
+	attribute String streetAddress;
+	attribute String locality;
+	attribute String region;
+	attribute String country;
+	attribute String postalCode;
+	attribute Boolean preferred;
+}
+				
+

说明:

+

联系人地址对象,保存联系人地址信息,如国家、省份、城市等。

+

属性:

+ +

ContactOrganization

+

JSON对象,联系人所属组织信息

+
+interface ContactOrganization {
+	attribute String type;
+	attribute String name;
+	attribute String department;
+	attribute String title;
+	attribute Boolean preferred;
+}
+				
+

属性:

+ +

ContactFindOption

+

JSON对象,查找联系人参数

+
+interface ContactFindOption {
+	attribute ContactFindFilte[] filter;
+	attribute Boolean multiple;
+}
+				
+

属性:

+ +

ContactFindFilter

+

JSON对象,联系人查找过滤器

+
+interface ContactFindFilter {
+	attribute String logic;
+	attribute String field;
+	attribute String value;
+}
+				
+

属性:

+ +

AddressBookSuccessCallback

+

获取通讯录操作成功回调函数

+
+void onSuccess( addressbook ){
+	// Code AddressBook here
+}
+				
+

参数:

+ +

返回值:

+void + : 无

FindSuccessCallback

+

查找联系人操作成功回调函数

+
+void onSuccess( contacts ){
+	// Find contact success.
+}
+				
+

参数:

+ +

返回值:

+void + : 无

ContactsSuccessCallback

+

联系人操作成功回调函数

+
+void onSuccess(){
+	// Operate success
+}
+				
+

参数:

+ +

返回值:

+void + : 无

ContactsErrorCallback

+

联系人操作失败回调

+
+void onError( error ){
+	// Handle the error
+}
+				
+

参数:

+ +

返回值:

+void + : 无

+
+ diff --git a/fangija-zsyf/doc/device.html b/fangija-zsyf/doc/device.html new file mode 100644 index 0000000..ed7b9b3 --- /dev/null +++ b/fangija-zsyf/doc/device.html @@ -0,0 +1,142 @@ + + + + + + + +Hello H5+ + + + + +
+

device

+

Device模块管理设备信息,用于获取手机设备的相关信息,如IMEI、IMSI、型号、厂商等。通过plus.device获取设备信息管理对象。

+

属性:

+ +

方法:

+ +

对象:

+ +

权限:

+

5+功能模块(permissions)

+
+{
+// ...
+"permissions":{
+	// ...
+	"Device": {
+		"description": "设备信息"
+	}
+}
+}
+			
+

screen

+

Screen模块管理设备屏幕信息

+

属性:

+ +

方法:

+ +

display

+

Display模块管理应用可使用的显示区域信息

+

属性:

+ +

networkinfo

+

Device模块用于获取网络信息

+

常量:

+ +

方法:

+ +

os

+

OS模块管理操作系统信息

+

属性:

+ +

+
+ diff --git a/fangija-zsyf/doc/downloader.html b/fangija-zsyf/doc/downloader.html new file mode 100644 index 0000000..6f076c9 --- /dev/null +++ b/fangija-zsyf/doc/downloader.html @@ -0,0 +1,310 @@ + + + + + + + +Hello H5+ + + + + +
+

downloader

+

Downloader模块管理网络文件下载任务,用于从服务器下载各种文件,并支持跨域访问操作。通过plus.downloader获取下载管理对象。Downloader下载使用HTTP的GET/POST方式请求下载文件,符合标准HTTP/HTTPS传输协议。

+

方法:

+ +

对象:

+ +

回调方法:

+ +

权限:

+

5+功能模块(permissions)

+
+{
+// ...
+"permissions":{
+	// ...
+	"Downloader": {
+		"description": "文件下载,管理文件下载任务"
+	}
+}
+}
+			
+

Download

+

Download对象管理一个下载任务

+
+interface Download {
+	readonly attribute String id;
+	readonly attribute String url;
+	readonly attribute Number state;
+	readonly attribute DownloadOptions options;
+	readonly attribute String filename;
+	readonly attribute Number downloadedSize;
+	readonly attribute Number totalSize;
+	function void abort();
+	function void addEventListener( String event, function Callback listener, Boolean capture );
+	function String getAllResponseHeaders();
+	function String getResponseHeader( headerName );
+	function void pause();
+	function void resume();
+	function void setRequestHeader( String headerName, String headerValue );
+	function void start();
+}
+				
+

属性:

+ +

方法:

+ +

DownloadEvent

+

下载任务事件类型

+

常量:

+ +

DownloadState

+

下载任务状态

+

常量:

+ +

DownloadOptions

+

下载任务参数

+

说明:

+

+ 在创建下载任务时设置的参数,如设置下载任务使用的HTTP协议类型、优先级等。 +

+

属性:

+ +

DownloadCompletedCallback

+

下载任务完成时的回调

+
+vaoid onCompleted( Download download, Number status ) {
+	// Download file complete code
+}
+				
+

说明:

+

+ 下载任务完成时的回调函数,在下载任务完成时调用。 + 下载任务失败也将触发此回调。 +

+

参数:

+ +

返回值:

+void + : 无

DownloadStateChangedCallback

+

下载任务状态变化回调

+
+void onStateChanged( Download download, status ) {
+	// Download state changed code.
+}
+				
+

参数:

+ +

返回值:

+void + : 无

DownloadEnumerateCallback

+

枚举下载任务回调

+
+void onEnumerated( Download[] downloads ) {
+	// Enumerate success code
+}
+				
+

参数:

+ +

返回值:

+void + : 无

+
+ diff --git a/fangija-zsyf/doc/events.html b/fangija-zsyf/doc/events.html new file mode 100644 index 0000000..a36f241 --- /dev/null +++ b/fangija-zsyf/doc/events.html @@ -0,0 +1,96 @@ + + + + + + + +Hello H5+ + + + + +
+

Events

+

Events模块管理客户端事件,包括系统事件,如扩展API加载完毕、程序前后台切换等。

+

常量:

+ +

方法:

+ +

回调方法:

+ +

EventTrigCallback

+

事件触发回调函数

+
+				
+void onTrig(){
+	// Event trig code
+}
+				
+				
+

说明:

+

+ 指定事件触发时的回调函数,在指定的事件已经发生时调用。 +

+

参数:

+

无

+

返回值:

+void + : 无

ErrorEventTrigCallback

+

页面加载错误事件回调函数

+
+				
+void onErrorTrig(Event event){
+	// Event trig code
+	var url = event.url;  // 加载错误的页面路径,API中传入的url值
+	var href = event.href;  // 加载错误的页面完整路径,通常以“file://”开头的路径
+}
+				
+				
+

说明:

+

+ 当Webview窗口加载页面失败后打开错误页面时触发此事件。 +

+

参数:

+ +

返回值:

+void + : 无

+
+ diff --git a/fangija-zsyf/doc/gallery.html b/fangija-zsyf/doc/gallery.html new file mode 100644 index 0000000..428dafe --- /dev/null +++ b/fangija-zsyf/doc/gallery.html @@ -0,0 +1,247 @@ + + + + + + + +Hello H5+ + + + + +
+

gallery

+

Gallery模块管理系统相册,支持从相册中选择图片或视频文件、保存图片或视频文件到相册等功能。通过plus.gallery获取相册管理对象。

+

方法:

+ +

对象:

+ +

回调方法:

+ +

权限:

+

5+功能模块(permissions)

+
+{
+// ...
+"permissions":{
+	// ...
+	"Gallery": {
+		"description": "系统相册"
+	}
+}
+}
+			
+

GalleryOptions

+

JSON对象,从相册中选择文件的参数

+

属性:

+ +

GalleryFilter

+

相册选择文件过滤类型

+

属性:

+ +

PopPosition

+

JSON对象,弹出拍照或摄像界面指示位置

+

属性:

+ +

GalleryPickSuccessCallback

+

单选系统相册图片成功的回调

+
+void onSuccess( file ) {
+	// Success code
+}
+				
+

说明:

+

+ 系统相册中单选图片或视频文件成功的回调函数,在选择文件操作成功时调用。 +

+

参数:

+ +

返回值:

+void + : 无

GalleryMultiplePickSuccessCallback

+

多选系统相册图片成功的回调

+
+void onSuccess( event ) {
+	// Pick success
+	var files = event.files; // 保存多选的图片或视频文件路径
+}
+				
+

说明:

+

+ 系统相册中多选图片或视频文件成功的回调函数,在多选择文件操作成功时调用。 +

+

参数:

+ +

返回值:

+void + : 无

GallerySuccessCallback

+

操作系统相册成功的回调

+
+void onSuccess() {
+	// Success code
+}
+				
+

说明:

+

+ 系统相册操作成功的回调函数,在保存文件到系统相册操作成功时调用。 +

+

参数:

+

无

+

返回值:

+void + : 无

GalleryErrorCallback

+

系统相册操作失败的回调

+
+void onError( error ) {
+	// Handle error
+	var code = error.code; // 错误编码
+	var message = error.message; // 错误描述信息
+}
+				
+

说明:

+

+ 系统相册操作失败的回调函数,在选择或保存图片操作失败时调用。 +

+

参数:

+ +

返回值:

+void + : 无

+
+ diff --git a/fangija-zsyf/doc/geolocation.html b/fangija-zsyf/doc/geolocation.html new file mode 100644 index 0000000..7ee0604 --- /dev/null +++ b/fangija-zsyf/doc/geolocation.html @@ -0,0 +1,340 @@ + + + + + + + +Hello H5+ + + + + +
+

geolocation

+

Geolocation模块管理设备位置信息,用于获取地理位置信息,如经度、纬度等。通过plus.geolocation可获取设备位置管理对象。虽然W3C已经提供标准API获取位置信息,但在某些平台存在差异或未实现,为了保持各平台的统一性,定义此规范接口获取位置信息。

+

方法:

+ +

对象:

+ +

回调方法:

+ +

权限:

+

5+功能模块(permissions)

+
+{
+// ...
+"permissions":{
+	// ...
+	"Geolocation": {
+		"description": "位置信息"
+	}
+}
+}
+			
+

Position

+

JSON对象,设备位置信息数据

+
+interface Position {
+	readonly attribute Coordinates coords;
+	readonly attribute String coordsType;
+	readonly attribute Number timestamp;
+	readonly attribute Address address;
+	readonly attribute String addresses;
+}
+				
+

属性:

+ +

Address

+

JSON对象,地址信息

+
+interface Address {
+	readonly attribute String country;
+	readonly attribute String province;
+	readonly attribute String city;
+	readonly attribute String district;
+	readonly attribute String street;
+	readonly attribute String streetNum;
+	readonly attribute String poiName;
+	readonly attribute String postalCode;
+	readonly attribute String cityCode;
+}			
+				
+

属性:

+ +

Coordinates

+

JSON对象,地理坐标信息

+
+interface Coordinates {
+	readonly attribute double latitude;
+	readonly attribute double longitude;
+	readonly attribute double altitude;
+	readonly attribute double accuracy;
+	readonly attribute double altitudeAccuracy;
+	readonly attribute double heading;
+	readonly attribute double speed;
+}			
+				
+

属性:

+ +

PositionOptions

+

JSON对象,监听设备位置信息参数

+

属性:

+ +

GeolocationError

+

JSON对象,定位错误信息

+
+interface GeolocationError {
+	const Number PERMISSION_DENIED = 1;
+	const Number POSITION_UNAVAILABLE = 2;
+	const Number TIMEOUT = 3;
+	const Number UNKNOWN_ERROR = 4;
+	readonly attribute Number code;
+	readonly attribute String message;
+}			
+				
+

属性:

+ +

GeolocationSuccessCallback

+

获取设备位置信息成功的回调函数

+
+void onSuccess( position ) {
+	// Get Position code.
+}
+				
+

参数:

+ +

返回值:

+void + : 无

GeolocationErrorCallback

+

获取设备位置信息失败的回调函数

+
+function void onGeolocationError( GeolocationError error ) {
+	// Handle error
+	var code = error.code; // 错误编码
+	var message = error.message; // 错误描述信息
+}
+				
+

参数:

+ +

返回值:

+void + : 无

+
+ diff --git a/fangija-zsyf/doc/interface-orientation.html b/fangija-zsyf/doc/interface-orientation.html new file mode 100644 index 0000000..dc365b3 --- /dev/null +++ b/fangija-zsyf/doc/interface-orientation.html @@ -0,0 +1,24 @@ + + + + + + + +Hello H5+ + + + + +
+

InterfaceOrientation

+

获取应用的横竖屏信息

+

方法:

+ +

事件:

+ +

+
+ diff --git a/fangija-zsyf/doc/io.html b/fangija-zsyf/doc/io.html new file mode 100644 index 0000000..f900d23 --- /dev/null +++ b/fangija-zsyf/doc/io.html @@ -0,0 +1,567 @@ + + + + + + + +Hello H5+ + + + + +
+

io

+

IO模块管理本地文件系统,用于对文件系统的目录浏览、文件的读取、文件的写入等操作。通过plus.io可获取文件系统管理对象。

+

常量:

+ +

方法:

+ +

对象:

+ +

回调方法:

+ +

权限:

+

5+功能模块(permissions)

+
+{
+// ...
+"permissions":{
+	// ...
+	"File": {
+		"description": "文件系统"
+	}
+}
+}
+			
+

DirectoryEntry

+

文件系统中的目录对象,用于管理特定的本地目录

+

属性:

+ +

方法:

+ +

DirectoryReader

+

读取目录信息对象,用于获取目录中包含的文件及子目录

+

方法:

+ +

File

+

文件系统中的文件数据对象,用于获取文件的数据

+

属性:

+ +

方法:

+ +

FileEntry

+

文件系统中的文件对象,用于管理特定的本地文件

+

属性:

+ +

方法:

+ +

FileReader

+

文件系统中的读取文件对象,用于获取文件的内容

+

说明:

+

+ FileReader对象是从设备文件系统读取文件FileReader对象是从设备文件系统读取文件的一种方式,文件以文本或者Base64编码的字符串形式读出来。 + 用户注册自己的事件监听器来接收loadstart、progress、load、loadend、error和abort事件。 +

+

构造:

+ +

常量:

+ +

属性:

+ +

方法:

+ +

事件:

+ +

FileWriter

+

文件系统中的写文件对象,用于写入文件内容

+

说明:

+

+ FileWriter对象是从设备文件系统写入文件FileWriter对象是从设备文件系统写入文件的一种方式,用户注册自己的事件监听器来接收writestart、progress、write、writeend、error和abort事件。 + 一个FileWriter对象是为单个文件的操作而创建。你可以使用该对象多次对相应文件进行写入操作。FileWriter维护该文件的指针位置及长度属性,这样你就可以寻找和写入文件的任何地方。 + 默认情况下,FileWriter从文件的开头开始写入(将覆盖现有数据)。FileWriter对象的seek方法可设置文件操作指定位置,如fw.seek(fw.length-1)写入操作就会从文件的末尾开始。 +

+

常量:

+ +

属性:

+ +

方法:

+ +

事件:

+ +

FileSystem

+

文件系统对象,用于管理特定本地文件目录

+

说明:

+

+ 文件系统对象表示一个应用可访问的根目录。name属性用于标识此根目录的名称,与LocalFileSystem中的文件系统类型一一对应。root属性为文件目录对象,用于实际操作文件系统,参考DirectoryEntry。 +

+

属性:

+ +

Flags

+

JSON对象,获取文件操作的参数

+

属性:

+ +

Metadata

+

JSON对象,保存文件或目录的状态信息对象

+

说明:

+

可通过DirectoryEntry或FileEntry对象的getMetaData方法获取

+

属性:

+ +

FileEvent

+

文件或目录操作事件对象

+

说明:

+

+ 所有文件或目录操作事件回调函数中都创建该对象的实例。 + 该对象从DOMEvent继承而来,可通过该其target属性获取事件触发的文件或目录操作对象。 +

+

属性:

+ +

URLType

+

文件路径类型

+

说明:

+

在文件系统中的文件路径需转换成URL格式,已方便runtime快速加载。

+

RelativeURL

+

相对路径URL

+

说明:

+

只能在扩展API中使用,相对于基座提供的特定目录,以“_”开头。

+

常量:

+ +

LocalURL

+

本地路径URL

+

说明:

+

+ 可在html页面中直接访问本地资源,以“file:///”开头,后面跟随系统的绝对路径。 + 如示例:“file:///D:/res/hello.html”。 +

+

RemoteURL

+

网络路径URL

+

说明:

+

+ 可在html页面中以网络资源模式访问本地资源,以“http://”开头,后面跟随相对路径。 + 如示例:“http://localhost:13131/_www/res/icon.png”,其中“_www”字段可支持类型与相对路径URL一致。 +

+

FileEventCallback

+

文件事件回调

+
+void onEvent( event ) {
+	// Event code.
+}
+				
+

说明:

+

+ 文件或目录操作回调事件。 + 通常在FileReader和FileWriter对象的事件函数中触发。 +

+

参数:

+ +

返回值:

+void + : 无

FileSystemSuccessCallback

+

请求文件系统成功的回调函数

+
+void onSuccess( fs ) {
+	// File System operate code.
+}
+				
+

参数:

+ +

返回值:

+void + : 无

FileResolveSuccessCallback

+

通过URL参数获取目录或文件对象成功的回调函数

+
+void onSuccess( entry ) {
+	// File or Direcory entry operate code.
+}
+				
+

参数:

+ +

返回值:

+void + : 无

MetadataSuccessCallback

+

获取文件或目录状态信息成功的回调函数

+
+void onSuccess( metadata ) {
+	// Metadata code.
+}
+				
+

参数:

+ +

返回值:

+void + : 无

EntrySuccessCallback

+

操作文件或目录对象成功的回调函数

+
+void onSuccess( entry ) {
+	// Entry code.
+}
+				
+

参数:

+ +

返回值:

+void + : 无

EntrysSuccessCallback

+

操作文件或目录对象数组成功的回调函数

+
+void onSuccess( entrys ) {
+	// Entrys code.
+}
+				
+

参数:

+ +

返回值:

+void + : 无

FileWriterSuccessCallback

+

写文件操作成功的回调函数

+
+void onSuccess( writer ) {
+	// FileWriter code.
+}
+				
+

参数:

+ +

返回值:

+void + : 无

FileSuccessCallback

+

文件操作成功的回调函数

+
+void onSuccess( file ) {
+	// file code.
+}
+				
+

参数:

+ +

返回值:

+void + : 无

FileErrorCallback

+

文件操作失败的回调函数

+
+void onError( error ) {
+	// Error code.
+}
+				
+

参数:

+ +

返回值:

+void + : 无

+
+ diff --git a/fangija-zsyf/doc/ios.html b/fangija-zsyf/doc/ios.html new file mode 100644 index 0000000..da166cd --- /dev/null +++ b/fangija-zsyf/doc/ios.html @@ -0,0 +1,87 @@ + + + + + + + +Hello H5+ + + + + +
+

ios

+

Native.js for iOS封装一条通过JS语法直接调用Native Objective-C接口通道,通过plus.ios可调用几乎所有的系统API。

+

方法:

+ +

对象:

+ +

权限:

+

5+功能模块(permissions)

+
+{
+// ...
+"permissions":{
+	// ...
+	"Invocation": {
+		"description": "Native.js"
+	}
+}
+}
+			
+

ClassObject

+

Objective-C类对象

+
+interface ClassObject {
+	// ...
+}
+				
+

说明:

+

+ Objective-C类对象,可通过其属性获取类的常量,可通过方法来操作类的静态方法,也通过new方法来创建类的实例对象。 + 对于类的静态方法,则直接通过.后面跟随方法名称调用。 +

+

InstanceObject

+

Objective-C实例对象

+
+interface InstanceObject {
+	// ...
+	function Object plusGetAttribute( String name );
+	function Object plusSetAttribute( String name, Object value );
+	// ...
+}
+				
+

说明:

+

+ Objective-C实例对象,可通过其方法来操作示例的变量和方法。 + 注意:必须通过plusGetAttribute()方法读取示例对象的属性值,通过plusSetAttribute()方法设置示例对象的属性值。 +

+

方法:

+ +

+
+ diff --git a/fangija-zsyf/doc/key.html b/fangija-zsyf/doc/key.html new file mode 100644 index 0000000..8ae648c --- /dev/null +++ b/fangija-zsyf/doc/key.html @@ -0,0 +1,131 @@ + + + + + + + +Hello H5+ + + + + +
+

key

+

Key管理设备按键事件

+

方法:

+ +

对象:

+ +

回调方法:

+ +

权限:

+

5+功能模块(permissions)

+
+{
+// ...
+"permissions":{
+	// ...
+	"Webview": {
+		"description": "窗口管理"
+	}
+}
+}
+			
+

KeyType

+

按键类型

+

常量:

+ +

KeyEvent

+

按键事件

+

属性:

+ +

KeyEventCallback

+

按键事件的回调函数

+
+void onKeyEvent( KeyEvent event ){
+	// Event handled code.
+	var key=event.keyCode; // 用户按键的键值
+}
+				
+

参数:

+ +

返回值:

+void + : 无

+
+ diff --git a/fangija-zsyf/doc/maps.html b/fangija-zsyf/doc/maps.html new file mode 100644 index 0000000..745c875 --- /dev/null +++ b/fangija-zsyf/doc/maps.html @@ -0,0 +1,939 @@ + + + + + + + +Hello H5+ + + + + +
+

maps

+

Maps模块管理地图控件,用于在web页面中显示地图控件,提供各种接口操作地图控件,如添加标点、路线等。通过plus.maps可获取地图管理对象。

+

方法:

+ +

对象:

+ +

回调方法:

+ +

权限:

+

permissions

+
+{
+// ...
+"permissions":{
+	// ...
+	"Maps": {
+		"description": "地图"
+	}
+}
+}
+			
+

Map

+

地图控件对象

+

构造:

+ +

方法:

+ +

事件:

+ +

MapOptions

+

地图对象的参数

+

说明:

+

+ 设置地图对象初始化显示时使用的属性参数。 +

+

属性:

+ +

GeocodeOptions

+

地理编码转换的参数

+

属性:

+ +

CoordinateConvertOptions

+

地图坐标转换的参数

+

属性:

+ +

Point

+

Point对象用于表示地图元素的坐标

+

说明:

+

常用语对地图上元素进行定位时使用。

+

构造:

+ +

方法:

+ +

Bounds

+

地理区域

+

说明:

+

+ 有西南及东北坐标点数据组成的矩形区域。 +

+

构造:

+ +

方法:

+ +

MapType

+

地图视图类型

+

常量:

+ +

Overlay

+

地图覆盖物基类对象

+
+interface Overlay {
+	function Boolean isVisible();
+	function void show();
+	function void hide();
+}
+				
+

说明:

+

+Overlay是地图上显示元素的基类,用于抽象地图元素,不用于实例化。 +

+

方法:

+ +

Marker

+

地图上显示的标点对象

+

说明:

+

从Overlay对象继承而来,可通过Map对象的addOverlay()方法将对象添加地图中。

+

构造:

+ +

方法:

+ +

事件:

+ +

Bubble

+

地图上显示的气泡对象

+

说明:

+

+ 此对象不能直接添加到地图上显示,只可关联到地图标点覆盖物上,用户点击标点时弹出显示。 +

+

构造:

+ +

方法:

+ +

事件:

+ +

Circle

+

地图上显示的圆圈对象

+

说明:

+

从Overlay对象继承而来,可通过Map对象的addOverlay()方法将对象添加地图中。

+

构造:

+ +

方法:

+ +

Polyline

+

地图上显示的折线对象

+

说明:

+

从Overlay对象继承而来,可通过Map对象的addOverlay()方法将对象添加地图中。

+

构造:

+ +

方法:

+ +

Polygon

+

地图上显示的多边形对象

+

说明:

+

从Overlay对象继承而来,可通过Map对象的addOverlay()方法将对象添加地图中。

+

构造:

+ +

方法:

+ +

Search

+

地图检索对象

+

说明:

+

+ Search对象用于管理地图上的检索功能,包括位置检索、周边检索和范围检索。 +

+

构造:

+ +

方法:

+ +

事件:

+ +

SearchPolicy

+

检索策略类型

+

说明:

+

在线路检索时设置检索策略时使用。

+

常量:

+ +

SearchPoiResult

+

保存位置检索、周边检索和范围检索返回的结果

+

属性:

+ +

方法:

+ +

SearchRouteResult

+

保存位置检索、周边检索和范围检索返回的结果

+

说明:

+

+ 不可通过new操作符创建SearchRouteResult对象,在触发onRouteSearchComplete()时自动创建。 +

+

属性:

+ +

方法:

+ +

Position

+

检索结果的位置点

+

构造:

+ +

属性:

+ +

Route

+

地图中的路线对象

+

说明:

+

+ 从Overlay对象继承而来,可通过Map对象的addOverlay()方法将对象添加地图中。 +

+

构造:

+ +

属性:

+ +

GeocodeCallback

+

地理编码转换成功的回调函数

+
+void onGeocodeSuccess( Event event ) {
+	// JS code.
+	var address = event.address;  // 转换后的地理位置
+	var point = event.coord;  // 转换后的坐标信息
+	var coordType = event.coordType;	// 转换后的坐标系类型
+}
+				
+

说明:

+

+ 在地理编码转换成功触发,并返回转换结果。 +

+

参数:

+ +

返回值:

+void + : 无

CoordinateConvertCallback

+

坐标转换成功的回调函数

+
+void onConvertSuccess( Event event ) {
+	// JS code.
+	var point = event.coord;  // 转换后的坐标值
+	var coordType = event.coordType;	// 转换后的坐标系类型
+}
+				
+

说明:

+

+ 在坐标转换成功触发,并返回转换结果。 +

+

参数:

+ +

返回值:

+void + : 无

DistanceCalculateCallback

+

距离计算成功的回调函数

+
+void onCalculateSuccess( Event event ) {
+	// JS code.
+	var distance = event.distance;  // 转换后的距离值
+}
+				
+

说明:

+

+ 在距离计算成功触发,并返回计算结果。 +

+

参数:

+ +

返回值:

+void + : 无

AreaCalculateCallback

+

地理区域面积计算成功的回调函数

+
+void onCalculateSuccess( Event event ) {
+	// JS code.
+	var area = event.area;  // 计算后的面积值
+}
+				
+

说明:

+

+ 在地理区域面积计算成功触发,并返回计算结果。 +

+

参数:

+ +

返回值:

+void + : 无

UserLocationCallback

+

获取用户当前位置信息成功回调

+
+void onSuccess( state, point ) {
+	// Get location code
+}
+				
+

参数:

+ +

返回值:

+void + : 无

ClickEventHandler

+

用户点击地图回调事件

+
+void onClick( point ) {
+	// Click code
+}
+				
+

参数:

+ +

返回值:

+void + : 无

StatusChangedEventHandler

+

地图状态变化回调事件

+
+void onStatusChanged( event ) {
+	// Click code
+	var target = event.target;		// 状态变化的地图对象(plus.maps.Map)
+	var bounds = event.bounds;		// 地图的可视地理区域(plus.maps.Bounds)
+	var center = event.center;		// 地图的中心点坐标(plus.maps.Point)
+	var zoom = event.zoom;			// 地图的缩放级别(Number)
+}
+				
+

参数:

+ +

返回值:

+void + : 无

OverlayClickEventHandler

+

用户点击地图覆盖物回调事件

+
+void onClick( overlay ) {
+	// Click code
+}
+				
+

参数:

+ +

返回值:

+void + : 无

OverlayDragEventHandler

+

用户拖拽覆盖物回调事件

+
+void onDrag( target ) {
+	// Click code
+	var marker = target;    // 拖拽的覆盖物对象
+}
+				
+

参数:

+ +

返回值:

+void + : 无

PoiSearchCallback

+

兴趣点检索完成事件

+
+void onPoiSearchComplete( state, result ) {
+	// JS code.
+}
+				
+

说明:

+

+ 在兴趣点检索完成时触发,并返回检索结果。 +

+

参数:

+ +

返回值:

+void + : 无

RouteSearchCallback

+

线路检索完成事件

+
+void onRouteSearchComplete( state, result ) {
+	// JS code.
+}
+				
+

说明:

+

+ 在线路检索完成时触发,并返回检索结果。 +

+

参数:

+ +

返回值:

+void + : 无

SuccessCallback

+

地图操作成功回调函数

+
+void onSuccess(){
+	// Success code.
+}
+				
+

说明:

+

+ 地图操作成功后触发回调函数。 +

+

参数:

+

无

+

返回值:

+void + : 无

ErrorCallback

+

地图操作失败的回调函数

+
+function void onError( error ) {
+	// Handle error
+	var code = error.code; // 错误编码
+	var message = error.message; // 错误描述信息
+}
+				
+

参数:

+ +

返回值:

+void + : 无

+
+ diff --git a/fangija-zsyf/doc/messaging.html b/fangija-zsyf/doc/messaging.html new file mode 100644 index 0000000..4596d9f --- /dev/null +++ b/fangija-zsyf/doc/messaging.html @@ -0,0 +1,114 @@ + + + + + + + +Hello H5+ + + + + +
+

messaging

+

Messaging模块管理设备通讯功能,可用于短信、彩信、邮件发送等。通过plus.messaging可获取设备通讯管理对象。另外也可以直接通过html中的href直接快速发送短信、拨打电话、发送邮件等。

+

常量:

+ +

方法:

+ +

对象:

+ +

回调方法:

+ +

权限:

+

5+功能模块(permissions)

+
+{
+// ...
+"permissions":{
+	// ...
+	"Messaging": {
+		"description": "短信彩信邮件消息"
+	}
+}
+}
+			
+

Message

+

消息对象

+

属性:

+ +

方法:

+ +

BodyType

+

消息体内容类型

+

说明:

+

用于设定消息的消息体内容。

+

MessageSendSuccessCallback

+

消息发送成功的回调函数

+
+void onSuccess() {
+	// Send message success code.
+}
+					
+

参数:

+

无

+

返回值:

+void + : 无

MessageErrorCallback

+

消息发送失败的回调函数

+
+void onError( error ) {
+	// Error code.
+}
+				
+

参数:

+ +

返回值:

+void + : 无

+
+ diff --git a/fangija-zsyf/doc/native.js.html b/fangija-zsyf/doc/native.js.html new file mode 100644 index 0000000..935284f --- /dev/null +++ b/fangija-zsyf/doc/native.js.html @@ -0,0 +1,30 @@ + + + + + + + + Hello H5+ + + + + + +
+

Native.js

+

Native.JS一种把操作系统的原生对象转义,映射为JS对象,在JS里编写原生代码的技术。可通过plus.android.*和plus.ios.*提供的API分别调用Android和iOS平台的Native API。

+ +
+ + diff --git a/fangija-zsyf/doc/nativeUI.html b/fangija-zsyf/doc/nativeUI.html new file mode 100644 index 0000000..bef87c8 --- /dev/null +++ b/fangija-zsyf/doc/nativeUI.html @@ -0,0 +1,497 @@ + + + + + + + +Hello H5+ + + + + +
+

nativeUI

+

nativeUI管理系统原生界面,可用于弹出系统原生提示对话框窗口、时间日期选择对话框、等待对话框等。

+

方法:

+ +

对象:

+ +

回调方法:

+ +

权限:

+

5+功能模块(permissions)

+
+{
+// ...
+"permissions":{
+	// ...
+	"NativeUI": {
+		"description": "原生UI控件"
+	}
+}
+}
+			
+

ActionButtonStyles

+

JSON对象,原生选择按钮框上按钮的样式参数

+

属性:

+ +

ActionSheetStyles

+

JSON对象,原生选择按钮框的样式参数

+

属性:

+ +

PickDateOption

+

JSON对象,日期选择对话框的参数

+

属性:

+ +

PickTimeOption

+

JSON对象,时间选择对话框的参数

+

属性:

+ +

NativeUIObj

+

系统原生界面基类对象

+
+interface NativeUIObj{
+	function void close();
+}
+				
+

方法:

+ +

WaitingObj

+

系统等待对话框对象

+

说明:

+

+ 从NativeUIObj对象继承而来,通过plus.nativeUI.showWaiting方法创建时返回。 + 用于控制系统样式等待对话框的操作,如关闭、设置标题内容等。 +

+

方法:

+ +

事件:

+ +

WaitingOptions

+

JSON对象,原生等待对话框的参数

+

属性:

+ +

WaitingLoadingOptions

+

JSON对象,原生等待对话框上loading图标自定义样式

+

属性:

+ +

ToastOptions

+

JSON对象,系统提示消息框要设置的参数

+

属性:

+ +

ActionSheetCallback

+

系统选择按钮框的回调函数

+
+void onActioned( Event event ){
+	// actionsheet handled code.
+	var index=event.index; // 用户关闭时点击按钮的索引值
+}
+				
+

参数:

+ +

返回值:

+void + : 无

AlertCallback

+

系统提示框确认的回调函数

+
+void onAlerted( Event event ){
+	// Alert handled code.
+	var index=event.index; // 用户关闭提示对话框点击按钮的索引值
+}
+				
+

参数:

+ +

返回值:

+void + : 无

ConfirmCallback

+

关闭确认对话框的回调函数

+
+void onConfirmed( Event event ) {
+	// Confirm handled code.
+	var index=event.index; // 用户关闭确认对话框点击按钮的索引值
+}
+				
+

参数:

+ +

返回值:

+void + : 无

PromptCallback

+

系统输入对话框关闭后的回调函数

+
+function void onPrompted( Event event ) {
+	// Prompt handled code.
+	var index=event.index; // 用户关闭输入对话框点击按钮的索引值
+	var value=event.value; // 用户输入的内容
+}
+				
+

参数:

+ +

返回值:

+void + : 无

PickDatetimeSuccessCallback

+

选择日期或时间操作成功的回调函数

+
+function void onPickSuccess( Event event ) {
+	// Date picked code.
+	var date = event.date;// 用户选择的日期或时间
+}
+				
+

参数:

+ +

返回值:

+void + : 无

PickDatetimeErrorCallback

+

选择日期或时间操作取消或失败的回调函数

+
+function void onPickError( Exception error ) {
+	// Date picked error.
+	var code = error.code; // 错误编码
+	var message = error.message; // 错误描述信息
+}
+				
+

参数:

+ +

返回值:

+void + : 无

+
+ diff --git a/fangija-zsyf/doc/nativeobj.html b/fangija-zsyf/doc/nativeobj.html new file mode 100644 index 0000000..6c24622 --- /dev/null +++ b/fangija-zsyf/doc/nativeobj.html @@ -0,0 +1,840 @@ + + + + + + + +Hello H5+ + + + + +
+

nativeObj

+

nativeObj管理系统原生对象。

+

对象:

+ +

回调方法:

+ +

权限:

+

5+功能模块(permissions)

+
+{
+// ...
+"permissions":{
+	// ...
+	"NativeObj": {
+		"description": "原生对象"
+	}
+}
+}
+			
+

Bitmap

+

原生图片对象

+
+interface Bitmap {
+	readonly attribute String id;
+
+	static function Array[Bitmap] getItems();
+	static function Bitmap getBitmapById( id );
+	
+	function void clear();
+	function void load( path, successCallback, errorCallback );
+	function void loadBase64Data( data, successCallback, errorCallback );
+	function void save( path, options, successCallback, errorCallback );
+	function String toBase64Data();
+}				
+

说明:

+

+ 原生图片对象会占用较大的内存资源,在使用时需谨慎管理,当图片不再使用时应该及时调用clear方法进行销毁。 +

+

构造:

+ +

属性:

+ +

方法:

+ +

BitmapSaveOptions

+

JSON对象,保存图片的参数

+
+interface BitmapSaveOptions {
+	attribute Boolean overwrite;
+	attribute String format;
+	attribute Number quality;
+	attribute Rect clip;
+}				
+

属性:

+ +

View

+

原生控件对象

+
+interface View {
+	readonly attribute String id;
+
+	static function void startAnimation(options, view, otherview, callback);
+	static function void clearAnimation(type);
+	static function View getViewById(id);
+
+	function void addEventListener(event, listener, capture);
+	function void animate(options, callback);
+	function void close();
+	function void clearRect(position, id);
+	function void draw(tags);
+	function void drawBitmap(src, sprite, position, id);
+	function void drawRect(color, position, id);
+	function void drawText(text, position, styles, id);
+	function void reset();
+	function void restore();
+	function void show();
+	function void setStyle(styles);
+	function void setTouchEventRect(rect);
+	function void hide();
+	function void interceptTouchEvent(intercept);
+	function Boolean isVisible();
+}
+				
+

说明:

+

+ 原生控件对象可用于在屏幕上绘制图片或文本内容,当控件不再使用时需要调用clear方法销毁控件。 +

+

构造:

+ +

属性:

+ +

方法:

+ +

AnimationOptions

+

原生动画参数

+
+interface AnimationOptions {
+	attribute String type;
+	attribute Number duration;
+}				
+

说明:

+

+ 指定动画的类型、持续时间等信息。 +

+

属性:

+ +

AnimationViewStyles

+

原生动画窗口样式

+
+interface AnimationViewStyles {
+	attribute Bitmap bitmap;
+	attribute String text;
+}				
+

说明:

+

+ 指定动画窗口的样式,如背景图片,绘制的文字等。 +

+

属性:

+ +

Rect

+

区域信息对象

+
+interface Rect {
+	attribute String top;
+	attribute String left;
+	attribute String width;
+	attribute String height;
+}				
+

说明:

+

+ 包括位置、大小等信息。 +

+

属性:

+ +

Position

+

区域信息对象

+
+interface Position {
+	attribute String top;
+	attribute String left;
+	attribute String width;
+	attribute String height;
+	attribute String bottom;
+	attribute String right;
+}				
+

说明:

+

+ 包括位置、大小等信息。 +

+

属性:

+ +

TextStyles

+

文本样式对象

+
+interface Rect {
+	attribute String color;
+	attribute String align;
+	attribute String family;
+	attribute String size;
+	attribute String style;
+	attribute String weight;
+	attribute String fontSrc;
+	attribute String overflow;
+}				
+

说明:

+

+ 用于定义文本的显示样式,如字体大小、字体颜色、字体粗细、字体样式、字体名称等信息。 +

+

属性:

+ +

ViewAnimationOptions

+

View控件动画参数

+
+interface ViewAnimationOptions {
+	attribute String type;
+	attribute Number duration;
+	attribute Number frames;
+	attribute Rect region;
+}				
+

说明:

+

+ 指定动画的类型、持续时间等信息。 +

+

属性:

+ +

ViewDrawTagStyles

+

View控件绘制元素参数

+
+interface ViewDrawTagStyles {
+	attribute String id;
+	attribute String tag;
+	attribute String color;
+	attribute Position position;
+	attribute String src;
+	attribute Position sprite;
+	attribute String text;
+	attribute TextStyles textStyles;
+}				
+

说明:

+

+ 指定绘制图片、矩形区域、文本内容等信息。 +

+

属性:

+ +

ViewEvents

+

View控件事件

+

常量:

+ +

ViewStatusbarStyles

+

JSON对象,View控件的系统状态栏区域样式

+

说明:

+

+ 仅在应用设置为沉浸式状态栏样式下有效,非沉浸式状态栏样式下忽略此属性。 +

+

属性:

+ +

ViewStyles

+

View控件样式

+
+interface ViewStyles {
+	attribute String bottom;
+	attribute String top;
+	attribute String left;
+	attribute String width;
+	attribute String height;
+	attribute String backgroundColor;
+	attribute String dock;
+	attribute String position;
+	attribute Number opacity;
+	attribute ViewStatusbarStyles statusbar;
+}				
+

说明:

+

+ 包括位置、大小等信息,位置信息相对于父容器控件进行计算。 +

+

属性:

+ +

BitmapSaveSuccessCallback

+

图片保存操作成功回调接口

+
+void onSuccess( Event event ){
+	// Code here
+	var target = event.target; // 保存后的图片url路径,以"file://"开头
+	var size = event.size; // 保存后图片的大小,单位为字节(Byte)
+	var width = event.width; // 保存后图片的实际宽度,单位为px
+	var height = event.height; // 保存后图片的实际高度,单位为px
+}
+				
+

参数:

+ +

返回值:

+void + : 无

TouchEventCallback

+

触屏事件的回调函数

+
+void onEvent(Event e){
+	// Event handled code.
+	var clientX = e.clientX;
+	var clientY = e.clientY;
+	var pageX = e.pageX;
+	var pageY = e.pageY;
+	var screenX = e.screenX;
+	var screenY = e.screenY;
+	var target = e.target;
+}
+				
+

参数:

+ +

返回值:

+void + : 无

NativeObjSuccessCallback

+

操作成功回调函数接口

+
+void onSuccess(){
+	// Code here
+}
+				
+

参数:

+

无

+

返回值:

+void + : 无

NativeObjErrorCallback

+

操作错误回调函数接口

+
+function void onError( Exception error ) {
+	// Error.
+	var code = error.code; // 错误编码
+	var message = error.message; // 错误描述信息
+}
+				
+

参数:

+ +

返回值:

+void + : 无

+
+ diff --git a/fangija-zsyf/doc/navigator.html b/fangija-zsyf/doc/navigator.html new file mode 100644 index 0000000..218760a --- /dev/null +++ b/fangija-zsyf/doc/navigator.html @@ -0,0 +1,270 @@ + + + + + + + +Hello H5+ + + + + +
+

navigator

+

navigator用于管理浏览器运行环境信息

+

方法:

+ +

对象:

+ +

回调方法:

+ +

权限:

+

5+功能模块(permissions)

+
+{
+// ...
+"permissions":{
+	// ...
+	"Navigator": {
+		"description": "浏览器信息"
+	}
+}
+}
+			
+

ShortcutOptions

+

创建应用快捷方式要设置的参数

+

属性:

+ +

SplashscreenOptions

+

更新应用启动界面要设置的参数

+

属性:

+ +

PermissionNames

+

运行环境权限类型

+

常量:

+ +

ShortcutSuccessCallback

+

创建桌面快捷方式成功的回调函数

+
+void onSuccess( Event event ){
+	var result=event.result; // 快捷方式是否已经存在,调用plus.navigator.hasShortcut方法时有效
+	var sure=event.sure; // 是否确定创建桌面快捷方式成功,调用plus.navigator.createShortcut方法时有效
+}
+				
+

参数:

+ +

返回值:

+void + : 无

NavigatorErrorCallback

+

操作错误回调函数接口

+
+function void onError( Exception error ) {
+	// Error.
+	var code = error.code; // 错误编码
+	var message = error.message; // 错误描述信息
+}
+				
+

参数:

+ +

返回值:

+void + : 无

+
+ diff --git a/fangija-zsyf/doc/oauth.html b/fangija-zsyf/doc/oauth.html new file mode 100644 index 0000000..ff0a5a9 --- /dev/null +++ b/fangija-zsyf/doc/oauth.html @@ -0,0 +1,347 @@ + + + + + + + +Hello H5+ + + + + +
+

oauth

+

OAuth模块管理客户端的用户登录授权验证功能,允许应用访问第三方平台的资源。

+

方法:

+ +

对象:

+ +

回调方法:

+ +

权限:

+

permissions

+
+{
+// ...
+"permissions":{
+	// ...
+	"OAuth": {
+		"description": "登录鉴权"
+	}
+}
+}
+			
+

AuthService

+

登录授权认证服务对象

+
+interface plus.oauth.AuthService {
+	// Attributes
+	attribute String id;
+	attribute String description;
+	attribute AuthInfo authResult;
+	attribute UserInfo userInfo;
+	attribute JSON extra;
+	
+	// Methods
+	function void login( successCallback, errorCallback, options );
+	function void logout( successCallback, errorCallback );
+	function void getUserInfo( successCallback, errorCallback );
+	function void addPhoneNumber( successCallback, errorCallback );
+}
+				
+

说明:

+

+ AuthService对象用于表示登录授权认证服务,在JS中为对象,用于向系统进行登录授权认证操作。 +

+

属性:

+ +

方法:

+ +

AuthOptions

+

JSON对象,授权认证参数选项

+
+interface plus.oauth.AuthOptions {
+	attribute String scope;
+	attribute String state;
+	attribute String appid;
+	attribute String appkey;
+	attribute String appsecret;
+	attribute String redirect_uri;
+}
+				
+

说明:

+

+ 此对象支持的属性值由登录授权认证服务定义。 + 例如“微信”,则可配置以下参数: + scope - 应用授权作用域; + state - 用于保持请求和回调的状态参数。 +

+

属性:

+ +

AuthInfo

+

登录授权认证信息

+
+interface plus.oauth.AuthInfo {
+	attribute String openid;
+	attribute String access_token;
+	attribute String expires_in:
+	attribute String refresh_token;
+	attribute String scope;
+}
+				
+

说明:

+

+ 此对象仅定义标准属性,登录授权认证服务可扩展定义。 + 例如“微信”登录授权服务,则包括以下数据: + unionid - 用户统一标识,针对一个微信开放平台帐号下的应用,同一用户的unionid是唯一的。 +

+

属性:

+ +

UserInfo

+

登录授权用户信息

+
+interface plus.oauth.UserInfo {
+	attribute String openid;
+	attribute String headimgurl:
+	attribute String nickname;
+}
+				
+

说明:

+

+ 用于保存登录授权用户的信息。 + 此对象仅定义标准属性,登录授权认证服务可扩展定义。 + 例如“微信”登录授权服务,则包括以下数据: + sex - 普通用户性别,1为男性,2为女性; + province - 普通用户个人资料填写的省份; + city - 普通用户个人资料填写的城市; + country - 国家,如中国为CN; + privilege - 用户特权信息,json数组,如微信沃卡用户为(chinaunicom); + unionid - 用户统一标识,针对一个微信开放平台帐号下的应用,同一用户的unionid是唯一的。 +

+

属性:

+ +

ServicesSuccessCallback

+

获取登录授权认证服务成功回调

+
+void ServicesSuccessCallback( services ) {
+	// Get oauth services success code
+}
+				
+

说明:

+

+ 当获取登录授权认证服务列表成功时触发,并通过services参数返回运行环境支持的登录授权认证服务列表。 +

+

参数:

+ +

返回值:

+void + : 无

AuthLogoutSuccessCallback

+

注销登录授权认证操作成功回调函数

+
+void AuthLogoutSuccessCallback( event ) {
+	  // logout code
+}
+				
+

说明:

+

+ 注销登录授权认证成功时触发,并返回操作结果。 +

+

参数:

+ +

返回值:

+void + : 无

AuthSuccessCallback

+

登录授权认证服务操作成功回调函数

+
+void AuthSuccessCallback( event ) {
+	  // auth code
+}
+				
+

说明:

+

+ 登录授权认证服务操作如请求登录授权认证、获取登录授权用户信息成功时触发,并返回操作结果。 +

+

参数:

+ +

返回值:

+void + : 无

AuthErrorCallback

+

登录授权认证服务操作失败回调函数

+
+void AuthErrorCallback(error){
+	// Error code
+}
+				
+

说明:

+

+ 登录授权认证服务操作如请求登录授权认证、注销登录授权认证、获取登录授权用户信息失败时触发,并返回错误信息。 +

+

参数:

+ +

返回值:

+void + : 无

+
+ diff --git a/fangija-zsyf/doc/orientation.html b/fangija-zsyf/doc/orientation.html new file mode 100644 index 0000000..2b8fddc --- /dev/null +++ b/fangija-zsyf/doc/orientation.html @@ -0,0 +1,132 @@ + + + + + + + +Hello H5+ + + + + +
+

orientation

+

Orientation模块管理设备的方向信息,包括alpha、beta、gamma三个方向信息,通过plus.orientation可获取设备方向管理对象。

+

方法:

+ +

对象:

+ +

回调方法:

+ +

权限:

+

5+功能模块(permissions)

+
+{
+// ...
+"permissions":{
+	// ...
+	"Orientation": {
+		"description": "方向传感器"
+	}
+}
+}
+			
+

OrientationOption

+

JSON对象,监听设备方向感应器参数

+

属性:

+ +

Rotation

+

JSON对象,设备方向信息数据

+
+interface Rotation {
+	readonly attribute float alpha;
+	readonly attribute float beta;
+	readonly attribute float gamma;
+	readonly attribute float magneticHeading;
+	readonly attribute float trueHeading;
+	readonly attribute float headingAccuracy;
+}
+				
+

属性:

+ +

OrientationSuccessCallback

+

获取设备方向信息成功的回调函数

+
+void onSuccess( rotation ){
+	// Get orientation success code.
+}
+				
+

参数:

+ +

返回值:

+void + : 无

OrientationErrorCallback

+

获取设备方向信息失败的回调函数

+
+void onError( error ) {
+	// Get orientation error code. 
+}
+				
+

参数:

+ +

返回值:

+void + : 无

+
+ diff --git a/fangija-zsyf/doc/payment.html b/fangija-zsyf/doc/payment.html new file mode 100644 index 0000000..e2fea62 --- /dev/null +++ b/fangija-zsyf/doc/payment.html @@ -0,0 +1,407 @@ + + + + + + + +Hello H5+ + + + + +
+

payment

+

Payment模块管理支付功能,用于提供网页安全支付能力,支持通过Web接口进行支付操作。通过plus.payment可获取支付管理对象。

+

方法:

+ +

对象:

+ +

回调方法:

+ +

权限:

+

permissions

+
+{
+// ...
+"permissions":{
+	// ...
+	"Payment": {
+		"description": "支付"
+	}
+}
+}
+			
+

PaymentChannel

+

支付通道对象

+
+interface plus.payment.PaymentChannel{
+	attribute String id;
+	attribute String description;
+	attribute Boolean serviceReady;
+	function void installService();
+	
+	// iOS iAP
+	function void requestOrder(ids, successCB, errorCB);
+	function void restoreComplateRequest(options, successCB);
+}
+				
+

说明:

+

+PaymentChannel对象表示特定的支付通道,用于向系统请求支付操作。 +

+

属性:

+ +

方法:

+ +

OrderStatementIAP

+

IAP订单数据对象

+
+interface plus.payment.OrderStatementIAP {
+	attribute String productid;
+	attribute String username;
+	attribute String quantity;
+}
+				
+

说明:

+

+ 描述IAP商品订单信息,如标识、数量等。 +

+

属性:

+ +

PaymentResult

+

支付操作结果对象

+
+interface plus.payment.PaymentResult {
+	attribute PaymentChannel channel;
+	attribute String tradeno;
+	attribute String description;
+	attribute String url;
+	attribute String signature;
+	attribute String rawdata;
+}
+				
+

说明:

+

+PaymentResult对象表示支付操作返回结果,用于确认支付操作成功。 +

+

属性:

+ +

IAPProduct

+

IAP商品对象

+
+interface plus.payment.IAPProduct {
+	attribute String productid;
+	attribute String price;
+	attribute String title;
+	attribute String description;
+}
+				
+

说明:

+

+ 描述IAP商品详细信息,如标识、价格、标题、描述信息等。 +

+

属性:

+ +

IAPProductInfo

+

购买IAP商品对象

+
+interface plus.payment.IAPProductInfo {
+	attribute String productIdentifier;
+	attribute String quantity;
+}
+				
+

说明:

+

+ 描述购买的IAP商品详细信息,如标识、数量等。 +

+

属性:

+ +

IAPTransaction

+

购买IAP商品交易信息对象

+
+interface plus.payment.IAPTransaction {
+    attribute IAPProductInfo payment;
+    attribute String transactionDate;
+    attribute String transactionIdentifier;
+    attribute String transactionReceipt;
+    attribute String transactionState;
+}
+				
+

说明:

+

+ 描述购买的IAP商品交易详细信息,如购买商品信息、交易日期、订单标识等。 +

+

属性:

+ +

ChannelsSuccessCallback

+

获取支付通道成功回调

+
+void ChannelsSuccessCallback( channels ) {
+	// Get payment channels success code
+}
+				
+

说明:

+

+ 当获取支付通道列表成功时的回调函数,用于返回终端支持的支付通道列表。 +

+

参数:

+ +

返回值:

+void + : 无

IapRequestOrderSuccessCallback

+

请求支付商品列表回调方法

+
+void onsuccess( results ) {
+	// Payment success code
+}
+				
+

说明:

+

+ 获取IAP商品列表信息成功时的回调函数,返回商品详细信息。 +

+

参数:

+ +

返回值:

+void + : 无

IapRestoreComplateRequestCallback

+

请求已经购买的非消耗性商品和订阅商品回调方法

+
+void onsuccess( results ) {
+	// Payment success code
+}
+				
+

说明:

+

+ 获取IAP商品列表信息成功时的回调函数,返回商品详细信息。 +

+

参数:

+ +

返回值:

+void + : 无

PaymentSuccessCallback

+

支付操作成功回调

+
+void PaymentSuccessCallback ( result ) {
+	// Payment success code
+}
+				
+

说明:

+

+ 当支付操作成功时的回调函数,用于返回支付操作的成功信息。 +

+

参数:

+ +

返回值:

+void + : 无

PaymentErrorCallback

+

支付操作失败回调

+
+void PaymentErrorCallback(error){
+	// Payment error code
+}
+				
+

说明:

+

当支付操作失败时的回调函数,用于返回支付操作失败的错误信息。

+

参数:

+ +

返回值:

+void + : 无

+
+ diff --git a/fangija-zsyf/doc/proximity.html b/fangija-zsyf/doc/proximity.html new file mode 100644 index 0000000..c895982 --- /dev/null +++ b/fangija-zsyf/doc/proximity.html @@ -0,0 +1,78 @@ + + + + + + + +Hello H5+ + + + + +
+

proximity

+

Proximity模块管理设备距离传感器,可获取当前设备的接近距离信息,通过plus.proximity可获取设备距离传感管理对象。

+

方法:

+ +

回调方法:

+ +

权限:

+

5+功能模块(permissions)

+
+{
+// ...
+"permissions":{
+	// ...
+	"Proximity": {
+		"description": "距离感应器"
+	}
+}
+}
+			
+

ProximitySuccessCallback

+

获取设备接近距离信息成功的回调函数

+
+void onSuccess( distance ) {
+	// Get distance success code.
+}
+				
+

参数:

+ +

返回值:

+void + : 无

ProximityErrorCallback

+

获取设备接近距离信息失败的回调函数

+
+void onError( error ) {
+	// Get distance error code.
+}
+				
+

参数:

+ +

返回值:

+void + : 无

+
+ diff --git a/fangija-zsyf/doc/push.html b/fangija-zsyf/doc/push.html new file mode 100644 index 0000000..3adb4f1 --- /dev/null +++ b/fangija-zsyf/doc/push.html @@ -0,0 +1,198 @@ + + + + + + + +Hello H5+ + + + + +
+

push

+

Push模块管理推送消息功能,可以实现在线、离线的消息推送,通过plus.push可获取推送消息管理对象。

+

方法:

+ +

对象:

+ +

回调方法:

+ +

权限:

+

permissions

+
+{
+// ...
+"permissions":{
+	// ...
+	"Push": {
+		"description": "消息推送"
+	}
+}
+}
+			
+ 属性: + +

ClientInfo

+

JSON对象,获取的客户端标识信息

+

属性:

+ +

PushMessage

+

JSON对象,推送消息对象

+

属性:

+ +

MessageOptions

+

JSON对象,获客户端创建本地消息的参数

+

属性:

+ +

PushReceiveCallback

+

客户端接收到推动消息的回调函数

+
+void onReceive( msg ) {
+	// Recieved push message code.
+}
+				
+

参数:

+ +

返回值:

+void + : 无

PushClickCallback

+

用户点击推送消息事件的回调函数

+
+void onClick( msg ) {
+	// Clicked push message code. 
+}
+				
+

参数:

+ +

返回值:

+void + : 无

+
+ diff --git a/fangija-zsyf/doc/res/doc.css b/fangija-zsyf/doc/res/doc.css new file mode 100644 index 0000000..091d7de --- /dev/null +++ b/fangija-zsyf/doc/res/doc.css @@ -0,0 +1,61 @@ +* { + -webkit-user-select: none; + -ms-touch-select: none; +/* + -ms-touch-action: none; +*/ +} +html { + width: 100%; + height: 100%; +} +body { + color:#333; + font-family: Verdana, Arial, Helvetica , "Microsoft YaHei" , sans-serif; + font-size:14px; + word-break: break-all; + -webkit-touch-callout:none; + -webkit-tap-highlight-color:rgba(0,0,0,0); + -webkit-text-size-adjust:none; +} +.content { + padding: 0 0.5em; +} +h1 { + border-bottom:2px solid; + font-size:1.6em; + font-weight:bold; + margin:2em 0px 0.5em 0px; + +} +h2 { + font-size:1.2em; + font-weight:bold; + margin:1em 0px 0.5em 0px; + text-shadow:#FFFFFF 0px 1px 1px; +} +h3 { + font-size:1.1em; + font-weight:bold; + margin:0.8em 0px 0.5em 0px; + text-shadow:#FFFFFF 0px 1px 1px; +} +em { + font-size: 0.8em; + color: #999; +} +ul { + margin: 0; + padding: 0 0 0 2em; +} +a { + color:#D84C29; + text-decoration:none; +} +.des { + text-indent: 2em; + margin: 0; +} +.type{ + color:#0A0;text-decoration:none;-webkit-tap-highlight-color:rgba(0,0,0,0); +} diff --git a/fangija-zsyf/doc/res/doc.js b/fangija-zsyf/doc/res/doc.js new file mode 100644 index 0000000..e67a19a --- /dev/null +++ b/fangija-zsyf/doc/res/doc.js @@ -0,0 +1,14 @@ +(function(w){ +// 空函数 +function shield(){ + return false; +} +//取消浏览器的所有事件,使得active的样式在手机上正常生效 +document.addEventListener('touchstart',shield,false); +document.oncontextmenu=shield; +// DOMContentLoaded事件处理 +document.addEventListener('DOMContentLoaded',function(){ + document.body.onselectstart=shield; + prettyPrint(); +},false); +})(window); \ No newline at end of file diff --git a/fangija-zsyf/doc/res/prettify.js b/fangija-zsyf/doc/res/prettify.js new file mode 100644 index 0000000..7fbe7aa --- /dev/null +++ b/fangija-zsyf/doc/res/prettify.js @@ -0,0 +1,1658 @@ +// Copyright (C) 2006 Google Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + + +/** + * @fileoverview + * some functions for browser-side pretty printing of code contained in html. + * + *

+ * For a fairly comprehensive set of languages see the + * README + * file that came with this source. At a minimum, the lexer should work on a + * number of languages including C and friends, Java, Python, Bash, SQL, HTML, + * XML, CSS, Javascript, and Makefiles. It works passably on Ruby, PHP and Awk + * and a subset of Perl, but, because of commenting conventions, doesn't work on + * Smalltalk, Lisp-like, or CAML-like languages without an explicit lang class. + *

+ * Usage:

    + *
  1. include this source file in an html page via + * {@code } + *
  2. define style rules. See the example page for examples. + *
  3. mark the {@code
    } and {@code } tags in your source with
    + *    {@code class=prettyprint.}
    + *    You can also use the (html deprecated) {@code } tag, but the pretty
    + *    printer needs to do more substantial DOM manipulations to support that, so
    + *    some css styles may not be preserved.
    + * </ol>
    + * That's it.  I wanted to keep the API as simple as possible, so there's no
    + * need to specify which language the code is in, but if you wish, you can add
    + * another class to the {@code <pre>} or {@code <code>} element to specify the
    + * language, as in {@code <pre class="prettyprint lang-java">}.  Any class that
    + * starts with "lang-" followed by a file extension, specifies the file type.
    + * See the "lang-*.js" files in this directory for code that implements
    + * per-language file handlers.
    + * <p>
    + * Change log:<br>
    + * cbeust, 2006/08/22
    + * <blockquote>
    + *   Java annotations (start with "@") are now captured as literals ("lit")
    + * </blockquote>
    + * @requires console
    + */
    +
    +// JSLint declarations
    +/*global console, document, navigator, setTimeout, window, define */
    +
    +/** @define {boolean} */
    +var IN_GLOBAL_SCOPE = true;
    +
    +/**
    + * Split {@code prettyPrint} into multiple timeouts so as not to interfere with
    + * UI events.
    + * If set to {@code false}, {@code prettyPrint()} is synchronous.
    + */
    +window['PR_SHOULD_USE_CONTINUATION'] = true;
    +
    +/**
    + * Pretty print a chunk of code.
    + * @param {string} sourceCodeHtml The HTML to pretty print.
    + * @param {string} opt_langExtension The language name to use.
    + *     Typically, a filename extension like 'cpp' or 'java'.
    + * @param {number|boolean} opt_numberLines True to number lines,
    + *     or the 1-indexed number of the first line in sourceCodeHtml.
    + * @return {string} code as html, but prettier
    + */
    +var prettyPrintOne;
    +/**
    + * Find all the {@code <pre>} and {@code <code>} tags in the DOM with
    + * {@code class=prettyprint} and prettify them.
    + *
    + * @param {Function} opt_whenDone called when prettifying is done.
    + * @param {HTMLElement|HTMLDocument} opt_root an element or document
    + *   containing all the elements to pretty print.
    + *   Defaults to {@code document.body}.
    + */
    +var prettyPrint;
    +
    +
    +(function () {
    +  var win = window;
    +  // Keyword lists for various languages.
    +  // We use things that coerce to strings to make them compact when minified
    +  // and to defeat aggressive optimizers that fold large string constants.
    +  var FLOW_CONTROL_KEYWORDS = ["break,continue,do,else,for,if,return,while"];
    +  var C_KEYWORDS = [FLOW_CONTROL_KEYWORDS,"auto,case,char,const,default," + 
    +      "double,enum,extern,float,goto,inline,int,long,register,short,signed," +
    +      "sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"];
    +  var COMMON_KEYWORDS = [C_KEYWORDS,"catch,class,delete,false,import," +
    +      "new,operator,private,protected,public,this,throw,true,try,typeof"];
    +  var CPP_KEYWORDS = [COMMON_KEYWORDS,"alignof,align_union,asm,axiom,bool," +
    +      "concept,concept_map,const_cast,constexpr,decltype,delegate," +
    +      "dynamic_cast,explicit,export,friend,generic,late_check," +
    +      "mutable,namespace,nullptr,property,reinterpret_cast,static_assert," +
    +      "static_cast,template,typeid,typename,using,virtual,where"];
    +  var JAVA_KEYWORDS = [COMMON_KEYWORDS,
    +      "abstract,assert,boolean,byte,extends,final,finally,implements,import," +
    +      "instanceof,interface,null,native,package,strictfp,super,synchronized," +
    +      "throws,transient"];
    +  var CSHARP_KEYWORDS = [JAVA_KEYWORDS,
    +      "as,base,by,checked,decimal,delegate,descending,dynamic,event," +
    +      "fixed,foreach,from,group,implicit,in,internal,into,is,let," +
    +      "lock,object,out,override,orderby,params,partial,readonly,ref,sbyte," +
    +      "sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort," +
    +      "var,virtual,where"];
    +  var COFFEE_KEYWORDS = "all,and,by,catch,class,else,extends,false,finally," +
    +      "for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then," +
    +      "throw,true,try,unless,until,when,while,yes";
    +  var JSCRIPT_KEYWORDS = [COMMON_KEYWORDS,
    +      "debugger,eval,export,function,get,null,set,undefined,var,with," +
    +      "Infinity,NaN"];
    +  var PERL_KEYWORDS = "caller,delete,die,do,dump,elsif,eval,exit,foreach,for," +
    +      "goto,if,import,last,local,my,next,no,our,print,package,redo,require," +
    +      "sub,undef,unless,until,use,wantarray,while,BEGIN,END";
    +  var PYTHON_KEYWORDS = [FLOW_CONTROL_KEYWORDS, "and,as,assert,class,def,del," +
    +      "elif,except,exec,finally,from,global,import,in,is,lambda," +
    +      "nonlocal,not,or,pass,print,raise,try,with,yield," +
    +      "False,True,None"];
    +  var RUBY_KEYWORDS = [FLOW_CONTROL_KEYWORDS, "alias,and,begin,case,class," +
    +      "def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo," +
    +      "rescue,retry,self,super,then,true,undef,unless,until,when,yield," +
    +      "BEGIN,END"];
    +   var RUST_KEYWORDS = [FLOW_CONTROL_KEYWORDS, "as,assert,const,copy,drop," +
    +      "enum,extern,fail,false,fn,impl,let,log,loop,match,mod,move,mut,priv," +
    +      "pub,pure,ref,self,static,struct,true,trait,type,unsafe,use"];
    +  var SH_KEYWORDS = [FLOW_CONTROL_KEYWORDS, "case,done,elif,esac,eval,fi," +
    +      "function,in,local,set,then,until"];
    +  var ALL_KEYWORDS = [
    +      CPP_KEYWORDS, CSHARP_KEYWORDS, JSCRIPT_KEYWORDS, PERL_KEYWORDS,
    +      PYTHON_KEYWORDS, RUBY_KEYWORDS, SH_KEYWORDS];
    +  var C_TYPES = /^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)\b/;
    +
    +  // token style names.  correspond to css classes
    +  /**
    +   * token style for a string literal
    +   * @const
    +   */
    +  var PR_STRING = 'str';
    +  /**
    +   * token style for a keyword
    +   * @const
    +   */
    +  var PR_KEYWORD = 'kwd';
    +  /**
    +   * token style for a comment
    +   * @const
    +   */
    +  var PR_COMMENT = 'com';
    +  /**
    +   * token style for a type
    +   * @const
    +   */
    +  var PR_TYPE = 'typ';
    +  /**
    +   * token style for a literal value.  e.g. 1, null, true.
    +   * @const
    +   */
    +  var PR_LITERAL = 'lit';
    +  /**
    +   * token style for a punctuation string.
    +   * @const
    +   */
    +  var PR_PUNCTUATION = 'pun';
    +  /**
    +   * token style for plain text.
    +   * @const
    +   */
    +  var PR_PLAIN = 'pln';
    +
    +  /**
    +   * token style for an sgml tag.
    +   * @const
    +   */
    +  var PR_TAG = 'tag';
    +  /**
    +   * token style for a markup declaration such as a DOCTYPE.
    +   * @const
    +   */
    +  var PR_DECLARATION = 'dec';
    +  /**
    +   * token style for embedded source.
    +   * @const
    +   */
    +  var PR_SOURCE = 'src';
    +  /**
    +   * token style for an sgml attribute name.
    +   * @const
    +   */
    +  var PR_ATTRIB_NAME = 'atn';
    +  /**
    +   * token style for an sgml attribute value.
    +   * @const
    +   */
    +  var PR_ATTRIB_VALUE = 'atv';
    +
    +  /**
    +   * A class that indicates a section of markup that is not code, e.g. to allow
    +   * embedding of line numbers within code listings.
    +   * @const
    +   */
    +  var PR_NOCODE = 'nocode';
    +
    +  
    +  
    +  /**
    +   * A set of tokens that can precede a regular expression literal in
    +   * javascript
    +   * http://web.archive.org/web/20070717142515/http://www.mozilla.org/js/language/js20/rationale/syntax.html
    +   * has the full list, but I've removed ones that might be problematic when
    +   * seen in languages that don't support regular expression literals.
    +   *
    +   * <p>Specifically, I've removed any keywords that can't precede a regexp
    +   * literal in a syntactically legal javascript program, and I've removed the
    +   * "in" keyword since it's not a keyword in many languages, and might be used
    +   * as a count of inches.
    +   *
    +   * <p>The link above does not accurately describe EcmaScript rules since
    +   * it fails to distinguish between (a=++/b/i) and (a++/b/i) but it works
    +   * very well in practice.
    +   *
    +   * @private
    +   * @const
    +   */
    +  var REGEXP_PRECEDER_PATTERN = '(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*';
    +  
    +  // CAVEAT: this does not properly handle the case where a regular
    +  // expression immediately follows another since a regular expression may
    +  // have flags for case-sensitivity and the like.  Having regexp tokens
    +  // adjacent is not valid in any language I'm aware of, so I'm punting.
    +  // TODO: maybe style special characters inside a regexp as punctuation.
    +
    +  /**
    +   * Given a group of {@link RegExp}s, returns a {@code RegExp} that globally
    +   * matches the union of the sets of strings matched by the input RegExp.
    +   * Since it matches globally, if the input strings have a start-of-input
    +   * anchor (/^.../), it is ignored for the purposes of unioning.
    +   * @param {Array.<RegExp>} regexs non multiline, non-global regexs.
    +   * @return {RegExp} a global regex.
    +   */
    +  function combinePrefixPatterns(regexs) {
    +    var capturedGroupIndex = 0;
    +  
    +    var needToFoldCase = false;
    +    var ignoreCase = false;
    +    for (var i = 0, n = regexs.length; i < n; ++i) {
    +      var regex = regexs[i];
    +      if (regex.ignoreCase) {
    +        ignoreCase = true;
    +      } else if (/[a-z]/i.test(regex.source.replace(
    +                     /\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi, ''))) {
    +        needToFoldCase = true;
    +        ignoreCase = false;
    +        break;
    +      }
    +    }
    +  
    +    var escapeCharToCodeUnit = {
    +      'b': 8,
    +      't': 9,
    +      'n': 0xa,
    +      'v': 0xb,
    +      'f': 0xc,
    +      'r': 0xd
    +    };
    +  
    +    function decodeEscape(charsetPart) {
    +      var cc0 = charsetPart.charCodeAt(0);
    +      if (cc0 !== 92 /* \\ */) {
    +        return cc0;
    +      }
    +      var c1 = charsetPart.charAt(1);
    +      cc0 = escapeCharToCodeUnit[c1];
    +      if (cc0) {
    +        return cc0;
    +      } else if ('0' <= c1 && c1 <= '7') {
    +        return parseInt(charsetPart.substring(1), 8);
    +      } else if (c1 === 'u' || c1 === 'x') {
    +        return parseInt(charsetPart.substring(2), 16);
    +      } else {
    +        return charsetPart.charCodeAt(1);
    +      }
    +    }
    +  
    +    function encodeEscape(charCode) {
    +      if (charCode < 0x20) {
    +        return (charCode < 0x10 ? '\\x0' : '\\x') + charCode.toString(16);
    +      }
    +      var ch = String.fromCharCode(charCode);
    +      return (ch === '\\' || ch === '-' || ch === ']' || ch === '^')
    +          ? "\\" + ch : ch;
    +    }
    +  
    +    function caseFoldCharset(charSet) {
    +      var charsetParts = charSet.substring(1, charSet.length - 1).match(
    +          new RegExp(
    +              '\\\\u[0-9A-Fa-f]{4}'
    +              + '|\\\\x[0-9A-Fa-f]{2}'
    +              + '|\\\\[0-3][0-7]{0,2}'
    +              + '|\\\\[0-7]{1,2}'
    +              + '|\\\\[\\s\\S]'
    +              + '|-'
    +              + '|[^-\\\\]',
    +              'g'));
    +      var ranges = [];
    +      var inverse = charsetParts[0] === '^';
    +  
    +      var out = ['['];
    +      if (inverse) { out.push('^'); }
    +  
    +      for (var i = inverse ? 1 : 0, n = charsetParts.length; i < n; ++i) {
    +        var p = charsetParts[i];
    +        if (/\\[bdsw]/i.test(p)) {  // Don't muck with named groups.
    +          out.push(p);
    +        } else {
    +          var start = decodeEscape(p);
    +          var end;
    +          if (i + 2 < n && '-' === charsetParts[i + 1]) {
    +            end = decodeEscape(charsetParts[i + 2]);
    +            i += 2;
    +          } else {
    +            end = start;
    +          }
    +          ranges.push([start, end]);
    +          // If the range might intersect letters, then expand it.
    +          // This case handling is too simplistic.
    +          // It does not deal with non-latin case folding.
    +          // It works for latin source code identifiers though.
    +          if (!(end < 65 || start > 122)) {
    +            if (!(end < 65 || start > 90)) {
    +              ranges.push([Math.max(65, start) | 32, Math.min(end, 90) | 32]);
    +            }
    +            if (!(end < 97 || start > 122)) {
    +              ranges.push([Math.max(97, start) & ~32, Math.min(end, 122) & ~32]);
    +            }
    +          }
    +        }
    +      }
    +  
    +      // [[1, 10], [3, 4], [8, 12], [14, 14], [16, 16], [17, 17]]
    +      // -> [[1, 12], [14, 14], [16, 17]]
    +      ranges.sort(function (a, b) { return (a[0] - b[0]) || (b[1]  - a[1]); });
    +      var consolidatedRanges = [];
    +      var lastRange = [];
    +      for (var i = 0; i < ranges.length; ++i) {
    +        var range = ranges[i];
    +        if (range[0] <= lastRange[1] + 1) {
    +          lastRange[1] = Math.max(lastRange[1], range[1]);
    +        } else {
    +          consolidatedRanges.push(lastRange = range);
    +        }
    +      }
    +  
    +      for (var i = 0; i < consolidatedRanges.length; ++i) {
    +        var range = consolidatedRanges[i];
    +        out.push(encodeEscape(range[0]));
    +        if (range[1] > range[0]) {
    +          if (range[1] + 1 > range[0]) { out.push('-'); }
    +          out.push(encodeEscape(range[1]));
    +        }
    +      }
    +      out.push(']');
    +      return out.join('');
    +    }
    +  
    +    function allowAnywhereFoldCaseAndRenumberGroups(regex) {
    +      // Split into character sets, escape sequences, punctuation strings
    +      // like ('(', '(?:', ')', '^'), and runs of characters that do not
    +      // include any of the above.
    +      var parts = regex.source.match(
    +          new RegExp(
    +              '(?:'
    +              + '\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]'  // a character set
    +              + '|\\\\u[A-Fa-f0-9]{4}'  // a unicode escape
    +              + '|\\\\x[A-Fa-f0-9]{2}'  // a hex escape
    +              + '|\\\\[0-9]+'  // a back-reference or octal escape
    +              + '|\\\\[^ux0-9]'  // other escape sequence
    +              + '|\\(\\?[:!=]'  // start of a non-capturing group
    +              + '|[\\(\\)\\^]'  // start/end of a group, or line start
    +              + '|[^\\x5B\\x5C\\(\\)\\^]+'  // run of other characters
    +              + ')',
    +              'g'));
    +      var n = parts.length;
    +  
    +      // Maps captured group numbers to the number they will occupy in
    +      // the output or to -1 if that has not been determined, or to
    +      // undefined if they need not be capturing in the output.
    +      var capturedGroups = [];
    +  
    +      // Walk over and identify back references to build the capturedGroups
    +      // mapping.
    +      for (var i = 0, groupIndex = 0; i < n; ++i) {
    +        var p = parts[i];
    +        if (p === '(') {
    +          // groups are 1-indexed, so max group index is count of '('
    +          ++groupIndex;
    +        } else if ('\\' === p.charAt(0)) {
    +          var decimalValue = +p.substring(1);
    +          if (decimalValue) {
    +            if (decimalValue <= groupIndex) {
    +              capturedGroups[decimalValue] = -1;
    +            } else {
    +              // Replace with an unambiguous escape sequence so that
    +              // an octal escape sequence does not turn into a backreference
    +              // to a capturing group from an earlier regex.
    +              parts[i] = encodeEscape(decimalValue);
    +            }
    +          }
    +        }
    +      }
    +  
    +      // Renumber groups and reduce capturing groups to non-capturing groups
    +      // where possible.
    +      for (var i = 1; i < capturedGroups.length; ++i) {
    +        if (-1 === capturedGroups[i]) {
    +          capturedGroups[i] = ++capturedGroupIndex;
    +        }
    +      }
    +      for (var i = 0, groupIndex = 0; i < n; ++i) {
    +        var p = parts[i];
    +        if (p === '(') {
    +          ++groupIndex;
    +          if (!capturedGroups[groupIndex]) {
    +            parts[i] = '(?:';
    +          }
    +        } else if ('\\' === p.charAt(0)) {
    +          var decimalValue = +p.substring(1);
    +          if (decimalValue && decimalValue <= groupIndex) {
    +            parts[i] = '\\' + capturedGroups[decimalValue];
    +          }
    +        }
    +      }
    +  
    +      // Remove any prefix anchors so that the output will match anywhere.
    +      // ^^ really does mean an anchored match though.
    +      for (var i = 0; i < n; ++i) {
    +        if ('^' === parts[i] && '^' !== parts[i + 1]) { parts[i] = ''; }
    +      }
    +  
    +      // Expand letters to groups to handle mixing of case-sensitive and
    +      // case-insensitive patterns if necessary.
    +      if (regex.ignoreCase && needToFoldCase) {
    +        for (var i = 0; i < n; ++i) {
    +          var p = parts[i];
    +          var ch0 = p.charAt(0);
    +          if (p.length >= 2 && ch0 === '[') {
    +            parts[i] = caseFoldCharset(p);
    +          } else if (ch0 !== '\\') {
    +            // TODO: handle letters in numeric escapes.
    +            parts[i] = p.replace(
    +                /[a-zA-Z]/g,
    +                function (ch) {
    +                  var cc = ch.charCodeAt(0);
    +                  return '[' + String.fromCharCode(cc & ~32, cc | 32) + ']';
    +                });
    +          }
    +        }
    +      }
    +  
    +      return parts.join('');
    +    }
    +  
    +    var rewritten = [];
    +    for (var i = 0, n = regexs.length; i < n; ++i) {
    +      var regex = regexs[i];
    +      if (regex.global || regex.multiline) { throw new Error('' + regex); }
    +      rewritten.push(
    +          '(?:' + allowAnywhereFoldCaseAndRenumberGroups(regex) + ')');
    +    }
    +  
    +    return new RegExp(rewritten.join('|'), ignoreCase ? 'gi' : 'g');
    +  }
    +
    +  /**
    +   * Split markup into a string of source code and an array mapping ranges in
    +   * that string to the text nodes in which they appear.
    +   *
    +   * <p>
    +   * The HTML DOM structure:</p>
    +   * <pre>
    +   * (Element   "p"
    +   *   (Element "b"
    +   *     (Text  "print "))       ; #1
    +   *   (Text    "'Hello '")      ; #2
    +   *   (Element "br")            ; #3
    +   *   (Text    "  + 'World';")) ; #4
    +   * </pre>
    +   * <p>
    +   * corresponds to the HTML
    +   * {@code <p><b>print </b>'Hello '<br>  + 'World';</p>}.</p>
    +   *
    +   * <p>
    +   * It will produce the output:</p>
    +   * <pre>
    +   * {
    +   *   sourceCode: "print 'Hello '\n  + 'World';",
    +   *   //                     1          2
    +   *   //           012345678901234 5678901234567
    +   *   spans: [0, #1, 6, #2, 14, #3, 15, #4]
    +   * }
    +   * </pre>
    +   * <p>
    +   * where #1 is a reference to the {@code "print "} text node above, and so
    +   * on for the other text nodes.
    +   * </p>
    +   *
    +   * <p>
    +   * The {@code} spans array is an array of pairs.  Even elements are the start
    +   * indices of substrings, and odd elements are the text nodes (or BR elements)
    +   * that contain the text for those substrings.
    +   * Substrings continue until the next index or the end of the source.
    +   * </p>
    +   *
    +   * @param {Node} node an HTML DOM subtree containing source-code.
    +   * @param {boolean} isPreformatted true if white-space in text nodes should
    +   *    be considered significant.
    +   * @return {Object} source code and the text nodes in which they occur.
    +   */
    +  function extractSourceSpans(node, isPreformatted) {
    +    var nocode = /(?:^|\s)nocode(?:\s|$)/;
    +  
    +    var chunks = [];
    +    var length = 0;
    +    var spans = [];
    +    var k = 0;
    +  
    +    function walk(node) {
    +      var type = node.nodeType;
    +      if (type == 1) {  // Element
    +        if (nocode.test(node.className)) { return; }
    +        for (var child = node.firstChild; child; child = child.nextSibling) {
    +          walk(child);
    +        }
    +        var nodeName = node.nodeName.toLowerCase();
    +        if ('br' === nodeName || 'li' === nodeName) {
    +          chunks[k] = '\n';
    +          spans[k << 1] = length++;
    +          spans[(k++ << 1) | 1] = node;
    +        }
    +      } else if (type == 3 || type == 4) {  // Text
    +        var text = node.nodeValue;
    +        if (text.length) {
    +          if (!isPreformatted) {
    +            text = text.replace(/[ \t\r\n]+/g, ' ');
    +          } else {
    +            text = text.replace(/\r\n?/g, '\n');  // Normalize newlines.
    +          }
    +          // 清除代码尾部的空行
    +          text = text.replace(/\n[\s\t]+$/g,"");
    +          // TODO: handle tabs here?
    +          chunks[k] = text;
    +          spans[k << 1] = length;
    +          length += text.length;
    +          spans[(k++ << 1) | 1] = node;
    +        }
    +      }
    +    }
    +  
    +    walk(node);
    +  
    +    return {
    +      sourceCode: chunks.join('').replace(/\n$/, ''),
    +      spans: spans
    +    };
    +  }
    +
    +  /**
    +   * Apply the given language handler to sourceCode and add the resulting
    +   * decorations to out.
    +   * @param {number} basePos the index of sourceCode within the chunk of source
    +   *    whose decorations are already present on out.
    +   */
    +  function appendDecorations(basePos, sourceCode, langHandler, out) {
    +    if (!sourceCode) { return; }
    +    var job = {
    +      sourceCode: sourceCode,
    +      basePos: basePos
    +    };
    +    langHandler(job);
    +    out.push.apply(out, job.decorations);
    +  }
    +
    +  var notWs = /\S/;
    +
    +  /**
    +   * Given an element, if it contains only one child element and any text nodes
    +   * it contains contain only space characters, return the sole child element.
    +   * Otherwise returns undefined.
    +   * <p>
    +   * This is meant to return the CODE element in {@code <pre><code ...>} when
    +   * there is a single child element that contains all the non-space textual
    +   * content, but not to return anything where there are multiple child elements
    +   * as in {@code <pre><code>...</code><code>...</code></pre>} or when there
    +   * is textual content.
    +   */
    +  function childContentWrapper(element) {
    +    var wrapper = undefined;
    +    for (var c = element.firstChild; c; c = c.nextSibling) {
    +      var type = c.nodeType;
    +      wrapper = (type === 1)  // Element Node
    +          ? (wrapper ? element : c)
    +          : (type === 3)  // Text Node
    +          ? (notWs.test(c.nodeValue) ? element : wrapper)
    +          : wrapper;
    +    }
    +    return wrapper === element ? undefined : wrapper;
    +  }
    +
    +  /** Given triples of [style, pattern, context] returns a lexing function,
    +    * The lexing function interprets the patterns to find token boundaries and
    +    * returns a decoration list of the form
    +    * [index_0, style_0, index_1, style_1, ..., index_n, style_n]
    +    * where index_n is an index into the sourceCode, and style_n is a style
    +    * constant like PR_PLAIN.  index_n-1 <= index_n, and style_n-1 applies to
    +    * all characters in sourceCode[index_n-1:index_n].
    +    *
    +    * The stylePatterns is a list whose elements have the form
    +    * [style : string, pattern : RegExp, DEPRECATED, shortcut : string].
    +    *
    +    * Style is a style constant like PR_PLAIN, or can be a string of the
    +    * form 'lang-FOO', where FOO is a language extension describing the
    +    * language of the portion of the token in $1 after pattern executes.
    +    * E.g., if style is 'lang-lisp', and group 1 contains the text
    +    * '(hello (world))', then that portion of the token will be passed to the
    +    * registered lisp handler for formatting.
    +    * The text before and after group 1 will be restyled using this decorator
    +    * so decorators should take care that this doesn't result in infinite
    +    * recursion.  For example, the HTML lexer rule for SCRIPT elements looks
    +    * something like ['lang-js', /<[s]cript>(.+?)<\/script>/].  This may match
    +    * '<script>foo()<\/script>', which would cause the current decorator to
    +    * be called with '<script>' which would not match the same rule since
    +    * group 1 must not be empty, so it would be instead styled as PR_TAG by
    +    * the generic tag rule.  The handler registered for the 'js' extension would
    +    * then be called with 'foo()', and finally, the current decorator would
    +    * be called with '<\/script>' which would not match the original rule and
    +    * so the generic tag rule would identify it as a tag.
    +    *
    +    * Pattern must only match prefixes, and if it matches a prefix, then that
    +    * match is considered a token with the same style.
    +    *
    +    * Context is applied to the last non-whitespace, non-comment token
    +    * recognized.
    +    *
    +    * Shortcut is an optional string of characters, any of which, if the first
    +    * character, gurantee that this pattern and only this pattern matches.
    +    *
    +    * @param {Array} shortcutStylePatterns patterns that always start with
    +    *   a known character.  Must have a shortcut string.
    +    * @param {Array} fallthroughStylePatterns patterns that will be tried in
    +    *   order if the shortcut ones fail.  May have shortcuts.
    +    *
    +    * @return {function (Object)} a
    +    *   function that takes source code and returns a list of decorations.
    +    */
    +  function createSimpleLexer(shortcutStylePatterns, fallthroughStylePatterns) {
    +    var shortcuts = {};
    +    var tokenizer;
    +    (function () {
    +      var allPatterns = shortcutStylePatterns.concat(fallthroughStylePatterns);
    +      var allRegexs = [];
    +      var regexKeys = {};
    +      for (var i = 0, n = allPatterns.length; i < n; ++i) {
    +        var patternParts = allPatterns[i];
    +        var shortcutChars = patternParts[3];
    +        if (shortcutChars) {
    +          for (var c = shortcutChars.length; --c >= 0;) {
    +            shortcuts[shortcutChars.charAt(c)] = patternParts;
    +          }
    +        }
    +        var regex = patternParts[1];
    +        var k = '' + regex;
    +        if (!regexKeys.hasOwnProperty(k)) {
    +          allRegexs.push(regex);
    +          regexKeys[k] = null;
    +        }
    +      }
    +      allRegexs.push(/[\0-\uffff]/);
    +      tokenizer = combinePrefixPatterns(allRegexs);
    +    })();
    +
    +    var nPatterns = fallthroughStylePatterns.length;
    +
    +    /**
    +     * Lexes job.sourceCode and produces an output array job.decorations of
    +     * style classes preceded by the position at which they start in
    +     * job.sourceCode in order.
    +     *
    +     * @param {Object} job an object like <pre>{
    +     *    sourceCode: {string} sourceText plain text,
    +     *    basePos: {int} position of job.sourceCode in the larger chunk of
    +     *        sourceCode.
    +     * }</pre>
    +     */
    +    var decorate = function (job) {
    +      var sourceCode = job.sourceCode, basePos = job.basePos;
    +      /** Even entries are positions in source in ascending order.  Odd enties
    +        * are style markers (e.g., PR_COMMENT) that run from that position until
    +        * the end.
    +        * @type {Array.<number|string>}
    +        */
    +      var decorations = [basePos, PR_PLAIN];
    +      var pos = 0;  // index into sourceCode
    +      var tokens = sourceCode.match(tokenizer) || [];
    +      var styleCache = {};
    +
    +      for (var ti = 0, nTokens = tokens.length; ti < nTokens; ++ti) {
    +        var token = tokens[ti];
    +        var style = styleCache[token];
    +        var match = void 0;
    +
    +        var isEmbedded;
    +        if (typeof style === 'string') {
    +          isEmbedded = false;
    +        } else {
    +          var patternParts = shortcuts[token.charAt(0)];
    +          if (patternParts) {
    +            match = token.match(patternParts[1]);
    +            style = patternParts[0];
    +          } else {
    +            for (var i = 0; i < nPatterns; ++i) {
    +              patternParts = fallthroughStylePatterns[i];
    +              match = token.match(patternParts[1]);
    +              if (match) {
    +                style = patternParts[0];
    +                break;
    +              }
    +            }
    +
    +            if (!match) {  // make sure that we make progress
    +              style = PR_PLAIN;
    +            }
    +          }
    +
    +          isEmbedded = style.length >= 5 && 'lang-' === style.substring(0, 5);
    +          if (isEmbedded && !(match && typeof match[1] === 'string')) {
    +            isEmbedded = false;
    +            style = PR_SOURCE;
    +          }
    +
    +          if (!isEmbedded) { styleCache[token] = style; }
    +        }
    +
    +        var tokenStart = pos;
    +        pos += token.length;
    +
    +        if (!isEmbedded) {
    +          decorations.push(basePos + tokenStart, style);
    +        } else {  // Treat group 1 as an embedded block of source code.
    +          var embeddedSource = match[1];
    +          var embeddedSourceStart = token.indexOf(embeddedSource);
    +          var embeddedSourceEnd = embeddedSourceStart + embeddedSource.length;
    +          if (match[2]) {
    +            // If embeddedSource can be blank, then it would match at the
    +            // beginning which would cause us to infinitely recurse on the
    +            // entire token, so we catch the right context in match[2].
    +            embeddedSourceEnd = token.length - match[2].length;
    +            embeddedSourceStart = embeddedSourceEnd - embeddedSource.length;
    +          }
    +          var lang = style.substring(5);
    +          // Decorate the left of the embedded source
    +          appendDecorations(
    +              basePos + tokenStart,
    +              token.substring(0, embeddedSourceStart),
    +              decorate, decorations);
    +          // Decorate the embedded source
    +          appendDecorations(
    +              basePos + tokenStart + embeddedSourceStart,
    +              embeddedSource,
    +              langHandlerForExtension(lang, embeddedSource),
    +              decorations);
    +          // Decorate the right of the embedded section
    +          appendDecorations(
    +              basePos + tokenStart + embeddedSourceEnd,
    +              token.substring(embeddedSourceEnd),
    +              decorate, decorations);
    +        }
    +      }
    +      job.decorations = decorations;
    +    };
    +    return decorate;
    +  }
    +
    +  /** returns a function that produces a list of decorations from source text.
    +    *
    +    * This code treats ", ', and ` as string delimiters, and \ as a string
    +    * escape.  It does not recognize perl's qq() style strings.
    +    * It has no special handling for double delimiter escapes as in basic, or
    +    * the tripled delimiters used in python, but should work on those regardless
    +    * although in those cases a single string literal may be broken up into
    +    * multiple adjacent string literals.
    +    *
    +    * It recognizes C, C++, and shell style comments.
    +    *
    +    * @param {Object} options a set of optional parameters.
    +    * @return {function (Object)} a function that examines the source code
    +    *     in the input job and builds the decoration list.
    +    */
    +  function sourceDecorator(options) {
    +    var shortcutStylePatterns = [], fallthroughStylePatterns = [];
    +    if (options['tripleQuotedStrings']) {
    +      // '''multi-line-string''', 'single-line-string', and double-quoted
    +      shortcutStylePatterns.push(
    +          [PR_STRING,  /^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,
    +           null, '\'"']);
    +    } else if (options['multiLineStrings']) {
    +      // 'multi-line-string', "multi-line-string"
    +      shortcutStylePatterns.push(
    +          [PR_STRING,  /^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,
    +           null, '\'"`']);
    +    } else {
    +      // 'single-line-string', "single-line-string"
    +      shortcutStylePatterns.push(
    +          [PR_STRING,
    +           /^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,
    +           null, '"\'']);
    +    }
    +    if (options['verbatimStrings']) {
    +      // verbatim-string-literal production from the C# grammar.  See issue 93.
    +      fallthroughStylePatterns.push(
    +          [PR_STRING, /^@\"(?:[^\"]|\"\")*(?:\"|$)/, null]);
    +    }
    +    var hc = options['hashComments'];
    +    if (hc) {
    +      if (options['cStyleComments']) {
    +        if (hc > 1) {  // multiline hash comments
    +          shortcutStylePatterns.push(
    +              [PR_COMMENT, /^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/, null, '#']);
    +        } else {
    +          // Stop C preprocessor declarations at an unclosed open comment
    +          shortcutStylePatterns.push(
    +              [PR_COMMENT, /^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,
    +               null, '#']);
    +        }
    +        // #include <stdio.h>
    +        fallthroughStylePatterns.push(
    +            [PR_STRING,
    +             /^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,
    +             null]);
    +      } else {
    +        shortcutStylePatterns.push([PR_COMMENT, /^#[^\r\n]*/, null, '#']);
    +      }
    +    }
    +    if (options['cStyleComments']) {
    +      fallthroughStylePatterns.push([PR_COMMENT, /^\/\/[^\r\n]*/, null]);
    +      fallthroughStylePatterns.push(
    +          [PR_COMMENT, /^\/\*[\s\S]*?(?:\*\/|$)/, null]);
    +    }
    +    var regexLiterals = options['regexLiterals'];
    +    if (regexLiterals) {
    +      /**
    +       * @const
    +       */
    +      var regexExcls = regexLiterals > 1
    +        ? ''  // Multiline regex literals
    +        : '\n\r';
    +      /**
    +       * @const
    +       */
    +      var regexAny = regexExcls ? '.' : '[\\S\\s]';
    +      /**
    +       * @const
    +       */
    +      var REGEX_LITERAL = (
    +          // A regular expression literal starts with a slash that is
    +          // not followed by * or / so that it is not confused with
    +          // comments.
    +          '/(?=[^/*' + regexExcls + '])'
    +          // and then contains any number of raw characters,
    +          + '(?:[^/\\x5B\\x5C' + regexExcls + ']'
    +          // escape sequences (\x5C),
    +          +    '|\\x5C' + regexAny
    +          // or non-nesting character sets (\x5B\x5D);
    +          +    '|\\x5B(?:[^\\x5C\\x5D' + regexExcls + ']'
    +          +             '|\\x5C' + regexAny + ')*(?:\\x5D|$))+'
    +          // finally closed by a /.
    +          + '/');
    +      fallthroughStylePatterns.push(
    +          ['lang-regex',
    +           RegExp('^' + REGEXP_PRECEDER_PATTERN + '(' + REGEX_LITERAL + ')')
    +           ]);
    +    }
    +
    +    var types = options['types'];
    +    if (types) {
    +      fallthroughStylePatterns.push([PR_TYPE, types]);
    +    }
    +
    +    var keywords = ("" + options['keywords']).replace(/^ | $/g, '');
    +    if (keywords.length) {
    +      fallthroughStylePatterns.push(
    +          [PR_KEYWORD,
    +           new RegExp('^(?:' + keywords.replace(/[\s,]+/g, '|') + ')\\b'),
    +           null]);
    +    }
    +
    +    shortcutStylePatterns.push([PR_PLAIN,       /^\s+/, null, ' \r\n\t\xA0']);
    +
    +    var punctuation =
    +      // The Bash man page says
    +
    +      // A word is a sequence of characters considered as a single
    +      // unit by GRUB. Words are separated by metacharacters,
    +      // which are the following plus space, tab, and newline: { }
    +      // | & $ ; < >
    +      // ...
    +      
    +      // A word beginning with # causes that word and all remaining
    +      // characters on that line to be ignored.
    +
    +      // which means that only a '#' after /(?:^|[{}|&$;<>\s])/ starts a
    +      // comment but empirically
    +      // $ echo {#}
    +      // {#}
    +      // $ echo \$#
    +      // $#
    +      // $ echo }#
    +      // }#
    +
    +      // so /(?:^|[|&;<>\s])/ is more appropriate.
    +
    +      // http://gcc.gnu.org/onlinedocs/gcc-2.95.3/cpp_1.html#SEC3
    +      // suggests that this definition is compatible with a
    +      // default mode that tries to use a single token definition
    +      // to recognize both bash/python style comments and C
    +      // preprocessor directives.
    +
    +      // This definition of punctuation does not include # in the list of
    +      // follow-on exclusions, so # will not be broken before if preceeded
    +      // by a punctuation character.  We could try to exclude # after
    +      // [|&;<>] but that doesn't seem to cause many major problems.
    +      // If that does turn out to be a problem, we should change the below
    +      // when hc is truthy to include # in the run of punctuation characters
    +      // only when not followint [|&;<>].
    +      '^.[^\\s\\w.$@\'"`/\\\\]*';
    +    if (options['regexLiterals']) {
    +      punctuation += '(?!\s*\/)';
    +    }
    +
    +    fallthroughStylePatterns.push(
    +        // TODO(mikesamuel): recognize non-latin letters and numerals in idents
    +        [PR_LITERAL,     /^@[a-z_$][a-z_$@0-9]*/i, null],
    +        [PR_TYPE,        /^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/, null],
    +        [PR_PLAIN,       /^[a-z_$][a-z_$@0-9]*/i, null],
    +        [PR_LITERAL,
    +         new RegExp(
    +             '^(?:'
    +             // A hex number
    +             + '0x[a-f0-9]+'
    +             // or an octal or decimal number,
    +             + '|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)'
    +             // possibly in scientific notation
    +             + '(?:e[+\\-]?\\d+)?'
    +             + ')'
    +             // with an optional modifier like UL for unsigned long
    +             + '[a-z]*', 'i'),
    +         null, '0123456789'],
    +        // Don't treat escaped quotes in bash as starting strings.
    +        // See issue 144.
    +        [PR_PLAIN,       /^\\[\s\S]?/, null],
    +        [PR_PUNCTUATION, new RegExp(punctuation), null]);
    +
    +    return createSimpleLexer(shortcutStylePatterns, fallthroughStylePatterns);
    +  }
    +
    +  var decorateSource = sourceDecorator({
    +        'keywords': ALL_KEYWORDS,
    +        'hashComments': true,
    +        'cStyleComments': true,
    +        'multiLineStrings': true,
    +        'regexLiterals': true
    +      });
    +
    +  /**
    +   * Given a DOM subtree, wraps it in a list, and puts each line into its own
    +   * list item.
    +   *
    +   * @param {Node} node modified in place.  Its content is pulled into an
    +   *     HTMLOListElement, and each line is moved into a separate list item.
    +   *     This requires cloning elements, so the input might not have unique
    +   *     IDs after numbering.
    +   * @param {boolean} isPreformatted true iff white-space in text nodes should
    +   *     be treated as significant.
    +   */
    +  function numberLines(node, opt_startLineNum, isPreformatted) {
    +    var nocode = /(?:^|\s)nocode(?:\s|$)/;
    +    var lineBreak = /\r\n?|\n/;
    +    var invalidTail = /^[\s\t]+$/;
    +  
    +    var document = node.ownerDocument;
    +  
    +    var li = document.createElement('li');
    +    while (node.firstChild) {
    +      li.appendChild(node.firstChild);
    +    }
    +    // An array of lines.  We split below, so this is initialized to one
    +    // un-split line.
    +    var listItems = [li];
    +  
    +    function walk(node) {
    +      var type = node.nodeType;
    +      if (type == 1 && !nocode.test(node.className)) {  // Element
    +        if ('br' === node.nodeName) {
    +          breakAfter(node);
    +          // Discard the <BR> since it is now flush against a </LI>.
    +          if (node.parentNode) {
    +            node.parentNode.removeChild(node);
    +          }
    +        } else {
    +          for (var child = node.firstChild; child; child = child.nextSibling) {
    +            walk(child);
    +          }
    +        }
    +      } else if ((type == 3 || type == 4) && isPreformatted) {  // Text
    +        var text = node.nodeValue;
    +        var match = text.match(lineBreak);
    +        if (match) {
    +          var firstLine = text.substring(0, match.index);
    +          node.nodeValue = firstLine;
    +          var tail = text.substring(match.index + match[0].length);
    +          if (tail && !invalidTail.test(tail) ) {	// 清除代码尾部的空行, org: if (tail) {
    +            var parent = node.parentNode;
    +            parent.insertBefore(
    +              document.createTextNode(tail), node.nextSibling);
    +          }
    +          breakAfter(node);
    +          if (!firstLine) {
    +            // Don't leave blank text nodes in the DOM.
    +            node.parentNode.removeChild(node);
    +          }
    +        }
    +      }
    +    }
    +  
    +    // Split a line after the given node.
    +    function breakAfter(lineEndNode) {
    +      // If there's nothing to the right, then we can skip ending the line
    +      // here, and move root-wards since splitting just before an end-tag
    +      // would require us to create a bunch of empty copies.
    +      while (!lineEndNode.nextSibling) {
    +        lineEndNode = lineEndNode.parentNode;
    +        if (!lineEndNode) { return; }
    +      }
    +  
    +      function breakLeftOf(limit, copy) {
    +        // Clone shallowly if this node needs to be on both sides of the break.
    +        var rightSide = copy ? limit.cloneNode(false) : limit;
    +        var parent = limit.parentNode;
    +        if (parent) {
    +          // We clone the parent chain.
    +          // This helps us resurrect important styling elements that cross lines.
    +          // E.g. in <i>Foo<br>Bar</i>
    +          // should be rewritten to <li><i>Foo</i></li><li><i>Bar</i></li>.
    +          var parentClone = breakLeftOf(parent, 1);
    +          // Move the clone and everything to the right of the original
    +          // onto the cloned parent.
    +          var next = limit.nextSibling;
    +          parentClone.appendChild(rightSide);
    +          for (var sibling = next; sibling; sibling = next) {
    +            next = sibling.nextSibling;
    +            parentClone.appendChild(sibling);
    +          }
    +        }
    +        return rightSide;
    +      }
    +  
    +      var copiedListItem = breakLeftOf(lineEndNode.nextSibling, 0);
    +  
    +      // Walk the parent chain until we reach an unattached LI.
    +      for (var parent;
    +           // Check nodeType since IE invents document fragments.
    +           (parent = copiedListItem.parentNode) && parent.nodeType === 1;) {
    +        copiedListItem = parent;
    +      }
    +      // Put it on the list of lines for later processing.
    +      listItems.push(copiedListItem);
    +    }
    +  
    +    // Split lines while there are lines left to split.
    +    for (var i = 0;  // Number of lines that have been split so far.
    +         i < listItems.length;  // length updated by breakAfter calls.
    +         ++i) {
    +      walk(listItems[i]);
    +    }
    +  
    +    // Make sure numeric indices show correctly.
    +    if (opt_startLineNum === (opt_startLineNum|0)) {
    +      listItems[0].setAttribute('value', opt_startLineNum);
    +    }
    +  
    +    var ol = document.createElement('ol');
    +    ol.className = 'linenums';
    +    var offset = Math.max(0, ((opt_startLineNum - 1 /* zero index */)) | 0) || 0;
    +    for (var i = 0, n = listItems.length; i < n; ++i) {
    +      li = listItems[i];
    +      // Stick a class on the LIs so that stylesheets can
    +      // color odd/even rows, or any other row pattern that
    +      // is co-prime with 10.
    +      li.className = 'L' + ((i + offset) % 10);
    +      if (!li.firstChild) {
    +        li.appendChild(document.createTextNode('\xA0'));
    +      }
    +      ol.appendChild(li);
    +    }
    +  
    +    node.appendChild(ol);
    +  }
    +  /**
    +   * Breaks {@code job.sourceCode} around style boundaries in
    +   * {@code job.decorations} and modifies {@code job.sourceNode} in place.
    +   * @param {Object} job like <pre>{
    +   *    sourceCode: {string} source as plain text,
    +   *    sourceNode: {HTMLElement} the element containing the source,
    +   *    spans: {Array.<number|Node>} alternating span start indices into source
    +   *       and the text node or element (e.g. {@code <BR>}) corresponding to that
    +   *       span.
    +   *    decorations: {Array.<number|string} an array of style classes preceded
    +   *       by the position at which they start in job.sourceCode in order
    +   * }</pre>
    +   * @private
    +   */
    +  function recombineTagsAndDecorations(job) {
    +    var isIE8OrEarlier = /\bMSIE\s(\d+)/.exec(navigator.userAgent);
    +    isIE8OrEarlier = isIE8OrEarlier && +isIE8OrEarlier[1] <= 8;
    +    var newlineRe = /\n/g;
    +  
    +    var source = job.sourceCode;
    +    var sourceLength = source.length;
    +    // Index into source after the last code-unit recombined.
    +    var sourceIndex = 0;
    +  
    +    var spans = job.spans;
    +    var nSpans = spans.length;
    +    // Index into spans after the last span which ends at or before sourceIndex.
    +    var spanIndex = 0;
    +  
    +    var decorations = job.decorations;
    +    var nDecorations = decorations.length;
    +    // Index into decorations after the last decoration which ends at or before
    +    // sourceIndex.
    +    var decorationIndex = 0;
    +  
    +    // Remove all zero-length decorations.
    +    decorations[nDecorations] = sourceLength;
    +    var decPos, i;
    +    for (i = decPos = 0; i < nDecorations;) {
    +      if (decorations[i] !== decorations[i + 2]) {
    +        decorations[decPos++] = decorations[i++];
    +        decorations[decPos++] = decorations[i++];
    +      } else {
    +        i += 2;
    +      }
    +    }
    +    nDecorations = decPos;
    +  
    +    // Simplify decorations.
    +    for (i = decPos = 0; i < nDecorations;) {
    +      var startPos = decorations[i];
    +      // Conflate all adjacent decorations that use the same style.
    +      var startDec = decorations[i + 1];
    +      var end = i + 2;
    +      while (end + 2 <= nDecorations && decorations[end + 1] === startDec) {
    +        end += 2;
    +      }
    +      decorations[decPos++] = startPos;
    +      decorations[decPos++] = startDec;
    +      i = end;
    +    }
    +  
    +    nDecorations = decorations.length = decPos;
    +  
    +    var sourceNode = job.sourceNode;
    +    var oldDisplay;
    +    if (sourceNode) {
    +      oldDisplay = sourceNode.style.display;
    +      sourceNode.style.display = 'none';
    +    }
    +    try {
    +      var decoration = null;
    +      while (spanIndex < nSpans) {
    +        var spanStart = spans[spanIndex];
    +        var spanEnd = spans[spanIndex + 2] || sourceLength;
    +  
    +        var decEnd = decorations[decorationIndex + 2] || sourceLength;
    +  
    +        var end = Math.min(spanEnd, decEnd);
    +  
    +        var textNode = spans[spanIndex + 1];
    +        var styledText;
    +        if (textNode.nodeType !== 1  // Don't muck with <BR>s or <LI>s
    +            // Don't introduce spans around empty text nodes.
    +            && (styledText = source.substring(sourceIndex, end))) {
    +          // This may seem bizarre, and it is.  Emitting LF on IE causes the
    +          // code to display with spaces instead of line breaks.
    +          // Emitting Windows standard issue linebreaks (CRLF) causes a blank
    +          // space to appear at the beginning of every line but the first.
    +          // Emitting an old Mac OS 9 line separator makes everything spiffy.
    +          if (isIE8OrEarlier) {
    +            styledText = styledText.replace(newlineRe, '\r');
    +          }
    +          textNode.nodeValue = styledText;
    +          var document = textNode.ownerDocument;
    +          var span = document.createElement('span');
    +          span.className = decorations[decorationIndex + 1];
    +          var parentNode = textNode.parentNode;
    +          parentNode.replaceChild(span, textNode);
    +          span.appendChild(textNode);
    +          if (sourceIndex < spanEnd) {  // Split off a text node.
    +            spans[spanIndex + 1] = textNode
    +                // TODO: Possibly optimize by using '' if there's no flicker.
    +                = document.createTextNode(source.substring(end, spanEnd));
    +            parentNode.insertBefore(textNode, span.nextSibling);
    +          }
    +        }
    +  
    +        sourceIndex = end;
    +  
    +        if (sourceIndex >= spanEnd) {
    +          spanIndex += 2;
    +        }
    +        if (sourceIndex >= decEnd) {
    +          decorationIndex += 2;
    +        }
    +      }
    +    } finally {
    +      if (sourceNode) {
    +        sourceNode.style.display = oldDisplay;
    +      }
    +    }
    +  }
    +
    +  /** Maps language-specific file extensions to handlers. */
    +  var langHandlerRegistry = {};
    +  /** Register a language handler for the given file extensions.
    +    * @param {function (Object)} handler a function from source code to a list
    +    *      of decorations.  Takes a single argument job which describes the
    +    *      state of the computation.   The single parameter has the form
    +    *      {@code {
    +    *        sourceCode: {string} as plain text.
    +    *        decorations: {Array.<number|string>} an array of style classes
    +    *                     preceded by the position at which they start in
    +    *                     job.sourceCode in order.
    +    *                     The language handler should assigned this field.
    +    *        basePos: {int} the position of source in the larger source chunk.
    +    *                 All positions in the output decorations array are relative
    +    *                 to the larger source chunk.
    +    *      } }
    +    * @param {Array.<string>} fileExtensions
    +    */
    +  function registerLangHandler(handler, fileExtensions) {
    +    for (var i = fileExtensions.length; --i >= 0;) {
    +      var ext = fileExtensions[i];
    +      if (!langHandlerRegistry.hasOwnProperty(ext)) {
    +        langHandlerRegistry[ext] = handler;
    +      } else if (win['console']) {
    +        console['warn']('cannot override language handler %s', ext);
    +      }
    +    }
    +  }
    +  function langHandlerForExtension(extension, source) {
    +    if (!(extension && langHandlerRegistry.hasOwnProperty(extension))) {
    +      // Treat it as markup if the first non whitespace character is a < and
    +      // the last non-whitespace character is a >.
    +      extension = /^\s*</.test(source)
    +          ? 'default-markup'
    +          : 'default-code';
    +    }
    +    return langHandlerRegistry[extension];
    +  }
    +  registerLangHandler(decorateSource, ['default-code']);
    +  registerLangHandler(
    +      createSimpleLexer(
    +          [],
    +          [
    +           [PR_PLAIN,       /^[^<?]+/],
    +           [PR_DECLARATION, /^<!\w[^>]*(?:>|$)/],
    +           [PR_COMMENT,     /^<\!--[\s\S]*?(?:-\->|$)/],
    +           // Unescaped content in an unknown language
    +           ['lang-',        /^<\?([\s\S]+?)(?:\?>|$)/],
    +           ['lang-',        /^<%([\s\S]+?)(?:%>|$)/],
    +           [PR_PUNCTUATION, /^(?:<[%?]|[%?]>)/],
    +           ['lang-',        /^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],
    +           // Unescaped content in javascript.  (Or possibly vbscript).
    +           ['lang-js',      /^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],
    +           // Contains unescaped stylesheet content
    +           ['lang-css',     /^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],
    +           ['lang-in.tag',  /^(<\/?[a-z][^<>]*>)/i]
    +          ]),
    +      ['default-markup', 'htm', 'html', 'mxml', 'xhtml', 'xml', 'xsl']);
    +  registerLangHandler(
    +      createSimpleLexer(
    +          [
    +           [PR_PLAIN,        /^[\s]+/, null, ' \t\r\n'],
    +           [PR_ATTRIB_VALUE, /^(?:\"[^\"]*\"?|\'[^\']*\'?)/, null, '\"\'']
    +           ],
    +          [
    +           [PR_TAG,          /^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],
    +           [PR_ATTRIB_NAME,  /^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],
    +           ['lang-uq.val',   /^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],
    +           [PR_PUNCTUATION,  /^[=<>\/]+/],
    +           ['lang-js',       /^on\w+\s*=\s*\"([^\"]+)\"/i],
    +           ['lang-js',       /^on\w+\s*=\s*\'([^\']+)\'/i],
    +           ['lang-js',       /^on\w+\s*=\s*([^\"\'>\s]+)/i],
    +           ['lang-css',      /^style\s*=\s*\"([^\"]+)\"/i],
    +           ['lang-css',      /^style\s*=\s*\'([^\']+)\'/i],
    +           ['lang-css',      /^style\s*=\s*([^\"\'>\s]+)/i]
    +           ]),
    +      ['in.tag']);
    +  registerLangHandler(
    +      createSimpleLexer([], [[PR_ATTRIB_VALUE, /^[\s\S]+/]]), ['uq.val']);
    +  registerLangHandler(sourceDecorator({
    +          'keywords': CPP_KEYWORDS,
    +          'hashComments': true,
    +          'cStyleComments': true,
    +          'types': C_TYPES
    +        }), ['c', 'cc', 'cpp', 'cxx', 'cyc', 'm']);
    +  registerLangHandler(sourceDecorator({
    +          'keywords': 'null,true,false'
    +        }), ['json']);
    +  registerLangHandler(sourceDecorator({
    +          'keywords': CSHARP_KEYWORDS,
    +          'hashComments': true,
    +          'cStyleComments': true,
    +          'verbatimStrings': true,
    +          'types': C_TYPES
    +        }), ['cs']);
    +  registerLangHandler(sourceDecorator({
    +          'keywords': JAVA_KEYWORDS,
    +          'cStyleComments': true
    +        }), ['java']);
    +  registerLangHandler(sourceDecorator({
    +          'keywords': SH_KEYWORDS,
    +          'hashComments': true,
    +          'multiLineStrings': true
    +        }), ['bash', 'bsh', 'csh', 'sh']);
    +  registerLangHandler(sourceDecorator({
    +          'keywords': PYTHON_KEYWORDS,
    +          'hashComments': true,
    +          'multiLineStrings': true,
    +          'tripleQuotedStrings': true
    +        }), ['cv', 'py', 'python']);
    +  registerLangHandler(sourceDecorator({
    +          'keywords': PERL_KEYWORDS,
    +          'hashComments': true,
    +          'multiLineStrings': true,
    +          'regexLiterals': 2  // multiline regex literals
    +        }), ['perl', 'pl', 'pm']);
    +  registerLangHandler(sourceDecorator({
    +          'keywords': RUBY_KEYWORDS,
    +          'hashComments': true,
    +          'multiLineStrings': true,
    +          'regexLiterals': true
    +        }), ['rb', 'ruby']);
    +  registerLangHandler(sourceDecorator({
    +          'keywords': JSCRIPT_KEYWORDS,
    +          'cStyleComments': true,
    +          'regexLiterals': true
    +        }), ['javascript', 'js']);
    +  registerLangHandler(sourceDecorator({
    +          'keywords': COFFEE_KEYWORDS,
    +          'hashComments': 3,  // ### style block comments
    +          'cStyleComments': true,
    +          'multilineStrings': true,
    +          'tripleQuotedStrings': true,
    +          'regexLiterals': true
    +        }), ['coffee']);
    +  registerLangHandler(sourceDecorator({
    +          'keywords': RUST_KEYWORDS,
    +          'cStyleComments': true,
    +          'multilineStrings': true
    +        }), ['rc', 'rs', 'rust']);
    +  registerLangHandler(
    +      createSimpleLexer([], [[PR_STRING, /^[\s\S]+/]]), ['regex']);
    +
    +  function applyDecorator(job) {
    +    var opt_langExtension = job.langExtension;
    +
    +    try {
    +      // Extract tags, and convert the source code to plain text.
    +      var sourceAndSpans = extractSourceSpans(job.sourceNode, job.pre);
    +      /** Plain text. @type {string} */
    +      var source = sourceAndSpans.sourceCode;
    +      job.sourceCode = source;
    +      job.spans = sourceAndSpans.spans;
    +      job.basePos = 0;
    +
    +      // Apply the appropriate language handler
    +      langHandlerForExtension(opt_langExtension, source)(job);
    +
    +      // Integrate the decorations and tags back into the source code,
    +      // modifying the sourceNode in place.
    +      recombineTagsAndDecorations(job);
    +    } catch (e) {
    +      if (win['console']) {
    +        console['log'](e && e['stack'] || e);
    +      }
    +    }
    +  }
    +
    +  /**
    +   * Pretty print a chunk of code.
    +   * @param sourceCodeHtml {string} The HTML to pretty print.
    +   * @param opt_langExtension {string} The language name to use.
    +   *     Typically, a filename extension like 'cpp' or 'java'.
    +   * @param opt_numberLines {number|boolean} True to number lines,
    +   *     or the 1-indexed number of the first line in sourceCodeHtml.
    +   */
    +  function $prettyPrintOne(sourceCodeHtml, opt_langExtension, opt_numberLines) {
    +    var container = document.createElement('div');
    +    // This could cause images to load and onload listeners to fire.
    +    // E.g. <img onerror="alert(1337)" src="nosuchimage.png">.
    +    // We assume that the inner HTML is from a trusted source.
    +    // The pre-tag is required for IE8 which strips newlines from innerHTML
    +    // when it is injected into a <pre> tag.
    +    // http://stackoverflow.com/questions/451486/pre-tag-loses-line-breaks-when-setting-innerhtml-in-ie
    +    // http://stackoverflow.com/questions/195363/inserting-a-newline-into-a-pre-tag-ie-javascript
    +    container.innerHTML = '<pre>' + sourceCodeHtml + '</pre>';
    +    container = container.firstChild;
    +    if (opt_numberLines) {
    +      numberLines(container, opt_numberLines, true);
    +    }
    +
    +    var job = {
    +      langExtension: opt_langExtension,
    +      numberLines: opt_numberLines,
    +      sourceNode: container,
    +      pre: 1
    +    };
    +    applyDecorator(job);
    +    return container.innerHTML;
    +  }
    +
    +   /**
    +    * Find all the {@code <pre>} and {@code <code>} tags in the DOM with
    +    * {@code class=prettyprint} and prettify them.
    +    *
    +    * @param {Function} opt_whenDone called when prettifying is done.
    +    * @param {HTMLElement|HTMLDocument} opt_root an element or document
    +    *   containing all the elements to pretty print.
    +    *   Defaults to {@code document.body}.
    +    */
    +  function $prettyPrint(opt_whenDone, opt_root) {
    +    var root = opt_root || document.body;
    +    var doc = root.ownerDocument || document;
    +    function byTagName(tn) { return root.getElementsByTagName(tn); }
    +    // fetch a list of nodes to rewrite
    +    var codeSegments = [byTagName('pre'), byTagName('code'), byTagName('xmp')];
    +    var elements = [];
    +    for (var i = 0; i < codeSegments.length; ++i) {
    +      for (var j = 0, n = codeSegments[i].length; j < n; ++j) {
    +        elements.push(codeSegments[i][j]);
    +      }
    +    }
    +    codeSegments = null;
    +
    +    var clock = Date;
    +    if (!clock['now']) {
    +      clock = { 'now': function () { return +(new Date); } };
    +    }
    +
    +    // The loop is broken into a series of continuations to make sure that we
    +    // don't make the browser unresponsive when rewriting a large page.
    +    var k = 0;
    +    var prettyPrintingJob;
    +
    +    var langExtensionRe = /\blang(?:uage)?-([\w.]+)(?!\S)/;
    +    var prettyPrintRe = /\bprettyprint\b/;
    +    var prettyPrintedRe = /\bprettyprinted\b/;
    +    var preformattedTagNameRe = /pre|xmp/i;
    +    var codeRe = /^code$/i;
    +    var preCodeXmpRe = /^(?:pre|code|xmp)$/i;
    +    var EMPTY = {};
    +
    +    function doWork() {
    +      var endTime = (win['PR_SHOULD_USE_CONTINUATION'] ?
    +                     clock['now']() + 250 /* ms */ :
    +                     Infinity);
    +      for (; k < elements.length && clock['now']() < endTime; k++) {
    +        var cs = elements[k];
    +
    +        // Look for a preceding comment like
    +        // <?prettify lang="..." linenums="..."?>
    +        var attrs = EMPTY;
    +        {
    +          for (var preceder = cs; (preceder = preceder.previousSibling);) {
    +            var nt = preceder.nodeType;
    +            // <?foo?> is parsed by HTML 5 to a comment node (8)
    +            // like <!--?foo?-->, but in XML is a processing instruction
    +            var value = (nt === 7 || nt === 8) && preceder.nodeValue;
    +            if (value
    +                ? !/^\??prettify\b/.test(value)
    +                : (nt !== 3 || /\S/.test(preceder.nodeValue))) {
    +              // Skip over white-space text nodes but not others.
    +              break;
    +            }
    +            if (value) {
    +              attrs = {};
    +              value.replace(
    +                  /\b(\w+)=([\w:.%+-]+)/g,
    +                function (_, name, value) { attrs[name] = value; });
    +              break;
    +            }
    +          }
    +        }
    +
    +        var className = cs.className;
    +        if ((attrs !== EMPTY || prettyPrintRe.test(className))
    +            // Don't redo this if we've already done it.
    +            // This allows recalling pretty print to just prettyprint elements
    +            // that have been added to the page since last call.
    +            && !prettyPrintedRe.test(className)) {
    +
    +          // make sure this is not nested in an already prettified element
    +          var nested = false;
    +          for (var p = cs.parentNode; p; p = p.parentNode) {
    +            var tn = p.tagName;
    +            if (preCodeXmpRe.test(tn)
    +                && p.className && prettyPrintRe.test(p.className)) {
    +              nested = true;
    +              break;
    +            }
    +          }
    +          if (!nested) {
    +            // Mark done.  If we fail to prettyprint for whatever reason,
    +            // we shouldn't try again.
    +            cs.className += ' prettyprinted';
    +
    +            // If the classes includes a language extensions, use it.
    +            // Language extensions can be specified like
    +            //     <pre class="prettyprint lang-cpp">
    +            // the language extension "cpp" is used to find a language handler
    +            // as passed to PR.registerLangHandler.
    +            // HTML5 recommends that a language be specified using "language-"
    +            // as the prefix instead.  Google Code Prettify supports both.
    +            // http://dev.w3.org/html5/spec-author-view/the-code-element.html
    +            var langExtension = attrs['lang'];
    +            if (!langExtension) {
    +              langExtension = className.match(langExtensionRe);
    +              // Support <pre class="prettyprint"><code class="language-c">
    +              var wrapper;
    +              if (!langExtension && (wrapper = childContentWrapper(cs))
    +                  && codeRe.test(wrapper.tagName)) {
    +                langExtension = wrapper.className.match(langExtensionRe);
    +              }
    +
    +              if (langExtension) { langExtension = langExtension[1]; }
    +            }
    +
    +            var preformatted;
    +            if (preformattedTagNameRe.test(cs.tagName)) {
    +              preformatted = 1;
    +            } else {
    +              var currentStyle = cs['currentStyle'];
    +              var defaultView = doc.defaultView;
    +              var whitespace = (
    +                  currentStyle
    +                  ? currentStyle['whiteSpace']
    +                  : (defaultView
    +                     && defaultView.getComputedStyle)
    +                  ? defaultView.getComputedStyle(cs, null)
    +                  .getPropertyValue('white-space')
    +                  : 0);
    +              preformatted = whitespace
    +                  && 'pre' === whitespace.substring(0, 3);
    +            }
    +
    +            // Look for a class like linenums or linenums:<n> where <n> is the
    +            // 1-indexed number of the first line.
    +            var lineNums = attrs['linenums'];
    +            if (!(lineNums = lineNums === 'true' || +lineNums)) {
    +              lineNums = className.match(/\blinenums\b(?::(\d+))?/);
    +              lineNums =
    +                lineNums
    +                ? lineNums[1] && lineNums[1].length
    +                  ? +lineNums[1] : true
    +                : false;
    +            }
    +            if (lineNums) { numberLines(cs, lineNums, preformatted); }
    +
    +            // do the pretty printing
    +            prettyPrintingJob = {
    +              langExtension: langExtension,
    +              sourceNode: cs,
    +              numberLines: lineNums,
    +              pre: preformatted
    +            };
    +            applyDecorator(prettyPrintingJob);
    +          }
    +        }
    +      }
    +      if (k < elements.length) {
    +        // finish up in a continuation
    +        setTimeout(doWork, 250);
    +      } else if ('function' === typeof opt_whenDone) {
    +        opt_whenDone();
    +      }
    +    }
    +
    +    doWork();
    +  }
    +
    +  /**
    +   * Contains functions for creating and registering new language handlers.
    +   * @type {Object}
    +   */
    +  var PR = win['PR'] = {
    +        'createSimpleLexer': createSimpleLexer,
    +        'registerLangHandler': registerLangHandler,
    +        'sourceDecorator': sourceDecorator,
    +        'PR_ATTRIB_NAME': PR_ATTRIB_NAME,
    +        'PR_ATTRIB_VALUE': PR_ATTRIB_VALUE,
    +        'PR_COMMENT': PR_COMMENT,
    +        'PR_DECLARATION': PR_DECLARATION,
    +        'PR_KEYWORD': PR_KEYWORD,
    +        'PR_LITERAL': PR_LITERAL,
    +        'PR_NOCODE': PR_NOCODE,
    +        'PR_PLAIN': PR_PLAIN,
    +        'PR_PUNCTUATION': PR_PUNCTUATION,
    +        'PR_SOURCE': PR_SOURCE,
    +        'PR_STRING': PR_STRING,
    +        'PR_TAG': PR_TAG,
    +        'PR_TYPE': PR_TYPE,
    +        'prettyPrintOne':
    +           IN_GLOBAL_SCOPE
    +             ? (win['prettyPrintOne'] = $prettyPrintOne)
    +             : (prettyPrintOne = $prettyPrintOne),
    +        'prettyPrint': prettyPrint =
    +           IN_GLOBAL_SCOPE
    +             ? (win['prettyPrint'] = $prettyPrint)
    +             : (prettyPrint = $prettyPrint)
    +      };
    +
    +  // Make PR available via the Asynchronous Module Definition (AMD) API.
    +  // Per https://github.com/amdjs/amdjs-api/wiki/AMD:
    +  // The Asynchronous Module Definition (AMD) API specifies a
    +  // mechanism for defining modules such that the module and its
    +  // dependencies can be asynchronously loaded.
    +  // ...
    +  // To allow a clear indicator that a global define function (as
    +  // needed for script src browser loading) conforms to the AMD API,
    +  // any global define function SHOULD have a property called "amd"
    +  // whose value is an object. This helps avoid conflict with any
    +  // other existing JavaScript code that could have defined a define()
    +  // function that does not conform to the AMD API.
    +  if (typeof define === "function" && define['amd']) {
    +    define("google-code-prettify", [], function () {
    +      return PR; 
    +    });
    +  }
    +})();
    diff --git a/fangija-zsyf/doc/res/prettify.sons.css b/fangija-zsyf/doc/res/prettify.sons.css
    new file mode 100644
    index 0000000..db47c6f
    --- /dev/null
    +++ b/fangija-zsyf/doc/res/prettify.sons.css
    @@ -0,0 +1,124 @@
    +/*
    + * Derived from einaros's Sons of Obsidian theme at
    + * http://studiostyl.es/schemes/son-of-obsidian by
    + * Alex Ford of CodeTunnel:
    + * http://CodeTunnel.com/blog/post/71/google-code-prettify-obsidian-theme
    + */
    +
    +.str
    +{
    +    color: #EC7600;
    +}
    +.kwd
    +{
    +    color: #93C763;
    +}
    +.com
    +{
    +    color: #66747B;
    +}
    +.typ
    +{
    +    color: #678CB1;
    +}
    +.lit
    +{
    +    color: #FACD22;
    +}
    +.pun
    +{
    +    color: #F1F2F3;
    +}
    +.pln
    +{
    +    color: #F1F2F3;
    +}
    +.tag
    +{
    +    color: #8AC763;
    +}
    +.atn
    +{
    +    color: #E0E2E4;
    +}
    +.atv
    +{
    +    color: #EC7600;
    +}
    +.dec
    +{
    +    color: purple;
    +}
    +pre.prettyprint
    +{
    +    border: 0px solid #888;
    +}
    +ol.linenums
    +{
    +    margin-top: 0;
    +    margin-bottom: 0;
    +}
    +.prettyprint {
    +    background: #000;
    +    border-radius: 3px;
    +    padding: 1em 0;
    +    overflow-x: scroll;
    +    -webkit-overflow-scrolling: touch;
    +    /*white-space: pre-wrap;*//*css-3*/
    +    /*word-wrap: break-word;*//*Internet Explorer 5.5+*/
    +}
    +li.L0, li.L1, li.L2, li.L3, li.L4, li.L5, li.L6, li.L7, li.L8, li.L9
    +{
    +    color: #555;
    +    list-style-type: decimal;
    +}
    +/*li.L1, li.L3, li.L5, li.L7, li.L9 {
    +    background: #222;
    +}*/
    +@media print
    +{
    +    .str
    +    {
    +        color: #060;
    +    }
    +    .kwd
    +    {
    +        color: #006;
    +        font-weight: bold;
    +    }
    +    .com
    +    {
    +        color: #600;
    +        font-style: italic;
    +    }
    +    .typ
    +    {
    +        color: #404;
    +        font-weight: bold;
    +    }
    +    .lit
    +    {
    +        color: #044;
    +    }
    +    .pun
    +    {
    +        color: #440;
    +    }
    +    .pln
    +    {
    +        color: #000;
    +    }
    +    .tag
    +    {
    +        color: #006;
    +        font-weight: bold;
    +    }
    +    .atn
    +    {
    +        color: #404;
    +    }
    +    .atv
    +    {
    +        color: #060;
    +    }
    +}
    \ No newline at end of file
    diff --git a/fangija-zsyf/doc/runtime.html b/fangija-zsyf/doc/runtime.html
    new file mode 100644
    index 0000000..7fdcd70
    --- /dev/null
    +++ b/fangija-zsyf/doc/runtime.html
    @@ -0,0 +1,262 @@
    +<!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>Hello H5+</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.runtime">runtime</a></h1>
    +<p>Runtime模块管理运行环境,可用于获取当前运行环境信息、与其它程序进行通讯等。通过plus.runtime可获取运行环境管理对象。</p>
    +<h2>属性:</h2>
    +<ul>
    +<li>
    +<a href="#plus.runtime.appid">appid</a>: 当前应用的APPID</li>
    +<li>
    +<a href="#plus.runtime.arguments">arguments</a>: 第三方程序调用时传递给程序的参数</li>
    +<li>
    +<a href="#plus.runtime.channel">channel</a>: 应用的市场推广渠道标识</li>
    +<li>
    +<a href="#plus.runtime.launcher">launcher</a>: 应用启动来源</li>
    +<li>
    +<a href="#plus.runtime.origin">origin</a>: 应用安装来源</li>
    +<li>
    +<a href="#plus.runtime.version">version</a>: 客户端的版本号</li>
    +<li>
    +<a href="#plus.runtime.innerVersion">innerVersion</a>: 客户端5+运行环境的版本号</li>
    +<li>
    +<a href="#plus.runtime.launchLoadedTime">launchLoadedTime</a>: 获取当前应用首页加载的时间</li>
    +<li>
    +<a href="#plus.runtime.processId">processId</a>: 获取当前应用的进程标识</li>
    +<li>
    +<a href="#plus.runtime.startupTime">startupTime</a>: 获取当前应用的启动时间</li>
    +</ul>
    +<h2>方法:</h2>
    +<ul>
    +<li>
    +<a href="#plus.runtime.getProperty">getProperty</a>: 获取指定APPID对应的应用信息</li>
    +<li>
    +<a href="#plus.runtime.install">install</a>: 安装应用</li>
    +<li>
    +<a href="#plus.runtime.quit">quit</a>: 退出客户端程序</li>
    +<li>
    +<a href="#plus.runtime.restart">restart</a>: 重启当前的应用</li>
    +<li>
    +<a href="#plus.runtime.setBadgeNumber">setBadgeNumber</a>: 设置程序快捷方式上显示的提示数字</li>
    +<li>
    +<a href="#plus.runtime.openURL">openURL</a>: 调用第三方程序打开指定的URL</li>
    +<li>
    +<a href="#plus.runtime.openFile">openFile</a>: 调用第三方程序打开指定的文件</li>
    +<li>
    +<a href="#plus.runtime.launchApplication">launchApplication</a>: 调用第三方程序</li>
    +<li>
    +<a href="#plus.runtime.isApplicationExist">isApplicationExist</a>: 判断第三方程序是否已存在</li>
    +</ul>
    +<h2>对象:</h2>
    +<ul>
    +<li>
    +<a href="#plus.runtime.WidgetOptions">WidgetOptions</a>: JSON对象,应用安装参数</li>
    +<li>
    +<a href="#plus.runtime.WidgetInfo">WidgetInfo</a>: JSON对象,应用信息</li>
    +<li>
    +<a href="#plus.runtime.OpenFileOptions">OpenFileOptions</a>: JSON对象,打开文件参数</li>
    +<li>
    +<a href="#plus.runtime.ApplicationInf">ApplicationInf</a>: JSON对象,打开第三方程序参数</li>
    +</ul>
    +<h2>回调方法:</h2>
    +<ul>
    +<li>
    +<a href="#plus.runtime.InstallSuccessCallback">InstallSuccessCallback</a>: 安装应用成功回调函数</li>
    +<li>
    +<a href="#plus.runtime.InstallErrorCallback">InstallErrorCallback</a>: 安装应用失败回调函数</li>
    +<li>
    +<a href="#plus.runtime.GetPropertyCallBack">GetPropertyCallBack</a>: 获取应用属性成功回调函数</li>
    +<li>
    +<a href="#plus.runtime.OpenErrorCallback">OpenErrorCallback</a>: 打开本地文件或URL失败回调函数</li>
    +<li>
    +<a href="#plus.runtime.LaunchErrorCallback">LaunchErrorCallback</a>: 调用第三方程序失败回调函数</li>
    +</ul>
    +<h2>权限:</h2>
    +<p>5+功能模块(permissions)</p>
    +<pre class="prettyprint linenums">
    +{
    +// ...
    +"permissions":{
    +	// ...
    +	"Runtime": {
    +		"description": "运行环境"
    +	}
    +}
    +}
    +			</pre>
    +<h1><a name="plus.runtime.WidgetOptions">WidgetOptions</a></h1>
    +<p>JSON对象,应用安装参数</p>
    +<h2>说明:</h2>
    +<p class="des">可通过对象设置安装的应用是否进行appid校验、版本号校验等。</p>
    +<h2>属性:</h2>
    +<ul><li>force: <em>(<font class="type">Boolean</font>
    +	类型
    +)</em>是否强制安装<br><p>
    +	true表示强制安装,不进行版本号的校验;false则需要版本号校验,如果将要安装应用的版本号不高于现有应用的版本号则终止安装,并返回安装失败。
    +	仅安装wgt和wgtu时生效,默认值 false。
    +						</p>
    +</li></ul>
    +<h1><a name="plus.runtime.WidgetInfo">WidgetInfo</a></h1>
    +<p>JSON对象,应用信息</p>
    +<h2>属性:</h2>
    +<ul>
    +<li>appid: <em>(<font class="type">String</font>
    +	类型
    +)</em>应用的APPID<br>
    +</li>
    +<li>version: <em>(<font class="type">String</font>
    +	类型
    +)</em>应用的版本号<br>
    +</li>
    +<li>name: <em>(<font class="type">String</font>
    +	类型
    +)</em>应用的名称<br>
    +</li>
    +<li>description: <em>(<font class="type">String</font>
    +	类型
    +)</em>应用描述信息<br>
    +</li>
    +<li>author: <em>(<font class="type">String</font>
    +	类型
    +)</em>应用描述信息<br>
    +</li>
    +<li>email: <em>(<font class="type">String</font>
    +	类型
    +)</em>开发者邮箱地址<br>
    +</li>
    +<li>license: <em>(<font class="type">String</font>
    +	类型
    +)</em>应用授权描述信息<br>
    +</li>
    +<li>licensehref: <em>(<font class="type">String</font>
    +	类型
    +)</em>应用授权说明链接地址<br>
    +</li>
    +<li>features: <em>(<font class="type">String[]</font>
    +	类型
    +)</em>应用许可特性列表<br>
    +</li>
    +</ul>
    +<h1><a name="plus.runtime.OpenFileOptions">OpenFileOptions</a></h1>
    +<p>JSON对象,打开文件参数</p>
    +<h2>属性:</h2>
    +<ul>
    +<li>pname: <em>(<font class="type">String</font>
    +	类型
    +)</em>优先使用的程序包名<br><p>
    +	如果指定包名的程序已经安装,则调用其打开文件,若程序不支持打开文件则触发错误回调。
    +	如果指定包名的程序未安装,则弹出系统支持打开此文件的列表,由用户选择程序打开。
    +						</p>
    +</li>
    +<li>popover: <em>(<font class="type">json</font>
    +	类型
    +)</em>弹出系统选择程序界面指示区域<br><p>
    +	JSON对象,格式如{top:10;left:10;width:200;height:200;},所有值为像素值,左上坐标相对于容器webview的位置。仅在iPad设备平台有效。
    +						</p>
    +</li>
    +</ul>
    +<h1><a name="plus.runtime.ApplicationInf">ApplicationInf</a></h1>
    +<p>JSON对象,打开第三方程序参数</p>
    +<h2>属性:</h2>
    +<ul>
    +<li>pname: <em>(<font class="type">String</font>
    +	类型
    +)</em>第三方程序包名<br><p>仅Android平台支持,表示程序的包名,其它平台忽略此属性值。</p>
    +</li>
    +<li>action: <em>(<font class="type">String</font>
    +	类型
    +)</em>程序的操作行为<br><p>Android平台上与系统的action值一致;iOS平台为要调用程序的URLScheme格式字符串。</p>
    +</li>
    +<li>extra: <em>(<font class="type">JSON</font>
    +	类型
    +)</em>调用程序的参数<br><p>仅Android平台支持,为JSON格式,用于传递给要调用程序的参数,如extra:{url:"http://www.html5plus.org"}。</p>
    +</li>
    +</ul>
    +<h1><a name="plus.runtime.InstallSuccessCallback">InstallSuccessCallback</a></h1>
    +<p>安装应用成功回调函数</p>
    +<pre class="prettyprint linenums">
    +void onSuccess(widgetInfo){
    +	// Code here
    +}
    +				</pre>
    +<h2>参数:</h2>
    +<ul><li>widgetInfo: 
    +		<em>(
    +			<font class="type">WidgetInfo</font>
    +			)
    +			必选 </em><br>应用信息,参见:WidgetInfo</li></ul>
    +<h2>返回值:</h2>
    +<font class="type">void</font>
    +			: 无<h1><a name="plus.runtime.InstallErrorCallback">InstallErrorCallback</a></h1>
    +<p>安装应用失败回调函数</p>
    +<pre class="prettyprint linenums">
    +void onError(error){
    +	// Handle the error
    +}
    +				</pre>
    +<h2>参数:</h2>
    +<ul><li>error: 
    +		<em>(
    +			<font class="type">DOMException</font>
    +			)
    +			必选 </em><br>安装失败的错误信息</li></ul>
    +<h2>返回值:</h2>
    +<font class="type">void</font>
    +			: 无<h1><a name="plus.runtime.GetPropertyCallBack">GetPropertyCallBack</a></h1>
    +<p>获取应用属性成功回调函数</p>
    +<pre class="prettyprint linenums">
    +void onGetPropertyCB(widgetInfo){
    +	// Code here
    +}
    +				</pre>
    +<h2>参数:</h2>
    +<ul><li>widgetInfo: 
    +		<em>(
    +			<a href="#plus.runtime.WidgetInfo">WidgetInfo</a>
    +			)
    +			必选 </em><br>应用信息,参见:WidgetInfo</li></ul>
    +<h2>返回值:</h2>
    +<font class="type">void</font>
    +			: 无<h1><a name="plus.runtime.OpenErrorCallback">OpenErrorCallback</a></h1>
    +<p>打开本地文件或URL失败回调函数</p>
    +<pre class="prettyprint linenums">
    +void onError(error){
    +	// Handle the error
    +}
    +				</pre>
    +<h2>参数:</h2>
    +<ul><li>error: 
    +		<em>(
    +			<font class="type">DOMException</font>
    +			)
    +			必选 </em><br>打开操作失败的错误信息</li></ul>
    +<h2>返回值:</h2>
    +<font class="type">void</font>
    +			: 无<h1><a name="plus.runtime.LaunchErrorCallback">LaunchErrorCallback</a></h1>
    +<p>调用第三方程序失败回调函数</p>
    +<pre class="prettyprint linenums">
    +void onError(error){
    +	// Handle the error
    +}
    +				</pre>
    +<h2>参数:</h2>
    +<ul><li>error: 
    +		<em>(
    +			<font class="type">DOMException</font>
    +			)
    +			必选 </em><br>操作失败的错误信息</li></ul>
    +<h2>返回值:</h2>
    +<font class="type">void</font>
    +			: 无<br><br>
    +</div></body>
    +</html>
    diff --git a/fangija-zsyf/doc/share.html b/fangija-zsyf/doc/share.html
    new file mode 100644
    index 0000000..65be2fc
    --- /dev/null
    +++ b/fangija-zsyf/doc/share.html
    @@ -0,0 +1,368 @@
    +<!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>Hello H5+</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.share">share</a></h1>
    +<p>Share模块管理客户端的社交分享功能,提供调用终端社交软件的分享能力。通过plus.share可获取社交分享管理对象。</p>
    +<h2>方法:</h2>
    +<ul>
    +<li>
    +<a href="#plus.share.getServices">getServices</a>: 获取分享服务</li>
    +<li>
    +<a href="#plus.share.sendWithSystem">sendWithSystem</a>: 使用系统组件发送分享</li>
    +</ul>
    +<h2>对象:</h2>
    +<ul>
    +<li>
    +<a href="#plus.share.ShareService">ShareService</a>: 分享服务对象</li>
    +<li>
    +<a href="#plus.share.ShareServerIdentity">ShareServerIdentity</a>: 分享服务标识</li>
    +<li>
    +<a href="#plus.share.ShareMessage">ShareMessage</a>: JSON对象,分享消息对象</li>
    +<li>
    +<a href="#plus.share.GeoPosition">GeoPosition</a>: JSON对象,用户位置信息</li>
    +<li>
    +<a href="#plus.share.ShareMessageExtra">ShareMessageExtra</a>: JSON对象,保存分享消息扩展信息</li>
    +<li>
    +<a href="#plus.share.Authorize">Authorize</a>: 分享授权控件对象</li>
    +</ul>
    +<h2>回调方法:</h2>
    +<ul>
    +<li>
    +<a href="#plus.share.ServicesSuccessCallback">ServicesSuccessCallback</a>: 获取分享服务成功回调</li>
    +<li>
    +<a href="#plus.share.AuthorizeSuccessCallback">AuthorizeSuccessCallback</a>: 分享授权认证成功回调</li>
    +<li>
    +<a href="#plus.share.ShareSuccessCallback">ShareSuccessCallback</a>: 分享操作成功回调</li>
    +<li>
    +<a href="#plus.share.ShareErrorCallback">ShareErrorCallback</a>: 分享操作失败回调</li>
    +</ul>
    +<h2>权限:</h2>
    +<p>permissions</p>
    +<pre class="prettyprint linenums">
    +{
    +// ...
    +"permissions":{
    +	// ...
    +	"Share": {
    +		"description": "分享"
    +	}
    +}
    +}
    +			</pre>
    +<h1><a name="plus.share.ShareService">ShareService</a></h1>
    +<p>分享服务对象</p>
    +<pre class="prettyprint linenums">
    +interface plus.share.ShareService {
    +	// Attributes
    +	attribute DOMString id;
    +	attribute DOMString description;
    +	attribute Boolean authenticated;
    +	attribute DOMString accessToken;
    +	attribute Boolean nativeClient;
    +	
    +	// Methods
    +	function void authorize( successCallback, errorCallback );
    +	function void forbid();
    +	function void send( message );
    +}
    +				</pre>
    +<h2>说明:</h2>
    +<p class="des">
    +	ShareService对象用于表示分享服务,在JS中为对象,用于向系统请求分享操作。
    +				</p>
    +<h2>属性:</h2>
    +<ul>
    +<li>
    +<a href="#plus.share.ShareService.id">id</a>: 分享服务标识</li>
    +<li>
    +<a href="#plus.share.ShareService.description">description</a>: 分享服务描述</li>
    +<li>
    +<a href="#plus.share.ShareService.authenticated">authenticated</a>: 是否授权认证</li>
    +<li>
    +<a href="#plus.share.ShareService.accessToken">accessToken</a>: 授权认证信息</li>
    +<li>
    +<a href="#plus.share.ShareService.nativeClient">nativeClient</a>: 是否存在对应的分享客户端</li>
    +</ul>
    +<h2>方法:</h2>
    +<ul>
    +<li>
    +<a href="#plus.share.ShareService.authorize">authorize</a>: 授权认证操作</li>
    +<li>
    +<a href="#plus.share.ShareService.forbid">forbid</a>: 取消授权认证</li>
    +<li>
    +<a href="#plus.share.ShareService.send">send</a>: 发送分享</li>
    +</ul>
    +<h1><a name="plus.share.ShareServerIdentity">ShareServerIdentity</a></h1>
    +<p>分享服务标识</p>
    +<h2>常量:</h2>
    +<ul>
    +<li>"sinaweibo": <em>(<font class="type">DOMString</font>
    +	类型
    +)</em>新浪微博<br>
    +</li>
    +<li>"tencentweibo": <em>(<font class="type">DOMString</font>
    +	类型
    +)</em>腾讯微博<br>
    +</li>
    +<li>"weixin": <em>(<font class="type">DOMString</font>
    +	类型
    +)</em>微信<br>
    +</li>
    +</ul>
    +<h1><a name="plus.share.ShareMessage">ShareMessage</a></h1>
    +<p>JSON对象,分享消息对象</p>
    +<pre class="prettyprint linenums">
    +interface plus.share.ShareMessage {
    +	attribute String content;
    +	attribute String[] thumbs;
    +	attribute String[] pictures;
    +	attribute String href;
    +	attribute String title;
    +	attribute JSON extra;
    +	attribute GEOPosition geo;
    +	attribute ShareMessageExtra extra;
    +	attribute String interface;
    +}
    +				</pre>
    +<h2>说明:</h2>
    +<p class="des">ShareMessage对象用于表示分享消息内容,在JS中为JSON对象,用于向系统发送分享信息操作。</p>
    +<h2>属性:</h2>
    +<ul>
    +<li>content: <em>(<font class="type">String</font>
    +	类型
    +)</em>分享消息的文字内容<br>
    +</li>
    +<li>pictures: <em>(<font class="type">Array</font>[
    +				<font class="type">String</font>
    +				]
    +			
    +	类型
    +)</em>分享消息的图片<br><p>
    +	分享消息中包含的图片路径,仅支持本地路径。
    +	若分享平台仅支持提交一张图片,传入多张图片则仅提交第一张图片。
    +	如果不能同时支持其它内容信息,优先级顺序为:pictures&gt;content。
    +						</p>
    +</li>
    +<li>thumbs: <em>(<font class="type">Array</font>[
    +				<font class="type">Stromg</font>
    +				]
    +			
    +	类型
    +)</em>分享消息的缩略图<br><p>
    +	分享消息中包含的缩略图路径;
    +	若分享平台仅支持提交一张图片,传入多张图片则仅提交第一张图片;
    +	如果分享平台的信息不支持缩略图,若没有设置消息的图片(pictures)则使用缩略图,否则忽略其属性值。
    +	注意:图片有大小限制,推荐图片小于20Kb。
    +						</p>
    +</li>
    +<li>href: <em>(<font class="type">String</font>
    +	类型
    +)</em>分享独立的链接<br><p>
    +	分享独立链接地址,仅支持网络地址(以http://或https://开头)。
    +	如果不能同时支持其它内容信息,优先级顺序为:href&gt;pictures&gt;content。
    +						</p>
    +</li>
    +<li>title: <em>(<font class="type">String</font>
    +	类型
    +)</em>分享消息的标题<br><p>
    +	目前仅微信分享独立链接消息时支持。
    +						</p>
    +</li>
    +<li>geo: <em>(<a href="#plus.share.GeoPosition">GeoPosition</a>
    +	类型
    +)</em>分享消息中包含的用户地理信息数据<br>
    +</li>
    +<li>extra: <em>(<a href="#plus.share.ShareMessageExtra">ShareMessageExtra</a>
    +	类型
    +)</em>分享消息扩展参数<br>
    +</li>
    +<li>interface: <em>(<font class="type">String</font>
    +	类型
    +)</em>分享消息的模式<br><p>
    +	可取值:
    +    "auto" - 自动选择,如果已经安装微博客户端则采用编辑界面进行分享,否则采用无界面分享;
    +    "slient" - 静默分享,采用无界面模式进行分享;
    +    "editable" - 进入编辑界面,用户确认分享内容后发送,如果当前未安装微博客户端则触发错误回调。
    +    默认值为"auto"。
    +    (仅新浪微博分享时生效)
    +						</p>
    +</li>
    +</ul>
    +<h1><a name="plus.share.GeoPosition">GeoPosition</a></h1>
    +<p>JSON对象,用户位置信息</p>
    +<pre class="prettyprint linenums">
    +interface plus.share.GeoPosition {
    +	attribute Number latitude;
    +	attribute Number longitude;
    +}
    +				</pre>
    +<h2>说明:</h2>
    +<p class="des">
    +	GeoPosition对象用于表示用户分享消息时的位置信息。用于标识分享操作时用户的位置信息。
    +				</p>
    +<h2>属性:</h2>
    +<ul>
    +<li>latitude: <em>(<font class="type">Number</font>
    +	类型
    +)</em>用户位置的纬度坐标信息<br>
    +</li>
    +<li>longitude: <em>(<font class="type">Number</font>
    +	类型
    +)</em>用户位置的经度坐标信息<br>
    +</li>
    +</ul>
    +<h1><a name="plus.share.ShareMessageExtra">ShareMessageExtra</a></h1>
    +<p>JSON对象,保存分享消息扩展信息</p>
    +<pre class="prettyprint linenums">
    +interface plus.share.ShareMessageExtra {
    +	attribute String scene;
    +}
    +				</pre>
    +<h2>说明:</h2>
    +<p class="des">
    +	ShareMessageExtra对象用于保存各分享平台扩展的参数,用于自定义分享功能。
    +				</p>
    +<h2>属性:</h2>
    +<ul><li>scene: <em>(<font class="type">String</font>
    +	类型
    +)</em>微信分享场景,仅微信分享平台有效<br><p>
    +	可取值:
    +	"WXSceneSession"分享到微信的“我的好友”;
    +	"WXSceneTimeline"分享到微信的“朋友圈”中;
    +	"WXSceneFavorite"分享到微信的“我的收藏”中。
    +	默认值为"WXSceneSession"。
    +						</p>
    +</li></ul>
    +<h1><a name="plus.share.Authorize">Authorize</a></h1>
    +<p>分享授权控件对象</p>
    +<pre class="prettyprint linenums">
    +interface plus.share.Authorize {
    +	// Methods
    +	function void load( id );
    +	function void setVisible( visible );
    +
    +	// Events
    +	function void onloaded();
    +	function void onauthenticated();
    +	function void onerror();
    +}
    +				</pre>
    +<h2>说明:</h2>
    +<p class="des">
    +	Authorize对象表示分享控件对象,用于在窗口中显示分享控件,使用此对象可自定义分享授权界面。
    +				</p>
    +<h2>构造:</h2>
    +<ul><li>
    +<a href="#plus.share.Authorize.Authorize(id,display)">Authorize(id,display)</a>: 创建分享授权控件对象</li></ul>
    +<h2>方法:</h2>
    +<ul>
    +<li>
    +<a href="#plus.share.Authorize.load">load</a>: 加载分享授权页面</li>
    +<li>
    +<a href="#plus.share.Authorize.setVisible">setVisible</a>: 设置分享授权控件是否可见</li>
    +</ul>
    +<h2>事件:</h2>
    +<ul>
    +<li>
    +<a href="#plus.share.Authorize.onloaded">onloaded</a>: 分享控件加载完成事件</li>
    +<li>
    +<a href="#plus.share.Authorize.onauthenticated">onauthenticated</a>: 分享授权认证成功事件</li>
    +<li>
    +<a href="#plus.share.Authorize.onerror">onerror</a>: 分享授权认证失败事件</li>
    +</ul>
    +<h1><a name="plus.share.ServicesSuccessCallback">ServicesSuccessCallback</a></h1>
    +<p>获取分享服务成功回调</p>
    +<pre class="prettyprint linenums">
    +void ServicesSuccessCallback( services ) {
    +	// Get share services success code
    +}
    +				</pre>
    +<h2>说明:</h2>
    +<p class="des">
    +	当获取分享服务列表成功时的回调函数,用于返回终端支持的分享服务列表。
    +				</p>
    +<h2>参数:</h2>
    +<ul><li>services: 
    +		<em>(
    +			<font class="type">Array</font>[
    +						<a href="#plus.share.ShareService">ShareService</a>
    +						]
    +					
    +			)
    +			必选 </em>数组,运行环境支持的分享服务列表<br>
    +	运行环境支持的分享服务列表数组,可通过services.length获取分享服务列表的数目。
    +						</li></ul>
    +<h2>返回值:</h2>
    +<font class="type">void</font>
    +			: 无<h1><a name="plus.share.AuthorizeSuccessCallback">AuthorizeSuccessCallback</a></h1>
    +<p>分享授权认证成功回调</p>
    +<pre class="prettyprint linenums">
    +void AuthorizeSuccessCallback(services){
    +	  // Authorize success code
    +}
    +				</pre>
    +<h2>说明:</h2>
    +<p class="des">
    +	分享服务授权认证操作成功时调用。
    +				</p>
    +<h2>参数:</h2>
    +<ul><li>service: 
    +		<em>(
    +			<a href="#plus.share.ShareService">ShareService</a>
    +			)
    +			必选 </em>授权认证操作的分享服务对象<br>
    +</li></ul>
    +<h2>返回值:</h2>
    +<font class="type">void</font>
    +			: 无<h1><a name="plus.share.ShareSuccessCallback">ShareSuccessCallback</a></h1>
    +<p>分享操作成功回调</p>
    +<pre class="prettyprint linenums">
    +void ShareSuccessCallback () {
    +	// Share success code
    +}
    +				</pre>
    +<h2>说明:</h2>
    +<p class="des">
    +	分享操作成功回调函数,当分享操作成功时调用。
    +				</p>
    +<h2>参数:</h2>
    +<p>无</p>
    +<h2>返回值:</h2>
    +<font class="type">void</font>
    +			: 无<h1><a name="plus.share.ShareErrorCallback">ShareErrorCallback</a></h1>
    +<p>分享操作失败回调</p>
    +<pre class="prettyprint linenums">
    +void ShareErrorCallback ( error ) {
    +	// Error 
    +	var code = error.code; 			// 错误编码
    +	var message = error.message;	// 错误描述信息
    +}
    +				</pre>
    +<h2>说明:</h2>
    +<p class="des">
    +	当分享操作失败时的回调函数,用于返回分享相关操作失败的错误信息。
    +				</p>
    +<h2>参数:</h2>
    +<ul><li>error: 
    +		<em>(
    +			<font class="type">DOMException</font>
    +			)
    +			必选 </em>分享操作失败错误信息<br>
    +	可通过error.code(Number类型)获取错误编码;
    +	可通过error.message(String类型)获取错误描述信息。
    +						</li></ul>
    +<h2>返回值:</h2>
    +<font class="type">void</font>
    +			: 无<br><br>
    +</div></body>
    +</html>
    diff --git a/fangija-zsyf/doc/speech.html b/fangija-zsyf/doc/speech.html
    new file mode 100644
    index 0000000..6bfbf5a
    --- /dev/null
    +++ b/fangija-zsyf/doc/speech.html
    @@ -0,0 +1,181 @@
    +<!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>Hello H5+</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.speech">speech</a></h1>
    +<p>Speech模块管理语音输入功能,提供语音识别功能,可支持用户通过麦克风设备进行语音输入内容。通过plus.speech可获取语音输入管理对象。</p>
    +<h2>方法:</h2>
    +<ul>
    +<li>
    +<a href="#plus.speech.startRecognize">startRecognize</a>: 启动语音识别</li>
    +<li>
    +<a href="#plus.speech.stopRecognize">stopRecognize</a>: 停止语音识别</li>
    +</ul>
    +<h2>对象:</h2>
    +<ul><li>
    +<a href="#plus.speech.SpeechRecognizeOption">SpeechRecognizeOption</a>: JSON对象,语音识别参数</li></ul>
    +<h2>回调方法:</h2>
    +<ul>
    +<li>
    +<a href="#plus.speech.RecognitionSuccessCallback">RecognitionSuccessCallback</a>: 语音识别成功回调</li>
    +<li>
    +<a href="#plus.speech.RecognitionErrorCallback%20">RecognitionErrorCallback </a>: 语音识别失败回调</li>
    +</ul>
    +<h2>权限:</h2>
    +<p>permissions</p>
    +<pre class="prettyprint linenums">
    +{
    +// ...
    +"permissions":{
    +	// ...
    +	"Speech": {
    +		"description": "语音输入"
    +	}
    +}
    +}
    +			</pre>
    +<h1><a name="plus.speech.SpeechRecognizeOption">SpeechRecognizeOption</a></h1>
    +<p>JSON对象,语音识别参数</p>
    +<pre class="prettyprint linenums">
    +interface plus.speech.SpeechRecognizeOption {
    +	attribute String engine;
    +	attribute String service;
    +	attribute Number timeout;
    +	attribute String lang;
    +	attribute String punctuation;
    +	attribute Boolean continue;
    +	attribute Number nbest;
    +	attribute Boolean userInterface;
    +	attribute EventHandler onstart;
    +	attribute EventHandler onend;
    +	attribute EventHandler onaudiostart;
    +	attribute EventHandler onaudioend;
    +	attribute EventHandler onrecognizestart;
    +	attribute EventHandler onrecognizeend;
    +}
    +				</pre>
    +<h2>说明:</h2>
    +<p class="des">
    +	控制语音识别引擎内部参数,在JS中为JSON对象,在启动语音识别时使用。
    +				</p>
    +<h2>属性:</h2>
    +<ul>
    +<li>engine: <em>(<font class="type">String</font>
    +	类型
    +)</em>语音识别引擎标识<br><p>用于兼容多语音识别引擎的浏览器,建议使用语音识别厂商的产品名称,如未设置或设置不正确则使用浏览器默认的语音识别引擎。</p>
    +</li>
    +<li>service: <em>(<font class="type">String</font>
    +	类型
    +)</em>语音识别引擎服务器地址<br><p>可使用url地址或ip地址,如service:192.168.1.99指定定制的语音识别引擎服务器。默认值为浏览器内置服务器地址。</p>
    +</li>
    +<li>timeout: <em>(<font class="type">Number</font>
    +	类型
    +)</em>语音识别超时时间<br><p>语音识别超时的时间,单位为ms,如timeout:60000,默认值为10s。</p>
    +</li>
    +<li>lang: <em>(<font class="type">String</font>
    +	类型
    +)</em>语音识别引擎的语言<br><p>
    +	用于定义语音识别引擎的语言,其取值需符合W3C的Language codes规范。
    +	目前讯飞语音支持以下语言:
    +	"zh-cn" - 中文,普通话;
    +	"en-us" - 英语;
    +	"zh-cantonese" - 中文,粤语;
    +	"zh-henanese" - 中文,河南话。
    +	默认值为“zh-cn”。
    +
    +						</p>
    +</li>
    +<li>punctuation: <em>(<font class="type">Boolean</font>
    +	类型
    +)</em>识别结果中是否包含标点符号<br><p>
    +	true表示识别结果文本中包含标点符号,false表示识别结果文本中不包含标点符号。
    +	默认值为true。
    +						</p>
    +</li>
    +<li>continue: <em>(<font class="type">Boolean</font>
    +	类型
    +)</em>语音识别是否采用持续模式<br><p>设置为true表示语音引擎不会根据语音输入自动结束,识别到文本内容将多次调用successCallback函数返回,如果需要结束语音识别则必须调用stopRecognize接口,默认值为false。</p>
    +</li>
    +<li>nbest: <em>(<font class="type">Number</font>
    +	类型
    +)</em>指定识别结果识别包括多候选结果<br><p>用于指定识别结果识别包括多候选结果。如nbest:3,识别返回3个候选结果,默认值为1。</p>
    +</li>
    +<li>userInterface: <em>(<font class="type">Boolean</font>
    +	类型
    +)</em>识别时是否显示用户界面<br><p>用于指定识别时是否显示用户界面,设置为true表示显示浏览器内置语音识别界面;设置为false表示不显示浏览器内置语音识别界面。默认值为true。</p>
    +</li>
    +<li>onstart: <em>(<font class="type">EventHandler</font>
    +	类型
    +)</em>语音识别开始事件<br><p>事件函数,语音识别开始启动,在调用startRecognize方法后触发,与onend事件成对触发。</p>
    +</li>
    +<li>onend: <em>(<font class="type">EventHandler</font>
    +	类型
    +)</em>语音识别结束事件<br><p>事件函数,语音识别结束,在调用stopRecognize方法后触发,或者在引擎内部自动完成语音识别后触发,与onstart事件成对触发。</p>
    +</li>
    +<li>onaudiostart: <em>(<font class="type">EventHandler</font>
    +	类型
    +)</em>录音开始事件<br><p>事件函数,录音开始事件,启动语音识别后,调用设备麦克风设备开始一段语音录音时触发,与onaudioend事件成对触发。</p>
    +</li>
    +<li>onaudioend: <em>(<font class="type">EventHandler</font>
    +	类型
    +)</em>录音结束事件<br><p>事件函数,录音结束事件,调用麦克风完成一段语音录音时触发,与onaudiostart事件成对触发。</p>
    +</li>
    +<li>onrecognizestart: <em>(<font class="type">EventHandler</font>
    +	类型
    +)</em>录音识别开始事件<br><p>事件函数,录音识别开始事件,开始对语音录音数据分析识别,与onrecognizeend事件成对触发。</p>
    +</li>
    +<li>onrecognizeend: <em>(<font class="type">EventHandler</font>
    +	类型
    +)</em>录音识别结束事件<br><p>事件函数,录音识别结束事件,开始对语音录音数据分析识别完成,与onrecognizestart事件成对触发。</p>
    +</li>
    +</ul>
    +<h1><a name="plus.speech.RecognitionSuccessCallback">RecognitionSuccessCallback</a></h1>
    +<p>语音识别成功回调</p>
    +<pre class="prettyprint linenums">
    +void RecognitionSuccessCallback ( results ) {
    +	// Recognition success code
    +}
    +				</pre>
    +<h2>说明:</h2>
    +<p class="des">当语音识别成功时的回调函数,用于返回语音识别出的文本内容。</p>
    +<h2>参数:</h2>
    +<ul><li>results: 
    +		<em>(
    +			<font class="type">Array</font>[
    +						<font class="type">String</font>
    +						]
    +					
    +			)
    +			必选 </em>语音识别出的文本内容数组<br>语音识别出的候选文本内容,区配度高的在数组的前面,通过其length属性可获取总的候选内容的长度</li></ul>
    +<h2>返回值:</h2>
    +<font class="type">void</font>
    +			: 无<h1><a name="plus.speech.RecognitionErrorCallback%20">RecognitionErrorCallback </a></h1>
    +<p>语音识别失败回调</p>
    +<pre class="prettyprint linenums">
    +void RecognitionErrorCallback ( error ) {
    +	// Recognition error code
    +}
    +				</pre>
    +<h2>说明:</h2>
    +<p class="des">当语音识别失败时的回调函数,用于返回语音识别失败的错误信息。</p>
    +<h2>参数:</h2>
    +<ul><li>error: 
    +		<em>(
    +			<font class="type">DOMException</font>
    +			)
    +			必选 </em>语音识别失败的错误信息<br>
    +</li></ul>
    +<h2>返回值:</h2>
    +<font class="type">void</font>
    +			: 无<br><br>
    +</div></body>
    +</html>
    diff --git a/fangija-zsyf/doc/splashscreen.html b/fangija-zsyf/doc/splashscreen.html
    new file mode 100644
    index 0000000..cbf72e6
    --- /dev/null
    +++ b/fangija-zsyf/doc/splashscreen.html
    @@ -0,0 +1,58 @@
    +<!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>Hello H5+</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.navigator">navigator</a></h1>
    +<p>Splashscreen管理程序启动界面</p>
    +<h2>方法:</h2>
    +<ul><li>
    +<a href="#plus.navigator.closeSplashscreen">closeSplashscreen</a>: 关闭程序启动界面</li></ul>
    +<h2>权限:</h2>
    +<p>
    +	5+功能模块(permissions)。
    +	在plus节点下配置splashscreen节点信息设置程序启动界面参数。
    +			</p>
    +<pre class="prettyprint linenums">
    +{
    +// ...
    +"permissions":{
    +	// ...
    +	"Navigator": {
    +		"description": "浏览器信息"
    +	}
    +}
    +// ...
    +"plus":{
    +	// ...
    +	"splashscreen": {
    +		"autoclose": "true",	// 首页加载完成后自动关闭splash界面
    +		"delay": ""
    +	}
    +}
    +}
    +			</pre>
    +			属性:
    +			<ul>
    +<li>autoclose: 是否自动关闭程序启动界面<br>
    +</li>
    +<li>delay: 启动界面延迟关闭时间<br><p>
    +	仅在autioclose属性设置为"true"时有效,用于定义程序启动界面在应用的首界面加载完毕后延迟关闭的时间,单位为ms,默认值为0。
    +					</p>
    +</li>
    +<li>waiting: 启动界面是否显示系统等待框<br><p>
    +	系统等待框使用的是系统雪花控件,各平台效果存在差异。
    +					</p>
    +</li>
    +</ul>
    +<br><br>
    +</div></body>
    +</html>
    diff --git a/fangija-zsyf/doc/statistic.html b/fangija-zsyf/doc/statistic.html
    new file mode 100644
    index 0000000..9a09361
    --- /dev/null
    +++ b/fangija-zsyf/doc/statistic.html
    @@ -0,0 +1,42 @@
    +<!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>Hello H5+</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.statistic">statistic</a></h1>
    +<p>Statistic模块管理统计功能,用于提供应用内统计的能力,支持统计和分析用户属性和用户行为数据。通过plus.statistic可获取统计管理对象。</p>
    +<h2>方法:</h2>
    +<ul>
    +<li>
    +<a href="#plus.statistic.eventTrig">eventTrig</a>: 触发事件</li>
    +<li>
    +<a href="#plus.statistic.eventDuration">eventDuration</a>: 精确持续事件</li>
    +<li>
    +<a href="#plus.statistic.eventStart">eventStart</a>: 开始持续事件(过期API,不推荐使用)</li>
    +<li>
    +<a href="#plus.statistic.eventEnd">eventEnd</a>: 结束持续事件(过期API,不推荐使用)</li>
    +</ul>
    +<h2>权限:</h2>
    +<p>permissions</p>
    +<pre class="prettyprint linenums">
    +{
    +// ...
    +"permissions":{
    +	// ...
    +	"Statistic": {
    +		"description": "统计"
    +	}
    +}
    +}
    +			</pre>
    +<br><br>
    +</div></body>
    +</html>
    diff --git a/fangija-zsyf/doc/storage.html b/fangija-zsyf/doc/storage.html
    new file mode 100644
    index 0000000..e22320f
    --- /dev/null
    +++ b/fangija-zsyf/doc/storage.html
    @@ -0,0 +1,46 @@
    +<!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>Hello H5+</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.storage">storage</a></h1>
    +<p>Storage模块管理应用本地数据存储区,用于应用数据的保存和读取。应用本地数据与localStorage、sessionStorage的区别在于数据有效域不同,前者可在应用内跨域操作,数据存储期是持久化的,并且没有容量限制。通过plus.storage可获取应用本地数据管理对象。</p>
    +<h2>方法:</h2>
    +<ul>
    +<li>
    +<a href="#plus.storage.getLength">getLength</a>: 获取应用存储区中保存的键值对的个数</li>
    +<li>
    +<a href="#plus.storage.getItem">getItem</a>: 通过键(key)检索获取应用存储的值</li>
    +<li>
    +<a href="#plus.storage.setItem">setItem</a>: 修改或添加键值(key-value)对数据到应用数据存储中</li>
    +<li>
    +<a href="#plus.storage.removeItem">removeItem</a>: 通过key值删除键值对存储的数据</li>
    +<li>
    +<a href="#plus.storage.clear">clear</a>: 清除应用所有的键值对存储数据</li>
    +<li>
    +<a href="#plus.storage.key">key</a>: 获取键值对中指定索引值的key值</li>
    +</ul>
    +<h2>权限:</h2>
    +<p>5+功能模块(permissions)</p>
    +<pre class="prettyprint linenums">
    +{
    +// ...
    +"permissions":{
    +	// ...
    +	"Storage": {
    +		"description": "本地存储,访问应用本地存储数据"
    +	}
    +}
    +}
    +			</pre>
    +<br><br>
    +</div></body>
    +</html>
    diff --git a/fangija-zsyf/doc/uploader.html b/fangija-zsyf/doc/uploader.html
    new file mode 100644
    index 0000000..440539c
    --- /dev/null
    +++ b/fangija-zsyf/doc/uploader.html
    @@ -0,0 +1,311 @@
    +<!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>Hello H5+</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.uploader">uploader</a></h1>
    +<p>Uploader模块管理网络上传任务,用于从本地上传各种文件到服务器,并支持跨域访问操作。通过plus.uploader可获取上传管理对象。Uploader上传使用HTTP的POST方式提交数据,数据格式符合Multipart/form-data规范,即rfc1867(Form-based File Upload in HTML)协议。</p>
    +<h2>方法:</h2>
    +<ul>
    +<li>
    +<a href="#plus.uploader.createUpload">createUpload</a>: 新建上传任务</li>
    +<li>
    +<a href="#plus.uploader.enumerate">enumerate</a>: 枚举上传任务</li>
    +<li>
    +<a href="#plus.uploader.clear">clear</a>: 清除上传任务</li>
    +<li>
    +<a href="#plus.uploader.startAll">startAll</a>: 开始所有上传任务</li>
    +</ul>
    +<h2>对象:</h2>
    +<ul>
    +<li>
    +<a href="#plus.uploader.Upload">Upload</a>: Upload对象管理一个上传任务</li>
    +<li>
    +<a href="#plus.uploader.UploadEvent">UploadEvent</a>: 上传任务事件类型</li>
    +<li>
    +<a href="#plus.uploader.UploadState">UploadState</a>: 上传任务的状态,Number类型</li>
    +<li>
    +<a href="#plus.uploader.UploadOptions">UploadOptions</a>: JSON对象,创建上传任务的参数</li>
    +<li>
    +<a href="#plus.uploader.UploadFileOptions">UploadFileOptions</a>: JSON对象,添加上传文件的参数</li>
    +</ul>
    +<h2>回调方法:</h2>
    +<ul>
    +<li>
    +<a href="#plus.uploader.UploadCompletedCallback">UploadCompletedCallback</a>: 上传任务完成时的回调函数</li>
    +<li>
    +<a href="#plus.uploader.UploadStateChangedCallback">UploadStateChangedCallback</a>: 上传任务状态变化回调函数,在上传任务状态发生变化时调用</li>
    +<li>
    +<a href="#plus.uploader.UploadEnumerateCallback">UploadEnumerateCallback</a>: 枚举上传任务回调函数,在枚举上传任务完成时时调用</li>
    +</ul>
    +<h2>权限:</h2>
    +<p>5+功能模块(permissions)</p>
    +<pre class="prettyprint linenums">
    +{
    +// ...
    +"permissions":{
    +	// ...
    +	"Uploader": {
    +		"description": "文件上传,管理文件上传任务"
    +	}
    +}
    +}			</pre>
    +<h1><a name="plus.uploader.Upload">Upload</a></h1>
    +<p>Upload对象管理一个上传任务</p>
    +<pre class="prettyprint linenums">
    +interface Upload {
    +	readonly attribute String url;
    +	readonly attribute Number state;
    +	readonly attribute UploadOptions options;
    +	readonly attribute String responseText;
    +	readonly attribute Number uploadedSize;
    +	readonly attribute Number totalSize;
    +	function void abort();
    +	function Boolean addData( String key, String value );
    +	function void addEventListener( String event, function Callback listener, Boolean capture );
    +	function Boolean addFile( String path, UploadFileOptions options );
    +	function String getAllResponseHeaders();
    +	function String getResponseHeader( headerName );
    +	function void pause();
    +	function void resume();
    +	function void setRequestHeader( String headerName, String headerValue );
    +	function void start();
    +}
    +				</pre>
    +<h2>属性:</h2>
    +<ul>
    +<li>
    +<a href="#plus.uploader.Upload.id">id</a>: 上传任务的标识</li>
    +<li>
    +<a href="#plus.uploader.Upload.url">url</a>: 上传文件的服务器地址</li>
    +<li>
    +<a href="#plus.uploader.Upload.state">state</a>: 任务的状态</li>
    +<li>
    +<a href="#plus.uploader.Upload.options">options</a>: 上传任务的参数</li>
    +<li>
    +<a href="#plus.uploader.Upload.responseText">responseText</a>: 上传任务完成后服务器返回的数据</li>
    +<li>
    +<a href="#plus.uploader.Upload.uploadedSize">uploadedSize</a>: 已完成上传数据的大小)</li>
    +<li>
    +<a href="#plus.uploader.Upload.totalSize">totalSize</a>: 上传数据的总大小</li>
    +</ul>
    +<h2>方法:</h2>
    +<ul>
    +<li>
    +<a href="#plus.uploader.Upload.addFile">addFile</a>: 添加上传文件</li>
    +<li>
    +<a href="#plus.uploader.Upload.addData">addData</a>: 添加上传数据</li>
    +<li>
    +<a href="#plus.uploader.Upload.start">start</a>: 开始上传任务</li>
    +<li>
    +<a href="#plus.uploader.Upload.pause">pause</a>: 暂停上传任务</li>
    +<li>
    +<a href="#plus.uploader.Upload.resume">resume</a>: 恢复暂停的上传任务</li>
    +<li>
    +<a href="#plus.uploader.Upload.abort">abort</a>: 取消上传任务</li>
    +<li>
    +<a href="#plus.uploader.Upload.addEventListener">addEventListener</a>: 添加上传任务事件监听器</li>
    +<li>
    +<a href="#plus.uploader.Upload.getAllResponseHeaders">getAllResponseHeaders</a>: 获取上传请求HTTP响应头部信息</li>
    +<li>
    +<a href="#plus.uploader.Upload.getResponseHeader">getResponseHeader</a>: 获取上传请求指定的HTTP响应头部的值</li>
    +<li>
    +<a href="#plus.uploader.Upload.setRequestHeader">setRequestHeader</a>: 设置上传请求的HTTP头数据</li>
    +</ul>
    +<h1><a name="plus.uploader.UploadEvent">UploadEvent</a></h1>
    +<p>上传任务事件类型</p>
    +<h2>常量:</h2>
    +<ul><li>"statechanged": <em>(<font class="type">String</font>
    +	类型
    +)</em>上传任务状态变化事件<br><p>
    +	当上传任务状态发生变化时触发此事件,事件原型参考UploadStateChangedCallback。
    +						</p>
    +</li></ul>
    +<h1><a name="plus.uploader.UploadState">UploadState</a></h1>
    +<p>上传任务的状态,Number类型</p>
    +<h2>常量:</h2>
    +<ul>
    +<li>undefined: <em>(<font class="type">undefined</font>
    +	类型
    +)</em>上传任务未开始<br><p>
    +	通过plus.uploader.createUpload()方法创建上传任务后的初始状态,此时可调用其start()方法开始上传。
    +						</p>
    +</li>
    +<li>0: <em>(<font class="type">number</font>
    +	类型
    +)</em>上传任务开始调度<br><p>
    +	调用上传任务的start()方法之后处于此状态,此时上传任务处于可调度上传状态。
    +						</p>
    +</li>
    +<li>1: <em>(<font class="type">number</font>
    +	类型
    +)</em>上传任务开始请求<br><p>
    +	上传任务建立网络连接,发送请求到服务器并等待服务器的响应。
    +						</p>
    +</li>
    +<li>2: <em>(<font class="type">number</font>
    +	类型
    +)</em>上传任务请求已经建立<br><p>
    +	上传任务网络连接已建立,服务器返回响应,准备传输数据内容。
    +						</p>
    +</li>
    +<li>3: <em>(<font class="type">number</font>
    +	类型
    +)</em>上传任务提交数据<br><p>
    +	上传任务提交数据,监听statechanged事件时可多次触发此状态。
    +						</p>
    +</li>
    +<li>4: <em>(<font class="type">number</font>
    +	类型
    +)</em>上传任务已完成<br><p>
    +	上传任务完成数据提交并断开连接,上传成功或失败都会设置为此状态。
    +						</p>
    +</li>
    +<li>5: <em>(<font class="type">number</font>
    +	类型
    +)</em>上传任务已暂停<br><p>
    +	调用上传任务的pause()方法将任务暂停,此时可调用其resume()方法重新开始上传。
    +						</p>
    +</li>
    +<li>-1: <em>(<font class="type">number</font>
    +	类型
    +)</em>枚举任务状态<br><p>
    +	非上传任务状态,泛指所有上传任务的状态,用于enumerate()和clear()操作时指定作用于所有上传任务。
    +						</p>
    +</li>
    +</ul>
    +<h1><a name="plus.uploader.UploadOptions">UploadOptions</a></h1>
    +<p>JSON对象,创建上传任务的参数</p>
    +<h2>属性:</h2>
    +<ul>
    +<li>method: <em>(<font class="type">String</font>
    +	类型
    +)</em>网络请求类型<br><p>
    +	仅支持http协议的“POST”请求。
    +						</p>
    +</li>
    +<li>blocksize: <em>(<font class="type">number</font>
    +	类型
    +)</em>上传任务每次上传的文件块大小(仅在支持断点续传的服务有效)<br><p>
    +	数值类型,单位为Byte(字节),默认值为102400,若设置值小于等于0则表示不分块上传。
    +						</p>
    +</li>
    +<li>priority: <em>(<font class="type">number</font>
    +	类型
    +)</em>上传任务的优先级<br><p>
    +	数值类型,数值越大优先级越高,默认优先级值为0。
    +						</p>
    +</li>
    +<li>timeout: <em>(<font class="type">number</font>
    +	类型
    +)</em>上传任务超时时间<br><p>
    +	数值类型,单位为s(秒),默认值为120s。
    +	超时时间为服务器响应请求的时间(不是上传任务完成的总时间),如果设置为0则表示永远不超时。
    +						</p>
    +</li>
    +<li>retry: <em>(<font class="type">number</font>
    +	类型
    +)</em>上传任务重试次数<br><p>
    +	数值类型,默认为重试3次。
    +						</p>
    +</li>
    +<li>retryInterval: <em>(<font class="type">Number</font>
    +	类型
    +)</em>上传任务重试间隔时间<br><p>
    +	数值类型,单位为s(秒),默认值为30s。
    +						</p>
    +</li>
    +</ul>
    +<h1><a name="plus.uploader.UploadFileOptions">UploadFileOptions</a></h1>
    +<p>JSON对象,添加上传文件的参数</p>
    +<h2>属性:</h2>
    +<ul>
    +<li>
    +<a href="#plus.uploader.UploadFileOptions.key">key</a>: 文件键名</li>
    +<li>
    +<a href="#plus.uploader.UploadFileOptions.name">name</a>: 文件名称</li>
    +<li>
    +<a href="#plus.uploader.UploadFileOptions.mime">mime</a>: 文件类型</li>
    +</ul>
    +<h1><a name="plus.uploader.UploadCompletedCallback">UploadCompletedCallback</a></h1>
    +<p>上传任务完成时的回调函数</p>
    +<pre class="prettyprint linenums">
    +void uploadCompleted( Upload upload, Number status ) {
    +	// File upload completed code.
    +}
    +				</pre>
    +<h2>说明:</h2>
    +<p class="des">在上传任务完成时调用,上传任务失败也将触发此回调。</p>
    +<h2>参数:</h2>
    +<ul>
    +<li>upload: 
    +		<em>(
    +			<a href="#plus.uploader.Upload">Upload</a>
    +			)
    +			必选 </em>上传任务对象<br>
    +</li>
    +<li>status: 
    +		<em>(
    +			<font class="type">Number</font>
    +			)
    +			必选 </em>上传结果状态码<br>
    +	HTTP传输协议状态码,如果未获取传输状态则其值则为0,如上传成功其值通常为200。
    +						</li>
    +</ul>
    +<h2>返回值:</h2>
    +<font class="type">void</font>
    +			: 无<h1><a name="plus.uploader.UploadStateChangedCallback">UploadStateChangedCallback</a></h1>
    +<p>上传任务状态变化回调函数,在上传任务状态发生变化时调用</p>
    +<pre class="prettyprint linenums">
    +void onStateChanged( Upload upload, status ) {
    +	// Upload state changed code.
    +}
    +				</pre>
    +<h2>参数:</h2>
    +<ul>
    +<li>upload: 
    +		<em>(
    +			<a href="#plus.uploader.Upload">Upload</a>
    +			)
    +			必选 </em>上传任务对象<br>
    +</li>
    +<li>status: 
    +		<em>(
    +			<font class="type">Number</font>
    +			)
    +			必选 </em>上传结果状态码<br>
    +	HTTP传输协议状态码,如果未获取传输状态则其值则为0,如上传成功其值通常为200。
    +						</li>
    +</ul>
    +<h2>返回值:</h2>
    +<font class="type">void</font>
    +			: 无<h1><a name="plus.uploader.UploadEnumerateCallback">UploadEnumerateCallback</a></h1>
    +<p>枚举上传任务回调函数,在枚举上传任务完成时时调用</p>
    +<pre class="prettyprint linenums">
    +void onEnumerated( Upload[] uploads ) {
    +	// Upload enumerate completed code.
    +}
    +				</pre>
    +<h2>参数:</h2>
    +<ul><li>uploads: 
    +		<em>(
    +			<font class="type">Array</font>[
    +						<a href="#plus.uploader.Upload">Upload</a>
    +						]
    +					
    +			)
    +			必选 </em>枚举到的上传任务对象数组<br>
    +</li></ul>
    +<h2>返回值:</h2>
    +<font class="type">void</font>
    +			: 无<br><br>
    +</div></body>
    +</html>
    diff --git a/fangija-zsyf/doc/webview.html b/fangija-zsyf/doc/webview.html
    new file mode 100644
    index 0000000..36547de
    --- /dev/null
    +++ b/fangija-zsyf/doc/webview.html
    @@ -0,0 +1,1680 @@
    +<!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>Hello H5+</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.webview">webview</a></h1>
    +<p>Webview模块管理应用窗口界面,实现多窗口的逻辑控制管理操作。通过plus.webview可获取应用界面管理对象。</p>
    +<h2>方法:</h2>
    +<ul>
    +<li>
    +<a href="#plus.webview.all">all</a>: 获取所有Webview窗口</li>
    +<li>
    +<a href="#plus.webview.close">close</a>: 关闭Webview窗口</li>
    +<li>
    +<a href="#plus.webview.create">create</a>: 创建新的Webview窗口</li>
    +<li>
    +<a href="#plus.webview.currentWebview">currentWebview</a>: 获取当前窗口的WebviewObject对象</li>
    +<li>
    +<a href="#plus.webview.getDisplayWebview">getDisplayWebview</a>: 获取屏幕所有可视的Webview窗口</li>
    +<li>
    +<a href="#plus.webview.getWebviewById">getWebviewById</a>: 查找指定标识的WebviewObject窗口</li>
    +<li>
    +<a href="#plus.webview.getLaunchWebview">getLaunchWebview</a>: 获取应用首页WebviewObject窗口对象</li>
    +<li>
    +<a href="#plus.webview.getSecondWebview">getSecondWebview</a>: 获取应用第二个首页WebviewObject窗口对象</li>
    +<li>
    +<a href="#plus.webview.getTopWebview">getTopWebview</a>: 获取应用显示栈顶的WebviewObject窗口对象</li>
    +<li>
    +<a href="#plus.webview.hide">hide</a>: 隐藏Webview窗口</li>
    +<li>
    +<a href="#plus.webview.open">open</a>: 创建并打开Webview窗口</li>
    +<li>
    +<a href="#plus.webview.show">show</a>: 显示Webview窗口</li>
    +<li>
    +<a href="#plus.webview.startAnimation">startAnimation</a>: Webview窗口组合动画</li>
    +<li>
    +<a href="#plus.webview.defaultHardwareAccelerated">defaultHardwareAccelerated</a>: 获取Webview默认是否开启硬件加速</li>
    +</ul>
    +<h2>对象:</h2>
    +<ul>
    +<li>
    +<a href="#plus.webview.AnimationTypeShow">AnimationTypeShow</a>: 一组用于定义页面或控件显示动画效果</li>
    +<li>
    +<a href="#plus.webview.AnimationTypeClose">AnimationTypeClose</a>: 一组用于定义页面或控件关闭的动画效果</li>
    +<li>
    +<a href="#plus.webview.WebviewObject">WebviewObject</a>: Webview窗口对象,用于操作加载HTML页面的窗口</li>
    +<li>
    +<a href="#plus.webview.WebviewAnimationOptions">WebviewAnimationOptions</a>: Webview窗口动画参数</li>
    +<li>
    +<a href="#plus.webview.WebviewAnimationStyles">WebviewAnimationStyles</a>: Webview窗口动画样式</li>
    +<li>
    +<a href="#plus.webview.WebviewBounceStyle">WebviewBounceStyle</a>: Webview窗口回弹样式</li>
    +<li>
    +<a href="#plus.webview.WebviewContentAnimationOptions">WebviewContentAnimationOptions</a>: Webview窗口内容动画参数</li>
    +<li>
    +<a href="#plus.webview.WebviewDock">WebviewDock</a>: 原生控件在窗口中停靠的方式</li>
    +<li>
    +<a href="#plus.webview.WebviewDragEvent">WebviewDragEvent</a>: Webview窗口滑动事件数据</li>
    +<li>
    +<a href="#plus.webview.WebviewDragOptions">WebviewDragOptions</a>: 窗口手势操作参数</li>
    +<li>
    +<a href="#plus.webview.WebviewDragOtherViewOptions">WebviewDragOtherViewOptions</a>: 手势操作关联对象参数</li>
    +<li>
    +<a href="#plus.webview.WebviewDrawOptions">WebviewDrawOptions</a>: 截屏绘制操作参数</li>
    +<li>
    +<a href="#plus.webview.WebviewNavigationbarStyles">WebviewNavigationbarStyles</a>: 窗口导航栏控件样式</li>
    +<li>
    +<a href="#plus.webview.WebviewSplitLineStyles">WebviewSplitLineStyles</a>: 窗口导航栏控件分割线样式</li>
    +<li>
    +<a href="#plus.webview.WebviewBackButtonStyles">WebviewBackButtonStyles</a>: 窗口导航栏控件返回键样式</li>
    +<li>
    +<a href="#plus.webview.WebviewEvent">WebviewEvent</a>: Webview窗口事件</li>
    +<li>
    +<a href="#plus.webview.WebviewExtraOptions">WebviewExtraOptions</a>: JSON对象,原生窗口扩展参数</li>
    +<li>
    +<a href="#plus.webview.WebviewPosition">WebviewPosition</a>: 原生控件在窗口中显示的位置</li>
    +<li>
    +<a href="#plus.webview.WebviewRefreshStyles">WebviewRefreshStyles</a>: Webview窗口下拉刷新样式</li>
    +<li>
    +<a href="#plus.webview.WebviewRenderedEventOptions">WebviewRenderedEventOptions</a>: Webview窗口rendered事件参数</li>
    +<li>
    +<a href="#plus.webview.WebviewStatusbarStyles">WebviewStatusbarStyles</a>: JSON对象,Webview窗口的系统状态栏区域样式</li>
    +<li>
    +<a href="#plus.webview.WebviewStyles">WebviewStyles</a>: JSON对象,Webview窗口对象的样式</li>
    +<li>
    +<a href="#plus.webview.WebviewTransform">WebviewTransform</a>: 一组用于定义页面或控件变形的属性</li>
    +<li>
    +<a href="#plus.webview.WebviewTransition">WebviewTransition</a>: 一组用于定义页面或控件转换效果的属性</li>
    +<li>
    +<a href="#plus.webview.WebviewOverrideResourceOptions">WebviewOverrideResourceOptions</a>: 拦截Webview窗口资源请求的参数</li>
    +<li>
    +<a href="#plus.webview.WebviewOverrideUrlOptions">WebviewOverrideUrlOptions</a>: 拦截Webview窗口URL请求的属性</li>
    +<li>
    +<a href="#plus.webview.WebviewListenResourceOptions">WebviewListenResourceOptions</a>: 监听Webview窗口资源加载的属性</li>
    +</ul>
    +<h2>回调方法:</h2>
    +<ul>
    +<li>
    +<a href="#plus.webview.BounceEventCallback">BounceEventCallback</a>: Webview窗口回弹事件的回调函数</li>
    +<li>
    +<a href="#plus.webview.EventCallback">EventCallback</a>: Webview窗口事件的回调函数</li>
    +<li>
    +<a href="#plus.webview.PopGestureCallback">PopGestureCallback</a>: Webview窗口侧滑事件的回调函数</li>
    +<li>
    +<a href="#plus.webview.HistoryQueryCallback">HistoryQueryCallback</a>: 历史记录查询的回调函数</li>
    +<li>
    +<a href="#plus.webview.ListenResourceLoadingCallback">ListenResourceLoadingCallback</a>: Webview窗口加载资源事件的回调函数</li>
    +<li>
    +<a href="#plus.webview.OverrideUrlLoadingCallback">OverrideUrlLoadingCallback</a>: Webview窗口拦截URL链接跳转的回调函数</li>
    +<li>
    +<a href="#plus.webview.TitleUpdateCallback">TitleUpdateCallback</a>: Webview窗口加载页面标题更新的回调函数</li>
    +<li>
    +<a href="#plus.webview.WebviewAnimationCallback">WebviewAnimationCallback</a>: Webview窗口组合动画回调函数</li>
    +<li>
    +<a href="#plus.webview.WebviewDragCallback">WebviewDragCallback</a>: Webview窗口滑屏操作事件回调函数</li>
    +<li>
    +<a href="#plus.webview.SuccessCallback">SuccessCallback</a>: Webview窗口操作成功回调函数</li>
    +<li>
    +<a href="#plus.webview.ErrorCallback">ErrorCallback</a>: Webview窗口操作失败回调函数</li>
    +</ul>
    +<h2>权限:</h2>
    +<p>5+功能模块(permissions)</p>
    +<pre class="prettyprint linenums">
    +{
    +// ...
    +"permissions":{
    +	// ...
    +	"Webview": {
    +		"description": "窗口管理"
    +	}
    +}
    +}
    +			</pre>
    +<h1><a name="plus.webview.AnimationTypeShow">AnimationTypeShow</a></h1>
    +<p>一组用于定义页面或控件显示动画效果</p>
    +<h2>常量:</h2>
    +<ul>
    +<li>"auto": <em>(<font class="type">String</font>
    +	类型
    +)</em>自动选择动画效果<br><p>
    +	自动选择动画效果,使用上次显示窗口设置的动画效果,如果是第一次显示则默认动画效果“none”。
    +						</p>
    +</li>
    +<li>"none": <em>(<font class="type">String</font>
    +	类型
    +)</em>无动画效果<br><p>
    +	立即显示页面,无任何动画效果,页面显示默认的动画效果。
    +	此效果忽略动画时间参数,立即显示。
    +	对应关闭动画"none"。
    +						</p>
    +</li>
    +<li>"slide-in-right": <em>(<font class="type">String</font>
    +	类型
    +)</em>从右侧横向滑动效果<br><p>
    +	页面从屏幕右侧外向内横向滑动显示。
    +	对应关闭动画"slide-out-right"。
    +						</p>
    +</li>
    +<li>"slide-in-left": <em>(<font class="type">String</font>
    +	类型
    +)</em>从左侧横向滑动效果<br><p>
    +	页面从屏幕左侧向右横向滑动显示。
    +	对应关闭动画"slide-out-left"。
    +						</p>
    +</li>
    +<li>"slide-in-top": <em>(<font class="type">String</font>
    +	类型
    +)</em>从上侧竖向滑动效果<br><p>
    +	页面从屏幕上侧向下竖向滑动显示。
    +	对应关闭动画"slide-out-top"。
    +						</p>
    +</li>
    +<li>"slide-in-bottom": <em>(<font class="type">String</font>
    +	类型
    +)</em>从下侧竖向滑动效果<br><p>
    +	页面从屏幕下侧向上竖向滑动显示。
    +	对应关闭动画"slide-out-bottom"。
    +						</p>
    +</li>
    +<li>"fade-in": <em>(<font class="type">String</font>
    +	类型
    +)</em>从透明到不透明逐渐显示效果<br><p>
    +	页面从完全透明到不透明逐渐显示。
    +	对应关闭动画"fade-out"。
    +						</p>
    +</li>
    +<li>"zoom-out": <em>(<font class="type">String</font>
    +	类型
    +)</em>从小到大逐渐放大显示效果<br><p>
    +	页面在屏幕中间从小到大逐渐放大显示。
    +	对应关闭动画"zoom-in"。
    +						</p>
    +</li>
    +<li>"zoom-fade-out": <em>(<font class="type">String</font>
    +	类型
    +)</em>从小到大逐渐放大并且从透明到不透明逐渐显示效果<br><p>
    +	页面在屏幕中间从小到大逐渐放大并且从透明到不透明逐渐显示。
    +	对应关闭动画"zoom-fade-in"。
    +						</p>
    +</li>
    +<li>"pop-in": <em>(<font class="type">String</font>
    +	类型
    +)</em>从右侧平移入栈动画效果<br><p>
    +	页面从屏幕右侧滑入显示,同时上一个页面带阴影效果从屏幕左侧滑出隐藏。
    +	对应关闭动画"pop-out"。
    +						</p>
    +</li>
    +</ul>
    +<h1><a name="plus.webview.AnimationTypeClose">AnimationTypeClose</a></h1>
    +<p>一组用于定义页面或控件关闭的动画效果</p>
    +<h2>常量:</h2>
    +<ul>
    +<li>"auto": <em>(<font class="type">String</font>
    +	类型
    +)</em>自动选择动画效果<br><p>
    +	自动选择显示窗口相对于的动画效果。
    +						</p>
    +</li>
    +<li>"none": <em>(<font class="type">String</font>
    +	类型
    +)</em>无动画<br><p>
    +	立即关闭页面,无任何动画效果。
    +	此效果忽略动画时间参数,立即关闭。
    +						</p>
    +</li>
    +<li>"slide-out-right": <em>(<font class="type">String</font>
    +	类型
    +)</em>横向向右侧滑出屏幕动画<br><p>
    +	页面从屏幕中横向向右侧滑动到屏幕外关闭。
    +						</p>
    +</li>
    +<li>"slide-out-left": <em>(<font class="type">String</font>
    +	类型
    +)</em>横向向左侧滑出屏幕动画<br><p>
    +	页面从屏幕中横向向左侧滑动到屏幕外关闭。
    +						</p>
    +</li>
    +<li>"slide-out-top": <em>(<font class="type">String</font>
    +	类型
    +)</em>竖向向上侧滑出屏幕动画<br><p>
    +	页面从屏幕中竖向向上侧滑动到屏幕外关闭。
    +						</p>
    +</li>
    +<li>"slide-out-bottom": <em>(<font class="type">String</font>
    +	类型
    +)</em>竖向向下侧滑出屏幕动画<br><p>
    +	页面从屏幕中竖向向下侧滑动到屏幕外关闭。
    +						</p>
    +</li>
    +<li>"fade-out": <em>(<font class="type">String</font>
    +	类型
    +)</em>从不透明到透明逐渐隐藏动画<br><p>
    +	页面从不透明到透明逐渐隐藏关闭。
    +						</p>
    +</li>
    +<li>"zoom-in": <em>(<font class="type">String</font>
    +	类型
    +)</em>从大逐渐缩小关闭动画<br><p>
    +	页面逐渐向页面中心缩小关闭。
    +						</p>
    +</li>
    +<li>"zoom-fade-in": <em>(<font class="type">String</font>
    +	类型
    +)</em>从大逐渐缩小并且从不透明到透明逐渐隐藏关闭动画<br><p>
    +	页面逐渐向页面中心缩小并且从不透明到透明逐渐隐藏关闭。
    +						</p>
    +</li>
    +<li>"pop-out": <em>(<font class="type">String</font>
    +	类型
    +)</em>从右侧平移出栈动画效果<br><p>
    +	页面从屏幕右侧滑出消失,同时上一个页面带阴影效果从屏幕左侧滑入显示。
    +						</p>
    +</li>
    +</ul>
    +<h1><a name="plus.webview.WebviewObject">WebviewObject</a></h1>
    +<p>Webview窗口对象,用于操作加载HTML页面的窗口</p>
    +<h2>属性:</h2>
    +<ul><li>
    +<a href="#plus.webview.WebviewObject.id">id</a>: Webview窗口的标识</li></ul>
    +<h2>方法:</h2>
    +<ul>
    +<li>
    +<a href="#plus.webview.WebviewObject.addEventListener">addEventListener</a>: 添加事件监听器</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.append">append</a>: 在Webview窗口中添加子窗口</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.appendJsFile">appendJsFile</a>: 添加Webview窗口预加载js文件</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.animate">animate</a>: Webview窗口内容动画</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.back">back</a>: 后退到上次加载的页面</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.beginPullToRefresh">beginPullToRefresh</a>: 开始Webview窗口的下拉刷新</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.canBack">canBack</a>: 查询Webview窗口是否可后退</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.canForward">canForward</a>: 查询Webview窗口是否可前进</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.checkRenderedContent">checkRenderedContent</a>: 检测Webview窗口是否渲染完成</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.children">children</a>: 获取Webview窗口的所有子Webview窗口</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.clear">clear</a>: 清空原生Webview窗口加载的内容</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.close">close</a>: 关闭Webview窗口</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.drag">drag</a>: 设置Webview窗口的滑屏操作手势</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.draw">draw</a>: 截屏绘制</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.endPullToRefresh">endPullToRefresh</a>: 结束Webview窗口的下拉刷新</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.evalJS">evalJS</a>: 在Webview窗口中执行JS脚本</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.forward">forward</a>: 前进到上次加载的页面</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.getNavigationbar">getNavigationbar</a>: 获取Webview窗口的导航栏控件对象</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.getStyle">getStyle</a>: 获取Webview窗口的样式</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.getTitle">getTitle</a>: 获取Webview窗口加载HTML页面的标题</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.getURL">getURL</a>: 获取Webview窗口加载HTML页面的地址</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.hide">hide</a>: 隐藏Webview窗口</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.interceptTouchEvent">interceptTouchEvent</a>: 是否拦截Webview窗口的触屏事件</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.isHardwareAccelerated">isHardwareAccelerated</a>: 查询Webview窗口是否开启硬件加速</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.isVisible">isVisible</a>: 查询Webview窗口是否可见</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.listenResourceLoading">listenResourceLoading</a>: 监听页面开始加载资源</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.loadData">loadData</a>: 加载新HTML数据</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.loadURL">loadURL</a>: 加载新URL页面</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.nativeInstanceObject">nativeInstanceObject</a>: 获取Webview窗口对象的原生(Native.JS)实例对象</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.opened">opened</a>: 获取在当前Webview窗口中创建的所有窗口</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.opener">opener</a>: 获取当前Webview窗口的创建者</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.overrideResourceRequest">overrideResourceRequest</a>: 拦截Webview窗口的资源加载</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.overrideUrlLoading">overrideUrlLoading</a>: 拦截Webview窗口的URL请求</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.parent">parent</a>: 获取当前Webview窗口的父窗口</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.reload">reload</a>: 重新加载Webview窗口显示的HTML页面</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.resetBounce">resetBounce</a>: 重置Webview窗口的回弹位置</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.restore">restore</a>: 恢复Webview控件显示内容</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.remove">remove</a>: 移除子Webview窗口</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.removeEventListener">removeEventListener</a>: 移除Webview窗口事件监听器</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.removeFromParent">removeFromParent</a>: 从父窗口中移除</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.setBounce">setBounce</a>: 设置Webview窗口的回弹效果</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.setBlockNetworkImage">setBlockNetworkImage</a>: 设置Webview窗口是否阻塞加载页面中使用的网络图片</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.setContentVisible">setContentVisible</a>: 设置HTML内容是否可见</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.setPullToRefresh">setPullToRefresh</a>: 设置Webview窗口的下拉刷新效果</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.setRenderedEventOptions">setRenderedEventOptions</a>: 设置Webview窗口rendered事件参数</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.setStyle">setStyle</a>: 设置Webview窗口的样式</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.setJsFile">setJsFile</a>: 设置预加载的JS文件</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.setCssFile">setCssFile</a>: 设置预加载的CSS文件</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.setCssText">setCssText</a>: 设置预加载的CSS内容</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.setVisible">setVisible</a>: 设置Webview窗口是否可见</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.setFixBottom">setFixBottom</a>: 设置Webview窗口底部修复区域高度</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.show">show</a>: 显示Webview窗口</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.showBehind">showBehind</a>: 在指定Webview窗口后显示</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.stop">stop</a>: 停止加载HTML页面内容</li>
    +</ul>
    +<h2>事件:</h2>
    +<ul>
    +<li>
    +<a href="#plus.webview.WebviewObject.onclose">onclose</a>: Webview窗口关闭事件</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.onerror">onerror</a>: Webview窗口错误事件</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.onloaded">onloaded</a>: Webview窗口页面加载完成事件</li>
    +<li>
    +<a href="#plus.webview.WebviewObject.onloading">onloading</a>: Webview窗口页面开始加载事件</li>
    +</ul>
    +<h1><a name="plus.webview.WebviewAnimationOptions">WebviewAnimationOptions</a></h1>
    +<p>Webview窗口动画参数</p>
    +<pre class="prettyprint linenums">
    +interface WebviewAnimationOptions {
    +	attribute WebviewObject view;
    +	attribute WebviewAnimationStyles styles;
    +	attribute String action;
    +}				</pre>
    +<h2>说明:</h2>
    +<p class="des">
    +	用于指定动画目标窗口,起始位置、目标位置等信息。
    +				</p>
    +<h2>属性:</h2>
    +<ul>
    +<li>view: <em>(<a href="#plus.webview.WebviewObject">WebviewObject</a>
    +	类型
    +)</em>执行动画的窗口对象<br><p>
    +	可取值Webview窗口对象、Webview窗口的id(String类型)、原生View窗口对象(plus.nativeObj.View)。
    +						</p>
    +</li>
    +<li>styles: <em>(<a href="#plus.webview.WebviewAnimationStyles">WebviewAnimationStyles</a>
    +	类型
    +)</em>动画样式<br><p>
    +	用于指定动画窗口的起始位置,目标位置等。
    +						</p>
    +</li>
    +<li>action: <em>(<font class="type">String</font>
    +	类型
    +)</em>窗口动画完成后的行为<br><p>
    +	可取值:
    +	"none" - 动画完成后不做任何操作;
    +	"hide" - 动画完成后隐藏窗口;
    +	"close" - 动画完成后关闭窗口。
    +	默认值为"none"。
    +						</p>
    +</li>
    +</ul>
    +<h1><a name="plus.webview.WebviewAnimationStyles">WebviewAnimationStyles</a></h1>
    +<p>Webview窗口动画样式</p>
    +<pre class="prettyprint linenums">
    +interface WebviewAnimationStyles {
    +	attribute String fromLeft;
    +	attribute String toLeft;
    +}				</pre>
    +<h2>说明:</h2>
    +<p class="des">
    +	用于指定动画窗口的起始位置、目标位置等信息。
    +				</p>
    +<h2>属性:</h2>
    +<ul>
    +<li>fromLeft: <em>(<font class="type">String</font>
    +	类型
    +)</em>画窗口的起始左侧位置<br><p>
    +	支持百分比、像素值,默认值为当前窗口的位置。
    +						</p>
    +</li>
    +<li>toLeft: <em>(<font class="type">String</font>
    +	类型
    +)</em>画窗口的目标左侧位置<br><p>
    +	持百分比、像素值。
    +	注意:如果设置的位置与起始位置一直,则无动画效果。
    +						</p>
    +</li>
    +</ul>
    +<h1><a name="plus.webview.WebviewBounceStyle">WebviewBounceStyle</a></h1>
    +<p>Webview窗口回弹样式</p>
    +<h2>属性:</h2>
    +<ul>
    +<li>position: <em>(<font class="type">JSON</font>
    +	类型
    +)</em>Webview窗口支持回弹效果的方向<br><p>
    +	可通过此参数设置开启Webview哪个方向支持回弹效果。
    +	支持以下属性:
    +	top:表示窗口顶部支持回弹效果;
    +	left:表示窗口左侧支持回弹效果;
    +	right:表示窗口右侧支持回弹效果;
    +	bottom:表示窗口底部支持回弹效果。
    +	**目前仅支持top属性**
    +	属性值:用于指定可拖拽的范围,可取百分比,如"10%";像素值,如"100px";自动计算值,如"auto";无回弹效果值,如"none";
    +						</p>
    +</li>
    +<li>changeoffset: <em>(<font class="type">JSON</font>
    +	类型
    +)</em>Webview窗口回弹时停靠的位置<br><p>
    +	开启窗口回弹效果后,当窗口中展现的内容滚动到头(顶部或底部)时,再拖拽时窗口整体内容将跟随移动,拖拽过程中将触发"dragBounce"事件,松开后自动回弹到停靠位置。
    +	支持以下属性:
    +	top:表示窗口顶部回弹时停靠的位置。
    +	属性值:用于指定窗口回弹的位置,可取百分比,如"5%";像素值,如"100px";自动计算值,如"auto",默认为可拖拽的范围值的一半;
    +						</p>
    +</li>
    +<li>slideoffset: <em>(<font class="type">JSON</font>
    +	类型
    +)</em>Webview窗口侧滑时停靠的位置<br><p>
    +	开启窗口回弹效果后,当窗口中展现的内容滚动到头(左侧或右侧)时,在拖拽时窗口整体内容将跟随移动,松开后自动停靠的侧滑位置,并触发"slideBounce"事件。
    +	支持以下属性:
    +	left:表示窗口左侧侧滑的位置;
    +	right:表示窗口右侧侧滑的位置。
    +	属性值:用于指定滑动后停靠的距离,可取百分比(left/right相对于窗口的宽度,top/bottom相对于窗口的高度),如"30%";像素值,如"100px";自动计算值,为可拖拽范围,如"auto"。
    +						</p>
    +</li>
    +<li>offset: <em>(<font class="type">JSON</font>
    +	类型
    +)</em>Webview窗口拖拽偏移的位置<br><p>
    +	开启窗口回弹效果后,可以通过此属性值来主动设置拖拽的偏移位置,与手动操作拖拽至此偏移位置松开后的逻辑一致。
    +	支持以下属性:
    +	top:表示窗口顶部偏移的位置;
    +	left:表示窗口左侧偏移的位置;
    +	right:表示窗口右侧偏移的位置;
    +	bottom:表示窗口底部偏移的位置。
    +	属性值:用于指定偏移的位置,可取百分比,如"5%";像素值,如"100px";有效值范围为0到position属性定义的位置。
    +						</p>
    +</li>
    +<li>preventTouchEvent: <em>(<font class="type">Boolean</font>
    +	类型
    +)</em>Webview窗口是否阻止touch事件传递给DOM元素<br><p>
    +	设置为true表示阻止touch事件,设置为false表示不阻止touch事件。当开启侧滑功能(左侧滑和右侧滑)时默认值为true,否则为false。
    +						</p>
    +</li>
    +</ul>
    +<h1><a name="plus.webview.WebviewContentAnimationOptions">WebviewContentAnimationOptions</a></h1>
    +<p>Webview窗口内容动画参数</p>
    +<pre class="prettyprint linenums">
    +interface WebviewAnimationOptions {
    +	attribute String type;
    +	attribute Number duration;
    +	attribute Number frames;
    +	attribute Rect region;
    +}				</pre>
    +<h2>说明:</h2>
    +<p class="des">
    +	指定动画的类型、持续时间等信息。
    +				</p>
    +<h2>属性:</h2>
    +<ul>
    +<li>type: <em>(<font class="type">String</font>
    +	类型
    +)</em>动画类型<br><p>
    +	可取值:"shrink" - 从上到下分块收缩清除窗口动画。
    +						</p>
    +</li>
    +<li>duration: <em>(<font class="type">Number</font>
    +	类型
    +)</em>动画持续时间<br><p>
    +	单位为毫秒,默认值为200ms。
    +						</p>
    +</li>
    +<li>frames: <em>(<font class="type">Number</font>
    +	类型
    +)</em>动画帧数<br><p>
    +	必须为大于0的整数,默认值为12。
    +						</p>
    +</li>
    +<li>region: <em>(<font class="type">json</font>
    +	类型
    +)</em>动画作用区域<br><p>
    +	支持以下属性:
    +	top - 区域距离控件顶部的偏移量,属性值可取像素值(如"100px"),百分比(如"10%",相对于控件的高度),默认值为'0px';
    +	bottom - 区域距离控件底部的偏移量,属性值可取像素值(如"100px"),百分比(如"10%",相对于控件的高度),默认值为'0px';
    +	left - 区域距离控件左侧的偏移量,属性值可取像素值(如"100px"),百分比(如"10%",相对于控件的宽度),默认值为'0px';
    +	right - 区域距离控件右侧的偏移量,属性值可取像素值(如"100px"),百分比(如"10%",相对于控件的宽度),默认值为'0px'。
    +	如“{top:'44px',bottom:'48px'}”。
    +						</p>
    +</li>
    +</ul>
    +<h1><a name="plus.webview.WebviewDock">WebviewDock</a></h1>
    +<p>原生控件在窗口中停靠的方式</p>
    +<h2>常量:</h2>
    +<ul>
    +<li>"top": <em>(<font class="type">String</font>
    +	类型
    +)</em>控件停靠则页面顶部<br>
    +</li>
    +<li>"bottom": <em>(<font class="type">String</font>
    +	类型
    +)</em>控件停靠在页面底部<br>
    +</li>
    +<li>"right": <em>(<font class="type">String</font>
    +	类型
    +)</em>控件停靠在页面右侧<br>
    +</li>
    +<li>"left": <em>(<font class="type">String</font>
    +	类型
    +)</em>控件停靠在页面左侧<br>
    +</li>
    +</ul>
    +<h1><a name="plus.webview.WebviewDragEvent">WebviewDragEvent</a></h1>
    +<p>Webview窗口滑动事件数据</p>
    +<h2>属性:</h2>
    +<ul>
    +<li>direction: <em>(<font class="type">String</font>
    +	类型
    +)</em>手势类型<br><p>
    +	可取值:
    +	"rtl" - 从右向左滑动手势;
    +	"left" - 向左滑动手势,与rtl一致;
    +	"ltr" - 从左向右滑动手势;
    +	"right" - 向右滑动手势,与ltr一致。
    +						</p>
    +</li>
    +<li>type: <em>(<font class="type">String</font>
    +	类型
    +)</em>窗口滑动类型<br><p>
    +	可取值:
    +	"start" - 表示开始滑动操作;
    +	"move" - 表示正在滑动;
    +	"end" - 表示滑动操作结束。
    +						</p>
    +</li>
    +<li>result: <em>(<font class="type">String</font>
    +	类型
    +)</em>窗口滑动结果<br><p>
    +	可取值:
    +	"true" - 表示滑动操作成功;
    +	"false" - 表示滑动操作失败(恢复到滑动前的状态);
    +	"undefined" - 无状态值(当type值为"end"时返回此值)。
    +						</p>
    +</li>
    +<li>id: <em>(<font class="type">String</font>
    +	类型
    +)</em>当前操作窗口标识<br><p>
    +	当type值为"start"/"move"时,保存当前操作窗口(或View控件)的标识;
    +	当type值为"end"时保存滑动操作后显示窗口(或View控件)的标识(即result值为"true"则认为关联窗口显示,result值为false则认为主窗口显示)。
    +						</p>
    +</li>
    +<li>otherId: <em>(<font class="type">String</font>
    +	类型
    +)</em>关联窗口标识<br><p>
    +	滑动操作关联窗口(或View控件)的标识。
    +						</p>
    +</li>
    +<li>targetId: <em>(<font class="type">String</font>
    +	类型
    +)</em>主窗口标识<br><p>
    +	滑动操作主窗口(或View控件)的标识。
    +						</p>
    +</li>
    +<li>progress: <em>(<font class="type">Number</font>
    +	类型
    +)</em>滑动进度<br><p>
    +	滑动进度位置信息,取值范围为0-100,如20表示滑动了总距离的20%:
    +	当type值为"start"时progress值为0;
    +	当type值为"end"时如果result为true则progress值为0,如果result为false则progress值为100;
    +	当type值为"move"时,保存当前滑动的进度信息(注:多次触发move事件)。
    +						</p>
    +</li>
    +</ul>
    +<h1><a name="plus.webview.WebviewDragOptions">WebviewDragOptions</a></h1>
    +<p>窗口手势操作参数</p>
    +<h2>属性:</h2>
    +<ul>
    +<li>callbackStep: <em>(<font class="type">Number</font>
    +	类型
    +)</em>滑屏操作回调事件触发步长<br><p>
    +	用于设置滑屏回调事件触发频率,取值范围为1-100,值越小触发频率越高,值越大触发频率越小,默认值为20。
    +	如设置值为20,则表示滑屏操作移动距离超过可移动范围的20%则触发一次回调事件,可通过回调函数参数(WebviewDragEvent)的progress属性获取。
    +	注意:触发频率过大会影响效率,开发者需谨慎设置此值。
    +						</p>
    +</li>
    +<li>direction: <em>(<font class="type">String</font>
    +	类型
    +)</em>设置的手势类型<br><p>
    +	可取值:
    +	可取值:
    +	"rtl" - 从右向左滑动手势;
    +	"left" - 向左滑动手势,与rtl一致;
    +	"ltr" - 从左向右滑动手势;
    +	"right" - 向右滑动手势,与ltr一致。
    +						</p>
    +</li>
    +<li>moveMode: <em>(<font class="type">String</font>
    +	类型
    +)</em>滑动手势模式<br><p>
    +	可取值:
    +	"followFinger" - 当前Webview窗口跟随手指滑动;
    +	"silent" - 当前Webview窗口不跟随手指滑动;
    +	"bounce" - 当前Webview窗口自动回弹(松手后窗口恢复到拖动前的位置),通常可通过设置此模式来实现Tab项无法继续滑动切换自动回弹效果。
    +						</p>
    +</li>
    +</ul>
    +<h1><a name="plus.webview.WebviewDragOtherViewOptions">WebviewDragOtherViewOptions</a></h1>
    +<p>手势操作关联对象参数</p>
    +<h2>属性:</h2>
    +<ul>
    +<li>view: <em>(<font class="type">String</font>
    +	类型
    +)</em>手势关联对象<br><p>
    +	可取值Webview窗口的id(String类型)、Webview窗口对象、原生View窗口对象(plus.nativeObj.View)。
    +						</p>
    +</li>
    +<li>moveMode: <em>(<font class="type">String</font>
    +	类型
    +)</em>滑动模式<br><p>
    +	可取值:
    +	"follow" - 同步跟随主Webview窗口滑动;
    +	"silent" - 不跟随主Webview窗口滑动。
    +						</p>
    +</li>
    +</ul>
    +<h1><a name="plus.webview.WebviewDrawOptions">WebviewDrawOptions</a></h1>
    +<p>截屏绘制操作参数</p>
    +<h2>属性:</h2>
    +<ul>
    +<li>bit: <em>(<font class="type">String</font>
    +	类型
    +)</em>截屏图片的位深<br><p>
    +	可取值:
    +		"RGB565" - RGB565彩色模式,一个像素占两个字节;
    +		"ARGB" - ARGB彩色模式,保存透明度信息。
    +						</p>
    +</li>
    +<li>check: <em>(<font class="type">Boolean</font>
    +	类型
    +)</em>是否检测截屏图片是否为空白<br><p>
    +	可取值:
    +		true - 表示检测到截屏到空白图片时认为操作失败(触发错误回调函数);
    +		false - 表示不检测,即使为空白图片仍然返回成功。
    +	默认值为false。
    +						</p>
    +</li>
    +<li>clip: <em>(<a href="#href.plus.nativeObj">plus.nativeObj</a>
    +	类型
    +)</em>设置截屏区域<br><p>
    +	相对于Webview窗口的区域信息,默认值为{top:'0px',left:'0px',width:'100%',height:'100%'}。
    +						</p>
    +</li>
    +<li>checkKeyboard: <em>(<font class="type">Boolean</font>
    +	类型
    +)</em>是否检测当前是否弹出软键盘<br><p>
    +	可取值:
    +		true - 表示检测到弹出软键盘是认为截屏操作失败(触发错误回调函数);
    +		false - 表示不检测软键盘状态,直接截屏。
    +	默认值为false。
    +						</p>
    +</li>
    +</ul>
    +<h1><a name="plus.webview.WebviewNavigationbarStyles">WebviewNavigationbarStyles</a></h1>
    +<p>窗口导航栏控件样式</p>
    +<h2>说明:</h2>
    +<p class="des">
    +	导航栏控件固定高度为44px,可通过Webview窗口对象的getNavigationbar方法获取导航栏原生控件对象动态绘制内容。
    +				</p>
    +<h2>属性:</h2>
    +<ul>
    +<li>backButton: <em>(<a href="#plus.webview.WebviewBackButtonStyles">WebviewBackButtonStyles</a>
    +	类型
    +)</em>导航控件的返回键样式<br><p>
    +	设置此属性则在导航栏控件中左侧显示返回键,可配置返回键颜色。
    +	设置此属性值为undefined或null则隐藏返回键。
    +	默认不显示返回键。
    +						</p>
    +</li>
    +<li>backgroundColor: <em>(<font class="type">String</font>
    +	类型
    +)</em>导航栏控件的背景颜色<br><p>
    +	颜色值格式为"#RRGGBB",如"#FF0000"表示为红色背景,默认值为"#1B1A1F"。
    +						</p>
    +</li>
    +<li>titleColor: <em>(<font class="type">String</font>
    +	类型
    +)</em>导航栏控件的标题颜色<br><p>
    +	颜色值格式为"#RRGGBB",如"#FF0000"表示标题文字为红色,默认值为"#FFFFFF"。
    +						</p>
    +</li>
    +<li>titleText: <em>(<font class="type">String</font>
    +	类型
    +)</em>导航栏控件的标题内容<br><p>
    +	在导航栏控件居中(水平和垂直)显示,左右边距为88px,如果文本过长则尾部裁剪显示。
    +	当不设置titleText属性或属性值为undefined/null时,使用当前Webview窗口加载页面的标题,并自动同步更新页面的标题。
    +						</p>
    +</li>
    +<li>titleSize: <em>(<font class="type">String</font>
    +	类型
    +)</em>导航栏控件的标题字体大小<br><p>
    +	字体大小单位为像素,如"20px"表示字体大小为20像素,默认值为17像素。
    +						</p>
    +</li>
    +<li>splitLine: <em>(<a href="#plus.webview.WebviewSplitLineStyles">WebviewSplitLineStyles</a>
    +	类型
    +)</em>导航栏控件底部分割线<br><p>
    +	设置此属性则在导航栏控件底部显示分割线,可配置颜色值及高度。
    +	设置此属性值为undefined或null则隐藏分割线。
    +	默认不显示底部分割线。
    +						</p>
    +</li>
    +</ul>
    +<h1><a name="plus.webview.WebviewSplitLineStyles">WebviewSplitLineStyles</a></h1>
    +<p>窗口导航栏控件分割线样式</p>
    +<h2>说明:</h2>
    +<p class="des">
    +	显示在导航栏控件底部。
    +				</p>
    +<h2>属性:</h2>
    +<ul>
    +<li>color: <em>(<font class="type">String</font>
    +	类型
    +)</em>底部分割线颜色<br><p>
    +	可取值: "#RRGGBB"格式字符串,如"#FF0000"表示绘制红色分割线;
    +	"rgba(R,G,B,A)",其中R/G/B分别代表红色值/绿色值/蓝色值,正整数类型,取值范围为0-255,A为透明度,浮点数类型,取值范围为0-1(0为全透明,1为不透明),如"rgba(255,0,0,0.5)",表示红色半透明。
    +	默认值为无色(白色全透明)。
    +						</p>
    +</li>
    +<li>height: <em>(<font class="type">String</font>
    +	类型
    +)</em>底部分割线高度<br><p>
    +	可取值:像素值,如"1px"表示1像素高;百分比,如"1%",相对于导航栏控件的高度。
    +	默认值为"1px"。
    +						</p>
    +</li>
    +</ul>
    +<h1><a name="plus.webview.WebviewBackButtonStyles">WebviewBackButtonStyles</a></h1>
    +<p>窗口导航栏控件返回键样式</p>
    +<h2>说明:</h2>
    +<p class="des">
    +	显示在导航栏控件右侧,点击后触发"backButton"事件(与点击物理返回键逻辑一致)。
    +				</p>
    +<h2>属性:</h2>
    +<ul>
    +<li>color: <em>(<font class="type">String</font>
    +	类型
    +)</em>返回键颜色<br><p>
    +	可取值: "#RRGGBB"格式字符串,如"#FF0000"表示绘制红色返回键;
    +	"rgba(R,G,B,A)",其中R/G/B分别代表红色值/绿色值/蓝色值,正整数类型,取值范围为0-255,A为透明度,浮点数类型,取值范围为0-1(0为全透明,1为不透明),如"rgba(255,0,0,0.5)",表示红色半透明。
    +	默认值为窗口导航栏控件标题颜色。
    +						</p>
    +</li>
    +<li>colorPressed: <em>(<font class="type">String</font>
    +	类型
    +)</em>返回键按下状态的颜色<br><p>
    +	可取值: "#RRGGBB"格式字符串,如"#FF0000"表示绘制红色返回键;
    +	"rgba(R,G,B,A)",其中R/G/B分别代表红色值/绿色值/蓝色值,正整数类型,取值范围为0-255,A为透明度,浮点数类型,取值范围为0-1(0为全透明,1为不透明),如"rgba(255,0,0,0.5)",表示红色半透明。
    +	默认值为color属性值自动调整透明度为0.3。
    +						</p>
    +</li>
    +</ul>
    +<h1><a name="plus.webview.WebviewEvent">WebviewEvent</a></h1>
    +<p>Webview窗口事件</p>
    +<h2>常量:</h2>
    +<ul>
    +<li>"close": <em>(<font class="type">String</font>
    +	类型
    +)</em>Webview窗口关闭事件<br><p>
    +	通过WebviewObject对象的addEventListener方法添加事件监听函数,当Webview窗口关闭时触发此事件,回调函数类型为EventCallback。
    +						</p>
    +</li>
    +<li>"dragBounce": <em>(<font class="type">String</font>
    +	类型
    +)</em>Webview窗口回弹事件<br><p>
    +	通过WebviewObject对象的setBounce方法开启回弹效果设置顶部下拉回弹changeoffset属性后,当用户向下拖拽窗口时触发发此事件,回调函数类型为BounceEventCallback。
    +						</p>
    +</li>
    +<li>"slideBounce": <em>(<font class="type">String</font>
    +	类型
    +)</em>Webview窗口回弹事件<br><p>
    +	通过WebviewObject对象的setBounce方法开启回弹效果设置左右侧侧滑slideoffset属性后,当用户向左右侧拖拽窗口侧滑时触发发此事件,回调函数类型为BounceEventCallback。
    +						</p>
    +</li>
    +<li>"error": <em>(<font class="type">String</font>
    +	类型
    +)</em>Webview窗口加载错误事件<br><p>
    +	通过WebviewObject对象的addEventListener方法添加事件监听函数,当Webview窗口加载错误时触发此事件,回调函数类型为EventCallback。
    +						</p>
    +</li>
    +<li>"hide": <em>(<font class="type">String</font>
    +	类型
    +)</em>Webview窗口隐藏事件<br><p>
    +	通过WebviewObject对象的addEventListener方法添加事件监听函数,当Webview窗口隐藏(窗口动画完成后)时触发此事件,回调函数类型为EventCallback。
    +						</p>
    +</li>
    +<li>"loading": <em>(<font class="type">String</font>
    +	类型
    +)</em>Webview窗口页面开始加载事件<br><p>
    +	通过WebviewObject对象的addEventListener方法添加事件监听函数,当Webview窗口开始加载新页面时触发此事件,回调函数类型为EventCallback。
    +						</p>
    +</li>
    +<li>"loaded": <em>(<font class="type">String</font>
    +	类型
    +)</em>Webview窗口页面加载完成事件<br><p>
    +	通过WebviewObject对象的addEventListener方法添加事件监听函数,当Webview窗口页面加载完成时触发此事件,回调函数类型为EventCallback。
    +						</p>
    +</li>
    +<li>"maskClick": <em>(<font class="type">String</font>
    +	类型
    +)</em>Webview窗口显示遮罩层时点击事件<br><p>
    +	通过WebviewObject对象的addEventListener方法添加事件监听函数,当Webview窗口通过mask属性设置显示遮罩层并且点击时触发此事件,回调函数类型为EventCallback。
    +						</p>
    +</li>
    +<li>"rendering": <em>(<font class="type">String</font>
    +	类型
    +)</em>Webview窗口开始渲染事件<br><p>
    +	通过WebviewObject对象的addEventListener方法添加事件监听函数,当Webview窗口开始渲染内容时触发此事件,回调函数类型为EventCallback。
    +						</p>
    +</li>
    +<li>"rendered": <em>(<font class="type">String</font>
    +	类型
    +)</em>Webview窗口渲染完成事件<br><p>
    +	通过WebviewObject对象的addEventListener方法添加事件监听函数,当Webview窗口渲染完成时触发此事件,回调函数类型为EventCallback。
    +						</p>
    +</li>
    +<li>"show": <em>(<font class="type">String</font>
    +	类型
    +)</em>Webview窗口显示事件<br><p>
    +	通过WebviewObject对象的addEventListener方法添加事件监听函数,当Webview窗口显示(窗口动画完成后)时触发此事件,回调函数类型为EventCallback。
    +						</p>
    +</li>
    +<li>"titleUpdate": <em>(<font class="type">String</font>
    +	类型
    +)</em>Webview加载页面标题更新事件<br><p>
    +	通过WebviewObject对象的addEventListener方法添加事件监听函数,当Webview窗口加载新页面更新标题时触发此事件,回调函数类型为SuccessCallback。
    +	注意:此事件会先于loaded事件触发,通常在加载网络页面时通过此事件可更快获取到页面的标题。
    +						</p>
    +</li>
    +<li>"touchstart": <em>(<font class="type">String</font>
    +	类型
    +)</em>Webview窗口接收到触屏事件<br><p>
    +	通过WebviewObject对象的addEventListener方法添加事件监听函数,当用户操作按下到Webview窗口时触发此事件,回调函数类型为SuccessCallback。
    +	注意:每按下屏幕触发一次此事件。
    +						</p>
    +</li>
    +<li>"popGesture": <em>(<font class="type">String</font>
    +	类型
    +)</em>Webview窗口侧滑返回事件<br><p>
    +	通过WebviewObject对象的addEventListener方法添加事件监听函数,当Webview窗口侧滑返回时触发此事件,回调函数类型为PopGestureCallback。
    +						</p>
    +</li>
    +<li>"progressChanged": <em>(<font class="type">String</font>
    +	类型
    +)</em>Webview窗口加载进度变化事件<br><p>
    +	通过WebviewObject对象的addEventListener方法添加事件监听函数,当Webview窗口加载页面进度变化时触发此事件。
    +	回调函数原型为void PorgressCandedCallback(Event e),可通过e.progress获取窗口加载进度,取值范围为0-100。
    +						</p>
    +</li>
    +</ul>
    +<h1><a name="plus.webview.WebviewExtraOptions">WebviewExtraOptions</a></h1>
    +<p>JSON对象,原生窗口扩展参数</p>
    +<h2>属性:</h2>
    +<ul>
    +<li>acceleration: <em>(<font class="type">String</font>
    +	类型
    +)</em>窗口动画加速<br><p>
    +	开启窗口动画加速功能可优化窗口动画效果,提升动画流程度,可避免部分设备上打开(关闭)窗口闪屏的问题。
    +	可取值:
    +	"auto" - 自动优化窗口动画;
    +	"none" - 关闭窗口动画加速功能;
    +	"capture" - 使用截屏方式加速窗口动画。
    +	默认值为"auto"。
    +						</p>
    +</li>
    +<li>capture: <em>(<a href="#href.Bitmap">Bitmap</a>
    +	类型
    +)</em>窗口动画加速时使用的图片<br><p>
    +	当使用截屏方式加速窗口动画时,可设置已经创建好的截屏图片,此时不会进行实时截屏操作,加速窗口动画响应时间,提升用户体验。
    +	如果未指定截屏图片,则实时截取当前Webview窗口对象的图片进行动画操作。
    +	如果窗口未使用截屏方式加速动画,则忽略此参数。
    +						</p>
    +</li>
    +<li>otherCapture: <em>(<a href="#href.Bitmap">Bitmap</a>
    +	类型
    +)</em>关联窗口动画使用的图片<br><p>
    +	当使用截屏方式加速窗口动画时,可设置已经创建好的截屏图片,此时不会进行实时截屏操作,加速关联窗口动画响应时间,提升用户体验。
    +	如果未指定截屏图片,则实时截取关联Webview窗口对象的图片进行动画操作。
    +	如果窗口未使用截屏方式加速动画,则忽略此参数。
    +						</p>
    +</li>
    +</ul>
    +<h1><a name="plus.webview.WebviewPosition">WebviewPosition</a></h1>
    +<p>原生控件在窗口中显示的位置</p>
    +<h2>常量:</h2>
    +<ul>
    +<li>"static": <em>(<font class="type">String</font>
    +	类型
    +)</em>控件在页面中正常定位,如果页面存在滚动条则随窗口内容滚动<br>
    +</li>
    +<li>"absolute": <em>(<font class="type">String</font>
    +	类型
    +)</em>控件在页面中绝对定位,如果页面存在滚动条不随窗口内容滚动<br>
    +</li>
    +<li>"dock": <em>(<font class="type">String</font>
    +	类型
    +)</em>控件在页面中停靠,停靠的位置通过dock属性进行定义<br>
    +</li>
    +</ul>
    +<h1><a name="plus.webview.WebviewRefreshStyles">WebviewRefreshStyles</a></h1>
    +<p>Webview窗口下拉刷新样式</p>
    +<h2>属性:</h2>
    +<ul>
    +<li>support: <em>(<font class="type">Boolean</font>
    +	类型
    +)</em>是否开启Webview窗口的下拉刷新功能<br><p>
    +	true表示开启窗口的下拉刷新功能;
    +	false表示关闭窗口的下拉刷新功能。
    +						</p>
    +</li>
    +<li>color: <em>(<font class="type">String</font>
    +	类型
    +)</em>下拉刷新控件颜色<br><p>
    +	颜色值格式为"#RRGGBB",如"#FF0000"为设置下拉属性控件为红色,默认值为"#2BD009"。
    +	注意:仅"circle"样式下拉刷新支持此属性。
    +						</p>
    +</li>
    +<li>style: <em>(<font class="type">String</font>
    +	类型
    +)</em>下拉刷新样式<br><p>
    +	用于定义下拉刷新风格样式,可取值:
    +	"default" - 目前已实现的经典样式;
    +	"circle" - 新增下拉圆圈样式。
    +	默认值为"default"。
    +						</p>
    +</li>
    +<li>height: <em>(<font class="type">String</font>
    +	类型
    +)</em>窗口的下拉刷新控件高度<br><p>
    +	支持百分比,如"10%";像素值,如"50px"。
    +						</p>
    +</li>
    +<li>range: <em>(<font class="type">String</font>
    +	类型
    +)</em>窗口可下拉拖拽的范围<br><p>
    +	支持百分比,如"10%";像素值,如"50px"。
    +						</p>
    +</li>
    +<li>offset: <em>(<font class="type">String</font>
    +	类型
    +)</em>下拉刷新控件的起始位置<br><p>
    +	仅对"circle"样式下拉刷新控件有效,用于定义刷新控件下拉时的起始位置。
    +	相对于Webview的顶部偏移量,支持百分比,如"10%";像素值,如"50px"。
    +	默认值为"0px"。
    +						</p>
    +</li>
    +<li>contentdown: <em>(<font class="type">JSON</font>
    +	类型
    +)</em>在下拉可刷新状态时显示的内容<br><p>
    +	支持以下属性:
    +	caption:在下拉可刷新状态时下拉刷新控件上显示的标题内容。
    +						</p>
    +</li>
    +<li>contentover: <em>(<font class="type">JSON</font>
    +	类型
    +)</em>在释放可刷新状态时显示的内容<br><p>
    +	支持以下属性:
    +	caption:在释放可刷新状态时下拉刷新控件上显示的标题内容。
    +						</p>
    +</li>
    +<li>contentrefresh: <em>(<font class="type">JSON</font>
    +	类型
    +)</em>在正在刷新状态时显示的内容<br><p>
    +	支持以下属性:
    +	caption:在正在刷新状态时下拉刷新控件上显示的标题内容。
    +						</p>
    +</li>
    +</ul>
    +<h1><a name="plus.webview.WebviewRenderedEventOptions">WebviewRenderedEventOptions</a></h1>
    +<p>Webview窗口rendered事件参数</p>
    +<h2>属性:</h2>
    +<ul>
    +<li>type: <em>(<font class="type">String</font>
    +	类型
    +)</em>判断窗口渲染完成类型<br><p>
    +	可取值:
    +	"top"-从顶部向下偏移22px横线截屏检测渲染是否完成;
    +	"bottom"-从底部向上偏移25px横线检测渲染是否完成;
    +	"center"-从中间横线检测渲染是否完成;
    +	"auto"为全屏检测(左、中、右三条竖线)。
    +	默认值为"auto"。
    +						</p>
    +</li>
    +<li>interval: <em>(<font class="type">Number</font>
    +	类型
    +)</em>判断窗口渲染完成间隔时间<br><p>
    +	单位为ms(毫秒),默认值为150ms。
    +						</p>
    +</li>
    +</ul>
    +<h1><a name="plus.webview.WebviewStatusbarStyles">WebviewStatusbarStyles</a></h1>
    +<p>JSON对象,Webview窗口的系统状态栏区域样式</p>
    +<h2>说明:</h2>
    +<p class="des">
    +	仅在应用设置为沉浸式状态栏样式下有效,非沉浸式状态栏样式下忽略此属性。
    +				</p>
    +<h2>属性:</h2>
    +<ul><li>background: <em>(<font class="type">String</font>
    +	类型
    +)</em>系统状态栏区域背景颜色<br><p>
    +	颜色值格式为"#RRGGBB",如"#FF0000"表示为红色背景。
    +	默认值为应用manifest.json中plus-&gt;statusbar-&gt;background属性配置的值,如果未配置此属性值,则使用系统默认状态栏的背景颜色。
    +						</p>
    +</li></ul>
    +<h1><a name="plus.webview.WebviewStyles">WebviewStyles</a></h1>
    +<p>JSON对象,Webview窗口对象的样式</p>
    +<h2>属性:</h2>
    +<ul>
    +<li>cachemode: <em>(<font class="type">String</font>
    +	类型
    +)</em>窗口的缓存模式<br><p>
    +	可取值:
    +	"default" - 根据cache-control决定是否使用缓存数据,如果存在缓存并且没有过期则使用本地缓存资源,否则从网络获取;
    +	"cacheElseNetwork" - 只要存在缓存(即使过期)数据则使用,否则从网络获取;
    +	"noCache" - 不使用缓存数据,全部从网络获取;
    +	"cacheOnly" - 仅使用缓存数据,不从网络获取(注:如果没有缓存数据则会导致加载失败)。
    +	默认使用"default"。	
    +						</p>
    +</li>
    +<li>background: <em>(<font class="type">String</font>
    +	类型
    +)</em>窗口的背景颜色<br><p>
    +	窗口空白区域的背景模式,设置background为颜色值(参考CSS Color Names,可取值/十六进制值/rgb值/rgba值),窗口为独占模式显示(占整个屏幕区域);
    +	设置background为“transparent”,则表示窗口背景透明,为非独占模式。
    +						</p>
    +</li>
    +<li>blockNetworkImage: <em>(<font class="type">Boolean</font>
    +	类型
    +)</em>是否阻塞网络图片的加载<br><p>
    +	布尔类型,true表示阻塞,false表示不阻塞,默认值为false。
    +	阻塞后Webview窗口将不加载页面中使用的所有网络图片,可通过Webview窗口对象的setBlockNetWorkImage()方法动态修改此状态。
    +						</p>
    +</li>
    +<li>bottom: <em>(<font class="type">String</font>
    +	类型
    +)</em>窗口垂直向上的偏移量<br><p>
    +	支持百分比、像素值,默认值无值(根据top和height属性值来自动计算)。
    +	当同时设置了top和height值时,忽略此属性值;
    +	当未设置height值时,可通过top和bottom属性值来确定窗口的高度。
    +						</p>
    +</li>
    +<li>bounce: <em>(<font class="type">String</font>
    +	类型
    +)</em>窗口遇到边框是否有反弹效果<br><p>
    +	可取值:none表示没有反弹效果;vertical表示垂直方向有反弹效果;horizontal表示水平方向有反弹效果;all表示垂直和水平方向都有反弹效果。
    +						</p>
    +</li>
    +<li>bounceBackground: <em>(<font class="type">String</font>
    +	类型
    +)</em>窗口回弹效果区域的背景<br><p>
    +	窗口回弹效果区域背景可支持颜色值或图片:
    +		颜色值格式为"#RRGGBB",如"#FFFFFF"为设置白色背景;
    +		背景图为"url(%image path%)",如"url(./icon.png)"为设置icon.png为背景图,图片采用平铺模式绘制。
    +						</p>
    +</li>
    +<li>decelerationRate: <em>(<font class="type">Number</font>
    +	类型
    +)</em>窗口内容停止滑动的减速度<br><p>
    +	当Webview加载的内容超过其高度时,可以拖拽滑动内容,decelerationRate属性控制手指松开后页面滑动的速度。
    +	设置值越大手指松开后的滑动速度越快(滑动距离越长),其值域范围为0.0-1.0,默认值为0.989。
    +						</p>
    +</li>
    +<li>dock: <em>(<a href="#plus.webview.WebviewDock">WebviewDock</a>
    +	类型
    +)</em>窗口的停靠方式<br><p>
    +	当Webview窗口添加到另外一个窗口中时,停靠方式才会生效,采用停靠方式添加会导致原Webview窗口自动调整其大小避免其内容被子窗口盖住。
    +	可取值:"top",控件停靠则页面顶部;"bottom",控件停靠在页面底部;"right",控件停靠在页面右侧;"left",控件停靠在页面左侧。
    +						</p>
    +</li>
    +<li>errorPage: <em>(<a href="#plus.webview.String">String</a>
    +	类型
    +)</em>窗口加载错误时跳转的页面地址<br><p>
    +	当Webview窗口无法加载指定的url地址时(如本地页面不存在,或者无法访问的网络地址),此时会自动跳转到指定的错误页面地址(仅支持本地页面地址)。
    +	设置为“none”则关闭跳转到错误页面功能,此时页面显示Webview默认的错误页面内容。默认使用5+ Runtime内置的错误页面。
    +						</p>
    +</li>
    +<li>geolocation: <em>(<font class="type">Number</font>
    +	类型
    +)</em>拦截替换原生定位接口<br><p>
    +	当Webview加载的内容超过其高度时,可以拖拽滑动内容,decelerationRate属性控制手指松开后页面滑动的速度。
    +	设置值越大手指松开后的滑动速度越快(滑动距离越长),其值域范围为0.0-1.0,默认值为0.989。
    +						</p>
    +</li>
    +<li>hardwareAccelerated: <em>(<font class="type">Boolean</font>
    +	类型
    +)</em>窗口是否开启硬件加速<br><p>
    +	布尔类型,true表示开启硬件加速,false表示不开启硬件加速,默认情况5+ Runtime会根据设备实际支持情况自动选择是否开启硬件加速,可以通过plus.webview.defaultHardwareAccelerated()方法获取默认Webview是否开启硬件加速。
    +	由于不同设备对硬件加速的支持情况存在差异,开启硬件加速能加速HTML页面的渲染,但也会消耗更多的系统资源,从而导致在部分设备上可能出现闪屏、发虚、分块渲染等问题,因此在特定设备的特定页面如果出现以上问题需要手动设置关闭硬件加速来避免。
    +						</p>
    +</li>
    +<li>height: <em>(<font class="type">String</font>
    +	类型
    +)</em>窗口的高度<br><p>
    +	支持百分比、像素值,默认为100%。
    +	当未设置height属性值时,优先通过top和bottom属性值来计算窗口的高度。
    +						</p>
    +</li>
    +<li>kernel: <em>(<font class="type">String</font>
    +	类型
    +)</em>窗口使用的内核<br><p>
    +	可取值:
    +	"WKWebview" - 在iOS8.0及以上系统使用WKWebview内核,低版本下仍然使用UIWebview内核;
    +    "UIWebview" - 在所有版本上都使用UIWebview内核。
    +    默认值为“UIWebview”。
    +    使用UKWebview内核会有更好的性能,但在功能上有些限制,目前已知的问题有:
    +    1. 不支持设置cookie,即plus.navigator.setCookie() API无法使用;
    +    2. 本地的HTML页面中的XHR不支持跨域访问,需使用plus.net.XMLHttpRequest来替换;
    +    3. 不支持使用WebSQL,需使用indexDB来替换;
    +    4. 不支持js原生混淆功能,需使用前端js混淆来替换。
    +						</p>
    +</li>
    +<li>left: <em>(<font class="type">String</font>
    +	类型
    +)</em>窗口水平向右的偏移量<br><p>
    +	支持百分比、像素值,默认值为0px。
    +	未设置left属性值时,优先通过right和width属性值来计算窗口的left位置。
    +						</p>
    +</li>
    +<li>margin: <em>(<font class="type">String</font>
    +	类型
    +)</em>窗口的边距<br><p>
    +	用于定位窗口的位置,支持auto,auto表示居中。若设置了left、right、top、bottom则对应的边距值失效。
    +						</p>
    +</li>
    +<li>mask: <em>(<font class="type">String</font>
    +	类型
    +)</em>窗口的遮罩<br><p>
    +	用于设置Webview窗口的遮罩层样式,遮罩层会覆盖Webview中所有内容,包括子webview,并且截获webview的所有触屏事件,此时Webview窗口的点击操作会触发maskClick事件。
    +	字符串类型,可取值:
    +	rgba格式字符串,定义纯色遮罩层样式,如"rgba(0,0,0,0.5)",表示黑色半透明;
    +	"none",表示不使用遮罩层;
    +	默认值为"none",即无遮罩层。
    +						</p>
    +</li>
    +<li>navigationbar: <em>(<a href="#plus.webview.WebviewNavigationbarStyles">WebviewNavigationbarStyles</a>
    +	类型
    +)</em>定义窗口创建导航栏控件<br><p>
    +	设置此属性值则表明创建导航栏控件,并可通过其属性值设置背景颜色、文本内容、文本颜色等。
    +						</p>
    +</li>
    +<li>opacity: <em>(<font class="type">Number</font>
    +	类型
    +)</em>窗口的不透明度<br><p>0为全透明,1为不透明,默认值为1,即不透明。</p>
    +</li>
    +<li>popGesture: <em>(<font class="type">String</font>
    +	类型
    +)</em>窗口的侧滑返回功能<br><p>
    +	可取值"none":无侧滑返回功能;"close":侧滑返回关闭Webview窗口;"hide":侧滑返回隐藏webview窗口。
    +						</p>
    +</li>
    +<li>render: <em>(<font class="type">String</font>
    +	类型
    +)</em>窗口渲染模式<br><p>
    +	支持以下属性值:
    +		"onscreen" - Webview窗口在屏幕区可见时渲染,不可见时不进行渲染,此时能减少内存使用量;
    +		"always" - Webview在任何时候都渲染,在内存较大的设备上使用,被遮挡的窗口在此中模式下显示的时候会有更流畅的效果。
    +	默认值为"onscreen"。
    +	仅Android平台支持。
    +						</p>
    +</li>
    +<li>right: <em>(<font class="type">String</font>
    +	类型
    +)</em>窗口水平向左的偏移量<br><p>
    +	支持百分比、像素值,默认无值(根据left和width属性值来自动计算)。
    +	当设置了left和width值时,忽略此属性值;
    +	当未设置width值时,可通过left和bottom属性值来确定窗口的宽度。
    +						</p>
    +</li>
    +<li>scalable: <em>(<font class="type">Boolean</font>
    +	类型
    +)</em>窗口是否可缩放<br><p>
    +	窗口设置为可缩放(scalable:true)时,用户可通过双指操作放大或缩小页面,此时html页面可通过meta节点设置“name="viewport" content="user-scalable=no"”来限制页面不可缩放。
    +	窗口设置为不可缩放(scalable:false)时,用户不可通过双指操作放大或缩小页面,即使页面中的meta节点也无法开启可缩放功能。
    +	默认值为false,即不可缩放。
    +						</p>
    +</li>
    +<li>scrollIndicator: <em>(<font class="type">String</font>
    +	类型
    +)</em>窗口是否显示滚动条<br><p>
    +	用于控制窗口滚动条样式,可取值:
    +	"all":垂直和水平滚动条都显示;
    +	"vertical":仅显示垂直滚动条;
    +	"horizontal":仅显示水平滚动条;
    +	"none":垂直和水平滚动条都不显示。
    +	默认值为"all",即垂直和水平滚动条都显示。
    +	注意:显示滚动条的前提条件是窗口中的内容超过窗口显示的宽或高。
    +						</p>
    +</li>
    +<li>scrollsToTop: <em>(<font class="type">Boolean</font>
    +	类型
    +)</em>点击设备的状态栏时是否滚动返回至顶部<br><p>
    +	true表示点击设备的状态栏可以滚动返回至顶部,false表示点击设备的状态栏不可以,默认值为true。
    +	此功能仅iOS平台支持,在iPhone上有且只有一个Webview窗口的scrollsToTop属性值为true时才生效,所以在显示和关闭Webview窗口时需动态更新所有Webview的scrollsToTop值,已确保此功能生效。
    +						</p>
    +</li>
    +<li>softinputMode: <em>(<font class="type">String</font>
    +	类型
    +)</em>弹出系统软键盘模式<br><p>
    +	可选值:“adjustPan”- 弹出软键盘时Webview窗口自动上移,以保证当前输入框可见;“adjustResize”- 自动调整Webview窗口大小(屏幕区域减去软键盘区域),同时自动滚动Webview保证输入框可见。
    +	默认值为“adjustPan”。
    +						</p>
    +</li>
    +<li>statusbar: <em>(<font class="type">WebviewStatusbarStyles</font>
    +	类型
    +)</em>窗口状态栏样式<br><p>
    +	仅在应用设置为沉浸式状态栏样式下有效,设置此属性后将自动保留系统状态栏区域不被Webview窗口占用(即Webview窗口非沉浸式样式显示)。
    +						</p>
    +</li>
    +<li>top: <em>(<font class="type">String</font>
    +	类型
    +)</em>窗口垂直向下的偏移量<br><p>
    +	支持百分比、像素值,默认值为0px。
    +	未设置top属性值时,优先通过bottom和height属性值来计算窗口的top位置。
    +						</p>
    +</li>
    +<li>transition: <em>(<a href="#plus.webview.WebviewTransition">WebviewTransition</a>
    +	类型
    +)</em>窗口定义窗口变换的动画效果<br>
    +</li>
    +<li>transform: <em>(<a href="#plus.webview.WebviewTransform">WebviewTransform</a>
    +	类型
    +)</em>窗口定义窗口变形效果<br>
    +</li>
    +<li>position: <em>(<a href="#plus.webview.WebviewPosition">WebviewPosition</a>
    +	类型
    +)</em>Webview窗口的排版位置<br><p>
    +	当Webview窗口添加到另外一个窗口中时,排版位置才会生效,排版位置决定子窗口在父窗口中的定位方式。
    +	可取值:"static",控件在页面中正常定位,如果页面存在滚动条则随窗口内容滚动;"absolute",控件在页面中绝对定位,如果页面存在滚动条不随窗口内容滚动;"dock",控件在页面中停靠,停靠的位置由dock属性值决定。
    +	默认值为"absolute"。
    +						</p>
    +</li>
    +<li>videoFullscreen: <em>(<font class="type">String</font>
    +	类型
    +)</em>视频全屏播放时的显示方向<br><p>
    +	可取值:
    +	"auto": 自动适配,如果当前页面竖屏,则竖屏显示;如果当前页面横盘显示,则横屏;如果当前页面自动感应,则自动感应横竖屏切换。
    +	"portrait-primary": 竖屏正方向; 
    +	"portrait-secondary": 竖屏反方向,屏幕正方向按顺时针旋转180°; 
    +	"landscape-primary": 横屏正方向,屏幕正方向按顺时针旋转90°; 
    +	"landscape-secondary": 横屏方向,屏幕正方向按顺时针旋转270°; 
    +	"landscape": 横屏正方向或反方向,根据设备重力感应器自动调整;
    +	默认值为“auto”。
    +						</p>
    +</li>
    +<li>width: <em>(<font class="type">String</font>
    +	类型
    +)</em>窗口的宽度<br><p>
    +	支持百分比、像素值,默认为100%。未设置width属性值时,可同时设置left和right属性值改变窗口的默认宽度。
    +						</p>
    +</li>
    +<li>zindex: <em>(<font class="type">Number</font>
    +	类型
    +)</em>窗口的堆叠顺序值<br><p>
    +	拥有更高堆叠顺序的窗口总是会处于堆叠顺序较低的窗口的前面,拥有相同堆叠顺序的窗口后调用show方法则在前面。
    +						</p>
    +</li>
    +</ul>
    +<h1><a name="plus.webview.WebviewTransform">WebviewTransform</a></h1>
    +<p>一组用于定义页面或控件变形的属性</p>
    +<h1><a name="plus.webview.WebviewTransition">WebviewTransition</a></h1>
    +<p>一组用于定义页面或控件转换效果的属性</p>
    +<h2>属性:</h2>
    +<ul>
    +<li>property: <em>(<font class="type">String</font>
    +	类型
    +)</em>产生变换效果的属性<br><p>
    +	默认值为"all",暂不支持其它值。
    +						</p>
    +</li>
    +<li>duration: <em>(<font class="type">String</font>
    +	类型
    +)</em>变换持续的时间<br><p>
    +	默认值为0,即无动画效果。
    +						</p>
    +</li>
    +<li>timingfunction: <em>(<font class="type">String</font>
    +	类型
    +)</em>窗口变换效果<br><p>
    +	可取值:
    +	"linear":匀速变化,匀速动画效果;
    +	"ease-in":匀加速变化,逐渐变快的动画效果;
    +	"ease-out":匀减速变化,逐渐变慢的动画效果;
    +	"ease-in-out":先加速后减速变化,先变快后变慢的动画效果。
    +	默认值为"ease-in-out"。
    +						</p>
    +</li>
    +</ul>
    +<h1><a name="plus.webview.WebviewOverrideResourceOptions">WebviewOverrideResourceOptions</a></h1>
    +<p>拦截Webview窗口资源请求的参数</p>
    +<h2>属性:</h2>
    +<ul>
    +<li>match: <em>(<font class="type">String</font>
    +	类型
    +)</em>区配需要拦截请求资源的URL地址<br><p>
    +	支持正则表达式,默认值为空字符串(即不拦截)。
    +						</p>
    +</li>
    +<li>redirect: <em>(<font class="type">String</font>
    +	类型
    +)</em>拦截重定向的资源地址<br><p>
    +	仅支持本地资源地址,如"_www"、"_doc"、"_downloads"、"_documents"等开头的路径。
    +						</p>
    +</li>
    +<li>mime: <em>(<font class="type">String</font>
    +	类型
    +)</em>重定向的资源数据类型<br><p>
    +	RFC2045/RFC2046/RFC2047/RFC2048/RFC2049规范中定义的数据类型。
    +	如普通文本(text/plain)、PNG图像(image/png)、GIF图形(image/gif)、JPEG图形(image/jpeg)。
    +	如果未指定mime类型,则根据重定向资源路径自动区配。
    +						</p>
    +</li>
    +<li>encoding: <em>(<font class="type">String</font>
    +	类型
    +)</em>重定向的资源数据编码<br><p>
    +	如未设置,则使用默认值"UTF-8"。
    +						</p>
    +</li>
    +<li>header: <em>(<font class="type">JSON</font>
    +	类型
    +)</em>设置重定向资源数据的http头数据<br><p>
    +	可设置标注http头数据(如Content-type),也可设置自定义数据。
    +	通常可通过此属性来设置拦截资源的缓存策略(如Cache-control)。
    +						</p>
    +</li>
    +</ul>
    +<h1><a name="plus.webview.WebviewOverrideUrlOptions">WebviewOverrideUrlOptions</a></h1>
    +<p>拦截Webview窗口URL请求的属性</p>
    +<h2>属性:</h2>
    +<ul>
    +<li>effect: <em>(<font class="type">String</font>
    +	类型
    +)</em>拦截URL请求生效时机<br><p>
    +	可取值:
    +		"instant" - 表示立即生效,即调用overrideUrlLoading方法后立即生效;
    +		"touchstart" - 表示用户操作Webview窗口(触发touchstart事件)后生效,如果用户没有操作Webview窗口则不对URL请求操作进行拦截处理。
    +	默认值为"instant"。
    +						</p>
    +</li>
    +<li>mode: <em>(<font class="type">String</font>
    +	类型
    +)</em>拦截模式<br><p>
    +	可取值:
    +	"allow"表示满足match属性定义的条件时不拦截url继续加载,不满足match属性定义的条件时拦截url跳转并触发callback回调;
    +	"reject"表示满足match属性定义的提交时拦截url跳转并触发callback回调,不满足match属性定义的条件时不拦截url继续加载。
    +	默认值为"reject"。
    +						</p>
    +</li>
    +<li>match: <em>(<font class="type">String</font>
    +	类型
    +)</em>区配是否需要处理的URL请求<br><p>
    +	支持正则表达式,默认值为对所有URL地址生效(相当于正则表达式“.*”)。
    +	如果mode值为"allow"则允许区配的URL请求跳转,mode值为"reject"则拦截区配的URL请求。
    +						</p>
    +</li>
    +<li>exclude: <em>(<font class="type">String</font>
    +	类型
    +)</em>排除拦截处理请求类型<br><p>
    +	不拦截处理指定类型的URL请求,直接使用系统默认处理逻辑。
    +	可取值:
    +	"none"表示不排除任何URL请求(即拦截处理所有URL请求);
    +	"redirect"表示排除拦截处理301/302跳转的请求(谨慎使用,非a标签的href触发的URL请求可能会误判断为302跳转)。
    +	默认值为"none"。
    +						</p>
    +</li>
    +</ul>
    +<h1><a name="plus.webview.WebviewListenResourceOptions">WebviewListenResourceOptions</a></h1>
    +<p>监听Webview窗口资源加载的属性</p>
    +<h2>属性:</h2>
    +<ul><li>match: <em>(<font class="type">String</font>
    +	类型
    +)</em>区配是否需要处理的URL资源<br><p>
    +	支持正则表达式,默认值为对所有URL资源请求生效(相当于正则表达式“.*”)。
    +	如果Webview加载的资源区配条件,则触发回调事件。
    +						</p>
    +</li></ul>
    +<h1><a name="plus.webview.BounceEventCallback">BounceEventCallback</a></h1>
    +<p>Webview窗口回弹事件的回调函数</p>
    +<pre class="prettyprint linenums">
    +void onEvent( Event event ){
    +	// Event handled code.
    +}
    +				</pre>
    +<h2>参数:</h2>
    +<ul><li>event: 
    +		<em>(
    +			<font class="type">Event</font>
    +			)
    +			必选 </em>Webview窗口回弹事件触发时事件数据<br>
    +	Event对象包含以下属性:
    +	status - 表示回弹位置状态,设置顶部下拉回弹changeoffset属性后可取值:"beforeChangeOffset"表示可继续拖拽,此时松开拖拽窗口会回弹到其初始位置;
    +			"afterChangeOffset"表示回弹可停靠,此时松开拖拽窗口会回弹到停靠位置;
    +			"dragEndAfterChangeOffset"表示已进松开拖拽,并且窗口回弹到停靠位置。
    +			设置左右侧侧滑slideoffset属性后可取值:"beforeSlide"表示未侧滑状态;"afterSlide"表示已侧滑状态。
    +	offset - 表示回弹方向,可取值:"left"表示左侧滑动,"right"表示右侧滑动,"top"表示上侧下拉滑动。
    +	target - 保存触发回弹此事件的Webview窗口对象。
    +						</li></ul>
    +<h2>返回值:</h2>
    +<font class="type">void</font>
    +			: 无<h1><a name="plus.webview.EventCallback">EventCallback</a></h1>
    +<p>Webview窗口事件的回调函数</p>
    +<pre class="prettyprint linenums">
    +void onEvent(Event event){
    +	// Event handled code.
    +}
    +				</pre>
    +<h2>参数:</h2>
    +<ul><li>event: 
    +		<em>(
    +			<font class="type">Event</font>
    +			)
    +			必选 </em>Webview窗口事件触发时事件数据<br>
    +	Event对象包含以下属性:
    +		target:保存触发此事件的Webview窗口对象;
    +		progress:保存窗口页面加载进度,仅"progressChanged"事件时有此属性。
    +						</li></ul>
    +<h2>返回值:</h2>
    +<font class="type">void</font>
    +			: 无<h1><a name="plus.webview.PopGestureCallback">PopGestureCallback</a></h1>
    +<p>Webview窗口侧滑事件的回调函数</p>
    +<pre class="prettyprint linenums">
    +void onEvent( PopGestureEvent event ){
    +	// Event handled code.
    +}
    +				</pre>
    +<h2>参数:</h2>
    +<ul><li>event: 
    +		<em>(
    +			<a href="#plus.webview.PopGestureEvent">PopGestureEvent</a>
    +			)
    +			必选 </em>Webview窗口事件触发时事件数据<br>
    +	PopGestureEvent对象包含以下属性:
    +		target:保存侧滑操作的Webview窗口对象。
    +		type:保存侧滑事件类型,"start"表示开始侧滑返回,用户按下滑动时触发;
    +		“end”表示结束侧滑返回,用户松手时触发;
    +		“move"表示侧滑返回动作结束,用户移动侧滑时触发。
    +		result:保存操作结果,仅在e.type为end时有效,boolean类型,
    +		true表示侧滑返回执行,false表示侧滑返回取消;否则为undefined。
    +		progress:保存侧滑位置,Number类型,可带小数点,范围为0-100。
    +						</li></ul>
    +<h2>返回值:</h2>
    +<font class="type">void</font>
    +			: 无<h1><a name="plus.webview.HistoryQueryCallback">HistoryQueryCallback</a></h1>
    +<p>历史记录查询的回调函数</p>
    +<pre class="prettyprint linenums">
    +void onHistoryQuery( Event event ) {
    +	// Event handled code.
    +	var canBack = event.canBack;
    +	var canForward = event.canForward;
    +}
    +				</pre>
    +<h2>参数:</h2>
    +<ul><li>event: 
    +		<em>(
    +			<font class="type">Event</font>
    +			)
    +			必选 </em>查询Webview窗口历史记录操作事件数据<br>
    +	可通过event的canBack属性获取Webview窗口是否可后退,通过event的canForward属性获取Webview窗口是否可前进。
    +						</li></ul>
    +<h2>返回值:</h2>
    +<font class="type">void</font>
    +			: 无<h1><a name="plus.webview.ListenResourceLoadingCallback">ListenResourceLoadingCallback</a></h1>
    +<p>Webview窗口加载资源事件的回调函数</p>
    +<pre class="prettyprint linenums">
    +void onLoadingResource( Event event ) {
    +	// Event handled code.
    +	var url = event.url;
    +}
    +				</pre>
    +<h2>参数:</h2>
    +<ul><li>event: 
    +		<em>(
    +			<font class="type">Event</font>
    +			)
    +			必选 </em>Webview窗口加载资源事件数据<br>
    +	可通过event的url属性获取要加载的资源URL地址。
    +						</li></ul>
    +<h2>返回值:</h2>
    +<font class="type">void</font>
    +			: 无<h1><a name="plus.webview.OverrideUrlLoadingCallback">OverrideUrlLoadingCallback</a></h1>
    +<p>Webview窗口拦截URL链接跳转的回调函数</p>
    +<pre class="prettyprint linenums">
    +void onOverride( Event event ) {
    +	// Event handled code.
    +	var url = event.url;
    +}
    +				</pre>
    +<h2>参数:</h2>
    +<ul><li>event: 
    +		<em>(
    +			<font class="type">Event</font>
    +			)
    +			必选 </em>Webview窗口拦截URL跳转事件数据<br>
    +	可通过event的url属性获取拦截的URL地址。
    +						</li></ul>
    +<h2>返回值:</h2>
    +<font class="type">void</font>
    +			: 无<h1><a name="plus.webview.TitleUpdateCallback">TitleUpdateCallback</a></h1>
    +<p>Webview窗口加载页面标题更新的回调函数</p>
    +<pre class="prettyprint linenums">
    +void onQuery( Event event ) {
    +	// Event handled code.
    +}
    +				</pre>
    +<h2>参数:</h2>
    +<ul><li>event: 
    +		<em>(
    +			<font class="type">Event</font>
    +			)
    +			必选 </em>Webview窗口加载页面标题更新事件数据<br>
    +	可通过event的title属性获取Webview窗口的标题。
    +						</li></ul>
    +<h2>返回值:</h2>
    +<font class="type">void</font>
    +			: 无<h1><a name="plus.webview.WebviewAnimationCallback">WebviewAnimationCallback</a></h1>
    +<p>Webview窗口组合动画回调函数</p>
    +<pre class="prettyprint linenums">
    +void onAnimationFinished( Event event ) {
    +	// Event handled code.
    +}
    +				</pre>
    +<h2>参数:</h2>
    +<ul><li>event: 
    +		<em>(
    +			<font class="type">Event</font>
    +			)
    +			必选 </em>Webview窗口动画完成事件数据<br>
    +	可通过event的id属性获取对应Webview窗口的标识,如果操作的窗口未设置id,则返回空字符串;
    +	可通过event的target属性获取对应Webview窗口对象。
    +						</li></ul>
    +<h2>返回值:</h2>
    +<font class="type">void</font>
    +			: 无<h1><a name="plus.webview.WebviewDragCallback">WebviewDragCallback</a></h1>
    +<p>Webview窗口滑屏操作事件回调函数</p>
    +<pre class="prettyprint linenums">
    +void onDrag( Event event ) {
    +	// Event handled code.
    +}
    +				</pre>
    +<h2>说明:</h2>
    +<p class="des">
    +	在窗口开始滑动、滑动过程、滑动结束时触发,其中滑动过程中会触发多次,滑动过程中触发次数由WebviewDragOptions对象的callbackStep决定。
    +				</p>
    +<h2>参数:</h2>
    +<ul><li>event: 
    +		<em>(
    +			<a href="#plus.webview.WebviewDragEvent">WebviewDragEvent</a>
    +			)
    +			必选 </em>Webview窗口滑动操作事件数据<br>
    +</li></ul>
    +<h2>返回值:</h2>
    +<font class="type">void</font>
    +			: 无<h1><a name="plus.webview.SuccessCallback">SuccessCallback</a></h1>
    +<p>Webview窗口操作成功回调函数</p>
    +<pre class="prettyprint linenums">
    +void onSuccess(){
    +	// Success code.
    +}
    +				</pre>
    +<h2>说明:</h2>
    +<p class="des">
    +	Webview窗口业务操作成功后触发回调函数。
    +				</p>
    +<h2>参数:</h2>
    +<p>无</p>
    +<h2>返回值:</h2>
    +<font class="type">void</font>
    +			: 无<h1><a name="plus.webview.ErrorCallback">ErrorCallback</a></h1>
    +<p>Webview窗口操作失败回调函数</p>
    +<pre class="prettyprint linenums">
    +void onError(error){
    +	// Handle the error
    +	var code = error.code; // 错误编码
    +	var message = error.message; // 错误描述信息
    +}
    +				</pre>
    +<h2>参数:</h2>
    +<ul><li>error: 
    +		<em>(
    +			<font class="type">Exception</font>
    +			)
    +			可选 </em>Webview窗口操作错误信息<br>
    +	可通过error.code(Number类型)获取错误编码;
    +	可通过error.message(String类型)获取错误描述信息。
    +						</li></ul>
    +<h2>返回值:</h2>
    +<font class="type">void</font>
    +			: 无<br><br>
    +</div></body>
    +</html>
    diff --git a/fangija-zsyf/doc/xhr.html b/fangija-zsyf/doc/xhr.html
    new file mode 100644
    index 0000000..32241fb
    --- /dev/null
    +++ b/fangija-zsyf/doc/xhr.html
    @@ -0,0 +1,172 @@
    +<!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>Hello H5+</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.net">net</a></h1>
    +<p>XMLHttpRequest模块管理网络请求,与标准HTML中的XMLHttpRequest用途一致,差别在于前者可以进行跨域访问。通过plus.net可获取网络请求管理对象。</p>
    +<h2>对象:</h2>
    +<ul>
    +<li>
    +<a href="#plus.net.XMLHttpRequest">XMLHttpRequest</a>: 跨域网络请求对象</li>
    +<li>
    +<a href="#plus.net.ProgressEvent">ProgressEvent</a>: HTTP请求进度事件</li>
    +</ul>
    +<h2>回调方法:</h2>
    +<ul>
    +<li>
    +<a href="#plus.net.XhrStateChangeCallback">XhrStateChangeCallback</a>: 网络请求状态变化的回调函数</li>
    +<li>
    +<a href="#plus.net.XhrProgressEventCallback">XhrProgressEventCallback</a>: 网络请求进度事件的回调函数</li>
    +</ul>
    +<h2>权限:</h2>
    +<p>5+功能模块(permissions)</p>
    +<pre class="prettyprint linenums">
    +{
    +// ...
    +"permissions":{
    +	// ...
    +	"XMLHttpRequest": {
    +		"description": "跨域网络连接"
    +	}
    +}
    +}
    +			</pre>
    +<h1><a name="plus.net.XMLHttpRequest">XMLHttpRequest</a></h1>
    +<p>跨域网络请求对象</p>
    +<h2>构造:</h2>
    +<ul><li>
    +<a href="#plus.net.XMLHttpRequest.XMLHttpRequest()">XMLHttpRequest()</a>: 创建一个XMLHttpRequest 对象,对象创建时不触发任何时间和网络请求,需和open,send方法配合使用。</li></ul>
    +<h2>属性:</h2>
    +<ul>
    +<li>
    +<a href="#plus.net.XMLHttpRequest.readyState">readyState</a>: HTTP 请求的状态</li>
    +<li>
    +<a href="#plus.net.XMLHttpRequest.response">response</a>: 请求从服务器接收到的响应数据</li>
    +<li>
    +<a href="#plus.net.XMLHttpRequest.responseText">responseText</a>: 请求从服务器接收到的响应数据(字符串数据)</li>
    +<li>
    +<a href="#plus.net.XMLHttpRequest.responseType">responseType</a>: 请求响应数据response的类型</li>
    +<li>
    +<a href="#plus.net.XMLHttpRequest.responseXML">responseXML</a>: 请求响应的Document对象</li>
    +<li>
    +<a href="#plus.net.XMLHttpRequest.status">status</a>: 服务器返回的HTTP状态代码</li>
    +<li>
    +<a href="#plus.net.XMLHttpRequest.statusText">statusText</a>: 服务器返回的HTTP状态描述</li>
    +<li>
    +<a href="#plus.net.XMLHttpRequest.timeout">timeout</a>: 请求服务器的超时时间,单位为毫秒(ms)</li>
    +<li>
    +<a href="#plus.net.XMLHttpRequest.withCredentials">withCredentials</a>: 是否支持跨域请求</li>
    +</ul>
    +<h2>方法:</h2>
    +<ul>
    +<li>
    +<a href="#plus.net.XMLHttpRequest.abort">abort</a>: 取消当前响应,关闭连接并且结束任何未决的网络活动</li>
    +<li>
    +<a href="#plus.net.XMLHttpRequest.getAllResponseHeaders">getAllResponseHeaders</a>: 获取HTTP响应头部信息</li>
    +<li>
    +<a href="#plus.net.XMLHttpRequest.getResponseHeader">getResponseHeader</a>: 获取指定的HTTP响应头部的值</li>
    +<li>
    +<a href="#plus.net.XMLHttpRequest.open">open</a>: 初始化HTTP请求参数,例如URL和HTTP方法,但是并不发送请求</li>
    +<li>
    +<a href="#plus.net.XMLHttpRequest.overrideMimeType">overrideMimeType</a>: 重写服务器返回的MIME类型</li>
    +<li>
    +<a href="#plus.net.XMLHttpRequest.send">send</a>: 发送HTTP请求</li>
    +<li>
    +<a href="#plus.net.XMLHttpRequest.setRequestHeader">setRequestHeader</a>: 指定一个HTTP请求的Header</li>
    +</ul>
    +<h2>事件:</h2>
    +<ul>
    +<li>
    +<a href="#plus.net.XMLHttpRequest.onreadystatechange">onreadystatechange</a>: 网络请求状态发生变化事件</li>
    +<li>
    +<a href="#plus.net.XMLHttpRequest.onloadstart">onloadstart</a>: 网络请求开始事件</li>
    +<li>
    +<a href="#plus.net.XMLHttpRequest.onprogress">onprogress</a>: 网络请求传输数据事件</li>
    +<li>
    +<a href="#plus.net.XMLHttpRequest.onabort">onabort</a>: 网络请求取消事件</li>
    +<li>
    +<a href="#plus.net.XMLHttpRequest.onerror">onerror</a>: 网络请求错误事件</li>
    +<li>
    +<a href="#plus.net.XMLHttpRequest.onload">onload</a>: 网络请求成功事件</li>
    +<li>
    +<a href="#plus.net.XMLHttpRequest.ontimeout">ontimeout</a>: 网络请求超时事件</li>
    +<li>
    +<a href="#plus.net.XMLHttpRequest.onloadend">onloadend</a>: 网络请求结束事件</li>
    +</ul>
    +<h1><a name="plus.net.ProgressEvent">ProgressEvent</a></h1>
    +<p>HTTP请求进度事件</p>
    +<pre class="prettyprint linenums">
    +interface ProgressEvent : Event {
    +    readonly attribute XMLHttpRequest target;
    +    readonly attribute Boolean lengthComputable;
    +    readonly attribute Number loaded;
    +    readonly attribute Number total;
    +};
    +				</pre>
    +<h2>属性:</h2>
    +<ul>
    +<li>target: <em>(<a href="#plus.net.XMLHttpRequest">XMLHttpRequest</a>
    +	类型
    +)</em>事件的目标对象<br><p>
    +	通知HTTP请求进度事件的XMLHttpRequest对象。
    +						</p>
    +</li>
    +<li>lengthComputable: <em>(<font class="type">Number</font>
    +	类型
    +)</em>进度信息是否可计算<br><p>
    +	HTTP请求进度信息是否有效,如果HTTP请求头中包含Content-Length头信息则为true,否则为false。
    +						</p>
    +</li>
    +<li>loaded: <em>(<font class="type">XMLHttpRequest</font>
    +	类型
    +)</em>当前已经接收到的数据长度<br><p>
    +	HTTP请求接收到的数据长度,单位为字节。
    +						</p>
    +</li>
    +<li>total: <em>(<font class="type">XMLHttpRequest</font>
    +	类型
    +)</em>总数据长度<br><p>
    +	HTTP请求返回的总数据长度,单位为字节。
    +	如果无法获取则设置为0。
    +						</p>
    +</li>
    +</ul>
    +<h1><a name="plus.net.XhrStateChangeCallback">XhrStateChangeCallback</a></h1>
    +<p>网络请求状态变化的回调函数</p>
    +<pre class="prettyprint linenums">
    +void onSuccess() {
    +	// State changed code.
    +}
    +				</pre>
    +<h2>参数:</h2>
    +<p>无</p>
    +<h2>返回值:</h2>
    +<font class="type">void</font>
    +			: 无<h1><a name="plus.net.XhrProgressEventCallback">XhrProgressEventCallback</a></h1>
    +<p>网络请求进度事件的回调函数</p>
    +<pre class="prettyprint linenums">
    +void onProgressEvent( ProgressEvent event ) {
    +	// Progress changed code.
    +}
    +				</pre>
    +<h2>参数:</h2>
    +<ul><li>event: 
    +		<em>(
    +			<a href="#plus.net.ProgressEvent">ProgressEvent</a>
    +			)
    +			必选 </em>HTTP请求进度事件<br>
    +</li></ul>
    +<h2>返回值:</h2>
    +<font class="type">void</font>
    +			: 无<br><br>
    +</div></body>
    +</html>
    diff --git a/fangija-zsyf/doc/zip.html b/fangija-zsyf/doc/zip.html
    new file mode 100644
    index 0000000..3a50fe5
    --- /dev/null
    +++ b/fangija-zsyf/doc/zip.html
    @@ -0,0 +1,227 @@
    +<!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>Hello H5+</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.zip">zip</a></h1>
    +<p>Zip模块管理文件压缩和解压,通过plus.zip可获取压缩管理对象。</p>
    +<h2>方法:</h2>
    +<ul>
    +<li>
    +<a href="#plus.zip.compress">compress</a>: 压缩生成Zip文件</li>
    +<li>
    +<a href="#plus.zip.decompress">decompress</a>: 解压缩Zip文件</li>
    +<li>
    +<a href="#plus.zip.compressImage">compressImage</a>: 图片压缩转换</li>
    +</ul>
    +<h2>对象:</h2>
    +<ul>
    +<li>
    +<a href="#plus.zip.CompressImageOptions">CompressImageOptions</a>: JSON对象,配置图片压缩转换的参数</li>
    +<li>
    +<a href="#plus.zip.ClipImageOptions">ClipImageOptions</a>: JSON对象,图片裁剪区域的参数</li>
    +</ul>
    +<h2>回调方法:</h2>
    +<ul>
    +<li>
    +<a href="#plus.zip.CompressImageSuccessCallback">CompressImageSuccessCallback</a>: 图片压缩转换操作成功回调接口</li>
    +<li>
    +<a href="#plus.zip.ZipSuccessCallback">ZipSuccessCallback</a>: 操作成功回调函数接口,在解压Zip文件或压缩成Zip文件成功时调用</li>
    +<li>
    +<a href="#plus.zip.ZipErrorCallback">ZipErrorCallback</a>: 操作错误回调函数接口,在解压Zip文件或压缩成Zip文件失败时调用</li>
    +</ul>
    +<h2>权限:</h2>
    +<p>5+功能模块(permissions)</p>
    +<pre class="prettyprint linenums">
    +{
    +// ...
    +"permissions":{
    +	// ...
    +	"Zip": {
    +		"description": "压缩与解压"
    +	}
    +}
    +}
    +			</pre>
    +<h1><a name="plus.zip.CompressImageOptions">CompressImageOptions</a></h1>
    +<p>JSON对象,配置图片压缩转换的参数</p>
    +<h2>说明:</h2>
    +<p class="des">
    +	设置width/height属性则表示需对图片进行缩放转换操作;
    +	设置rotate属性则表示需对图片进行旋转转换操作;
    +	设置clip属性则表示需对图片进行裁剪转换操作;
    +	如同时设置了多个转换操作,则按缩放、旋转、裁剪顺序进行操作。
    +				</p>
    +<h2>属性:</h2>
    +<ul>
    +<li>src: <em>(<font class="type">String</font>
    +	类型
    +)</em>压缩转换原始图片的路径<br><p>
    +	支持以下图片路径:
    +	相对路径 - 相对于当前页面的host位置,如"a.jpg",注意当前页面为网络地址则不支持;
    +	绝对路径 - 系统绝对路径,如Android平台"/storage/sdcard0/Android/data/io.dcloud.HBuilder/.HBuilder/apps/HBuilder/www/a.jpg",iOS平台"/var/mobile/Containers/Data/Application/757966CF-345C-4348-B07F-EEF83CF9A369/Library/Pandora/apps/HBuilder/www/a.png";
    +	相对路径URL(RelativeURL) - 以"_"开头的相对路径,如"_www/a.jpg"、"_doc/b.jpg"、"_documents/c.jpg"、"_downloads/d.jpg";
    +	本地路径URL - 以“file://”开头,后面跟随系统绝对路径。
    +						</p>
    +</li>
    +<li>dst: <em>(<font class="type">String</font>
    +	类型
    +)</em>压缩转换目标图片的路径<br><p>
    +	支持以下图片路径:
    +	绝对路径 - 系统绝对路径,如Android平台"/storage/sdcard0/Android/data/io.dcloud.HBuilder/.HBuilder/apps/HBuilder/doc/a.jpg",iOS平台"/var/mobile/Containers/Data/Application/757966CF-345C-4348-B07F-EEF83CF9A369/Library/Pandora/apps/HBuilder/doc/a.png";
    +	相对路径URL(RelativeURL) - 以"_"开头的相对路径,如"_doc/b.jpg"、"_documents/c.jpg"、"_downloads/d.jpg",注意不支持"_www"开头的路径;
    +	本地路径URL - 以“file://”开头,后面跟随系统绝对路径。
    +	注意:如果设置的路径无权限访问,则返回失败。
    +						</p>
    +</li>
    +<li>overwrite: <em>(<font class="type">Boolean</font>
    +	类型
    +)</em>覆盖生成新文件<br><p>
    +	仅在dst制定的路径文件存在时有效:
    +	true表示覆盖存在的文件;
    +	false表示不覆盖,如果文件存在,则返回失败。
    +	默认值为false。
    +						</p>
    +</li>
    +<li>format: <em>(<font class="type">String</font>
    +	类型
    +)</em>压缩转换后的图片格式<br><p>
    +	支持"jpg"、"png",如果未指定则使用源图片的格式。
    +						</p>
    +</li>
    +<li>quality: <em>(<font class="type">Number</font>
    +	类型
    +)</em>压缩图片的质量<br><p>
    +	取值范围为1-100,1表示使用最低的图片质量(转换后的图片文件最小)、100表示使用最高的图片质量(转换后的图片文件最大);
    +	默认值为50。
    +						</p>
    +</li>
    +<li>width: <em>(<font class="type">String</font>
    +	类型
    +)</em>缩放图片的宽度<br><p>
    +	支持像素值(如"100px")、百分比(如"50%")、自动计算(如"auto",即根据height与源图高的缩放比例计算,若未设置height则使用源图高度);
    +	默认值为"auto"。
    +	注意:若设置了width属性值不合法(如"0px"),则不对图片进行缩放操作。
    +						</p>
    +</li>
    +<li>height: <em>(<font class="type">String</font>
    +	类型
    +)</em>缩放图片的高度<br><p>
    +	支持像素值(如"100px")、百分比(如"50%")、自动计算(如"auto",即根据width与源图宽的缩放比例计算,若未设置width则使用源图高度);
    +	默认值为"auto"。
    +	注意:若设置了height属性值不合法(如"0px"),则不对图片进行缩放操作。
    +						</p>
    +</li>
    +<li>rotate: <em>(<font class="type">Number</font>
    +	类型
    +)</em>旋转图片的角度<br><p>
    +	支持值:90-表示旋转90度;180-表示旋转180度;270-表示旋转270度。
    +	注意:若设置rotate属性值不合法,则不对图片进行旋转操作。
    +						</p>
    +</li>
    +<li>clip: <em>(<a href="#plus.zip.ClipImageOptions">ClipImageOptions</a>
    +	类型
    +)</em>裁剪图片的区域<br><p>
    +	值参考ClipImageOptions定义,若设置clip属性值不合法,则不对图片进行裁剪操作。
    +						</p>
    +</li>
    +</ul>
    +<h1><a name="plus.zip.ClipImageOptions">ClipImageOptions</a></h1>
    +<p>JSON对象,图片裁剪区域的参数</p>
    +<h2>属性:</h2>
    +<ul>
    +<li>top: <em>(<font class="type">String</font>
    +	类型
    +)</em>图片裁剪区域与原图片上边界的偏移距离<br><p>
    +	支持像素值(如"10px")、百分比(如"10%");默认值为"0px"。
    +	注意:如果top值超出原图片高度,则图片裁剪失败。
    +						</p>
    +</li>
    +<li>left: <em>(<font class="type">Stirng</font>
    +	类型
    +)</em>图片裁剪区域与原图片左边界的偏移距离<br><p>
    +	支持像素值(如"10px")、百分比(如"10%");默认值为"0px"。
    +	注意:如果left值超出原图片宽度,则图片裁剪失败。
    +						</p>
    +</li>
    +<li>width: <em>(<font class="type">String</font>
    +	类型
    +)</em>图片裁剪区域的宽度<br><p>
    +	支持像素值(如"100px")、百分比(如"50%")、自动计算(如"auto",即从left位置到图片右边界的宽度);默认值为"auto"。
    +	注意:如果left值加width值超出原图片宽度,则使用"auto"值进行裁剪。
    +						</p>
    +</li>
    +<li>height: <em>(<font class="type">String</font>
    +	类型
    +)</em>图片裁剪区域的高度<br><p>
    +	支持像素值(如"100px")、百分比(如"50%")、自动计算(如"auto",即从top位置到图片下边界的高度);默认值为"auto"。
    +	注意:如果top值加height值超出原图片高度,则使用"auto"值进行裁剪。
    +						</p>
    +</li>
    +</ul>
    +<h1><a name="plus.zip.CompressImageSuccessCallback">CompressImageSuccessCallback</a></h1>
    +<p>图片压缩转换操作成功回调接口</p>
    +<pre class="prettyprint linenums">
    +void onSuccess( Event event ){
    +	// Code here
    +	var target = event.target; // 压缩转换后的图片url路径,以"file://"开头
    +	var size = event.size; // 压缩转换后图片的大小,单位为字节(Byte)
    +	var width = event.width; // 压缩转换后图片的实际宽度,单位为px
    +	var height = event.height; // 压缩转换后图片的实际高度,单位为px
    +}
    +				</pre>
    +<h2>参数:</h2>
    +<ul><li>event: 
    +		<em>(
    +			<font class="type">Event</font>
    +			)
    +			可选 </em>图片压缩转换后的图片信息<br>
    +	可通过event.target(String类型)获取压缩转换后的图片url路径,以"file://"开头,可直接在html页面中通过src属性引用,如Android平台"file:///storage/sdcard0/Android/data/io.dcloud.HBuilder/.HBuilder/apps/HBuilder/doc/a.jpg",iOS平台"file:///var/mobile/Containers/Data/Application/757966CF-345C-4348-B07F-EEF83CF9A369/Library/Pandora/apps/HBuilder/doc/a.png";
    +	可通过event.size(Number类型)获取压缩转换后图片的大小,单位为字节(Byte);
    +	可通过event.width(Number类型)获取压缩转换后的图片的实际宽度,单位为px;
    +	可通过event.height(Number类型)获取压缩转换后的图片的实际高度,单位为px。
    +						</li></ul>
    +<h2>返回值:</h2>
    +<font class="type">void</font>
    +			: 无<h1><a name="plus.zip.ZipSuccessCallback">ZipSuccessCallback</a></h1>
    +<p>操作成功回调函数接口,在解压Zip文件或压缩成Zip文件成功时调用</p>
    +<pre class="prettyprint linenums">
    +void onSuccess(){
    +	// Code here
    +}
    +				</pre>
    +<h2>参数:</h2>
    +<p>无</p>
    +<h2>返回值:</h2>
    +<font class="type">void</font>
    +			: 无<h1><a name="plus.zip.ZipErrorCallback">ZipErrorCallback</a></h1>
    +<p>操作错误回调函数接口,在解压Zip文件或压缩成Zip文件失败时调用</p>
    +<pre class="prettyprint linenums">
    +void onError(error){
    +	// Handle the error
    +	var code = error.code; // 错误编码
    +	var message = error.message; // 错误描述信息
    +}
    +				</pre>
    +<h2>参数:</h2>
    +<ul><li>error: 
    +		<em>(
    +			<font class="type">Exception</font>
    +			)
    +			可选 </em>Zip操作的错误信息<br>
    +	可通过error.code(Number类型)获取错误编码;
    +	可通过error.message(String类型)获取错误描述信息。
    +						</li></ul>
    +<h2>返回值:</h2>
    +<font class="type">void</font>
    +			: 无<br><br>
    +</div></body>
    +</html>
    diff --git a/fangija-zsyf/error.html b/fangija-zsyf/error.html
    new file mode 100644
    index 0000000..7d6f065
    --- /dev/null
    +++ b/fangija-zsyf/error.html
    @@ -0,0 +1,65 @@
    +<!DOCTYPE html>
    +<html>
    +<head>
    +<meta charset="utf-8">
    +<meta http-equiv="X-UA-Compatible" content="IE=edge">
    +<title></title>
    +<meta name="viewport" content="initial-scale=1, maximum-scale=1">
    +<link rel="shortcut icon" href="/favicon.ico">
    +<meta name="apple-mobile-web-app-capable" content="yes">
    +<meta name="apple-mobile-web-app-status-bar-style" content="black">	
    +
    +<link rel="stylesheet" href="css/sm.css">
    +<link rel="stylesheet" href="css/main.css">
    +<link rel="stylesheet" href="css/theme-blue.css">
    +
    +<style>
    +	.contentError img{width:20%;margin-bottom:1.5rem;}
    +	.contentError em{font-size:1rem;color:#8890a4;margin-bottom:0.5rem;}
    +	.contentError p{color:#bac0ce;}
    +	.contentError a{width:50%;margin:0 auto;margin-top:2rem;text-decoration:none;}
    +	.iback {
    +	background: no-repeat center center url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABYCAYAAAADWlKCAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKwwAACsMBNCkkqwAAABZ0RVh0Q3JlYXRpb24gVGltZQAwOS8xMi8xM5w+I3MAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzVxteM2AAACcklEQVR4nO3a0XESURiG4TeO99iBWoGZ+RvADtKBpAPtwBLsANJBrEAs4MyYDmIHSQXkgk0mMLK7ILt8/+F778ici394OGfDsher1Qqn05tTD+A2M4hYBhHLIGIZRCyDiGUQsQwilkHEMohYBhHLIGIZRCyDiGUQsQwilkHEMohYBhHLIGIZRCyDiGUQsQwilkHEMohYb089wNCVUq6Ay+blfUQsTjhOZxc1P9tbSlkAX7b+/C0ifpxgnF5Ve2TtwAD4OvIoe1UlSAsGwPsRR9m76kA6MAD+jjTKQVUF0gMD4HaEUQ6umot6T4ybiJgNP83hVbFDasGACnZIT4yfEXE1wjj/Xeod0hPjDpgNPsyRSguyB8Y0Ih6Gn+g4pQSpFQMSgtSMAclAaseARCDngAFJQM4FAxKAnBMGiH8xLKVMgV89ln6MiPthpxkn6R0SEUvgusfSZSnlsnuZftI75LlSygyYdyx7ZH1s/Rl+ouFKAQIvx9ctMGlZlh4lDQhAcywtqRhF+hqyXfMmT1m/6buasL6mzMaY6dilAoENlLuWZRNgnhEl1ZH1ulLKO9bH16eOpdfqz2K9Lt0Oea75EjilfadAsp2SFgQ2UH53LJ2XUr4PPtARSntkbVfL7+rVgEBvlM/NHQDJUh9Z2zWf/puOZbPhJzm8qkDgBaXt/teHcSY5rOpAAJp/c/vclJSrShDYifKI+NPvVV3U/1VzU3LavFyo/25SPUi2qj2ysmYQsQwilkHEMohYBhHLIGIZRCyDiGUQsQwilkHEMohYBhHLIGIZRCyDiGUQsQwilkHEMohYBhHLIGIZRCyDiGUQsZ4Ak9fPFwUy/HsAAAAASUVORK5CYII=);
    +	background-size: 50px 44px;
    +	}
    +header {
    +	
    +	background: #D74B28;
    +	/*background: -webkit-linear-gradient(top,rgba(215,75,40,1),rgba(215,75,40,0.8));*/
    +	z-index: 9999;
    +	/*border-bottom: 1px solid rgba(215,75,40,0.8);*/
    +	-ms-touch-action: none;
    +}
    +.nvbt {
    +	width:5%;
    +	height:100%;
    +	float:left;
    +	overflow:hidden;
    +	text-overflow:ellipsis;
    +	white-space:nowrap;
    +}
    +</style>
    +
    +</head>
    +
    +<body>
    +
    +<div class="page-group">
    +    <div class="page page-current">
    +       	<header class="bar bar-nav">
    +			<div class="nvbt iback" onclick="back(),plus.nativeUI.closeWaiting();"></div>
    +			<h1 class="title"></h1>
    +		</header>
    +        <div class="content contentError">
    +        	<img src="img/errorInternet.png">
    +        	<em>网络加载异常</em>
    +        	<p>请返回重试或检查网络设置</p>
    +        	<div class="content-block">
    +				<p><a onclick="plus.runtime.restart()" class="button button-big button-round theme">返回重试</a></p>
    +			</div>
    +        </div>
    +    </div>
    +</div>
    +<script type="text/javascript" src="js/common.js" ></script>
    +</body>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/icon.png b/fangija-zsyf/icon.png
    new file mode 100644
    index 0000000..fad0f0e
    Binary files /dev/null and b/fangija-zsyf/icon.png differ
    diff --git a/fangija-zsyf/img/5.jpg b/fangija-zsyf/img/5.jpg
    new file mode 100644
    index 0000000..471d2a5
    Binary files /dev/null and b/fangija-zsyf/img/5.jpg differ
    diff --git a/fangija-zsyf/img/add.png b/fangija-zsyf/img/add.png
    new file mode 100644
    index 0000000..d256952
    Binary files /dev/null and b/fangija-zsyf/img/add.png differ
    diff --git a/fangija-zsyf/img/arecord.png b/fangija-zsyf/img/arecord.png
    new file mode 100644
    index 0000000..246d1b8
    Binary files /dev/null and b/fangija-zsyf/img/arecord.png differ
    diff --git a/fangija-zsyf/img/astop.png b/fangija-zsyf/img/astop.png
    new file mode 100644
    index 0000000..2c0ef6f
    Binary files /dev/null and b/fangija-zsyf/img/astop.png differ
    diff --git a/fangija-zsyf/img/barcode.png b/fangija-zsyf/img/barcode.png
    new file mode 100644
    index 0000000..e842dce
    Binary files /dev/null and b/fangija-zsyf/img/barcode.png differ
    diff --git a/fangija-zsyf/img/errorInternet.png b/fangija-zsyf/img/errorInternet.png
    new file mode 100644
    index 0000000..2a0f94a
    Binary files /dev/null and b/fangija-zsyf/img/errorInternet.png differ
    diff --git a/fangija-zsyf/img/fdir.png b/fangija-zsyf/img/fdir.png
    new file mode 100644
    index 0000000..62a6b3e
    Binary files /dev/null and b/fangija-zsyf/img/fdir.png differ
    diff --git a/fangija-zsyf/img/fdisk.png b/fangija-zsyf/img/fdisk.png
    new file mode 100644
    index 0000000..1501cdc
    Binary files /dev/null and b/fangija-zsyf/img/fdisk.png differ
    diff --git a/fangija-zsyf/img/ffile.png b/fangija-zsyf/img/ffile.png
    new file mode 100644
    index 0000000..032455c
    Binary files /dev/null and b/fangija-zsyf/img/ffile.png differ
    diff --git a/fangija-zsyf/img/fup.png b/fangija-zsyf/img/fup.png
    new file mode 100644
    index 0000000..acc8e93
    Binary files /dev/null and b/fangija-zsyf/img/fup.png differ
    diff --git a/fangija-zsyf/img/h5p.jpg b/fangija-zsyf/img/h5p.jpg
    new file mode 100644
    index 0000000..171105c
    Binary files /dev/null and b/fangija-zsyf/img/h5p.jpg differ
    diff --git a/fangija-zsyf/img/helloh5.jpg b/fangija-zsyf/img/helloh5.jpg
    new file mode 100644
    index 0000000..57e7db0
    Binary files /dev/null and b/fangija-zsyf/img/helloh5.jpg differ
    diff --git a/fangija-zsyf/img/orientationa.png b/fangija-zsyf/img/orientationa.png
    new file mode 100644
    index 0000000..bf2ae47
    Binary files /dev/null and b/fangija-zsyf/img/orientationa.png differ
    diff --git a/fangija-zsyf/img/orientationb.png b/fangija-zsyf/img/orientationb.png
    new file mode 100644
    index 0000000..9a398e5
    Binary files /dev/null and b/fangija-zsyf/img/orientationb.png differ
    diff --git a/fangija-zsyf/img/orientationbg.png b/fangija-zsyf/img/orientationbg.png
    new file mode 100644
    index 0000000..626477a
    Binary files /dev/null and b/fangija-zsyf/img/orientationbg.png differ
    diff --git a/fangija-zsyf/img/orientationc.png b/fangija-zsyf/img/orientationc.png
    new file mode 100644
    index 0000000..7c7dbbd
    Binary files /dev/null and b/fangija-zsyf/img/orientationc.png differ
    diff --git a/fangija-zsyf/img/orientationl.png b/fangija-zsyf/img/orientationl.png
    new file mode 100644
    index 0000000..ab687f6
    Binary files /dev/null and b/fangija-zsyf/img/orientationl.png differ
    diff --git a/fangija-zsyf/img/pull_arrow.png b/fangija-zsyf/img/pull_arrow.png
    new file mode 100644
    index 0000000..aadf69e
    Binary files /dev/null and b/fangija-zsyf/img/pull_arrow.png differ
    diff --git a/fangija-zsyf/img/pull_fresh.png b/fangija-zsyf/img/pull_fresh.png
    new file mode 100644
    index 0000000..1726af6
    Binary files /dev/null and b/fangija-zsyf/img/pull_fresh.png differ
    diff --git a/fangija-zsyf/img/qr.png b/fangija-zsyf/img/qr.png
    new file mode 100644
    index 0000000..a8401a3
    Binary files /dev/null and b/fangija-zsyf/img/qr.png differ
    diff --git a/fangija-zsyf/img/shake/1.jpg b/fangija-zsyf/img/shake/1.jpg
    new file mode 100644
    index 0000000..bbbef2d
    Binary files /dev/null and b/fangija-zsyf/img/shake/1.jpg differ
    diff --git a/fangija-zsyf/img/shake/2.jpg b/fangija-zsyf/img/shake/2.jpg
    new file mode 100644
    index 0000000..c9843aa
    Binary files /dev/null and b/fangija-zsyf/img/shake/2.jpg differ
    diff --git a/fangija-zsyf/img/shake/3.jpg b/fangija-zsyf/img/shake/3.jpg
    new file mode 100644
    index 0000000..3c29745
    Binary files /dev/null and b/fangija-zsyf/img/shake/3.jpg differ
    diff --git a/fangija-zsyf/img/shake/4.jpg b/fangija-zsyf/img/shake/4.jpg
    new file mode 100644
    index 0000000..d00db26
    Binary files /dev/null and b/fangija-zsyf/img/shake/4.jpg differ
    diff --git a/fangija-zsyf/img/shakedown.png b/fangija-zsyf/img/shakedown.png
    new file mode 100644
    index 0000000..92b9318
    Binary files /dev/null and b/fangija-zsyf/img/shakedown.png differ
    diff --git a/fangija-zsyf/img/shakeup.png b/fangija-zsyf/img/shakeup.png
    new file mode 100644
    index 0000000..ec36b52
    Binary files /dev/null and b/fangija-zsyf/img/shakeup.png differ
    diff --git a/fangija-zsyf/img/ui.png b/fangija-zsyf/img/ui.png
    new file mode 100644
    index 0000000..23d6a54
    Binary files /dev/null and b/fangija-zsyf/img/ui.png differ
    diff --git a/fangija-zsyf/img/waiting.png b/fangija-zsyf/img/waiting.png
    new file mode 100644
    index 0000000..ee9e2fc
    Binary files /dev/null and b/fangija-zsyf/img/waiting.png differ
    diff --git a/fangija-zsyf/index.html b/fangija-zsyf/index.html
    new file mode 100644
    index 0000000..75732b9
    --- /dev/null
    +++ b/fangija-zsyf/index.html
    @@ -0,0 +1,1178 @@
    +<!DOCTYPE html>
    +<html>
    +	<head>
    +		<meta charset="utf-8"/>
    +		<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    +		<meta name="misapplication-tap-highlight" content="no"/>
    +		<meta name="HandheldFriendly" content="true"/>
    +		<meta name="MobileOptimized" content="320"/>
    +		<title>Hello H5+</title>
    +		<script type="text/javascript" src="js/update.js"></script>
    +		<script type="text/javascript" charset="utf-8">
    +//取消浏览器的所有事件,使得active的样式在手机上正常生效
    +document.addEventListener('touchstart',function(){
    +    return false;
    +},true);
    +// 禁止选择
    +document.oncontextmenu=function(){
    +	return false;
    +};
    +// H5 plus事件处理
    +var as='pop-in';// 默认窗口动画
    +function plusReady(){
    +	// 隐藏滚动条
    +	plus.webview.currentWebview().setStyle({scrollIndicator:'none'});
    +	// Android处理返回键
    +	plus.key.addEventListener('backbutton',function(){
    +		('iOS'==plus.os.name)?plus.nativeUI.confirm('确认退出?', function(e){
    +			if(e.index>0){
    +				plus.runtime.quit();
    +			}
    +		}, 'HelloH5', ['取消','确定']):(confirm('确认退出?')&&plus.runtime.quit());
    +	},false);
    +	compatibleAdjust();
    +}
    +if(window.plus){
    +	plusReady();
    +}else{
    +	document.addEventListener('plusready',plusReady,false);
    +}
    +// DOMContentLoaded事件处理
    +var _domReady=false;
    +document.addEventListener('DOMContentLoaded',function(){
    +	_domReady=true;
    +	compatibleAdjust();
    +},false);
    +// 兼容性样式调整
    +var _adjust=false;
    +function compatibleAdjust(){
    +	if(_adjust||!window.plus||!_domReady){
    +		return;
    +	}
    +	_adjust=true;
    +	// iOS平台特效
    +	if('iOS'==plus.os.name){
    +		document.getElementById('content').className='scontent';	// 使用div的滚动条
    +		if(navigator.userAgent.indexOf('StreamApp')>=0){	// 在流应用模式下显示返回按钮
    +			document.getElementById('back').style.visibility='visible';
    +		}
    +	}
    +	// 预创建二级窗口
    +//	preateWebviews();
    +	// 关闭启动界面
    +		plus.navigator.setStatusBarBackground('#D74B28');
    +	setTimeout(function(){
    +		plus.navigator.closeSplashscreen();
    +	},200);
    +}
    +// 处理点击事件
    +var _openw=null;
    +/**
    + * 点击打开新窗口
    + * @param {Object} id	加载的页面地址,也用作窗口标识
    + * @param {Object} a	页面动画内心,默认使用全局as设置的值
    + * @param {Object} s	是否不显示窗口
    + */
    +function clicked(id,a,s){
    +	if(_openw){return;}
    +	a||(a=as);
    +	_openw=preate[id];
    +	if(_openw){
    +		_openw.showded=true;
    +		_openw.show(a,null,function(){
    +			_openw=null;//避免快速点击打开多个页面
    +		});
    +	}else{
    +//		var wa=plus.nativeUI.showWaiting();
    +//		_openw=plus.webview.create(id,id,{scrollIndicator:'none',scalable:false,popGesture:'hide'},{preate:true});//复用二级页面
    +		_openw=plus.webview.create(id,id,{scrollIndicator:'none',scalable:false,popGesture:'close'});
    +		preate[id]=_openw;
    +		_openw.addEventListener('loaded',function(){//叶面加载完成后才显示
    +//		setTimeout(function(){//延后显示可避免低端机上动画时白屏
    +//			wa.close();
    +			_openw.showded=true;
    +			s||_openw.show(a,null,function(){
    +				_openw=null;//避免快速点击打开多个页面
    +			});
    +			s&&(_openw=null);//避免s模式下变量无法重置
    +//		},10);
    +		},false);
    +		_openw.addEventListener('hide',function(){
    +			_openw&&(_openw.showded=true);
    +			_openw=null;
    +		},false);
    +		_openw.addEventListener('close',function(){//页面关闭后可再次打开
    +			_openw=null;
    +			preate[id]&&(preate[id]=null);//兼容窗口的关闭
    +		},false);
    +	}
    +}
    +// 预创建二级页面
    +var preate={};
    +function preateWebviews(){
    +	preateWebivew('plus/webview.html');
    +	var plist=document.getElementById('plist').children;
    +	// 由于启动是预创建过多Webview窗口会消耗较长的时间,所以这里限制仅创建5个
    +	for( var i=0;i<plist.length&&i<2;i++){
    +		var id=plist[i].id;
    +		id&&(id.length>0)&&preateWebivew(id);
    +	}
    +}
    +function preateWebivew(id){
    +	if(!preate[id]){
    +		var w=plus.webview.create(id,id,{scrollIndicator:'none',scalable:false,popGesture:'hide'},{preate:true});
    +		preate[id]=w;
    +		w.addEventListener('close',function(){//页面关闭后可再次打开
    +			_openw=null;
    +			preate[id]&&(preate[id]=null);//兼容窗口的关闭
    +		},false);
    +	}
    +}
    +// 清除预创建页面(仅)
    +function preateClear(){
    +	for(var p in preate){
    +		var w=preate[p];
    +		if(w&&w.showded&&!w.isVisible()){
    +			w.close();
    +			preate[p]=null;
    +		}
    +	}
    +}
    +		</script>
    +		<link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8"/>
    +		<style type="text/css">
    +li {
    +	padding:0.8em;
    +	border-bottom:1px solid #eaeaea;
    +}
    +li:active {
    +	background:#f4f4f4;
    +}
    +.iabout {
    +	background:no-repeat center center url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABYCAYAAAADWlKCAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK6wAACusBgosNWgAAABZ0RVh0Q3JlYXRpb24gVGltZQAwOS8xMi8xM5w+I3MAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzVxteM2AAADkUlEQVR4nO2b63HTQBRGTxj+EyrAVBAzWwBKBYQO0kHcAU4HTgehApwKUArYwa4ApwJwBeGHNuAY2URaSfczuWcmk3jH+xid7N596ej+/h5HhxfWDXAe40LEcCFiuBAxXIgYLkQMFyKGCxHDhYjhQsRwIWK4EDFciBguRAwXIoYLEcOFiOFCxHAhYrgQMVyIGC5EDBcihgsRw4WI4ULEeGndgKbEGEdAkX7GwMmOry6BBVAC8xDCz/5bl8/RodztjTEWwAT40LKIG2AWQii7alMfyAuJMY6BGfC+oyJvgamqGGkhMcYZcNFT8VchhElPZbdGUkiM8Zhq7N8VH7piCRRK8UVulpWGqJL+ZZDqWKQ6JZDqIalnLIA3GcUs0+8mQmV6iloPKWkv4zPwOoQwDiGMgVNg/cS8J6luc2R6SGYAvw0hFDVlzmk2TTYP9BI9JK0xcmZTsx3pq4blXFjHEwkhwLSncs9a5NkldxDMh6zUO75mFvMoKKfJwTXtV/WnVgtHhb2sLsbsE2AVY1ykz7mr+glGQd60h6T/5B9mDdjP2xDCauhKrWNImzF+KAqLSq2FFMb176OwqNRaSFdTzDvgkmqYOaJaFOZiMv21Duq5+1VrYBJCuN5MDCGUMcbMogfZS/sL6x6SwyUw2pYBvycLB8khCllTrROmwPGOh18M2qIOOUQh58AorTm+Uz/WF0M2qEusY0gbvmx+2LGiLgZpSQ8cYg/Z5HY7IQ1hJgG5C6yFLP/9lb0satKKzDIfyG1bK6yF1D3QJpQ1aV2t/nPb1gprIWUP+YvMMveV3TuHLGS5fQaebjXmnMdvMu+onEaYCkm7qTcts5c1aaONv6+oztnbcGN14cG6h0D7E7qyJm1F2tOiOoVsux9ldmpofmIIEGMsaX6otPO8Ip2Lz2k3fNVemBgKlYXhBPjWJEOdjLQGmQCfMtoyzcibjUQPgVbXgD6GEOYp7zHVlsqEvKBufg1IRghA2p966ip7zZ+1Qhc345fpgp0pCkF9k4Knr5BfUYnoQsYdIvtfUkLSVPOc6gENxRI4U7jXC2JD1gPP+XUESSEPPMcXdqSGrG3SAzulZps9g1vgnaIMEO8hm/hLn6Kk+HJGs9eiS4tbiG04OCH/O9Ix5DniQsRwIWK4EDFciBguRAwXIoYLEcOFiOFCxHAhYrgQMVyIGC5EDBcihgsRw4WI4ULEcCFiuBAxfgHyQw1G9FJgWwAAAABJRU5ErkJggg==);
    +	background-size:50px 44px;
    +}
    +.item {
    +	display:block;
    +	background:no-repeat right center url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAsCAYAAAB/nHhDAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKwwAACsMBNCkkqwAAABZ0RVh0Q3JlYXRpb24gVGltZQAwNC8yOC8xMqLz6JEAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzVxteM2AAABJ0lEQVRYhe3Wv6rCMBQG8C/VN1AEd3HSzuYO3jr4knkY0UE62xTBcp9A8A0uHhc72CZp/lQQyZmT7xfSJKeMiPDOSt6aHoEIRKAbkLKioqiCrroWkLKi+51ARAhBlEAdXlcI0gLK8u8lPBRpAYvFjCUJUw72QZRbtFzOe0O0H7kvxHhM83yfhiJdF+2c5/utCTmdLnS93rQQs2mZQogN59lOdbrqmk7HmExGrZVYAU9kzXl2cEWsgSfys1r9Hk1TmogTAABFcTFOaQJOr6mUlVO4E9B8n2zCrQHfcAAYmoKFEAPOs39dOGMMaTpXX5J6jGlTTSu3CQcsGk5IuBboK1wJ6BqOT7gS0DUcn3AlALR7gW84YHGKiOAd3gn0UV/+6xiBCHwG8AByzMrOPKV7sAAAAABJRU5ErkJggg==);
    +	background-size:12px 22px;
    +	-ms-touch-action:auto;
    +}
    +.chs {
    +	font-size:0.8em;
    +	color:#838383;
    +}
    +		</style>
    +	</head>
    +	<body onselectstart="return false;">
    +		<header id="header">
    +			<div id="back" style="visibility:hidden" class="nvbt iback" onclick="plus.runtime.quit()"></div>
    +			<div class="nvtt">Hello HTML5+</div>
    +			<div class="nvbt iabout" onclick="clicked('about.html','zoom-fade-out',true)"></div>
    +		</header>
    +		<div id="content" class="content">
    +		<ul id="plist" style="list-style:none;margin:0;padding:0;text-align:left;">
    +			<li id="plus/accelerometer.html" onclick="clicked(this.id)">
    +				<span class="item">Accelerometer
    +					<div class="chs">加速度传感器</div>
    +				</span>
    +			</li>
    +			<li id="plus/audio.html" onclick="clicked(this.id)">
    +				<span class="item">Audio
    +					<div class="chs">音频录制/播放</div>
    +				</span>
    +			</li>
    +			<li id="plus/barcode.html" onclick="clicked(this.id)">
    +				<span class="item">Barcode
    +					<div class="chs">二维码扫描</div>
    +				</span>
    +			</li>
    +			<li id="plus/camera.html" onclick="clicked(this.id)">
    +				<span class="item">Camera
    +					<div class="chs">摄像头拍照/录像</div>
    +				</span>
    +			</li>
    +			<li id="plus/device.html" onclick="clicked(this.id)">
    +				<span class="item">Device
    +					<div class="chs">设备信息</div>
    +				</span>
    +			</li>
    +			<li id="plus/downloader.html" onclick="clicked(this.id)">
    +				<span class="item">Downloader
    +					<div class="chs">下载管理</div>
    +				</span>
    +			</li>
    +			<li id="plus/events.html" onclick="clicked(this.id)">
    +				<span class="item">Events
    +					<div class="chs">系统事件</div>
    +				</span>
    +			</li>
    +			<li id="plus/file.html" onclick="clicked(this.id)">
    +				<span class="item">File System
    +					<div class="chs">文件系统</div>
    +				</span>
    +			</li>
    +			<li id="plus/gallery.html" onclick="clicked(this.id)">
    +				<span class="item">Gallery
    +					<div class="chs">系统相册</div>
    +				</span>
    +			</li>
    +			<li id="plus/geolocation.html" onclick="clicked(this.id)">
    +				<span class="item">Geolocation
    +					<div class="chs">地理定位</div>
    +				</span>
    +			</li>
    +			<li id="plus/maps.html" onclick="clicked(this.id)">
    +				<span class="item">Maps
    +					<div class="chs">地图</div>
    +				</span>
    +			</li>
    +			<li id="plus/message.html" onclick="clicked(this.id)">
    +				<span class="item">Messaging
    +					<div class="chs">消息通讯</div>
    +				</span>
    +			</li>
    +			<li id="plus/nativeobj.html" onclick="clicked(this.id)">
    +				<span class="item">NativeObj
    +					<div class="chs">原生对象</div>
    +				</span>
    +			</li>
    +			<li id="plus/nativeui.html" onclick="clicked(this.id)">
    +				<span class="item">NativeUI
    +					<div class="chs">原生界面</div>
    +				</span>
    +			</li>
    +			<li id="plus/navigator.html" onclick="clicked(this.id)">
    +				<span class="item">Navigator
    +					<div class="chs">浏览器环境</div>
    +				</span>
    +			</li>
    +			<li id="plus/oauth.html" onclick="clicked(this.id)">
    +				<span class="item">OAuth
    +					<div class="chs">授权登录认证</div>
    +				</span>
    +			</li>
    +			<li id="plus/orientation.html" onclick="clicked(this.id)">
    +				<span class="item">Orientation
    +					<div class="chs">方向传感器</div>
    +				</span>
    +			</li>
    +			<li id="plus/payment.html" onclick="clicked(this.id)">
    +				<span class="item">Payment
    +					<div class="chs">支付</div>
    +				</span>
    +			</li>
    +			<li id="plus/proximity.html" onclick="clicked(this.id)">
    +				<span class="item">Proximity
    +					<div class="chs">距离传感器</div>
    +				</span>
    +			</li>
    +			<li id="plus/push.html" onclick="clicked(this.id)">
    +				<span class="item">Push
    +					<div class="chs">消息推送</div>
    +				</span>
    +			</li>
    +			<li id="plus/runtime.html" onclick="clicked(this.id)">
    +				<span class="item">Runtime
    +					<div class="chs">运行环境</div>
    +				</span>
    +			</li>
    +			<li id="plus/share.html" onclick="clicked(this.id)">
    +				<span class="item">Share
    +					<div class="chs">分享</div>
    +				</span>
    +			</li>
    +			<li id="plus/speech.html" onclick="clicked(this.id)">
    +				<span class="item">Speech
    +					<div class="chs">语音识别</div>
    +				</span>
    +			</li>
    +			<li id="plus/statistic.html" onclick="clicked(this.id)">
    +				<span class="item">Statistic
    +					<div class="chs">统计管理</div>
    +				</span>
    +			</li>
    +			<li id="plus/storage.html" onclick="clicked(this.id)">
    +				<span class="item">Storage
    +					<div class="chs">本地数据存储</div>
    +				</span>
    +			</li>
    +			<li id="plus/uploader.html" onclick="clicked(this.id)">
    +				<span class="item">Uploader
    +					<div class="chs">上传管理</div>
    +				</span>
    +			</li>
    +			<li id="plus/webview.html" onclick="clicked(this.id)">
    +				<span class="item">Webview
    +					<div class="chs">窗口管理</div>
    +				</span>
    +			</li>
    +			<li id="plus/xhr.html" onclick="clicked(this.id)">
    +				<span class="item">XMLHttpRequest
    +					<div class="chs">跨域请求</div>
    +				</span>
    +			</li>
    +			<li id="plus/zip.html" onclick="clicked(this.id)">
    +				<span class="item">ZIP
    +					<div class="chs">文件压缩/解压</div>
    +				</span>
    +			</li>
    +			<li id="plus/njs.html" onclick="clicked(this.id)">
    +				<span class="item">Native.JS
    +					<div class="chs">JS调用原生代码</div>
    +				</span>
    +			</li>
    +		</ul>
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="js/immersed.js" ></script>
    +	<script type="text/javascript" src="js/shortcut.js" ></script>
    +	<script type="text/javascript">
    +;(function () {
    +	'use strict';
    +
    +	/**
    +	 * @preserve FastClick: polyfill to remove click delays on browsers with touch UIs.
    +	 *
    +	 * @codingstandard ftlabs-jsv2
    +	 * @copyright The Financial Times Limited [All Rights Reserved]
    +	 * @license MIT License (see LICENSE.txt)
    +	 */
    +
    +	/*jslint browser:true, node:true*/
    +	/*global define, Event, Node*/
    +
    +
    +	/**
    +	 * Instantiate fast-clicking listeners on the specified layer.
    +	 *
    +	 * @constructor
    +	 * @param {Element} layer The layer to listen on
    +	 * @param {Object} [options={}] The options to override the defaults
    +	 */
    +	function FastClick(layer, options) {
    +		var oldOnClick;
    +
    +		options = options || {};
    +
    +		/**
    +		 * Whether a click is currently being tracked.
    +		 *
    +		 * @type boolean
    +		 */
    +		this.trackingClick = false;
    +
    +
    +		/**
    +		 * Timestamp for when click tracking started.
    +		 *
    +		 * @type number
    +		 */
    +		this.trackingClickStart = 0;
    +
    +
    +		/**
    +		 * The element being tracked for a click.
    +		 *
    +		 * @type EventTarget
    +		 */
    +		this.targetElement = null;
    +
    +
    +		/**
    +		 * X-coordinate of touch start event.
    +		 *
    +		 * @type number
    +		 */
    +		this.touchStartX = 0;
    +
    +
    +		/**
    +		 * Y-coordinate of touch start event.
    +		 *
    +		 * @type number
    +		 */
    +		this.touchStartY = 0;
    +
    +
    +		/**
    +		 * ID of the last touch, retrieved from Touch.identifier.
    +		 *
    +		 * @type number
    +		 */
    +		this.lastTouchIdentifier = 0;
    +
    +
    +		/**
    +		 * Touchmove boundary, beyond which a click will be cancelled.
    +		 *
    +		 * @type number
    +		 */
    +		this.touchBoundary = options.touchBoundary || 10;
    +
    +
    +		/**
    +		 * The FastClick layer.
    +		 *
    +		 * @type Element
    +		 */
    +		this.layer = layer;
    +
    +		/**
    +		 * The minimum time between tap(touchstart and touchend) events
    +		 *
    +		 * @type number
    +		 */
    +		this.tapDelay = options.tapDelay || 200;
    +
    +		/**
    +		 * The maximum time for a tap
    +		 *
    +		 * @type number
    +		 */
    +		this.tapTimeout = options.tapTimeout || 700;
    +
    +		if (FastClick.notNeeded(layer)) {
    +			return;
    +		}
    +
    +		// Some old versions of Android don't have Function.prototype.bind
    +		function bind(method, context) {
    +			return function() { return method.apply(context, arguments); };
    +		}
    +
    +
    +		var methods = ['onMouse', 'onClick', 'onTouchStart', 'onTouchMove', 'onTouchEnd', 'onTouchCancel'];
    +		var context = this;
    +		for (var i = 0, l = methods.length; i < l; i++) {
    +			context[methods[i]] = bind(context[methods[i]], context);
    +		}
    +
    +		// Set up event handlers as required
    +		if (deviceIsAndroid) {
    +			layer.addEventListener('mouseover', this.onMouse, true);
    +			layer.addEventListener('mousedown', this.onMouse, true);
    +			layer.addEventListener('mouseup', this.onMouse, true);
    +		}
    +
    +		layer.addEventListener('click', this.onClick, true);
    +		layer.addEventListener('touchstart', this.onTouchStart, false);
    +		layer.addEventListener('touchmove', this.onTouchMove, false);
    +		layer.addEventListener('touchend', this.onTouchEnd, false);
    +		layer.addEventListener('touchcancel', this.onTouchCancel, false);
    +
    +		// Hack is required for browsers that don't support Event#stopImmediatePropagation (e.g. Android 2)
    +		// which is how FastClick normally stops click events bubbling to callbacks registered on the FastClick
    +		// layer when they are cancelled.
    +		if (!Event.prototype.stopImmediatePropagation) {
    +			layer.removeEventListener = function(type, callback, capture) {
    +				var rmv = Node.prototype.removeEventListener;
    +				if (type === 'click') {
    +					rmv.call(layer, type, callback.hijacked || callback, capture);
    +				} else {
    +					rmv.call(layer, type, callback, capture);
    +				}
    +			};
    +
    +			layer.addEventListener = function(type, callback, capture) {
    +				var adv = Node.prototype.addEventListener;
    +				if (type === 'click') {
    +					adv.call(layer, type, callback.hijacked || (callback.hijacked = function(event) {
    +						if (!event.propagationStopped) {
    +							callback(event);
    +						}
    +					}), capture);
    +				} else {
    +					adv.call(layer, type, callback, capture);
    +				}
    +			};
    +		}
    +
    +		// If a handler is already declared in the element's onclick attribute, it will be fired before
    +		// FastClick's onClick handler. Fix this by pulling out the user-defined handler function and
    +		// adding it as listener.
    +		if (typeof layer.onclick === 'function') {
    +
    +			// Android browser on at least 3.2 requires a new reference to the function in layer.onclick
    +			// - the old one won't work if passed to addEventListener directly.
    +			oldOnClick = layer.onclick;
    +			layer.addEventListener('click', function(event) {
    +				oldOnClick(event);
    +			}, false);
    +			layer.onclick = null;
    +		}
    +	}
    +
    +	/**
    +	* Windows Phone 8.1 fakes user agent string to look like Android and iPhone.
    +	*
    +	* @type boolean
    +	*/
    +	var deviceIsWindowsPhone = navigator.userAgent.indexOf("Windows Phone") >= 0;
    +
    +	/**
    +	 * Android requires exceptions.
    +	 *
    +	 * @type boolean
    +	 */
    +	var deviceIsAndroid = navigator.userAgent.indexOf('Android') > 0 && !deviceIsWindowsPhone;
    +
    +
    +	/**
    +	 * iOS requires exceptions.
    +	 *
    +	 * @type boolean
    +	 */
    +	var deviceIsIOS = /iP(ad|hone|od)/.test(navigator.userAgent) && !deviceIsWindowsPhone;
    +
    +
    +	/**
    +	 * iOS 4 requires an exception for select elements.
    +	 *
    +	 * @type boolean
    +	 */
    +	var deviceIsIOS4 = deviceIsIOS && (/OS 4_\d(_\d)?/).test(navigator.userAgent);
    +
    +
    +	/**
    +	 * iOS 6.0-7.* requires the target element to be manually derived
    +	 *
    +	 * @type boolean
    +	 */
    +	var deviceIsIOSWithBadTarget = deviceIsIOS && (/OS [6-7]_\d/).test(navigator.userAgent);
    +
    +	/**
    +	 * BlackBerry requires exceptions.
    +	 *
    +	 * @type boolean
    +	 */
    +	var deviceIsBlackBerry10 = navigator.userAgent.indexOf('BB10') > 0;
    +
    +	/**
    +	 * Determine whether a given element requires a native click.
    +	 *
    +	 * @param {EventTarget|Element} target Target DOM element
    +	 * @returns {boolean} Returns true if the element needs a native click
    +	 */
    +	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) {
    +				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);
    +	};
    +
    +
    +	/**
    +	 * Determine whether a given element requires a call to focus to simulate click into element.
    +	 *
    +	 * @param {EventTarget|Element} target Target DOM element
    +	 * @returns {boolean} Returns true if the element requires a call to focus to simulate native click.
    +	 */
    +	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;
    +			}
    +
    +			// No point in attempting to focus disabled inputs
    +			return !target.disabled && !target.readOnly;
    +		default:
    +			return (/\bneedsfocus\b/).test(target.className);
    +		}
    +	};
    +
    +
    +	/**
    +	 * Send a click event to the specified element.
    +	 *
    +	 * @param {EventTarget|Element} targetElement
    +	 * @param {Event} event
    +	 */
    +	FastClick.prototype.sendClick = function(targetElement, event) {
    +		var clickEvent, touch;
    +
    +		// On some Android devices activeElement needs to be blurred otherwise the synthetic click will have no effect (#24)
    +		if (document.activeElement && document.activeElement !== targetElement) {
    +			document.activeElement.blur();
    +		}
    +
    +		touch = event.changedTouches[0];
    +
    +		// 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.forwardedTouchEvent = true;
    +		targetElement.dispatchEvent(clickEvent);
    +	};
    +
    +	FastClick.prototype.determineEventType = function(targetElement) {
    +
    +		//Issue #159: Android Chrome Select Box does not open with a synthetic click event
    +		if (deviceIsAndroid && targetElement.tagName.toLowerCase() === 'select') {
    +			return 'mousedown';
    +		}
    +
    +		return 'click';
    +	};
    +
    +
    +	/**
    +	 * @param {EventTarget|Element} targetElement
    +	 */
    +	FastClick.prototype.focus = function(targetElement) {
    +		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') {
    +			length = targetElement.value.length;
    +			targetElement.setSelectionRange(length, length);
    +		} else {
    +			targetElement.focus();
    +		}
    +	};
    +
    +
    +	/**
    +	 * Check whether the given target element is a child of a scrollable layer and if so, set a flag on it.
    +	 *
    +	 * @param {EventTarget|Element} targetElement
    +	 */
    +	FastClick.prototype.updateScrollParent = function(targetElement) {
    +		var scrollParent, parentElement;
    +
    +		scrollParent = targetElement.fastClickScrollParent;
    +
    +		// Attempt to discover whether the target element is contained within a scrollable layer. Re-check if the
    +		// target element was moved to another parent.
    +		if (!scrollParent || !scrollParent.contains(targetElement)) {
    +			parentElement = targetElement;
    +			do {
    +				if (parentElement.scrollHeight > parentElement.offsetHeight) {
    +					scrollParent = parentElement;
    +					targetElement.fastClickScrollParent = parentElement;
    +					break;
    +				}
    +
    +				parentElement = parentElement.parentElement;
    +			} while (parentElement);
    +		}
    +
    +		// Always update the scroll top tracker if possible.
    +		if (scrollParent) {
    +			scrollParent.fastClickLastScrollTop = scrollParent.scrollTop;
    +		}
    +	};
    +
    +
    +	/**
    +	 * @param {EventTarget} targetElement
    +	 * @returns {Element|EventTarget}
    +	 */
    +	FastClick.prototype.getTargetElementFromEventTarget = function(eventTarget) {
    +
    +		// On some older browsers (notably Safari on iOS 4.1 - see issue #56) the event target may be a text node.
    +		if (eventTarget.nodeType === Node.TEXT_NODE) {
    +			return eventTarget.parentNode;
    +		}
    +
    +		return eventTarget;
    +	};
    +
    +
    +	/**
    +	 * On touch start, record the position and scroll offset.
    +	 *
    +	 * @param {Event} event
    +	 * @returns {boolean}
    +	 */
    +	FastClick.prototype.onTouchStart = function(event) {
    +		var targetElement, touch, selection;
    +
    +		// Ignore multiple touches, otherwise pinch-to-zoom is prevented if both fingers are on the FastClick element (issue #111).
    +		if (event.targetTouches.length > 1) {
    +			return true;
    +		}
    +
    +		targetElement = this.getTargetElementFromEventTarget(event.target);
    +		touch = event.targetTouches[0];
    +
    +		if (deviceIsIOS) {
    +
    +			// Only trusted events will deselect text on iOS (issue #49)
    +			selection = window.getSelection();
    +			if (selection.rangeCount && !selection.isCollapsed) {
    +				return true;
    +			}
    +
    +			if (!deviceIsIOS4) {
    +
    +				// Weird things happen on iOS when an alert or confirm dialog is opened from a click event callback (issue #23):
    +				// when the user next taps anywhere else on the page, new touchstart and touchend events are dispatched
    +				// with the same identifier as the touch event that previously triggered the click that triggered the alert.
    +				// Sadly, there is an issue on iOS 4 that causes some normal touch events to have the same identifier as an
    +				// immediately preceeding touch event (issue #52), so this fix is unavailable on that platform.
    +				// Issue 120: touch.identifier is 0 when Chrome dev tools 'Emulate touch events' is set with an iOS device UA string,
    +				// which causes all touch events to be ignored. As this block only applies to iOS, and iOS identifiers are always long,
    +				// random integers, it's safe to to continue if the identifier is 0 here.
    +				if (touch.identifier && touch.identifier === this.lastTouchIdentifier) {
    +					event.preventDefault();
    +					return false;
    +				}
    +
    +				this.lastTouchIdentifier = touch.identifier;
    +
    +				// If the target element is a child of a scrollable layer (using -webkit-overflow-scrolling: touch) and:
    +				// 1) the user does a fling scroll on the scrollable layer
    +				// 2) the user stops the fling scroll with another tap
    +				// then the event.target of the last 'touchend' event will be the element that was under the user's finger
    +				// when the fling scroll was started, causing FastClick to send a click event to that layer - unless a check
    +				// is made to ensure that a parent layer was not scrolled before sending a synthetic click (issue #42).
    +				this.updateScrollParent(targetElement);
    +			}
    +		}
    +
    +		this.trackingClick = true;
    +		this.trackingClickStart = event.timeStamp;
    +		this.targetElement = targetElement;
    +
    +		this.touchStartX = touch.pageX;
    +		this.touchStartY = touch.pageY;
    +
    +		// Prevent phantom clicks on fast double-tap (issue #36)
    +		if ((event.timeStamp - this.lastClickTime) < this.tapDelay) {
    +			event.preventDefault();
    +		}
    +
    +		return true;
    +	};
    +
    +
    +	/**
    +	 * Based on a touchmove event object, check whether the touch has moved past a boundary since it started.
    +	 *
    +	 * @param {Event} event
    +	 * @returns {boolean}
    +	 */
    +	FastClick.prototype.touchHasMoved = function(event) {
    +		var touch = event.changedTouches[0], boundary = this.touchBoundary;
    +
    +		if (Math.abs(touch.pageX - this.touchStartX) > boundary || Math.abs(touch.pageY - this.touchStartY) > boundary) {
    +			return true;
    +		}
    +
    +		return false;
    +	};
    +
    +
    +	/**
    +	 * Update the last position.
    +	 *
    +	 * @param {Event} event
    +	 * @returns {boolean}
    +	 */
    +	FastClick.prototype.onTouchMove = function(event) {
    +		if (!this.trackingClick) {
    +			return true;
    +		}
    +
    +		// If the touch has moved, cancel the click tracking
    +		if (this.targetElement !== this.getTargetElementFromEventTarget(event.target) || this.touchHasMoved(event)) {
    +			this.trackingClick = false;
    +			this.targetElement = null;
    +		}
    +
    +		return true;
    +	};
    +
    +
    +	/**
    +	 * Attempt to find the labelled control for the given label element.
    +	 *
    +	 * @param {EventTarget|HTMLLabelElement} labelElement
    +	 * @returns {Element|null}
    +	 */
    +	FastClick.prototype.findControl = function(labelElement) {
    +
    +		// Fast path for newer browsers supporting the HTML5 control attribute
    +		if (labelElement.control !== undefined) {
    +			return labelElement.control;
    +		}
    +
    +		// All browsers under test that support touch events also support the HTML5 htmlFor attribute
    +		if (labelElement.htmlFor) {
    +			return document.getElementById(labelElement.htmlFor);
    +		}
    +
    +		// 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');
    +	};
    +
    +
    +	/**
    +	 * On touch end, determine whether to send a click event at once.
    +	 *
    +	 * @param {Event} event
    +	 * @returns {boolean}
    +	 */
    +	FastClick.prototype.onTouchEnd = function(event) {
    +		var forElement, trackingClickStart, targetTagName, scrollParent, touch, targetElement = this.targetElement;
    +
    +		if (!this.trackingClick) {
    +			return true;
    +		}
    +
    +		// Prevent phantom clicks on fast double-tap (issue #36)
    +		if ((event.timeStamp - this.lastClickTime) < this.tapDelay) {
    +			this.cancelNextClick = true;
    +			return true;
    +		}
    +
    +		if ((event.timeStamp - this.trackingClickStart) > this.tapTimeout) {
    +			return true;
    +		}
    +
    +		// Reset to prevent wrong click cancel on input (issue #156).
    +		this.cancelNextClick = false;
    +
    +		this.lastClickTime = event.timeStamp;
    +
    +		trackingClickStart = this.trackingClickStart;
    +		this.trackingClick = false;
    +		this.trackingClickStart = 0;
    +
    +		// On some iOS devices, the targetElement supplied with the event is invalid if the layer
    +		// is performing a transition or scroll, and has to be re-detected manually. Note that
    +		// for this to function correctly, it must be called *after* the event target is checked!
    +		// See issue #57; also filed as rdar://13048589 .
    +		if (deviceIsIOSWithBadTarget) {
    +			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.fastClickScrollParent = this.targetElement.fastClickScrollParent;
    +		}
    +
    +		targetTagName = targetElement.tagName.toLowerCase();
    +		if (targetTagName === 'label') {
    +			forElement = this.findControl(targetElement);
    +			if (forElement) {
    +				this.focus(targetElement);
    +				if (deviceIsAndroid) {
    +					return false;
    +				}
    +
    +				targetElement = forElement;
    +			}
    +		} else if (this.needsFocus(targetElement)) {
    +
    +			// 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')) {
    +				this.targetElement = null;
    +				return false;
    +			}
    +
    +			this.focus(targetElement);
    +			this.sendClick(targetElement, event);
    +
    +			// Select elements need the event to go through on iOS 4, otherwise the selector menu won't open.
    +			// Also this breaks opening selects when VoiceOver is active on iOS6, iOS7 (and possibly others)
    +			if (!deviceIsIOS || targetTagName !== 'select') {
    +				this.targetElement = null;
    +				event.preventDefault();
    +			}
    +
    +			return false;
    +		}
    +
    +		if (deviceIsIOS && !deviceIsIOS4) {
    +
    +			// Don't send a synthetic click event if the target element is contained within a parent layer that was scrolled
    +			// and this tap is being used to stop the scrolling (usually initiated by a fling - issue #42).
    +			scrollParent = targetElement.fastClickScrollParent;
    +			if (scrollParent && scrollParent.fastClickLastScrollTop !== scrollParent.scrollTop) {
    +				return true;
    +			}
    +		}
    +
    +		// Prevent the actual click from going though - unless the target node is marked as requiring
    +		// real clicks or if it is in the whitelist in which case only non-programmatic clicks are permitted.
    +		if (!this.needsClick(targetElement)) {
    +			event.preventDefault();
    +			this.sendClick(targetElement, event);
    +		}
    +
    +		return false;
    +	};
    +
    +
    +	/**
    +	 * On touch cancel, stop tracking the click.
    +	 *
    +	 * @returns {void}
    +	 */
    +	FastClick.prototype.onTouchCancel = function() {
    +		this.trackingClick = false;
    +		this.targetElement = null;
    +	};
    +
    +
    +	/**
    +	 * Determine mouse events which should be permitted.
    +	 *
    +	 * @param {Event} event
    +	 * @returns {boolean}
    +	 */
    +	FastClick.prototype.onMouse = function(event) {
    +
    +		// If a target element was never set (because a touch event was never fired) allow the event
    +		if (!this.targetElement) {
    +			return true;
    +		}
    +
    +		if (event.forwardedTouchEvent) {
    +			return true;
    +		}
    +
    +		// Programmatically generated events targeting a specific element should be permitted
    +		if (!event.cancelable) {
    +			return true;
    +		}
    +
    +		// Derive and check the target element to see whether the mouse event needs to be permitted;
    +		// unless explicitly enabled, prevent non-touch click events from triggering actions,
    +		// to prevent ghost/doubleclicks.
    +		if (!this.needsClick(this.targetElement) || this.cancelNextClick) {
    +
    +			// Prevent any user-added listeners declared on FastClick element from being fired.
    +			if (event.stopImmediatePropagation) {
    +				event.stopImmediatePropagation();
    +			} else {
    +
    +				// Part of the hack for browsers that don't support Event#stopImmediatePropagation (e.g. Android 2)
    +				event.propagationStopped = true;
    +			}
    +
    +			// Cancel the event
    +			event.stopPropagation();
    +			event.preventDefault();
    +
    +			return false;
    +		}
    +
    +		// If the mouse event is permitted, return true for the action to go through.
    +		return true;
    +	};
    +
    +
    +	/**
    +	 * On actual clicks, determine whether this is a touch-generated click, a click action occurring
    +	 * naturally after a delay after a touch (which needs to be cancelled to avoid duplication), or
    +	 * an actual click which should be permitted.
    +	 *
    +	 * @param {Event} event
    +	 * @returns {boolean}
    +	 */
    +	FastClick.prototype.onClick = function(event) {
    +		var permitted;
    +
    +		// It's possible for another FastClick-like library delivered with third-party code to fire a click event before FastClick does (issue #44). In that case, set the click-tracking flag back to false and return early. This will cause onTouchEnd to return early.
    +		if (this.trackingClick) {
    +			this.targetElement = null;
    +			this.trackingClick = false;
    +			return true;
    +		}
    +
    +		// Very odd behaviour on iOS (issue #18): if a submit element is present inside a form and the user hits enter in the iOS simulator or clicks the Go button on the pop-up OS keyboard the a kind of 'fake' click event will be triggered with the submit-type input element as the target.
    +		if (event.target.type === 'submit' && event.detail === 0) {
    +			return true;
    +		}
    +
    +		permitted = this.onMouse(event);
    +
    +		// Only unset targetElement if the click is not permitted. This will ensure that the check for !targetElement in onMouse fails and the browser's click doesn't go through.
    +		if (!permitted) {
    +			this.targetElement = null;
    +		}
    +
    +		// If clicks are permitted, return true for the action to go through.
    +		return permitted;
    +	};
    +
    +
    +	/**
    +	 * Remove all FastClick's event listeners.
    +	 *
    +	 * @returns {void}
    +	 */
    +	FastClick.prototype.destroy = function() {
    +		var layer = this.layer;
    +
    +		if (deviceIsAndroid) {
    +			layer.removeEventListener('mouseover', this.onMouse, true);
    +			layer.removeEventListener('mousedown', this.onMouse, true);
    +			layer.removeEventListener('mouseup', this.onMouse, true);
    +		}
    +
    +		layer.removeEventListener('click', this.onClick, true);
    +		layer.removeEventListener('touchstart', this.onTouchStart, false);
    +		layer.removeEventListener('touchmove', this.onTouchMove, false);
    +		layer.removeEventListener('touchend', this.onTouchEnd, false);
    +		layer.removeEventListener('touchcancel', this.onTouchCancel, false);
    +	};
    +
    +
    +	/**
    +	 * Check whether FastClick is needed.
    +	 *
    +	 * @param {Element} layer The layer to listen on
    +	 */
    +	FastClick.notNeeded = function(layer) {
    +		var metaViewport;
    +		var chromeVersion;
    +		var blackberryVersion;
    +		var firefoxVersion;
    +
    +		// Devices that don't support touch don't need FastClick
    +		if (typeof window.ontouchstart === 'undefined') {
    +			return true;
    +		}
    +
    +		// Chrome version - zero for other browsers
    +		chromeVersion = +(/Chrome\/([0-9]+)/.exec(navigator.userAgent) || [,0])[1];
    +
    +		if (chromeVersion) {
    +
    +			if (deviceIsAndroid) {
    +				metaViewport = document.querySelector('meta[name=viewport]');
    +
    +				if (metaViewport) {
    +					// Chrome on Android with user-scalable="no" doesn't need FastClick (issue #89)
    +					if (metaViewport.content.indexOf('user-scalable=no') !== -1) {
    +						return true;
    +					}
    +					// Chrome 32 and above with width=device-width or less don't need FastClick
    +					if (chromeVersion > 31 && document.documentElement.scrollWidth <= window.outerWidth) {
    +						return true;
    +					}
    +				}
    +
    +			// Chrome desktop doesn't need FastClick (issue #15)
    +			} else {
    +				return true;
    +			}
    +		}
    +
    +		if (deviceIsBlackBerry10) {
    +			blackberryVersion = navigator.userAgent.match(/Version\/([0-9]*)\.([0-9]*)/);
    +
    +			// BlackBerry 10.3+ does not require Fastclick library.
    +			// https://github.com/ftlabs/fastclick/issues/251
    +			if (blackberryVersion[1] >= 10 && blackberryVersion[2] >= 3) {
    +				metaViewport = document.querySelector('meta[name=viewport]');
    +
    +				if (metaViewport) {
    +					// user-scalable=no eliminates click delay.
    +					if (metaViewport.content.indexOf('user-scalable=no') !== -1) {
    +						return true;
    +					}
    +					// width=device-width (or less than device-width) eliminates click delay.
    +					if (document.documentElement.scrollWidth <= window.outerWidth) {
    +						return true;
    +					}
    +				}
    +			}
    +		}
    +
    +		// IE10 with -ms-touch-action: none or manipulation, which disables double-tap-to-zoom (issue #97)
    +		if (layer.style.msTouchAction === 'none' || layer.style.touchAction === 'manipulation') {
    +			return true;
    +		}
    +
    +		// Firefox version - zero for other browsers
    +		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)) {
    +				return true;
    +			}
    +		}
    +
    +		// IE11: prefixed -ms-touch-action is no longer supported and it's recomended to use non-prefixed version
    +		// http://msdn.microsoft.com/en-us/library/windows/apps/Hh767313.aspx
    +		if (layer.style.touchAction === 'none' || layer.style.touchAction === 'manipulation') {
    +			return true;
    +		}
    +
    +		return false;
    +	};
    +
    +
    +	/**
    +	 * Factory method for creating a FastClick object
    +	 *
    +	 * @param {Element} layer The layer to listen on
    +	 * @param {Object} [options={}] The options to override the defaults
    +	 */
    +	FastClick.attach = function(layer, options) {
    +		return new FastClick(layer, options);
    +	};
    +
    +
    +	if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {
    +
    +		// AMD. Register as an anonymous module.
    +		define(function() {
    +			return FastClick;
    +		});
    +	} else if (typeof module !== 'undefined' && module.exports) {
    +		module.exports = FastClick.attach;
    +		module.exports.FastClick = FastClick;
    +	} else {
    +		window.FastClick = FastClick;
    +	}
    +
    +document.addEventListener('DOMContentLoaded', function() {
    +    FastClick.attach(document.body);
    +}, false);
    +
    +}());
    +	</script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/js/common.js b/fangija-zsyf/js/common.js
    new file mode 100644
    index 0000000..477d376
    --- /dev/null
    +++ b/fangija-zsyf/js/common.js
    @@ -0,0 +1,1027 @@
    +(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();
    +	// Android处理返回键
    +	plus.key.addEventListener('backbutton',function(){
    +		back();
    +	},false);
    +	compatibleAdjust();
    +}
    +if(w.plus){
    +	plusReady();
    +}else{
    +	document.addEventListener('plusready',plusReady,false);
    +}
    +// DOMContentLoaded事件处理
    +var domready=false;
    +document.addEventListener('DOMContentLoaded',function(){
    +	domready=true;
    +	gInit();
    +	document.body.onselectstart=shield;
    +	compatibleAdjust();
    +},false);
    +// 处理返回事件
    +w.back=function(hide){
    +	if(w.plus){
    +		ws||(ws=plus.webview.currentWebview());
    +		if(hide||ws.preate){
    +			ws.hide('auto');
    +		}else{
    +			ws.close('auto');
    +		}
    +	}else if(history.length>1){
    +		history.back();
    +	}else{
    +		w.close();
    +	}
    +};
    +// 处理点击事件
    +var openw=null,waiting=null;
    +/**
    + * 打开新窗口
    + * @param {URIString} id : 要打开页面url
    + * @param {boolean} wa : 是否显示等待框
    + * @param {boolean} ns : 是否不自动显示
    + * @param {JSON} ws : Webview窗口属性
    + */
    +w.clicked=function(id,wa,ns,ws){
    +	if(openw){//避免多次打开同一个页面
    +		return null;
    +	}
    +	if(w.plus){
    +		wa&&(waiting=plus.nativeUI.showWaiting());
    +		ws=ws||{};
    +		ws.scrollIndicator||(ws.scrollIndicator='none');
    +		ws.scalable||(ws.scalable=false);
    +		var pre='';//'http://192.168.1.178:8080/h5/';
    +		openw=plus.webview.create(pre+id,id,ws);
    +		ns||openw.addEventListener('loaded',function(){//页面加载完成后才显示
    +//		setTimeout(function(){//延后显示可避免低端机上动画时白屏
    +			openw.show(as);
    +			closeWaiting();
    +//		},200);
    +		},false);
    +		openw.addEventListener('close',function(){//页面关闭后可再次打开
    +			openw=null;
    +		},false);
    +		return openw;
    +	}else{
    +		w.open(id);
    +	}
    +	return null;
    +};
    +w.openDoc=function(t,c){
    +	var d=plus.webview.getWebviewById('document');
    +	if(d){
    +		d.evalJS('updateDoc("'+t+'","'+c+'")');
    +	}else{
    +		d=plus.webview.create('/plus/doc.html','document',{zindex:9999,popGesture:'hide'},{preate:true});
    +		d.addEventListener('loaded',function(){
    +			d.evalJS('updateDoc("'+t+'","'+c+'")');
    +		},false);
    +	}
    +}
    +/**
    + * 关闭等待框
    + */
    +w.closeWaiting=function(){
    +	waiting&&waiting.close();
    +	waiting=null;
    +}
    +// 兼容性样式调整
    +var adjust=false;
    +function compatibleAdjust(){
    +	if(adjust||!w.plus||!domready){
    +		return;
    +	}	// iOS平台使用滚动的div
    +	if('iOS'==plus.os.name){
    +		var t=document.getElementById("dcontent");
    +		t&&(t.className="sdcontent");
    +		t=document.getElementById("content");
    +		t&&(t.className="scontent");
    +		//iOS8横竖屏切换div不更新滚动问题
    +		var lasto=window.orientation;
    +		window.addEventListener("orientationchange",function(){
    +			var nowo=window.orientation;
    +			if(lasto!=nowo&&(90==nowo||-90==nowo)){
    +				window.dcontent&&(0==dcontent.scrollTop)&&(dcontent.scrollTop=1);
    +				window.content&&(0==content.scrollTop)&&(content.scrollTop=1);
    +			}
    +			lasto=nowo;
    +		},false);
    +	}
    +	adjust=true;
    +};
    +w.compatibleConfirm=function(){
    +	plus.nativeUI.confirm('本OS原生层面不提供该控件,需使用mui框架实现类似效果。请点击“确定”下载Hello mui示例',function(e){
    +		if(0==e.index){
    +			plus.runtime.openURL("http://www.dcloud.io/hellomui/");
    +		}
    +	},"",["确定","取消"]);
    +}
    +// 通用元素对象
    +var _dout_=null,_dcontent_=null;
    +w.gInit=function(){
    +	_dout_=document.getElementById("output");
    +	_dcontent_=document.getElementById("dcontent");
    +};
    +// 清空输出内容
    +w.outClean=function(){
    +	_dout_.innerText="";
    +	_dout_.scrollTop=0;//在iOS8存在不滚动的现象
    +};
    +// 输出内容
    +w.outSet=function(s){
    +	_dout_.innerText=s+"\n";
    +	(0==_dout_.scrollTop)&&(_dout_.scrollTop=1);//在iOS8存在不滚动的现象
    +};
    +// 输出行内容
    +w.outLine=function(s){
    +	_dout_.innerText+=s+"\n";
    +	(0==_dout_.scrollTop)&&(_dout_.scrollTop=1);//在iOS8存在不滚动的现象
    +};
    +// 格式化时长字符串,格式为"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);
    +
    +;(function () {
    +	'use strict';
    +
    +	/**
    +	 * @preserve FastClick: polyfill to remove click delays on browsers with touch UIs.
    +	 *
    +	 * @codingstandard ftlabs-jsv2
    +	 * @copyright The Financial Times Limited [All Rights Reserved]
    +	 * @license MIT License (see LICENSE.txt)
    +	 */
    +
    +	/*jslint browser:true, node:true*/
    +	/*global define, Event, Node*/
    +
    +
    +	/**
    +	 * Instantiate fast-clicking listeners on the specified layer.
    +	 *
    +	 * @constructor
    +	 * @param {Element} layer The layer to listen on
    +	 * @param {Object} [options={}] The options to override the defaults
    +	 */
    +	function FastClick(layer, options) {
    +		var oldOnClick;
    +
    +		options = options || {};
    +
    +		/**
    +		 * Whether a click is currently being tracked.
    +		 *
    +		 * @type boolean
    +		 */
    +		this.trackingClick = false;
    +
    +
    +		/**
    +		 * Timestamp for when click tracking started.
    +		 *
    +		 * @type number
    +		 */
    +		this.trackingClickStart = 0;
    +
    +
    +		/**
    +		 * The element being tracked for a click.
    +		 *
    +		 * @type EventTarget
    +		 */
    +		this.targetElement = null;
    +
    +
    +		/**
    +		 * X-coordinate of touch start event.
    +		 *
    +		 * @type number
    +		 */
    +		this.touchStartX = 0;
    +
    +
    +		/**
    +		 * Y-coordinate of touch start event.
    +		 *
    +		 * @type number
    +		 */
    +		this.touchStartY = 0;
    +
    +
    +		/**
    +		 * ID of the last touch, retrieved from Touch.identifier.
    +		 *
    +		 * @type number
    +		 */
    +		this.lastTouchIdentifier = 0;
    +
    +
    +		/**
    +		 * Touchmove boundary, beyond which a click will be cancelled.
    +		 *
    +		 * @type number
    +		 */
    +		this.touchBoundary = options.touchBoundary || 10;
    +
    +
    +		/**
    +		 * The FastClick layer.
    +		 *
    +		 * @type Element
    +		 */
    +		this.layer = layer;
    +
    +		/**
    +		 * The minimum time between tap(touchstart and touchend) events
    +		 *
    +		 * @type number
    +		 */
    +		this.tapDelay = options.tapDelay || 200;
    +
    +		/**
    +		 * The maximum time for a tap
    +		 *
    +		 * @type number
    +		 */
    +		this.tapTimeout = options.tapTimeout || 700;
    +
    +		if (FastClick.notNeeded(layer)) {
    +			return;
    +		}
    +
    +		// Some old versions of Android don't have Function.prototype.bind
    +		function bind(method, context) {
    +			return function() { return method.apply(context, arguments); };
    +		}
    +
    +
    +		var methods = ['onMouse', 'onClick', 'onTouchStart', 'onTouchMove', 'onTouchEnd', 'onTouchCancel'];
    +		var context = this;
    +		for (var i = 0, l = methods.length; i < l; i++) {
    +			context[methods[i]] = bind(context[methods[i]], context);
    +		}
    +
    +		// Set up event handlers as required
    +		if (deviceIsAndroid) {
    +			layer.addEventListener('mouseover', this.onMouse, true);
    +			layer.addEventListener('mousedown', this.onMouse, true);
    +			layer.addEventListener('mouseup', this.onMouse, true);
    +		}
    +
    +		layer.addEventListener('click', this.onClick, true);
    +		layer.addEventListener('touchstart', this.onTouchStart, false);
    +		layer.addEventListener('touchmove', this.onTouchMove, false);
    +		layer.addEventListener('touchend', this.onTouchEnd, false);
    +		layer.addEventListener('touchcancel', this.onTouchCancel, false);
    +
    +		// Hack is required for browsers that don't support Event#stopImmediatePropagation (e.g. Android 2)
    +		// which is how FastClick normally stops click events bubbling to callbacks registered on the FastClick
    +		// layer when they are cancelled.
    +		if (!Event.prototype.stopImmediatePropagation) {
    +			layer.removeEventListener = function(type, callback, capture) {
    +				var rmv = Node.prototype.removeEventListener;
    +				if (type === 'click') {
    +					rmv.call(layer, type, callback.hijacked || callback, capture);
    +				} else {
    +					rmv.call(layer, type, callback, capture);
    +				}
    +			};
    +
    +			layer.addEventListener = function(type, callback, capture) {
    +				var adv = Node.prototype.addEventListener;
    +				if (type === 'click') {
    +					adv.call(layer, type, callback.hijacked || (callback.hijacked = function(event) {
    +						if (!event.propagationStopped) {
    +							callback(event);
    +						}
    +					}), capture);
    +				} else {
    +					adv.call(layer, type, callback, capture);
    +				}
    +			};
    +		}
    +
    +		// If a handler is already declared in the element's onclick attribute, it will be fired before
    +		// FastClick's onClick handler. Fix this by pulling out the user-defined handler function and
    +		// adding it as listener.
    +		if (typeof layer.onclick === 'function') {
    +
    +			// Android browser on at least 3.2 requires a new reference to the function in layer.onclick
    +			// - the old one won't work if passed to addEventListener directly.
    +			oldOnClick = layer.onclick;
    +			layer.addEventListener('click', function(event) {
    +				oldOnClick(event);
    +			}, false);
    +			layer.onclick = null;
    +		}
    +	}
    +
    +	/**
    +	* Windows Phone 8.1 fakes user agent string to look like Android and iPhone.
    +	*
    +	* @type boolean
    +	*/
    +	var deviceIsWindowsPhone = navigator.userAgent.indexOf("Windows Phone") >= 0;
    +
    +	/**
    +	 * Android requires exceptions.
    +	 *
    +	 * @type boolean
    +	 */
    +	var deviceIsAndroid = navigator.userAgent.indexOf('Android') > 0 && !deviceIsWindowsPhone;
    +
    +
    +	/**
    +	 * iOS requires exceptions.
    +	 *
    +	 * @type boolean
    +	 */
    +	var deviceIsIOS = /iP(ad|hone|od)/.test(navigator.userAgent) && !deviceIsWindowsPhone;
    +
    +
    +	/**
    +	 * iOS 4 requires an exception for select elements.
    +	 *
    +	 * @type boolean
    +	 */
    +	var deviceIsIOS4 = deviceIsIOS && (/OS 4_\d(_\d)?/).test(navigator.userAgent);
    +
    +
    +	/**
    +	 * iOS 6.0-7.* requires the target element to be manually derived
    +	 *
    +	 * @type boolean
    +	 */
    +	var deviceIsIOSWithBadTarget = deviceIsIOS && (/OS [6-7]_\d/).test(navigator.userAgent);
    +
    +	/**
    +	 * BlackBerry requires exceptions.
    +	 *
    +	 * @type boolean
    +	 */
    +	var deviceIsBlackBerry10 = navigator.userAgent.indexOf('BB10') > 0;
    +
    +	/**
    +	 * Determine whether a given element requires a native click.
    +	 *
    +	 * @param {EventTarget|Element} target Target DOM element
    +	 * @returns {boolean} Returns true if the element needs a native click
    +	 */
    +	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) {
    +				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);
    +	};
    +
    +
    +	/**
    +	 * Determine whether a given element requires a call to focus to simulate click into element.
    +	 *
    +	 * @param {EventTarget|Element} target Target DOM element
    +	 * @returns {boolean} Returns true if the element requires a call to focus to simulate native click.
    +	 */
    +	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;
    +			}
    +
    +			// No point in attempting to focus disabled inputs
    +			return !target.disabled && !target.readOnly;
    +		default:
    +			return (/\bneedsfocus\b/).test(target.className);
    +		}
    +	};
    +
    +
    +	/**
    +	 * Send a click event to the specified element.
    +	 *
    +	 * @param {EventTarget|Element} targetElement
    +	 * @param {Event} event
    +	 */
    +	FastClick.prototype.sendClick = function(targetElement, event) {
    +		var clickEvent, touch;
    +
    +		// On some Android devices activeElement needs to be blurred otherwise the synthetic click will have no effect (#24)
    +		if (document.activeElement && document.activeElement !== targetElement) {
    +			document.activeElement.blur();
    +		}
    +
    +		touch = event.changedTouches[0];
    +
    +		// 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.forwardedTouchEvent = true;
    +		targetElement.dispatchEvent(clickEvent);
    +	};
    +
    +	FastClick.prototype.determineEventType = function(targetElement) {
    +
    +		//Issue #159: Android Chrome Select Box does not open with a synthetic click event
    +		if (deviceIsAndroid && targetElement.tagName.toLowerCase() === 'select') {
    +			return 'mousedown';
    +		}
    +
    +		return 'click';
    +	};
    +
    +
    +	/**
    +	 * @param {EventTarget|Element} targetElement
    +	 */
    +	FastClick.prototype.focus = function(targetElement) {
    +		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') {
    +			length = targetElement.value.length;
    +			targetElement.setSelectionRange(length, length);
    +		} else {
    +			targetElement.focus();
    +		}
    +	};
    +
    +
    +	/**
    +	 * Check whether the given target element is a child of a scrollable layer and if so, set a flag on it.
    +	 *
    +	 * @param {EventTarget|Element} targetElement
    +	 */
    +	FastClick.prototype.updateScrollParent = function(targetElement) {
    +		var scrollParent, parentElement;
    +
    +		scrollParent = targetElement.fastClickScrollParent;
    +
    +		// Attempt to discover whether the target element is contained within a scrollable layer. Re-check if the
    +		// target element was moved to another parent.
    +		if (!scrollParent || !scrollParent.contains(targetElement)) {
    +			parentElement = targetElement;
    +			do {
    +				if (parentElement.scrollHeight > parentElement.offsetHeight) {
    +					scrollParent = parentElement;
    +					targetElement.fastClickScrollParent = parentElement;
    +					break;
    +				}
    +
    +				parentElement = parentElement.parentElement;
    +			} while (parentElement);
    +		}
    +
    +		// Always update the scroll top tracker if possible.
    +		if (scrollParent) {
    +			scrollParent.fastClickLastScrollTop = scrollParent.scrollTop;
    +		}
    +	};
    +
    +
    +	/**
    +	 * @param {EventTarget} targetElement
    +	 * @returns {Element|EventTarget}
    +	 */
    +	FastClick.prototype.getTargetElementFromEventTarget = function(eventTarget) {
    +
    +		// On some older browsers (notably Safari on iOS 4.1 - see issue #56) the event target may be a text node.
    +		if (eventTarget.nodeType === Node.TEXT_NODE) {
    +			return eventTarget.parentNode;
    +		}
    +
    +		return eventTarget;
    +	};
    +
    +
    +	/**
    +	 * On touch start, record the position and scroll offset.
    +	 *
    +	 * @param {Event} event
    +	 * @returns {boolean}
    +	 */
    +	FastClick.prototype.onTouchStart = function(event) {
    +		var targetElement, touch, selection;
    +
    +		// Ignore multiple touches, otherwise pinch-to-zoom is prevented if both fingers are on the FastClick element (issue #111).
    +		if (event.targetTouches.length > 1) {
    +			return true;
    +		}
    +
    +		targetElement = this.getTargetElementFromEventTarget(event.target);
    +		touch = event.targetTouches[0];
    +
    +		if (deviceIsIOS) {
    +
    +			// Only trusted events will deselect text on iOS (issue #49)
    +			selection = window.getSelection();
    +			if (selection.rangeCount && !selection.isCollapsed) {
    +				return true;
    +			}
    +
    +			if (!deviceIsIOS4) {
    +
    +				// Weird things happen on iOS when an alert or confirm dialog is opened from a click event callback (issue #23):
    +				// when the user next taps anywhere else on the page, new touchstart and touchend events are dispatched
    +				// with the same identifier as the touch event that previously triggered the click that triggered the alert.
    +				// Sadly, there is an issue on iOS 4 that causes some normal touch events to have the same identifier as an
    +				// immediately preceeding touch event (issue #52), so this fix is unavailable on that platform.
    +				// Issue 120: touch.identifier is 0 when Chrome dev tools 'Emulate touch events' is set with an iOS device UA string,
    +				// which causes all touch events to be ignored. As this block only applies to iOS, and iOS identifiers are always long,
    +				// random integers, it's safe to to continue if the identifier is 0 here.
    +				if (touch.identifier && touch.identifier === this.lastTouchIdentifier) {
    +					event.preventDefault();
    +					return false;
    +				}
    +
    +				this.lastTouchIdentifier = touch.identifier;
    +
    +				// If the target element is a child of a scrollable layer (using -webkit-overflow-scrolling: touch) and:
    +				// 1) the user does a fling scroll on the scrollable layer
    +				// 2) the user stops the fling scroll with another tap
    +				// then the event.target of the last 'touchend' event will be the element that was under the user's finger
    +				// when the fling scroll was started, causing FastClick to send a click event to that layer - unless a check
    +				// is made to ensure that a parent layer was not scrolled before sending a synthetic click (issue #42).
    +				this.updateScrollParent(targetElement);
    +			}
    +		}
    +
    +		this.trackingClick = true;
    +		this.trackingClickStart = event.timeStamp;
    +		this.targetElement = targetElement;
    +
    +		this.touchStartX = touch.pageX;
    +		this.touchStartY = touch.pageY;
    +
    +		// Prevent phantom clicks on fast double-tap (issue #36)
    +		if ((event.timeStamp - this.lastClickTime) < this.tapDelay) {
    +			event.preventDefault();
    +		}
    +
    +		return true;
    +	};
    +
    +
    +	/**
    +	 * Based on a touchmove event object, check whether the touch has moved past a boundary since it started.
    +	 *
    +	 * @param {Event} event
    +	 * @returns {boolean}
    +	 */
    +	FastClick.prototype.touchHasMoved = function(event) {
    +		var touch = event.changedTouches[0], boundary = this.touchBoundary;
    +
    +		if (Math.abs(touch.pageX - this.touchStartX) > boundary || Math.abs(touch.pageY - this.touchStartY) > boundary) {
    +			return true;
    +		}
    +
    +		return false;
    +	};
    +
    +
    +	/**
    +	 * Update the last position.
    +	 *
    +	 * @param {Event} event
    +	 * @returns {boolean}
    +	 */
    +	FastClick.prototype.onTouchMove = function(event) {
    +		if (!this.trackingClick) {
    +			return true;
    +		}
    +
    +		// If the touch has moved, cancel the click tracking
    +		if (this.targetElement !== this.getTargetElementFromEventTarget(event.target) || this.touchHasMoved(event)) {
    +			this.trackingClick = false;
    +			this.targetElement = null;
    +		}
    +
    +		return true;
    +	};
    +
    +
    +	/**
    +	 * Attempt to find the labelled control for the given label element.
    +	 *
    +	 * @param {EventTarget|HTMLLabelElement} labelElement
    +	 * @returns {Element|null}
    +	 */
    +	FastClick.prototype.findControl = function(labelElement) {
    +
    +		// Fast path for newer browsers supporting the HTML5 control attribute
    +		if (labelElement.control !== undefined) {
    +			return labelElement.control;
    +		}
    +
    +		// All browsers under test that support touch events also support the HTML5 htmlFor attribute
    +		if (labelElement.htmlFor) {
    +			return document.getElementById(labelElement.htmlFor);
    +		}
    +
    +		// 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');
    +	};
    +
    +
    +	/**
    +	 * On touch end, determine whether to send a click event at once.
    +	 *
    +	 * @param {Event} event
    +	 * @returns {boolean}
    +	 */
    +	FastClick.prototype.onTouchEnd = function(event) {
    +		var forElement, trackingClickStart, targetTagName, scrollParent, touch, targetElement = this.targetElement;
    +
    +		if (!this.trackingClick) {
    +			return true;
    +		}
    +
    +		// Prevent phantom clicks on fast double-tap (issue #36)
    +		if ((event.timeStamp - this.lastClickTime) < this.tapDelay) {
    +			this.cancelNextClick = true;
    +			return true;
    +		}
    +
    +		if ((event.timeStamp - this.trackingClickStart) > this.tapTimeout) {
    +			return true;
    +		}
    +
    +		// Reset to prevent wrong click cancel on input (issue #156).
    +		this.cancelNextClick = false;
    +
    +		this.lastClickTime = event.timeStamp;
    +
    +		trackingClickStart = this.trackingClickStart;
    +		this.trackingClick = false;
    +		this.trackingClickStart = 0;
    +
    +		// On some iOS devices, the targetElement supplied with the event is invalid if the layer
    +		// is performing a transition or scroll, and has to be re-detected manually. Note that
    +		// for this to function correctly, it must be called *after* the event target is checked!
    +		// See issue #57; also filed as rdar://13048589 .
    +		if (deviceIsIOSWithBadTarget) {
    +			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.fastClickScrollParent = this.targetElement.fastClickScrollParent;
    +		}
    +
    +		targetTagName = targetElement.tagName.toLowerCase();
    +		if (targetTagName === 'label') {
    +			forElement = this.findControl(targetElement);
    +			if (forElement) {
    +				this.focus(targetElement);
    +				if (deviceIsAndroid) {
    +					return false;
    +				}
    +
    +				targetElement = forElement;
    +			}
    +		} else if (this.needsFocus(targetElement)) {
    +
    +			// 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')) {
    +				this.targetElement = null;
    +				return false;
    +			}
    +
    +			this.focus(targetElement);
    +			this.sendClick(targetElement, event);
    +
    +			// Select elements need the event to go through on iOS 4, otherwise the selector menu won't open.
    +			// Also this breaks opening selects when VoiceOver is active on iOS6, iOS7 (and possibly others)
    +			if (!deviceIsIOS || targetTagName !== 'select') {
    +				this.targetElement = null;
    +				event.preventDefault();
    +			}
    +
    +			return false;
    +		}
    +
    +		if (deviceIsIOS && !deviceIsIOS4) {
    +
    +			// Don't send a synthetic click event if the target element is contained within a parent layer that was scrolled
    +			// and this tap is being used to stop the scrolling (usually initiated by a fling - issue #42).
    +			scrollParent = targetElement.fastClickScrollParent;
    +			if (scrollParent && scrollParent.fastClickLastScrollTop !== scrollParent.scrollTop) {
    +				return true;
    +			}
    +		}
    +
    +		// Prevent the actual click from going though - unless the target node is marked as requiring
    +		// real clicks or if it is in the whitelist in which case only non-programmatic clicks are permitted.
    +		if (!this.needsClick(targetElement)) {
    +			event.preventDefault();
    +			this.sendClick(targetElement, event);
    +		}
    +
    +		return false;
    +	};
    +
    +
    +	/**
    +	 * On touch cancel, stop tracking the click.
    +	 *
    +	 * @returns {void}
    +	 */
    +	FastClick.prototype.onTouchCancel = function() {
    +		this.trackingClick = false;
    +		this.targetElement = null;
    +	};
    +
    +
    +	/**
    +	 * Determine mouse events which should be permitted.
    +	 *
    +	 * @param {Event} event
    +	 * @returns {boolean}
    +	 */
    +	FastClick.prototype.onMouse = function(event) {
    +
    +		// If a target element was never set (because a touch event was never fired) allow the event
    +		if (!this.targetElement) {
    +			return true;
    +		}
    +
    +		if (event.forwardedTouchEvent) {
    +			return true;
    +		}
    +
    +		// Programmatically generated events targeting a specific element should be permitted
    +		if (!event.cancelable) {
    +			return true;
    +		}
    +
    +		// Derive and check the target element to see whether the mouse event needs to be permitted;
    +		// unless explicitly enabled, prevent non-touch click events from triggering actions,
    +		// to prevent ghost/doubleclicks.
    +		if (!this.needsClick(this.targetElement) || this.cancelNextClick) {
    +
    +			// Prevent any user-added listeners declared on FastClick element from being fired.
    +			if (event.stopImmediatePropagation) {
    +				event.stopImmediatePropagation();
    +			} else {
    +
    +				// Part of the hack for browsers that don't support Event#stopImmediatePropagation (e.g. Android 2)
    +				event.propagationStopped = true;
    +			}
    +
    +			// Cancel the event
    +			event.stopPropagation();
    +			event.preventDefault();
    +
    +			return false;
    +		}
    +
    +		// If the mouse event is permitted, return true for the action to go through.
    +		return true;
    +	};
    +
    +
    +	/**
    +	 * On actual clicks, determine whether this is a touch-generated click, a click action occurring
    +	 * naturally after a delay after a touch (which needs to be cancelled to avoid duplication), or
    +	 * an actual click which should be permitted.
    +	 *
    +	 * @param {Event} event
    +	 * @returns {boolean}
    +	 */
    +	FastClick.prototype.onClick = function(event) {
    +		var permitted;
    +
    +		// It's possible for another FastClick-like library delivered with third-party code to fire a click event before FastClick does (issue #44). In that case, set the click-tracking flag back to false and return early. This will cause onTouchEnd to return early.
    +		if (this.trackingClick) {
    +			this.targetElement = null;
    +			this.trackingClick = false;
    +			return true;
    +		}
    +
    +		// Very odd behaviour on iOS (issue #18): if a submit element is present inside a form and the user hits enter in the iOS simulator or clicks the Go button on the pop-up OS keyboard the a kind of 'fake' click event will be triggered with the submit-type input element as the target.
    +		if (event.target.type === 'submit' && event.detail === 0) {
    +			return true;
    +		}
    +
    +		permitted = this.onMouse(event);
    +
    +		// Only unset targetElement if the click is not permitted. This will ensure that the check for !targetElement in onMouse fails and the browser's click doesn't go through.
    +		if (!permitted) {
    +			this.targetElement = null;
    +		}
    +
    +		// If clicks are permitted, return true for the action to go through.
    +		return permitted;
    +	};
    +
    +
    +	/**
    +	 * Remove all FastClick's event listeners.
    +	 *
    +	 * @returns {void}
    +	 */
    +	FastClick.prototype.destroy = function() {
    +		var layer = this.layer;
    +
    +		if (deviceIsAndroid) {
    +			layer.removeEventListener('mouseover', this.onMouse, true);
    +			layer.removeEventListener('mousedown', this.onMouse, true);
    +			layer.removeEventListener('mouseup', this.onMouse, true);
    +		}
    +
    +		layer.removeEventListener('click', this.onClick, true);
    +		layer.removeEventListener('touchstart', this.onTouchStart, false);
    +		layer.removeEventListener('touchmove', this.onTouchMove, false);
    +		layer.removeEventListener('touchend', this.onTouchEnd, false);
    +		layer.removeEventListener('touchcancel', this.onTouchCancel, false);
    +	};
    +
    +
    +	/**
    +	 * Check whether FastClick is needed.
    +	 *
    +	 * @param {Element} layer The layer to listen on
    +	 */
    +	FastClick.notNeeded = function(layer) {
    +		var metaViewport;
    +		var chromeVersion;
    +		var blackberryVersion;
    +		var firefoxVersion;
    +
    +		// Devices that don't support touch don't need FastClick
    +		if (typeof window.ontouchstart === 'undefined') {
    +			return true;
    +		}
    +
    +		// Chrome version - zero for other browsers
    +		chromeVersion = +(/Chrome\/([0-9]+)/.exec(navigator.userAgent) || [,0])[1];
    +
    +		if (chromeVersion) {
    +
    +			if (deviceIsAndroid) {
    +				metaViewport = document.querySelector('meta[name=viewport]');
    +
    +				if (metaViewport) {
    +					// Chrome on Android with user-scalable="no" doesn't need FastClick (issue #89)
    +					if (metaViewport.content.indexOf('user-scalable=no') !== -1) {
    +						return true;
    +					}
    +					// Chrome 32 and above with width=device-width or less don't need FastClick
    +					if (chromeVersion > 31 && document.documentElement.scrollWidth <= window.outerWidth) {
    +						return true;
    +					}
    +				}
    +
    +			// Chrome desktop doesn't need FastClick (issue #15)
    +			} else {
    +				return true;
    +			}
    +		}
    +
    +		if (deviceIsBlackBerry10) {
    +			blackberryVersion = navigator.userAgent.match(/Version\/([0-9]*)\.([0-9]*)/);
    +
    +			// BlackBerry 10.3+ does not require Fastclick library.
    +			// https://github.com/ftlabs/fastclick/issues/251
    +			if (blackberryVersion[1] >= 10 && blackberryVersion[2] >= 3) {
    +				metaViewport = document.querySelector('meta[name=viewport]');
    +
    +				if (metaViewport) {
    +					// user-scalable=no eliminates click delay.
    +					if (metaViewport.content.indexOf('user-scalable=no') !== -1) {
    +						return true;
    +					}
    +					// width=device-width (or less than device-width) eliminates click delay.
    +					if (document.documentElement.scrollWidth <= window.outerWidth) {
    +						return true;
    +					}
    +				}
    +			}
    +		}
    +
    +		// IE10 with -ms-touch-action: none or manipulation, which disables double-tap-to-zoom (issue #97)
    +		if (layer.style.msTouchAction === 'none' || layer.style.touchAction === 'manipulation') {
    +			return true;
    +		}
    +
    +		// Firefox version - zero for other browsers
    +		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)) {
    +				return true;
    +			}
    +		}
    +
    +		// IE11: prefixed -ms-touch-action is no longer supported and it's recomended to use non-prefixed version
    +		// http://msdn.microsoft.com/en-us/library/windows/apps/Hh767313.aspx
    +		if (layer.style.touchAction === 'none' || layer.style.touchAction === 'manipulation') {
    +			return true;
    +		}
    +
    +		return false;
    +	};
    +
    +
    +	/**
    +	 * Factory method for creating a FastClick object
    +	 *
    +	 * @param {Element} layer The layer to listen on
    +	 * @param {Object} [options={}] The options to override the defaults
    +	 */
    +	FastClick.attach = function(layer, options) {
    +		return new FastClick(layer, options);
    +	};
    +
    +
    +	if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {
    +
    +		// AMD. Register as an anonymous module.
    +		define(function() {
    +			return FastClick;
    +		});
    +	} else if (typeof module !== 'undefined' && module.exports) {
    +		module.exports = FastClick.attach;
    +		module.exports.FastClick = FastClick;
    +	} else {
    +		window.FastClick = FastClick;
    +	}
    +
    +document.addEventListener('DOMContentLoaded', function() {
    +    FastClick.attach(document.body);
    +}, false);
    +
    +}());
    diff --git a/fangija-zsyf/js/immersed.js b/fangija-zsyf/js/immersed.js
    new file mode 100644
    index 0000000..747e146
    --- /dev/null
    +++ b/fangija-zsyf/js/immersed.js
    @@ -0,0 +1,29 @@
    +(function(w){
    +
    +document.addEventListener('plusready',function(){
    +	console.log("Immersed-UserAgent: "+navigator.userAgent);
    +},false);
    +
    +var immersed = 0;
    +var ms=(/Html5Plus\/.+\s\(.*(Immersed\/(\d+\.?\d*).*)\)/gi).exec(navigator.userAgent);
    +if(ms&&ms.length>=3){
    +	immersed=parseFloat(ms[2]);
    +}
    +w.immersed=immersed;
    +
    +if(!immersed){
    +	return;
    +}
    +var t=document.getElementById('header');
    +//t&&(t.style.paddingTop=immersed+'px',t.style.background='-webkit-linear-gradient(top,rgba(215,75,40,1),rgba(215,75,40,0.8))',t.style.color='#FFF');
    +t&&(t.style.paddingTop=immersed+'px',t.style.background='#D74B28',t.style.color='#FFF');
    +t=document.getElementById('content');
    +t&&(t.style.marginTop=immersed+'px');
    +t=document.getElementById('scontent');
    +t&&(t.style.marginTop=immersed+'px');
    +t=document.getElementById('dcontent');
    +t&&(t.style.marginTop=immersed+'px');
    +t=document.getElementById('map');
    +t&&(t.style.marginTop=immersed+'px');
    +
    +})(window);
    \ No newline at end of file
    diff --git a/fangija-zsyf/js/mui.min.js b/fangija-zsyf/js/mui.min.js
    new file mode 100644
    index 0000000..075a2fa
    --- /dev/null
    +++ b/fangija-zsyf/js/mui.min.js
    @@ -0,0 +1,9 @@
    +/*!
    + * =====================================================
    + * Mui v3.4.0 (http://dev.dcloud.net.cn/mui)
    + * =====================================================
    + */
    +var mui=function(a,b){var c=/complete|loaded|interactive/,d=/^#([\w-]+)$/,e=/^\.([\w-]+)$/,f=/^[\w-]+$/,g=/translate(?:3d)?\((.+?)\)/,h=/matrix(3d)?\((.+?)\)/,i=function(b,c){if(c=c||a,!b)return j();if("object"==typeof b)return i.isArrayLike(b)?j(i.slice.call(b),null):j([b],null);if("function"==typeof b)return i.ready(b);if("string"==typeof b)try{if(b=b.trim(),d.test(b)){var e=a.getElementById(RegExp.$1);return j(e?[e]:[])}return j(i.qsa(b,c),b)}catch(f){}return j()},j=function(a,b){return a=a||[],Object.setPrototypeOf(a,i.fn),a.selector=b||"",a};i.uuid=0,i.data={},i.extend=function(){var a,c,d,e,f,g,h=arguments[0]||{},j=1,k=arguments.length,l=!1;for("boolean"==typeof h&&(l=h,h=arguments[j]||{},j++),"object"==typeof h||i.isFunction(h)||(h={}),j===k&&(h=this,j--);k>j;j++)if(null!=(a=arguments[j]))for(c in a)d=h[c],e=a[c],h!==e&&(l&&e&&(i.isPlainObject(e)||(f=i.isArray(e)))?(f?(f=!1,g=d&&i.isArray(d)?d:[]):g=d&&i.isPlainObject(d)?d:{},h[c]=i.extend(l,g,e)):e!==b&&(h[c]=e));return h},i.noop=function(){},i.slice=[].slice,i.filter=[].filter,i.type=function(a){return null==a?String(a):k[{}.toString.call(a)]||"object"},i.isArray=Array.isArray||function(a){return a instanceof Array},i.isArrayLike=function(a){var b=!!a&&"length"in a&&a.length,c=i.type(a);return"function"===c||i.isWindow(a)?!1:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a},i.isWindow=function(a){return null!=a&&a===a.window},i.isObject=function(a){return"object"===i.type(a)},i.isPlainObject=function(a){return i.isObject(a)&&!i.isWindow(a)&&Object.getPrototypeOf(a)===Object.prototype},i.isEmptyObject=function(a){for(var c in a)if(c!==b)return!1;return!0},i.isFunction=function(a){return"function"===i.type(a)},i.qsa=function(b,c){return c=c||a,i.slice.call(e.test(b)?c.getElementsByClassName(RegExp.$1):f.test(b)?c.getElementsByTagName(b):c.querySelectorAll(b))},i.ready=function(b){return c.test(a.readyState)?b(i):a.addEventListener("DOMContentLoaded",function(){b(i)},!1),this},i.buffer=function(a,b,c){function d(){e&&(e.cancel(),e=0),f=i.now(),a.apply(c||this,arguments),g=i.now()}var e,f=0,g=0,b=b||150;return i.extend(function(){!f||g>=f&&i.now()-g>b||f>g&&i.now()-f>8*b?d():(e&&e.cancel(),e=i.later(d,b,null,arguments))},{stop:function(){e&&(e.cancel(),e=0)}})},i.each=function(a,b,c){if(!a)return this;if("number"==typeof a.length)[].every.call(a,function(a,c){return b.call(a,c,a)!==!1});else for(var d in a)if(c){if(a.hasOwnProperty(d)&&b.call(a[d],d,a[d])===!1)return a}else if(b.call(a[d],d,a[d])===!1)return a;return this},i.focus=function(a){i.os.ios?setTimeout(function(){a.focus()},10):a.focus()},i.trigger=function(a,b,c){return a.dispatchEvent(new CustomEvent(b,{detail:c,bubbles:!0,cancelable:!0})),this},i.getStyles=function(a,b){var c=a.ownerDocument.defaultView.getComputedStyle(a,null);return b?c.getPropertyValue(b)||c[b]:c},i.parseTranslate=function(a,b){var c=a.match(g||"");return c&&c[1]||(c=["","0,0,0"]),c=c[1].split(","),c={x:parseFloat(c[0]),y:parseFloat(c[1]),z:parseFloat(c[2])},b&&c.hasOwnProperty(b)?c[b]:c},i.parseTranslateMatrix=function(a,b){var c=a.match(h),d=c&&c[1];c?(c=c[2].split(","),"3d"===d?c=c.slice(12,15):(c.push(0),c=c.slice(4,7))):c=[0,0,0];var e={x:parseFloat(c[0]),y:parseFloat(c[1]),z:parseFloat(c[2])};return b&&e.hasOwnProperty(b)?e[b]:e},i.hooks={},i.addAction=function(a,b){var c=i.hooks[a];return c||(c=[]),b.index=b.index||1e3,c.push(b),c.sort(function(a,b){return a.index-b.index}),i.hooks[a]=c,i.hooks[a]},i.doAction=function(a,b){i.isFunction(b)?i.each(i.hooks[a],b):i.each(i.hooks[a],function(a,b){return!b.handle()})},i.later=function(a,b,c,d){b=b||0;var e,f,g=a,h=d;return"string"==typeof a&&(g=c[a]),e=function(){g.apply(c,i.isArray(h)?h:[h])},f=setTimeout(e,b),{id:f,cancel:function(){clearTimeout(f)}}},i.now=Date.now||function(){return+new Date};var k={};return i.each(["Boolean","Number","String","Function","Array","Date","RegExp","Object","Error"],function(a,b){k["[object "+b+"]"]=b.toLowerCase()}),window.JSON&&(i.parseJSON=JSON.parse),i.fn={each:function(a){return[].every.call(this,function(b,c){return a.call(b,c,b)!==!1}),this}},"function"==typeof define&&define.amd&&define("mui",[],function(){return i}),i}(document);!function(a,b){function c(c){this.os={};var d=[function(){var a=c.match(/(MicroMessenger)\/([\d\.]+)/i);return a&&(this.os.wechat={version:a[2].replace(/_/g,".")}),!1},function(){var a=c.match(/(Android);?[\s\/]+([\d.]+)?/);return a&&(this.os.android=!0,this.os.version=a[2],this.os.isBadAndroid=!/Chrome\/\d/.test(b.navigator.appVersion)),this.os.android===!0},function(){var a=c.match(/(iPhone\sOS)\s([\d_]+)/);if(a)this.os.ios=this.os.iphone=!0,this.os.version=a[2].replace(/_/g,".");else{var b=c.match(/(iPad).*OS\s([\d_]+)/);b&&(this.os.ios=this.os.ipad=!0,this.os.version=b[2].replace(/_/g,"."))}return this.os.ios===!0}];[].every.call(d,function(b){return!b.call(a)})}c.call(a,navigator.userAgent)}(mui,window),function(a,b){function c(c){this.os=this.os||{};var d=c.match(/Html5Plus/i);d&&(this.os.plus=!0,a(function(){b.body.classList.add("mui-plus")}),c.match(/StreamApp/i)&&(this.os.stream=!0,a(function(){b.body.classList.add("mui-plus-stream")})))}c.call(a,navigator.userAgent)}(mui,document),function(a){"ontouchstart"in window?(a.isTouchable=!0,a.EVENT_START="touchstart",a.EVENT_MOVE="touchmove",a.EVENT_END="touchend"):(a.isTouchable=!1,a.EVENT_START="mousedown",a.EVENT_MOVE="mousemove",a.EVENT_END="mouseup"),a.EVENT_CANCEL="touchcancel",a.EVENT_CLICK="click";var b=1,c={},d={preventDefault:"isDefaultPrevented",stopImmediatePropagation:"isImmediatePropagationStopped",stopPropagation:"isPropagationStopped"},e=function(){return!0},f=function(){return!1},g=function(b,c){return b.detail?b.detail.currentTarget=c:b.detail={currentTarget:c},a.each(d,function(a,c){var d=b[a];b[a]=function(){return this[c]=e,d&&d.apply(b,arguments)},b[c]=f},!0),b},h=function(a){return a&&(a._mid||(a._mid=b++))},i={},j=function(b,d,e,f){return function(e){for(var f=c[b._mid][d],h=[],i=e.target,j={};i&&i!==document&&i!==b&&(!~["click","tap","doubletap","longtap","hold"].indexOf(d)||!i.disabled&&!i.classList.contains("mui-disabled"));i=i.parentNode){var k={};a.each(f,function(c,d){j[c]||(j[c]=a.qsa(c,b)),j[c]&&~j[c].indexOf(i)&&(k[c]||(k[c]=d))},!0),a.isEmptyObject(k)||h.push({element:i,handlers:k})}j=null,e=g(e),a.each(h,function(b,c){i=c.element;var f=i.tagName;return"tap"===d&&"INPUT"!==f&&"TEXTAREA"!==f&&"SELECT"!==f&&(e.preventDefault(),e.detail&&e.detail.gesture&&e.detail.gesture.preventDefault()),a.each(c.handlers,function(b,c){a.each(c,function(a,b){b.call(i,e)===!1&&(e.preventDefault(),e.stopPropagation())},!0)},!0),e.isPropagationStopped()?!1:void 0},!0)}},k=function(a,b){var c=i[h(a)],d=[];if(c){if(d=[],b){var e=function(a){return a.type===b};return c.filter(e)}d=c}return d},l=/^(INPUT|TEXTAREA|BUTTON|SELECT)$/;a.fn.on=function(b,d,e){return this.each(function(){var f=this;h(f),h(e);var g=!1,k=c[f._mid]||(c[f._mid]={}),m=k[b]||(k[b]={});a.isEmptyObject(m)&&(g=!0);var n=m[d]||(m[d]=[]);if(n.push(e),g){var o=i[h(f)];o||(o=[]);var p=j(f,b,d,e);o.push(p),p.i=o.length-1,p.type=b,i[h(f)]=o,f.addEventListener(b,p),"tap"===b&&f.addEventListener("click",function(a){if(a.target){var b=a.target.tagName;if(!l.test(b))if("A"===b){var c=a.target.href;c&&~c.indexOf("tel:")||a.preventDefault()}else a.preventDefault()}})}})},a.fn.off=function(b,d,e){return this.each(function(){var f=h(this);if(b)if(d)if(e){var g=c[f]&&c[f][b]&&c[f][b][d];a.each(g,function(a,b){return h(b)===h(e)?(g.splice(a,1),!1):void 0},!0)}else c[f]&&c[f][b]&&delete c[f][b][d];else c[f]&&delete c[f][b];else c[f]&&delete c[f];c[f]?(!c[f][b]||a.isEmptyObject(c[f][b]))&&k(this,b).forEach(function(a){this.removeEventListener(a.type,a),delete i[f][a.i]}.bind(this)):k(this).forEach(function(a){this.removeEventListener(a.type,a),delete i[f][a.i]}.bind(this))})}}(mui),function(a,b,c){a.targets={},a.targetHandles=[],a.registerTarget=function(b){return b.index=b.index||1e3,a.targetHandles.push(b),a.targetHandles.sort(function(a,b){return a.index-b.index}),a.targetHandles},b.addEventListener(a.EVENT_START,function(b){for(var d=b.target,e={};d&&d!==c;d=d.parentNode){var f=!1;if(a.each(a.targetHandles,function(c,g){var h=g.name;f||e[h]||!g.hasOwnProperty("handle")?e[h]||g.isReset!==!1&&(a.targets[h]=!1):(a.targets[h]=g.handle(b,d),a.targets[h]&&(e[h]=!0,g.isContinue!==!0&&(f=!0)))}),f)break}}),b.addEventListener("click",function(b){for(var d=b.target,e=!1;d&&d!==c&&("A"!==d.tagName||(a.each(a.targetHandles,function(a,c){c.name;return c.hasOwnProperty("handle")&&c.handle(b,d)?(e=!0,b.preventDefault(),!1):void 0}),!e));d=d.parentNode);})}(mui,window,document),function(a){String.prototype.trim===a&&(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}),Object.setPrototypeOf=Object.setPrototypeOf||function(a,b){return a.__proto__=b,a}}(),function(){function a(a,b){b=b||{bubbles:!1,cancelable:!1,detail:void 0};var c=document.createEvent("Events"),d=!0;for(var e in b)"bubbles"===e?d=!!b[e]:c[e]=b[e];return c.initEvent(a,d,!0),c}"undefined"==typeof window.CustomEvent&&(a.prototype=window.Event.prototype,window.CustomEvent=a)}(),Function.prototype.bind=Function.prototype.bind||function(a){var b=Array.prototype.splice.call(arguments,1),c=this,d=function(){var e=b.concat(Array.prototype.splice.call(arguments,0));return this instanceof d?void c.apply(this,e):c.apply(a,e)};return d.prototype=c.prototype,d},function(a){"classList"in a.documentElement||!Object.defineProperty||"undefined"==typeof HTMLElement||Object.defineProperty(HTMLElement.prototype,"classList",{get:function(){function a(a){return function(c){var d=b.className.split(/\s+/),e=d.indexOf(c);a(d,e,c),b.className=d.join(" ")}}var b=this,c={add:a(function(a,b,c){~b||a.push(c)}),remove:a(function(a,b){~b&&a.splice(b,1)}),toggle:a(function(a,b,c){~b?a.splice(b,1):a.push(c)}),contains:function(a){return!!~b.className.split(/\s+/).indexOf(a)},item:function(a){return b.className.split(/\s+/)[a]||null}};return Object.defineProperty(c,"length",{get:function(){return b.className.split(/\s+/).length}}),c}})}(document),function(a){if(!a.requestAnimationFrame){var b=0;a.requestAnimationFrame=a.webkitRequestAnimationFrame||function(c,d){var e=(new Date).getTime(),f=Math.max(0,16.7-(e-b)),g=a.setTimeout(function(){c(e+f)},f);return b=e+f,g},a.cancelAnimationFrame=a.webkitCancelAnimationFrame||a.webkitCancelRequestAnimationFrame||function(a){clearTimeout(a)}}}(window),function(a,b,c){if((a.os.android||a.os.ios)&&!b.FastClick){var d=function(a,b){return"LABEL"===b.tagName&&b.parentNode&&(b=b.parentNode.querySelector("input")),!b||"radio"!==b.type&&"checkbox"!==b.type||b.disabled?!1:b};a.registerTarget({name:c,index:40,handle:d,target:!1});var e=function(c){var d=a.targets.click;if(d){var e,f;document.activeElement&&document.activeElement!==d&&document.activeElement.blur(),f=c.detail.gesture.changedTouches[0],e=document.createEvent("MouseEvents"),e.initMouseEvent("click",!0,!0,b,1,f.screenX,f.screenY,f.clientX,f.clientY,!1,!1,!1,!1,0,null),e.forwardedTouchEvent=!0,d.dispatchEvent(e),c.detail&&c.detail.gesture.preventDefault()}};b.addEventListener("tap",e),b.addEventListener("doubletap",e),b.addEventListener("click",function(b){return a.targets.click&&!b.forwardedTouchEvent?(b.stopImmediatePropagation?b.stopImmediatePropagation():b.propagationStopped=!0,b.stopPropagation(),b.preventDefault(),!1):void 0},!0)}}(mui,window,"click"),function(a,b){a(function(){if(a.os.ios){var c="mui-focusin",d="mui-bar-tab",e="mui-bar-footer",f="mui-bar-footer-secondary",g="mui-bar-footer-secondary-tab";b.addEventListener("focusin",function(h){if(!(a.os.plus&&window.plus&&plus.webview.currentWebview().children().length>0)){var i=h.target;if(i.tagName&&("TEXTAREA"===i.tagName||"INPUT"===i.tagName&&("text"===i.type||"search"===i.type||"number"===i.type))){if(i.disabled||i.readOnly)return;b.body.classList.add(c);for(var j=!1;i&&i!==b;i=i.parentNode){var k=i.classList;if(k&&k.contains(d)||k.contains(e)||k.contains(f)||k.contains(g)){j=!0;break}}if(j){var l=b.body.scrollHeight,m=b.body.scrollLeft;setTimeout(function(){window.scrollTo(m,l)},20)}}}}),b.addEventListener("focusout",function(a){var d=b.body.classList;d.contains(c)&&(d.remove(c),setTimeout(function(){window.scrollTo(b.body.scrollLeft,b.body.scrollTop)},20))})}})}(mui,document),function(a){a.namespace="mui",a.classNamePrefix=a.namespace+"-",a.classSelectorPrefix="."+a.classNamePrefix,a.className=function(b){return a.classNamePrefix+b},a.classSelector=function(b){return b.replace(/\./g,a.classSelectorPrefix)},a.eventName=function(b,c){return b+(a.namespace?"."+a.namespace:"")+(c?"."+c:"")}}(mui),function(a,b){a.gestures={session:{}},a.preventDefault=function(a){a.preventDefault()},a.stopPropagation=function(a){a.stopPropagation()},a.addGesture=function(b){return a.addAction("gestures",b)};var c=Math.round,d=Math.abs,e=Math.sqrt,f=(Math.atan,Math.atan2),g=function(a,b,c){c||(c=["x","y"]);var d=b[c[0]]-a[c[0]],f=b[c[1]]-a[c[1]];return e(d*d+f*f)},h=function(a,b){if(a.length>=2&&b.length>=2){var c=["pageX","pageY"];return g(b[1],b[0],c)/g(a[1],a[0],c)}return 1},i=function(a,b,c){c||(c=["x","y"]);var d=b[c[0]]-a[c[0]],e=b[c[1]]-a[c[1]];return 180*f(e,d)/Math.PI},j=function(a,b){return a===b?"":d(a)>=d(b)?a>0?"left":"right":b>0?"up":"down"},k=function(a,b){var c=["pageX","pageY"];return i(b[1],b[0],c)-i(a[1],a[0],c)},l=function(a,b,c){return{x:b/a||0,y:c/a||0}},m=function(b,c){a.gestures.stoped||a.doAction("gestures",function(d,e){a.gestures.stoped||a.options.gestureConfig[e.name]!==!1&&e.handle(b,c)})},n=function(a,b){for(;a;){if(a==b)return!0;a=a.parentNode}return!1},o=function(a,b,c){for(var d=[],e=[],f=0;f<a.length;){var g=b?a[f][b]:a[f];e.indexOf(g)<0&&d.push(a[f]),e[f]=g,f++}return c&&(d=b?d.sort(function(a,c){return a[b]>c[b]}):d.sort()),d},p=function(a){var b=a.length;if(1===b)return{x:c(a[0].pageX),y:c(a[0].pageY)};for(var d=0,e=0,f=0;b>f;)d+=a[f].pageX,e+=a[f].pageY,f++;return{x:c(d/b),y:c(e/b)}},q=function(){return a.options.gestureConfig.pinch},r=function(b){for(var d=[],e=0;e<b.touches.length;)d[e]={pageX:c(b.touches[e].pageX),pageY:c(b.touches[e].pageY)},e++;return{timestamp:a.now(),gesture:b.gesture,touches:d,center:p(b.touches),deltaX:b.deltaX,deltaY:b.deltaY}},s=function(b){var c=a.gestures.session,d=b.center,e=c.offsetDelta||{},f=c.prevDelta||{},g=c.prevTouch||{};(b.gesture.type===a.EVENT_START||b.gesture.type===a.EVENT_END)&&(f=c.prevDelta={x:g.deltaX||0,y:g.deltaY||0},e=c.offsetDelta={x:d.x,y:d.y}),b.deltaX=f.x+(d.x-e.x),b.deltaY=f.y+(d.y-e.y)},t=function(b){var c=a.gestures.session,d=b.touches,e=d.length;c.firstTouch||(c.firstTouch=r(b)),q()&&e>1&&!c.firstMultiTouch?c.firstMultiTouch=r(b):1===e&&(c.firstMultiTouch=!1);var f=c.firstTouch,l=c.firstMultiTouch,m=l?l.center:f.center,n=b.center=p(d);b.timestamp=a.now(),b.deltaTime=b.timestamp-f.timestamp,b.angle=i(m,n),b.distance=g(m,n),s(b),b.offsetDirection=j(b.deltaX,b.deltaY),b.scale=l?h(l.touches,d):1,b.rotation=l?k(l.touches,d):0,v(b)},u=25,v=function(b){var c,e,f,g,h=a.gestures.session,i=h.lastInterval||b,k=b.timestamp-i.timestamp;if(b.gesture.type!=a.EVENT_CANCEL&&(k>u||void 0===i.velocity)){var m=i.deltaX-b.deltaX,n=i.deltaY-b.deltaY,o=l(k,m,n);e=o.x,f=o.y,c=d(o.x)>d(o.y)?o.x:o.y,g=j(m,n)||i.direction,h.lastInterval=b}else c=i.velocity,e=i.velocityX,f=i.velocityY,g=i.direction;b.velocity=c,b.velocityX=e,b.velocityY=f,b.direction=g},w={},x=function(a){for(var b=0;b<a.length;b++)!a.identifier&&(a.identifier=0);return a},y=function(b,c){var d=x(a.slice.call(b.touches||[b])),e=b.type,f=[],g=[];if(e!==a.EVENT_START&&e!==a.EVENT_MOVE||1!==d.length){var h=0,f=[],g=[],i=x(a.slice.call(b.changedTouches||[b]));c.target=b.target;var j=a.gestures.session.target||b.target;if(f=d.filter(function(a){return n(a.target,j)}),e===a.EVENT_START)for(h=0;h<f.length;)w[f[h].identifier]=!0,h++;for(h=0;h<i.length;)w[i[h].identifier]&&g.push(i[h]),(e===a.EVENT_END||e===a.EVENT_CANCEL)&&delete w[i[h].identifier],h++;if(!g.length)return!1}else w[d[0].identifier]=!0,f=d,g=d,c.target=b.target;f=o(f.concat(g),"identifier",!0);var k=f.length,l=g.length;return e===a.EVENT_START&&k-l===0&&(c.isFirst=!0,a.gestures.touch=a.gestures.session={target:b.target}),c.isFinal=(e===a.EVENT_END||e===a.EVENT_CANCEL)&&k-l===0,c.touches=f,c.changedTouches=g,!0},z=function(b){var c={gesture:b},d=y(b,c);d&&(t(c),m(b,c),a.gestures.session.prevTouch=c,b.type!==a.EVENT_END||a.isTouchable||(a.gestures.touch=a.gestures.session={}))};b.addEventListener(a.EVENT_START,z),b.addEventListener(a.EVENT_MOVE,z),b.addEventListener(a.EVENT_END,z),b.addEventListener(a.EVENT_CANCEL,z),b.addEventListener(a.EVENT_CLICK,function(b){(a.os.android||a.os.ios)&&(a.targets.popover&&b.target===a.targets.popover||a.targets.tab||a.targets.offcanvas||a.targets.modal)&&b.preventDefault()},!0),a.isScrolling=!1;var A=null;b.addEventListener("scroll",function(){a.isScrolling=!0,A&&clearTimeout(A),A=setTimeout(function(){a.isScrolling=!1},250)})}(mui,window),function(a,b){var c=0,d=function(d,e){var f=a.gestures.session,g=this.options,h=a.now();switch(d.type){case a.EVENT_MOVE:h-c>300&&(c=h,f.flickStart=e.center);break;case a.EVENT_END:case a.EVENT_CANCEL:e.flick=!1,f.flickStart&&g.flickMaxTime>h-c&&e.distance>g.flickMinDistince&&(e.flick=!0,e.flickTime=h-c,e.flickDistanceX=e.center.x-f.flickStart.x,e.flickDistanceY=e.center.y-f.flickStart.y,a.trigger(f.target,b,e),a.trigger(f.target,b+e.direction,e))}};a.addGesture({name:b,index:5,handle:d,options:{flickMaxTime:200,flickMinDistince:10}})}(mui,"flick"),function(a,b){var c=function(c,d){var e=a.gestures.session;if(c.type===a.EVENT_END||c.type===a.EVENT_CANCEL){var f=this.options;d.swipe=!1,d.direction&&f.swipeMaxTime>d.deltaTime&&d.distance>f.swipeMinDistince&&(d.swipe=!0,a.trigger(e.target,b,d),a.trigger(e.target,b+d.direction,d))}};a.addGesture({name:b,index:10,handle:c,options:{swipeMaxTime:300,swipeMinDistince:18}})}(mui,"swipe"),function(a,b){var c=function(c,d){var e=a.gestures.session;switch(c.type){case a.EVENT_START:break;case a.EVENT_MOVE:if(!d.direction||!e.target)return;e.lockDirection&&e.startDirection&&e.startDirection&&e.startDirection!==d.direction&&("up"===e.startDirection||"down"===e.startDirection?d.direction=d.deltaY<0?"up":"down":d.direction=d.deltaX<0?"left":"right"),e.drag||(e.drag=!0,a.trigger(e.target,b+"start",d)),a.trigger(e.target,b,d),a.trigger(e.target,b+d.direction,d);break;case a.EVENT_END:case a.EVENT_CANCEL:e.drag&&d.isFinal&&a.trigger(e.target,b+"end",d)}};a.addGesture({name:b,index:20,handle:c,options:{fingers:1}})}(mui,"drag"),function(a,b){var c,d,e=function(e,f){var g=a.gestures.session,h=this.options;switch(e.type){case a.EVENT_END:if(!f.isFinal)return;var i=g.target;if(!i||i.disabled||i.classList&&i.classList.contains("mui-disabled"))return;if(f.distance<h.tapMaxDistance&&f.deltaTime<h.tapMaxTime){if(a.options.gestureConfig.doubletap&&c&&c===i&&d&&f.timestamp-d<h.tapMaxInterval)return a.trigger(i,"doubletap",f),d=a.now(),void(c=i);a.trigger(i,b,f),d=a.now(),c=i}}};a.addGesture({name:b,index:30,handle:e,options:{fingers:1,tapMaxInterval:300,tapMaxDistance:5,tapMaxTime:250}})}(mui,"tap"),function(a,b){var c,d=function(d,e){var f=a.gestures.session,g=this.options;switch(d.type){case a.EVENT_START:clearTimeout(c),c=setTimeout(function(){a.trigger(f.target,b,e)},g.holdTimeout);break;case a.EVENT_MOVE:e.distance>g.holdThreshold&&clearTimeout(c);break;case a.EVENT_END:case a.EVENT_CANCEL:clearTimeout(c)}};a.addGesture({name:b,index:10,handle:d,options:{fingers:1,holdTimeout:500,holdThreshold:2}})}(mui,"longtap"),function(a,b){var c,d=function(d,e){var f=a.gestures.session,g=this.options;switch(d.type){case a.EVENT_START:a.options.gestureConfig.hold&&(c&&clearTimeout(c),c=setTimeout(function(){e.hold=!0,a.trigger(f.target,b,e)},g.holdTimeout));break;case a.EVENT_MOVE:break;case a.EVENT_END:case a.EVENT_CANCEL:c&&(clearTimeout(c)&&(c=null),a.trigger(f.target,"release",e))}};a.addGesture({name:b,index:10,handle:d,options:{fingers:1,holdTimeout:0}})}(mui,"hold"),function(a,b){var c=function(c,d){var e=this.options,f=a.gestures.session;switch(c.type){case a.EVENT_START:break;case a.EVENT_MOVE:if(a.options.gestureConfig.pinch){if(d.touches.length<2)return;f.pinch||(f.pinch=!0,a.trigger(f.target,b+"start",d)),a.trigger(f.target,b,d);var g=d.scale,h=d.rotation,i="undefined"==typeof d.lastScale?1:d.lastScale,j=1e-12;g>i?(i=g-j,a.trigger(f.target,b+"out",d)):i>g&&(i=g+j,a.trigger(f.target,b+"in",d)),Math.abs(h)>e.minRotationAngle&&a.trigger(f.target,"rotate",d)}break;case a.EVENT_END:case a.EVENT_CANCEL:a.options.gestureConfig.pinch&&f.pinch&&2===d.touches.length&&(f.pinch=!1,a.trigger(f.target,b+"end",d))}};a.addGesture({name:b,index:10,handle:c,options:{minRotationAngle:0}})}(mui,"pinch"),function(a){function b(a,b){var c="MUI_SCROLL_POSITION_"+document.location.href+"_"+b.src,d=parseFloat(localStorage.getItem(c))||0;d&&!function(a){b.onload=function(){window.scrollTo(0,a)}}(d),setInterval(function(){var a=window.scrollY;d!==a&&(localStorage.setItem(c,a+""),d=a)},100)}a.global=a.options={gestureConfig:{tap:!0,doubletap:!1,longtap:!1,hold:!1,flick:!0,swipe:!0,drag:!0,pinch:!1}},a.initGlobal=function(b){return a.options=a.extend(!0,a.global,b),this};var c={},d=!1;a.init=function(b){return d=!0,a.options=a.extend(!0,a.global,b||{}),a.ready(function(){a.doAction("inits",function(b,d){var e=!(c[d.name]&&!d.repeat);e&&(d.handle.call(a),c[d.name]=!0)})}),this},a.addInit=function(b){return a.addAction("inits",b)},a.addInit({name:"iframe",index:100,handle:function(){var b=a.options,c=b.subpages||[];!a.os.plus&&c.length&&e(c[0])}});var e=function(c){var d=document.createElement("div");d.className="mui-iframe-wrapper";var e=c.styles||{};"string"!=typeof e.top&&(e.top="0px"),"string"!=typeof e.bottom&&(e.bottom="0px"),d.style.top=e.top,d.style.bottom=e.bottom;var f=document.createElement("iframe");f.src=c.url,f.id=c.id||c.url,f.name=f.id,d.appendChild(f),document.body.appendChild(d),a.os.wechat&&b(d,f)};a(function(){var b=document.body.classList,c=[];a.os.ios?(c.push({os:"ios",version:a.os.version}),b.add("mui-ios")):a.os.android&&(c.push({os:"android",version:a.os.version}),b.add("mui-android")),a.os.wechat&&(c.push({os:"wechat",version:a.os.wechat.version}),b.add("mui-wechat")),c.length&&a.each(c,function(c,d){var e="";d.version&&a.each(d.version.split("."),function(c,f){e=e+(e?"-":"")+f,b.add(a.className(d.os+"-"+e))})})})}(mui),function(a){var b={swipeBack:!1,preloadPages:[],preloadLimit:10,keyEventBind:{backbutton:!0,menubutton:!0}},c={autoShow:!0,duration:a.os.ios?200:100,aniShow:"slide-in-right"};a.options.show&&(c=a.extend(!0,c,a.options.show)),a.currentWebview=null,a.isHomePage=!1,a.extend(!0,a.global,b),a.extend(!0,a.options,b),a.waitingOptions=function(b){return a.extend(!0,{},{autoShow:!0,title:"",modal:!1},b)},a.showOptions=function(b){return a.extend(!0,{},c,b)},a.windowOptions=function(b){return a.extend({scalable:!1,bounce:""},b)},a.plusReady=function(a){return window.plus?setTimeout(function(){a()},0):document.addEventListener("plusready",function(){a()},!1),this},a.fire=function(b,c,d){b&&(""!==d&&(d=d||{},a.isPlainObject(d)&&(d=JSON.stringify(d||{}).replace(/\'/g,"\\u0027").replace(/\\/g,"\\u005c"))),b.evalJS("typeof mui!=='undefined'&&mui.receive('"+c+"','"+d+"')"))},a.receive=function(b,c){if(b){try{c&&(c=JSON.parse(c))}catch(d){}a.trigger(document,b,c)}};var d=function(b){if(!b.preloaded){a.fire(b,"preload");for(var c=b.children(),d=0;d<c.length;d++)a.fire(c[d],"preload");b.preloaded=!0}},e=function(b,c,d){if(d){if(!b[c+"ed"]){a.fire(b,c);for(var e=b.children(),f=0;f<e.length;f++)a.fire(e[f],c);b[c+"ed"]=!0}}else{a.fire(b,c);for(var e=b.children(),f=0;f<e.length;f++)a.fire(e[f],c)}};a.openWindow=function(b,c,f){if("object"==typeof b?(f=b,b=f.url,c=f.id||b):"object"==typeof c?(f=c,c=b):c=c||b,!a.os.plus)return void(a.os.ios||a.os.android?window.top.location.href=b:window.parent.location.href=b);if(window.plus){f=f||{};var g,h,i=f.params||{},j=null,k=null;if(a.webviews[c]&&(k=a.webviews[c],plus.webview.getWebviewById(c)&&(j=k.webview)),k&&j)return g=k.show,g=f.show?a.extend(g,f.show):g,j.show(g.aniShow,g.duration,function(){d(j),e(j,"pagebeforeshow",!1)}),k.afterShowMethodName&&j.evalJS(k.afterShowMethodName+"('"+JSON.stringify(i)+"')"),j;if(f.createNew!==!0){if(j=plus.webview.getWebviewById(c))return g=a.showOptions(f.show),g.autoShow&&j.show(g.aniShow,g.duration,function(){d(j),e(j,"pagebeforeshow",!1)}),j;if(!b)throw new Error("webview["+c+"] does not exist")}var l=a.waitingOptions(f.waiting);if(l.autoShow&&(h=plus.nativeUI.showWaiting(l.title,l.options)),f=a.extend(f,{id:c,url:b}),j=a.createWindow(f),g=a.showOptions(f.show),g.autoShow){var m=function(){h&&h.close(),j.show(g.aniShow,g.duration,function(){}),j.showed=!0,f.afterShowMethodName&&j.evalJS(f.afterShowMethodName+"('"+JSON.stringify(i)+"')")};b?(j.addEventListener("titleUpdate",m,!1),j.addEventListener("loaded",function(){d(j),e(j,"pagebeforeshow",!1)},!1)):m()}return j}},a.createWindow=function(b,c){if(window.plus){var d,e=b.id||b.url;if(b.preload){a.webviews[e]&&a.webviews[e].webview.getURL()?d=a.webviews[e].webview:(b.createNew!==!0&&(d=plus.webview.getWebviewById(e)),d||(d=plus.webview.create(b.url,e,a.windowOptions(b.styles),a.extend({preload:!0},b.extras)),b.subpages&&a.each(b.subpages,function(b,c){var e=c.id||c.url;if(e){var f=plus.webview.getWebviewById(e);f||(f=plus.webview.create(c.url,e,a.windowOptions(c.styles),a.extend({preload:!0},c.extras))),d.append(f)}}))),a.webviews[e]={webview:d,preload:!0,show:a.showOptions(b.show),afterShowMethodName:b.afterShowMethodName};var f=a.data.preloads,g=f.indexOf(e);if(~g&&f.splice(g,1),f.push(e),f.length>a.options.preloadLimit){var h=a.data.preloads.shift(),i=a.webviews[h];i&&i.webview&&a.closeAll(i.webview),delete a.webviews[h]}}else c!==!1&&(d=plus.webview.create(b.url,e,a.windowOptions(b.styles),b.extras),b.subpages&&a.each(b.subpages,function(b,c){var e=c.id||c.url,f=plus.webview.getWebviewById(e);f||(f=plus.webview.create(c.url,e,a.windowOptions(c.styles),c.extras)),d.append(f)}));return d}},a.preload=function(b){return b.preload||(b.preload=!0),a.createWindow(b)},a.closeOpened=function(b){var c=b.opened();if(c)for(var d=0,e=c.length;e>d;d++){var f=c[d],g=f.opened();g&&g.length>0?(a.closeOpened(f),f.close("none")):f.parent()!==b&&f.close("none")}},a.closeAll=function(b,c){a.closeOpened(b),c?b.close(c):b.close()},a.createWindows=function(b){a.each(b,function(b,c){a.createWindow(c,!1)})},a.appendWebview=function(b){if(window.plus){var c,d=b.id||b.url;return a.webviews[d]||(plus.webview.getWebviewById(d)||(c=plus.webview.create(b.url,d,b.styles,b.extras)),plus.webview.currentWebview().append(c),a.webviews[d]=b),c}},a.webviews={},a.data.preloads=[],a.plusReady(function(){a.currentWebview=plus.webview.currentWebview()}),a.addInit({name:"5+",index:100,handle:function(){var b=a.options,c=b.subpages||[];a.os.plus&&a.plusReady(function(){a.each(c,function(b,c){a.appendWebview(c)}),plus.webview.currentWebview()===plus.webview.getWebviewById(plus.runtime.appid)&&(a.isHomePage=!0,setTimeout(function(){d(plus.webview.currentWebview())},300)),a.os.ios&&a.options.statusBarBackground&&plus.navigator.setStatusBarBackground(a.options.statusBarBackground),a.os.android&&parseFloat(a.os.version)<4.4&&null==plus.webview.currentWebview().parent()&&document.addEventListener("resume",function(){var a=document.body;a.style.display="none",setTimeout(function(){a.style.display=""},10)})})}}),window.addEventListener("preload",function(){var b=a.options.preloadPages||[];a.plusReady(function(){a.each(b,function(b,c){a.createWindow(a.extend(c,{preload:!0}))})})}),a.supportStatusbarOffset=function(){return a.os.plus&&a.os.ios&&parseFloat(a.os.version)>=7},a.ready(function(){a.supportStatusbarOffset()&&document.body.classList.add("mui-statusbar")})}(mui),function(a,b){a.addBack=function(b){return a.addAction("backs",b)},a.addBack({name:"browser",index:100,handle:function(){return b.history.length>1?(b.history.back(),!0):!1}}),a.back=function(){("function"!=typeof a.options.beforeback||a.options.beforeback()!==!1)&&a.doAction("backs")},b.addEventListener("tap",function(b){var c=a.targets.action;c&&c.classList.contains("mui-action-back")&&(a.back(),a.targets.action=!1)}),b.addEventListener("swiperight",function(b){var c=b.detail;a.options.swipeBack===!0&&Math.abs(c.angle)<3&&a.back()})}(mui,window),function(a,b){a.os.plus&&a.os.android&&a.addBack({name:"mui",index:5,handle:function(){if(a.targets._popover&&a.targets._popover.classList.contains("mui-active"))return a(a.targets._popover).popover("hide"),!0;var b=document.querySelector(".mui-off-canvas-wrap.mui-active");if(b)return a(b).offCanvas("close"),!0;var c=a.isFunction(a.getPreviewImage)&&a.getPreviewImage();return c&&c.isShown()?(c.close(),!0):a.closePopup()}}),a.__back__first=null,a.addBack({name:"5+",index:10,handle:function(){if(!b.plus)return!1;var c=plus.webview.currentWebview(),d=c.parent();return d?d.evalJS("mui&&mui.back();"):c.canBack(function(d){d.canBack?b.history.back():c.id===plus.runtime.appid?a.__back__first?(new Date).getTime()-a.__back__first<2e3&&plus.runtime.quit():(a.__back__first=(new Date).getTime(),mui.toast("再按一次退出应用"),setTimeout(function(){a.__back__first=null},2e3)):c.preload?c.hide("auto"):a.closeAll(c)}),!0}}),a.menu=function(){var c=document.querySelector(".mui-action-menu");if(c)a.trigger(c,a.EVENT_START),a.trigger(c,"tap");else if(b.plus){var d=a.currentWebview,e=d.parent();e&&e.evalJS("mui&&mui.menu();")}};var c=function(){a.back()},d=function(){a.menu()};a.plusReady(function(){a.options.keyEventBind.backbutton&&plus.key.addEventListener("backbutton",c,!1),a.options.keyEventBind.menubutton&&plus.key.addEventListener("menubutton",d,!1)}),a.addInit({name:"keyEventBind",index:1e3,handle:function(){a.plusReady(function(){a.options.keyEventBind.backbutton||plus.key.removeEventListener("backbutton",c),a.options.keyEventBind.menubutton||plus.key.removeEventListener("menubutton",d)})}})}(mui,window),function(a){a.addInit({name:"pullrefresh",index:1e3,handle:function(){var b=a.options,c=b.pullRefresh||{},d=c.down&&c.down.hasOwnProperty("callback"),e=c.up&&c.up.hasOwnProperty("callback");if(d||e){var f=c.container;if(f){var g=a(f);1===g.length&&(a.os.plus&&a.os.android?a.plusReady(function(){var b=plus.webview.currentWebview();if(e){var f={};f.up=c.up,f.webviewId=b.id||b.getURL(),g.pullRefresh(f)}if(d){var h=b.parent(),i=b.id||b.getURL();if(h){e||g.pullRefresh({webviewId:i});var j={webviewId:i};j.down=a.extend({},c.down),j.down.callback="_CALLBACK",h.evalJS("mui&&mui(document.querySelector('.mui-content')).pullRefresh('"+JSON.stringify(j)+"')")}}}):g.pullRefresh(c))}}}})}(mui),function(a,b,c){var d="application/json",e="text/html",f=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,g=/^(?:text|application)\/javascript/i,h=/^(?:text|application)\/xml/i,i=/^\s*$/;a.ajaxSettings={type:"GET",beforeSend:a.noop,success:a.noop,error:a.noop,complete:a.noop,context:null,xhr:function(a){return new b.XMLHttpRequest},accepts:{script:"text/javascript, application/javascript, application/x-javascript",json:d,xml:"application/xml, text/xml",html:e,text:"text/plain"},timeout:0,processData:!0,cache:!0};var j=function(a,b){var c=b.context;return b.beforeSend.call(c,a,b)===!1?!1:void 0},k=function(a,b,c){c.success.call(c.context,a,"success",b),m("success",b,c)},l=function(a,b,c,d){d.error.call(d.context,c,b,a),m(b,c,d)},m=function(a,b,c){c.complete.call(c.context,b,a)},n=function(b,c,d,e){var f,g=a.isArray(c),h=a.isPlainObject(c);a.each(c,function(c,i){f=a.type(i),e&&(c=d?e:e+"["+(h||"object"===f||"array"===f?c:"")+"]"),!e&&g?b.add(i.name,i.value):"array"===f||!d&&"object"===f?n(b,i,d,c):b.add(c,i)})},o=function(b){if(b.processData&&b.data&&"string"!=typeof b.data){var e=b.contentType;!e&&b.headers&&(e=b.headers["Content-Type"]),e&&~e.indexOf(d)?b.data=JSON.stringify(b.data):b.data=a.param(b.data,b.traditional)}!b.data||b.type&&"GET"!==b.type.toUpperCase()||(b.url=p(b.url,b.data),
    +b.data=c)},p=function(a,b){return""===b?a:(a+"&"+b).replace(/[&?]{1,2}/,"?")},q=function(a){return a&&(a=a.split(";",2)[0]),a&&(a===e?"html":a===d?"json":g.test(a)?"script":h.test(a)&&"xml")||"text"},r=function(b,d,e,f){return a.isFunction(d)&&(f=e,e=d,d=c),a.isFunction(e)||(f=e,e=c),{url:b,data:d,success:e,dataType:f}};a.ajax=function(d,e){"object"==typeof d&&(e=d,d=c);var f=e||{};f.url=d||f.url;for(var g in a.ajaxSettings)f[g]===c&&(f[g]=a.ajaxSettings[g]);o(f);var h=f.dataType;f.cache!==!1&&(e&&e.cache===!0||"script"!==h)||(f.url=p(f.url,"_="+a.now()));var m,n=f.accepts[h&&h.toLowerCase()],r={},s=function(a,b){r[a.toLowerCase()]=[a,b]},t=/^([\w-]+:)\/\//.test(f.url)?RegExp.$1:b.location.protocol,u=f.xhr(f),v=u.setRequestHeader;if(s("X-Requested-With","XMLHttpRequest"),s("Accept",n||"*/*"),(n=f.mimeType||n)&&(n.indexOf(",")>-1&&(n=n.split(",",2)[0]),u.overrideMimeType&&u.overrideMimeType(n)),(f.contentType||f.contentType!==!1&&f.data&&"GET"!==f.type.toUpperCase())&&s("Content-Type",f.contentType||"application/x-www-form-urlencoded"),f.headers)for(var w in f.headers)s(w,f.headers[w]);if(u.setRequestHeader=s,u.onreadystatechange=function(){if(4===u.readyState){u.onreadystatechange=a.noop,clearTimeout(m);var b,c=!1,d="file:"===t;if(u.status>=200&&u.status<300||304===u.status||0===u.status&&d&&u.responseText){h=h||q(f.mimeType||u.getResponseHeader("content-type")),b=u.responseText;try{"script"===h?(1,eval)(b):"xml"===h?b=u.responseXML:"json"===h&&(b=i.test(b)?null:a.parseJSON(b))}catch(e){c=e}c?l(c,"parsererror",u,f):k(b,u,f)}else{var g=u.status?"error":"abort",j=u.statusText||null;d&&(g="error",j="404"),l(j,g,u,f)}}},j(u,f)===!1)return u.abort(),l(null,"abort",u,f),u;if(f.xhrFields)for(var w in f.xhrFields)u[w]=f.xhrFields[w];var x="async"in f?f.async:!0;u.open(f.type.toUpperCase(),f.url,x,f.username,f.password);for(var w in r)r.hasOwnProperty(w)&&v.apply(u,r[w]);return f.timeout>0&&(m=setTimeout(function(){u.onreadystatechange=a.noop,u.abort(),l(null,"timeout",u,f)},f.timeout)),u.send(f.data?f.data:null),u},a.param=function(a,b){var c=[];return c.add=function(a,b){this.push(encodeURIComponent(a)+"="+encodeURIComponent(b))},n(c,a,b),c.join("&").replace(/%20/g,"+")},a.get=function(){return a.ajax(r.apply(null,arguments))},a.post=function(){var b=r.apply(null,arguments);return b.type="POST",a.ajax(b)},a.getJSON=function(){var b=r.apply(null,arguments);return b.dataType="json",a.ajax(b)},a.fn.load=function(b,c,d){if(!this.length)return this;var e,g=this,h=b.split(/\s/),i=r(b,c,d),j=i.success;return h.length>1&&(i.url=h[0],e=h[1]),i.success=function(a){if(e){var b=document.createElement("div");b.innerHTML=a.replace(f,"");var c=document.createElement("div"),d=b.querySelectorAll(e);if(d&&d.length>0)for(var h=0,i=d.length;i>h;h++)c.appendChild(d[h]);g[0].innerHTML=c.innerHTML}else g[0].innerHTML=a;j&&j.apply(g,arguments)},a.ajax(i),this}}(mui,window),function(a){var b=document.createElement("a");b.href=window.location.href,a.plusReady(function(){a.ajaxSettings=a.extend(a.ajaxSettings,{xhr:function(a){if(a.crossDomain)return new plus.net.XMLHttpRequest;if("file:"!==b.protocol){var c=document.createElement("a");if(c.href=a.url,c.href=c.href,a.crossDomain=b.protocol+"//"+b.host!=c.protocol+"//"+c.host,a.crossDomain)return new plus.net.XMLHttpRequest}return new window.XMLHttpRequest}})})}(mui),function(a,b,c){a.offset=function(a){var d={top:0,left:0};return typeof a.getBoundingClientRect!==c&&(d=a.getBoundingClientRect()),{top:d.top+b.pageYOffset-a.clientTop,left:d.left+b.pageXOffset-a.clientLeft}}}(mui,window),function(a,b){a.scrollTo=function(a,c,d){c=c||1e3;var e=function(c){if(0>=c)return b.scrollTo(0,a),void(d&&d());var f=a-b.scrollY;setTimeout(function(){b.scrollTo(0,b.scrollY+f/c*10),e(c-10)},16.7)};e(c)},a.animationFrame=function(a){var b,c,d;return function(){b=arguments,d=this,c||(c=!0,requestAnimationFrame(function(){a.apply(d,b),c=!1}))}}}(mui,window),function(a){var b=!1,c=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/,d=function(){};d.extend=function(a){function d(){!b&&this.init&&this.init.apply(this,arguments)}var e=this.prototype;b=!0;var f=new this;b=!1;for(var g in a)f[g]="function"==typeof a[g]&&"function"==typeof e[g]&&c.test(a[g])?function(a,b){return function(){var c=this._super;this._super=e[a];var d=b.apply(this,arguments);return this._super=c,d}}(g,a[g]):a[g];return d.prototype=f,d.prototype.constructor=d,d.extend=arguments.callee,d},a.Class=d}(mui),function(a,b,c){var d="mui-pull-top-pocket",e="mui-pull-bottom-pocket",f="mui-pull",g="mui-pull-loading",h="mui-pull-caption",i="mui-pull-caption-down",j="mui-pull-caption-refresh",k="mui-pull-caption-nomore",l="mui-icon",m="mui-spinner",n="mui-icon-pulldown",o="mui-block",p="mui-hidden",q="mui-visibility",r=g+" "+l+" "+n,s=g+" "+l+" "+n,t=g+" "+l+" "+m,u=['<div class="'+f+'">','<div class="{icon}"></div>','<div class="'+h+'">{contentrefresh}</div>',"</div>"].join(""),v={init:function(b,c){this._super(b,a.extend(!0,{scrollY:!0,scrollX:!1,indicators:!0,deceleration:.003,down:{height:50,contentinit:"下拉可以刷新",contentdown:"下拉可以刷新",contentover:"释放立即刷新",contentrefresh:"正在刷新..."},up:{height:50,auto:!1,contentinit:"上拉显示更多",contentdown:"上拉显示更多",contentrefresh:"正在加载...",contentnomore:"没有更多数据了",duration:300}},c))},_init:function(){this._super(),this._initPocket()},_initPulldownRefresh:function(){this.pulldown=!0,this.pullPocket=this.topPocket,this.pullPocket.classList.add(o),this.pullPocket.classList.add(q),this.pullCaption=this.topCaption,this.pullLoading=this.topLoading},_initPullupRefresh:function(){this.pulldown=!1,this.pullPocket=this.bottomPocket,this.pullPocket.classList.add(o),this.pullPocket.classList.add(q),this.pullCaption=this.bottomCaption,this.pullLoading=this.bottomLoading},_initPocket:function(){var a=this.options;a.down&&a.down.hasOwnProperty("callback")&&(this.topPocket=this.scroller.querySelector("."+d),this.topPocket||(this.topPocket=this._createPocket(d,a.down,s),this.wrapper.insertBefore(this.topPocket,this.wrapper.firstChild)),this.topLoading=this.topPocket.querySelector("."+g),this.topCaption=this.topPocket.querySelector("."+h)),a.up&&a.up.hasOwnProperty("callback")&&(this.bottomPocket=this.scroller.querySelector("."+e),this.bottomPocket||(this.bottomPocket=this._createPocket(e,a.up,t),this.scroller.appendChild(this.bottomPocket)),this.bottomLoading=this.bottomPocket.querySelector("."+g),this.bottomCaption=this.bottomPocket.querySelector("."+h),this.wrapper.addEventListener("scrollbottom",this))},_createPocket:function(a,c,d){var e=b.createElement("div");return e.className=a,e.innerHTML=u.replace("{contentrefresh}",c.contentinit).replace("{icon}",d),e},_resetPullDownLoading:function(){var a=this.pullLoading;a&&(this.pullCaption.innerHTML=this.options.down.contentdown,a.style.webkitTransition="",a.style.webkitTransform="",a.style.webkitAnimation="",a.className=s)},_setCaptionClass:function(a,b,c){if(!a)switch(c){case this.options.up.contentdown:b.className=h+" "+i;break;case this.options.up.contentrefresh:b.className=h+" "+j;break;case this.options.up.contentnomore:b.className=h+" "+k}},_setCaption:function(a,b){if(!this.loading){var c=this.options,d=this.pullPocket,e=this.pullCaption,f=this.pullLoading,g=this.pulldown,h=this;d&&(b?setTimeout(function(){e.innerHTML=h.lastTitle=a,g?f.className=s:(h._setCaptionClass(!1,e,a),f.className=t),f.style.webkitAnimation="",f.style.webkitTransition="",f.style.webkitTransform=""},100):a!==this.lastTitle&&(e.innerHTML=a,g?a===c.down.contentrefresh?(f.className=t,f.style.webkitAnimation="spinner-spin 1s step-end infinite"):a===c.down.contentover?(f.className=r,f.style.webkitTransition="-webkit-transform 0.3s ease-in",f.style.webkitTransform="rotate(180deg)"):a===c.down.contentdown&&(f.className=s,f.style.webkitTransition="-webkit-transform 0.3s ease-in",f.style.webkitTransform="rotate(0deg)"):(a===c.up.contentrefresh?f.className=t+" "+q:f.className=t+" "+p,h._setCaptionClass(!1,e,a)),this.lastTitle=a))}}};a.PullRefresh=v}(mui,document),function(a,b,c,d){var e="mui-scroll",f="mui-scrollbar",g="mui-scrollbar-indicator",h=f+"-vertical",i=f+"-horizontal",j="mui-active",k={quadratic:{style:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",fn:function(a){return a*(2-a)}},circular:{style:"cubic-bezier(0.1, 0.57, 0.1, 1)",fn:function(a){return Math.sqrt(1- --a*a)}},outCirc:{style:"cubic-bezier(0.075, 0.82, 0.165, 1)"},outCubic:{style:"cubic-bezier(0.165, 0.84, 0.44, 1)"}},l=a.Class.extend({init:function(b,c){this.wrapper=this.element=b,this.scroller=this.wrapper.children[0],this.scrollerStyle=this.scroller&&this.scroller.style,this.stopped=!1,this.options=a.extend(!0,{scrollY:!0,scrollX:!1,startX:0,startY:0,indicators:!0,stopPropagation:!1,hardwareAccelerated:!0,fixedBadAndorid:!1,preventDefaultException:{tagName:/^(INPUT|TEXTAREA|BUTTON|SELECT|VIDEO)$/},momentum:!0,snapX:.5,snap:!1,bounce:!0,bounceTime:500,bounceEasing:k.outCirc,scrollTime:500,scrollEasing:k.outCubic,directionLockThreshold:5,parallaxElement:!1,parallaxRatio:.5},c),this.x=0,this.y=0,this.translateZ=this.options.hardwareAccelerated?" translateZ(0)":"",this._init(),this.scroller&&(this.refresh(),this.scrollTo(this.options.startX,this.options.startY))},_init:function(){this._initParallax(),this._initIndicators(),this._initEvent()},_initParallax:function(){this.options.parallaxElement&&(this.parallaxElement=c.querySelector(this.options.parallaxElement),this.parallaxStyle=this.parallaxElement.style,this.parallaxHeight=this.parallaxElement.offsetHeight,this.parallaxImgStyle=this.parallaxElement.querySelector("img").style)},_initIndicators:function(){var a=this;if(a.indicators=[],this.options.indicators){var b,c=[];a.options.scrollY&&(b={el:this._createScrollBar(h),listenX:!1},this.wrapper.appendChild(b.el),c.push(b)),this.options.scrollX&&(b={el:this._createScrollBar(i),listenY:!1},this.wrapper.appendChild(b.el),c.push(b));for(var d=c.length;d--;)this.indicators.push(new m(this,c[d]))}},_initSnap:function(){this.currentPage={},this.pages=[];for(var a=this.snaps,b=a.length,c=0,d=-1,e=0,f=0,g=0,h=0,i=0;b>i;i++){var k=a[i],l=k.offsetLeft,m=k.offsetWidth;(0===i||l<=a[i-1].offsetLeft)&&(c=0,d++),this.pages[c]||(this.pages[c]=[]),e=this._getSnapX(l),h=Math.round(m*this.options.snapX),f=e-h,g=e-m+h,this.pages[c][d]={x:e,leftX:f,rightX:g,pageX:c,element:k},k.classList.contains(j)&&(this.currentPage=this.pages[c][0]),e>=this.maxScrollX&&c++}this.options.startX=this.currentPage.x||0},_getSnapX:function(a){return Math.max(Math.min(0,-a+this.wrapperWidth/2),this.maxScrollX)},_gotoPage:function(a){this.currentPage=this.pages[Math.min(a,this.pages.length-1)][0];for(var b=0,c=this.snaps.length;c>b;b++)b===a?this.snaps[b].classList.add(j):this.snaps[b].classList.remove(j);this.scrollTo(this.currentPage.x,0,this.options.scrollTime)},_nearestSnap:function(a){if(!this.pages.length)return{x:0,pageX:0};var b=0,c=this.pages.length;for(a>0?a=0:a<this.maxScrollX&&(a=this.maxScrollX);c>b;b++){var d="left"===this.direction?this.pages[b][0].leftX:this.pages[b][0].rightX;if(a>=d)return this.pages[b][0]}return{x:0,pageX:0}},_initEvent:function(c){var d=c?"removeEventListener":"addEventListener";b[d]("orientationchange",this),b[d]("resize",this),this.scroller[d]("webkitTransitionEnd",this),this.wrapper[d](a.EVENT_START,this),this.wrapper[d](a.EVENT_CANCEL,this),this.wrapper[d](a.EVENT_END,this),this.wrapper[d]("drag",this),this.wrapper[d]("dragend",this),this.wrapper[d]("flick",this),this.wrapper[d]("scrollend",this),this.options.scrollX&&this.wrapper[d]("swiperight",this);var e=this.wrapper.querySelector(".mui-segmented-control");e&&mui(e)[c?"off":"on"]("click","a",a.preventDefault),this.wrapper[d]("scrollstart",this),this.wrapper[d]("refresh",this)},_handleIndicatorScrollend:function(){this.indicators.map(function(a){a.fade()})},_handleIndicatorScrollstart:function(){this.indicators.map(function(a){a.fade(1)})},_handleIndicatorRefresh:function(){this.indicators.map(function(a){a.refresh()})},handleEvent:function(b){if(this.stopped)return void this.resetPosition();switch(b.type){case a.EVENT_START:this._start(b);break;case"drag":this.options.stopPropagation&&b.stopPropagation(),this._drag(b);break;case"dragend":case"flick":this.options.stopPropagation&&b.stopPropagation(),this._flick(b);break;case a.EVENT_CANCEL:case a.EVENT_END:this._end(b);break;case"webkitTransitionEnd":this.transitionTimer&&this.transitionTimer.cancel(),this._transitionEnd(b);break;case"scrollstart":this._handleIndicatorScrollstart(b);break;case"scrollend":this._handleIndicatorScrollend(b),this._scrollend(b),b.stopPropagation();break;case"orientationchange":case"resize":this._resize();break;case"swiperight":b.stopPropagation();break;case"refresh":this._handleIndicatorRefresh(b)}},_start:function(b){if(this.moved=this.needReset=!1,this._transitionTime(),this.isInTransition){this.needReset=!0,this.isInTransition=!1;var c=a.parseTranslateMatrix(a.getStyles(this.scroller,"webkitTransform"));this.setTranslate(Math.round(c.x),Math.round(c.y)),a.trigger(this.scroller,"scrollend",this),b.preventDefault()}this.reLayout(),a.trigger(this.scroller,"beforescrollstart",this)},_getDirectionByAngle:function(a){return-80>a&&a>-100?"up":a>=80&&100>a?"down":a>=170||-170>=a?"left":a>=-35&&10>=a?"right":null},_drag:function(c){var d=c.detail;if((this.options.scrollY||"up"===d.direction||"down"===d.direction)&&a.os.ios&&parseFloat(a.os.version)>=8){var e=d.gesture.touches[0].clientY;if(e+10>b.innerHeight||10>e)return void this.resetPosition(this.options.bounceTime)}var f=isReturn=!1;this._getDirectionByAngle(d.angle);if("left"===d.direction||"right"===d.direction?this.options.scrollX?(f=!0,this.moved||(a.gestures.session.lockDirection=!0,a.gestures.session.startDirection=d.direction)):this.options.scrollY&&!this.moved&&(isReturn=!0):"up"===d.direction||"down"===d.direction?this.options.scrollY?(f=!0,this.moved||(a.gestures.session.lockDirection=!0,a.gestures.session.startDirection=d.direction)):this.options.scrollX&&!this.moved&&(isReturn=!0):isReturn=!0,(this.moved||f)&&(c.stopPropagation(),d.gesture&&d.gesture.preventDefault()),!isReturn){this.moved?c.stopPropagation():a.trigger(this.scroller,"scrollstart",this);var g=0,h=0;this.moved?(g=d.deltaX-a.gestures.session.prevTouch.deltaX,h=d.deltaY-a.gestures.session.prevTouch.deltaY):(g=d.deltaX,h=d.deltaY);var i=Math.abs(d.deltaX),j=Math.abs(d.deltaY);i>j+this.options.directionLockThreshold?h=0:j>=i+this.options.directionLockThreshold&&(g=0),g=this.hasHorizontalScroll?g:0,h=this.hasVerticalScroll?h:0;var k=this.x+g,l=this.y+h;(k>0||k<this.maxScrollX)&&(k=this.options.bounce?this.x+g/3:k>0?0:this.maxScrollX),(l>0||l<this.maxScrollY)&&(l=this.options.bounce?this.y+h/3:l>0?0:this.maxScrollY),this.requestAnimationFrame||this._updateTranslate(),this.direction=d.deltaX>0?"right":"left",this.moved=!0,this.x=k,this.y=l,a.trigger(this.scroller,"scroll",this)}},_flick:function(b){if(this.moved){b.stopPropagation();var c=b.detail;if(this._clearRequestAnimationFrame(),"dragend"!==b.type||!c.flick){var d=Math.round(this.x),e=Math.round(this.y);if(this.isInTransition=!1,!this.resetPosition(this.options.bounceTime)){if(this.scrollTo(d,e),"dragend"===b.type)return void a.trigger(this.scroller,"scrollend",this);var f=0,g="";return this.options.momentum&&c.flickTime<300&&(momentumX=this.hasHorizontalScroll?this._momentum(this.x,c.flickDistanceX,c.flickTime,this.maxScrollX,this.options.bounce?this.wrapperWidth:0,this.options.deceleration):{destination:d,duration:0},momentumY=this.hasVerticalScroll?this._momentum(this.y,c.flickDistanceY,c.flickTime,this.maxScrollY,this.options.bounce?this.wrapperHeight:0,this.options.deceleration):{destination:e,duration:0},d=momentumX.destination,e=momentumY.destination,f=Math.max(momentumX.duration,momentumY.duration),this.isInTransition=!0),d!=this.x||e!=this.y?((d>0||d<this.maxScrollX||e>0||e<this.maxScrollY)&&(g=k.quadratic),void this.scrollTo(d,e,f,g)):void a.trigger(this.scroller,"scrollend",this)}}}},_end:function(b){this.needReset=!1,(!this.moved&&this.needReset||b.type===a.EVENT_CANCEL)&&this.resetPosition()},_transitionEnd:function(b){b.target==this.scroller&&this.isInTransition&&(this._transitionTime(),this.resetPosition(this.options.bounceTime)||(this.isInTransition=!1,a.trigger(this.scroller,"scrollend",this)))},_scrollend:function(b){(0===this.y&&0===this.maxScrollY||Math.abs(this.y)>0&&this.y<=this.maxScrollY)&&a.trigger(this.scroller,"scrollbottom",this)},_resize:function(){var a=this;clearTimeout(a.resizeTimeout),a.resizeTimeout=setTimeout(function(){a.refresh()},a.options.resizePolling)},_transitionTime:function(b){if(b=b||0,this.scrollerStyle.webkitTransitionDuration=b+"ms",this.parallaxElement&&this.options.scrollY&&(this.parallaxStyle.webkitTransitionDuration=b+"ms"),this.options.fixedBadAndorid&&!b&&a.os.isBadAndroid&&(this.scrollerStyle.webkitTransitionDuration="0.001s",this.parallaxElement&&this.options.scrollY&&(this.parallaxStyle.webkitTransitionDuration="0.001s")),this.indicators)for(var c=this.indicators.length;c--;)this.indicators[c].transitionTime(b);b&&(this.transitionTimer&&this.transitionTimer.cancel(),this.transitionTimer=a.later(function(){a.trigger(this.scroller,"webkitTransitionEnd")},b+100,this))},_transitionTimingFunction:function(a){if(this.scrollerStyle.webkitTransitionTimingFunction=a,this.parallaxElement&&this.options.scrollY&&(this.parallaxStyle.webkitTransitionDuration=a),this.indicators)for(var b=this.indicators.length;b--;)this.indicators[b].transitionTimingFunction(a)},_translate:function(a,b){this.x=a,this.y=b},_clearRequestAnimationFrame:function(){this.requestAnimationFrame&&(cancelAnimationFrame(this.requestAnimationFrame),this.requestAnimationFrame=null)},_updateTranslate:function(){var a=this;(a.x!==a.lastX||a.y!==a.lastY)&&a.setTranslate(a.x,a.y),a.requestAnimationFrame=requestAnimationFrame(function(){a._updateTranslate()})},_createScrollBar:function(a){var b=c.createElement("div"),d=c.createElement("div");return b.className=f+" "+a,d.className=g,b.appendChild(d),a===h?(this.scrollbarY=b,this.scrollbarIndicatorY=d):a===i&&(this.scrollbarX=b,this.scrollbarIndicatorX=d),this.wrapper.appendChild(b),b},_preventDefaultException:function(a,b){for(var c in b)if(b[c].test(a[c]))return!0;return!1},_reLayout:function(){if(this.hasHorizontalScroll||(this.maxScrollX=0,this.scrollerWidth=this.wrapperWidth),this.hasVerticalScroll||(this.maxScrollY=0,this.scrollerHeight=this.wrapperHeight),this.indicators.map(function(a){a.refresh()}),this.options.snap&&"string"==typeof this.options.snap){var a=this.scroller.querySelectorAll(this.options.snap);this.itemLength=0,this.snaps=[];for(var b=0,c=a.length;c>b;b++){var d=a[b];d.parentNode===this.scroller&&(this.itemLength++,this.snaps.push(d))}this._initSnap()}},_momentum:function(a,b,c,e,f,g){var h,i,j=parseFloat(Math.abs(b)/c);return g=g===d?6e-4:g,h=a+j*j/(2*g)*(0>b?-1:1),i=j/g,e>h?(h=f?e-f/2.5*(j/8):e,b=Math.abs(h-a),i=b/j):h>0&&(h=f?f/2.5*(j/8):0,b=Math.abs(a)+h,i=b/j),{destination:Math.round(h),duration:i}},_getTranslateStr:function(a,b){return this.options.hardwareAccelerated?"translate3d("+a+"px,"+b+"px,0px) "+this.translateZ:"translate("+a+"px,"+b+"px) "},setStopped:function(a){this.stopped=!!a},setTranslate:function(b,c){if(this.x=b,this.y=c,this.scrollerStyle.webkitTransform=this._getTranslateStr(b,c),this.parallaxElement&&this.options.scrollY){var d=c*this.options.parallaxRatio,e=1+d/((this.parallaxHeight-d)/2);e>1?(this.parallaxImgStyle.opacity=1-d/100*this.options.parallaxRatio,this.parallaxStyle.webkitTransform=this._getTranslateStr(0,-d)+" scale("+e+","+e+")"):(this.parallaxImgStyle.opacity=1,this.parallaxStyle.webkitTransform=this._getTranslateStr(0,-1)+" scale(1,1)")}if(this.indicators)for(var f=this.indicators.length;f--;)this.indicators[f].updatePosition();this.lastX=this.x,this.lastY=this.y,a.trigger(this.scroller,"scroll",this)},reLayout:function(){this.wrapper.offsetHeight;var b=parseFloat(a.getStyles(this.wrapper,"padding-left"))||0,c=parseFloat(a.getStyles(this.wrapper,"padding-right"))||0,d=parseFloat(a.getStyles(this.wrapper,"padding-top"))||0,e=parseFloat(a.getStyles(this.wrapper,"padding-bottom"))||0,f=this.wrapper.clientWidth,g=this.wrapper.clientHeight;this.scrollerWidth=this.scroller.offsetWidth,this.scrollerHeight=this.scroller.offsetHeight,this.wrapperWidth=f-b-c,this.wrapperHeight=g-d-e,this.maxScrollX=Math.min(this.wrapperWidth-this.scrollerWidth,0),this.maxScrollY=Math.min(this.wrapperHeight-this.scrollerHeight,0),this.hasHorizontalScroll=this.options.scrollX&&this.maxScrollX<0,this.hasVerticalScroll=this.options.scrollY&&this.maxScrollY<0,this._reLayout()},resetPosition:function(a){var b=this.x,c=this.y;return a=a||0,!this.hasHorizontalScroll||this.x>0?b=0:this.x<this.maxScrollX&&(b=this.maxScrollX),!this.hasVerticalScroll||this.y>0?c=0:this.y<this.maxScrollY&&(c=this.maxScrollY),b==this.x&&c==this.y?!1:(this.scrollTo(b,c,a,this.options.scrollEasing),!0)},_reInit:function(){for(var a=this.wrapper.querySelectorAll("."+e),b=0,c=a.length;c>b;b++)if(a[b].parentNode===this.wrapper){this.scroller=a[b];break}this.scrollerStyle=this.scroller&&this.scroller.style},refresh:function(){this._reInit(),this.reLayout(),a.trigger(this.scroller,"refresh",this),this.resetPosition()},scrollTo:function(a,b,c,d){var d=d||k.circular;this.isInTransition=c>0,this.isInTransition?(this._clearRequestAnimationFrame(),this._transitionTimingFunction(d.style),this._transitionTime(c),this.setTranslate(a,b)):this.setTranslate(a,b)},scrollToBottom:function(a,b){a=a||this.options.scrollTime,this.scrollTo(0,this.maxScrollY,a,b)},gotoPage:function(a){this._gotoPage(a)},destroy:function(){this._initEvent(!0),delete a.data[this.wrapper.getAttribute("data-scroll")],this.wrapper.setAttribute("data-scroll","")}}),m=function(b,d){this.wrapper="string"==typeof d.el?c.querySelector(d.el):d.el,this.wrapperStyle=this.wrapper.style,this.indicator=this.wrapper.children[0],this.indicatorStyle=this.indicator.style,this.scroller=b,this.options=a.extend({listenX:!0,listenY:!0,fade:!1,speedRatioX:0,speedRatioY:0},d),this.sizeRatioX=1,this.sizeRatioY=1,this.maxPosX=0,this.maxPosY=0,this.options.fade&&(this.wrapperStyle.webkitTransform=this.scroller.translateZ,this.wrapperStyle.webkitTransitionDuration=this.options.fixedBadAndorid&&a.os.isBadAndroid?"0.001s":"0ms",this.wrapperStyle.opacity="0")};m.prototype={handleEvent:function(a){},transitionTime:function(b){b=b||0,this.indicatorStyle.webkitTransitionDuration=b+"ms",this.scroller.options.fixedBadAndorid&&!b&&a.os.isBadAndroid&&(this.indicatorStyle.webkitTransitionDuration="0.001s")},transitionTimingFunction:function(a){this.indicatorStyle.webkitTransitionTimingFunction=a},refresh:function(){this.transitionTime(),this.options.listenX&&!this.options.listenY?this.indicatorStyle.display=this.scroller.hasHorizontalScroll?"block":"none":this.options.listenY&&!this.options.listenX?this.indicatorStyle.display=this.scroller.hasVerticalScroll?"block":"none":this.indicatorStyle.display=this.scroller.hasHorizontalScroll||this.scroller.hasVerticalScroll?"block":"none",this.wrapper.offsetHeight,this.options.listenX&&(this.wrapperWidth=this.wrapper.clientWidth,this.indicatorWidth=Math.max(Math.round(this.wrapperWidth*this.wrapperWidth/(this.scroller.scrollerWidth||this.wrapperWidth||1)),8),this.indicatorStyle.width=this.indicatorWidth+"px",this.maxPosX=this.wrapperWidth-this.indicatorWidth,this.minBoundaryX=0,this.maxBoundaryX=this.maxPosX,this.sizeRatioX=this.options.speedRatioX||this.scroller.maxScrollX&&this.maxPosX/this.scroller.maxScrollX),this.options.listenY&&(this.wrapperHeight=this.wrapper.clientHeight,this.indicatorHeight=Math.max(Math.round(this.wrapperHeight*this.wrapperHeight/(this.scroller.scrollerHeight||this.wrapperHeight||1)),8),this.indicatorStyle.height=this.indicatorHeight+"px",this.maxPosY=this.wrapperHeight-this.indicatorHeight,this.minBoundaryY=0,this.maxBoundaryY=this.maxPosY,this.sizeRatioY=this.options.speedRatioY||this.scroller.maxScrollY&&this.maxPosY/this.scroller.maxScrollY),this.updatePosition()},updatePosition:function(){var a=this.options.listenX&&Math.round(this.sizeRatioX*this.scroller.x)||0,b=this.options.listenY&&Math.round(this.sizeRatioY*this.scroller.y)||0;a<this.minBoundaryX?(this.width=Math.max(this.indicatorWidth+a,8),this.indicatorStyle.width=this.width+"px",a=this.minBoundaryX):a>this.maxBoundaryX?(this.width=Math.max(this.indicatorWidth-(a-this.maxPosX),8),this.indicatorStyle.width=this.width+"px",a=this.maxPosX+this.indicatorWidth-this.width):this.width!=this.indicatorWidth&&(this.width=this.indicatorWidth,this.indicatorStyle.width=this.width+"px"),b<this.minBoundaryY?(this.height=Math.max(this.indicatorHeight+3*b,8),this.indicatorStyle.height=this.height+"px",b=this.minBoundaryY):b>this.maxBoundaryY?(this.height=Math.max(this.indicatorHeight-3*(b-this.maxPosY),8),this.indicatorStyle.height=this.height+"px",b=this.maxPosY+this.indicatorHeight-this.height):this.height!=this.indicatorHeight&&(this.height=this.indicatorHeight,this.indicatorStyle.height=this.height+"px"),this.x=a,this.y=b,this.indicatorStyle.webkitTransform=this.scroller._getTranslateStr(a,b)},fade:function(a,b){if(!b||this.visible){clearTimeout(this.fadeTimeout),this.fadeTimeout=null;var c=a?250:500,d=a?0:300;a=a?"1":"0",this.wrapperStyle.webkitTransitionDuration=c+"ms",this.fadeTimeout=setTimeout(function(a){this.wrapperStyle.opacity=a,this.visible=+a}.bind(this,a),d)}}},a.Scroll=l,a.fn.scroll=function(b){var c=[];return this.each(function(){var d=null,e=this,f=e.getAttribute("data-scroll");if(f)d=a.data[f];else{f=++a.uuid;var g=a.extend({},b);e.classList.contains("mui-segmented-control")&&(g=a.extend(g,{scrollY:!1,scrollX:!0,indicators:!1,snap:".mui-control-item"})),a.data[f]=d=new l(e,g),e.setAttribute("data-scroll",f)}c.push(d)}),1===c.length?c[0]:c}}(mui,window,document),function(a,b,c,d){var e="mui-visibility",f="mui-hidden",g=a.Scroll.extend(a.extend({handleEvent:function(a){this._super(a),"scrollbottom"===a.type&&a.target===this.scroller&&this._scrollbottom()},_scrollbottom:function(){this.pulldown||this.loading||(this.pulldown=!1,this._initPullupRefresh(),this.pullupLoading())},_start:function(a){a.touches&&a.touches.length&&a.touches[0].clientX>30&&a.target&&!this._preventDefaultException(a.target,this.options.preventDefaultException)&&a.preventDefault(),this.loading||(this.pulldown=this.pullPocket=this.pullCaption=this.pullLoading=!1),this._super(a)},_drag:function(a){this._super(a),!this.pulldown&&!this.loading&&this.topPocket&&"down"===a.detail.direction&&this.y>=0&&this._initPulldownRefresh(),this.pulldown&&this._setCaption(this.y>this.options.down.height?this.options.down.contentover:this.options.down.contentdown)},_reLayout:function(){this.hasVerticalScroll=!0,this._super()},resetPosition:function(a){if(this.pulldown){if(this.y>=this.options.down.height)return this.pulldownLoading(d,a||0),!0;!this.loading&&this.topPocket.classList.remove(e)}return this._super(a)},pulldownLoading:function(a,b){if("undefined"==typeof a&&(a=this.options.down.height),this.scrollTo(0,a,b,this.options.bounceEasing),!this.loading){this._initPulldownRefresh(),this._setCaption(this.options.down.contentrefresh),this.loading=!0,this.indicators.map(function(a){a.fade(0)});var c=this.options.down.callback;c&&c.call(this)}},endPulldownToRefresh:function(){var a=this;a.topPocket&&a.loading&&this.pulldown&&(a.scrollTo(0,0,a.options.bounceTime,a.options.bounceEasing),a.loading=!1,a._setCaption(a.options.down.contentdown,!0),setTimeout(function(){a.loading||a.topPocket.classList.remove(e)},350))},pullupLoading:function(a,b,c){b=b||0,this.scrollTo(b,this.maxScrollY,c,this.options.bounceEasing),this.loading||(this._initPullupRefresh(),this._setCaption(this.options.up.contentrefresh),this.indicators.map(function(a){a.fade(0)}),this.loading=!0,a=a||this.options.up.callback,a&&a.call(this))},endPullupToRefresh:function(a){var b=this;b.bottomPocket&&(b.loading=!1,a?(this.finished=!0,b._setCaption(b.options.up.contentnomore),b.wrapper.removeEventListener("scrollbottom",b)):(b._setCaption(b.options.up.contentdown),b.loading||b.bottomPocket.classList.remove(e)))},disablePullupToRefresh:function(){this._initPullupRefresh(),this.bottomPocket.className="mui-pull-bottom-pocket "+f,this.wrapper.removeEventListener("scrollbottom",this)},enablePullupToRefresh:function(){this._initPullupRefresh(),this.bottomPocket.classList.remove(f),this._setCaption(this.options.up.contentdown),this.wrapper.addEventListener("scrollbottom",this)},refresh:function(a){a&&this.finished&&(this.enablePullupToRefresh(),this.finished=!1),this._super()}},a.PullRefresh));a.fn.pullRefresh=function(b){if(1===this.length){var c=this[0],d=null;b=b||{};var e=c.getAttribute("data-pullrefresh");return e?d=a.data[e]:(e=++a.uuid,a.data[e]=d=new g(c,b),c.setAttribute("data-pullrefresh",e)),b.down&&b.down.auto?d.pulldownLoading(b.down.autoY):b.up&&b.up.auto&&d.pullupLoading(),d}}}(mui,window,document),function(a,b){var c="mui-slider",d="mui-slider-group",e="mui-slider-loop",f="mui-action-previous",g="mui-action-next",h="mui-slider-item",i="mui-active",j="."+h,k=".mui-slider-progress-bar",l=a.Slider=a.Scroll.extend({init:function(b,c){this._super(b,a.extend(!0,{fingers:1,interval:0,scrollY:!1,scrollX:!0,indicators:!1,scrollTime:1e3,startX:!1,slideTime:0,snap:j},c)),this.options.startX},_init:function(){this._reInit(),this.scroller&&(this.scrollerStyle=this.scroller.style,this.progressBar=this.wrapper.querySelector(k),this.progressBar&&(this.progressBarWidth=this.progressBar.offsetWidth,this.progressBarStyle=this.progressBar.style),this._super(),this._initTimer())},_triggerSlide:function(){var b=this;b.isInTransition=!1;b.currentPage;b.slideNumber=b._fixedSlideNumber(),b.loop&&(0===b.slideNumber?b.setTranslate(b.pages[1][0].x,0):b.slideNumber===b.itemLength-3&&b.setTranslate(b.pages[b.itemLength-2][0].x,0)),b.lastSlideNumber!=b.slideNumber&&(b.lastSlideNumber=b.slideNumber,b.lastPage=b.currentPage,a.trigger(b.wrapper,"slide",{slideNumber:b.slideNumber})),b._initTimer()},_handleSlide:function(b){var c=this;if(b.target===c.wrapper){var d=b.detail;d.slideNumber=d.slideNumber||0;for(var e=c.scroller.querySelectorAll(j),f=[],g=0,h=e.length;h>g;g++){var k=e[g];k.parentNode===c.scroller&&f.push(k)}var l=d.slideNumber;if(c.loop&&(l+=1),!c.wrapper.classList.contains("mui-segmented-control"))for(var g=0,h=f.length;h>g;g++){var k=f[g];k.parentNode===c.scroller&&(g===l?k.classList.add(i):k.classList.remove(i))}var m=c.wrapper.querySelector(".mui-slider-indicator");if(m){m.getAttribute("data-scroll")&&a(m).scroll().gotoPage(d.slideNumber);var n=m.querySelectorAll(".mui-indicator");if(n.length>0)for(var g=0,h=n.length;h>g;g++)n[g].classList[g===d.slideNumber?"add":"remove"](i);else{var o=m.querySelector(".mui-number span");if(o)o.innerText=d.slideNumber+1;else for(var p=m.querySelectorAll(".mui-control-item"),g=0,h=p.length;h>g;g++)p[g].classList[g===d.slideNumber?"add":"remove"](i)}}b.stopPropagation()}},_handleTabShow:function(a){var b=this;b.gotoItem(a.detail.tabNumber||0,b.options.slideTime)},_handleIndicatorTap:function(a){var b=this,c=a.target;(c.classList.contains(f)||c.classList.contains(g))&&(b[c.classList.contains(f)?"prevItem":"nextItem"](),a.stopPropagation())},_initEvent:function(b){var c=this;c._super(b);var d=b?"removeEventListener":"addEventListener";c.wrapper[d]("slide",this),c.wrapper[d](a.eventName("shown","tab"),this)},handleEvent:function(b){switch(this._super(b),b.type){case"slide":this._handleSlide(b);break;case a.eventName("shown","tab"):~this.snaps.indexOf(b.target)&&this._handleTabShow(b)}},_scrollend:function(a){this._super(a),this._triggerSlide(a)},_drag:function(a){this._super(a);var c=a.detail.direction;if("left"===c||"right"===c){var d=this.wrapper.getAttribute("data-slidershowTimer");d&&b.clearTimeout(d),a.stopPropagation()}},_initTimer:function(){var a=this,c=a.wrapper,d=a.options.interval,e=c.getAttribute("data-slidershowTimer");e&&b.clearTimeout(e),d&&(e=b.setTimeout(function(){c&&((c.offsetWidth||c.offsetHeight)&&a.nextItem(!0),
    +a._initTimer())},d),c.setAttribute("data-slidershowTimer",e))},_fixedSlideNumber:function(a){a=a||this.currentPage;var b=a.pageX;return this.loop&&(b=0===a.pageX?this.itemLength-3:a.pageX===this.itemLength-1?0:a.pageX-1),b},_reLayout:function(){this.hasHorizontalScroll=!0,this.loop=this.scroller.classList.contains(e),this._super()},_getScroll:function(){var b=a.parseTranslateMatrix(a.getStyles(this.scroller,"webkitTransform"));return b?b.x:0},_transitionEnd:function(b){b.target===this.scroller&&this.isInTransition&&(this._transitionTime(),this.isInTransition=!1,a.trigger(this.wrapper,"scrollend",this))},_flick:function(a){if(this.moved){var b=a.detail,c=b.direction;this._clearRequestAnimationFrame(),this.isInTransition=!0,"flick"===a.type?(b.deltaTime<200&&(this.x=this._getPage(this.slideNumber+("right"===c?-1:1),!0).x),this.resetPosition(this.options.bounceTime)):"dragend"!==a.type||b.flick||this.resetPosition(this.options.bounceTime),a.stopPropagation()}},_initSnap:function(){if(this.scrollerWidth=this.itemLength*this.scrollerWidth,this.maxScrollX=Math.min(this.wrapperWidth-this.scrollerWidth,0),this._super(),this.currentPage.x)this.slideNumber=this._fixedSlideNumber(),this.lastSlideNumber="undefined"==typeof this.lastSlideNumber?this.slideNumber:this.lastSlideNumber;else{var a=this.pages[this.loop?1:0];if(a=a||this.pages[0],!a)return;this.currentPage=a[0],this.slideNumber=0,this.lastSlideNumber="undefined"==typeof this.lastSlideNumber?0:this.lastSlideNumber}this.options.startX=this.currentPage.x||0},_getSnapX:function(a){return Math.max(-a,this.maxScrollX)},_getPage:function(a,b){return this.loop?a>this.itemLength-(b?2:3)?(a=1,time=0):(b?-1:0)>a?(a=this.itemLength-2,time=0):a+=1:(b||(a>this.itemLength-1?(a=0,time=0):0>a&&(a=this.itemLength-1,time=0)),a=Math.min(Math.max(0,a),this.itemLength-1)),this.pages[a][0]},_gotoItem:function(b,c){this.currentPage=this._getPage(b,!0),this.scrollTo(this.currentPage.x,0,c,this.options.scrollEasing),0===c&&a.trigger(this.wrapper,"scrollend",this)},setTranslate:function(a,b){this._super(a,b);var c=this.progressBar;c&&(this.progressBarStyle.webkitTransform=this._getTranslateStr(-a*(this.progressBarWidth/this.wrapperWidth),0))},resetPosition:function(a){return a=a||0,this.x>0?this.x=0:this.x<this.maxScrollX&&(this.x=this.maxScrollX),this.currentPage=this._nearestSnap(this.x),this.scrollTo(this.currentPage.x,0,a,this.options.scrollEasing),!0},gotoItem:function(a,b){this._gotoItem(a,"undefined"==typeof b?this.options.scrollTime:b)},nextItem:function(){this._gotoItem(this.slideNumber+1,this.options.scrollTime)},prevItem:function(){this._gotoItem(this.slideNumber-1,this.options.scrollTime)},getSlideNumber:function(){return this.slideNumber||0},_reInit:function(){for(var a=this.wrapper.querySelectorAll("."+d),b=0,c=a.length;c>b;b++)if(a[b].parentNode===this.wrapper){this.scroller=a[b];break}this.scrollerStyle=this.scroller&&this.scroller.style,this.progressBar&&(this.progressBarWidth=this.progressBar.offsetWidth,this.progressBarStyle=this.progressBar.style)},refresh:function(b){b?(a.extend(this.options,b),this._super(),this._initTimer()):this._super()},destroy:function(){this._initEvent(!0),delete a.data[this.wrapper.getAttribute("data-slider")],this.wrapper.setAttribute("data-slider","")}});a.fn.slider=function(b){var d=null;return this.each(function(){var e=this;if(this.classList.contains(c)||(e=this.querySelector("."+c)),e&&e.querySelector(j)){var f=e.getAttribute("data-slider");f?(d=a.data[f],d&&b&&d.refresh(b)):(f=++a.uuid,a.data[f]=d=new l(e,b),e.setAttribute("data-slider",f))}}),d},a.ready(function(){a(".mui-slider").slider(),a(".mui-scroll-wrapper.mui-slider-indicator.mui-segmented-control").scroll({scrollY:!1,scrollX:!0,indicators:!1,snap:".mui-control-item"})})}(mui,window),function(a,b){a.os.plus&&a.os.android&&a.plusReady(function(){if(window.__NWin_Enable__!==!1){var c="mui-plus-pullrefresh",d="mui-visibility",e="mui-hidden",f="mui-block",g="mui-pull-caption",h="mui-pull-caption-down",i="mui-pull-caption-refresh",j="mui-pull-caption-nomore",k=a.Class.extend({init:function(a,b){this.element=a,this.options=b,this.wrapper=this.scroller=a,this._init(),this._initPulldownRefreshEvent()},_init:function(){var a=this;window.addEventListener("dragup",a),b.addEventListener("plusscrollbottom",a),a.scrollInterval=window.setInterval(function(){a.isScroll&&!a.loading&&window.pageYOffset+window.innerHeight+10>=b.documentElement.scrollHeight&&(a.isScroll=!1,a.bottomPocket&&a.pullupLoading())},100)},_initPulldownRefreshEvent:function(){var b=this;b.topPocket&&b.options.webviewId&&a.plusReady(function(){var a=plus.webview.getWebviewById(b.options.webviewId);if(a){b.options.webview=a;var c=b.options.down,d=c.height;a.addEventListener("close",function(){var a=b.options.webviewId&&b.options.webviewId.replace(/\//g,"_");b.element.removeAttribute("data-pullrefresh-plus-"+a)}),a.addEventListener("dragBounce",function(d){switch(b.pulldown?b.pullPocket.classList.add(f):b._initPulldownRefresh(),d.status){case"beforeChangeOffset":b._setCaption(c.contentdown);break;case"afterChangeOffset":b._setCaption(c.contentover);break;case"dragEndAfterChangeOffset":a.evalJS("mui&&mui.options.pullRefresh.down.callback()"),b._setCaption(c.contentrefresh)}},!1),a.setBounce({position:{top:2*d+"px"},changeoffset:{top:d+"px"}})}})},handleEvent:function(a){var b=this;b.stopped||(b.isScroll=!1,("dragup"===a.type||"plusscrollbottom"===a.type)&&(b.isScroll=!0,setTimeout(function(){b.isScroll=!1},1e3)))}}).extend(a.extend({setStopped:function(a){this.stopped=!!a;var b=plus.webview.currentWebview();if(this.stopped)b.setStyle({bounce:"none"}),b.setBounce({position:{top:"none"}});else{var c=this.options.down.height;b.setStyle({bounce:"vertical"}),b.setBounce({position:{top:2*c+"px"},changeoffset:{top:c+"px"}})}},pulldownLoading:function(){a.plusReady(function(){plus.webview.currentWebview().setBounce({offset:{top:this.options.down.height+"px"}})}.bind(this))},_pulldownLoading:function(){var b=this;a.plusReady(function(){var a=plus.webview.getWebviewById(b.options.webviewId);a.setBounce({offset:{top:b.options.down.height+"px"}})})},endPulldownToRefresh:function(){var a=plus.webview.currentWebview();a.parent().evalJS("mui&&mui(document.querySelector('.mui-content')).pullRefresh('"+JSON.stringify({webviewId:a.id})+"')._endPulldownToRefresh()")},_endPulldownToRefresh:function(){var a=this;a.topPocket&&a.options.webview&&(a.options.webview.endPullToRefresh(),a.loading=!1,a._setCaption(a.options.down.contentdown,!0),setTimeout(function(){a.loading||a.topPocket.classList.remove(f)},350))},pullupLoading:function(a){var b=this;b.isLoading||(b.isLoading=!0,b.pulldown!==!1?b._initPullupRefresh():this.pullPocket.classList.add(f),setTimeout(function(){b.pullLoading.classList.add(d),b.pullLoading.classList.remove(e),b.pullCaption.innerHTML="",b.pullCaption.className=g+" "+i,b.pullCaption.innerHTML=b.options.up.contentrefresh,a=a||b.options.up.callback,a&&a.call(b)},300))},endPullupToRefresh:function(a){var c=this;c.pullLoading&&(c.pullLoading.classList.remove(d),c.pullLoading.classList.add(e),c.isLoading=!1,a?(c.finished=!0,c.pullCaption.className=g+" "+j,c.pullCaption.innerHTML=c.options.up.contentnomore,b.removeEventListener("plusscrollbottom",c),window.removeEventListener("dragup",c)):(c.pullCaption.className=g+" "+h,c.pullCaption.innerHTML=c.options.up.contentdown))},disablePullupToRefresh:function(){this._initPullupRefresh(),this.bottomPocket.className="mui-pull-bottom-pocket "+e,window.removeEventListener("dragup",this)},enablePullupToRefresh:function(){this._initPullupRefresh(),this.bottomPocket.classList.remove(e),this.pullCaption.className=g+" "+h,this.pullCaption.innerHTML=this.options.up.contentdown,b.addEventListener("plusscrollbottom",this),window.addEventListener("dragup",this)},scrollTo:function(b,c,d){a.scrollTo(c,d)},scrollToBottom:function(c){a.scrollTo(b.documentElement.scrollHeight,c)},refresh:function(a){a&&this.finished&&(this.enablePullupToRefresh(),this.finished=!1)}},a.PullRefresh));a.fn.pullRefresh=function(d){var e;0===this.length?(e=b.createElement("div"),e.className="mui-content",b.body.appendChild(e)):e=this[0];var f=d;d=d||{},"string"==typeof d&&(d=a.parseJSON(d)),!d.webviewId&&(d.webviewId=plus.webview.currentWebview().id||plus.webview.currentWebview().getURL());var g=null,h=d.webviewId&&d.webviewId.replace(/\//g,"_"),i=e.getAttribute("data-pullrefresh-plus-"+h);return i||"undefined"!=typeof f?(i?g=a.data[i]:(i=++a.uuid,e.setAttribute("data-pullrefresh-plus-"+h,i),b.body.classList.add(c),a.data[i]=g=new k(e,d)),d.down&&d.down.auto?g._pulldownLoading():d.up&&d.up.auto&&g.pullupLoading(),g):!1}}})}(mui,document),function(a,b,c,d){var e="mui-off-canvas-left",f="mui-off-canvas-right",g="mui-off-canvas-backdrop",h="mui-off-canvas-wrap",i="mui-slide-in",j="mui-active",k="mui-transitioning",l=".mui-inner-wrap",m=a.Class.extend({init:function(b,d){this.wrapper=this.element=b,this.scroller=this.wrapper.querySelector(l),this.classList=this.wrapper.classList,this.scroller&&(this.options=a.extend(!0,{dragThresholdX:10,scale:.8,opacity:.1,preventDefaultException:{tagName:/^(INPUT|TEXTAREA|BUTTON|SELECT|VIDEO)$/}},d),c.body.classList.add("mui-fullscreen"),this.refresh(),this.initEvent())},_preventDefaultException:function(a,b){for(var c in b)if(b[c].test(a[c]))return!0;return!1},refresh:function(a){this.slideIn=this.classList.contains(i),this.scalable=this.classList.contains("mui-scalable")&&!this.slideIn,this.scroller=this.wrapper.querySelector(l),this.offCanvasLefts=this.wrapper.querySelectorAll("."+e),this.offCanvasRights=this.wrapper.querySelectorAll("."+f),a?a.classList.contains(e)?this.offCanvasLeft=a:a.classList.contains(f)&&(this.offCanvasRight=a):(this.offCanvasRight=this.wrapper.querySelector("."+f),this.offCanvasLeft=this.wrapper.querySelector("."+e)),this.offCanvasRightWidth=this.offCanvasLeftWidth=0,this.offCanvasLeftSlideIn=this.offCanvasRightSlideIn=!1,this.offCanvasRight&&(this.offCanvasRightWidth=this.offCanvasRight.offsetWidth,this.offCanvasRightSlideIn=this.slideIn&&this.offCanvasRight.parentNode===this.wrapper),this.offCanvasLeft&&(this.offCanvasLeftWidth=this.offCanvasLeft.offsetWidth,this.offCanvasLeftSlideIn=this.slideIn&&this.offCanvasLeft.parentNode===this.wrapper),this.backdrop=this.scroller.querySelector("."+g),this.options.dragThresholdX=this.options.dragThresholdX||10,this.visible=!1,this.startX=null,this.lastX=null,this.offsetX=null,this.lastTranslateX=null},handleEvent:function(b){switch(b.type){case a.EVENT_START:b.target&&!this._preventDefaultException(b.target,this.options.preventDefaultException)&&b.preventDefault();break;case"webkitTransitionEnd":b.target===this.scroller&&this._dispatchEvent();break;case"drag":var c=b.detail;this.startX?this.lastX=c.center.x:(this.startX=c.center.x,this.lastX=this.startX),!this.isDragging&&Math.abs(this.lastX-this.startX)>this.options.dragThresholdX&&("left"===c.direction||"right"===c.direction)&&(this.slideIn?(this.scroller=this.wrapper.querySelector(l),this.classList.contains(j)?this.offCanvasRight&&this.offCanvasRight.classList.contains(j)?(this.offCanvas=this.offCanvasRight,this.offCanvasWidth=this.offCanvasRightWidth):(this.offCanvas=this.offCanvasLeft,this.offCanvasWidth=this.offCanvasLeftWidth):"left"===c.direction&&this.offCanvasRight?(this.offCanvas=this.offCanvasRight,this.offCanvasWidth=this.offCanvasRightWidth):"right"===c.direction&&this.offCanvasLeft?(this.offCanvas=this.offCanvasLeft,this.offCanvasWidth=this.offCanvasLeftWidth):this.scroller=null):this.classList.contains(j)?"left"===c.direction?(this.offCanvas=this.offCanvasLeft,this.offCanvasWidth=this.offCanvasLeftWidth):(this.offCanvas=this.offCanvasRight,this.offCanvasWidth=this.offCanvasRightWidth):"right"===c.direction?(this.offCanvas=this.offCanvasLeft,this.offCanvasWidth=this.offCanvasLeftWidth):(this.offCanvas=this.offCanvasRight,this.offCanvasWidth=this.offCanvasRightWidth),this.offCanvas&&this.scroller&&(this.startX=this.lastX,this.isDragging=!0,a.gestures.session.lockDirection=!0,a.gestures.session.startDirection=c.direction,this.offCanvas.classList.remove(k),this.scroller.classList.remove(k),this.offsetX=this.getTranslateX(),this._initOffCanvasVisible())),this.isDragging&&(this.updateTranslate(this.offsetX+(this.lastX-this.startX)),c.gesture.preventDefault(),b.stopPropagation());break;case"dragend":if(this.isDragging){var c=b.detail,d=c.direction;this.isDragging=!1,this.offCanvas.classList.add(k),this.scroller.classList.add(k);var e=0,f=this.getTranslateX();if(this.slideIn){if(e=f>=0?this.offCanvasRightWidth&&f/this.offCanvasRightWidth||0:this.offCanvasLeftWidth&&f/this.offCanvasLeftWidth||0,"right"===d&&0>=e&&(e>=-.5||c.swipe)?this.openPercentage(100):"right"===d&&e>0&&(e>=.5||c.swipe)?this.openPercentage(0):"right"===d&&-.5>=e?this.openPercentage(0):"right"===d&&e>0&&.5>=e?this.openPercentage(-100):"left"===d&&e>=0&&(.5>=e||c.swipe)?this.openPercentage(-100):"left"===d&&0>e&&(-.5>=e||c.swipe)?this.openPercentage(0):"left"===d&&e>=.5?this.openPercentage(0):"left"===d&&e>=-.5&&0>e?this.openPercentage(100):this.openPercentage(0),1===e||-1===e||0===e)return void this._dispatchEvent()}else{if(e=f>=0?this.offCanvasLeftWidth&&f/this.offCanvasLeftWidth||0:this.offCanvasRightWidth&&f/this.offCanvasRightWidth||0,0===e)return this.openPercentage(0),void this._dispatchEvent();"right"===d&&e>=0&&(e>=.5||c.swipe)?this.openPercentage(100):"right"===d&&0>e&&(e>-.5||c.swipe)?this.openPercentage(0):"right"===d&&e>0&&.5>e?this.openPercentage(0):"right"===d&&.5>e?this.openPercentage(-100):"left"===d&&0>=e&&(-.5>=e||c.swipe)?this.openPercentage(-100):"left"===d&&e>0&&(.5>=e||c.swipe)?this.openPercentage(0):"left"===d&&0>e&&e>=-.5?this.openPercentage(0):"left"===d&&e>.5?this.openPercentage(100):this.openPercentage(0),(1===e||-1===e)&&this._dispatchEvent()}}}},_dispatchEvent:function(){this.classList.contains(j)?a.trigger(this.wrapper,"shown",this):a.trigger(this.wrapper,"hidden",this)},_initOffCanvasVisible:function(){this.visible||(this.visible=!0,this.offCanvasLeft&&(this.offCanvasLeft.style.visibility="visible"),this.offCanvasRight&&(this.offCanvasRight.style.visibility="visible"))},initEvent:function(){var b=this;b.backdrop&&b.backdrop.addEventListener("tap",function(a){b.close(),a.detail.gesture.preventDefault()}),this.classList.contains("mui-draggable")&&(this.wrapper.addEventListener(a.EVENT_START,this),this.wrapper.addEventListener("drag",this),this.wrapper.addEventListener("dragend",this)),this.wrapper.addEventListener("webkitTransitionEnd",this)},openPercentage:function(a){var b=a/100;this.slideIn?(this.offCanvasLeft&&a>=0?(b=0===b?-1:0,this.updateTranslate(this.offCanvasLeftWidth*b),this.offCanvasLeft.classList[0!==a?"add":"remove"](j)):this.offCanvasRight&&0>=a&&(b=0===b?1:0,this.updateTranslate(this.offCanvasRightWidth*b),this.offCanvasRight.classList[0!==a?"add":"remove"](j)),this.classList[0!==a?"add":"remove"](j)):(this.offCanvasLeft&&a>=0?(this.updateTranslate(this.offCanvasLeftWidth*b),this.offCanvasLeft.classList[0!==b?"add":"remove"](j)):this.offCanvasRight&&0>=a&&(this.updateTranslate(this.offCanvasRightWidth*b),this.offCanvasRight.classList[0!==b?"add":"remove"](j)),this.classList[0!==b?"add":"remove"](j))},updateTranslate:function(b){if(b!==this.lastTranslateX){if(this.slideIn){if(this.offCanvas.classList.contains(f)){if(0>b)return void this.setTranslateX(0);if(b>this.offCanvasRightWidth)return void this.setTranslateX(this.offCanvasRightWidth)}else{if(b>0)return void this.setTranslateX(0);if(b<-this.offCanvasLeftWidth)return void this.setTranslateX(-this.offCanvasLeftWidth)}this.setTranslateX(b)}else{if(!this.offCanvasLeft&&b>0||!this.offCanvasRight&&0>b)return void this.setTranslateX(0);if(this.leftShowing&&b>this.offCanvasLeftWidth)return void this.setTranslateX(this.offCanvasLeftWidth);if(this.rightShowing&&b<-this.offCanvasRightWidth)return void this.setTranslateX(-this.offCanvasRightWidth);this.setTranslateX(b),b>=0?(this.leftShowing=!0,this.rightShowing=!1,b>0&&(this.offCanvasLeft&&a.each(this.offCanvasLefts,function(a,b){b===this.offCanvasLeft?this.offCanvasLeft.style.zIndex=0:b.style.zIndex=-1}.bind(this)),this.offCanvasRight&&(this.offCanvasRight.style.zIndex=-1))):(this.rightShowing=!0,this.leftShowing=!1,this.offCanvasRight&&a.each(this.offCanvasRights,function(a,b){b===this.offCanvasRight?b.style.zIndex=0:b.style.zIndex=-1}.bind(this)),this.offCanvasLeft&&(this.offCanvasLeft.style.zIndex=-1))}this.lastTranslateX=b}},setTranslateX:a.animationFrame(function(a){if(this.scroller)if(this.scalable&&this.offCanvas.parentNode===this.wrapper){var b=Math.abs(a)/this.offCanvasWidth,c=1-(1-this.options.scale)*b,d=this.options.scale+(1-this.options.scale)*b,f=(1-(1-this.options.opacity)*b,this.options.opacity+(1-this.options.opacity)*b);this.offCanvas.classList.contains(e)?(this.offCanvas.style.webkitTransformOrigin="-100%",this.scroller.style.webkitTransformOrigin="left"):(this.offCanvas.style.webkitTransformOrigin="200%",this.scroller.style.webkitTransformOrigin="right"),this.offCanvas.style.opacity=f,this.offCanvas.style.webkitTransform="translate3d(0,0,0) scale("+d+")",this.scroller.style.webkitTransform="translate3d("+a+"px,0,0) scale("+c+")"}else this.slideIn?this.offCanvas.style.webkitTransform="translate3d("+a+"px,0,0)":this.scroller.style.webkitTransform="translate3d("+a+"px,0,0)"}),getTranslateX:function(){if(this.offCanvas){var b=this.slideIn?this.offCanvas:this.scroller,c=a.parseTranslateMatrix(a.getStyles(b,"webkitTransform"));return c&&c.x||0}return 0},isShown:function(a){var b=!1;if(this.slideIn)b="left"===a?this.classList.contains(j)&&this.wrapper.querySelector("."+e+"."+j):"right"===a?this.classList.contains(j)&&this.wrapper.querySelector("."+f+"."+j):this.classList.contains(j)&&(this.wrapper.querySelector("."+e+"."+j)||this.wrapper.querySelector("."+f+"."+j));else{var c=this.getTranslateX();b="right"===a?this.classList.contains(j)&&0>c:"left"===a?this.classList.contains(j)&&c>0:this.classList.contains(j)&&0!==c}return b},close:function(){this._initOffCanvasVisible(),this.offCanvas=this.wrapper.querySelector("."+f+"."+j)||this.wrapper.querySelector("."+e+"."+j),this.offCanvasWidth=this.offCanvas.offsetWidth,this.scroller&&(this.offCanvas.offsetHeight,this.offCanvas.classList.add(k),this.scroller.classList.add(k),this.openPercentage(0))},show:function(a){return this._initOffCanvasVisible(),this.isShown(a)?!1:(a||(a=this.wrapper.querySelector("."+f)?"right":"left"),"right"===a?(this.offCanvas=this.offCanvasRight,this.offCanvasWidth=this.offCanvasRightWidth):(this.offCanvas=this.offCanvasLeft,this.offCanvasWidth=this.offCanvasLeftWidth),this.scroller&&(this.offCanvas.offsetHeight,this.offCanvas.classList.add(k),this.scroller.classList.add(k),this.openPercentage("left"===a?100:-100)),!0)},toggle:function(a){var b=a;a&&a.classList&&(b=a.classList.contains(e)?"left":"right",this.refresh(a)),this.show(b)||this.close()}}),n=function(a){if(parentNode=a.parentNode,parentNode){if(parentNode.classList.contains(h))return parentNode;if(parentNode=parentNode.parentNode,parentNode.classList.contains(h))return parentNode}},o=function(b,d){if("A"===d.tagName&&d.hash){var e=c.getElementById(d.hash.replace("#",""));if(e){var f=n(e);if(f)return a.targets._container=f,e}}return!1};a.registerTarget({name:d,index:60,handle:o,target:!1,isReset:!1,isContinue:!0}),b.addEventListener("tap",function(b){if(a.targets.offcanvas)for(var d=b.target;d&&d!==c;d=d.parentNode)if("A"===d.tagName&&d.hash&&d.hash==="#"+a.targets.offcanvas.id){b.detail&&b.detail.gesture&&b.detail.gesture.preventDefault(),a(a.targets._container).offCanvas().toggle(a.targets.offcanvas),a.targets.offcanvas=a.targets._container=null;break}}),a.fn.offCanvas=function(b){var c=[];return this.each(function(){var d=null,e=this;e.classList.contains(h)||(e=n(e));var f=e.getAttribute("data-offCanvas");f?d=a.data[f]:(f=++a.uuid,a.data[f]=d=new m(e,b),e.setAttribute("data-offCanvas",f)),("show"===b||"close"===b||"toggle"===b)&&d.toggle(),c.push(d)}),1===c.length?c[0]:c},a.ready(function(){a(".mui-off-canvas-wrap").offCanvas()})}(mui,window,document,"offcanvas"),function(a,b){var c="mui-action",d=function(a,b){var d=b.className||"";return"string"!=typeof d&&(d=""),d&&~d.indexOf(c)?(b.classList.contains("mui-action-back")&&a.preventDefault(),b):!1};a.registerTarget({name:b,index:50,handle:d,target:!1,isContinue:!0})}(mui,"action"),function(a,b,c,d){var e="mui-modal",f=function(a,b){if("A"===b.tagName&&b.hash){var d=c.getElementById(b.hash.replace("#",""));if(d&&d.classList.contains(e))return d}return!1};a.registerTarget({name:d,index:50,handle:f,target:!1,isReset:!1,isContinue:!0}),b.addEventListener("tap",function(b){a.targets.modal&&(b.detail.gesture.preventDefault(),a.targets.modal.classList.toggle("mui-active"))})}(mui,window,document,"modal"),function(a,b,c,d){var e="mui-popover",f="mui-popover-arrow",g="mui-popover-action",h="mui-backdrop",i="mui-bar-popover",j="mui-bar-backdrop",k="mui-backdrop-action",l="mui-active",m="mui-bottom",n=function(b,d){if("A"===d.tagName&&d.hash){if(a.targets._popover=c.getElementById(d.hash.replace("#","")),a.targets._popover&&a.targets._popover.classList.contains(e))return d;a.targets._popover=null}return!1};a.registerTarget({name:d,index:60,handle:n,target:!1,isReset:!1,isContinue:!0});var o,p=function(a){},q=function(b){this.removeEventListener("webkitTransitionEnd",q),this.addEventListener(a.EVENT_MOVE,a.preventDefault),a.trigger(this,"shown",this)},r=function(b){v(this,"none"),this.removeEventListener("webkitTransitionEnd",r),this.removeEventListener(a.EVENT_MOVE,a.preventDefault),p(!1),a.trigger(this,"hidden",this)},s=function(){var b=c.createElement("div");return b.classList.add(h),b.addEventListener(a.EVENT_MOVE,a.preventDefault),b.addEventListener("tap",function(b){var d=a.targets._popover;d&&(d.addEventListener("webkitTransitionEnd",r),d.classList.remove(l),t(d),c.body.setAttribute("style",""))}),b}(),t=function(b){s.setAttribute("style","opacity:0"),a.targets.popover=a.targets._popover=null,o=a.later(function(){!b.classList.contains(l)&&s.parentNode&&s.parentNode===c.body&&c.body.removeChild(s)},350)};b.addEventListener("tap",function(b){if(a.targets.popover){for(var d=!1,e=b.target;e&&e!==c;e=e.parentNode)e===a.targets.popover&&(d=!0);d&&(b.detail.gesture.preventDefault(),u(a.targets._popover,a.targets.popover))}});var u=function(a,b,d){if(!("show"===d&&a.classList.contains(l)||"hide"===d&&!a.classList.contains(l))){o&&o.cancel(),a.removeEventListener("webkitTransitionEnd",q),a.removeEventListener("webkitTransitionEnd",r),s.classList.remove(j),s.classList.remove(k);var e=c.querySelector(".mui-popover.mui-active");if(e&&(e.addEventListener("webkitTransitionEnd",r),e.classList.remove(l),a===e))return void t(e);var f=!1;(a.classList.contains(i)||a.classList.contains(g))&&(a.classList.contains(g)?(f=!0,s.classList.add(k)):s.classList.add(j)),v(a,"block"),a.offsetHeight,a.classList.add(l),s.setAttribute("style",""),c.body.appendChild(s),p(!0),w(a,b,f),s.classList.add(l),a.addEventListener("webkitTransitionEnd",q)}},v=function(a,b,c,d){var e=a.style;"undefined"!=typeof b&&(e.display=b),"undefined"!=typeof c&&(e.top=c+"px"),"undefined"!=typeof d&&(e.left=d+"px")},w=function(d,e,h){if(d&&e){if(h)return void v(d,"block");var i=b.innerWidth,j=b.innerHeight,k=d.offsetWidth,l=d.offsetHeight,n=e.offsetWidth,o=e.offsetHeight,p=a.offset(e),q=d.querySelector("."+f);q||(q=c.createElement("div"),q.className=f,d.appendChild(q));var r=q&&q.offsetWidth/2||0,s=0,t=0,u=0,w=0,x=d.classList.contains(g)?0:5,y="top";l+r<p.top-b.pageYOffset?s=p.top-l-r:l+r<j-(p.top-b.pageYOffset)-o?(y="bottom",s=p.top+o+r):(y="middle",s=Math.max((j-l)/2+b.pageYOffset,0),t=Math.max((i-k)/2+b.pageXOffset,0)),"top"===y||"bottom"===y?(t=n/2+p.left-k/2,u=t,x>t&&(t=x),t+k>i&&(t=i-k-x),q&&("top"===y?q.classList.add(m):q.classList.remove(m),u-=t,w=k/2-r/2+u,w=Math.max(Math.min(w,k-2*r-6),6),q.setAttribute("style","left:"+w+"px"))):"middle"===y&&q.setAttribute("style","display:none"),v(d,"block",s,t)}};a.createMask=function(b){var d=c.createElement("div");d.classList.add(h),d.addEventListener(a.EVENT_MOVE,a.preventDefault),d.addEventListener("tap",function(){e.close()});var e=[d];return e._show=!1,e.show=function(){return e._show=!0,d.setAttribute("style","opacity:1"),c.body.appendChild(d),e},e._remove=function(){return e._show&&(e._show=!1,d.setAttribute("style","opacity:0"),a.later(function(){var a=c.body;d.parentNode===a&&a.removeChild(d)},350)),e},e.close=function(){b?b()!==!1&&e._remove():e._remove()},e},a.fn.popover=function(){var b=arguments;this.each(function(){a.targets._popover=this,("show"===b[0]||"hide"===b[0]||"toggle"===b[0])&&u(this,b[1],b[0])})}}(mui,window,document,"popover"),function(a,b,c,d,e){var f="mui-control-item",g="mui-segmented-control",h="mui-segmented-control-vertical",i="mui-control-content",j="mui-bar-tab",k="mui-tab-item",l=function(a,b){return b.classList&&(b.classList.contains(f)||b.classList.contains(k))?(b.parentNode&&b.parentNode.classList&&b.parentNode.classList.contains(h)||a.preventDefault(),b):!1};a.registerTarget({name:d,index:80,handle:l,target:!1}),b.addEventListener("tap",function(b){var e=a.targets.tab;if(e){for(var h,l,m,n="mui-active",o="."+n,p=e.parentNode;p&&p!==c;p=p.parentNode){if(p.classList.contains(g)){h=p.querySelector(o+"."+f);break}p.classList.contains(j)&&(h=p.querySelector(o+"."+k))}h&&h.classList.remove(n);var q=e===h;if(e&&e.classList.add(n),e.hash&&(m=c.getElementById(e.hash.replace("#","")))){if(!m.classList.contains(i))return void e.classList[q?"remove":"add"](n);if(!q){var r=m.parentNode;l=r.querySelectorAll("."+i+o);for(var s=0;s<l.length;s++){var t=l[s];t.parentNode===r&&t.classList.remove(n)}m.classList.add(n);for(var u=[],v=r.querySelectorAll("."+i),s=0;s<v.length;s++)v[s].parentNode===r&&u.push(v[s]);a.trigger(m,a.eventName("shown",d),{tabNumber:Array.prototype.indexOf.call(u,m)}),b.detail&&b.detail.gesture.preventDefault()}}}})}(mui,window,document,"tab"),function(a,b,c){var d="mui-switch",e="mui-switch-handle",f="mui-active",g="mui-dragging",h="mui-disabled",i="."+e,j=function(a,b){return b.classList&&b.classList.contains(d)?b:!1};a.registerTarget({name:c,index:100,handle:j,target:!1});var k=function(a){this.element=a,this.classList=this.element.classList,this.handle=this.element.querySelector(i),this.init(),this.initEvent()};k.prototype.init=function(){this.toggleWidth=this.element.offsetWidth,this.handleWidth=this.handle.offsetWidth,this.handleX=this.toggleWidth-this.handleWidth-3},k.prototype.initEvent=function(){this.element.addEventListener(a.EVENT_START,this),this.element.addEventListener("drag",this),this.element.addEventListener("swiperight",this),this.element.addEventListener(a.EVENT_END,this),this.element.addEventListener(a.EVENT_CANCEL,this)},k.prototype.handleEvent=function(b){if(!this.classList.contains(h))switch(b.type){case a.EVENT_START:this.start(b);break;case"drag":this.drag(b);break;case"swiperight":this.swiperight();break;case a.EVENT_END:case a.EVENT_CANCEL:this.end(b)}},k.prototype.start=function(a){this.handle.style.webkitTransitionDuration=this.element.style.webkitTransitionDuration=".2s",this.classList.add(g),(0===this.toggleWidth||0===this.handleWidth)&&this.init()},k.prototype.drag=function(a){var b=a.detail;this.isDragging||("left"===b.direction||"right"===b.direction)&&(this.isDragging=!0,this.lastChanged=void 0,this.initialState=this.classList.contains(f)),this.isDragging&&(this.setTranslateX(b.deltaX),a.stopPropagation(),b.gesture.preventDefault())},k.prototype.swiperight=function(a){this.isDragging&&a.stopPropagation()},k.prototype.end=function(b){this.classList.remove(g),this.isDragging?(this.isDragging=!1,b.stopPropagation(),a.trigger(this.element,"toggle",{isActive:this.classList.contains(f)})):this.toggle()},k.prototype.toggle=function(b){var c=this.classList;b===!1?this.handle.style.webkitTransitionDuration=this.element.style.webkitTransitionDuration="0s":this.handle.style.webkitTransitionDuration=this.element.style.webkitTransitionDuration=".2s",c.contains(f)?(c.remove(f),this.handle.style.webkitTransform="translate(0,0)"):(c.add(f),this.handle.style.webkitTransform="translate("+this.handleX+"px,0)"),a.trigger(this.element,"toggle",{isActive:this.classList.contains(f)})},k.prototype.setTranslateX=a.animationFrame(function(a){if(this.isDragging){var b=!1;(this.initialState&&-a>this.handleX/2||!this.initialState&&a>this.handleX/2)&&(b=!0),this.lastChanged!==b&&(b?(this.handle.style.webkitTransform="translate("+(this.initialState?0:this.handleX)+"px,0)",this.classList[this.initialState?"remove":"add"](f)):(this.handle.style.webkitTransform="translate("+(this.initialState?this.handleX:0)+"px,0)",this.classList[this.initialState?"add":"remove"](f)),this.lastChanged=b)}}),a.fn["switch"]=function(b){var c=[];return this.each(function(){var b=null,d=this.getAttribute("data-switch");d?b=a.data[d]:(d=++a.uuid,a.data[d]=new k(this),this.setAttribute("data-switch",d)),c.push(b)}),c.length>1?c:c[0]},a.ready(function(){a("."+d)["switch"]()})}(mui,window,"toggle"),function(a,b,c){function d(a,b){var c=b?"removeEventListener":"addEventListener";a[c]("drag",F),a[c]("dragend",F),a[c]("swiperight",F),a[c]("swipeleft",F),a[c]("flick",F)}var e,f,g="mui-active",h="mui-selected",i="mui-grid-view",j="mui-table-view-radio",k="mui-table-view-cell",l="mui-collapse-content",m="mui-disabled",n="mui-switch",o="mui-btn",p="mui-slider-handle",q="mui-slider-left",r="mui-slider-right",s="mui-transitioning",t="."+p,u="."+q,v="."+r,w="."+h,x="."+o,y=.8,z=isOpened=openedActions=progress=!1,A=sliderActionLeft=sliderActionRight=buttonsLeft=buttonsRight=sliderDirection=sliderRequestAnimationFrame=!1,B=translateX=lastTranslateX=sliderActionLeftWidth=sliderActionRightWidth=0,C=function(a){a?f?f.classList.add(g):e&&e.classList.add(g):(B&&B.cancel(),f?f.classList.remove(g):e&&e.classList.remove(g))},D=function(){if(translateX!==lastTranslateX){if(buttonsRight&&buttonsRight.length>0){progress=translateX/sliderActionRightWidth,translateX<-sliderActionRightWidth&&(translateX=-sliderActionRightWidth-Math.pow(-translateX-sliderActionRightWidth,y));for(var a=0,b=buttonsRight.length;b>a;a++){var c=buttonsRight[a];"undefined"==typeof c._buttonOffset&&(c._buttonOffset=c.offsetLeft),buttonOffset=c._buttonOffset,E(c,translateX-buttonOffset*(1+Math.max(progress,-1)))}}if(buttonsLeft&&buttonsLeft.length>0){progress=translateX/sliderActionLeftWidth,translateX>sliderActionLeftWidth&&(translateX=sliderActionLeftWidth+Math.pow(translateX-sliderActionLeftWidth,y));for(var a=0,b=buttonsLeft.length;b>a;a++){var d=buttonsLeft[a];"undefined"==typeof d._buttonOffset&&(d._buttonOffset=sliderActionLeftWidth-d.offsetLeft-d.offsetWidth),buttonOffset=d._buttonOffset,buttonsLeft.length>1&&(d.style.zIndex=buttonsLeft.length-a),E(d,translateX+buttonOffset*(1-Math.min(progress,1)))}}E(A,translateX),lastTranslateX=translateX}sliderRequestAnimationFrame=requestAnimationFrame(function(){D()})},E=function(a,b){a&&(a.style.webkitTransform="translate("+b+"px,0)")};b.addEventListener(a.EVENT_START,function(b){e&&C(!1),e=f=!1,z=isOpened=openedActions=!1;for(var g=b.target,h=!1;g&&g!==c;g=g.parentNode)if(g.classList){var p=g.classList;if(("INPUT"===g.tagName&&"radio"!==g.type&&"checkbox"!==g.type||"BUTTON"===g.tagName||p.contains(n)||p.contains(o)||p.contains(m))&&(h=!0),p.contains(l))break;if(p.contains(k)){e=g;var q=e.parentNode.querySelector(w);if(!e.parentNode.classList.contains(j)&&q&&q!==e)return a.swipeoutClose(q),void(e=h=!1);if(!e.parentNode.classList.contains(i)){var r=e.querySelector("a");r&&r.parentNode===e&&(f=r)}var s=e.querySelector(t);s&&(d(e),b.stopPropagation()),h||(s?(B&&B.cancel(),B=a.later(function(){C(!0)},100)):C(!0));break}}}),b.addEventListener(a.EVENT_MOVE,function(a){C(!1)});var F={handleEvent:function(a){switch(a.type){case"drag":this.drag(a);break;case"dragend":this.dragend(a);break;case"flick":this.flick(a);break;case"swiperight":this.swiperight(a);
    +break;case"swipeleft":this.swipeleft(a)}},drag:function(a){if(e){z||(A=sliderActionLeft=sliderActionRight=buttonsLeft=buttonsRight=sliderDirection=sliderRequestAnimationFrame=!1,A=e.querySelector(t),A&&(sliderActionLeft=e.querySelector(u),sliderActionRight=e.querySelector(v),sliderActionLeft&&(sliderActionLeftWidth=sliderActionLeft.offsetWidth,buttonsLeft=sliderActionLeft.querySelectorAll(x)),sliderActionRight&&(sliderActionRightWidth=sliderActionRight.offsetWidth,buttonsRight=sliderActionRight.querySelectorAll(x)),e.classList.remove(s),isOpened=e.classList.contains(h),isOpened&&(openedActions=e.querySelector(u+w)?"left":"right")));var b=a.detail,c=b.direction,d=b.angle;if("left"===c&&(d>150||-150>d)?(buttonsRight||buttonsLeft&&isOpened)&&(z=!0):"right"===c&&d>-30&&30>d&&(buttonsLeft||buttonsRight&&isOpened)&&(z=!0),z){a.stopPropagation(),a.detail.gesture.preventDefault();var f=a.detail.deltaX;if(isOpened&&("right"===openedActions?f-=sliderActionRightWidth:f+=sliderActionLeftWidth),f>0&&!buttonsLeft||0>f&&!buttonsRight){if(!isOpened)return;f=0}0>f?sliderDirection="toLeft":f>0?sliderDirection="toRight":sliderDirection||(sliderDirection="toLeft"),sliderRequestAnimationFrame||D(),translateX=f}}},flick:function(a){z&&a.stopPropagation()},swipeleft:function(a){z&&a.stopPropagation()},swiperight:function(a){z&&a.stopPropagation()},dragend:function(b){if(z){b.stopPropagation(),sliderRequestAnimationFrame&&(cancelAnimationFrame(sliderRequestAnimationFrame),sliderRequestAnimationFrame=null);var c=b.detail;z=!1;var d="close",f="toLeft"===sliderDirection?sliderActionRightWidth:sliderActionLeftWidth,g=c.swipe||Math.abs(translateX)>f/2;g&&(isOpened?"left"===c.direction&&"right"===openedActions?d="open":"right"===c.direction&&"left"===openedActions&&(d="open"):d="open"),e.classList.add(s);var i;if("open"===d){var j="toLeft"===sliderDirection?-f:f;if(E(A,j),i="toLeft"===sliderDirection?buttonsRight:buttonsLeft,"undefined"!=typeof i){for(var k=null,l=0;l<i.length;l++)k=i[l],E(k,j);k.parentNode.classList.add(h),e.classList.add(h),isOpened||a.trigger(e,"toLeft"===sliderDirection?"slideleft":"slideright")}}else E(A,0),sliderActionLeft&&sliderActionLeft.classList.remove(h),sliderActionRight&&sliderActionRight.classList.remove(h),e.classList.remove(h);var m;if(buttonsLeft&&buttonsLeft.length>0&&buttonsLeft!==i)for(var l=0,n=buttonsLeft.length;n>l;l++){var o=buttonsLeft[l];m=o._buttonOffset,"undefined"==typeof m&&(o._buttonOffset=sliderActionLeftWidth-o.offsetLeft-o.offsetWidth),E(o,m)}if(buttonsRight&&buttonsRight.length>0&&buttonsRight!==i)for(var l=0,n=buttonsRight.length;n>l;l++){var p=buttonsRight[l];m=p._buttonOffset,"undefined"==typeof m&&(p._buttonOffset=p.offsetLeft),E(p,-m)}}}};a.swipeoutOpen=function(b,c){if(b){var d=b.classList;if(!d.contains(h)){c||(c=b.querySelector(v)?"right":"left");var e=b.querySelector(a.classSelector(".slider-"+c));if(e){e.classList.add(h),d.add(h),d.remove(s);for(var f,g=e.querySelectorAll(x),i=e.offsetWidth,j="right"===c?-i:i,k=g.length,l=0;k>l;l++)f=g[l],"right"===c?E(f,-f.offsetLeft):E(f,i-f.offsetWidth-f.offsetLeft);d.add(s);for(var l=0;k>l;l++)E(g[l],j);E(b.querySelector(t),j)}}}},a.swipeoutClose=function(b){if(b){var c=b.classList;if(c.contains(h)){var d=b.querySelector(v+w)?"right":"left",e=b.querySelector(a.classSelector(".slider-"+d));if(e){e.classList.remove(h),c.remove(h),c.add(s);var f,g=e.querySelectorAll(x),i=e.offsetWidth,j=g.length;E(b.querySelector(t),0);for(var k=0;j>k;k++)f=g[k],"right"===d?E(f,-f.offsetLeft):E(f,i-f.offsetWidth-f.offsetLeft)}}}},b.addEventListener(a.EVENT_END,function(a){e&&(C(!1),A&&d(e,!0))}),b.addEventListener(a.EVENT_CANCEL,function(a){e&&(C(!1),A&&d(e,!0))});var G=function(b){var c=b.target&&b.target.type||"";if("radio"!==c&&"checkbox"!==c){var d=e.classList;if(d.contains("mui-radio")){var f=e.querySelector("input[type=radio]");f&&(f.disabled||f.readOnly||(f.checked=!f.checked,a.trigger(f,"change")))}else if(d.contains("mui-checkbox")){var f=e.querySelector("input[type=checkbox]");f&&(f.disabled||f.readOnly||(f.checked=!f.checked,a.trigger(f,"change")))}}};b.addEventListener(a.EVENT_CLICK,function(a){e&&e.classList.contains("mui-collapse")&&a.preventDefault()}),b.addEventListener("doubletap",function(a){e&&G(a)});var H=/^(INPUT|TEXTAREA|BUTTON|SELECT)$/;b.addEventListener("tap",function(b){if(e){var c=!1,d=e.classList,f=e.parentNode;if(f&&f.classList.contains(j)){if(d.contains(h))return;var i=f.querySelector("li"+w);return i&&i.classList.remove(h),d.add(h),void a.trigger(e,"selected",{el:e})}if(d.contains("mui-collapse")&&!e.parentNode.classList.contains("mui-unfold")){if(H.test(b.target.tagName)||b.detail.gesture.preventDefault(),!d.contains(g)){var k=e.parentNode.querySelector(".mui-collapse.mui-active");k&&k.classList.remove(g),c=!0}d.toggle(g),c&&a.trigger(e,"expand")}else G(b)}})}(mui,window,document),function(a,b){a.alert=function(c,d,e,f){if(a.os.plus){if("undefined"==typeof c)return;"function"==typeof d?(f=d,d=null,e="确定"):"function"==typeof e&&(f=e,e=null),a.plusReady(function(){plus.nativeUI.alert(c,f,d,e)})}else b.alert(c)}}(mui,window),function(a,b){a.confirm=function(c,d,e,f){if(a.os.plus){if("undefined"==typeof c)return;"function"==typeof d?(f=d,d=null,e=null):"function"==typeof e&&(f=e,e=null),a.plusReady(function(){plus.nativeUI.confirm(c,f,d,e)})}else f(b.confirm(c)?{index:0}:{index:1})}}(mui,window),function(a,b){a.prompt=function(c,d,e,f,g){if(a.os.plus){if("undefined"==typeof message)return;"function"==typeof d?(g=d,d=null,e=null,f=null):"function"==typeof e?(g=e,e=null,f=null):"function"==typeof f&&(g=f,f=null),a.plusReady(function(){plus.nativeUI.prompt(c,g,e,d,f)})}else{var h=b.prompt(c);g(h?{index:0,value:h}:{index:1,value:""})}}}(mui,window),function(a,b){var c="mui-active";a.toast=function(b){if(a.os.plus)a.plusReady(function(){plus.nativeUI.toast(b,{verticalAlign:"bottom"})});else{var d=document.createElement("div");d.classList.add("mui-toast-container"),d.innerHTML='<div class="mui-toast-message">'+b+"</div>",d.addEventListener("webkitTransitionEnd",function(){d.classList.contains(c)||d.parentNode.removeChild(d)}),document.body.appendChild(d),d.offsetHeight,d.classList.add(c),setTimeout(function(){d.classList.remove(c)},2e3)}}}(mui,window),function(a,b,c){var d="mui-popup",e="mui-popup-backdrop",f="mui-popup-in",g="mui-popup-out",h="mui-popup-inner",i="mui-popup-title",j="mui-popup-text",k="mui-popup-input",l="mui-popup-buttons",m="mui-popup-button",n="mui-popup-button-bold",e="mui-popup-backdrop",o="mui-active",p=[],q=function(){var b=c.createElement("div");return b.classList.add(e),b.addEventListener(a.EVENT_MOVE,a.preventDefault),b.addEventListener("webkitTransitionEnd",function(){this.classList.contains(o)||b.parentNode&&b.parentNode.removeChild(b)}),b}(),r=function(a){return'<div class="'+k+'"><input type="text" autofocus placeholder="'+(a||"")+'"/></div>'},s=function(a,b,c){return'<div class="'+h+'"><div class="'+i+'">'+b+'</div><div class="'+j+'">'+a.replace(/\r\n/g,"<br/>").replace(/\n/g,"<br/>")+"</div>"+(c||"")+"</div>"},t=function(a){for(var b=a.length,c=[],d=0;b>d;d++)c.push('<span class="'+m+(d===b-1?" "+n:"")+'">'+a[d]+"</span>");return'<div class="'+l+'">'+c.join("")+"</div>"},u=function(b,e){var h=c.createElement("div");h.className=d,h.innerHTML=b;var i=function(){h.parentNode&&h.parentNode.removeChild(h),h=null};h.addEventListener(a.EVENT_MOVE,a.preventDefault),h.addEventListener("webkitTransitionEnd",function(a){h&&a.target===h&&h.classList.contains(g)&&i()}),h.style.display="block",c.body.appendChild(h),h.offsetHeight,h.classList.add(f),q.classList.contains(o)||(q.style.display="block",c.body.appendChild(q),q.offsetHeight,q.classList.add(o));var j=a.qsa("."+m,h),l=h.querySelector("."+k+" input"),n={element:h,close:function(a,b){if(h){var c=e&&e({index:a||0,value:l&&l.value||""});if(c===!1)return;b!==!1?(h.classList.remove(f),h.classList.add(g)):i(),p.pop(),p.length?p[p.length-1].show(b):q.classList.remove(o)}}},r=function(a){n.close(j.indexOf(a.target))};return a(h).on("tap","."+m,r),p.length&&p[p.length-1].hide(),p.push({close:n.close,show:function(a){h.style.display="block",h.offsetHeight,h.classList.add(f)},hide:function(){h.style.display="none",h.classList.remove(f)}}),n},v=function(b,c,d,e,f){return"undefined"!=typeof b?("function"==typeof c?(e=c,f=d,c=null,d=null):"function"==typeof d&&(f=e,e=d,d=null),a.os.plus&&"div"!==f?plus.nativeUI.alert(b,e,c||"提示",d||"确定"):u(s(b,c||"提示")+t([d||"确定"]),e)):void 0},w=function(b,c,d,e,f){return"undefined"!=typeof b?("function"==typeof c?(e=c,f=d,c=null,d=null):"function"==typeof d&&(f=e,e=d,d=null),a.os.plus&&"div"!==f?plus.nativeUI.confirm(b,e,c,d||["取消","确认"]):u(s(b,c||"提示")+t(d||["取消","确认"]),e)):void 0},x=function(b,c,d,e,f,g){return"undefined"!=typeof b?("function"==typeof c?(f=c,g=d,c=null,d=null,e=null):"function"==typeof d?(f=d,g=e,d=null,e=null):"function"==typeof e&&(g=f,f=e,e=null),a.os.plus&&"div"!==g?plus.nativeUI.prompt(b,f,d||"提示",c,e||["取消","确认"]):u(s(b,d||"提示",r(c))+t(e||["取消","确认"]),f)):void 0},y=function(){return p.length?(p[p.length-1].close(),!0):!1},z=function(){for(;p.length;)p[p.length-1].close()};a.closePopup=y,a.closePopups=z,a.alert=v,a.confirm=w,a.prompt=x}(mui,window,document),function(a,b){var c="mui-progressbar",d="mui-progressbar-in",e="mui-progressbar-out",f="mui-progressbar-infinite",g=".mui-progressbar",h=function(b){if(b=a(b||"body"),0!==b.length){if(b=b[0],b.classList.contains(c))return b;var d=b.querySelectorAll(g);if(d)for(var e=0,f=d.length;f>e;e++){var h=d[e];if(h.parentNode===b)return h}}},i=function(h,i,j){if("number"==typeof h&&(j=i,i=h,h="body"),h=a(h||"body"),0!==h.length){h=h[0];var l;if(h.classList.contains(c))l=h;else{var m=h.querySelectorAll(g+":not(."+e+")");if(m)for(var n=0,o=m.length;o>n;n++){var p=m[n];if(p.parentNode===h){l=p;break}}l?l.classList.add(d):(l=b.createElement("span"),l.className=c+" "+d+("undefined"!=typeof i?"":" "+f)+(j?" "+c+"-"+j:""),"undefined"!=typeof i&&(l.innerHTML="<span></span>"),h.appendChild(l))}return i&&k(h,i),l}},j=function(a){var b=h(a);if(b){var c=b.classList;c.contains(d)&&!c.contains(e)&&(c.remove(d),c.add(e),b.addEventListener("webkitAnimationEnd",function(){b.parentNode&&b.parentNode.removeChild(b),b=null}))}},k=function(a,b,c){"number"==typeof a&&(c=b,b=a,a=!1);var d=h(a);if(d&&!d.classList.contains(f)){b&&(b=Math.min(Math.max(b,0),100)),d.offsetHeight;var e=d.querySelector("span");if(e){var g=e.style;g.webkitTransform="translate3d("+(-100+b)+"%,0,0)","undefined"!=typeof c?g.webkitTransitionDuration=c+"ms":g.webkitTransitionDuration=""}return d}};a.fn.progressbar=function(a){var b=[];return a=a||{},this.each(function(){var c=this,d=c.mui_plugin_progressbar;d?a&&d.setOptions(a):c.mui_plugin_progressbar=d={options:a,setOptions:function(a){this.options=a},show:function(){return i(c,this.options.progress,this.options.color)},setProgress:function(a){return k(c,a)},hide:function(){return j(c)}},b.push(d)}),1===b.length?b[0]:b}}(mui,document),function(a,b,c){var d="mui-icon",e="mui-icon-clear",f="mui-icon-speech",g="mui-icon-search",h="mui-icon-eye",i="mui-input-row",j="mui-placeholder",k="mui-tooltip",l="mui-hidden",m="mui-focusin",n="."+e,o="."+f,p="."+h,q="."+j,r="."+k,s=function(a){for(;a&&a!==c;a=a.parentNode)if(a.classList&&a.classList.contains(i))return a;return null},t=function(a,b){this.element=a,this.options=b||{actions:"clear"},~this.options.actions.indexOf("slider")?(this.sliderActionClass=k+" "+l,this.sliderActionSelector=r):(~this.options.actions.indexOf("clear")&&(this.clearActionClass=d+" "+e+" "+l,this.clearActionSelector=n),~this.options.actions.indexOf("speech")&&(this.speechActionClass=d+" "+f,this.speechActionSelector=o),~this.options.actions.indexOf("search")&&(this.searchActionClass=j,this.searchActionSelector=q),~this.options.actions.indexOf("password")&&(this.passwordActionClass=d+" "+h,this.passwordActionSelector=p)),this.init()};t.prototype.init=function(){this.initAction(),this.initElementEvent()},t.prototype.initAction=function(){var b=this,c=b.element.parentNode;c&&(b.sliderActionClass?b.sliderAction=b.createAction(c,b.sliderActionClass,b.sliderActionSelector):(b.searchActionClass&&(b.searchAction=b.createAction(c,b.searchActionClass,b.searchActionSelector),b.searchAction.addEventListener("tap",function(c){a.focus(b.element),c.stopPropagation()})),b.speechActionClass&&(b.speechAction=b.createAction(c,b.speechActionClass,b.speechActionSelector),b.speechAction.addEventListener("click",a.stopPropagation),b.speechAction.addEventListener("tap",function(a){b.speechActionClick(a)})),b.clearActionClass&&(b.clearAction=b.createAction(c,b.clearActionClass,b.clearActionSelector),b.clearAction.addEventListener("tap",function(a){b.clearActionClick(a)})),b.passwordActionClass&&(b.passwordAction=b.createAction(c,b.passwordActionClass,b.passwordActionSelector),b.passwordAction.addEventListener("tap",function(a){b.passwordActionClick(a)}))))},t.prototype.createAction=function(a,b,e){var f=a.querySelector(e);if(!f){var f=c.createElement("span");f.className=b,b===this.searchActionClass&&(f.innerHTML='<span class="'+d+" "+g+'"></span><span>'+this.element.getAttribute("placeholder")+"</span>",this.element.setAttribute("placeholder",""),this.element.value.trim()&&a.classList.add("mui-active")),a.insertBefore(f,this.element.nextSibling)}return f},t.prototype.initElementEvent=function(){var b=this.element;if(this.sliderActionClass){var c=this.sliderAction,d=null,e=function(){c.classList.remove(l);var a=b.offsetLeft,e=b.offsetWidth-28,f=c.offsetWidth,g=Math.abs(b.max-b.min),h=e/g*Math.abs(b.value-b.min);c.style.left=14+a+h-f/2+"px",c.innerText=b.value,d&&clearTimeout(d),d=setTimeout(function(){c.classList.add(l)},1e3)};b.addEventListener("input",e),b.addEventListener("tap",e),b.addEventListener(a.EVENT_MOVE,function(a){a.stopPropagation()})}else{if(this.clearActionClass){var f=this.clearAction;if(!f)return;a.each(["keyup","change","input","focus","cut","paste"],function(a,c){!function(a){b.addEventListener(a,function(){f.classList[b.value.trim()?"remove":"add"](l)})}(c)}),b.addEventListener("blur",function(){f.classList.add(l)})}this.searchActionClass&&(b.addEventListener("focus",function(){b.parentNode.classList.add("mui-active")}),b.addEventListener("blur",function(){b.value.trim()||b.parentNode.classList.remove("mui-active")}))}},t.prototype.setPlaceholder=function(a){if(this.searchActionClass){var b=this.element.parentNode.querySelector(q);b&&(b.getElementsByTagName("span")[1].innerText=a)}else this.element.setAttribute("placeholder",a)},t.prototype.passwordActionClick=function(a){"text"===this.element.type?this.element.type="password":this.element.type="text",this.passwordAction.classList.toggle("mui-active"),a.preventDefault()},t.prototype.clearActionClick=function(b){var c=this;c.element.value="",a.focus(c.element),c.clearAction.classList.add(l),b.preventDefault()},t.prototype.speechActionClick=function(d){if(b.plus){var e=this,f=e.element.value;e.element.value="",c.body.classList.add(m),plus.speech.startRecognize({engine:"iFly"},function(b){e.element.value+=b,a.focus(e.element),plus.speech.stopRecognize(),a.trigger(e.element,"recognized",{value:e.element.value}),f!==e.element.value&&(a.trigger(e.element,"change"),a.trigger(e.element,"input"))},function(a){c.body.classList.remove(m)})}else alert("only for 5+");d.preventDefault()},a.fn.input=function(b){var c=[];return this.each(function(){var b=null,d=[],e=s(this.parentNode);if("range"===this.type&&e.classList.contains("mui-input-range"))d.push("slider");else{var f=this.classList;f.contains("mui-input-clear")&&d.push("clear"),a.os.android&&a.os.stream||!f.contains("mui-input-speech")||d.push("speech"),f.contains("mui-input-password")&&d.push("password"),"search"===this.type&&e.classList.contains("mui-search")&&d.push("search")}var g=this.getAttribute("data-input-"+d[0]);if(g)b=a.data[g];else{g=++a.uuid,b=a.data[g]=new t(this,{actions:d.join(",")});for(var h=0,i=d.length;i>h;h++)this.setAttribute("data-input-"+d[h],g)}c.push(b)}),1===c.length?c[0]:c},a.ready(function(){a(".mui-input-row input").input()})}(mui,window,document),function(a,b){var c=/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,d=function(a){var b=a.match(c);return b&&5===b.length?[b[1],b[2],b[3],b[4]]:[]},e=function(b,c){this.element=b,this.options=a.extend({top:0,offset:150,duration:16},c||{}),this._style=this.element.style,this._bgColor=this._style.backgroundColor;var e=d(mui.getStyles(this.element,"backgroundColor"));if(!e.length)throw new Error("元素背景颜色必须为RGBA");this._R=e[0],this._G=e[1],this._B=e[2],this._A=e[3],this._bufferFn=a.buffer(this.handleScroll,this.options.duration,this),this.initEvent()};e.prototype.initEvent=function(){b.addEventListener("scroll",this._bufferFn),b.addEventListener(a.EVENT_MOVE,this._bufferFn)},e.prototype.handleScroll=function(){this._style.backgroundColor="rgba("+this._R+","+this._G+","+this._B+","+(b.scrollY-this.options.top)/this.options.offset+")"},e.prototype.destory=function(){b.removeEventListener("scroll",this._bufferFn),b.removeEventListener(a.EVENT_MOVE,this._bufferFn),this.element.style.backgroundColor=this._bgColor,this.element.mui_plugin_transparent=null},a.fn.transparent=function(a){a=a||{};var b=[];return this.each(function(){var c=this.mui_plugin_transparent;if(!c){var d=this.getAttribute("data-top"),f=this.getAttribute("data-offset"),g=this.getAttribute("data-duration");null!==d&&"undefined"==typeof a.top&&(a.top=d),null!==f&&"undefined"==typeof a.offset&&(a.offset=f),null!==g&&"undefined"==typeof a.duration&&(a.duration=g),c=this.mui_plugin_transparent=new e(this,a)}b.push(c)}),1===b.length?b[0]:b},a.ready(function(){a(".mui-bar-transparent").transparent()})}(mui,window),function(a){var b="ontouchstart"in document,c=b?"tap":"click",d="change",e="mui-numbox",f=".mui-btn-numbox-plus,.mui-numbox-btn-plus",g=".mui-btn-numbox-minus,.mui-numbox-btn-minus",h=".mui-input-numbox,.mui-numbox-input",i=a.Numbox=a.Class.extend({init:function(b,c){var d=this;if(!b)throw"构造 numbox 时缺少容器元素";d.holder=b,c=c||{},c.step=parseInt(c.step||1),d.options=c,d.input=a.qsa(h,d.holder)[0],d.plus=a.qsa(f,d.holder)[0],d.minus=a.qsa(g,d.holder)[0],d.checkValue(),d.initEvent()},initEvent:function(){var b=this;b.plus.addEventListener(c,function(c){var e=parseInt(b.input.value)+b.options.step;b.input.value=e.toString(),a.trigger(b.input,d,null)}),b.minus.addEventListener(c,function(c){var e=parseInt(b.input.value)-b.options.step;b.input.value=e.toString(),a.trigger(b.input,d,null)}),b.input.addEventListener(d,function(c){b.checkValue();var e=parseInt(b.input.value);a.trigger(b.holder,d,{value:e})})},getValue:function(){var a=this;return parseInt(a.input.value)},checkValue:function(){var a=this,b=a.input.value;if(null==b||""==b||isNaN(b))a.input.value=a.options.min||0,a.minus.disabled=null!=a.options.min;else{var b=parseInt(b);null!=a.options.max&&!isNaN(a.options.max)&&b>=parseInt(a.options.max)?(b=a.options.max,a.plus.disabled=!0):a.plus.disabled=!1,null!=a.options.min&&!isNaN(a.options.min)&&b<=parseInt(a.options.min)?(b=a.options.min,a.minus.disabled=!0):a.minus.disabled=!1,a.input.value=b}},setOption:function(a,b){var c=this;c.options[a]=b},setValue:function(a){this.input.value=a,this.checkValue()}});a.fn.numbox=function(a){return this.each(function(a,b){if(!b.numbox)if(d)b.numbox=new i(b,d);else{var c=b.getAttribute("data-numbox-options"),d=c?JSON.parse(c):{};d.step=b.getAttribute("data-numbox-step")||d.step,d.min=b.getAttribute("data-numbox-min")||d.min,d.max=b.getAttribute("data-numbox-max")||d.max,b.numbox=new i(b,d)}}),this[0]?this[0].numbox:null},a.ready(function(){a("."+e).numbox()})}(mui),function(a,b,c){var d="mui-disabled",e="reset",f="loading",g={loadingText:"Loading...",loadingIcon:"mui-spinner mui-spinner-white",loadingIconPosition:"left"},h=function(b,c){this.element=b,this.options=a.extend({},g,c),this.options.loadingText||(this.options.loadingText=g.loadingText),null===this.options.loadingIcon&&(this.options.loadingIcon="mui-spinner","rgb(255, 255, 255)"===a.getStyles(this.element,"color")&&(this.options.loadingIcon+=" mui-spinner-white")),this.isInput="INPUT"===this.element.tagName,this.resetHTML=this.isInput?this.element.value:this.element.innerHTML,this.state=""};h.prototype.loading=function(){this.setState(f)},h.prototype.reset=function(){this.setState(e)},h.prototype.setState=function(a){if(this.state===a)return!1;if(this.state=a,a===e)this.element.disabled=!1,this.element.classList.remove(d),this.setHtml(this.resetHTML);else if(a===f){this.element.disabled=!0,this.element.classList.add(d);var b=this.isInput?this.options.loadingText:"<span>"+this.options.loadingText+"</span>";this.options.loadingIcon&&!this.isInput&&("right"===this.options.loadingIconPosition?b+='&nbsp;<span class="'+this.options.loadingIcon+'"></span>':b='<span class="'+this.options.loadingIcon+'"></span>&nbsp;'+b),this.setHtml(b)}},h.prototype.setHtml=function(a){this.isInput?this.element.value=a:this.element.innerHTML=a},a.fn.button=function(a){var b=[];return this.each(function(){var c=this.mui_plugin_button;if(!c){var d=this.getAttribute("data-loading-text"),g=this.getAttribute("data-loading-icon"),i=this.getAttribute("data-loading-icon-position");this.mui_plugin_button=c=new h(this,{loadingText:d,loadingIcon:g,loadingIconPosition:i})}(a===f||a===e)&&c.setState(a),b.push(c)}),1===b.length?b[0]:b}}(mui,window,document);
    \ No newline at end of file
    diff --git a/fangija-zsyf/js/shortcut.js b/fangija-zsyf/js/shortcut.js
    new file mode 100644
    index 0000000..25632ca
    --- /dev/null
    +++ b/fangija-zsyf/js/shortcut.js
    @@ -0,0 +1,43 @@
    +(function(w){
    +	
    +document.addEventListener('plusready',function(){
    +	checkArguments();
    +},false);
    +
    +// 判断启动方式
    +function checkArguments(){
    +	console.log("Shortcut-plus.runtime.launcher: "+plus.runtime.launcher);
    +	if(plus.runtime.launcher=='shortcut'){
    +	try{
    +		var cmd = JSON.parse(plus.runtime.arguments);
    +		console.log("Shortcut-plus.runtime.arguments: "+plus.runtime.arguments)
    +		var type=cmd&&cmd.type;
    +		switch(type){
    +			case 'share':
    +				openWebview('plus/share.html');
    +			break;
    +			case 'about':
    +				openWebview('about.html','zoom-fade-out',true);
    +			break;
    +			default:
    +			break;
    +		}
    +	}catch(e){
    +		console.log("Shortcut-exception: "+e);
    +	}
    +	}
    +}
    +// 打开页面
    +function openWebview(id,a,s){
    +	if(!_openw||_openw.id!=id){
    +		clicked(id,a,s);
    +	}
    +}
    +
    +// 处理从后台恢复
    +document.addEventListener('newintent',function(){
    +	console.log("Shortcut-newintent");
    +	checkArguments();
    +},false);
    +
    +})(window);
    \ No newline at end of file
    diff --git a/fangija-zsyf/js/update.js b/fangija-zsyf/js/update.js
    new file mode 100644
    index 0000000..5dbad39
    --- /dev/null
    +++ b/fangija-zsyf/js/update.js
    @@ -0,0 +1,189 @@
    +/**
    + * 判断应用升级模块,从url地址下载升级描述文件到本地local路径
    + * yanyilin@dcloud.io
    + * 
    + * 升级文件为JSON格式数据,如下:
    +{
    +	"appid":"HelloH5",
    +    "iOS":{
    +    	"version":"iOS新版本号,如:1.0.0",
    +    	"note":"iOS新版本描述信息,多行使用\n分割",
    +    	"url":"Appstore路径,如:itms-apps://itunes.apple.com/cn/app/hello-h5+/id682211190?l=zh&mt=8"
    +    },
    +    "Android":{
    +    	"version":"Android新版本号,如:1.0.1",
    +    	"note":"Android新版本描述信息,多行使用\n分割",
    +    	"url":"apk文件下载地址,如:http://www.dcloud.io/helloh5p/HelloH5.apk"
    +    }
    +}
    + *
    + */
    +(function(w){
    +var server="http://www.dcloud.io/helloh5/update.json",//获取升级描述文件服务器地址
    +localDir="update",localFile="update.json",//本地保存升级描述目录和文件名
    +keyUpdate="updateCheck",//取消升级键名
    +keyAbort="updateAbort",//忽略版本键名
    +checkInterval=604800000,//升级检查间隔,单位为ms,7天为7*24*60*60*1000=604800000, 如果每次启动需要检查设置值为0
    +dir=null;
    +
    +/**
    + * 准备升级操作
    + * 创建升级文件保存目录
    + */
    +function initUpdate(){
    +	// 在流应用模式下不需要检测升级操作
    +	if(navigator.userAgent.indexOf('StreamApp')>=0){
    +		return;
    +	}
    +	// 打开doc根目录
    +	plus.io.requestFileSystem( plus.io.PRIVATE_DOC, function(fs){
    +		fs.root.getDirectory( localDir, {create:true}, function(entry){
    +			dir = entry;
    +			checkUpdate();
    +		}, function(e){
    +			console.log( "准备升级操作,打开update目录失败:"+e.message );
    +		});
    +	},function(e){
    +		console.log( "准备升级操作,打开doc目录失败:"+e.message );
    +	});
    +}
    +
    +/**
    + * 检测程序升级
    + */
    +function checkUpdate() {
    +	// 判断升级检测是否过期
    +	var lastcheck = plus.storage.getItem( keyUpdate );
    +	if ( lastcheck ) {
    +		var dc = parseInt( lastcheck );
    +		var dn = (new Date()).getTime();
    +		if ( dn-dc < checkInterval ) {	// 未超过上次升级检测间隔,不需要进行升级检查
    +			return;
    +		}
    +		// 取消已过期,删除取消标记
    +		plus.storage.removeItem( keyUpdate );
    +	}
    +	// 读取本地升级文件
    +	dir.getFile( localFile, {create:false}, function(fentry){
    +		fentry.file( function(file){
    +			var reader = new plus.io.FileReader();
    +			reader.onloadend = function ( e ) {
    +				fentry.remove();
    +				var data = null;
    +				try{
    +					data=JSON.parse(e.target.result);
    +				}catch(e){
    +					console.log( "读取本地升级文件,数据格式错误!" );
    +					return;
    +				}
    +				checkUpdateData( data );
    +			}
    +			reader.readAsText(file);
    +		}, function(e){
    +			console.log( "读取本地升级文件,获取文件对象失败:"+e.message );
    +			fentry.remove();
    +		} );
    +	}, function(e){
    +		// 失败表示文件不存在,从服务器获取升级数据
    +		getUpdateData();
    +	});
    +}
    +
    +/**
    + * 检查升级数据
    + */
    +function checkUpdateData( j ){
    +	var curVer=plus.runtime.version,
    +	inf = j[plus.os.name];
    +	if ( inf ){
    +		var srvVer = inf.version;
    +		// 判断是否存在忽略版本号
    +		var vabort = plus.storage.getItem( keyAbort );
    +		if ( vabort && srvVer==vabort ) {
    +			// 忽略此版本
    +			return;
    +		}
    +		// 判断是否需要升级
    +		if ( compareVersion(curVer,srvVer) ) {
    +			// 提示用户是否升级
    +			plus.nativeUI.confirm( inf.note, function(i){
    +				if ( 0==i.index ) {
    +					plus.runtime.openURL( inf.url );
    +				} else if ( 1==i.index ) {
    +					plus.storage.setItem( keyAbort, srvVer );
    +					plus.storage.setItem( keyUpdate, (new Date()).getTime().toString() );
    +				} else {
    +					plus.storage.setItem( keyUpdate, (new Date()).getTime().toString() );
    +				}
    +			}, inf.title, ["立即更新","跳过此版本","取  消"] );
    +		}
    +	}
    +}
    +
    +/**
    + * 从服务器获取升级数据
    + */
    +function getUpdateData(){
    +	var xhr = new plus.net.XMLHttpRequest();
    +	xhr.onreadystatechange = function () {
    +        switch ( xhr.readyState ) {
    +            case 4:
    +                if ( xhr.status == 200 ) {
    +                	// 保存到本地文件中
    +                	dir.getFile( localFile, {create:true}, function(fentry){
    +                		fentry.createWriter( function(writer){
    +                			writer.onerror = function(){
    +                				console.log( "获取升级数据,保存文件失败!" );
    +                			}
    +                			writer.write( xhr.responseText );
    +                		}, function(e){
    +                			console.log( "获取升级数据,创建写文件对象失败:"+e.message );
    +                		} );
    +                	}, function(e){
    +                		console.log( "获取升级数据,打开保存文件失败:"+e.message );
    +                	});
    +                } else {
    +                	console.log( "获取升级数据,联网请求失败:"+xhr.status );
    +                }
    +                break;
    +            default :
    +                break;
    +        }
    +	}
    +	xhr.open( "GET", server );
    +	xhr.send();
    +}
    +
    +/**
    + * 比较版本大小,如果新版本nv大于旧版本ov则返回true,否则返回false
    + * @param {String} ov
    + * @param {String} nv
    + * @return {Boolean} 
    + */
    +function compareVersion( ov, nv ){
    +	if ( !ov || !nv || ov=="" || nv=="" ){
    +		return false;
    +	}
    +	var b=false,
    +	ova = ov.split(".",4),
    +	nva = nv.split(".",4);
    +	for ( var i=0; i<ova.length&&i<nva.length; i++ ) {
    +		var so=ova[i],no=parseInt(so),sn=nva[i],nn=parseInt(sn);
    +		if ( nn>no || sn.length>so.length  ) {
    +			return true;
    +		} else if ( nn<no ) {
    +			return false;
    +		}
    +	}
    +	if ( nva.length>ova.length && 0==nv.indexOf(ov) ) {
    +		return true;
    +	}
    +}
    +
    +if ( w.plus ) {
    +	initUpdate();
    +} else {
    +	document.addEventListener("plusready", initUpdate, false );
    +}
    +
    +})(window);
    \ No newline at end of file
    diff --git a/fangija-zsyf/js/update.json b/fangija-zsyf/js/update.json
    new file mode 100644
    index 0000000..083c05e
    --- /dev/null
    +++ b/fangija-zsyf/js/update.json
    @@ -0,0 +1,15 @@
    +{
    +    "appid":"HelloH5",
    +    "iOS":{
    +    	"version":"0.7.0",
    +    	"title":"Hello H5+(0.7.0)版本更新",
    +    	"note":"新增自动升级检测功能\n新增分享功能演示页面\n新增推送功能演示页面\n",
    +    	"url":"itms-apps://itunes.apple.com/cn/app/hello-h5+/id682211190?l=zh&mt=8"
    +    },
    +    "Android":{
    +    	"version":"0.7.0",
    +    	"title":"Hello H5+(0.7.0)版本更新",
    +    	"note":"新增自动升级检测功能\n新增分享功能演示页面\n新增推送功能演示页面\n",
    +    	"url":"http://d.m3w.cn/helloh5p/HelloH5.apk"
    +    }
    +}
    \ No newline at end of file
    diff --git a/fangija-zsyf/js/vue.js b/fangija-zsyf/js/vue.js
    new file mode 100644
    index 0000000..22e37d6
    --- /dev/null
    +++ b/fangija-zsyf/js/vue.js
    @@ -0,0 +1,6 @@
    +/*!
    + * Vue.js v2.5.15
    + * (c) 2014-2018 Evan You
    + * Released under the MIT License.
    + */
    +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Vue=t()}(this,function(){"use strict";var y=Object.freeze({});function M(e){return null==e}function D(e){return null!=e}function T(e){return!0===e}function E(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function P(e){return null!==e&&"object"==typeof e}var r=Object.prototype.toString;function l(e){return"[object Object]"===r.call(e)}function i(e){var t=parseFloat(String(e));return 0<=t&&Math.floor(t)===t&&isFinite(e)}function t(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function F(e){var t=parseFloat(e);return isNaN(t)?e:t}function s(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}var c=s("slot,component",!0),u=s("key,ref,slot,slot-scope,is");function f(e,t){if(e.length){var n=e.indexOf(t);if(-1<n)return e.splice(n,1)}}var n=Object.prototype.hasOwnProperty;function p(e,t){return n.call(e,t)}function e(t){var n=Object.create(null);return function(e){return n[e]||(n[e]=t(e))}}var o=/-(\w)/g,g=e(function(e){return e.replace(o,function(e,t){return t?t.toUpperCase():""})}),d=e(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),a=/\B([A-Z])/g,_=e(function(e){return e.replace(a,"-$1").toLowerCase()});var v=Function.prototype.bind?function(e,t){return e.bind(t)}:function(n,r){function e(e){var t=arguments.length;return t?1<t?n.apply(r,arguments):n.call(r,e):n.call(r)}return e._length=n.length,e};function h(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function m(e,t){for(var n in t)e[n]=t[n];return e}function b(e){for(var t={},n=0;n<e.length;n++)e[n]&&m(t,e[n]);return t}function $(e,t,n){}var O=function(e,t,n){return!1},w=function(e){return e};function C(t,n){if(t===n)return!0;var e=P(t),r=P(n);if(!e||!r)return!e&&!r&&String(t)===String(n);try{var i=Array.isArray(t),o=Array.isArray(n);if(i&&o)return t.length===n.length&&t.every(function(e,t){return C(e,n[t])});if(i||o)return!1;var a=Object.keys(t),s=Object.keys(n);return a.length===s.length&&a.every(function(e){return C(t[e],n[e])})}catch(e){return!1}}function x(e,t){for(var n=0;n<e.length;n++)if(C(e[n],t))return n;return-1}function R(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}var j="data-server-rendered",k=["component","directive","filter"],A=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],S={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:O,isReservedAttr:O,isUnknownElement:O,getTagNamespace:$,parsePlatformTagName:w,mustUseProp:O,_lifecycleHooks:A};function N(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var I=/[^\w.$]/;var L,H="__proto__"in{},B="undefined"!=typeof window,U="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,V=U&&WXEnvironment.platform.toLowerCase(),z=B&&window.navigator.userAgent.toLowerCase(),K=z&&/msie|trident/.test(z),J=z&&0<z.indexOf("msie 9.0"),q=z&&0<z.indexOf("edge/"),W=(z&&z.indexOf("android"),z&&/iphone|ipad|ipod|ios/.test(z)||"ios"===V),G=(z&&/chrome\/\d+/.test(z),{}.watch),Z=!1;if(B)try{var X={};Object.defineProperty(X,"passive",{get:function(){Z=!0}}),window.addEventListener("test-passive",null,X)}catch(e){}var Y=function(){return void 0===L&&(L=!B&&!U&&"undefined"!=typeof global&&"server"===global.process.env.VUE_ENV),L},Q=B&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ee(e){return"function"==typeof e&&/native code/.test(e.toString())}var te,ne="undefined"!=typeof Symbol&&ee(Symbol)&&"undefined"!=typeof Reflect&&ee(Reflect.ownKeys);te="undefined"!=typeof Set&&ee(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var re=$,ie=0,oe=function(){this.id=ie++,this.subs=[]};oe.prototype.addSub=function(e){this.subs.push(e)},oe.prototype.removeSub=function(e){f(this.subs,e)},oe.prototype.depend=function(){oe.target&&oe.target.addDep(this)},oe.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t<n;t++)e[t].update()},oe.target=null;var ae=[];function se(e){oe.target&&ae.push(oe.target),oe.target=e}function ce(){oe.target=ae.pop()}var le=function(e,t,n,r,i,o,a,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},ue={child:{configurable:!0}};ue.child.get=function(){return this.componentInstance},Object.defineProperties(le.prototype,ue);var fe=function(e){void 0===e&&(e="");var t=new le;return t.text=e,t.isComment=!0,t};function pe(e){return new le(void 0,void 0,void 0,String(e))}var de=Array.prototype,ve=Object.create(de);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(o){var a=de[o];N(ve,o,function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n,r=a.apply(this,e),i=this.__ob__;switch(o){case"push":case"unshift":n=e;break;case"splice":n=e.slice(2)}return n&&i.observeArray(n),i.dep.notify(),r})});var he=Object.getOwnPropertyNames(ve),me=!0;function ye(e){me=e}var ge=function(e){(this.value=e,this.dep=new oe,this.vmCount=0,N(e,"__ob__",this),Array.isArray(e))?((H?_e:be)(e,ve,he),this.observeArray(e)):this.walk(e)};function _e(e,t,n){e.__proto__=t}function be(e,t,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];N(e,o,t[o])}}function $e(e,t){var n;if(P(e)&&!(e instanceof le))return p(e,"__ob__")&&e.__ob__ instanceof ge?n=e.__ob__:me&&!Y()&&(Array.isArray(e)||l(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new ge(e)),t&&n&&n.vmCount++,n}function we(n,e,r,t,i){var o=new oe,a=Object.getOwnPropertyDescriptor(n,e);if(!a||!1!==a.configurable){var s=a&&a.get;s||2!==arguments.length||(r=n[e]);var c=a&&a.set,l=!i&&$e(r);Object.defineProperty(n,e,{enumerable:!0,configurable:!0,get:function(){var e=s?s.call(n):r;return oe.target&&(o.depend(),l&&(l.dep.depend(),Array.isArray(e)&&function e(t){for(var n=void 0,r=0,i=t.length;r<i;r++)(n=t[r])&&n.__ob__&&n.__ob__.dep.depend(),Array.isArray(n)&&e(n)}(e))),e},set:function(e){var t=s?s.call(n):r;e===t||e!=e&&t!=t||(c?c.call(n,e):r=e,l=!i&&$e(e),o.notify())}})}}function Ce(e,t,n){if(Array.isArray(e)&&i(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n;var r=e.__ob__;return e._isVue||r&&r.vmCount?n:r?(we(r.value,t,n),r.dep.notify(),n):e[t]=n}function xe(e,t){if(Array.isArray(e)&&i(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||p(e,t)&&(delete e[t],n&&n.dep.notify())}}ge.prototype.walk=function(e){for(var t=Object.keys(e),n=0;n<t.length;n++)we(e,t[n])},ge.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)$e(e[t])};var ke=S.optionMergeStrategies;function Ae(e,t){if(!t)return e;for(var n,r,i,o=Object.keys(t),a=0;a<o.length;a++)r=e[n=o[a]],i=t[n],p(e,n)?l(r)&&l(i)&&Ae(r,i):Ce(e,n,i);return e}function Oe(n,r,i){return i?function(){var e="function"==typeof r?r.call(i,i):r,t="function"==typeof n?n.call(i,i):n;return e?Ae(e,t):t}:r?n?function(){return Ae("function"==typeof r?r.call(this,this):r,"function"==typeof n?n.call(this,this):n)}:r:n}function Se(e,t){return t?e?e.concat(t):Array.isArray(t)?t:[t]:e}function Te(e,t,n,r){var i=Object.create(e||null);return t?m(i,t):i}ke.data=function(e,t,n){return n?Oe(e,t,n):t&&"function"!=typeof t?e:Oe(e,t)},A.forEach(function(e){ke[e]=Se}),k.forEach(function(e){ke[e+"s"]=Te}),ke.watch=function(e,t,n,r){if(e===G&&(e=void 0),t===G&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var i={};for(var o in m(i,e),t){var a=i[o],s=t[o];a&&!Array.isArray(a)&&(a=[a]),i[o]=a?a.concat(s):Array.isArray(s)?s:[s]}return i},ke.props=ke.methods=ke.inject=ke.computed=function(e,t,n,r){if(!e)return t;var i=Object.create(null);return m(i,e),t&&m(i,t),i},ke.provide=Oe;var Ee=function(e,t){return void 0===t?e:t};function je(n,r,i){"function"==typeof r&&(r=r.options),function(e,t){var n=e.props;if(n){var r,i,o={};if(Array.isArray(n))for(r=n.length;r--;)"string"==typeof(i=n[r])&&(o[g(i)]={type:null});else if(l(n))for(var a in n)i=n[a],o[g(a)]=l(i)?i:{type:i};e.props=o}}(r),function(e,t){var n=e.inject;if(n){var r=e.inject={};if(Array.isArray(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(l(n))for(var o in n){var a=n[o];r[o]=l(a)?m({from:o},a):{from:a}}}}(r),function(e){var t=e.directives;if(t)for(var n in t){var r=t[n];"function"==typeof r&&(t[n]={bind:r,update:r})}}(r);var e=r.extends;if(e&&(n=je(n,e,i)),r.mixins)for(var t=0,o=r.mixins.length;t<o;t++)n=je(n,r.mixins[t],i);var a,s={};for(a in n)c(a);for(a in r)p(n,a)||c(a);function c(e){var t=ke[e]||Ee;s[e]=t(n[e],r[e],i,e)}return s}function Ne(e,t,n,r){if("string"==typeof n){var i=e[t];if(p(i,n))return i[n];var o=g(n);if(p(i,o))return i[o];var a=d(o);return p(i,a)?i[a]:i[n]||i[o]||i[a]}}function Ie(e,t,n,r){var i=t[e],o=!p(n,e),a=n[e],s=De(Boolean,i.type);if(-1<s)if(o&&!p(i,"default"))a=!1;else if(""===a||a===_(e)){var c=De(String,i.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=function(e,t,n){if(!p(t,"default"))return;var r=t.default;if(e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n])return e._props[n];return"function"==typeof r&&"Function"!==Le(t.type)?r.call(e):r}(r,i,e);var l=me;ye(!0),$e(a),ye(l)}return a}function Le(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Me(e,t){return Le(e)===Le(t)}function De(e,t){if(!Array.isArray(t))return Me(t,e)?0:-1;for(var n=0,r=t.length;n<r;n++)if(Me(t[n],e))return n;return-1}function Pe(e,t,n){if(t)for(var r=t;r=r.$parent;){var i=r.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{if(!1===i[o].call(r,e,t,n))return}catch(e){Fe(e,r,"errorCaptured hook")}}Fe(e,t,n)}function Fe(e,t,n){if(S.errorHandler)try{return S.errorHandler.call(null,e,t,n)}catch(e){Re(e,null,"config.errorHandler")}Re(e,t,n)}function Re(e,t,n){if(!B&&!U||"undefined"==typeof console)throw e;console.error(e)}var He,Be,Ue=[],Ve=!1;function ze(){Ve=!1;for(var e=Ue.slice(0),t=Ue.length=0;t<e.length;t++)e[t]()}var Ke=!1;if("undefined"!=typeof setImmediate&&ee(setImmediate))Be=function(){setImmediate(ze)};else if("undefined"==typeof MessageChannel||!ee(MessageChannel)&&"[object MessageChannelConstructor]"!==MessageChannel.toString())Be=function(){setTimeout(ze,0)};else{var Je=new MessageChannel,qe=Je.port2;Je.port1.onmessage=ze,Be=function(){qe.postMessage(1)}}if("undefined"!=typeof Promise&&ee(Promise)){var We=Promise.resolve();He=function(){We.then(ze),W&&setTimeout($)}}else He=Be;function Ge(e,t){var n;if(Ue.push(function(){if(e)try{e.call(t)}catch(e){Pe(e,t,"nextTick")}else n&&n(t)}),Ve||(Ve=!0,Ke?Be():He()),!e&&"undefined"!=typeof Promise)return new Promise(function(e){n=e})}var Ze=new te;function Xe(e){!function e(t,n){var r,i;var o=Array.isArray(t);if(!o&&!P(t)||Object.isFrozen(t)||t instanceof le)return;if(t.__ob__){var a=t.__ob__.dep.id;if(n.has(a))return;n.add(a)}if(o)for(r=t.length;r--;)e(t[r],n);else for(i=Object.keys(t),r=i.length;r--;)e(t[i[r]],n)}(e,Ze),Ze.clear()}var Ye,Qe=e(function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),r="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=r?e.slice(1):e,once:n,capture:r,passive:t}});function et(e){function i(){var e=arguments,t=i.fns;if(!Array.isArray(t))return t.apply(null,arguments);for(var n=t.slice(),r=0;r<n.length;r++)n[r].apply(null,e)}return i.fns=e,i}function tt(e,t,n,r,i){var o,a,s,c;for(o in e)a=e[o],s=t[o],c=Qe(o),M(a)||(M(s)?(M(a.fns)&&(a=e[o]=et(a)),n(c.name,a,c.once,c.capture,c.passive,c.params)):a!==s&&(s.fns=a,e[o]=s));for(o in t)M(e[o])&&r((c=Qe(o)).name,t[o],c.capture)}function nt(e,t,n){var r;e instanceof le&&(e=e.data.hook||(e.data.hook={}));var i=e[t];function o(){n.apply(this,arguments),f(r.fns,o)}M(i)?r=et([o]):D(i.fns)&&T(i.merged)?(r=i).fns.push(o):r=et([i,o]),r.merged=!0,e[t]=r}function rt(e,t,n,r,i){if(D(t)){if(p(t,n))return e[n]=t[n],i||delete t[n],!0;if(p(t,r))return e[n]=t[r],i||delete t[r],!0}return!1}function it(e){return E(e)?[pe(e)]:Array.isArray(e)?function e(t,n){var r=[];var i,o,a,s;for(i=0;i<t.length;i++)M(o=t[i])||"boolean"==typeof o||(a=r.length-1,s=r[a],Array.isArray(o)?0<o.length&&(ot((o=e(o,(n||"")+"_"+i))[0])&&ot(s)&&(r[a]=pe(s.text+o[0].text),o.shift()),r.push.apply(r,o)):E(o)?ot(s)?r[a]=pe(s.text+o):""!==o&&r.push(pe(o)):ot(o)&&ot(s)?r[a]=pe(s.text+o.text):(T(t._isVList)&&D(o.tag)&&M(o.key)&&D(n)&&(o.key="__vlist"+n+"_"+i+"__"),r.push(o)));return r}(e):void 0}function ot(e){return D(e)&&D(e.text)&&!1===e.isComment}function at(e,t){return(e.__esModule||ne&&"Module"===e[Symbol.toStringTag])&&(e=e.default),P(e)?t.extend(e):e}function st(e){return e.isComment&&e.asyncFactory}function ct(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(D(n)&&(D(n.componentOptions)||st(n)))return n}}function lt(e,t,n){n?Ye.$once(e,t):Ye.$on(e,t)}function ut(e,t){Ye.$off(e,t)}function ft(e,t,n){Ye=e,tt(t,n||{},lt,ut),Ye=void 0}function pt(e,t){var n={};if(!e)return n;for(var r=0,i=e.length;r<i;r++){var o=e[r],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==t&&o.fnContext!==t||!a||null==a.slot)(n.default||(n.default=[])).push(o);else{var s=a.slot,c=n[s]||(n[s]=[]);"template"===o.tag?c.push.apply(c,o.children||[]):c.push(o)}}for(var l in n)n[l].every(dt)&&delete n[l];return n}function dt(e){return e.isComment&&!e.asyncFactory||" "===e.text}function vt(e,t){t=t||{};for(var n=0;n<e.length;n++)Array.isArray(e[n])?vt(e[n],t):t[e[n].key]=e[n].fn;return t}var ht=null;function mt(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function yt(e,t){if(t){if(e._directInactive=!1,mt(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)yt(e.$children[n]);gt(e,"activated")}}function gt(t,n){se();var e=t.$options[n];if(e)for(var r=0,i=e.length;r<i;r++)try{e[r].call(t)}catch(e){Pe(e,t,n+" hook")}t._hasHookEvent&&t.$emit("hook:"+n),ce()}var _t=[],bt=[],$t={},wt=!1,Ct=!1,xt=0;function kt(){var e,t;for(Ct=!0,_t.sort(function(e,t){return e.id-t.id}),xt=0;xt<_t.length;xt++)t=(e=_t[xt]).id,$t[t]=null,e.run();var n=bt.slice(),r=_t.slice();xt=_t.length=bt.length=0,$t={},wt=Ct=!1,function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,yt(e[t],!0)}(n),function(e){var t=e.length;for(;t--;){var n=e[t],r=n.vm;r._watcher===n&&r._isMounted&&gt(r,"updated")}}(r),Q&&S.devtools&&Q.emit("flush")}var At=0,Ot=function(e,t,n,r,i){this.vm=e,i&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++At,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new te,this.newDepIds=new te,this.expression="","function"==typeof t?this.getter=t:(this.getter=function(e){if(!I.test(e)){var n=e.split(".");return function(e){for(var t=0;t<n.length;t++){if(!e)return;e=e[n[t]]}return e}}}(t),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()};Ot.prototype.get=function(){var e;se(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(e){if(!this.user)throw e;Pe(e,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&Xe(e),ce(),this.cleanupDeps()}return e},Ot.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},Ot.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},Ot.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(e){var t=e.id;if(null==$t[t]){if($t[t]=!0,Ct){for(var n=_t.length-1;xt<n&&_t[n].id>e.id;)n--;_t.splice(n+1,0,e)}else _t.push(e);wt||(wt=!0,Ge(kt))}}(this)},Ot.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||P(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Pe(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},Ot.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Ot.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},Ot.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||f(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var St={enumerable:!0,configurable:!0,get:$,set:$};function Tt(e,t,n){St.get=function(){return this[t][n]},St.set=function(e){this[t][n]=e},Object.defineProperty(e,n,St)}function Et(e){e._watchers=[];var t=e.$options;t.props&&function(n,r){var i=n.$options.propsData||{},o=n._props={},a=n.$options._propKeys=[];n.$parent&&ye(!1);var e=function(e){a.push(e);var t=Ie(e,r,i,n);we(o,e,t),e in n||Tt(n,"_props",e)};for(var t in r)e(t);ye(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?$:v(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;l(t=e._data="function"==typeof t?function(e,t){se();try{return e.call(t,t)}catch(e){return Pe(e,t,"data()"),{}}finally{ce()}}(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);for(;i--;){var o=n[i];r&&p(r,o)||(void 0,36!==(a=(o+"").charCodeAt(0))&&95!==a&&Tt(e,"_data",o))}var a;$e(t,!0)}(e):$e(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=Y();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;r||(n[i]=new Ot(e,a||$,$,jt)),i in e||Nt(e,i,o)}}(e,t.computed),t.watch&&t.watch!==G&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)Lt(e,n,r[i]);else Lt(e,n,r)}}(e,t.watch)}var jt={lazy:!0};function Nt(e,t,n){var r=!Y();"function"==typeof n?(St.get=r?It(t):n,St.set=$):(St.get=n.get?r&&!1!==n.cache?It(t):n.get:$,St.set=n.set?n.set:$),Object.defineProperty(e,t,St)}function It(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),oe.target&&e.depend(),e.value}}function Lt(e,t,n,r){return l(n)&&(n=(r=n).handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}function Mt(t,e){if(t){for(var n=Object.create(null),r=ne?Reflect.ownKeys(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}):Object.keys(t),i=0;i<r.length;i++){for(var o=r[i],a=t[o].from,s=e;s;){if(s._provided&&p(s._provided,a)){n[o]=s._provided[a];break}s=s.$parent}if(!s&&"default"in t[o]){var c=t[o].default;n[o]="function"==typeof c?c.call(e):c}}return n}}function Dt(e,t){var n,r,i,o,a;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),r=0,i=e.length;r<i;r++)n[r]=t(e[r],r);else if("number"==typeof e)for(n=new Array(e),r=0;r<e;r++)n[r]=t(r+1,r);else if(P(e))for(o=Object.keys(e),n=new Array(o.length),r=0,i=o.length;r<i;r++)a=o[r],n[r]=t(e[a],a,r);return D(n)&&(n._isVList=!0),n}function Pt(e,t,n,r){var i,o=this.$scopedSlots[e];if(o)n=n||{},r&&(n=m(m({},r),n)),i=o(n)||t;else{var a=this.$slots[e];a&&(a._rendered=!0),i=a||t}var s=n&&n.slot;return s?this.$createElement("template",{slot:s},i):i}function Ft(e){return Ne(this.$options,"filters",e)||w}function Rt(e,t){return Array.isArray(e)?-1===e.indexOf(t):e!==t}function Ht(e,t,n,r,i){var o=S.keyCodes[t]||n;return i&&r&&!S.keyCodes[t]?Rt(i,r):o?Rt(o,e):r?_(r)!==t:void 0}function Bt(n,r,i,o,a){if(i)if(P(i)){var s;Array.isArray(i)&&(i=b(i));var e=function(t){if("class"===t||"style"===t||u(t))s=n;else{var e=n.attrs&&n.attrs.type;s=o||S.mustUseProp(r,e,t)?n.domProps||(n.domProps={}):n.attrs||(n.attrs={})}t in s||(s[t]=i[t],a&&((n.on||(n.on={}))["update:"+t]=function(e){i[t]=e}))};for(var t in i)e(t)}else;return n}function Ut(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t||zt(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),"__static__"+e,!1),r}function Vt(e,t,n){return zt(e,"__once__"+t+(n?"_"+n:""),!0),e}function zt(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&&Kt(e[r],t+"_"+r,n);else Kt(e,t,n)}function Kt(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function Jt(e,t){if(t)if(l(t)){var n=e.on=e.on?m({},e.on):{};for(var r in t){var i=n[r],o=t[r];n[r]=i?[].concat(i,o):o}}else;return e}function qt(e){e._o=Vt,e._n=F,e._s=t,e._l=Dt,e._t=Pt,e._q=C,e._i=x,e._m=Ut,e._f=Ft,e._k=Ht,e._b=Bt,e._v=pe,e._e=fe,e._u=vt,e._g=Jt}function Wt(e,t,n,o,r){var a=r.options;this.data=e,this.props=t,this.children=n,this.parent=o,this.listeners=e.on||y,this.injections=Mt(a.inject,o),this.slots=function(){return pt(n,o)};var s=Object.create(o),i=T(a._compiled),c=!i;i&&(this.$options=a,this.$slots=this.slots(),this.$scopedSlots=e.scopedSlots||y),a._scopeId?this._c=function(e,t,n,r){var i=rn(s,e,t,n,r,c);return i&&!Array.isArray(i)&&(i.fnScopeId=a._scopeId,i.fnContext=o),i}:this._c=function(e,t,n,r){return rn(s,e,t,n,r,c)}}function Gt(e,t,n,r){e.fnContext=n,e.fnOptions=r,t.slot&&((e.data||(e.data={})).slot=t.slot)}function Zt(e,t){for(var n in t)e[g(n)]=t[n]}qt(Wt.prototype);var Xt={init:function(e,t,n,r){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var i=e;Xt.prepatch(i,i)}else{(e.componentInstance=function(e,t,n,r){var i={_isComponent:!0,parent:t,_parentVnode:e,_parentElm:n||null,_refElm:r||null},o=e.data.inlineTemplate;D(o)&&(i.render=o.render,i.staticRenderFns=o.staticRenderFns);return new e.componentOptions.Ctor(i)}(e,ht,n,r)).$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions;!function(e,t,n,r,i){var o=!!(i||e.$options._renderChildren||r.data.scopedSlots||e.$scopedSlots!==y);if(e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=i,e.$attrs=r.data.attrs||y,e.$listeners=n||y,t&&e.$options.props){ye(!1);for(var a=e._props,s=e.$options._propKeys||[],c=0;c<s.length;c++){var l=s[c],u=e.$options.props;a[l]=Ie(l,u,t,e)}ye(!0),e.$options.propsData=t}n=n||y;var f=e.$options._parentListeners;e.$options._parentListeners=n,ft(e,n,f),o&&(e.$slots=pt(i,r.context),e.$forceUpdate())}(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){var t,n=e.context,r=e.componentInstance;r._isMounted||(r._isMounted=!0,gt(r,"mounted")),e.data.keepAlive&&(n._isMounted?((t=r)._inactive=!1,bt.push(t)):yt(r,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?function e(t,n){if(!(n&&(t._directInactive=!0,mt(t))||t._inactive)){t._inactive=!0;for(var r=0;r<t.$children.length;r++)e(t.$children[r]);gt(t,"deactivated")}}(t,!0):t.$destroy())}},Yt=Object.keys(Xt);function Qt(e,t,n,r,i){if(!M(e)){var o=n.$options._base;if(P(e)&&(e=o.extend(e)),"function"==typeof e){var a,s,c,l,u,f,p;if(M(e.cid)&&void 0===(e=function(t,n,e){if(T(t.error)&&D(t.errorComp))return t.errorComp;if(D(t.resolved))return t.resolved;if(T(t.loading)&&D(t.loadingComp))return t.loadingComp;if(!D(t.contexts)){var r=t.contexts=[e],i=!0,o=function(){for(var e=0,t=r.length;e<t;e++)r[e].$forceUpdate()},a=R(function(e){t.resolved=at(e,n),i||o()}),s=R(function(e){D(t.errorComp)&&(t.error=!0,o())}),c=t(a,s);return P(c)&&("function"==typeof c.then?M(t.resolved)&&c.then(a,s):D(c.component)&&"function"==typeof c.component.then&&(c.component.then(a,s),D(c.error)&&(t.errorComp=at(c.error,n)),D(c.loading)&&(t.loadingComp=at(c.loading,n),0===c.delay?t.loading=!0:setTimeout(function(){M(t.resolved)&&M(t.error)&&(t.loading=!0,o())},c.delay||200)),D(c.timeout)&&setTimeout(function(){M(t.resolved)&&s(null)},c.timeout))),i=!1,t.loading?t.loadingComp:t.resolved}t.contexts.push(e)}(a=e,o,n)))return s=a,c=t,l=n,u=r,f=i,(p=fe()).asyncFactory=s,p.asyncMeta={data:c,context:l,children:u,tag:f},p;t=t||{},dn(e),D(t.model)&&function(e,t){var n=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.props||(t.props={}))[n]=t.model.value;var i=t.on||(t.on={});D(i[r])?i[r]=[t.model.callback].concat(i[r]):i[r]=t.model.callback}(e.options,t);var d=function(e,t,n){var r=t.options.props;if(!M(r)){var i={},o=e.attrs,a=e.props;if(D(o)||D(a))for(var s in r){var c=_(s);rt(i,a,s,c,!0)||rt(i,o,s,c,!1)}return i}}(t,e);if(T(e.options.functional))return function(e,t,n,r,i){var o=e.options,a={},s=o.props;if(D(s))for(var c in s)a[c]=Ie(c,s,t||y);else D(n.attrs)&&Zt(a,n.attrs),D(n.props)&&Zt(a,n.props);var l=new Wt(n,a,i,r,e),u=o.render.call(null,l._c,l);if(u instanceof le)return Gt(u,n,r,o),u;if(Array.isArray(u)){for(var f=it(u)||[],p=0;p<f.length;p++)Gt(f[p],n,r,o);return f}}(e,d,t,n,r);var v=t.on;if(t.on=t.nativeOn,T(e.options.abstract)){var h=t.slot;t={},h&&(t.slot=h)}!function(e){e.hook||(e.hook={});for(var t=0;t<Yt.length;t++){var n=Yt[t],r=e.hook[n],i=Xt[n];e.hook[n]=r?en(i,r):i}}(t);var m=e.options.name||i;return new le("vue-component-"+e.cid+(m?"-"+m:""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:d,listeners:v,tag:i,children:r},a)}}}function en(i,o){return function(e,t,n,r){i(e,t,n,r),o(e,t,n,r)}}var tn=1,nn=2;function rn(e,t,n,r,i,o){return(Array.isArray(n)||E(n))&&(i=r,r=n,n=void 0),T(o)&&(i=nn),function(e,t,n,r,i){if(D(n)&&D(n.__ob__))return fe();D(n)&&D(n.is)&&(t=n.is);if(!t)return fe();Array.isArray(r)&&"function"==typeof r[0]&&((n=n||{}).scopedSlots={default:r[0]},r.length=0);i===nn?r=it(r):i===tn&&(r=function(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}(r));var o,a;if("string"==typeof t){var s;a=e.$vnode&&e.$vnode.ns||S.getTagNamespace(t),o=S.isReservedTag(t)?new le(S.parsePlatformTagName(t),n,r,void 0,void 0,e):D(s=Ne(e.$options,"components",t))?Qt(s,n,e,r,t):new le(t,n,r,void 0,void 0,e)}else o=Qt(t,n,e,r);return Array.isArray(o)?o:D(o)?(D(a)&&function e(t,n,r){t.ns=n;"foreignObject"===t.tag&&(n=void 0,r=!0);if(D(t.children))for(var i=0,o=t.children.length;i<o;i++){var a=t.children[i];D(a.tag)&&(M(a.ns)||T(r)&&"svg"!==a.tag)&&e(a,n,r)}}(o,a),D(n)&&function(e){P(e.style)&&Xe(e.style);P(e.class)&&Xe(e.class)}(n),o):fe()}(e,t,n,r,i)}var on,an,sn,cn,ln,un,fn,pn=0;function dn(e){var t=e.options;if(e.super){var n=dn(e.super);if(n!==e.superOptions){e.superOptions=n;var r=function(e){var t,n=e.options,r=e.extendOptions,i=e.sealedOptions;for(var o in n)n[o]!==i[o]&&(t||(t={}),t[o]=vn(n[o],r[o],i[o]));return t}(e);r&&m(e.extendOptions,r),(t=e.options=je(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function vn(e,t,n){if(Array.isArray(e)){var r=[];n=Array.isArray(n)?n:[n],t=Array.isArray(t)?t:[t];for(var i=0;i<e.length;i++)(0<=t.indexOf(e[i])||n.indexOf(e[i])<0)&&r.push(e[i]);return r}return e}function hn(e){this._init(e)}function mn(e){e.cid=0;var a=1;e.extend=function(e){e=e||{};var t=this,n=t.cid,r=e._Ctor||(e._Ctor={});if(r[n])return r[n];var i=e.name||t.options.name,o=function(e){this._init(e)};return((o.prototype=Object.create(t.prototype)).constructor=o).cid=a++,o.options=je(t.options,e),o.super=t,o.options.props&&function(e){var t=e.options.props;for(var n in t)Tt(e.prototype,"_props",n)}(o),o.options.computed&&function(e){var t=e.options.computed;for(var n in t)Nt(e.prototype,n,t[n])}(o),o.extend=t.extend,o.mixin=t.mixin,o.use=t.use,k.forEach(function(e){o[e]=t[e]}),i&&(o.options.components[i]=o),o.superOptions=t.options,o.extendOptions=e,o.sealedOptions=m({},o.options),r[n]=o}}function yn(e){return e&&(e.Ctor.options.name||e.tag)}function gn(e,t){return Array.isArray(e)?-1<e.indexOf(t):"string"==typeof e?-1<e.split(",").indexOf(t):(n=e,"[object RegExp]"===r.call(n)&&e.test(t));var n}function _n(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=yn(a.componentOptions);s&&!t(s)&&bn(n,o,r,i)}}}function bn(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,f(n,t)}hn.prototype._init=function(e){var t,n,r,i,o=this;o._uid=pn++,o._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r,n._parentElm=t._parentElm,n._refElm=t._refElm;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(o,e):o.$options=je(dn(o.constructor),e||{},o),function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}((o._renderProxy=o)._self=o),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&ft(e,t)}(o),function(i){i._vnode=null,i._staticTrees=null;var e=i.$options,t=i.$vnode=e._parentVnode,n=t&&t.context;i.$slots=pt(e._renderChildren,n),i.$scopedSlots=y,i._c=function(e,t,n,r){return rn(i,e,t,n,r,!1)},i.$createElement=function(e,t,n,r){return rn(i,e,t,n,r,!0)};var r=t&&t.data;we(i,"$attrs",r&&r.attrs||y,null,!0),we(i,"$listeners",e._parentListeners||y,null,!0)}(o),gt(o,"beforeCreate"),(n=Mt((t=o).$options.inject,t))&&(ye(!1),Object.keys(n).forEach(function(e){we(t,e,n[e])}),ye(!0)),Et(o),(i=(r=o).$options.provide)&&(r._provided="function"==typeof i?i.call(r):i),gt(o,"created"),o.$options.el&&o.$mount(o.$options.el)},on=hn,an={get:function(){return this._data}},sn={get:function(){return this._props}},Object.defineProperty(on.prototype,"$data",an),Object.defineProperty(on.prototype,"$props",sn),on.prototype.$set=Ce,on.prototype.$delete=xe,on.prototype.$watch=function(e,t,n){if(l(t))return Lt(this,e,t,n);(n=n||{}).user=!0;var r=new Ot(this,e,t,n);return n.immediate&&t.call(this,r.value),function(){r.teardown()}},ln=/^hook:/,(cn=hn).prototype.$on=function(e,t){if(Array.isArray(e))for(var n=0,r=e.length;n<r;n++)this.$on(e[n],t);else(this._events[e]||(this._events[e]=[])).push(t),ln.test(e)&&(this._hasHookEvent=!0);return this},cn.prototype.$once=function(e,t){var n=this;function r(){n.$off(e,r),t.apply(n,arguments)}return r.fn=t,n.$on(e,r),n},cn.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(e)){for(var r=0,i=e.length;r<i;r++)this.$off(e[r],t);return n}var o=n._events[e];if(!o)return n;if(!t)return n._events[e]=null,n;if(t)for(var a,s=o.length;s--;)if((a=o[s])===t||a.fn===t){o.splice(s,1);break}return n},cn.prototype.$emit=function(t){var n=this,e=n._events[t];if(e){e=1<e.length?h(e):e;for(var r=h(arguments,1),i=0,o=e.length;i<o;i++)try{e[i].apply(n,r)}catch(e){Pe(e,n,'event handler for "'+t+'"')}}return n},(un=hn).prototype._update=function(e,t){var n=this;n._isMounted&&gt(n,"beforeUpdate");var r=n.$el,i=n._vnode,o=ht;(ht=n)._vnode=e,i?n.$el=n.__patch__(i,e):(n.$el=n.__patch__(n.$el,e,t,!1,n.$options._parentElm,n.$options._refElm),n.$options._parentElm=n.$options._refElm=null),ht=o,r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},un.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},un.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){gt(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;!t||t._isBeingDestroyed||e.$options.abstract||f(t.$children,e),e._watcher&&e._watcher.teardown();for(var n=e._watchers.length;n--;)e._watchers[n].teardown();e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),gt(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}},qt((fn=hn).prototype),fn.prototype.$nextTick=function(e){return Ge(e,this)},fn.prototype._render=function(){var t,n=this,e=n.$options,r=e.render,i=e._parentVnode;i&&(n.$scopedSlots=i.data.scopedSlots||y),n.$vnode=i;try{t=r.call(n._renderProxy,n.$createElement)}catch(e){Pe(e,n,"render"),t=n._vnode}return t instanceof le||(t=fe()),t.parent=i,t};var $n,wn,Cn,xn=[String,RegExp,Array],kn={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:xn,exclude:xn,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)bn(this.cache,e,this.keys)},watch:{include:function(t){_n(this,function(e){return gn(t,e)})},exclude:function(t){_n(this,function(e){return!gn(t,e)})}},render:function(){var e=this.$slots.default,t=ct(e),n=t&&t.componentOptions;if(n){var r=yn(n),i=this.include,o=this.exclude;if(i&&(!r||!gn(i,r))||o&&r&&gn(o,r))return t;var a=this.cache,s=this.keys,c=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;a[c]?(t.componentInstance=a[c].componentInstance,f(s,c),s.push(c)):(a[c]=t,s.push(c),this.max&&s.length>parseInt(this.max)&&bn(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};$n=hn,Cn={get:function(){return S}},Object.defineProperty($n,"config",Cn),$n.util={warn:re,extend:m,mergeOptions:je,defineReactive:we},$n.set=Ce,$n.delete=xe,$n.nextTick=Ge,$n.options=Object.create(null),k.forEach(function(e){$n.options[e+"s"]=Object.create(null)}),m(($n.options._base=$n).options.components,kn),$n.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(-1<t.indexOf(e))return this;var n=h(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this},$n.mixin=function(e){return this.options=je(this.options,e),this},mn($n),wn=$n,k.forEach(function(n){wn[n]=function(e,t){return t?("component"===n&&l(t)&&(t.name=t.name||e,t=this.options._base.extend(t)),"directive"===n&&"function"==typeof t&&(t={bind:t,update:t}),this.options[n+"s"][e]=t):this.options[n+"s"][e]}}),Object.defineProperty(hn.prototype,"$isServer",{get:Y}),Object.defineProperty(hn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(hn,"FunctionalRenderContext",{value:Wt}),hn.version="2.5.15";var An=s("style,class"),On=s("input,textarea,option,select,progress"),Sn=function(e,t,n){return"value"===n&&On(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Tn=s("contenteditable,draggable,spellcheck"),En=s("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),jn="http://www.w3.org/1999/xlink",Nn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},In=function(e){return Nn(e)?e.slice(6,e.length):""},Ln=function(e){return null==e||!1===e};function Mn(e){for(var t=e.data,n=e,r=e;D(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=Dn(r.data,t));for(;D(n=n.parent);)n&&n.data&&(t=Dn(t,n.data));return function(e,t){if(D(e)||D(t))return Pn(e,Fn(t));return""}(t.staticClass,t.class)}function Dn(e,t){return{staticClass:Pn(e.staticClass,t.staticClass),class:D(e.class)?[e.class,t.class]:t.class}}function Pn(e,t){return e?t?e+" "+t:e:t||""}function Fn(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,i=e.length;r<i;r++)D(t=Fn(e[r]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):P(e)?function(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"==typeof e?e:""}var Rn={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Hn=s("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Bn=s("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Un=function(e){return Hn(e)||Bn(e)};function Vn(e){return Bn(e)?"svg":"math"===e?"math":void 0}var zn=Object.create(null);var Kn=s("text,number,password,search,email,tel,url");function Jn(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}var qn=Object.freeze({createElement:function(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n},createElementNS:function(e,t){return document.createElementNS(Rn[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setStyleScope:function(e,t){e.setAttribute(t,"")}}),Wn={create:function(e,t){Gn(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Gn(e,!0),Gn(t))},destroy:function(e){Gn(e,!0)}};function Gn(e,t){var n=e.data.ref;if(D(n)){var r=e.context,i=e.componentInstance||e.elm,o=r.$refs;t?Array.isArray(o[n])?f(o[n],i):o[n]===i&&(o[n]=void 0):e.data.refInFor?Array.isArray(o[n])?o[n].indexOf(i)<0&&o[n].push(i):o[n]=[i]:o[n]=i}}var Zn=new le("",{},[]),Xn=["create","activate","update","remove","destroy"];function Yn(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&D(e.data)===D(t.data)&&function(e,t){if("input"!==e.tag)return!0;var n,r=D(n=e.data)&&D(n=n.attrs)&&n.type,i=D(n=t.data)&&D(n=n.attrs)&&n.type;return r===i||Kn(r)&&Kn(i)}(e,t)||T(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&M(t.asyncFactory.error))}function Qn(e,t,n){var r,i,o={};for(r=t;r<=n;++r)D(i=e[r].key)&&(o[i]=r);return o}var er={create:tr,update:tr,destroy:function(e){tr(e,Zn)}};function tr(e,t){(e.data.directives||t.data.directives)&&function(t,n){var e,r,i,o=t===Zn,a=n===Zn,s=rr(t.data.directives,t.context),c=rr(n.data.directives,n.context),l=[],u=[];for(e in c)r=s[e],i=c[e],r?(i.oldValue=r.value,ir(i,"update",n,t),i.def&&i.def.componentUpdated&&u.push(i)):(ir(i,"bind",n,t),i.def&&i.def.inserted&&l.push(i));if(l.length){var f=function(){for(var e=0;e<l.length;e++)ir(l[e],"inserted",n,t)};o?nt(n,"insert",f):f()}u.length&&nt(n,"postpatch",function(){for(var e=0;e<u.length;e++)ir(u[e],"componentUpdated",n,t)});if(!o)for(e in s)c[e]||ir(s[e],"unbind",t,t,a)}(e,t)}var nr=Object.create(null);function rr(e,t){var n,r,i,o=Object.create(null);if(!e)return o;for(n=0;n<e.length;n++)(r=e[n]).modifiers||(r.modifiers=nr),(o[(i=r,i.rawName||i.name+"."+Object.keys(i.modifiers||{}).join("."))]=r).def=Ne(t.$options,"directives",r.name);return o}function ir(t,n,r,e,i){var o=t.def&&t.def[n];if(o)try{o(r.elm,t,r,e,i)}catch(e){Pe(e,r.context,"directive "+t.name+" "+n+" hook")}}var or=[Wn,er];function ar(e,t){var n=t.componentOptions;if(!(D(n)&&!1===n.Ctor.options.inheritAttrs||M(e.data.attrs)&&M(t.data.attrs))){var r,i,o=t.elm,a=e.data.attrs||{},s=t.data.attrs||{};for(r in D(s.__ob__)&&(s=t.data.attrs=m({},s)),s)i=s[r],a[r]!==i&&sr(o,r,i);for(r in(K||q)&&s.value!==a.value&&sr(o,"value",s.value),a)M(s[r])&&(Nn(r)?o.removeAttributeNS(jn,In(r)):Tn(r)||o.removeAttribute(r))}}function sr(e,t,n){-1<e.tagName.indexOf("-")?cr(e,t,n):En(t)?Ln(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Tn(t)?e.setAttribute(t,Ln(n)||"false"===n?"false":"true"):Nn(t)?Ln(n)?e.removeAttributeNS(jn,In(t)):e.setAttributeNS(jn,t,n):cr(e,t,n)}function cr(t,e,n){if(Ln(n))t.removeAttribute(e);else{if(K&&!J&&"TEXTAREA"===t.tagName&&"placeholder"===e&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var lr={create:ar,update:ar};function ur(e,t){var n=t.elm,r=t.data,i=e.data;if(!(M(r.staticClass)&&M(r.class)&&(M(i)||M(i.staticClass)&&M(i.class)))){var o=Mn(t),a=n._transitionClasses;D(a)&&(o=Pn(o,Fn(a))),o!==n._prevClass&&(n.setAttribute("class",o),n._prevClass=o)}}var fr,pr,dr,vr,hr,mr,yr={create:ur,update:ur},gr=/[\w).+\-_$\]]/;function _r(e){var t,n,r,i,o,a=!1,s=!1,c=!1,l=!1,u=0,f=0,p=0,d=0;for(r=0;r<e.length;r++)if(n=t,t=e.charCodeAt(r),a)39===t&&92!==n&&(a=!1);else if(s)34===t&&92!==n&&(s=!1);else if(c)96===t&&92!==n&&(c=!1);else if(l)47===t&&92!==n&&(l=!1);else if(124!==t||124===e.charCodeAt(r+1)||124===e.charCodeAt(r-1)||u||f||p){switch(t){case 34:s=!0;break;case 39:a=!0;break;case 96:c=!0;break;case 40:p++;break;case 41:p--;break;case 91:f++;break;case 93:f--;break;case 123:u++;break;case 125:u--}if(47===t){for(var v=r-1,h=void 0;0<=v&&" "===(h=e.charAt(v));v--);h&&gr.test(h)||(l=!0)}}else void 0===i?(d=r+1,i=e.slice(0,r).trim()):m();function m(){(o||(o=[])).push(e.slice(d,r).trim()),d=r+1}if(void 0===i?i=e.slice(0,r).trim():0!==d&&m(),o)for(r=0;r<o.length;r++)i=br(i,o[r]);return i}function br(e,t){var n=t.indexOf("(");if(n<0)return'_f("'+t+'")('+e+")";var r=t.slice(0,n),i=t.slice(n+1);return'_f("'+r+'")('+e+(")"!==i?","+i:i)}function $r(e){console.error("[Vue compiler]: "+e)}function wr(e,t){return e?e.map(function(e){return e[t]}).filter(function(e){return e}):[]}function Cr(e,t,n){(e.props||(e.props=[])).push({name:t,value:n}),e.plain=!1}function xr(e,t,n){(e.attrs||(e.attrs=[])).push({name:t,value:n}),e.plain=!1}function kr(e,t,n){e.attrsMap[t]=n,e.attrsList.push({name:t,value:n})}function Ar(e,t,n,r,i,o){var a;(r=r||y).capture&&(delete r.capture,t="!"+t),r.once&&(delete r.once,t="~"+t),r.passive&&(delete r.passive,t="&"+t),"click"===t&&(r.right?(t="contextmenu",delete r.right):r.middle&&(t="mouseup")),r.native?(delete r.native,a=e.nativeEvents||(e.nativeEvents={})):a=e.events||(e.events={});var s={value:n.trim()};r!==y&&(s.modifiers=r);var c=a[t];Array.isArray(c)?i?c.unshift(s):c.push(s):a[t]=c?i?[s,c]:[c,s]:s,e.plain=!1}function Or(e,t,n){var r=Sr(e,":"+t)||Sr(e,"v-bind:"+t);if(null!=r)return _r(r);if(!1!==n){var i=Sr(e,t);if(null!=i)return JSON.stringify(i)}}function Sr(e,t,n){var r;if(null!=(r=e.attrsMap[t]))for(var i=e.attrsList,o=0,a=i.length;o<a;o++)if(i[o].name===t){i.splice(o,1);break}return n&&delete e.attrsMap[t],r}function Tr(e,t,n){var r=n||{},i=r.number,o="$$v",a=o;r.trim&&(a="(typeof $$v === 'string'? $$v.trim(): $$v)"),i&&(a="_n("+a+")");var s=Er(t,a);e.model={value:"("+t+")",expression:'"'+t+'"',callback:"function ($$v) {"+s+"}"}}function Er(e,t){var n=function(e){if(e=e.trim(),fr=e.length,e.indexOf("[")<0||e.lastIndexOf("]")<fr-1)return-1<(vr=e.lastIndexOf("."))?{exp:e.slice(0,vr),key:'"'+e.slice(vr+1)+'"'}:{exp:e,key:null};pr=e,vr=hr=mr=0;for(;!Nr();)Ir(dr=jr())?Mr(dr):91===dr&&Lr(dr);return{exp:e.slice(0,hr),key:e.slice(hr+1,mr)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function jr(){return pr.charCodeAt(++vr)}function Nr(){return fr<=vr}function Ir(e){return 34===e||39===e}function Lr(e){var t=1;for(hr=vr;!Nr();)if(Ir(e=jr()))Mr(e);else if(91===e&&t++,93===e&&t--,0===t){mr=vr;break}}function Mr(e){for(var t=e;!Nr()&&(e=jr())!==t;);}var Dr,Pr="__r",Fr="__c";function Rr(e,t,n,r,i){var o,a,s,c,l;t=(o=t)._withTask||(o._withTask=function(){Ke=!0;var e=o.apply(null,arguments);return Ke=!1,e}),n&&(a=t,s=e,c=r,l=Dr,t=function e(){null!==a.apply(null,arguments)&&Hr(s,e,c,l)}),Dr.addEventListener(e,t,Z?{capture:r,passive:i}:r)}function Hr(e,t,n,r){(r||Dr).removeEventListener(e,t._withTask||t,n)}function Br(e,t){if(!M(e.data.on)||!M(t.data.on)){var n=t.data.on||{},r=e.data.on||{};Dr=t.elm,function(e){if(D(e[Pr])){var t=K?"change":"input";e[t]=[].concat(e[Pr],e[t]||[]),delete e[Pr]}D(e[Fr])&&(e.change=[].concat(e[Fr],e.change||[]),delete e[Fr])}(n),tt(n,r,Rr,Hr,t.context),Dr=void 0}}var Ur={create:Br,update:Br};function Vr(e,t){if(!M(e.data.domProps)||!M(t.data.domProps)){var n,r,i,o,a=t.elm,s=e.data.domProps||{},c=t.data.domProps||{};for(n in D(c.__ob__)&&(c=t.data.domProps=m({},c)),s)M(c[n])&&(a[n]="");for(n in c){if(r=c[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),r===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n){var l=M(a._value=r)?"":String(r);o=l,(i=a).composing||"OPTION"!==i.tagName&&!function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(i,o)&&!function(e,t){var n=e.value,r=e._vModifiers;if(D(r)){if(r.lazy)return!1;if(r.number)return F(n)!==F(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(i,o)||(a.value=l)}else a[n]=r}}}var zr={create:Vr,update:Vr},Kr=e(function(e){var n={},r=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var t=e.split(r);1<t.length&&(n[t[0].trim()]=t[1].trim())}}),n});function Jr(e){var t=qr(e.style);return e.staticStyle?m(e.staticStyle,t):t}function qr(e){return Array.isArray(e)?b(e):"string"==typeof e?Kr(e):e}var Wr,Gr=/^--/,Zr=/\s*!important$/,Xr=function(e,t,n){if(Gr.test(t))e.style.setProperty(t,n);else if(Zr.test(n))e.style.setProperty(t,n.replace(Zr,""),"important");else{var r=Qr(t);if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)e.style[r]=n[i];else e.style[r]=n}},Yr=["Webkit","Moz","ms"],Qr=e(function(e){if(Wr=Wr||document.createElement("div").style,"filter"!==(e=g(e))&&e in Wr)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<Yr.length;n++){var r=Yr[n]+t;if(r in Wr)return r}});function ei(e,t){var n=t.data,r=e.data;if(!(M(n.staticStyle)&&M(n.style)&&M(r.staticStyle)&&M(r.style))){var i,o,a=t.elm,s=r.staticStyle,c=r.normalizedStyle||r.style||{},l=s||c,u=qr(t.data.style)||{};t.data.normalizedStyle=D(u.__ob__)?m({},u):u;var f=function(e,t){var n,r={};if(t)for(var i=e;i.componentInstance;)(i=i.componentInstance._vnode)&&i.data&&(n=Jr(i.data))&&m(r,n);(n=Jr(e.data))&&m(r,n);for(var o=e;o=o.parent;)o.data&&(n=Jr(o.data))&&m(r,n);return r}(t,!0);for(o in l)M(f[o])&&Xr(a,o,"");for(o in f)(i=f[o])!==l[o]&&Xr(a,o,null==i?"":i)}}var ti={create:ei,update:ei};function ni(t,e){if(e&&(e=e.trim()))if(t.classList)-1<e.indexOf(" ")?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function ri(t,e){if(e&&(e=e.trim()))if(t.classList)-1<e.indexOf(" ")?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";0<=n.indexOf(r);)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function ii(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&m(t,oi(e.name||"v")),m(t,e),t}return"string"==typeof e?oi(e):void 0}}var oi=e(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),ai=B&&!J,si="transition",ci="animation",li="transition",ui="transitionend",fi="animation",pi="animationend";ai&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(li="WebkitTransition",ui="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(fi="WebkitAnimation",pi="webkitAnimationEnd"));var di=B?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function vi(e){di(function(){di(e)})}function hi(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),ni(e,t))}function mi(e,t){e._transitionClasses&&f(e._transitionClasses,t),ri(e,t)}function yi(t,e,n){var r=_i(t,e),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===si?ui:pi,c=0,l=function(){t.removeEventListener(s,u),n()},u=function(e){e.target===t&&++c>=a&&l()};setTimeout(function(){c<a&&l()},o+1),t.addEventListener(s,u)}var gi=/\b(transform|all)(,|$)/;function _i(e,t){var n,r=window.getComputedStyle(e),i=r[li+"Delay"].split(", "),o=r[li+"Duration"].split(", "),a=bi(i,o),s=r[fi+"Delay"].split(", "),c=r[fi+"Duration"].split(", "),l=bi(s,c),u=0,f=0;return t===si?0<a&&(n=si,u=a,f=o.length):t===ci?0<l&&(n=ci,u=l,f=c.length):f=(n=0<(u=Math.max(a,l))?l<a?si:ci:null)?n===si?o.length:c.length:0,{type:n,timeout:u,propCount:f,hasTransform:n===si&&gi.test(r[li+"Property"])}}function bi(n,e){for(;n.length<e.length;)n=n.concat(n);return Math.max.apply(null,e.map(function(e,t){return $i(e)+$i(n[t])}))}function $i(e){return 1e3*Number(e.slice(0,-1))}function wi(n,e){var r=n.elm;D(r._leaveCb)&&(r._leaveCb.cancelled=!0,r._leaveCb());var t=ii(n.data.transition);if(!M(t)&&!D(r._enterCb)&&1===r.nodeType){for(var i=t.css,o=t.type,a=t.enterClass,s=t.enterToClass,c=t.enterActiveClass,l=t.appearClass,u=t.appearToClass,f=t.appearActiveClass,p=t.beforeEnter,d=t.enter,v=t.afterEnter,h=t.enterCancelled,m=t.beforeAppear,y=t.appear,g=t.afterAppear,_=t.appearCancelled,b=t.duration,$=ht,w=ht.$vnode;w&&w.parent;)$=(w=w.parent).context;var C=!$._isMounted||!n.isRootInsert;if(!C||y||""===y){var x=C&&l?l:a,k=C&&f?f:c,A=C&&u?u:s,O=C&&m||p,S=C&&"function"==typeof y?y:d,T=C&&g||v,E=C&&_||h,j=F(P(b)?b.enter:b),N=!1!==i&&!J,I=ki(S),L=r._enterCb=R(function(){N&&(mi(r,A),mi(r,k)),L.cancelled?(N&&mi(r,x),E&&E(r)):T&&T(r),r._enterCb=null});n.data.show||nt(n,"insert",function(){var e=r.parentNode,t=e&&e._pending&&e._pending[n.key];t&&t.tag===n.tag&&t.elm._leaveCb&&t.elm._leaveCb(),S&&S(r,L)}),O&&O(r),N&&(hi(r,x),hi(r,k),vi(function(){mi(r,x),L.cancelled||(hi(r,A),I||(xi(j)?setTimeout(L,j):yi(r,o,L)))})),n.data.show&&(e&&e(),S&&S(r,L)),N||I||L()}}}function Ci(e,t){var n=e.elm;D(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=ii(e.data.transition);if(M(r)||1!==n.nodeType)return t();if(!D(n._leaveCb)){var i=r.css,o=r.type,a=r.leaveClass,s=r.leaveToClass,c=r.leaveActiveClass,l=r.beforeLeave,u=r.leave,f=r.afterLeave,p=r.leaveCancelled,d=r.delayLeave,v=r.duration,h=!1!==i&&!J,m=ki(u),y=F(P(v)?v.leave:v),g=n._leaveCb=R(function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),h&&(mi(n,s),mi(n,c)),g.cancelled?(h&&mi(n,a),p&&p(n)):(t(),f&&f(n)),n._leaveCb=null});d?d(_):_()}function _(){g.cancelled||(e.data.show||((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),l&&l(n),h&&(hi(n,a),hi(n,c),vi(function(){mi(n,a),g.cancelled||(hi(n,s),m||(xi(y)?setTimeout(g,y):yi(n,o,g)))})),u&&u(n,g),h||m||g())}}function xi(e){return"number"==typeof e&&!isNaN(e)}function ki(e){if(M(e))return!1;var t=e.fns;return D(t)?ki(Array.isArray(t)?t[0]:t):1<(e._length||e.length)}function Ai(e,t){!0!==t.data.show&&wi(t)}var Oi=function(e){var r,t,g={},n=e.modules,_=e.nodeOps;for(r=0;r<Xn.length;++r)for(g[Xn[r]]=[],t=0;t<n.length;++t)D(n[t][Xn[r]])&&g[Xn[r]].push(n[t][Xn[r]]);function o(e){var t=_.parentNode(e);D(t)&&_.removeChild(t,e)}function b(e,t,n,r,i,o,a){var s,c;if(D(e.elm)&&D(o)&&(e=o[a]=((c=new le((s=e).tag,s.data,s.children,s.text,s.elm,s.context,s.componentOptions,s.asyncFactory)).ns=s.ns,c.isStatic=s.isStatic,c.key=s.key,c.isComment=s.isComment,c.fnContext=s.fnContext,c.fnOptions=s.fnOptions,c.fnScopeId=s.fnScopeId,c.isCloned=!0,c)),e.isRootInsert=!i,!function(e,t,n,r){var i=e.data;if(D(i)){var o=D(e.componentInstance)&&i.keepAlive;if(D(i=i.hook)&&D(i=i.init)&&i(e,!1,n,r),D(e.componentInstance))return d(e,t),T(o)&&function(e,t,n,r){for(var i,o=e;o.componentInstance;)if(o=o.componentInstance._vnode,D(i=o.data)&&D(i=i.transition)){for(i=0;i<g.activate.length;++i)g.activate[i](Zn,o);t.push(o);break}p(n,e.elm,r)}(e,t,n,r),!0}}(e,t,n,r)){var l=e.data,u=e.children,f=e.tag;D(f)?(e.elm=e.ns?_.createElementNS(e.ns,f):_.createElement(f,e),m(e),v(e,u,t),D(l)&&h(e,t)):T(e.isComment)?e.elm=_.createComment(e.text):e.elm=_.createTextNode(e.text),p(n,e.elm,r)}}function d(e,t){D(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,$(e)?(h(e,t),m(e)):(Gn(e),t.push(e))}function p(e,t,n){D(e)&&(D(n)?n.parentNode===e&&_.insertBefore(e,t,n):_.appendChild(e,t))}function v(e,t,n){if(Array.isArray(t))for(var r=0;r<t.length;++r)b(t[r],n,e.elm,null,!0,t,r);else E(e.text)&&_.appendChild(e.elm,_.createTextNode(String(e.text)))}function $(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return D(e.tag)}function h(e,t){for(var n=0;n<g.create.length;++n)g.create[n](Zn,e);D(r=e.data.hook)&&(D(r.create)&&r.create(Zn,e),D(r.insert)&&t.push(e))}function m(e){var t;if(D(t=e.fnScopeId))_.setStyleScope(e.elm,t);else for(var n=e;n;)D(t=n.context)&&D(t=t.$options._scopeId)&&_.setStyleScope(e.elm,t),n=n.parent;D(t=ht)&&t!==e.context&&t!==e.fnContext&&D(t=t.$options._scopeId)&&_.setStyleScope(e.elm,t)}function y(e,t,n,r,i,o){for(;r<=i;++r)b(n[r],o,e,t,!1,n,r)}function w(e){var t,n,r=e.data;if(D(r))for(D(t=r.hook)&&D(t=t.destroy)&&t(e),t=0;t<g.destroy.length;++t)g.destroy[t](e);if(D(t=e.children))for(n=0;n<e.children.length;++n)w(e.children[n])}function C(e,t,n,r){for(;n<=r;++n){var i=t[n];D(i)&&(D(i.tag)?(a(i),w(i)):o(i.elm))}}function a(e,t){if(D(t)||D(e.data)){var n,r=g.remove.length+1;for(D(t)?t.listeners+=r:t=function(e,t){function n(){0==--n.listeners&&o(e)}return n.listeners=t,n}(e.elm,r),D(n=e.componentInstance)&&D(n=n._vnode)&&D(n.data)&&a(n,t),n=0;n<g.remove.length;++n)g.remove[n](e,t);D(n=e.data.hook)&&D(n=n.remove)?n(e,t):t()}else o(e.elm)}function x(e,t,n,r){for(var i=n;i<r;i++){var o=t[i];if(D(o)&&Yn(e,o))return i}}function k(e,t,n,r){if(e!==t){var i=t.elm=e.elm;if(T(e.isAsyncPlaceholder))D(t.asyncFactory.resolved)?S(e.elm,t,n):t.isAsyncPlaceholder=!0;else if(T(t.isStatic)&&T(e.isStatic)&&t.key===e.key&&(T(t.isCloned)||T(t.isOnce)))t.componentInstance=e.componentInstance;else{var o,a=t.data;D(a)&&D(o=a.hook)&&D(o=o.prepatch)&&o(e,t);var s=e.children,c=t.children;if(D(a)&&$(t)){for(o=0;o<g.update.length;++o)g.update[o](e,t);D(o=a.hook)&&D(o=o.update)&&o(e,t)}M(t.text)?D(s)&&D(c)?s!==c&&function(e,t,n,r,i){for(var o,a,s,c=0,l=0,u=t.length-1,f=t[0],p=t[u],d=n.length-1,v=n[0],h=n[d],m=!i;c<=u&&l<=d;)M(f)?f=t[++c]:M(p)?p=t[--u]:Yn(f,v)?(k(f,v,r),f=t[++c],v=n[++l]):Yn(p,h)?(k(p,h,r),p=t[--u],h=n[--d]):Yn(f,h)?(k(f,h,r),m&&_.insertBefore(e,f.elm,_.nextSibling(p.elm)),f=t[++c],h=n[--d]):(Yn(p,v)?(k(p,v,r),m&&_.insertBefore(e,p.elm,f.elm),p=t[--u]):(M(o)&&(o=Qn(t,c,u)),M(a=D(v.key)?o[v.key]:x(v,t,c,u))?b(v,r,e,f.elm,!1,n,l):Yn(s=t[a],v)?(k(s,v,r),t[a]=void 0,m&&_.insertBefore(e,s.elm,f.elm)):b(v,r,e,f.elm,!1,n,l)),v=n[++l]);u<c?y(e,M(n[d+1])?null:n[d+1].elm,n,l,d,r):d<l&&C(0,t,c,u)}(i,s,c,n,r):D(c)?(D(e.text)&&_.setTextContent(i,""),y(i,null,c,0,c.length-1,n)):D(s)?C(0,s,0,s.length-1):D(e.text)&&_.setTextContent(i,""):e.text!==t.text&&_.setTextContent(i,t.text),D(a)&&D(o=a.hook)&&D(o=o.postpatch)&&o(e,t)}}}function A(e,t,n){if(T(n)&&D(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r<t.length;++r)t[r].data.hook.insert(t[r])}var O=s("attrs,class,staticClass,staticStyle,key");function S(e,t,n,r){var i,o=t.tag,a=t.data,s=t.children;if(r=r||a&&a.pre,t.elm=e,T(t.isComment)&&D(t.asyncFactory))return t.isAsyncPlaceholder=!0;if(D(a)&&(D(i=a.hook)&&D(i=i.init)&&i(t,!0),D(i=t.componentInstance)))return d(t,n),!0;if(D(o)){if(D(s))if(e.hasChildNodes())if(D(i=a)&&D(i=i.domProps)&&D(i=i.innerHTML)){if(i!==e.innerHTML)return!1}else{for(var c=!0,l=e.firstChild,u=0;u<s.length;u++){if(!l||!S(l,s[u],n,r)){c=!1;break}l=l.nextSibling}if(!c||l)return!1}else v(t,s,n);if(D(a)){var f=!1;for(var p in a)if(!O(p)){f=!0,h(t,n);break}!f&&a.class&&Xe(a.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,r,i,o){if(!M(t)){var a,s=!1,c=[];if(M(e))s=!0,b(t,c,i,o);else{var l=D(e.nodeType);if(!l&&Yn(e,t))k(e,t,c,r);else{if(l){if(1===e.nodeType&&e.hasAttribute(j)&&(e.removeAttribute(j),n=!0),T(n)&&S(e,t,c))return A(t,c,!0),e;a=e,e=new le(_.tagName(a).toLowerCase(),{},[],void 0,a)}var u=e.elm,f=_.parentNode(u);if(b(t,c,u._leaveCb?null:f,_.nextSibling(u)),D(t.parent))for(var p=t.parent,d=$(t);p;){for(var v=0;v<g.destroy.length;++v)g.destroy[v](p);if(p.elm=t.elm,d){for(var h=0;h<g.create.length;++h)g.create[h](Zn,p);var m=p.data.hook.insert;if(m.merged)for(var y=1;y<m.fns.length;y++)m.fns[y]()}else Gn(p);p=p.parent}D(f)?C(0,[e],0,0):D(e.tag)&&w(e)}}return A(t,c,s),t.elm}D(e)&&w(e)}}({nodeOps:qn,modules:[lr,yr,Ur,zr,ti,B?{create:Ai,activate:Ai,remove:function(e,t){!0!==e.data.show?Ci(e,t):t()}}:{}].concat(or)});J&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&Mi(e,"input")});var Si={inserted:function(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?nt(n,"postpatch",function(){Si.componentUpdated(e,t,n)}):Ti(e,t,n.context),e._vOptions=[].map.call(e.options,Ni)):("textarea"===n.tag||Kn(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",Ii),e.addEventListener("compositionend",Li),e.addEventListener("change",Li),J&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){Ti(e,t,n.context);var r=e._vOptions,i=e._vOptions=[].map.call(e.options,Ni);if(i.some(function(e,t){return!C(e,r[t])}))(e.multiple?t.value.some(function(e){return ji(e,i)}):t.value!==t.oldValue&&ji(t.value,i))&&Mi(e,"change")}}};function Ti(e,t,n){Ei(e,t,n),(K||q)&&setTimeout(function(){Ei(e,t,n)},0)}function Ei(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,c=e.options.length;s<c;s++)if(a=e.options[s],i)o=-1<x(r,Ni(a)),a.selected!==o&&(a.selected=o);else if(C(Ni(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function ji(t,e){return e.every(function(e){return!C(e,t)})}function Ni(e){return"_value"in e?e._value:e.value}function Ii(e){e.target.composing=!0}function Li(e){e.target.composing&&(e.target.composing=!1,Mi(e.target,"input"))}function Mi(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Di(e){return!e.componentInstance||e.data&&e.data.transition?e:Di(e.componentInstance._vnode)}var Pi={model:Si,show:{bind:function(e,t,n){var r=t.value,i=(n=Di(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,wi(n,function(){e.style.display=o})):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=Di(n)).data&&n.data.transition?(n.data.show=!0,r?wi(n,function(){e.style.display=e.__vOriginalDisplay}):Ci(n,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}}},Fi={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Ri(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Ri(ct(t.children)):e}function Hi(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[g(o)]=i[o];return t}function Bi(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var Ui={name:"transition",props:Fi,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(function(e){return e.tag||st(e)})).length){var r=this.mode,i=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return i;var o=Ri(i);if(!o)return i;if(this._leaving)return Bi(e,i);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:E(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var s,c,l=(o.data||(o.data={})).transition=Hi(this),u=this._vnode,f=Ri(u);if(o.data.directives&&o.data.directives.some(function(e){return"show"===e.name})&&(o.data.show=!0),f&&f.data&&(s=o,(c=f).key!==s.key||c.tag!==s.tag)&&!st(f)&&(!f.componentInstance||!f.componentInstance._vnode.isComment)){var p=f.data.transition=m({},l);if("out-in"===r)return this._leaving=!0,nt(p,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),Bi(e,i);if("in-out"===r){if(st(o))return u;var d,v=function(){d()};nt(l,"afterEnter",v),nt(l,"enterCancelled",v),nt(p,"delayLeave",function(e){d=e})}}return i}}},Vi=m({tag:String,moveClass:String},Fi);function zi(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Ki(e){e.data.newPos=e.elm.getBoundingClientRect()}function Ji(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}delete Vi.mode;var qi={Transition:Ui,TransitionGroup:{props:Vi,render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=Hi(this),s=0;s<i.length;s++){var c=i[s];c.tag&&null!=c.key&&0!==String(c.key).indexOf("__vlist")&&(o.push(c),((n[c.key]=c).data||(c.data={})).transition=a)}if(r){for(var l=[],u=[],f=0;f<r.length;f++){var p=r[f];p.data.transition=a,p.data.pos=p.elm.getBoundingClientRect(),n[p.key]?l.push(p):u.push(p)}this.kept=e(t,null,l),this.removed=u}return e(t,null,o)},beforeUpdate:function(){this.__patch__(this._vnode,this.kept,!1,!0),this._vnode=this.kept},updated:function(){var e=this.prevChildren,r=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,r)&&(e.forEach(zi),e.forEach(Ki),e.forEach(Ji),this._reflow=document.body.offsetHeight,e.forEach(function(e){if(e.data.moved){var n=e.elm,t=n.style;hi(n,r),t.transform=t.WebkitTransform=t.transitionDuration="",n.addEventListener(ui,n._moveCb=function e(t){t&&!/transform$/.test(t.propertyName)||(n.removeEventListener(ui,e),n._moveCb=null,mi(n,r))})}}))},methods:{hasMove:function(e,t){if(!ai)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(function(e){ri(n,e)}),ni(n,t),n.style.display="none",this.$el.appendChild(n);var r=_i(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}}};hn.config.mustUseProp=Sn,hn.config.isReservedTag=Un,hn.config.isReservedAttr=An,hn.config.getTagNamespace=Vn,hn.config.isUnknownElement=function(e){if(!B)return!0;if(Un(e))return!1;if(e=e.toLowerCase(),null!=zn[e])return zn[e];var t=document.createElement(e);return-1<e.indexOf("-")?zn[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:zn[e]=/HTMLUnknownElement/.test(t.toString())},m(hn.options.directives,Pi),m(hn.options.components,qi),hn.prototype.__patch__=B?Oi:$,hn.prototype.$mount=function(e,t){return e=e&&B?Jn(e):void 0,r=e,i=t,(n=this).$el=r,n.$options.render||(n.$options.render=fe),gt(n,"beforeMount"),new Ot(n,function(){n._update(n._render(),i)},$,null,!0),i=!1,null==n.$vnode&&(n._isMounted=!0,gt(n,"mounted")),n;var n,r,i},B&&setTimeout(function(){S.devtools&&Q&&Q.emit("init",hn)},0);var Wi=/\{\{((?:.|\n)+?)\}\}/g,Gi=/[-.*+?^${}()|[\]\/\\]/g,Zi=e(function(e){var t=e[0].replace(Gi,"\\$&"),n=e[1].replace(Gi,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")});var Xi={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=Sr(e,"class");n&&(e.staticClass=JSON.stringify(n));var r=Or(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}};var Yi,Qi={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=Sr(e,"style");n&&(e.staticStyle=JSON.stringify(Kr(n)));var r=Or(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},eo=function(e){return(Yi=Yi||document.createElement("div")).innerHTML=e,Yi.textContent},to=s("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),no=s("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),ro=s("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),io=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,oo="[a-zA-Z_][\\w\\-\\.]*",ao="((?:"+oo+"\\:)?"+oo+")",so=new RegExp("^<"+ao),co=/^\s*(\/?)>/,lo=new RegExp("^<\\/"+ao+"[^>]*>"),uo=/^<!DOCTYPE [^>]+>/i,fo=/^<!\--/,po=/^<!\[/,vo=!1;"x".replace(/x(.)?/g,function(e,t){vo=""===t});var ho=s("script,style,textarea",!0),mo={},yo={"&lt;":"<","&gt;":">","&quot;":'"',"&amp;":"&","&#10;":"\n","&#9;":"\t"},go=/&(?:lt|gt|quot|amp);/g,_o=/&(?:lt|gt|quot|amp|#10|#9);/g,bo=s("pre,textarea",!0),$o=function(e,t){return e&&bo(e)&&"\n"===t[0]};var wo,Co,xo,ko,Ao,Oo,So,To,Eo=/^@|^v-on:/,jo=/^v-|^@|^:/,No=/(.*?)\s+(?:in|of)\s+(.*)/,Io=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Lo=/^\(|\)$/g,Mo=/:(.*)$/,Do=/^:|^v-bind:/,Po=/\.[^.]+/g,Fo=e(eo);function Ro(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:function(e){for(var t={},n=0,r=e.length;n<r;n++)t[e[n].name]=e[n].value;return t}(t),parent:n,children:[]}}function Ho(e,p){wo=p.warn||$r,Oo=p.isPreTag||O,So=p.mustUseProp||O,To=p.getTagNamespace||O,xo=wr(p.modules,"transformNode"),ko=wr(p.modules,"preTransformNode"),Ao=wr(p.modules,"postTransformNode"),Co=p.delimiters;var d,v,h=[],i=!1!==p.preserveWhitespace,m=!1,y=!1;function g(e){e.pre&&(m=!1),Oo(e.tag)&&(y=!1);for(var t=0;t<Ao.length;t++)Ao[t](e,p)}return function(i,d){for(var e,v,h=[],m=d.expectHTML,y=d.isUnaryTag||O,g=d.canBeLeftOpenTag||O,a=0;i;){if(e=i,v&&ho(v)){var r=0,o=v.toLowerCase(),t=mo[o]||(mo[o]=new RegExp("([\\s\\S]*?)(</"+o+"[^>]*>)","i")),n=i.replace(t,function(e,t,n){return r=n.length,ho(o)||"noscript"===o||(t=t.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),$o(o,t)&&(t=t.slice(1)),d.chars&&d.chars(t),""});a+=i.length-n.length,i=n,A(o,a-r,a)}else{var s=i.indexOf("<");if(0===s){if(fo.test(i)){var c=i.indexOf("--\x3e");if(0<=c){d.shouldKeepComment&&d.comment(i.substring(4,c)),C(c+3);continue}}if(po.test(i)){var l=i.indexOf("]>");if(0<=l){C(l+2);continue}}var u=i.match(uo);if(u){C(u[0].length);continue}var f=i.match(lo);if(f){var p=a;C(f[0].length),A(f[1],p,a);continue}var _=x();if(_){k(_),$o(v,i)&&C(1);continue}}var b=void 0,$=void 0,w=void 0;if(0<=s){for($=i.slice(s);!(lo.test($)||so.test($)||fo.test($)||po.test($)||(w=$.indexOf("<",1))<0);)s+=w,$=i.slice(s);b=i.substring(0,s),C(s)}s<0&&(b=i,i=""),d.chars&&b&&d.chars(b)}if(i===e){d.chars&&d.chars(i);break}}function C(e){a+=e,i=i.substring(e)}function x(){var e=i.match(so);if(e){var t,n,r={tagName:e[1],attrs:[],start:a};for(C(e[0].length);!(t=i.match(co))&&(n=i.match(io));)C(n[0].length),r.attrs.push(n);if(t)return r.unarySlash=t[1],C(t[0].length),r.end=a,r}}function k(e){var t=e.tagName,n=e.unarySlash;m&&("p"===v&&ro(t)&&A(v),g(t)&&v===t&&A(t));for(var r,i,o,a=y(t)||!!n,s=e.attrs.length,c=new Array(s),l=0;l<s;l++){var u=e.attrs[l];vo&&-1===u[0].indexOf('""')&&(""===u[3]&&delete u[3],""===u[4]&&delete u[4],""===u[5]&&delete u[5]);var f=u[3]||u[4]||u[5]||"",p="a"===t&&"href"===u[1]?d.shouldDecodeNewlinesForHref:d.shouldDecodeNewlines;c[l]={name:u[1],value:(r=f,i=p,o=i?_o:go,r.replace(o,function(e){return yo[e]}))}}a||(h.push({tag:t,lowerCasedTag:t.toLowerCase(),attrs:c}),v=t),d.start&&d.start(t,c,a,e.start,e.end)}function A(e,t,n){var r,i;if(null==t&&(t=a),null==n&&(n=a),e&&(i=e.toLowerCase()),e)for(r=h.length-1;0<=r&&h[r].lowerCasedTag!==i;r--);else r=0;if(0<=r){for(var o=h.length-1;r<=o;o--)d.end&&d.end(h[o].tag,t,n);h.length=r,v=r&&h[r-1].tag}else"br"===i?d.start&&d.start(e,[],!0,t,n):"p"===i&&(d.start&&d.start(e,[],!1,t,n),d.end&&d.end(e,t,n))}A()}(e,{warn:wo,expectHTML:p.expectHTML,isUnaryTag:p.isUnaryTag,canBeLeftOpenTag:p.canBeLeftOpenTag,shouldDecodeNewlines:p.shouldDecodeNewlines,shouldDecodeNewlinesForHref:p.shouldDecodeNewlinesForHref,shouldKeepComment:p.comments,start:function(e,t,n){var r=v&&v.ns||To(e);K&&"svg"===r&&(t=function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];Ko.test(r.name)||(r.name=r.name.replace(Jo,""),t.push(r))}return t}(t));var i,o,a,s,c,l=Ro(e,t,v);r&&(l.ns=r),"style"!==(i=l).tag&&("script"!==i.tag||i.attrsMap.type&&"text/javascript"!==i.attrsMap.type)||Y()||(l.forbidden=!0);for(var u=0;u<ko.length;u++)l=ko[u](l,p)||l;if(m||(null!=Sr(o=l,"v-pre")&&(o.pre=!0),l.pre&&(m=!0)),Oo(l.tag)&&(y=!0),m?function(e){var t=e.attrsList.length;if(t)for(var n=e.attrs=new Array(t),r=0;r<t;r++)n[r]={name:e.attrsList[r].name,value:JSON.stringify(e.attrsList[r].value)};else e.pre||(e.plain=!0)}(l):l.processed||(Uo(l),function(e){var t=Sr(e,"v-if");if(t)e.if=t,Vo(e,{exp:t,block:e});else{null!=Sr(e,"v-else")&&(e.else=!0);var n=Sr(e,"v-else-if");n&&(e.elseif=n)}}(l),null!=Sr(a=l,"v-once")&&(a.once=!0),Bo(l,p)),d?h.length||d.if&&(l.elseif||l.else)&&Vo(d,{exp:l.elseif,block:l}):d=l,v&&!l.forbidden)if(l.elseif||l.else)s=l,(c=function(e){var t=e.length;for(;t--;){if(1===e[t].type)return e[t];e.pop()}}(v.children))&&c.if&&Vo(c,{exp:s.elseif,block:s});else if(l.slotScope){v.plain=!1;var f=l.slotTarget||'"default"';(v.scopedSlots||(v.scopedSlots={}))[f]=l}else v.children.push(l),l.parent=v;n?g(l):(v=l,h.push(l))},end:function(){var e=h[h.length-1],t=e.children[e.children.length-1];t&&3===t.type&&" "===t.text&&!y&&e.children.pop(),h.length-=1,v=h[h.length-1],g(e)},chars:function(e){if(v&&(!K||"textarea"!==v.tag||v.attrsMap.placeholder!==e)){var t,n,r=v.children;if(e=y||e.trim()?"script"===(t=v).tag||"style"===t.tag?e:Fo(e):i&&r.length?" ":"")!m&&" "!==e&&(n=function(e,t){var n=t?Zi(t):Wi;if(n.test(e)){for(var r,i,o,a=[],s=[],c=n.lastIndex=0;r=n.exec(e);){c<(i=r.index)&&(s.push(o=e.slice(c,i)),a.push(JSON.stringify(o)));var l=_r(r[1].trim());a.push("_s("+l+")"),s.push({"@binding":l}),c=i+r[0].length}return c<e.length&&(s.push(o=e.slice(c)),a.push(JSON.stringify(o))),{expression:a.join("+"),tokens:s}}}(e,Co))?r.push({type:2,expression:n.expression,tokens:n.tokens,text:e}):" "===e&&r.length&&" "===r[r.length-1].text||r.push({type:3,text:e})}},comment:function(e){v.children.push({type:3,text:e,isComment:!0})}}),d}function Bo(e,t){var n,r,i,o;(r=Or(n=e,"key"))&&(n.key=r),e.plain=!e.key&&!e.attrsList.length,(o=Or(i=e,"ref"))&&(i.ref=o,i.refInFor=function(e){for(var t=e;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}(i)),function(e){if("slot"===e.tag)e.slotName=Or(e,"name");else{var t;"template"===e.tag?(t=Sr(e,"scope"),e.slotScope=t||Sr(e,"slot-scope")):(t=Sr(e,"slot-scope"))&&(e.slotScope=t);var n=Or(e,"slot");n&&(e.slotTarget='""'===n?'"default"':n,"template"===e.tag||e.slotScope||xr(e,"slot",n))}}(e),function(e){var t;(t=Or(e,"is"))&&(e.component=t);null!=Sr(e,"inline-template")&&(e.inlineTemplate=!0)}(e);for(var a=0;a<xo.length;a++)e=xo[a](e,t)||e;!function(e){var t,n,r,i,o,a,s,c=e.attrsList;for(t=0,n=c.length;t<n;t++)if(r=i=c[t].name,o=c[t].value,jo.test(r))if(e.hasBindings=!0,(a=zo(r))&&(r=r.replace(Po,"")),Do.test(r))r=r.replace(Do,""),o=_r(o),s=!1,a&&(a.prop&&(s=!0,"innerHtml"===(r=g(r))&&(r="innerHTML")),a.camel&&(r=g(r)),a.sync&&Ar(e,"update:"+g(r),Er(o,"$event"))),s||!e.component&&So(e.tag,e.attrsMap.type,r)?Cr(e,r,o):xr(e,r,o);else if(Eo.test(r))r=r.replace(Eo,""),Ar(e,r,o,a,!1);else{var l=(r=r.replace(jo,"")).match(Mo),u=l&&l[1];u&&(r=r.slice(0,-(u.length+1))),p=r,d=i,v=o,h=u,m=a,((f=e).directives||(f.directives=[])).push({name:p,rawName:d,value:v,arg:h,modifiers:m}),f.plain=!1}else xr(e,r,JSON.stringify(o)),!e.component&&"muted"===r&&So(e.tag,e.attrsMap.type,r)&&Cr(e,r,"true");var f,p,d,v,h,m}(e)}function Uo(e){var t;if(t=Sr(e,"v-for")){var n=function(e){var t=e.match(No);if(!t)return;var n={};n.for=t[2].trim();var r=t[1].trim().replace(Lo,""),i=r.match(Io);i?(n.alias=r.replace(Io,""),n.iterator1=i[1].trim(),i[2]&&(n.iterator2=i[2].trim())):n.alias=r;return n}(t);n&&m(e,n)}}function Vo(e,t){e.ifConditions||(e.ifConditions=[]),e.ifConditions.push(t)}function zo(e){var t=e.match(Po);if(t){var n={};return t.forEach(function(e){n[e.slice(1)]=!0}),n}}var Ko=/^xmlns:NS\d+/,Jo=/^NS\d+:/;function qo(e){return Ro(e.tag,e.attrsList.slice(),e.parent)}var Wo=[Xi,Qi,{preTransformNode:function(e,t){if("input"===e.tag){var n,r=e.attrsMap;if(!r["v-model"])return;if((r[":type"]||r["v-bind:type"])&&(n=Or(e,"type")),!n&&r["v-bind"]&&(n="("+r["v-bind"]+").type"),n){var i=Sr(e,"v-if",!0),o=i?"&&("+i+")":"",a=null!=Sr(e,"v-else",!0),s=Sr(e,"v-else-if",!0),c=qo(e);Uo(c),kr(c,"type","checkbox"),Bo(c,t),c.processed=!0,c.if="("+n+")==='checkbox'"+o,Vo(c,{exp:c.if,block:c});var l=qo(e);Sr(l,"v-for",!0),kr(l,"type","radio"),Bo(l,t),Vo(c,{exp:"("+n+")==='radio'"+o,block:l});var u=qo(e);return Sr(u,"v-for",!0),kr(u,":type",n),Bo(u,t),Vo(c,{exp:i,block:u}),a?c.else=!0:s&&(c.elseif=s),c}}}}];var Go,Zo,Xo,Yo={expectHTML:!0,modules:Wo,directives:{model:function(e,t,n){var r,i,o,a,s,c,l,u,f,p,d,v,h,m,y,g,_=t.value,b=t.modifiers,$=e.tag,w=e.attrsMap.type;if(e.component)return Tr(e,_,b),!1;if("select"===$)h=e,m=_,g=(g='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+((y=b)&&y.number?"_n(val)":"val")+"});")+" "+Er(m,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),Ar(h,"change",g,null,!0);else if("input"===$&&"checkbox"===w)c=e,l=_,f=(u=b)&&u.number,p=Or(c,"value")||"null",d=Or(c,"true-value")||"true",v=Or(c,"false-value")||"false",Cr(c,"checked","Array.isArray("+l+")?_i("+l+","+p+")>-1"+("true"===d?":("+l+")":":_q("+l+","+d+")")),Ar(c,"change","var $$a="+l+",$$el=$event.target,$$c=$$el.checked?("+d+"):("+v+");if(Array.isArray($$a)){var $$v="+(f?"_n("+p+")":p)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Er(l,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Er(l,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Er(l,"$$c")+"}",null,!0);else if("input"===$&&"radio"===w)r=e,i=_,a=(o=b)&&o.number,s=Or(r,"value")||"null",Cr(r,"checked","_q("+i+","+(s=a?"_n("+s+")":s)+")"),Ar(r,"change",Er(i,s),null,!0);else if("input"===$||"textarea"===$)!function(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,c=!o&&"range"!==r,l=o?"change":"range"===r?Pr:"input",u="$event.target.value";s&&(u="$event.target.value.trim()"),a&&(u="_n("+u+")");var f=Er(t,u);c&&(f="if($event.target.composing)return;"+f),Cr(e,"value","("+t+")"),Ar(e,l,f,null,!0),(s||a)&&Ar(e,"blur","$forceUpdate()")}(e,_,b);else if(!S.isReservedTag($))return Tr(e,_,b),!1;return!0},text:function(e,t){t.value&&Cr(e,"textContent","_s("+t.value+")")},html:function(e,t){t.value&&Cr(e,"innerHTML","_s("+t.value+")")}},isPreTag:function(e){return"pre"===e},isUnaryTag:to,mustUseProp:Sn,canBeLeftOpenTag:no,isReservedTag:Un,getTagNamespace:Vn,staticKeys:(Go=Wo,Go.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(","))},Qo=e(function(e){return s("type,tag,attrsList,attrsMap,plain,parent,children,attrs"+(e?","+e:""))});function ea(e,t){e&&(Zo=Qo(t.staticKeys||""),Xo=t.isReservedTag||O,function e(t){t.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||c(e.tag)||!Xo(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(Zo)))}(t);if(1===t.type){if(!Xo(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var n=0,r=t.children.length;n<r;n++){var i=t.children[n];e(i),i.static||(t.static=!1)}if(t.ifConditions)for(var o=1,a=t.ifConditions.length;o<a;o++){var s=t.ifConditions[o].block;e(s),s.static||(t.static=!1)}}}(e),function e(t,n){if(1===t.type){if((t.static||t.once)&&(t.staticInFor=n),t.static&&t.children.length&&(1!==t.children.length||3!==t.children[0].type))return void(t.staticRoot=!0);if(t.staticRoot=!1,t.children)for(var r=0,i=t.children.length;r<i;r++)e(t.children[r],n||!!t.for);if(t.ifConditions)for(var o=1,a=t.ifConditions.length;o<a;o++)e(t.ifConditions[o].block,n)}}(e,!1))}var ta=/^([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/,na=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,ra={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},ia={esc:"Escape",tab:"Tab",enter:"Enter",space:" ",up:"ArrowUp",left:"ArrowLeft",right:"ArrowRight",down:"ArrowDown",delete:["Backspace","Delete"]},oa=function(e){return"if("+e+")return null;"},aa={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:oa("$event.target !== $event.currentTarget"),ctrl:oa("!$event.ctrlKey"),shift:oa("!$event.shiftKey"),alt:oa("!$event.altKey"),meta:oa("!$event.metaKey"),left:oa("'button' in $event && $event.button !== 0"),middle:oa("'button' in $event && $event.button !== 1"),right:oa("'button' in $event && $event.button !== 2")};function sa(e,t,n){var r=t?"nativeOn:{":"on:{";for(var i in e)r+='"'+i+'":'+ca(i,e[i])+",";return r.slice(0,-1)+"}"}function ca(t,e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return ca(t,e)}).join(",")+"]";var n=na.test(e.value),r=ta.test(e.value);if(e.modifiers){var i="",o="",a=[];for(var s in e.modifiers)if(aa[s])o+=aa[s],ra[s]&&a.push(s);else if("exact"===s){var c=e.modifiers;o+=oa(["ctrl","shift","alt","meta"].filter(function(e){return!c[e]}).map(function(e){return"$event."+e+"Key"}).join("||"))}else a.push(s);return a.length&&(i+="if(!('button' in $event)&&"+a.map(la).join("&&")+")return null;"),o&&(i+=o),"function($event){"+i+(n?"return "+e.value+"($event)":r?"return ("+e.value+")($event)":e.value)+"}"}return n||r?e.value:"function($event){"+e.value+"}"}function la(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=ra[e],r=ia[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var ua={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(t,n){t.wrapData=function(e){return"_b("+e+",'"+t.tag+"',"+n.value+","+(n.modifiers&&n.modifiers.prop?"true":"false")+(n.modifiers&&n.modifiers.sync?",true":"")+")"}},cloak:$},fa=function(e){this.options=e,this.warn=e.warn||$r,this.transforms=wr(e.modules,"transformCode"),this.dataGenFns=wr(e.modules,"genData"),this.directives=m(m({},ua),e.directives);var t=e.isReservedTag||O;this.maybeComponent=function(e){return!t(e.tag)},this.onceId=0,this.staticRenderFns=[]};function pa(e,t){var n=new fa(t);return{render:"with(this){return "+(e?da(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function da(e,t){if(e.staticRoot&&!e.staticProcessed)return va(e,t);if(e.once&&!e.onceProcessed)return ha(e,t);if(e.for&&!e.forProcessed)return f=t,v=(u=e).for,h=u.alias,m=u.iterator1?","+u.iterator1:"",y=u.iterator2?","+u.iterator2:"",u.forProcessed=!0,(d||"_l")+"(("+v+"),function("+h+m+y+"){return "+(p||da)(u,f)+"})";if(e.if&&!e.ifProcessed)return ma(e,t);if("template"!==e.tag||e.slotTarget){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=_a(e,t),i="_t("+n+(r?","+r:""),o=e.attrs&&"{"+e.attrs.map(function(e){return g(e.name)+":"+e.value}).join(",")+"}",a=e.attrsMap["v-bind"];!o&&!a||r||(i+=",null");o&&(i+=","+o);a&&(i+=(o?"":",null")+","+a);return i+")"}(e,t);var n;if(e.component)a=e.component,c=t,l=(s=e).inlineTemplate?null:_a(s,c,!0),n="_c("+a+","+ya(s,c)+(l?","+l:"")+")";else{var r=e.plain?void 0:ya(e,t),i=e.inlineTemplate?null:_a(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var o=0;o<t.transforms.length;o++)n=t.transforms[o](e,n);return n}return _a(e,t)||"void 0";var a,s,c,l,u,f,p,d,v,h,m,y}function va(e,t){return e.staticProcessed=!0,t.staticRenderFns.push("with(this){return "+da(e,t)+"}"),"_m("+(t.staticRenderFns.length-1)+(e.staticInFor?",true":"")+")"}function ha(e,t){if(e.onceProcessed=!0,e.if&&!e.ifProcessed)return ma(e,t);if(e.staticInFor){for(var n="",r=e.parent;r;){if(r.for){n=r.key;break}r=r.parent}return n?"_o("+da(e,t)+","+t.onceId+++","+n+")":da(e,t)}return va(e,t)}function ma(e,t,n,r){return e.ifProcessed=!0,function e(t,n,r,i){if(!t.length)return i||"_e()";var o=t.shift();return o.exp?"("+o.exp+")?"+a(o.block)+":"+e(t,n,r,i):""+a(o.block);function a(e){return r?r(e,n):e.once?ha(e,n):da(e,n)}}(e.ifConditions.slice(),t,n,r)}function ya(e,t){var n,r,i="{",o=function(e,t){var n=e.directives;if(!n)return;var r,i,o,a,s="directives:[",c=!1;for(r=0,i=n.length;r<i;r++){o=n[r],a=!0;var l=t.directives[o.name];l&&(a=!!l(e,o,t.warn)),a&&(c=!0,s+='{name:"'+o.name+'",rawName:"'+o.rawName+'"'+(o.value?",value:("+o.value+"),expression:"+JSON.stringify(o.value):"")+(o.arg?',arg:"'+o.arg+'"':"")+(o.modifiers?",modifiers:"+JSON.stringify(o.modifiers):"")+"},")}if(c)return s.slice(0,-1)+"]"}(e,t);o&&(i+=o+","),e.key&&(i+="key:"+e.key+","),e.ref&&(i+="ref:"+e.ref+","),e.refInFor&&(i+="refInFor:true,"),e.pre&&(i+="pre:true,"),e.component&&(i+='tag:"'+e.tag+'",');for(var a=0;a<t.dataGenFns.length;a++)i+=t.dataGenFns[a](e);if(e.attrs&&(i+="attrs:{"+wa(e.attrs)+"},"),e.props&&(i+="domProps:{"+wa(e.props)+"},"),e.events&&(i+=sa(e.events,!1,t.warn)+","),e.nativeEvents&&(i+=sa(e.nativeEvents,!0,t.warn)+","),e.slotTarget&&!e.slotScope&&(i+="slot:"+e.slotTarget+","),e.scopedSlots&&(i+=(n=e.scopedSlots,r=t,"scopedSlots:_u(["+Object.keys(n).map(function(e){return ga(e,n[e],r)}).join(",")+"]),")),e.model&&(i+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var s=function(e,t){var n=e.children[0];if(1===n.type){var r=pa(n,t.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map(function(e){return"function(){"+e+"}"}).join(",")+"]}"}}(e,t);s&&(i+=s+",")}return i=i.replace(/,$/,"")+"}",e.wrapData&&(i=e.wrapData(i)),e.wrapListeners&&(i=e.wrapListeners(i)),i}function ga(e,t,n){return t.for&&!t.forProcessed?(r=e,o=n,a=(i=t).for,s=i.alias,c=i.iterator1?","+i.iterator1:"",l=i.iterator2?","+i.iterator2:"",i.forProcessed=!0,"_l(("+a+"),function("+s+c+l+"){return "+ga(r,i,o)+"})"):"{key:"+e+",fn:"+("function("+String(t.slotScope)+"){return "+("template"===t.tag?t.if?t.if+"?"+(_a(t,n)||"undefined")+":undefined":_a(t,n)||"undefined":da(t,n))+"}")+"}";var r,i,o,a,s,c,l}function _a(e,t,n,r,i){var o=e.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag)return(r||da)(a,t);var s=n?function(e,t){for(var n=0,r=0;r<e.length;r++){var i=e[r];if(1===i.type){if(ba(i)||i.ifConditions&&i.ifConditions.some(function(e){return ba(e.block)})){n=2;break}(t(i)||i.ifConditions&&i.ifConditions.some(function(e){return t(e.block)}))&&(n=1)}}return n}(o,t.maybeComponent):0,c=i||$a;return"["+o.map(function(e){return c(e,t)}).join(",")+"]"+(s?","+s:"")}}function ba(e){return void 0!==e.for||"template"===e.tag||"slot"===e.tag}function $a(e,t){return 1===e.type?da(e,t):3===e.type&&e.isComment?(r=e,"_e("+JSON.stringify(r.text)+")"):"_v("+(2===(n=e).type?n.expression:Ca(JSON.stringify(n.text)))+")";var n,r}function wa(e){for(var t="",n=0;n<e.length;n++){var r=e[n];t+='"'+r.name+'":'+Ca(r.value)+","}return t.slice(0,-1)}function Ca(e){return e.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)");function xa(t,n){try{return new Function(t)}catch(e){return n.push({err:e,code:t}),$}}var ka,Aa,Oa=(ka=function(e,t){var n=Ho(e.trim(),t);!1!==t.optimize&&ea(n,t);var r=pa(n,t);return{ast:n,render:r.render,staticRenderFns:r.staticRenderFns}},function(s){function e(e,t){var n=Object.create(s),r=[],i=[];if(n.warn=function(e,t){(t?i:r).push(e)},t)for(var o in t.modules&&(n.modules=(s.modules||[]).concat(t.modules)),t.directives&&(n.directives=m(Object.create(s.directives||null),t.directives)),t)"modules"!==o&&"directives"!==o&&(n[o]=t[o]);var a=ka(e,n);return a.errors=r,a.tips=i,a}return{compile:e,compileToFunctions:(c=e,l=Object.create(null),function(e,t,n){(t=m({},t)).warn,delete t.warn;var r=t.delimiters?String(t.delimiters)+e:e;if(l[r])return l[r];var i=c(e,t),o={},a=[];return o.render=xa(i.render,a),o.staticRenderFns=i.staticRenderFns.map(function(e){return xa(e,a)}),l[r]=o})};var c,l})(Yo).compileToFunctions;function Sa(e){return(Aa=Aa||document.createElement("div")).innerHTML=e?'<a href="\n"/>':'<div a="\n"/>',0<Aa.innerHTML.indexOf("&#10;")}var Ta=!!B&&Sa(!1),Ea=!!B&&Sa(!0),ja=e(function(e){var t=Jn(e);return t&&t.innerHTML}),Na=hn.prototype.$mount;return hn.prototype.$mount=function(e,t){if((e=e&&Jn(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=ja(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(e){{if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}}(e));if(r){var i=Oa(r,{shouldDecodeNewlines:Ta,shouldDecodeNewlinesForHref:Ea,delimiters:n.delimiters,comments:n.comments},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return Na.call(this,e,t)},hn.compile=Oa,hn});
    \ No newline at end of file
    diff --git a/fangija-zsyf/logo.png b/fangija-zsyf/logo.png
    new file mode 100644
    index 0000000..e01befb
    Binary files /dev/null and b/fangija-zsyf/logo.png differ
    diff --git a/fangija-zsyf/manifest.json b/fangija-zsyf/manifest.json
    new file mode 100644
    index 0000000..55fa8e2
    --- /dev/null
    +++ b/fangija-zsyf/manifest.json
    @@ -0,0 +1,1497 @@
    +{
    +	"@platforms": [
    +		"android",
    +		"iPhone",
    +		"iPad"
    +	],
    +	"id": "H5693FF3D",/*应用的标识,创建应用时自动生成,勿手动修改*/
    +	"name": "有房",/*应用名称,程序桌面图标名称*/
    +	"version": {
    +		"name": "1.0.5",/*应用版本名称*/
    +		"code": "20104"
    +	},
    +	"description": "有房,围绕房产提供全方位数据分析的房产及金融服务平台,通过个性化的智能推荐,定制专属的个人投资或购房计划,多维度管理自有房产并提供房产融资通道。",/*应用描述信息*/
    +	"icons": {
    +		"144": "icon.png"
    +	},
    +	"launch_path": "yfindex.html",/*应用的入口页面,默认为根目录下的index.html;支持网络地址,必须以http://或https://开头*/
    +	"developer": {
    +		"name": "",/*开发者名称*/
    +		"email": "",/*开发者邮箱地址*/
    +		"url": "http://www.dcloud.io"
    +	},
    +	"orientation": [
    +		"portrait"
    +	],
    +	"permissions": {
    +		"Accelerometer": {
    +			"description": "加速度传感器"
    +		},
    +		"Audio": {
    +			"description": "音频录制与播放"
    +		},
    +		"Cache": {
    +			"description": "缓存管理"
    +		},
    +		"Camera": {
    +			"description": "摄像头"
    +		},
    +		"Console": {
    +			"description": "调试输出日志"
    +		},
    +		"Contacts": {
    +			"description": "系统通讯录"
    +		},
    +		"Device": {
    +			"description": "设备信息"
    +		},
    +		"Downloader": {
    +			"description": "文件下载"
    +		},
    +		"Events": {
    +			"description": "扩展事件"
    +		},
    +		"File": {
    +			"description": "本地文件系统"
    +		},
    +		"Gallery": {
    +			"description": "系统相册"
    +		},
    +		"Geolocation": {
    +			"description": "位置信息"
    +		},
    +		"Invocation": {
    +			"description": "Native.js能力"
    +		},
    +		"Messaging": {
    +			"description": "消息通讯"
    +		},
    +		"Orientation": {
    +			"description": "方向传感器"
    +		},
    +		"Proximity": {
    +			"description": "距离传感器"
    +		},
    +		"Storage": {
    +			"description": "本地数据存储"
    +		},
    +		"Webview": {
    +			"description": "窗口管理"
    +		},
    +		"NativeObj": {
    +			"description": "原生控件"
    +		},
    +		"NativeUI": {
    +			"description": "原生UI控件"
    +		},
    +		"Navigator": {
    +			"description": "浏览器信息"
    +		},
    +		"Uploader": {
    +			"description": "文件上传"
    +		},
    +		"Runtime": {
    +			"description": "运行环境"
    +		},
    +		"XMLHttpRequest": {
    +			"description": "跨域网络请求"
    +		},
    +		"Zip": {
    +			"description": "压缩与解压"
    +		},
    +		"Barcode": {
    +			"description": "二维码扫描"
    +		},
    +		"Maps": {
    +			"description": "地图"
    +		},
    +		"OAuth": {
    +			"description": "登录授权"
    +		},
    +
    +		"Push": {
    +			"description": "消息推送"
    +		}
    +	},
    +	"plus": {
    +		"error": {
    +			"url": "error.html"
    +		},
    +		"splashscreen": {
    +			"autoclose": true,/*是否自动关闭程序启动界面,true表示应用加载应用入口页面后自动关闭;false则需调plus.navigator.closeSplashscreen()关闭*/
    +			"waiting": true,
    +			"delay": "0"
    +		},
    +		"statusbar": {
    +			"immersed": false,
    +			"background": "none"
    +		},
    +		"popGesture": "close",/*设置应用默认侧滑返回关闭Webview窗口,"none"为无侧滑返回功能,"hide"为侧滑隐藏Webview窗口。参考http://ask.dcloud.net.cn/article/102*/
    +		"runmode": "liberate",/*应用的首次启动运行模式,可取liberate或normal,liberate模式在第一次启动时将解压应用资源(Android平台File API才可正常访问_www目录)*/
    +		"signature": "Sk9JTiBVUyBtYWlsdG86aHIyMDEzQGRjbG91ZC5pbw==",/*可选,保留给应用签名,暂不使用*/
    +		"distribute": {
    +			"apple": {
    +				"appid": "",/*iOS应用标识,苹果开发网站申请的appid,如io.dcloud.HelloH5*/
    +				"mobileprovision": "",/*iOS应用打包配置文件*/
    +				"password": "",/*iOS应用打包个人证书导入密码*/
    +				"p12": "",/*iOS应用打包个人证书,打包配置文件关联的个人证书*/
    +				"devices": "iphone",/*iOS应用支持的设备类型,可取值iphone/ipad/universal*/
    +				"urlschemewhitelist": [/*iOS9调用第三方应用urlscheme白名单*/
    +					"baidumap",
    +					"iosamap"
    +				],
    +				"shortcuts": [/*3D Touch快捷菜单项*/
    +					{
    +						"type": "share",
    +						"title": "分 享",
    +						"subtitle": "分享到微信、微博、QQ",
    +						"icontype": "UIApplicationShortcutIconTypeShare"
    +					}, {
    +						"type": "about",
    +						"title": "关 于",
    +						"subtitle": "www.dcloud.io",
    +						"iconfile": "sa.png",
    +						"userinfo": {
    +							"key3": "value3"
    +						}
    +					}
    +				],
    +				"frameworks": [],  /*调用Native.js调用原生Objective-c API需要引用的FrameWork,如需调用GameCenter,则添加"GameKit.framework"*/
    +				"plistcmds": [
    +					"Set :NSLocationWhenInUseUsageDescription 根据您的位置信息,您可随时掌握所在位置周边房产的行情。",
    +					"Set :NSLocationAlwaysUsageDescription  根据您的位置信息,您可随时掌握所在位置周边房产的行情。"
    +				]
    +			},
    +			"google": {
    +				"packagename": "",/*Android应用包名,如io.dcloud.HelloH5*/
    +				"keystore": "",/*Android应用打包使用的密钥库文件*/
    +				"password": "",/*Android应用打包使用密钥库中证书的密码*/
    +				"aliasname": "",/*Android应用打包使用密钥库中证书的别名*/
    +				"ImmersedStatusbar": true,/*Android平台开启沉浸式状态栏样式*/
    +				"permissions": [
    +					"<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>",
    +					"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
    +					"<uses-permission android:name=\"android.permission.GET_TASKS\"/>",
    +					"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
    +					"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
    +					"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
    +					"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
    +					"<uses-permission android:name=\"android.permission.SYSTEM_ALERT_WINDOW\"/>",
    +					"<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>",
    +					"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
    +					"<uses-permission android:name=\"android.permission.RECEIVE_BOOT_COMPLETED\"/>",
    +					"<uses-permission android:name=\"com.android.launcher.permission.UNINSTALL_SHORTCUT\"/>",
    +					"<uses-permission android:name=\"android.permission.CAMERA\"/>",
    +					"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
    +					"<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
    +					"<uses-permission android:name=\"com.android.launcher.permission.INSTALL_SHORTCUT\"/>",
    +					"<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
    +					"<uses-permission android:name=\"android.permission.SEND_SMS\"/>",
    +					"<uses-permission android:name=\"android.permission.INTERNET\"/>",
    +					"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
    +					"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
    +					"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
    +					"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
    +					"<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
    +					"<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
    +					"<uses-feature android:name=\"android.hardware.camera\"/>",
    +					"<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
    +					"<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>",
    +					"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>",
    +					"<uses-permission android:name=\"android.permission.WRITE_SMS\"/>",
    +					"<uses-permission android:name=\"android.permission.READ_SMS\"/>"
    +				]
    +			},
    +			"orientation": [
    +				"portrait-primary"
    +			],/*应用支持的方向,portrait-primary:竖屏正方向;portrait-secondary:竖屏反方向;landscape-primary:横屏正方向;landscape-secondary:横屏反方向*/
    +			"icons": {
    +				"ios": {
    +					"prerendered": true, /*应用图标是否已经高亮处理,在iOS6及以下设备上有效*/
    +					/*应用图标,分辨率:512x512,用于自动生成各种尺寸程序图标*/
    +					"iphone": {
    +						"normal": "", /*iPhone3/3GS程序图标,分辨率:57x57*/
    +						"retina": "", /*iPhone4程序图标,分辨率:114x114*/
    +						/*iPhone4S/5/6程序图标,分辨率:120x120*/
    +						/*iPhone6 Plus程序图标,分辨率:180x180*/
    +						"spotlight-normal": "", /*iPhone3/3GS Spotlight搜索程序图标,分辨率:29x29*/
    +						"spotlight-retina": "", /*iPhone4 Spotlight搜索程序图标,分辨率:58x58*/
    +						/*iPhone4S/5/6 Spotlight搜索程序图标,分辨率:80x80*/
    +						"settings-normal": "", /*iPhone4设置页面程序图标,分辨率:29x29*/
    +						/*iPhone4S/5/6设置页面程序图标,分辨率:58x58*/
    +						"app@3x": "unpackage/res/icons/180x180.png",
    +						"app@2x": "unpackage/res/icons/120x120.png",
    +						"settings@2x": "unpackage/res/icons/58x58.png",
    +						"settings@3x": "unpackage/res/icons/87x87.png",
    +						"spotlight@2x": "unpackage/res/icons/80x80.png",
    +						"spotlight@3x": "unpackage/res/icons/120x120.png",
    +						"notification@2x": "unpackage/res/icons/40x40.png",
    +						"notification@3x": "unpackage/res/icons/60x60.png"
    +					},
    +					"ipad": {
    +						"normal": "", /*iPad普通屏幕程序图标,分辨率:72x72*/
    +						"retina": "", /*iPad高分屏程序图标,分辨率:144x144*/
    +						/*iPad iOS7程序图标,分辨率:76x76*/
    +						/*iPad iOS7高分屏程序图标,分辨率:152x152*/
    +						"spotlight-normal": "", /*iPad Spotlight搜索程序图标,分辨率:50x50*/
    +						"spotlight-retina": "", /*iPad高分屏Spotlight搜索程序图标,分辨率:100x100*/
    +						/*iPad iOS7 Spotlight搜索程序图标,分辨率:40x40*/
    +						/*iPad iOS7高分屏Spotlight搜索程序图标,分辨率:80x80*/
    +						/*iPad设置页面程序图标,分辨率:29x29*/
    +						"app": "unpackage/res/icons/76x76.png",
    +						"app@2x": "unpackage/res/icons/152x152.png",
    +						"settings": "unpackage/res/icons/29x29.png",
    +						"spotlight": "unpackage/res/icons/40x40.png",
    +						"proapp@2x": "unpackage/res/icons/167x167.png",
    +						"settings@2x": "unpackage/res/icons/58x58.png",
    +						"spotlight@2x": "unpackage/res/icons/80x80.png",
    +						"notification": "unpackage/res/icons/20x20.png",
    +						"notification@2x": "unpackage/res/icons/40x40.png"
    +					},
    +					"appstore": "unpackage/res/icons/1024x1024.png"
    +				},
    +				"android": {
    +					"mdpi": "unpackage/res/icons/48x48.png", /*普通屏程序图标,分辨率:48x48*/
    +					"ldpi": "unpackage/res/icons/48x48.png", /*大屏程序图标,分辨率:48x48*/
    +					"hdpi": "unpackage/res/icons/72x72.png", /*高分屏程序图标,分辨率:72x72*/
    +					"xhdpi": "unpackage/res/icons/96x96.png",/*720P高分屏程序图标,分辨率:96x96*/
    +					"xxhdpi": "unpackage/res/icons/144x144.png",
    +					"xxxhdpi": "unpackage/res/icons/192x192.png"
    +				}
    +			},
    +			"splashscreen": {
    +				"ios": {
    +					"iphone": {
    +						"default": "",
    +						"retina35": "E:/房价网/201712/最新启动页面/有房-启动画面/iPhone/640x960.png",
    +						"retina40": "E:/房价网/201712/最新启动页面/有房-启动画面/iPhone/640x1136.png",
    +						"retina47": "E:/房价网/201712/最新启动页面/有房-启动画面/iPhone/750x1334.png",
    +						"retina55": "E:/房价网/201712/最新启动页面/有房-启动画面/iPhone/1242x2208.png",
    +						"retina55l": "E:/房价网/201712/最新启动页面/有房-启动画面/iPhone/2208x1242.png",
    +						"iphonex": "E:/房价网/201712/最新启动页面/有房-启动画面/iPhone/1125x2436.png",
    +						"iphonexl": "E:/房价网/201712/最新启动页面/有房-启动画面/iPhone/2436x1125.png"
    +					},
    +					"ipad": {
    +						"portrait": "E:/房价网/201712/最新启动页面/有房-启动画面/iPad/768x1004.png",
    +						"portrait7": "E:/房价网/201712/最新启动页面/有房-启动画面/iPad/768x1024.png",
    +						"landscape": "E:/房价网/201712/最新启动页面/有房-启动画面/iPad/1024x748.png",
    +						"landscape7": "E:/房价网/201712/最新启动页面/有房-启动画面/iPad/1024x768.png",
    +						"portrait-retina": "E:/房价网/201712/最新启动页面/有房-启动画面/iPad/1536x2008.png",
    +						"portrait-retina7": "E:/房价网/201712/最新启动页面/有房-启动画面/iPad/1536x2048.png",
    +						"landscape-retina": "E:/房价网/201712/最新启动页面/有房-启动画面/iPad/2048x1496.png",
    +						"landscape-retina7": "E:/房价网/201712/最新启动页面/有房-启动画面/iPad/2048x1536.png"
    +					}
    +				},
    +				"android": {
    +					"mdpi": "", /*普通屏启动图片,分辨率:240x282*/
    +					"ldpi": "",
    +					"hdpi": "E:/房价网/201712/最新启动页面/有房-启动画面/Android/480x762.png",
    +					"xhdpi": "E:/房价网/201712/最新启动页面/有房-启动画面/Android/720x1242.png",
    +					"xxhdpi": "E:/房价网/201712/最新启动页面/有房-启动画面/Android/1080x1882.png"
    +				}
    +			},
    +			"plugins": {
    +				"statics": {},
    +				"maps": {
    +					"baidu": {/*配置应用使用百度地图,参考http://ask.dcloud.net.cn/article/29*/
    +						"appkey_ios": "cmXf4GGYGYiu1fuVRN4847cGvgR25WTV",/*iOS平台百度地图appkey*/
    +						"appkey_android": "sx3Py6HUvfzHNCAiBTlgoZq72sCiaMkj",/*Android平台百度地图appkey*/
    +						"description": "百度地图"
    +					}
    +				},
    +				"push": {
    +					"igexin": {/*配置应用使用个推推送,参考http://ask.dcloud.net.cn/article/92*/
    +						"appid": "s13zIZ8bhg8pXs6tXqeXE6",/*个推推送平台应用appid*/
    +						"appkey": "pTwS3cXAMA8wNjJk9DkXZ3",/*个推推送平台应用appkey*/
    +						"appsecret": "uWx1DWsULDAPJl0EN76eL2",/*个推推送平台应用appsecret*/
    +						"description": "个推推送"
    +					}
    +				},
    +				"share": {},
    +				"payment": {},
    +				"oauth": {
    +					"weixin": {
    +						"appid": "wx734a9e3085abcd90",/*微信开放平台申请应用的AppID值*/
    +						"appsecret": "47ce59f3c52984c4e193880fb09b12af",/*微信开放平台申请应用的AppSecret值*/
    +						"description": "微信登录"
    +					}
    +				}
    +			},
    +			"debug": true
    +		},
    +		"ads": {
    +			"rp": false,
    +			"splash": false,
    +			"push": false,
    +			"spot": false
    +		},
    +		"adid": ""
    +	},
    +	"dependencies": {
    +		"pages": {
    +			"plus/doc.html": {
    +				"href": "plus/doc.html",
    +				"priority": 29,
    +				"resources": [
    +					"js/immersed.js"
    +				],
    +				"refer": [
    +					"doc/camera.html"
    +				]
    +			},
    +			"plus/payment.html": {
    +				"href": "plus/payment.html",
    +				"resources": [
    +					"css/common.css",
    +					"js/common.js",
    +					"js/immersed.js"
    +				],
    +				"refer": [
    +					"plus/doc.html",
    +					"doc/payment.html"
    +				],
    +				"priority": 0
    +			},
    +			"plus/runtime.html": {
    +				"href": "plus/runtime.html",
    +				"resources": [
    +					"css/common.css",
    +					"js/common.js",
    +					"js/immersed.js"
    +				],
    +				"refer": [
    +					"plus/doc.html",
    +					"doc/runtime.html",
    +					"plus/runtime_launch.html"
    +				],
    +				"priority": 1
    +			},
    +			"plus/barcode.html": {
    +				"href": "plus/barcode.html",
    +				"resources": [
    +					"img/barcode.png",
    +					"css/common.css",
    +					"js/common.js",
    +					"js/immersed.js"
    +				],
    +				"refer": [
    +					"plus/doc.html",
    +					"doc/barcode.html",
    +					"plus/barcode_scan.html",
    +					"plus/barcode_scan2.html"
    +				],
    +				"priority": 2
    +			},
    +			"plus/xhr.html": {
    +				"href": "plus/xhr.html",
    +				"resources": [
    +					"css/common.css",
    +					"js/common.js",
    +					"js/immersed.js"
    +				],
    +				"refer": [
    +					"plus/doc.html",
    +					"doc/xhr.html"
    +				],
    +				"priority": 3
    +			},
    +			"plus/oauth.html": {
    +				"href": "plus/oauth.html",
    +				"resources": [
    +					"css/common.css",
    +					"js/common.js",
    +					"js/immersed.js"
    +				],
    +				"refer": [
    +					"plus/doc.html",
    +					"doc/oauth.html"
    +				],
    +				"priority": 4
    +			},
    +			"plus/share.html": {
    +				"href": "plus/share.html",
    +				"resources": [
    +					"css/common.css",
    +					"img/add.png",
    +					"logo.png",
    +					"js/common.js",
    +					"js/immersed.js"
    +				],
    +				"refer": [
    +					"plus/doc.html",
    +					"doc/share.html"
    +				],
    +				"priority": 5
    +			},
    +			"plus/njs_android_shortcut.html": {
    +				"href": "plus/njs_android_shortcut.html",
    +				"resources": [
    +					"css/common.css",
    +					"icon.png",
    +					"js/common.js",
    +					"js/immersed.js"
    +				],
    +				"refer": [
    +					"plus/doc.html"
    +				],
    +				"priority": 6
    +			},
    +			"plus/njs_ios_gamecenter.html": {
    +				"href": "plus/njs_ios_gamecenter.html",
    +				"resources": [
    +					"js/common.js",
    +					"js/immersed.js",
    +					"img/5.jpg"
    +				],
    +				"refer": [
    +					"plus/doc.html"
    +				],
    +				"priority": 7
    +			},
    +			"plus/njs.html": {
    +				"href": "plus/njs.html",
    +				"resources": [
    +					"css/common.css",
    +					"js/common.js",
    +					"js/immersed.js"
    +				],
    +				"refer": [
    +					"plus/njs_android_shortcut.html",
    +					"plus/njs_ios_gamecenter.html",
    +					"plus/doc.html",
    +					"doc/native.js.html",
    +					"plus/njs_efficient.html"
    +				],
    +				"priority": 6
    +			},
    +			"plus/downloader.html": {
    +				"href": "plus/downloader.html",
    +				"resources": [
    +					"css/common.css",
    +					"js/common.js",
    +					"js/immersed.js"
    +				],
    +				"refer": [
    +					"plus/doc.html",
    +					"doc/downloader.html"
    +				],
    +				"priority": 7
    +			},
    +			"plus/nativeui_waiting.html": {
    +				"href": "plus/nativeui_waiting.html",
    +				"resources": [
    +					"img/waiting.png",
    +					"css/common.css",
    +					"js/common.js",
    +					"js/immersed.js"
    +				],
    +				"refer": [
    +					"plus/doc.html"
    +				],
    +				"priority": 8
    +			},
    +			"plus/nativeui.html": {
    +				"href": "plus/nativeui.html",
    +				"resources": [
    +					"css/common.css",
    +					"js/common.js",
    +					"js/immersed.js"
    +				],
    +				"refer": [
    +					"plus/nativeui_waiting.html",
    +					"plus/doc.html",
    +					"doc/nativeUI.html"
    +				],
    +				"priority": 8
    +			},
    +			"plus/file.html": {
    +				"href": "plus/file.html",
    +				"resources": [
    +					"css/common.css",
    +					"img/fdir.png",
    +					"img/ffile.png",
    +					"img/fdisk.png",
    +					"img/fup.png",
    +					"js/common.js",
    +					"js/immersed.js"
    +				],
    +				"refer": [
    +					"plus/doc.html",
    +					"doc/io.html"
    +				],
    +				"priority": 9
    +			},
    +			"index.html": {
    +				"href": "index.html",
    +				"resources": [
    +					"js/immersed.js",
    +					"css/common.css",
    +					"js/shortcut.js",
    +					"js/common.js",
    +					"icon.png"
    +				],
    +				"refer": [
    +					"plus/payment.html",
    +					"plus/runtime.html",
    +					"plus/barcode.html",
    +					"plus/xhr.html",
    +					"plus/oauth.html",
    +					"plus/share.html",
    +					"plus/njs.html",
    +					"plus/downloader.html",
    +					"plus/nativeui.html",
    +					"plus/file.html",
    +					"plus/zip.html",
    +					"plus/push.html",
    +					"plus/statistic.html",
    +					"plus/audio.html",
    +					"plus/uploader.html",
    +					"plus/storage.html",
    +					"plus/accelerometer.html",
    +					"plus/navigator.html",
    +					"plus/message.html",
    +					"plus/speech.html",
    +					"plus/proximity.html",
    +					"plus/maps.html",
    +					"plus/camera.html",
    +					"plus/device.html",
    +					"plus/orientation.html",
    +					"plus/gallery.html",
    +					"plus/webview.html",
    +					"plus/geolocation.html",
    +					"about.html",
    +					"plus/events.html",
    +					"plus/nativeobj.html"
    +				],
    +				"priority": 0
    +			},
    +			"plus/zip.html": {
    +				"href": "plus/zip.html",
    +				"resources": [
    +					"css/common.css",
    +					"img/shake/1.jpg",
    +					"js/common.js",
    +					"js/immersed.js"
    +				],
    +				"refer": [
    +					"plus/doc.html",
    +					"index.html",
    +					"doc/zip.html"
    +				],
    +				"priority": 10
    +			},
    +			"plus/push.html": {
    +				"href": "plus/push.html",
    +				"resources": [
    +					"css/common.css",
    +					"js/common.js",
    +					"js/immersed.js"
    +				],
    +				"refer": [
    +					"plus/doc.html",
    +					"doc/push.html"
    +				],
    +				"priority": 11
    +			},
    +			"plus/statistic.html": {
    +				"href": "plus/statistic.html",
    +				"resources": [
    +					"css/common.css",
    +					"js/common.js",
    +					"js/immersed.js"
    +				],
    +				"refer": [
    +					"plus/doc.html"
    +				],
    +				"priority": 12
    +			},
    +			"plus/audio.html": {
    +				"href": "plus/audio.html",
    +				"resources": [
    +					"css/common.css",
    +					"js/common.js",
    +					"js/immersed.js",
    +					"img/arecord.png",
    +					"img/astop.png",
    +					"audio/friendship.mp3"
    +				],
    +				"refer": [
    +					"plus/doc.html",
    +					"doc/audio.html"
    +				],
    +				"priority": 13
    +			},
    +			"plus/uploader_ret.html": {
    +				"href": "plus/uploader_ret.html",
    +				"resources": [
    +					"css/common.css",
    +					"js/common.js",
    +					"js/immersed.js"
    +				],
    +				"refer": [
    +					"plus/doc.html"
    +				],
    +				"priority": 14
    +			},
    +			"plus/uploader.html": {
    +				"href": "plus/uploader.html",
    +				"resources": [
    +					"css/common.css",
    +					"js/common.js",
    +					"js/immersed.js"
    +				],
    +				"refer": [
    +					"plus/uploader_ret.html",
    +					"plus/doc.html",
    +					"doc/uploader.html"
    +				],
    +				"priority": 14
    +			},
    +			"plus/storage.html": {
    +				"href": "plus/storage.html",
    +				"resources": [
    +					"css/common.css",
    +					"js/common.js",
    +					"js/immersed.js"
    +				],
    +				"refer": [
    +					"plus/doc.html",
    +					"doc/storage.html"
    +				],
    +				"priority": 15
    +			},
    +			"plus/accelerometer.html": {
    +				"href": "plus/accelerometer.html",
    +				"resources": [
    +					"css/common.css",
    +					"js/common.js",
    +					"js/immersed.js"
    +				],
    +				"refer": [
    +					"plus/doc.html",
    +					"doc/accelerometer.html",
    +					"plus/accelerometer_shake.html"
    +				],
    +				"priority": 16
    +			},
    +			"plus/navigator_status.html": {
    +				"href": "plus/navigator_status.html",
    +				"resources": [
    +					"css/common.css",
    +					"js/common.js",
    +					"js/immersed.js"
    +				],
    +				"refer": [
    +					"plus/doc.html"
    +				],
    +				"priority": 18
    +			},
    +			"plus/navigator.html": {
    +				"href": "plus/navigator.html",
    +				"resources": [
    +					"css/common.css",
    +					"js/common.js",
    +					"js/immersed.js"
    +				],
    +				"refer": [
    +					"plus/doc.html",
    +					"plus/navigator_status.html",
    +					"doc/navigator.html"
    +				],
    +				"priority": 17
    +			},
    +			"plus/message.html": {
    +				"href": "plus/message.html",
    +				"resources": [
    +					"css/common.css",
    +					"img/helloh5.jpg",
    +					"js/common.js",
    +					"js/immersed.js"
    +				],
    +				"refer": [
    +					"plus/doc.html",
    +					"doc/messaging.html"
    +				],
    +				"priority": 18
    +			},
    +			"plus/speech.html": {
    +				"href": "plus/speech.html",
    +				"resources": [
    +					"css/common.css",
    +					"js/common.js",
    +					"js/immersed.js"
    +				],
    +				"refer": [
    +					"plus/doc.html",
    +					"doc/speech.html"
    +				],
    +				"priority": 19
    +			},
    +			"plus/proximity.html": {
    +				"href": "plus/proximity.html",
    +				"resources": [
    +					"css/common.css",
    +					"js/common.js",
    +					"js/immersed.js"
    +				],
    +				"refer": [
    +					"plus/doc.html",
    +					"doc/proximity.html"
    +				],
    +				"priority": 20
    +			},
    +			"plus/maps_map_sub.html": {
    +				"href": "plus/maps_map_sub.html",
    +				"resources": [
    +					"css/common.css"
    +				],
    +				"priority": 22,
    +				"refer": []
    +			},
    +			"plus/maps_map.html": {
    +				"href": "plus/maps_map.html",
    +				"resources": [
    +					"css/common.css",
    +					"js/common.js",
    +					"js/immersed.js",
    +					"logo.png",
    +					"plus/maps_map_sub.html"
    +				],
    +				"refer": [
    +					"plus/doc.html",
    +					"plus/maps_map_sub.html"
    +				],
    +				"priority": 21
    +			},
    +			"plus/maps.html": {
    +				"href": "plus/maps.html",
    +				"resources": [
    +					"css/common.css",
    +					"js/common.js",
    +					"js/immersed.js"
    +				],
    +				"refer": [
    +					"plus/maps_map.html",
    +					"plus/doc.html",
    +					"doc/maps.html"
    +				],
    +				"priority": 21
    +			},
    +			"plus/camera_image.html": {
    +				"href": "plus/camera_image.html",
    +				"resources": [
    +					"js/common.js",
    +					"css/common.css"
    +				],
    +				"refer": [
    +					"plus/doc.html"
    +				],
    +				"priority": 22
    +			},
    +			"plus/camera_video.html": {
    +				"href": "plus/camera_video.html",
    +				"resources": [
    +					"css/common.css",
    +					"js/common.js"
    +				],
    +				"refer": [
    +					"plus/doc.html"
    +				],
    +				"priority": 23
    +			},
    +			"plus/camera.html": {
    +				"href": "plus/camera.html",
    +				"resources": [
    +					"css/common.css",
    +					"js/common.js",
    +					"js/immersed.js"
    +				],
    +				"refer": [
    +					"plus/camera_image.html",
    +					"plus/camera_video.html",
    +					"plus/doc.html",
    +					"doc/camera.html"
    +				],
    +				"priority": 22
    +			},
    +			"plus/device.html": {
    +				"href": "plus/device.html",
    +				"resources": [
    +					"css/common.css",
    +					"js/common.js",
    +					"js/immersed.js"
    +				],
    +				"refer": [
    +					"plus/doc.html",
    +					"doc/device.html"
    +				],
    +				"priority": 23
    +			},
    +			"plus/orientation.html": {
    +				"href": "plus/orientation.html",
    +				"resources": [
    +					"css/common.css",
    +					"js/common.js",
    +					"js/immersed.js"
    +				],
    +				"refer": [
    +					"plus/doc.html",
    +					"doc/orientation.html",
    +					"plus/orientation_level.html",
    +					"plus/orientation_compass.html"
    +				],
    +				"priority": 24
    +			},
    +			"plus/gallery.html": {
    +				"href": "plus/gallery.html",
    +				"resources": [
    +					"css/common.css",
    +					"js/common.js",
    +					"js/immersed.js"
    +				],
    +				"refer": [
    +					"plus/doc.html",
    +					"doc/gallery.html"
    +				],
    +				"priority": 25
    +			},
    +			"plus/webview_pullrefresh_custom.html": {
    +				"href": "plus/webview_pullrefresh_custom.html",
    +				"resources": [
    +					"css/common.css"
    +				],
    +				"priority": 26,
    +				"refer": []
    +			},
    +			"plus/webview_pullhead_custom.html": {
    +				"href": "plus/webview_pullhead_custom.html",
    +				"resources": [
    +					"css/common.css",
    +					"img/pull_arrow.png",
    +					"js/common.js",
    +					"img/pull_fresh.png",
    +					"js/immersed.js"
    +				],
    +				"refer": [
    +					"plus/webview_pullrefresh_custom.html",
    +					"plus/doc.html"
    +				],
    +				"priority": 26
    +			},
    +			"plus/webview_float.html": {
    +				"href": "plus/webview_float.html",
    +				"resources": [
    +					"js/common.js",
    +					"css/common.css",
    +					"img/ui.png"
    +				],
    +				"refer": [
    +					"plus/doc.html"
    +				],
    +				"priority": 27
    +			},
    +			"plus/webview.html": {
    +				"href": "plus/webview.html",
    +				"resources": [
    +					"css/common.css",
    +					"js/common.js",
    +					"js/immersed.js"
    +				],
    +				"refer": [
    +					"plus/webview_pullhead_custom.html",
    +					"plus/webview_float.html",
    +					"plus/doc.html",
    +					"doc/webview.html",
    +					"plus/webview_animation.html",
    +					"plus/webview_embed.html",
    +					"plus/webview_mask.html",
    +					"plus/webview_pulltorefresh.html"
    +				],
    +				"priority": 26
    +			},
    +			"plus/geolocation.html": {
    +				"href": "plus/geolocation.html",
    +				"resources": [
    +					"css/common.css",
    +					"js/common.js",
    +					"js/immersed.js"
    +				],
    +				"refer": [
    +					"plus/doc.html",
    +					"doc/geolocation.html"
    +				],
    +				"priority": 27
    +			},
    +			"about.html": {
    +				"href": "about.html",
    +				"resources": [
    +					"js/common.js",
    +					"css/common.css",
    +					"img/h5p.jpg",
    +					"js/immersed.js",
    +					"icon.png",
    +					"img/qr.png"
    +				],
    +				"refer": [
    +					"plus/doc.html"
    +				],
    +				"priority": 28
    +			},
    +			"plus/events.html": {
    +				"href": "plus/events.html",
    +				"resources": [
    +					"css/common.css",
    +					"js/common.js",
    +					"js/immersed.js"
    +				],
    +				"refer": [
    +					"plus/doc.html",
    +					"doc/events.html"
    +				],
    +				"priority": 29
    +			},
    +			"doc/share.html": {
    +				"href": "doc/share.html",
    +				"resources": [
    +					"doc/res/doc.css",
    +					"doc/res/prettify.sons.css",
    +					"doc/res/doc.js",
    +					"doc/res/prettify.js"
    +				],
    +				"priority": 1,
    +				"refer": []
    +			},
    +			"doc/webview.html": {
    +				"href": "doc/webview.html",
    +				"resources": [
    +					"doc/res/doc.css",
    +					"doc/res/prettify.sons.css",
    +					"doc/res/doc.js",
    +					"doc/res/prettify.js"
    +				],
    +				"priority": 5,
    +				"refer": []
    +			},
    +			"plus/webview_new.html": {
    +				"href": "plus/webview_new.html",
    +				"resources": [
    +					"js/immersed.js",
    +					"js/common.js",
    +					"css/common.css",
    +					"img/ui.png"
    +				],
    +				"refer": [
    +					"plus/doc.html"
    +				],
    +				"priority": 7
    +			},
    +			"plus/webview_animation.html": {
    +				"href": "plus/webview_animation.html",
    +				"resources": [
    +					"js/immersed.js",
    +					"js/common.js",
    +					"css/common.css"
    +				],
    +				"refer": [
    +					"plus/doc.html",
    +					"plus/webview_new.html"
    +				],
    +				"priority": 6
    +			},
    +			"plus/webview_embed.html": {
    +				"href": "plus/webview_embed.html",
    +				"resources": [
    +					"js/immersed.js",
    +					"js/common.js",
    +					"css/common.css"
    +				],
    +				"refer": [
    +					"plus/doc.html"
    +				],
    +				"priority": 7
    +			},
    +			"plus/webview_mask_side.html": {
    +				"href": "plus/webview_mask_side.html",
    +				"resources": [
    +					"js/common.js",
    +					"css/common.css"
    +				],
    +				"refer": [
    +					"plus/doc.html"
    +				],
    +				"priority": 9
    +			},
    +			"plus/webview_mask.html": {
    +				"href": "plus/webview_mask.html",
    +				"resources": [
    +					"js/immersed.js",
    +					"js/common.js",
    +					"css/common.css"
    +				],
    +				"refer": [
    +					"plus/doc.html",
    +					"plus/webview_mask_side.html"
    +				],
    +				"priority": 8
    +			},
    +			"doc/accelerometer.html": {
    +				"href": "doc/accelerometer.html",
    +				"resources": [
    +					"doc/res/doc.css",
    +					"doc/res/prettify.sons.css",
    +					"doc/res/doc.js",
    +					"doc/res/prettify.js"
    +				],
    +				"priority": 4,
    +				"refer": []
    +			},
    +			"plus/accelerometer_shake.html": {
    +				"href": "plus/accelerometer_shake.html",
    +				"resources": [
    +					"js/immersed.js",
    +					"js/common.js",
    +					"audio/shake.wav",
    +					"css/common.css",
    +					"img/shakeup.png",
    +					"img/shakedown.png",
    +					"img/shake/1.jpg",
    +					"img/shake/2.jpg",
    +					"img/shake/3.jpg",
    +					"img/shake/4.jpg"
    +				],
    +				"refer": [
    +					"plus/doc.html"
    +				],
    +				"priority": 5
    +			},
    +			"doc/audio.html": {
    +				"href": "doc/audio.html",
    +				"resources": [
    +					"doc/res/doc.css",
    +					"doc/res/prettify.sons.css",
    +					"doc/res/doc.js",
    +					"doc/res/prettify.js"
    +				],
    +				"priority": 5,
    +				"refer": []
    +			},
    +			"doc/barcode.html": {
    +				"href": "doc/barcode.html",
    +				"resources": [
    +					"doc/res/doc.css",
    +					"doc/res/prettify.sons.css",
    +					"doc/res/doc.js",
    +					"doc/res/prettify.js"
    +				],
    +				"priority": 6,
    +				"refer": []
    +			},
    +			"plus/barcode_scan.html": {
    +				"href": "plus/barcode_scan.html",
    +				"resources": [
    +					"js/common.js",
    +					"css/common.css"
    +				],
    +				"refer": [
    +					"plus/doc.html"
    +				],
    +				"priority": 7
    +			},
    +			"doc/camera.html": {
    +				"href": "doc/camera.html",
    +				"resources": [
    +					"doc/res/doc.css",
    +					"doc/res/prettify.sons.css",
    +					"doc/res/doc.js",
    +					"doc/res/prettify.js"
    +				],
    +				"priority": 9,
    +				"refer": []
    +			},
    +			"doc/device.html": {
    +				"href": "doc/device.html",
    +				"resources": [
    +					"doc/res/doc.css",
    +					"doc/res/prettify.sons.css",
    +					"doc/res/doc.js",
    +					"doc/res/prettify.js"
    +				],
    +				"priority": 8,
    +				"refer": []
    +			},
    +			"doc/downloader.html": {
    +				"href": "doc/downloader.html",
    +				"resources": [
    +					"doc/res/doc.css",
    +					"doc/res/prettify.sons.css",
    +					"doc/res/doc.js",
    +					"doc/res/prettify.js"
    +				],
    +				"priority": 9,
    +				"refer": []
    +			},
    +			"doc/events.html": {
    +				"href": "doc/events.html",
    +				"resources": [
    +					"doc/res/doc.css",
    +					"doc/res/prettify.sons.css",
    +					"doc/res/doc.js",
    +					"doc/res/prettify.js"
    +				],
    +				"priority": 10,
    +				"refer": []
    +			},
    +			"doc/io.html": {
    +				"href": "doc/io.html",
    +				"resources": [
    +					"doc/res/doc.css",
    +					"doc/res/prettify.sons.css",
    +					"doc/res/doc.js",
    +					"doc/res/prettify.js"
    +				],
    +				"priority": 11,
    +				"refer": []
    +			},
    +			"doc/gallery.html": {
    +				"href": "doc/gallery.html",
    +				"resources": [
    +					"doc/res/doc.css",
    +					"doc/res/prettify.sons.css",
    +					"doc/res/doc.js",
    +					"doc/res/prettify.js"
    +				],
    +				"priority": 12,
    +				"refer": []
    +			},
    +			"doc/geolocation.html": {
    +				"href": "doc/geolocation.html",
    +				"resources": [
    +					"doc/res/doc.css",
    +					"doc/res/prettify.sons.css",
    +					"doc/res/doc.js",
    +					"doc/res/prettify.js"
    +				],
    +				"priority": 13,
    +				"refer": []
    +			},
    +			"doc/maps.html": {
    +				"href": "doc/maps.html",
    +				"resources": [
    +					"doc/res/doc.css",
    +					"doc/res/prettify.sons.css",
    +					"doc/res/doc.js",
    +					"doc/res/prettify.js"
    +				],
    +				"priority": 15,
    +				"refer": []
    +			},
    +			"doc/messaging.html": {
    +				"href": "doc/messaging.html",
    +				"resources": [
    +					"doc/res/doc.css",
    +					"doc/res/prettify.sons.css",
    +					"doc/res/doc.js",
    +					"doc/res/prettify.js"
    +				],
    +				"priority": 15,
    +				"refer": []
    +			},
    +			"doc/nativeUI.html": {
    +				"href": "doc/nativeUI.html",
    +				"resources": [
    +					"doc/res/doc.css",
    +					"doc/res/prettify.sons.css",
    +					"doc/res/doc.js",
    +					"doc/res/prettify.js"
    +				],
    +				"priority": 17,
    +				"refer": []
    +			},
    +			"doc/navigator.html": {
    +				"href": "doc/navigator.html",
    +				"resources": [
    +					"doc/res/doc.css",
    +					"doc/res/prettify.sons.css",
    +					"doc/res/doc.js",
    +					"doc/res/prettify.js"
    +				],
    +				"priority": 18,
    +				"refer": []
    +			},
    +			"doc/oauth.html": {
    +				"href": "doc/oauth.html",
    +				"resources": [
    +					"doc/res/doc.css",
    +					"doc/res/prettify.sons.css",
    +					"doc/res/doc.js",
    +					"doc/res/prettify.js"
    +				],
    +				"priority": 18,
    +				"refer": []
    +			},
    +			"doc/orientation.html": {
    +				"href": "doc/orientation.html",
    +				"resources": [
    +					"doc/res/doc.css",
    +					"doc/res/prettify.sons.css",
    +					"doc/res/doc.js",
    +					"doc/res/prettify.js"
    +				],
    +				"priority": 19,
    +				"refer": []
    +			},
    +			"plus/orientation_level.html": {
    +				"href": "plus/orientation_level.html",
    +				"resources": [
    +					"js/immersed.js",
    +					"js/common.js",
    +					"css/common.css",
    +					"img/orientationbg.png",
    +					"img/orientationl.png",
    +					"img/orientationb.png"
    +				],
    +				"refer": [
    +					"plus/doc.html"
    +				],
    +				"priority": 20
    +			},
    +			"plus/orientation_compass.html": {
    +				"href": "plus/orientation_compass.html",
    +				"resources": [
    +					"js/immersed.js",
    +					"js/common.js",
    +					"css/common.css",
    +					"img/orientationa.png",
    +					"img/orientationbg.png",
    +					"img/orientationc.png"
    +				],
    +				"refer": [
    +					"plus/doc.html"
    +				],
    +				"priority": 21
    +			},
    +			"doc/payment.html": {
    +				"href": "doc/payment.html",
    +				"resources": [
    +					"doc/res/doc.css",
    +					"doc/res/prettify.sons.css",
    +					"doc/res/doc.js",
    +					"doc/res/prettify.js"
    +				],
    +				"priority": 20,
    +				"refer": []
    +			},
    +			"doc/proximity.html": {
    +				"href": "doc/proximity.html",
    +				"resources": [
    +					"doc/res/doc.css",
    +					"doc/res/prettify.sons.css",
    +					"doc/res/doc.js",
    +					"doc/res/prettify.js"
    +				],
    +				"priority": 21,
    +				"refer": []
    +			},
    +			"doc/push.html": {
    +				"href": "doc/push.html",
    +				"resources": [
    +					"doc/res/doc.css",
    +					"doc/res/prettify.sons.css",
    +					"doc/res/doc.js",
    +					"doc/res/prettify.js"
    +				],
    +				"priority": 22
    +			},
    +			"doc/runtime.html": {
    +				"href": "doc/runtime.html",
    +				"resources": [
    +					"doc/res/doc.css",
    +					"doc/res/prettify.sons.css",
    +					"doc/res/doc.js",
    +					"doc/res/prettify.js"
    +				],
    +				"priority": 23,
    +				"refer": []
    +			},
    +			"plus/runtime_launch.html": {
    +				"href": "plus/runtime_launch.html",
    +				"resources": [
    +					"js/immersed.js",
    +					"js/common.js",
    +					"css/common.css"
    +				],
    +				"refer": [
    +					"plus/doc.html"
    +				],
    +				"priority": 24
    +			},
    +			"doc/storage.html": {
    +				"href": "doc/storage.html",
    +				"resources": [
    +					"doc/res/doc.css",
    +					"doc/res/prettify.sons.css",
    +					"doc/res/doc.js",
    +					"doc/res/prettify.js"
    +				],
    +				"priority": 24,
    +				"refer": []
    +			},
    +			"doc/uploader.html": {
    +				"href": "doc/uploader.html",
    +				"resources": [
    +					"doc/res/doc.css",
    +					"doc/res/prettify.sons.css",
    +					"doc/res/doc.js",
    +					"doc/res/prettify.js"
    +				],
    +				"priority": 26,
    +				"refer": []
    +			},
    +			"doc/xhr.html": {
    +				"href": "doc/xhr.html",
    +				"resources": [
    +					"doc/res/doc.css",
    +					"doc/res/prettify.sons.css",
    +					"doc/res/doc.js",
    +					"doc/res/prettify.js"
    +				],
    +				"priority": 26,
    +				"refer": []
    +			},
    +			"doc/zip.html": {
    +				"href": "doc/zip.html",
    +				"resources": [
    +					"doc/res/doc.css",
    +					"doc/res/prettify.sons.css",
    +					"doc/res/doc.js",
    +					"doc/res/prettify.js"
    +				],
    +				"priority": 28,
    +				"refer": []
    +			},
    +			"doc/ios.html": {
    +				"href": "doc/ios.html",
    +				"resources": [
    +					"doc/res/doc.css",
    +					"doc/res/prettify.sons.css",
    +					"doc/res/doc.js",
    +					"doc/res/prettify.js"
    +				],
    +				"priority": 30,
    +				"refer": []
    +			},
    +			"doc/android.html": {
    +				"href": "doc/android.html",
    +				"resources": [
    +					"doc/res/doc.css",
    +					"doc/res/prettify.sons.css",
    +					"doc/res/doc.js",
    +					"doc/res/prettify.js"
    +				],
    +				"priority": 31,
    +				"refer": []
    +			},
    +			"doc/native.js.html": {
    +				"href": "doc/native.js.html",
    +				"resources": [
    +					"doc/res/doc.css",
    +					"doc/res/doc.js",
    +					"doc/res/prettify.js"
    +				],
    +				"refer": [
    +					"doc/ios.html",
    +					"doc/android.html"
    +				],
    +				"priority": 30
    +			},
    +			"plus/njs_efficient.html": {
    +				"href": "plus/njs_efficient.html",
    +				"resources": [
    +					"js/immersed.js",
    +					"js/common.js",
    +					"css/common.css"
    +				],
    +				"refer": [
    +					"plus/doc.html"
    +				],
    +				"priority": 31
    +			},
    +			"plus/barcode_scan2.html": {
    +				"href": "plus/barcode_scan2.html",
    +				"resources": [
    +					"js/common.js",
    +					"css/common.css"
    +				],
    +				"priority": 7,
    +				"refer": []
    +			},
    +			"doc/speech.html": {
    +				"href": "doc/speech.html",
    +				"resources": [
    +					"doc/res/doc.css",
    +					"doc/res/prettify.sons.css",
    +					"doc/res/doc.js",
    +					"doc/res/prettify.js"
    +				],
    +				"priority": 21,
    +				"refer": []
    +			},
    +			"plus/webview_pulltorefresh.html": {
    +				"href": "plus/webview_pulltorefresh.html",
    +				"resources": [
    +					"js/common.js",
    +					"css/common.css"
    +				],
    +				"priority": 7
    +			},
    +			"doc/nativeobj.html": {
    +				"href": "doc/nativeobj.html",
    +				"resources": [
    +					"doc/res/doc.css",
    +					"doc/res/prettify.sons.css",
    +					"doc/res/doc.js",
    +					"doc/res/prettify.js"
    +				],
    +				"priority": 15
    +			},
    +			"plus/nativeobj_animation.html": {
    +				"href": "plus/nativeobj_animation.html",
    +				"resources": [
    +					"js/common.js",
    +					"css/common.css"
    +				],
    +				"priority": 16
    +			},
    +			"plus/nativeobj.html": {
    +				"href": "plus/nativeobj.html",
    +				"resources": [
    +					"js/immersed.js",
    +					"js/common.js",
    +					"css/common.css"
    +				],
    +				"refer": [
    +					"doc/nativeobj.html",
    +					"plus/nativeobj_animation.html"
    +				],
    +				"priority": 15
    +			}
    +		},
    +		"idle": {
    +			"resources": [
    +				"plus/webview_pullrefresh.html",
    +				"doc/splashscreen.html",
    +				"plus/webview_pullhead.html",
    +				"doc/ui.html",
    +				"doc/key.html",
    +				"doc/contacts.html",
    +				"doc/statistic.html",
    +				"doc/interface-orientation.html",
    +				"doc/cache.html",
    +				"doc/console.html"
    +			]
    +		}
    +	},
    +	"unpackage": [
    +		"js/update.json"
    +	]
    +}
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/accelerometer.html b/fangija-zsyf/plus/accelerometer.html
    new file mode 100644
    index 0000000..2be2971
    --- /dev/null
    +++ b/fangija-zsyf/plus/accelerometer.html
    @@ -0,0 +1,67 @@
    +<!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="misapplication-tap-highlight" content="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">
    +function getAcc() {
    +	outSet('获取设备当前加速度');
    +	plus.accelerometer.getCurrentAcceleration(function(a){
    +		outLine('X轴:'+a.xAxis+'\nY轴:'+a.yAxis+'\nZ轴:'+a.zAxis);
    +	}, function(e){
    +		outLine('获取失败:'+e.message);
    +	} );
    +}
    +var aid = null;
    +function watchAcc(){
    +	if(aid){
    +		return;
    +	}
    +	outSet('监听设备加速度变化');
    +	aid = plus.accelerometer.watchAcceleration(function(a){
    +		outSet('监听设备加速度变化\n'+'X轴:'+a.xAxis+'\nY轴:'+a.yAxis+'\nZ轴:'+a.zAxis);
    +	}, function(e){
    +		outLine('监听失败:'+e.message);
    +	});
    +}
    +function watchStop() {
    +	if(aid){
    +		outSet('停止监听设备加速度变化');
    +		plus.accelerometer.clearWatch(aid);
    +		aid = null;
    +	}else{
    +		outSet('没有监听设备加速度变化');
    +	}
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div class="nvtt">Accelerometer</div>
    +			<div class="nvbt idoc" onclick="openDoc('Accelerometer Document','/doc/accelerometer.html')"></div>
    +		</header>
    +		<div id="dcontent" class="dcontent">
    +			<br/>
    +			<div class="button" onclick="clicked('accelerometer_shake.html',true)">
    +				摇一摇
    +			</div>
    +			<br/>
    +			<ul class="dlist">
    +				<li class="ditem" onclick="getAcc()">获取设备当前加速度</li>
    +	            <li class="ditem" onclick="watchAcc()">监听设备加速度变化 </li>
    +	            <li class="ditem" onclick="watchStop()">停止监听设备加速度变化</li>
    +			</ul>
    +		</div>
    +		<div id="output">
    +Accelerometer可获取设备加速度传感器信息,包括x轴(屏幕水平方向)、y轴(垂直屏幕水平方向)、z轴(垂直屏幕平面方向)三个方向的加速度信息。
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js"></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/accelerometer_shake.html b/fangija-zsyf/plus/accelerometer_shake.html
    new file mode 100644
    index 0000000..7f9e82b
    --- /dev/null
    +++ b/fangija-zsyf/plus/accelerometer_shake.html
    @@ -0,0 +1,101 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript">
    +var p=null;
    +var iLast=2,MAX=20;
    +var up=null,down=null,offset=50;
    +var t=null;
    +// H5 plus事件处理
    +function plusReady(){
    +	// 锁定只能竖屏显示
    +	plus.screen.lockOrientation('portrait-primary');
    +	// 监听加速度
    +	plus.accelerometer.watchAcceleration(function(a){
    +		if(!up){
    +			return;
    +		}
    +		if(!p && ( Math.abs(a.xAxis)+Math.abs(a.yAxis)+Math.abs(a.zAxis) > MAX )){
    +			// Play audio
    +			p = plus.audio.createPlayer('_www/audio/shake.wav');
    +			p.play();
    +			setTimeout(function(){
    +				// Change background image
    +				var index = Math.round(Math.random()*3+1);
    +				if ( iLast == index ) {
    +					index++;
    +					if ( index > 4 ) {
    +						index = 1;
    +					}
    +				}
    +				document.body.style.backgroundImage='url(../img/shake/'+index+'.jpg)';
    +				iLast = index;
    +				// Stop play audio
    +				p.stop();
    +				delete p;
    +				p = null;
    +			}, 2000 );
    +			// Animation
    +			offset=up.offsetHeight/2;
    +			up.style.webkitTransform = 'translateY(-'+offset+'px)';
    +			up.style.msTransform = 'translateY(-'+offset+'px)';
    +			down.style.webkitTransform = 'translateY('+offset+'px)';
    +			down.style.msTransform = 'translateY('+offset+'px)';
    +			if(t){
    +				clearTimeout(t);
    +			}
    +			t = setTimeout(function(){
    +				t = null;
    +				up.style.webkitTransform = '';
    +				up.style.msTransform = '';
    +				down.style.webkitTransform = '';
    +				down.style.msTransform = '';
    +			}, 700 );
    +		}
    +	}, function(e){
    +		//outSet('Watch failed: '+e.message);
    +	}, {frequency:100});
    +}
    +if(window.plus){
    +	plusReady();
    +}else{
    +	document.addEventListener('plusready', plusReady, false);
    +}
    +// 监听DOMContentLoaded事件
    +document.addEventListener('DOMContentLoaded', function(){
    +	up=document.getElementById('up');
    +	down=document.getElementById('down');
    +	offset=up.offsetHeight/2;
    +},false);
    +// 解锁并关闭
    +var _back=window.back;
    +function unlockback(){
    +	plus.screen.unlockOrientation();
    +	_back();
    +}
    +window.back=unlockback;
    +		</script>		
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +	</head>
    +	<body style="background: center center no-repeat url(../img/shake/1.jpg);">
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div class="nvtt">摇一摇</div>
    +		</header>
    +		<div style="height:100%;text-align:center;overflow:hidden;">
    +			<div id="up" style="width:100%;height:50%;background:#333;-webkit-transition:all .5s ease-in-out;-ms-transition:all .5s ease-in-out;">
    +				<img style="height:100%;" src="../img/shakeup.png"/>
    +			</div>
    +			<div id="down" style="padding-bottom:20px;width:100%;height:50%;background:#333;-webkit-transition:all .5s ease-in-out;-ms-transition:all .5s ease-in-out;">
    +				<img style="height:100%;" src="../img/shakedown.png"/>
    +			</div>
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/audio.html b/fangija-zsyf/plus/audio.html
    new file mode 100644
    index 0000000..fcff1f2
    --- /dev/null
    +++ b/fangija-zsyf/plus/audio.html
    @@ -0,0 +1,356 @@
    +<!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>Hello H5+ 2</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript">
    +var gentry=null,hl=null,le=null;
    +var er=null,ep=null;
    +var bUpdated=false; //用于兼容可能提前注入导致DOM未解析完更新的问题
    +// H5 plus事件处理
    +function plusReady(){
    +	// 获取音频目录对象
    +	plus.io.resolveLocalFileSystemURL('_doc/', function(entry){
    +		entry.getDirectory('audio', {create:true}, function(dir){
    +			gentry = dir;
    +			updateHistory();
    +		}, function(e){
    +			outSet('Get directory "audio" failed: '+e.message);
    +		});
    +	}, function(e){
    +		outSet('Resolve "_doc/" failed: '+e.message);
    +	} );
    +}
    +if(window.plus){
    +	plusReady();
    +}else{
    +	document.addEventListener('plusready', plusReady, false);
    +}
    +// DOMContentLoaded事件处理
    +document.addEventListener('DOMContentLoaded', function(){
    +	// 获取DOM元素对象
    +	hl = document.getElementById('history');
    +	le = document.getElementById('empty');
    +	er = document.getElementById('record');
    +	rt = document.getElementById('rtime');
    +	ep = document.getElementById('play');
    +	pt = document.getElementById('ptime');
    +	pp = document.getElementById('progress')
    +	ps = document.getElementById('schedule');
    +	updateHistory();
    +},false);
    +// 添加播放项
    +function createItem( entry ) {
    +	var li = document.createElement('li');
    +	li.className = 'ditem';
    +	li.innerHTML = '<span class="iplay"><font class="aname"></font><br/><font class="ainf"></font></span>';
    +	li.setAttribute('onclick', 'playAudio(this)');
    +	hl.insertBefore(li, le.nextSibling);
    +	li.querySelector('.aname').innerText = entry.name;
    +	li.querySelector('.ainf').innerText = '...';
    +	li.entry = entry;
    +	updateInformation(li);
    +	// 设置空项不可见
    +	le.style.display = 'none';
    +}
    +// 开始录音
    +var r=null,t=0,ri=null,rt=null;
    +function startRecord(){
    +	outSet('开始录音:');
    +	r = plus.audio.getRecorder();
    +	if ( r == null ) {
    +		outLine('录音对象未获取');
    +		return;
    +	}
    +	r.record({filename:'_doc/audio/'}, function(p){
    +		outLine('录音完成:'+p);
    +		plus.io.resolveLocalFileSystemURL(p, function(entry){
    +			createItem(entry);
    +		}, function(e){
    +			outLine('读取录音文件错误:'+e.message);
    +		});
    +	}, function(e){
    +		outLine('录音失败:'+e.message);
    +	} );
    +	er.style.display = 'block';
    +	t = 0;
    +	ri = setInterval(function(){
    +		t++;
    +		rt.innerText = timeToStr(t);
    +	}, 1000);
    +}
    +// 停止录音
    +function stopRecord(){
    +	er.style.display = 'none';
    +	rt.innerText = '00:00:00';
    +	clearInterval(ri);
    +	ri = null;
    +	r.stop();
    +	w = null;
    +	r = null;
    +	t = 0;
    +}
    +// 清除历史记录
    +function cleanHistory(){
    +	hl.innerHTML = '<li id="empty" class="ditem-empty">无历史记录</li>';
    +	le = document.getElementById('empty');
    +	// 删除音频文件
    +	outSet('清空录音历史记录:');
    +	gentry.removeRecursively(function(){
    +		// Success
    +		outLine('操作成功!');
    +	}, function(e){
    +		ouline('操作失败:'+e.message);
    +	});
    +}
    +// 获取录音历史列表
    +function updateHistory(){
    +	if(bUpdated||!gentry||!document.body){//兼容可能提前注入导致DOM未解析完更新的问题
    +		return;
    +	}
    +  	var reader = gentry.createReader();
    +  	reader.readEntries(function(entries){
    +  		for(var i in entries){
    +  			if(entries[i].isFile){
    +  				createItem(entries[i]);
    +  			}
    +  		}
    +  	}, function(e){
    +  		outLine('读取录音列表失败:'+e.message);
    +  	});
    +	bUpdated = true;
    +}
    +// 获取录音文件信息
    +function updateInformation(li){
    +	if(!li || !li.entry){
    +		return;
    +	}
    +	var entry = li.entry;
    +	entry.getMetadata(function(metadata){
    +		li.querySelector('.ainf').innerText = dateToStr(metadata.modificationTime);
    +	}, function(e){
    +		outLine('获取文件"'+entry.name+'"信息失败:'+e.message);
    +	} );
    +}
    +// 播放音频文件
    +function playAudio(li){
    +	if(!li || !li.entry){
    +		ouSet('无效的音频文件');
    +		return;
    +	}
    +	outSet('播放音频文件:'+li.entry.name);
    +	startPlay('_doc/audio/'+li.entry.name);
    +}
    +// 播放文件相关对象
    +var p=null,pt=null,pp=null,ps=null,pi=null;
    +// 开始播放
    +function startPlay(url){
    +	ep.style.display = 'block';
    +	var L = pp.clientWidth;
    +	p = plus.audio.createPlayer(url);
    +	p.play(function(){
    +		outLine('播放完成!');
    +		// 播放完成
    +		pt.innerText = timeToStr(d)+'/'+timeToStr(d);
    +		ps.style.webkitTransition = 'all 0.3s linear';
    +		ps.style.width = L+'px';
    +		stopPlay();
    +	}, function(e){
    +		outLine('播放音频文件"'+url+'"失败:'+e.message);
    +	});
    +	// 获取总时长
    +	var d = p.getDuration();
    +	if(!d){
    +		pt.innerText = '00:00:00/'+timeToStr(d);
    +	}
    +	pi = setInterval(function(){
    +		if(!d){ // 兼容无法及时获取总时长的情况
    +			d = p.getDuration();
    +		}
    +		var c = p.getPosition();
    +		if(!c){  // 兼容无法及时获取当前播放位置的情况
    +			return;
    +		}
    +		pt.innerText = timeToStr(c)+'/'+timeToStr(d);
    +		var pct = Math.round(L*c/d);
    +		if(pct < 8){
    +			pct = 8;
    +		}
    +		ps.style.width = pct+'px';
    +	}, 1000);
    +}
    +// 停止播放
    +function stopPlay(){
    +	clearInterval(pi);
    +	pi=null;
    +	setTimeout(resetPlay, 500);
    +	// 操作播放对象
    +	if(p){
    +		p.stop();
    +		p=null;
    +	}
    +}
    +// 重置播放页面内容
    +function resetPlay(){
    +	ep.style.display = 'none';
    +	ps.style.width = '8px';
    +	ps.style.webkitTransition = 'all 1s linear';
    +	pt.innerText = '00:00:00/00:00:00';	
    +}
    +// 重写关闭
    +var _back=window.back;
    +function resetback(){
    +	// 停止播放
    +	if(ep.style.display == 'block'){
    +		stopPlay();
    +	}else if(er.style.display == 'block'){
    +		stopRecord();
    +	}else{
    +		_back();
    +	}
    +}
    +window.back=resetback;
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +		<style type="text/css">
    +.rp {
    +	width: 100%;
    +	height: 100%;
    +	display: none;
    +	text-align: center;
    +	position: fixed;
    +	top: 0;
    +	background: rgba(0,0,0,0.8);
    +	z-index: 9999;
    +	overflow: hidden;
    +}
    +.aname {
    +	font-size: 16px;
    +}
    +.ainf {
    +	font-size: 12px;
    +}
    +.rtime {
    +	font-size: 22px;
    +	color: #FF0000;
    +}
    +.ptime {
    +	margin-top: 40%;
    +	font-size: 22px;
    +	color: #FFFFFF;
    +}
    +.rprogress {
    +	background: url(../img/arecord.png) no-repeat center center;
    +	background-size: 32px 32px;
    +}
    +.rschedule {
    +    background-color: rgba(0,0,0,0);
    +    border: 5px solid rgba(0,183,229,0.9);
    +    opacity: .9;
    +    border-left: 5px solid rgba(0,0,0,0);
    +    border-right: 5px solid rgba(0,0,0,0);
    +    border-radius: 50px;
    +    box-shadow: 0 0 15px #2187e7;
    +    width: 36px;
    +    height: 36px;
    +    margin: 0 auto;
    +    -webkit-animation: spin 1s infinite linear;
    +    animation: spin 1s infinite linear;
    +}
    +@-webkit-keyframes spin {
    +    0% {
    +        -webkit-transform: rotate(0deg);
    +    }
    +    100% {
    +        -webkit-transform: rotate(360deg);
    +    }
    +}
    +@keyframes spin {
    +    0% {
    +        transform: rotate(0deg);
    +    }
    +    100% {
    +        transform: rotate(360deg);
    +    }
    +}
    +.progress {
    +  width: 90%;
    +  background-color: #666;
    +  margin: 0 5%;
    +  border: 1px solid #222;
    +  -webkit-border-radius: 5px;
    +  border-radius: 5px;
    +}
    +.schedule {
    +  width: 8px;
    +  height: 8px;
    +  margin: 1px 0;
    +  background-color: #FFCC33;
    +  -webkit-border-radius: 4px;
    +  border-radius: 4px;
    +  -webkit-transition: all 1s linear;
    +  transition: all 1s linear;
    +}
    +.stop {
    +	width: 72px;
    +	height: 72px;
    +	background: url(../img/astop.png) center center;
    +	background-size: 72px 72px;
    +	margin: auto;
    +	-webkit-border-radius: 72px;
    +	border-radius: 72px;
    +}
    +.stop:active{
    +  	-webkit-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5) inset;
    +	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5) inset;
    +}
    +.iplay {
    +	display: block;
    +	background: no-repeat right center url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABYCAYAAAADWlKCAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKwwAACsMBNCkkqwAAABZ0RVh0Q3JlYXRpb24gVGltZQAwOS8xMi8xM5w+I3MAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzVxteM2AAAD9UlEQVR4nO2b3XETMRRGDwzvoYOkg5hRAVkqiKmAdIA7wHSQVECoALsC1gXciV0BTge4gvCwgnHk9d/+WF8m97ztxrlXs8fS1Urym6enJxwd3uZugPMcFyKGCxHDhYjhQsRwIWK4EDFciBguRAwXIoYLEcOFiOFCxHAhYrgQMVyIGC5EDBcihgsRw4WI4ULEcCFiuBAx3uVuwDGY2XtgCBTAALjc8tEFMAdKYBJC+HOK9nXBm5dwUM7MCmAEXDcMMQVuQwhlV23qC2khZjYAboGrjkLOgFEIYd5RvM6RrSFmdgs80J0MYqyHGFsSuR4S60TJ9vrwCEziZ+YhhGXy/xdU9aWgqjfnW+IsgEKtvkgJiUPUPfUyZsD42DoQ68+Y+p62AG6UhjAZITt6xopq3L9vGf+Gqh6dJX+S6ilKNaRkU8YCGLSVARBjDGLMdS5jbgkkhMQiWyejSGtEG2KsghopKoU++5AV68ZDcrvXYWTH8Pghdz1R6CHpN3MFDPsc02PsYcy1qy0nJ6uQOANKZz+jfcOUmd3H6W1jYo5RcvsqtikbuXtI+kBmBxbwz8DczMZtksdcsz1tOinZhMRxPF2bGh8R4gz4amZLMxu2aEqa8zq2LQs5e0j6EB8bLv6dAz/NrGwyjMWcj3vadjJyCimS60nLeFfAbzO7bfANT3MXLdvSmJxCBsl12VHcL8AyvpkfSpo7bdvJyCkkfQfocv5/Bnw3s/mBs6Y097aFzd7JPcv6T5dv5GtcAr/2TZN7yt0IGSE908k0+RS8FiEvhhd1yKEFUw5YAVBApoe0XQrZwgL4GEIY7pLRU+5G5OwhC57PZgbAsqPYK6rdxUMXC9Npbro8fzJy9pB0qll0FPcOuDhCRl3ubEvwOYWUyXXb5YoZ1X7GqMHSfZq7bNmWxuQUki5XnDdc+n4EPoUQiiabSzFnejKl7TJOY7IJid/iaXJ7fESIFfCNas+9zQNMc05zHnjIPctKx/mrA9egflCJGLd5eDFXukGWdddQYU+95PlDWVE97GXPeS+oivf6saBZCKHoM+8+cvcQ2NyhOwMmfW4SxdgTNs9oZd0tBAEhsRDfJbcvgbIPKTtOnNzlPnECAkPWP8xsTv3ZrJ1v2UfmuKDqGRt5QgjZ9kDWyd5D1iioP1U4P3KzqZYYY5v0om38rpDpIeCHrUFMCPjPEeSE/COetf3SU/i7EEL2GVUdSjXkGfGBfWDzIFsb/q93dRizU2R7yDr+o09R/GfRzsmRrSGvFRcihgsRw4WI4ULEcCFiuBAxXIgYLkQMFyKGCxHDhYjhQsRwIWK4EDFciBguRAwXIoYLEcOFiOFCxHAhYrgQMf4CVuqCm+17t3sAAAAASUVORK5CYII=);
    +	background-size: 50px 44px;
    +	-ms-touch-action: auto;
    +}
    +		</style>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div class="nvtt">Audio</div>
    +			<div class="nvbt idoc" onclick="openDoc('Audio Document','/doc/audio.html')"></div>
    +		</header>
    +		<div id="dcontent" class="dcontent">
    +			<br/>
    +			<div class="button" onclick="startRecord()">开始录音</div>
    +			<div class="button" onclick="startPlay('_www/audio/friendship.mp3')">播放音乐</div>
    +			<br/>
    +			<!-- History list -->
    +			<ul id="history" class="dlist" style="text-align:left;">
    +				<li id="empty" class="ditem-empty">无历史记录</li>
    +			</ul>
    +			<br/>
    +			<div class="button button-waring" onclick="cleanHistory()">清空历史记录</div>
    +			<br/>
    +		</div>
    +		<div id="output">
    +Audio用于管理音频设备,可调用麦克风录制音频文件,也可播放音频文件。
    +		</div>
    +		<div id="play" class="rp">
    +			<div id="ptime" class="ptime">00:00:00/00:00:00</div><br/>
    +			<div id="progress" class="progress"><div id="schedule" class="schedule"></div></div>
    +			<br/>
    +			<div class="stop" onclick="stopPlay(),outSet('停止播放!')"></div>
    +		</div>
    +		<div id="record" class="rp">
    +			<div style="width:100%;height:20%;"></div>
    +			<div class="rprogress"><div class="rschedule"></div></div>
    +			<br/>
    +			<div id="rtime" class="rtime">00:00:00</div><br/>
    +			<div class="stop" onclick="stopRecord()"></div>
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/barcode.html b/fangija-zsyf/plus/barcode.html
    new file mode 100644
    index 0000000..b788439
    --- /dev/null
    +++ b/fangija-zsyf/plus/barcode.html
    @@ -0,0 +1,122 @@
    +<!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>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);
    +			}
    +		}, '', ['打开', '取消']);
    +	} 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 );
    +		});
    +	});
    +}
    +		</script>
    +		<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;
    +}
    +		</style>
    +	</head>
    +	<body onload="img=document.getElementById('bimg')">
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div class="nvtt">Barcode</div>
    +			<div class="nvbt idoc" onclick="openDoc('Barcode Document','/doc/barcode.html')"></div>
    +		</header>
    +		<div id="dcontent" class="dcontent">
    +			<br/>
    +			<img style="width:40%" id="bimg" src="../img/barcode.png"/>
    +			<br/>
    +			<div class="button" onclick="clicked('barcode_scan.html',true,true)">扫一扫</div>
    +			<div class="button" onclick="clicked('barcode_scan2.html',true,true)">扫一扫(自定义)</div>
    +			<br/>
    +			<ul id="history" class="dlist" style="text-align:left;">
    +				<li id="nohistory" class="ditem" onclick="onempty()">无历史记录	</li>
    +			</ul>
    +			<br/>
    +			<div class="button button-waring" onclick="cleanHistroy()">清空历史记录</div>
    +		</div>
    +		<div id="output">
    +Barcode提供二维码扫描识别功能,支持调用摄像头即时扫描二维码,也可直接输入图片进行扫描识别。
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/barcode_scan.html b/fangija-zsyf/plus/barcode_scan.html
    new file mode 100644
    index 0000000..7cc5df6
    --- /dev/null
    +++ b/fangija-zsyf/plus/barcode_scan.html
    @@ -0,0 +1,117 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript">
    +var ws=null,wo=null;
    +var scan=null,domready=false;
    +// H5 plus事件处理
    +function plusReady(){
    +	if(ws||!window.plus||!domready){
    +		return;
    +	}
    +	// 获取窗口对象
    +	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/'});
    +	}, false);
    +	// 显示页面并关闭等待框
    +    ws.show('pop-in');
    +    wo.evalJS('closeWaiting()');
    +}
    +if(window.plus){
    +	plusReady();
    +}else{
    +	document.addEventListener('plusready', plusReady, false);
    +}
    +// 监听DOMContentLoaded事件
    +document.addEventListener('DOMContentLoaded', function(){
    +	domready=true;
    +	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(/\n/g, '');
    +    wo.evalJS("scaned('"+ type +"','"+ result +"','"+ file +"');");
    +    back();
    +}
    +// 从相册中选择二维码图片 
    +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: 44px;
    +	text-align: center;
    +}
    +.tip {
    +	color: #FFFFFF;
    +	font-weight: bold;
    +	text-shadow: 0px -1px #103E5C;
    +}
    +footer {
    +	width: 100%;
    +	height: 44px;
    +	position: absolute;
    +	bottom: 0px;
    +	line-height: 44px;
    +	text-align: center;
    +	color: #FFF;
    +}
    +.fbt {
    +	width: 50%;
    +	height: 100%;
    +	background-color: #FFCC33;
    +	float: left;
    +}
    +.fbt:active {
    +  	-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.5);
    +	box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.5);
    +}
    +		</style>
    +	</head>
    +	<body style="background-color: #000000;">
    +		<div id="bcid">
    +			<div style="height:40%"></div>
    +			<p class="tip">...载入中...</p>
    +		</div>
    +		<footer>
    +			<div class="fbt" onclick="back()">取  消</div>
    +			<div class="fbt" onclick="scanPicture()">从相册选择二维码</div>
    +		</footer>
    +	</body>
    +</html>
    diff --git a/fangija-zsyf/plus/barcode_scan2.html b/fangija-zsyf/plus/barcode_scan2.html
    new file mode 100644
    index 0000000..3d309cd
    --- /dev/null
    +++ b/fangija-zsyf/plus/barcode_scan2.html
    @@ -0,0 +1,118 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript">
    +var ws=null,wo=null;
    +var scan=null,domready=false,bCancel=false;
    +// H5 plus事件处理
    +function plusReady(){
    +	if(ws||!window.plus||!domready){
    +		return;
    +	}
    +	// 获取窗口对象
    +	ws=plus.webview.currentWebview();
    +	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/'});
    +	});
    +	// 显示页面并关闭等待框
    +    ws.show('pop-in');
    +    wo.evalJS('closeWaiting()');
    +}
    +if(window.plus){
    +	plusReady();
    +}else{
    +	document.addEventListener('plusready', plusReady, false);
    +}
    +// 监听DOMContentLoaded事件
    +document.addEventListener('DOMContentLoaded', function(){
    +	domready=true;
    +	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(/\n/g, '');
    +    wo.evalJS("scaned('"+ type +"','"+ result +"','"+ file +"');");
    +    back();
    +}
    +// 从相册中选择二维码图片 
    +function scanSwitch() {
    +    if(bCancel){
    +    	scan.start({conserve:true,filename:'_doc/barcode/'});
    +    	btCancel&&(btCancel.innerText='暂 停');
    +    }else{
    +    	scan.cancel();
    +    	btCancel&&(btCancel.innerText='开 始');
    +    }
    +    bCancel=!bCancel;
    +}
    +		</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: 44px;
    +	text-align: center;
    +}
    +.tip {
    +	color: #FFFFFF;
    +	font-weight: bold;
    +	text-shadow: 0px -1px #103E5C;
    +}
    +footer {
    +	width: 100%;
    +	height: 44px;
    +	position: absolute;
    +	bottom: 0px;
    +	line-height: 44px;
    +	text-align: center;
    +	color: #FFF;
    +}
    +.fbt {
    +	width: 50%;
    +	height: 100%;
    +	background-color: #FFCC33;
    +	float: left;
    +}
    +.fbt:active {
    +  	-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.5);
    +	box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.5);
    +}
    +		</style>
    +	</head>
    +	<body style="background-color: #000000;">
    +		<div id="bcid">
    +			<div style="height:40%"></div>
    +			<p class="tip">...载入中...</p>
    +		</div>
    +		<footer>
    +			<div class="fbt" onclick="back()">取 消</div>
    +			<div id="btCancel" class="fbt" onclick="scanSwitch()">暂 停</div>
    +		</footer>
    +	</body>
    +</html>
    diff --git a/fangija-zsyf/plus/camera.html b/fangija-zsyf/plus/camera.html
    new file mode 100644
    index 0000000..c1adbea
    --- /dev/null
    +++ b/fangija-zsyf/plus/camera.html
    @@ -0,0 +1,219 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript">
    +var i=1,gentry=null,w=null;
    +var hl=null,le=null,de=null,ie=null;
    +var unv=true;
    +var bUpdated=false; //用于兼容可能提前注入导致DOM未解析完更新的问题
    +// H5 plus事件处理
    +function plusReady(){
    +	// 获取摄像头目录对象
    +	plus.io.resolveLocalFileSystemURL('_doc/', function(entry){
    +		entry.getDirectory('camera', {create:true}, function(dir){
    +			gentry = dir;
    +			updateHistory();
    +		}, function(e){
    +			outSet('Get directory "camera" failed: '+e.message);
    +		} );
    +	}, function(e){
    +		outSet('Resolve "_doc/" failed: '+e.message);
    +	});
    +}
    +if(window.plus){
    +	plusReady();
    +}else{
    +	document.addEventListener('plusready', plusReady, false);
    +}
    +// 监听DOMContentLoaded事件
    +document.addEventListener('DOMContentLoaded', function(){
    +	// 获取DOM元素对象
    +	hl=document.getElementById('history');
    +	le=document.getElementById('empty');
    +	de=document.getElementById('display');
    +	if(ie=document.getElementById('index')){
    +		ie.onchange=indexChanged;
    +	}
    +	// 判断是否支持video标签
    +	unv=!document.createElement('video').canPlayType;
    +	updateHistory();
    +},false );
    +function changeIndex(){
    +	outSet('选择摄像头:');
    +	ie.focus();
    +}
    +function indexChanged(){
    +	de.innerText = ie.options[ie.selectedIndex].innerText;
    +	i = parseInt(ie.value);
    +	outLine(de.innerText);
    +}
    +// 拍照
    +function getImage(){
    +	outSet('开始拍照:');
    +	var cmr = plus.camera.getCamera();
    +	cmr.captureImage(function(p){
    +		outLine('成功:'+p);
    +		plus.io.resolveLocalFileSystemURL(p, function(entry){
    +			createItem(entry);
    +		}, function(e){
    +			outLine('读取拍照文件错误:'+e.message);
    +		});
    +	}, function(e){
    +		outLine('失败:'+e.message);
    +	}, {filename:'_doc/camera/',index:1});
    +}
    +// 录像
    +function getVideo(){
    +	outSet('开始录像:');
    +	var cmr = plus.camera.getCamera();
    +	cmr.startVideoCapture(function(p){
    +		outLine('成功:'+p);
    +		plus.io.resolveLocalFileSystemURL(p, function(entry){
    +			createItem(entry);
    +		}, function(e){
    +			outLine('读取录像文件错误:'+e.message);
    +		} );
    +	}, function(e){
    +		outLine('失败:'+e.message);
    +	}, {filename:'_doc/camera/',index:i});
    +}
    +// 显示文件
    +function displayFile(li){
    +	if(w){
    +		outLine('重复点击!');
    +		return;
    +	}
    +	if(!li || !li.entry){
    +		ouSet('无效的媒体文件');
    +		return;
    +	}
    +	var name = li.entry.name;
    +	var suffix = name.substr(name.lastIndexOf('.'));
    +	var url = '';
    +	if(suffix=='.mov' || suffix=='.3gp' || suffix=='.mp4' || suffix=='.avi'){
    +		//if(unv){plus.runtime.openFile('_doc/camera/'+name);return;}
    +		url = '/plus/camera_video.html';
    +	} else {
    +		url = '/plus/camera_image.html';
    +	}
    +	w=plus.webview.create(url,url,{hardwareAccelerated:true,scrollIndicator:'none',scalable:true,bounce:'all'});
    +	w.addEventListener('loaded', function(){
    +		w.evalJS('loadMedia("'+li.entry.toLocalURL()+'")');
    +		//w.evalJS('loadMedia("'+'http://localhost:13131/_doc/camera/'+name+'")');
    +	}, false );
    +	w.addEventListener('close', function(){
    +		w = null;
    +	}, false);
    +	w.show('pop-in');
    +}
    +
    +// 添加播放项
    +function createItem(entry){
    +	var li = document.createElement('li');
    +	li.className = 'ditem';
    +	li.innerHTML = '<span class="iplay"><font class="aname"></font><br/><font class="ainf"></font></span>';
    +	li.setAttribute('onclick', 'displayFile(this)' );
    +	hl.insertBefore( li, le.nextSibling );
    +	li.querySelector('.aname').innerText = entry.name;
    +	li.querySelector('.ainf').innerText = '...';
    +	li.entry = entry;
    +	updateInformation(li);
    +	// 设置空项不可见
    +	le.style.display = 'none';
    +}
    +// 获取录音文件信息
    +function updateInformation(li){
    +	if(!li || !li.entry){
    +		return;
    +	}
    +	var entry = li.entry;
    +	entry.getMetadata(function(metadata){
    +		li.querySelector('.ainf').innerText = dateToStr(metadata.modificationTime);
    +	}, function(e){
    +		outLine('获取文件"'+entry.name+'"信息失败:'+e.message);
    +	} );
    +}
    +// 获取录音历史列表
    +function updateHistory(){
    +	if(bUpdated||!gentry||!document.body){//兼容可能提前注入导致DOM未解析完更新的问题
    +		return;
    +	}
    +  	var reader = gentry.createReader();
    +  	reader.readEntries(function(entries){
    +  		for(var i in entries){
    +  			if(entries[i].isFile){
    +  				createItem(entries[i]);
    +  			}
    +  		}
    +  	}, function(e){
    +  		outLine('读取录音列表失败:'+e.message);
    +  	});
    +  	bUpdated = true;
    +}
    +// 清除历史记录
    +function cleanHistory(){
    +	hl.innerHTML = '<li id="empty" class="ditem-empty">无历史记录</li>';
    +	le = document.getElementById('empty');
    +	// 删除音频文件
    +	outSet('清空拍照录像历史记录:');
    +	gentry.removeRecursively(function(){
    +		// Success
    +		outLine('成功!');
    +	}, function(e){
    +		outLine('失败:'+e.message);
    +	});
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +		<style type="text/css">
    +.aname {
    +	font-size: 16px;
    +}
    +.ainf {
    +	font-size: 12px;
    +}
    +.iplay {
    +	display: block;
    +	background: no-repeat right center url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABYCAYAAAADWlKCAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKwwAACsMBNCkkqwAAABZ0RVh0Q3JlYXRpb24gVGltZQAwOS8xMi8xM5w+I3MAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzVxteM2AAAD9UlEQVR4nO2b3XETMRRGDwzvoYOkg5hRAVkqiKmAdIA7wHSQVECoALsC1gXciV0BTge4gvCwgnHk9d/+WF8m97ztxrlXs8fS1Urym6enJxwd3uZugPMcFyKGCxHDhYjhQsRwIWK4EDFciBguRAwXIoYLEcOFiOFCxHAhYrgQMVyIGC5EDBcihgsRw4WI4ULEcCFiuBAx3uVuwDGY2XtgCBTAALjc8tEFMAdKYBJC+HOK9nXBm5dwUM7MCmAEXDcMMQVuQwhlV23qC2khZjYAboGrjkLOgFEIYd5RvM6RrSFmdgs80J0MYqyHGFsSuR4S60TJ9vrwCEziZ+YhhGXy/xdU9aWgqjfnW+IsgEKtvkgJiUPUPfUyZsD42DoQ68+Y+p62AG6UhjAZITt6xopq3L9vGf+Gqh6dJX+S6ilKNaRkU8YCGLSVARBjDGLMdS5jbgkkhMQiWyejSGtEG2KsghopKoU++5AV68ZDcrvXYWTH8Pghdz1R6CHpN3MFDPsc02PsYcy1qy0nJ6uQOANKZz+jfcOUmd3H6W1jYo5RcvsqtikbuXtI+kBmBxbwz8DczMZtksdcsz1tOinZhMRxPF2bGh8R4gz4amZLMxu2aEqa8zq2LQs5e0j6EB8bLv6dAz/NrGwyjMWcj3vadjJyCimS60nLeFfAbzO7bfANT3MXLdvSmJxCBsl12VHcL8AyvpkfSpo7bdvJyCkkfQfocv5/Bnw3s/mBs6Y097aFzd7JPcv6T5dv5GtcAr/2TZN7yt0IGSE908k0+RS8FiEvhhd1yKEFUw5YAVBApoe0XQrZwgL4GEIY7pLRU+5G5OwhC57PZgbAsqPYK6rdxUMXC9Npbro8fzJy9pB0qll0FPcOuDhCRl3ubEvwOYWUyXXb5YoZ1X7GqMHSfZq7bNmWxuQUki5XnDdc+n4EPoUQiiabSzFnejKl7TJOY7IJid/iaXJ7fESIFfCNas+9zQNMc05zHnjIPctKx/mrA9egflCJGLd5eDFXukGWdddQYU+95PlDWVE97GXPeS+oivf6saBZCKHoM+8+cvcQ2NyhOwMmfW4SxdgTNs9oZd0tBAEhsRDfJbcvgbIPKTtOnNzlPnECAkPWP8xsTv3ZrJ1v2UfmuKDqGRt5QgjZ9kDWyd5D1iioP1U4P3KzqZYYY5v0om38rpDpIeCHrUFMCPjPEeSE/COetf3SU/i7EEL2GVUdSjXkGfGBfWDzIFsb/q93dRizU2R7yDr+o09R/GfRzsmRrSGvFRcihgsRw4WI4ULEcCFiuBAxXIgYLkQMFyKGCxHDhYjhQsRwIWK4EDFciBguRAwXIoYLEcOFiOFCxHAhYrgQMf4CVuqCm+17t3sAAAAASUVORK5CYII=);
    +	background-size: 50px 44px;
    +	-ms-touch-action: auto;
    +}
    +		</style>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div class="nvtt">Camera</div>
    +			<div class="nvbt idoc" onclick="openDoc('Camera Document','/doc/camera.html')"></div>
    +		</header>
    +		<div id="dcontent" class="dcontent">
    +			<!--<div class="button" onclick="changeIndex();">
    +				选择:<span id="display" style="color:#FF0000">主摄像头</span>
    +				<div style="width:0px;height:0px;overflow:hidden;"><select id="index">
    +					<option value='1' selected="true">主摄像头</option>
    +					<option value='2' >辅摄像头</option>
    +				</select></div>
    +			</div>-->
    +			<div class="button" onclick="getImage()">拍照</div>
    +			<div class="button" onclick="getVideo()">录像</div>
    +			<br/>
    +			<!-- History list -->
    +			<ul id="history" class="dlist" style="text-align:left;">
    +				<li id="empty" class="ditem-empty">无历史记录</li>
    +			</ul>
    +			<br/>
    +			<div class="button button-waring" onclick="cleanHistory()">清空历史记录</div>
    +			<br/>
    +		</div>
    +		<div id="output">
    +Camera管理摄像头设备,可用于拍摄照片、录制视频文件。
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/camera_image.html b/fangija-zsyf/plus/camera_image.html
    new file mode 100644
    index 0000000..3130ebe
    --- /dev/null
    +++ b/fangija-zsyf/plus/camera_image.html
    @@ -0,0 +1,54 @@
    +<!DOCTYPE HTML>
    +<html>
    +	<head>
    +		<meta charset="utf-8"/>
    +		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=3.0, user-scalable=yes"/>
    +		<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 w=null;
    +// H5 plus事件处理
    +function plusReady(){
    +}
    +if(window.plus){
    +	plusReady();
    +}else{
    +	document.addEventListener('plusready', plusReady, false);
    +}
    +function imgLoaded(){
    +	w&&(w.close(),w=null);
    +	var b = document.body;
    +	var img = document.getElementById('img');
    +	var pb = b.clientHeight/b.clientWidth,
    +	pi = img.clientHeight/img.clientWidth;
    +	if(pb > pi){
    +		img.style.width = '100%';
    +	}else{
    +		img.style.height = '100%';
    +	}
    +	b.style.lineHeight = b.clientHeight+'px';
    +}
    +function imgError(){
    +	w&&(w.close(),w=null);
    +	document.getElementById('img').style.display = 'none';
    +	plus.nativeUI.alert('无效的图片资源', function(){
    +		back();
    +	});
    +}
    +function loadMedia(src){
    +	document.getElementById('img').src=src;
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +		<style type="text/css" media="screen">
    +img {
    +	vertical-align: middle;
    +}
    +		</style>
    +	</head>
    +	<body style="text-align:center;background:#000000;">
    +		<img id="img" onclick="back()" onload="imgLoaded()" onerror="imgError()"/>
    +	</body>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/camera_video.html b/fangija-zsyf/plus/camera_video.html
    new file mode 100644
    index 0000000..83907c3
    --- /dev/null
    +++ b/fangija-zsyf/plus/camera_video.html
    @@ -0,0 +1,56 @@
    +<!DOCTYPE HTML>
    +<html>
    +	<head>
    +		<meta charset="utf-8"/>
    +		<meta name="viewport" content="width=device-width, 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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript">
    +var v=null;
    +function loadMedia( src ) {
    +	v.src = src;
    +	v.play();
    +}
    +function videoFinished() {
    +	back();
    +}
    +function videoError(e) {
    +	switch (e.target.error.code) {
    +     case e.target.error.MEDIA_ERR_ABORTED:
    +       alert('You aborted the video playback.');
    +       break;
    +     case e.target.error.MEDIA_ERR_NETWORK:
    +       alert('A network error caused the video download to fail part-way.');
    +       break;
    +     case e.target.error.MEDIA_ERR_DECODE:
    +       alert('The video playback was aborted due to a corruption problem or because the video used features your browser did not support.');
    +       break;
    +     case e.target.error.MEDIA_ERR_SRC_NOT_SUPPORTED:
    +       alert('The video could not be loaded, either because the server or network failed or because the format is not supported.');
    +       break;
    +     default:
    +       alert('An unknown error occurred.');
    +       break;
    +   }
    +
    +	plus.nativeUI.alert( "无效的视频资源", function(){
    +		back();
    +	} );
    +}
    +function init() {
    +	v = document.getElementById("video");
    +	//v.onended = videoFinished;
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +	</head>
    +	<body style="text-align:center;background:#DDDDDD;" onload="init();">
    +		<div style="width:100%;height:100%;display:table;" onclick="back();">
    +			<div style="display:table-cell;vertical-align:middle;">
    +				<video id="video" style="width:100%;" autoplay controls onerror="videoError(event);"></video>
    +			</div>
    +		</div>
    +	</body>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/device.html b/fangija-zsyf/plus/device.html
    new file mode 100644
    index 0000000..cedd546
    --- /dev/null
    +++ b/fangija-zsyf/plus/device.html
    @@ -0,0 +1,107 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript">
    +function getDeviceInfo(){
    +    var str = "",i;
    +    str += "设备型号:" + plus.device.model + "\n";
    +    str += "设备厂商:" + plus.device.vendor + "\n";
    +    str += "IMEI:" + plus.device.imei + "\n";
    +    str += "UUID: " + plus.device.uuid + "\n";
    +    str += "IMSI:";
    +    for ( i=0; i<plus.device.imsi.length; i++ ) {
    +        str += plus.device.imsi[i];
    +    }
    +    str += "\n";
    +    str += "屏幕分辨率:" + plus.screen.resolutionWidth*plus.screen.scale + " x " + plus.screen.resolutionHeight*plus.screen.scale + "\n";
    +    str += "DPI:" + plus.screen.dpiX + " x " + plus.screen.dpiY;
    +    outSet( str );
    +}
    +function getSysInfo() {
    +    var str = "";
    +    str += "名称:" + plus.os.name + "\n";
    +    str += "版本:" + plus.os.version + "\n";
    +    str += "语言:" + plus.os.language + "\n";
    +    str += "厂商:" + plus.os.vendor + "\n";
    +    str += "网络类型:";
    +    var types = {};
    +    types[plus.networkinfo.CONNECTION_UNKNOW] = "未知";
    +    types[plus.networkinfo.CONNECTION_NONE] = "未连接网络";
    +    types[plus.networkinfo.CONNECTION_ETHERNET] = "有线网络";
    +    types[plus.networkinfo.CONNECTION_WIFI] = "WiFi网络";
    +    types[plus.networkinfo.CONNECTION_CELL2G] = "2G蜂窝网络";
    +    types[plus.networkinfo.CONNECTION_CELL3G] = "3G蜂窝网络";
    +    types[plus.networkinfo.CONNECTION_CELL4G] = "4G蜂窝网络";
    +    str += types[plus.networkinfo.getCurrentType()];
    +    outSet( str );
    +}
    +function deviceBeep() {
    +    var str = "";
    +    switch ( plus.os.name ) {
    +    	case "iOS":
    +		    if ( plus.device.model.indexOf("iPhone") >= 0 ) {
    +                plus.device.beep();
    +		        str += "设备蜂鸣中...";
    +		    } else {
    +		        str += "此设备不支持蜂鸣";
    +		    }
    +    	break;
    +    	default:
    +    		plus.device.beep();
    +    		str += "设备蜂鸣中...";
    +    	break;
    +    }
    +	outSet( str );
    +}
    +function deviceVibrate() {
    +    var str = "";
    +    switch ( plus.os.name ) {
    +    	case "iOS":
    +            if ( plus.device.model.indexOf("iPhone") >= 0 ) {
    +                plus.device.vibrate();
    +                str += "设备振动中...";
    +            } else {
    +                str += "此设备不支持振动";
    +            }
    +    	break;
    +    	default:
    +    		plus.device.vibrate();
    +            str += "设备振动中...";
    +    	break;
    +    }
    +	outSet( str );
    +}
    +function dial(){
    +	plus.device.dial("10086",false);
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div class="nvtt">Device</div>
    +			<div class="nvbt idoc" onclick="openDoc('Device Document','/doc/device.html')"></div>
    +		</header>
    +		<div id="dcontent" class="dcontent">
    +			<br/>
    +			<ul class="dlist">
    +				<li class="ditem" onclick="getDeviceInfo()">获取设备信息</li>
    +				<li class="ditem" onclick="getSysInfo()">获取系统信息</li>
    +				<li class="ditem" onclick="deviceBeep()">蜂鸣</li>
    +				<li class="ditem" onclick="deviceVibrate()">震动</li>
    +				<li class="ditem" onclick="dial()">直接拨打电话</li>
    +			</ul>
    +		</div>
    +		<div id="output">
    +Device可获取手机设备相关信息,包括硬件、软件、网络等信息。
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/doc.html b/fangija-zsyf/plus/doc.html
    new file mode 100644
    index 0000000..3e90837
    --- /dev/null
    +++ b/fangija-zsyf/plus/doc.html
    @@ -0,0 +1,156 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript">
    +// 空函数
    +function shield(){
    +	return false;
    +}
    +//取消浏览器的所有事件,使得active的样式在手机上正常生效
    +document.addEventListener('touchstart',shield,false);
    +document.oncontextmenu=shield;
    +// H5 plus事件处理
    +var ws=null,wc=null,as='slide-in-right';
    +var aw=false,ac=null;//加载文档内容子窗口
    +function plusReady(){
    +	// 获取自身窗口
    +	ws=plus.webview.currentWebview();
    +	ws.addEventListener('hide',function(){
    +		nvtt.innerText='';
    +		wc.clear();
    +		wc.hide();
    +	},false);
    +	// Android处理返回键
    +	plus.key.addEventListener('backbutton',function(){
    +		back();
    +	},false);
    +	// iOS平台使用新动画
    +	if('iOS'==plus.os.name){
    +		as='pop-in';
    +	}
    +	// 检测是否需要自动显示
    +	aw&&ws.show(as);
    +	aw=false;
    +	// 创建加载内容窗口
    +	var topoffset='45px';
    +	if(plus.navigator.isImmersedStatusbar()){// 兼容immersed状态栏模式
    +		topoffset=(Math.round(plus.navigator.getStatusbarHeight())+45)+'px';
    +	}
    +	wc=plus.webview.create(null,'doccontent',{top:topoffset,bottom:'0px',bounce:'vertical',bounceBackground:'#FFFFFF'});
    +	// 内容更新后自动显示
    +	wc.addEventListener('loaded',function(){
    +		wc.show('fade-in');
    +	},false);
    +	wc.hide();
    +	ws.append(wc);
    +	// 检测是否需要自动加载内容
    +	ac&&wc.loadURL(ac);
    +	ac=null;
    +}
    +if(window.plus){
    +	plusReady();
    +}else{
    +	document.addEventListener('plusready',plusReady,false);
    +}
    +// 处理返回事件
    +function back(){
    +	if(ws){
    +		if(ws.preate){
    +			ws.hide('auto');
    +		}else{
    +			ws.close('auto');
    +		}
    +	}else if(history.length>1){
    +		history.back();
    +	}else{
    +		close();
    +	}
    +}
    +// 更新标题和内容
    +function updateDoc(t,c){
    +	nvtt.innerText=t;
    +	if(ws){
    +		ws.show(as,null,function(){
    +			if(!wc){
    +				ac=c;
    +			}else{
    +				wc.loadURL(c);
    +			}
    +		});
    +	}else{
    +		aw=true;
    +		ac=c;
    +	}
    +}
    +		</script>
    +		<style type="text/css">
    +* {
    +	-webkit-user-select: none;
    +	-ms-touch-select: none;
    +}
    +html {
    +	width: 100%;
    +	height: 100%;
    +}
    +body {
    +	margin: 0;
    +	padding: 0;
    +	width: 100%;
    +	height: 100%;
    +    color:#666;
    +    background-color:#EAEAEA;
    +    font-family: Verdana, Arial, Helvetica , "Microsoft YaHei" , sans-serif;
    +    font-size:14px;
    +    word-break: break-all;
    +	-webkit-touch-callout:none;
    +	-webkit-tap-highlight-color:rgba(0,0,0,0);
    +	-webkit-text-size-adjust:none;
    +}
    +header {
    +	width: 100%;
    +	height: 44px;
    +	font-size: 17px;
    +	text-align: center;
    +	line-height: 44px;
    +	background: rgba(215,75,40,1);
    +	border-bottom: 1px solid rgba(215,75,40,0.8);
    +	-ms-touch-action: none;
    +}
    +.nvbt {
    +	width: 15%;
    +	height: 100%;
    +	float: left;
    +}
    +.nvbt:active {
    +	background-color: rgba(170,170,170,0.1);
    +}
    +#nvtt {
    +	width:70%;
    +	height:100%;
    +	color: #cccccc;
    +	float:left;
    +	overflow:hidden;
    +	text-overflow:ellipsis;
    +	white-space:nowrap;
    +}
    +.iback {
    +	background: no-repeat center center url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABYCAYAAAADWlKCAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKwwAACsMBNCkkqwAAABZ0RVh0Q3JlYXRpb24gVGltZQAwOS8xMi8xM5w+I3MAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzVxteM2AAACcklEQVR4nO3a0XESURiG4TeO99iBWoGZ+RvADtKBpAPtwBLsANJBrEAs4MyYDmIHSQXkgk0mMLK7ILt8/+F778ici394OGfDsher1Qqn05tTD+A2M4hYBhHLIGIZRCyDiGUQsQwilkHEMohYBhHLIGIZRCyDiGUQsQwilkHEMohYBhHLIGIZRCyDiGUQsQwilkHEMohYb089wNCVUq6Ay+blfUQsTjhOZxc1P9tbSlkAX7b+/C0ifpxgnF5Ve2TtwAD4OvIoe1UlSAsGwPsRR9m76kA6MAD+jjTKQVUF0gMD4HaEUQ6umot6T4ybiJgNP83hVbFDasGACnZIT4yfEXE1wjj/Xeod0hPjDpgNPsyRSguyB8Y0Ih6Gn+g4pQSpFQMSgtSMAclAaseARCDngAFJQM4FAxKAnBMGiH8xLKVMgV89ln6MiPthpxkn6R0SEUvgusfSZSnlsnuZftI75LlSygyYdyx7ZH1s/Rl+ouFKAQIvx9ctMGlZlh4lDQhAcywtqRhF+hqyXfMmT1m/6buasL6mzMaY6dilAoENlLuWZRNgnhEl1ZH1ulLKO9bH16eOpdfqz2K9Lt0Oea75EjilfadAsp2SFgQ2UH53LJ2XUr4PPtARSntkbVfL7+rVgEBvlM/NHQDJUh9Z2zWf/puOZbPhJzm8qkDgBaXt/teHcSY5rOpAAJp/c/vclJSrShDYifKI+NPvVV3U/1VzU3LavFyo/25SPUi2qj2ysmYQsQwilkHEMohYBhHLIGIZRCyDiGUQsQwilkHEMohYBhHLIGIZRCyDiGUQsQwilkHEMohYBhHLIGIZRCyDiGUQsZ4Ak9fPFwUy/HsAAAAASUVORK5CYII=);
    +	background-size: 50px 44px;
    +}
    +		</style>
    +	</head>
    +	<body onselectstart="return false;">
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div id="nvtt"></div>
    +		</header>
    +		<br/><br/><br/><br/>
    +		<p style="text-align:center;color:#666">正在加载中...</p>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    diff --git a/fangija-zsyf/plus/downloader.html b/fangija-zsyf/plus/downloader.html
    new file mode 100644
    index 0000000..95f37cd
    --- /dev/null
    +++ b/fangija-zsyf/plus/downloader.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"/>
    +		<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 dtask=null;
    +function createDownloadTask(){
    +	if ( dtask ) {
    +		outLine( "下载任务已创建!" );
    +		return;
    +	}
    +    var url = "http://snip.qq.com/resources/Snip_V2.0_5771.dmg";
    +    var options = {method:"GET"};
    +	dtask = plus.downloader.createDownload( url, options );
    +    dtask.addEventListener( "statechanged", function(task,status){
    +    	if(!dtask){return;}
    +    	switch(task.state) {
    +    		case 1: // 开始
    +    			outLine( "开始下载..." );
    +    		break;
    +    		case 2: // 已连接到服务器
    +    			outLine( "链接到服务器..." );
    +    		break;
    +    		case 3:	// 已接收到数据
    +    			outSet( "下载数据更新:" );
    +    			outLine( task.downloadedSize+"/"+task.totalSize );
    +    		break;
    +    		case 4:	// 下载完成
    +    			outSet( "下载完成!" );
    +    			outLine( task.totalSize );
    +    		break;
    +    	}
    +    } );
    +    outSet( "创建下载任务成功!" );
    +}
    +function startDownloadTask(){
    +	if ( !dtask ) {
    +		outSet( "请先创建下载任务!" );
    +		return;
    +	}
    +	dtask.start();
    +}
    +// 暂停下载任务
    +function pauseDownloadTask(){
    +    dtask.pause();
    +    outSet( "暂停下载!" );
    +}
    +// 恢复下载任务
    +function resumeDownloadTask(){
    +    dtask.resume();
    +    outSet( "恢复下载!" );
    +}
    +function cancelDownloadTask(){
    +	dtask.abort();
    +	dtask = null;
    +	outSet( "取消下载任务!" );
    +}
    +function clearDownloadTask(){
    +	
    +}
    +function startAll(){
    +	plus.downloader.startAll();
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div class="nvtt">Downloader</div>
    +			<div class="nvbt idoc" onclick="openDoc('Downloader Document','/doc/downloader.html')"></div>
    +		</header>
    +		<div id="dcontent" class="dcontent">
    +			<br/>
    +			<ul class="dlist">
    +				<li class="ditem" onclick="createDownloadTask()">创建下载任务</li>
    +				<li class="ditem" onclick="startDownloadTask()">启动下载任务</li>
    +				<li class="ditem" onclick="pauseDownloadTask()">暂停下载任务</li>
    +				<li class="ditem" onclick="resumeDownloadTask()">恢复下载任务</li>
    +				<li class="ditem" onclick="cancelDownloadTask()">取消下载任务</li>
    +				<!--<li class="ditem" onclick="clearDownloadTask()">清除所有任务</li>-->
    +			</ul>
    +		</div>
    +		<div id="output">
    +Downloader用于管理文件的下载,可从网络下载各种文件,并支持跨域访问。
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/events.html b/fangija-zsyf/plus/events.html
    new file mode 100644
    index 0000000..db1f7f8
    --- /dev/null
    +++ b/fangija-zsyf/plus/events.html
    @@ -0,0 +1,67 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript">
    +if(window.plus){
    +	if(document.body){
    +		outLine( currentTimeString()+" HTML5 Plus已准备" );
    +	}else{
    +		document.addEventListener("DOMContentLoaded",function(){
    +			outLine( currentTimeString()+" HTML5 Plus已准备" );
    +		},false);
    +	}
    +}else{
    +	document.addEventListener("plusready",function(){
    +		outLine( currentTimeString()+" HTML5 Plus已准备" );
    +	}, false );
    +}
    +document.addEventListener("pause",function(){
    +	outLine( currentTimeString()+" 应用从前台切换到后台" );
    +}, false );
    +document.addEventListener("resume",function(){
    +	outLine( currentTimeString()+" 应用从后台切换到前台" );
    +}, false );
    +document.addEventListener("netchange",function(){
    +    var types = {};
    +    types[plus.networkinfo.CONNECTION_UNKNOW] = "未知";
    +    types[plus.networkinfo.CONNECTION_NONE] = "未连接网络";
    +    types[plus.networkinfo.CONNECTION_ETHERNET] = "有线网络";
    +    types[plus.networkinfo.CONNECTION_WIFI] = "WiFi网络";
    +    types[plus.networkinfo.CONNECTION_CELL2G] = "2G蜂窝网络";
    +    types[plus.networkinfo.CONNECTION_CELL3G] = "3G蜂窝网络";
    +    types[plus.networkinfo.CONNECTION_CELL4G] = "4G蜂窝网络";
    +	outLine( currentTimeString()+" 切换网络:"+types[plus.networkinfo.getCurrentType()] );
    +}, false );
    +document.addEventListener("newintent",function(){
    +	outLine( currentTimeString()+" 从第三方应用启动:"+plus.runtime.arguments );
    +}, false );
    +function currentTimeString(){
    +	var d = new Date();
    +	return d.getHours()+":"+d.getMinutes()+":"+d.getSeconds()+"."+d.getMilliseconds()+" - ";
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div class="nvtt">Events</div>
    +			<div class="nvbt idoc" onclick="openDoc('Events Document','/doc/events.html')"></div>
    +		</header>
    +		<div id="dcontent" class="dcontent">
    +			<br/>
    +			<p class="des">按“HOME”键切换应用触发“pause”和“resume”事件,在设置中改变网络配置触发“netchange”事件。</p>
    +			<br/>
    +		</div>
    +		<div id="output">
    +Events模块管理客户端事件,包括系统事件,如扩展API加载完毕、程序前后台切换等。<br/>
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/file.html b/fangija-zsyf/plus/file.html
    new file mode 100644
    index 0000000..6b19e8b
    --- /dev/null
    +++ b/fangija-zsyf/plus/file.html
    @@ -0,0 +1,254 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript">
    +var dir="",root=[],current=null,parent=null,pitem=null,list=null;
    +var htmlItem='<img class="ficon"></img><div><span class="fname"></span><br/><span class="finf">...</span></div>';
    +document.addEventListener( "plusready", function () {
    +	pitem = document.getElementById("pdir");
    +	list = document.getElementById("dcontent");
    +
    +	// Get root item information
    +	var items = list.querySelectorAll(".fitem");
    +	for ( var i = 1; i < items.length; i++ ) {
    +		updateRootItem( items[i] );
    +	}
    +}, false );
    +// Update root information with item(HTMLUIElement)
    +function updateRootItem( item ) {
    +	plus.io.resolveLocalFileSystemURL( dir+item.id, function ( entry ) {
    +		root.push( entry );
    +		item.entry = entry;
    +		updateInf( item, entry );
    +	}, function ( e ) {
    +		outLine( "Update "+item.id+" information failed: "+e.message );
    +	} );
    +}
    +// Update HTMLUIElement information with entry object
    +function updateInf( item, entry ) {
    +	entry.getMetadata( function ( metadata ) {
    +		var inf = item.querySelector(".finf");
    +		if ( entry.isDirectory ) {
    +			inf.innerText = "文件夹:"+metadata.directoryCount+"项,文件:"+metadata.fileCount+"项";
    +		} else {
    +			inf.innerText = dateToStr(metadata.modificationTime);
    +		}
    +	}, function ( e ) {
    +		outLine( "Get metadata "+entry.name+" failed: "+e.message );
    +	}, false );
    +}
    +// Update ui with entries
    +function updateList( entries ) {
    +	var i,items = [].slice.apply(list.querySelectorAll(".fitem"));
    +	items.shift();
    +	// sort the entries
    +	entries.sort( sortCompareEntry )
    +	// Update item to ui
    +	for ( i = 0; i < entries.length; i++ ) {
    +		var di = null;
    +		if ( i < items.length ) {
    +			di=items[i];
    +			di.style.display = "block";
    +		} else {
    +			di = document.createElement("div");
    +			di.className = "fitem";
    +			di.setAttribute( "onclick", "openDir(this);" );
    +			di.innerHTML = htmlItem;
    +			list.appendChild( di );
    +		}
    +		di.entry = entries[i];
    +		di.id = di.entry.name;
    +		di.querySelector(".fname").innerText = di.id;
    +		di.querySelector(".finf").innerText = "";
    +		if ( entries === root ) {
    +			di.querySelector(".ficon").src = "../img/fdisk.png";
    +		} else {
    +			di.querySelector(".ficon").src = di.entry.isDirectory?"../img/fdir.png":"../img/ffile.png";
    +		}
    +		updateInf( di, di.entry );
    +	}
    +	// Hide other items
    +	for ( ; i < items.length; i++ ) {
    +		items[i].style.display = "none";
    +		items[i].entry = null;
    +	}
    +	// Reset scroll offset
    +	list.scrollTop = 0;
    +}
    +// Open directory with item(HTMLUIElement)
    +function openDir( item ) {
    +	var entry = item.entry;
    +	if ( !entry ) {
    +		outSet( "Open directory \""+item.id+"\" with null!" );
    +		return;
    +	}
    +	if ( entry.isDirectory ) {
    +		outSet( "Open directory: \""+dir+item.id+"\"" );
    +		var dirReader = entry.createReader();
    +		dirReader.readEntries( function( entries ) {
    +			parent = current;
    +			current = item.entry;
    +			dir = entry.toURL()+"/";
    +			// Dispaly up to parent item
    +			pitem.style.display = "block";
    +			// Update ui
    +			updateList( entries );
    +		}, function ( e ) {
    +			outLine( "Read directory "+item.id+" failed: "+e.message );
    +		} );
    +	} else {
    +		outSet( "Open file: \""+dir+item.id+"\"" );
    +		plus.runtime.openFile( dir+item.id, {}, function ( e ) {
    +			plus.nativeUI.alert( "无法打开此文件:"+e.emssage );
    +		} );
    +	}
    +}
    +// Back to parent directory
    +function parentDir() {
    +	outSet( "Go to previous directory: \""+dir+"\"");
    +	var p = dir.lastIndexOf( "/", dir.length-2 );
    +	if ( p < 0 || !parent ) { // Up to root
    +		dir = "";
    +		current = parent = null;
    +		// hide up to parent item
    +		pitem.style.display = "none";
    +		// Update ui
    +		updateList( root );
    +	} else {
    +		var dirReader = parent.createReader();
    +		dirReader.readEntries( function( entries ) {
    +			dir = dir.substr( 0, p+1 );
    +			outLine( "Current directory: \""+dir+"\"" );
    +			current = parent;
    +			current.getParent( function ( entry ) {
    +				parent = entry;
    +			}, function ( e ) {
    +				outLine( "Get \""+current.name+"\" parent directory failed: "+e.emssage );
    +			} );
    +			parent = null;
    +			// Update ui
    +			updateList( entries );
    +		}, function ( e ) {
    +			outLine( "Read directory "+item.id+" failed: "+e.message );
    +		} );
    +	}
    +}
    +// Entry sort compare
    +function sortCompareEntry( a, b ) {
    +	if ( a.isDirectory && b.isFile ) {
    +		return -1;
    +	} else if ( a.isFile && b.isDirectory ) {
    +		return 1;
    +	} else {
    +		return a.name - b.name;
    +	}
    +}
    +// Format data to string
    +function dateToStr( datetime ) {
    +	var year = datetime.getFullYear(),
    +	month = datetime.getMonth()+1,
    +	date = datetime.getDate(),
    +	hour = datetime.getHours(),
    +	minutes = datetime.getMinutes(),
    +	second = datetime.getSeconds();
    +	if ( month < 10 ) {
    +		month = "0" + month;
    +	}
    +	if ( date < 10 ) {
    +		date = "0" + date;
    +	}
    +	if ( hour < 10 ) {
    +		hour = "0" + hour;
    +	}
    +	if ( minutes < 10 ) {
    +		minutes = "0" + minutes;
    +	}
    +	if ( second < 10 ) {
    +		second = "0" + second;
    +	}
    +	return (year+"-"+month+"-"+date+" "+hour+":"+minutes+":"+second);
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +		<style type="text/css">
    +.fitem {
    +	width: 96%;
    +	overflow: hidden;
    +	padding: 10px 2%;
    +	border-bottom: 1px solid #c6c6c6;
    +	text-align: left;
    +}
    +.fitem:active {
    +	background: #f4f4f4;
    +}
    +.ficon {
    +	height: 40px;
    +	float: left;
    +	margin-right: 8px;
    +}
    +.fup {
    +	line-height:40px;
    +}
    +.fname {
    +	font-weight: bolder;
    +	height: 22px;
    +	font-size: 16px;
    +}
    +.finf {
    +	height: 18px;
    +	font-size: 12px;
    +}
    +		</style>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div class="nvtt">File System</div>
    +			<div class="nvbt idoc" onclick="openDoc('File System Document','/doc/io.html')"></div>
    +		</header>
    +		<div id="dcontent" class="dcontent">
    +			<div id="pdir" class="fitem" style="display:none" onclick="parentDir()">
    +				<img class="ficon" src="../img/fup.png"/>
    +				<div class="fup"><span class="fname">返回上一级</span></div>
    +			</div>
    +			<div id="_www" class="fitem" onclick="openDir(this)">
    +				<img class="ficon" src="../img/fdisk.png"/>
    +				<div>
    +					<span class="fname">www</span><br/>
    +					<span class="finf">...</span>
    +				</div>
    +			</div>
    +			<div id="_doc" class="fitem" onclick="openDir(this)">
    +				<img class="ficon" src="../img/fdisk.png"/>
    +				<div>
    +					<span class="fname">doc</span><br/>
    +					<span class="finf">...</span>
    +				</div>
    +			</div>
    +			<div id="_documents" class="fitem" onclick="openDir(this)">
    +				<img class="ficon" src="../img/fdisk.png"/>
    +				<div>
    +					<span class="fname">documents</span><br/>
    +					<span class="finf">...</span>
    +				</div>
    +			</div>
    +			<div id="_downloads" class="fitem" onclick="openDir(this)">
    +				<img class="ficon" src="../img/fdisk.png"/>
    +				<div>
    +					<span class="fname">downloads</span><br/>
    +					<span class="finf">...</span>
    +				</div>
    +			</div>
    +		</div>
    +		<div id="output">
    +File System模块管理本地文件系统,用于文件系统目录的浏览、文件的写入、文件的读取等操作。
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    diff --git a/fangija-zsyf/plus/gallery.html b/fangija-zsyf/plus/gallery.html
    new file mode 100644
    index 0000000..bbee9de
    --- /dev/null
    +++ b/fangija-zsyf/plus/gallery.html
    @@ -0,0 +1,200 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript">
    +function plusReady(){
    +	// 用户侧滑返回时关闭显示的图片
    +	plus.webview.currentWebview().addEventListener('popGesture', function(e){
    +		if(e.type=='start'){
    +			closeImg();
    +		}
    +	}, false );
    +}
    +document.addEventListener('plusready',plusReady,false);
    +
    +function getImage(){
    +	var cmr = plus.camera.getCamera();
    +	cmr.captureImage(function(path){
    +		outSet('保存照片到系统相册:');
    +		plus.gallery.save(path, function(){
    +			outLine('保存成功');
    +		}, function(e){
    +			outSet('保存失败: '+JSON.stringify(e));
    +		});
    +	}, function(e){
    +		outSet('取消拍照');
    +	}, {filename:'_doc/gallery/',index:1});
    +}
    +function galleryImg(){
    +	// 从相册中选择图片
    +	outSet('从相册中选择图片:');
    +    plus.gallery.pick(function(path){
    +    	outLine(path);
    +        //showImg( path );
    +        //createItem(path);
    +    }, function(e){
    +    	outSet('取消选择图片');
    +    }, {filter:'image'});
    +}
    +function galleryImgs(){
    +	// 从相册中选择图片
    +	outSet('从相册中选择多张图片:');
    +    plus.gallery.pick(function(e){
    +    	for(var i in e.files){
    +	    	outLine(e.files[i]);
    +    	}
    +    }, function(e){
    +    	outSet('取消选择图片');
    +    },{filter:'image',multiple:true,system:false});
    +}
    +function galleryImgsMaximum(){
    +	// 从相册中选择图片
    +	outSet('从相册中选择多张图片(限定最多选择3张):');
    +    plus.gallery.pick(function(e){
    +    	for(var i in e.files){
    +	    	outLine(e.files[i]);
    +    	}
    +    }, function(e){
    +    	outSet('取消选择图片');
    +    },{filter:'image',multiple:true,maximum:3,system:false,onmaxed:function(){
    +		plus.nativeUI.alert('最多只能选择3张图片');
    +    }});// 最多选择3张图片
    +}
    +var lfs=null;// 保留上次选择图片列表
    +function galleryImgsSelected(){
    +	// 从相册中选择图片
    +	outSet('从相册中选择多张图片(限定最多选择3张):');
    +    plus.gallery.pick(function(e){
    +    	lfs=e.files;
    +    	for(var i in e.files){
    +	    	outLine(e.files[i]);
    +    	}
    +    }, function(e){
    +    	outSet('取消选择图片');
    +    },{filter:'image',multiple:true,maximum:3,selected:lfs,system:false,onmaxed:function(){
    +		plus.nativeUI.alert('最多只能选择3张图片');
    +    }});// 最多选择3张图片
    +}
    +function showImg(url){
    +	// 兼容以"file:"开头的情况
    +	if(0!=url.indexOf('file://')){
    +		url='file://'+url;
    +	}
    +	var _body_ = document.body;
    +	var _div_ = document.createElement('div');
    +	_div_.style.top='0px';
    +	_div_.style.left='0px';
    +	_div_.style.height='100%';
    +	_div_.style.width='100%';
    +	_div_.style.zIndex='99999';
    +	_div_.style.position='fixed';
    +	_div_.style.background='#ffffff';
    +	_div_.id='imgShow';
    +	_div_.onclick=closeImg;
    +	var _img_=document.createElement('img');
    +	_img_.src=url;
    +	_img_.style.width='100%';
    +	_body_.appendChild(_div_);
    +	_div_.appendChild(_img_);
    +}
    +function closeImg(){
    +	var trnode=document.getElementById('imgShow');
    +	trnode&&trnode.parentNode.removeChild(trnode);
    +}
    +
    +var list=null,first=null;
    +document.addEventListener('DOMContentLoaded', function(){
    +	list=document.getElementById('list');
    +	first=document.getElementById('empty');
    +}, false);
    +// 添加列表项
    +function createItem(path){
    +	var li = document.createElement('li');
    +	li.className = 'ditem';
    +	li.innerHTML = '<span class="iplay"><font class="aname"></font><br/><font class="ainf"></font></span>';
    +	li.setAttribute('onclick', 'displayMedia(this);' );
    +	list.insertBefore(li, first.nextSibling);
    +	var i = path.lastIndexOf('/');
    +	if(i<0){
    +		i = path.lastIndexOf('\\');
    +	}
    +	li.querySelector('.aname').innerText = path.substr(i+1);
    +	li.querySelector('.ainf').innerText = path;
    +	li.path = path;
    +	// 设置空项不可见
    +	first.style.display = 'none';
    +}
    +// 清除列表记录
    +function cleanList() {
    +	list.innerHTML = '<li id="empty" class="ditem-empty">无记录</li>';
    +	empty = document.getElementById('empty');
    +	// 删除音频文件
    +	outSet('清空选择照片记录:');
    +}
    +// 返回后关闭图片显示
    +var _back=window.back;
    +window.back=function(){
    +	closeImg();
    +	_back();
    +};
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +		<style type="text/css">
    +.aname {
    +	font-size: 16px;
    +	text-overflow:ellipsis;
    +	white-space:nowrap;
    +}
    +.ainf {
    +	font-size: 12px;
    +	text-overflow:ellipsis;
    +	white-space:nowrap;
    +}
    +.iplay {
    +	display: block;
    +	background: no-repeat right center url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABYCAYAAAADWlKCAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKwwAACsMBNCkkqwAAABZ0RVh0Q3JlYXRpb24gVGltZQAwOS8xMi8xM5w+I3MAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzVxteM2AAAD9UlEQVR4nO2b3XETMRRGDwzvoYOkg5hRAVkqiKmAdIA7wHSQVECoALsC1gXciV0BTge4gvCwgnHk9d/+WF8m97ztxrlXs8fS1Urym6enJxwd3uZugPMcFyKGCxHDhYjhQsRwIWK4EDFciBguRAwXIoYLEcOFiOFCxHAhYrgQMVyIGC5EDBcihgsRw4WI4ULEcCFiuBAx3uVuwDGY2XtgCBTAALjc8tEFMAdKYBJC+HOK9nXBm5dwUM7MCmAEXDcMMQVuQwhlV23qC2khZjYAboGrjkLOgFEIYd5RvM6RrSFmdgs80J0MYqyHGFsSuR4S60TJ9vrwCEziZ+YhhGXy/xdU9aWgqjfnW+IsgEKtvkgJiUPUPfUyZsD42DoQ68+Y+p62AG6UhjAZITt6xopq3L9vGf+Gqh6dJX+S6ilKNaRkU8YCGLSVARBjDGLMdS5jbgkkhMQiWyejSGtEG2KsghopKoU++5AV68ZDcrvXYWTH8Pghdz1R6CHpN3MFDPsc02PsYcy1qy0nJ6uQOANKZz+jfcOUmd3H6W1jYo5RcvsqtikbuXtI+kBmBxbwz8DczMZtksdcsz1tOinZhMRxPF2bGh8R4gz4amZLMxu2aEqa8zq2LQs5e0j6EB8bLv6dAz/NrGwyjMWcj3vadjJyCimS60nLeFfAbzO7bfANT3MXLdvSmJxCBsl12VHcL8AyvpkfSpo7bdvJyCkkfQfocv5/Bnw3s/mBs6Y097aFzd7JPcv6T5dv5GtcAr/2TZN7yt0IGSE908k0+RS8FiEvhhd1yKEFUw5YAVBApoe0XQrZwgL4GEIY7pLRU+5G5OwhC57PZgbAsqPYK6rdxUMXC9Npbro8fzJy9pB0qll0FPcOuDhCRl3ubEvwOYWUyXXb5YoZ1X7GqMHSfZq7bNmWxuQUki5XnDdc+n4EPoUQiiabSzFnejKl7TJOY7IJid/iaXJ7fESIFfCNas+9zQNMc05zHnjIPctKx/mrA9egflCJGLd5eDFXukGWdddQYU+95PlDWVE97GXPeS+oivf6saBZCKHoM+8+cvcQ2NyhOwMmfW4SxdgTNs9oZd0tBAEhsRDfJbcvgbIPKTtOnNzlPnECAkPWP8xsTv3ZrJ1v2UfmuKDqGRt5QgjZ9kDWyd5D1iioP1U4P3KzqZYYY5v0om38rpDpIeCHrUFMCPjPEeSE/COetf3SU/i7EEL2GVUdSjXkGfGBfWDzIFsb/q93dRizU2R7yDr+o09R/GfRzsmRrSGvFRcihgsRw4WI4ULEcCFiuBAxXIgYLkQMFyKGCxHDhYjhQsRwIWK4EDFciBguRAwXIoYLEcOFiOFCxHAhYrgQMf4CVuqCm+17t3sAAAAASUVORK5CYII=);
    +	background-size: 50px 44px;
    +	-ms-touch-action: auto;
    +}
    +		</style>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div class="nvtt">Gallery</div>
    +			<div class="nvbt idoc" onclick="openDoc('Gallery Document','/doc/gallery.html')"></div>
    +		</header>
    +		<div id="dcontent" class="dcontent">
    +			<br/>
    +			<div class="button" onclick="getImage()">拍照并保存到相册</div>
    +			<div class="button" onclick="galleryImg()">从相册中单选图片</div>
    +			<div class="button" onclick="galleryImgs()">从相册中多选图片</div>
    +			<div class="button" onclick="galleryImgsMaximum()">从相册中多选图片(最多三张)</div>
    +			<div class="button" onclick="galleryImgsSelected()">从相册中多选图片(保存勾选记录)</div>
    +			<br/>
    +			<!-- Image list -->
    +			<!--<ul id="list" class="dlist" style="text-align:left;">
    +				<li id="empty" class="ditem-empty">无记录</li>
    +				<li class="ditem" onclick="displayMedia(this);">
    +					<span class="iplay">
    +						<div class="aname">.BjMobileService_bmcc168.apk.png</div><br>
    +						<div class="ainf">file:///storage/sdcard0/QQBrowser/安装包/.BjMobileService_bmcc168.apk.png</div>
    +					</span>
    +				</li>
    +			</ul>
    +			<br/>
    +			<div class="button button-waring" onclick="cleanList()">清空列表</div>
    +			<br/>-->
    +		</div>
    +		<div id="output">
    +Gallery模块管理系统相册,如从相册中选择图片或视频文件、保存图片或视频文件到相册等功能。
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js"></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/geolocation.html b/fangija-zsyf/plus/geolocation.html
    new file mode 100644
    index 0000000..6d2b946
    --- /dev/null
    +++ b/fangija-zsyf/plus/geolocation.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"/>
    +		<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 watchId;
    +function geoInf( position ) {
    +	var str = "";
    +	str += "地址:"+position.addresses+"\n";//获取地址信息
    +	str += "坐标类型:"+position.coordsType+"\n";
    +	var timeflag = position.timestamp;//获取到地理位置信息的时间戳;一个毫秒数;
    +	str += "时间戳:"+timeflag+"\n";
    +	var codns = position.coords;//获取地理坐标信息;
    +	var lat = codns.latitude;//获取到当前位置的纬度;
    +	str += "纬度:"+lat+"\n";
    +	var longt = codns.longitude;//获取到当前位置的经度
    +	str += "经度:"+longt+"\n";
    +	var alt = codns.altitude;//获取到当前位置的海拔信息;
    +	str += "海拔:"+alt+"\n";
    +	var accu = codns.accuracy;//地理坐标信息精确度信息;
    +	str += "精确度:"+accu+"\n";
    +	var altAcc = codns.altitudeAccuracy;//获取海拔信息的精确度;
    +	str += "海拔精确度:"+altAcc+"\n";
    +	var head = codns.heading;//获取设备的移动方向;
    +	str += "移动方向:"+head+"\n";
    +	var sped = codns.speed;//获取设备的移动速度;
    +	str += "移动速度:"+sped;
    +	console.log(JSON.stringify(position));
    +	outLine( str );
    +}
    +function getPos() {
    +	outSet( "获取位置信息:" );
    +	plus.geolocation.getCurrentPosition( geoInf, function ( e ) {
    +		outSet( "获取位置信息失败:"+e.message );
    +	}, {geocode:false} );
    +}
    +function watchPos() {
    +	if ( watchId ) {
    +		return;
    +	}
    +	watchId = plus.geolocation.watchPosition( function ( p ) {
    +		outSet( "监听位置变化信息:" );
    +		geoInf( p );
    +	}, function ( e ) {
    +		outSet( "监听位置变化信息失败:"+e.message );
    +	}, {geocode:false} );
    +}
    +function clearWatch() {
    +	if ( watchId ) {
    +		outSet( "停止监听位置变化信息" );
    +		plus.geolocation.clearWatch( watchId );
    +		watchId = null;
    +	}
    +}
    +// 通过定位模块获取位置信息
    +function getGeocode(){
    +	outSet( "获取定位位置信息:" );
    +	plus.geolocation.getCurrentPosition( geoInf, function ( e ) {
    +		outSet( "获取定位位置信息失败:"+e.message );
    +	},{geocode:true});
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div class="nvtt">Geolocation</div>
    +			<div class="nvbt idoc" onclick="openDoc('Geolocation Document','/doc/geolocation.html')"></div>
    +		</header>
    +		<div id="dcontent" class="dcontent">
    +			<br/>
    +			<ul class="dlist">
    +				<li class="ditem" onclick="getPos()">获取设备位置信息</li>
    +				<li class="ditem" onclick="watchPos()">监听设备位置信息</li>
    +				<li class="ditem" onclick="clearWatch()">停止监听</li>
    +			</ul>
    +			<br/>
    +			<div class="button" onclick="getGeocode()">获取定位信息</div>
    +			<p class="des">
    +				Android平台推荐配置高德或百度定位,避免在部分设备(如三星、HTC等)可能无法获取位置信息的问题。
    +			</p>
    +		</div>
    +		<div id="output">
    +Geolocation可获取设备位置信息,包括经度、纬度、高度等信息。
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/maps.html b/fangija-zsyf/plus/maps.html
    new file mode 100644
    index 0000000..a4a4578
    --- /dev/null
    +++ b/fangija-zsyf/plus/maps.html
    @@ -0,0 +1,52 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript">
    +function navigateWithMap(){
    +	if('Android'===plus.os.name&&navigator.userAgent.indexOf('StreamApp')>0){
    +		plus.nativeUI.toast('当前环境暂不支持地图插件');
    +		return;
    +	}
    +	// 设置目标位置坐标点和其实位置坐标点
    +	var dst = new plus.maps.Point(116.39131928,39.90793074); // 天安门 
    +	var src = new plus.maps.Point(116.335,39.966); // 大钟寺
    +	// 调用系统地图显示 
    +	plus.maps.openSysMap( dst, "天安门", src );
    +}
    +function showMaps(){
    +	if('Android'===plus.os.name&&navigator.userAgent.indexOf('StreamApp')>0){
    +		plus.nativeUI.toast('当前环境暂不支持地图插件');
    +		return;
    +	}
    +	var ws=plus.webview.currentWebview();
    +	var wm=plus.webview.getWebviewById(plus.runtime.appid);
    +	wm&&wm.evalJS("preateClear()");
    +	clicked('maps_map.html',false,true);
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div class="nvtt">Maps</div>
    +			<div class="nvbt idoc" onclick="openDoc('Maps Document','/doc/maps.html')"></div>
    +		</header>
    +		<div id="dcontent" class="dcontent">
    +			<br/>
    +			<div class="button" onclick="navigateWithMap();">调用第三方地图程序导航</div>
    +			<div class="button" onclick="showMaps();">应用内置地图</div>
    +			<br/>
    +		</div>
    +		<div id="output">
    +Maps模块管理地图控件,用于在web页面中显示地图控件,提供各种接口操作地图控件,如添加标点、路线等。通过plus.maps可获取地图管理对象。
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/maps_map.html b/fangija-zsyf/plus/maps_map.html
    new file mode 100644
    index 0000000..cca8b3c
    --- /dev/null
    +++ b/fangija-zsyf/plus/maps_map.html
    @@ -0,0 +1,97 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript">
    +var ws=null,wo=null;
    +var em=null,map=null,pcenter=null;
    +// H5 plus事件处理
    +function plusReady(){
    +	if(!em||ws){return};
    +	// 获取窗口对象
    +	ws=plus.webview.currentWebview();
    +	wo=ws.opener();
    +	//高德地图坐标为(116.3974357341,39.9085574220), 百度地图坐标为(116.3975,39.9074)
    +	pcenter = new plus.maps.Point(116.3975,39.9074);
    +	setTimeout(function(){
    +		map=new plus.maps.Map("map");
    +		map.centerAndZoom(pcenter,12);
    +		createMarker();
    +		// 创建子窗口
    +		createSubview();
    +	},300);
    +	// 显示页面并关闭等待框
    +    ws.show("pop-in");
    +}
    +if(window.plus){
    +	plusReady();
    +}else{
    +	document.addEventListener("plusready",plusReady,false);
    +}
    +// DOMContentloaded事件处理
    +document.addEventListener("DOMContentLoaded",function(){
    +	em=document.getElementById("map");
    +	window.plus&&plusReady();
    +},false);
    +function userLocation(){
    +	map.showUserLocation( true );
    +	map.getUserLocation(function(state,pos){
    +		if(0==state){
    +			map.setCenter(pos);
    +		}
    +	});
    +}
    +function createMarker(){
    +	//高德地图坐标为(116.3406445236,39.9630878208), 百度地图坐标为(116.347292,39.968716
    +	var marker=new plus.maps.Marker(new plus.maps.Point(116.347292,39.968716));
    +	marker.setIcon("/logo.png");
    +	marker.setLabel("HBuilder");
    +	var bubble = new plus.maps.Bubble("打造最好的HTML5移动开发工具");
    +	marker.setBubble(bubble);
    +	map.addOverlay(marker);
    +}
    +function createSubview(){
    +	// 创建加载内容窗口
    +	var topoffset='44px';
    +	if(plus.navigator.isImmersedStatusbar()){// 兼容immersed状态栏模式
    +		topoffset=(Math.round(plus.navigator.getStatusbarHeight())+44)+'px';
    +	}
    +	var wsub=plus.webview.create('maps_map_sub.html','sub',{top:topoffset,height:'60px',position:'absolute',scrollIndicator:'none',background:'transparent'});
    +	ws.append(wsub);
    +}
    +function resetMap(){
    +	//map.centerAndZoom(pcenter,12);
    +	map.reset();
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +		<style type="text/css">
    +#map {
    +	width: 100%;
    +	position: fixed;
    +	top: 45px;
    +	bottom: 0px;
    +	line-height: 200px;
    +	text-align: center;
    +	background: #FFFFFF;
    +}
    +.ipos {
    +	background: no-repeat center center url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAsCAYAAAAn4+taAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABZ0RVh0Q3JlYXRpb24gVGltZQAwNC8wMS8xNExYUU4AAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzbovLKMAAACTklEQVRoge2YO2gUURSGv7PjEkULO4UoFooIFgtzprAPWMiWKewSTadgYWEhBjHCloGUQtYHaGEjGAQtUmgnZO9YpsqC2NgYIwjRInMscoPrYkzhGTIs8zdnzoP578ewM/eumBmjoMZ+L8BLNUjVVINUTTVI1VSDVE0jA3KgjJuGEE6LyI2iKC6JyBkzWxORF8ADVV0rw1O891ohhCngPnDyL+1PZjabZdkTV1OcQUIIV4CHMf0JvAK+A0eANjAWe1dV9ZGbMY6/kTzPzwHzMV0VkZaqTgLTqjopIi1gNfbnQwhnvbzBEcTMbgFHgXURaRdFsRFCWAa+hhCWi6LYEJE2sB7nbnp5g+9b62KMIU3Tvoh0gQm2Fz0hIt00TftAADCztqO3K8h4jJsAZnZ+sDmQ/wAQkXEc5QnyJcZjACLybLApIk/j5YmheRd5gryLMev1elOqesfMrpvZczO7pqqzvV5vGmgNzbvIDUREXsbLRES6IYTbzWZzMcuyy0mSPA4h3BWRxR3PgXkff6/vSJ7nx83sPXBqoLwJFEACHByofxSRC2mafnYxx/GJxEW9GSofAg7zJwTAa08I8N80doG9HrHx++vvJlcQVV0xs6V/zZjZkqquePpCOdv4OWBrl96WiNwrwdMfJMuyHFjYpb2gqh+8PaG8g9Uc0B+q9WO9FJUCoqrfgBm2X73EOBPrpai0o66qvgU6Me3EvDSVctTdUZIknaIoxhqNRmfv6f+T+1F3vzQy/6LUIFVTDVI11SBVUw1SNdUgVdPIgPwCtt+2JPQRVicAAAAASUVORK5CYII=);
    +	background-size: 50px 44px;
    +}		</style>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back();"></div>
    +			<div class="nvtt">应用内置地图</div>
    +			<div class="nvbt ipos" onclick="userLocation();"></div>
    +		</header>
    +		<div id="map">地图加载中...</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/maps_map_sub.html b/fangija-zsyf/plus/maps_map_sub.html
    new file mode 100644
    index 0000000..a374182
    --- /dev/null
    +++ b/fangija-zsyf/plus/maps_map_sub.html
    @@ -0,0 +1,24 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript">
    +function resetMap(){
    +	plus.webview.currentWebview().opener().evalJS('resetMap()');
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +		<style type="text/css">
    +html,body{
    +	overflow:hidden;
    +}
    +		</style>
    +	</head>
    +	<body>
    +		<div class="button" style="margin:.2em auto;width:50%" onclick="resetMap()">重 置</div>
    +	</body>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/message.html b/fangija-zsyf/plus/message.html
    new file mode 100644
    index 0000000..ec8cf22
    --- /dev/null
    +++ b/fangija-zsyf/plus/message.html
    @@ -0,0 +1,91 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript">
    +function addachmentMail(){
    +	outSet("发送带附件邮件:")
    +	var msg = plus.messaging.createMessage(plus.messaging.TYPE_EMAIL);
    +	msg.to = ['service@dcloud.io'];
    +	msg.body = 'This is an example mail';
    +	msg.addAttachment("_www/img/helloh5.jpg");
    +	plus.messaging.sendMessage( msg );
    +}
    +function htmlMail(){
    +	outSet("发送HTML邮件:");
    +	if ( plus.os.name == "iOS" ) {
    +		var msg = plus.messaging.createMessage(plus.messaging.TYPE_EMAIL);
    +		msg.to = ["service@dcloud.io"];
    +		msg.body = '<!DOCTYPE HTML><html><head><meta charset="utf-8"/></head><body><h1>Hello</h1>This is an HTML content mail.</body></html>';
    +		msg.bodyType = "html";
    +		plus.messaging.sendMessage( msg );
    +		outLine("支持");
    +	} else {
    +		outLine("此平台不支持发送HTML邮件功能!");
    +		plus.nativeUI.alert("此平台不支持发送HTML邮件功能!");
    +	}
    +}
    +function slientSMS(){
    +	outSet("后台发送短信:");
    +	if ( plus.os.name == "Android" ) {
    +		var bts=["发送到10086","发送到10010","发送到10000"];
    +		plus.nativeUI.prompt("短信内容",function(e){
    +			var to=null;
    +			switch(e.index){
    +				case 0:
    +				to=['10086'];
    +				break;
    +				case 1:
    +				to=['10086'];
    +				break;
    +				case 2:
    +				to=['10086'];
    +				break;
    +				default:
    +				return;
    +				break;
    +			}
    +			var msg = plus.messaging.createMessage(plus.messaging.TYPE_SMS);
    +			msg.to=to;
    +			msg.body=e.value;
    +			msg.silent=true;
    +			plus.messaging.sendMessage( msg );
    +			outLine( "\""+e.value+"\""+bts[e.index] );
    +		},"发送短信","CXYE",bts);
    +	} else {
    +		outLine("此平台不支持后台发送短信功能!");
    +		plus.nativeUI.alert("此平台不支持后台发送短信功能!");
    +	}
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div class="nvtt">Messaging</div>
    +			<div class="nvbt idoc" onclick="openDoc('Messaging Document','/doc/messaging.html')"></div>
    +		</header>
    +		<div id="dcontent" class="dcontent">
    +			<br/>
    +			<div class="button" onclick="addachmentMail()">发送附件邮件</div>
    +			<div class="button" onclick="htmlMail()">发送HTML邮件</div>
    +			<div class="button" onclick="slientSMS()">后台发送短信</div>
    +			<br/>
    +			<ul class="dlist">
    +				<li class="ditem"><a style="text-decoration:none;color:#666;display:block" href="sms:10086">发送短信</a></li>
    +				<li class="ditem"><a style="text-decoration:none;color:#666;display:block" href="tel:10086">拨打电话</a></li>
    +				<li class="ditem"><a style="text-decoration:none;color:#666;display:block" href="mailto:service@dcloud.io">发送邮件</a></li>
    +			</ul>
    +		</div>
    +		<div id="output">
    +Messaging管理设备通讯功能,可用于发送短信、彩信、邮件等。
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/nativeobj.html b/fangija-zsyf/plus/nativeobj.html
    new file mode 100644
    index 0000000..09fa485
    --- /dev/null
    +++ b/fangija-zsyf/plus/nativeobj.html
    @@ -0,0 +1,32 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript">
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +		<style type="text/css">
    +		</style>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div class="nvtt">NativeObj</div>
    +			<div class="nvbt idoc" onclick="openDoc('Audio Document','/doc/nativeobj.html')"></div>
    +		</header>
    +		<div id="dcontent" class="dcontent">
    +			<br/>
    +			<div class="button" onclick="clicked('nativeobj_animation.html',true)">原生View过渡动画示例</div>
    +			<br/>
    +		</div>
    +		<div id="output">
    +NativeObj用于管理系统原生对象,如原生View控件、图片对象等。
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js"></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/nativeobj_animation.html b/fangija-zsyf/plus/nativeobj_animation.html
    new file mode 100644
    index 0000000..b9d6f71
    --- /dev/null
    +++ b/fangija-zsyf/plus/nativeobj_animation.html
    @@ -0,0 +1,148 @@
    +<!DOCTYPE html>
    +<html>
    +	<head>
    +	<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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript">
    +var nWaiting,nTitle; // 原生view的等待界面和title
    +var touchX; // nWaiting的点击坐标的x数值
    +var backPressed; //返回箭头是否处于按下状态
    +var contentWebview=null; //准备打开网址的webview
    +var bitmap=null; // 返回图标
    +var topoffset=0;
    +// H5 plus事件处理
    +function plusReady(){
    +	if(plus.navigator.isImmersedStatusbar()){// 兼容沉浸式状态栏模式
    +		topoffset=Math.round(plus.navigator.getStatusbarHeight());
    +	}
    +	var bdata = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABYCAYAAAADWlKCAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKwwAACsMBNCkkqwAAABZ0RVh0Q3JlYXRpb24gVGltZQAwOS8xMi8xM5w+I3MAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzVxteM2AAACcklEQVR4nO3a0XESURiG4TeO99iBWoGZ+RvADtKBpAPtwBLsANJBrEAs4MyYDmIHSQXkgk0mMLK7ILt8/+F778ici394OGfDsher1Qqn05tTD+A2M4hYBhHLIGIZRCyDiGUQsQwilkHEMohYBhHLIGIZRCyDiGUQsQwilkHEMohYBhHLIGIZRCyDiGUQsQwilkHEMohYb089wNCVUq6Ay+blfUQsTjhOZxc1P9tbSlkAX7b+/C0ifpxgnF5Ve2TtwAD4OvIoe1UlSAsGwPsRR9m76kA6MAD+jjTKQVUF0gMD4HaEUQ6umot6T4ybiJgNP83hVbFDasGACnZIT4yfEXE1wjj/Xeod0hPjDpgNPsyRSguyB8Y0Ih6Gn+g4pQSpFQMSgtSMAclAaseARCDngAFJQM4FAxKAnBMGiH8xLKVMgV89ln6MiPthpxkn6R0SEUvgusfSZSnlsnuZftI75LlSygyYdyx7ZH1s/Rl+ouFKAQIvx9ctMGlZlh4lDQhAcywtqRhF+hqyXfMmT1m/6buasL6mzMaY6dilAoENlLuWZRNgnhEl1ZH1ulLKO9bH16eOpdfqz2K9Lt0Oea75EjilfadAsp2SFgQ2UH53LJ2XUr4PPtARSntkbVfL7+rVgEBvlM/NHQDJUh9Z2zWf/puOZbPhJzm8qkDgBaXt/teHcSY5rOpAAJp/c/vclJSrShDYifKI+NPvVV3U/1VzU3LavFyo/25SPUi2qj2ysmYQsQwilkHEMohYBhHLIGIZRCyDiGUQsQwilkHEMohYBhHLIGIZRCyDiGUQsQwilkHEMohYBhHLIGIZRCyDiGUQsZ4Ak9fPFwUy/HsAAAAASUVORK5CYII=';
    +	bitmap = new plus.nativeObj.Bitmap('back');
    +	bitmap.loadBase64Data(bdata, function(){
    +		bitmap.isLoadSuccess = true;
    +		nWaiting&&nWaiting.drawBitmap(bitmap,null,{top:topoffset+'px',left:'0px',width:'44px',height:'44px'},'backicon');
    +		console.log('Back bitmap load success');
    +	}, function(e){
    +		console.log('Back bitmap load failed: '+JSON.stringify(e));
    +	});
    +	
    +	//创建nWaiting
    +	creatWaiting();
    +}
    +if(window.plus){
    +	plusReady();
    +}else{
    +	document.addEventListener('plusready',plusReady,false);
    +}
    +// 创建原生View控件
    +function creatWaiting(){
    +	console.log('creatWaiting: '+topoffset);
    +	//判断view是否已存在,避免重复创建,尤其调试刷新网页时很容易触发重复创建 
    +	nWaiting = plus.nativeObj.View.getViewById('nWaiting');
    +	if(nWaiting){
    +		return;
    +	}
    +	nWaiting = new plus.nativeObj.View('nWaiting',{top:'0px',left:'0px',height:'100%',width:'100%'});
    +	nWaiting.interceptTouchEvent(true);
    +	
    +	//初始化绘制nwaiting界面
    +	nWaiting.drawRect('#D74B28',{top:'0px',left:'0px',height:(topoffset+44)+'px',width:'100%'}) //绘制title背景色
    +	bitmap&&bitmap.isLoadSuccess&&nWaiting.drawBitmap(bitmap,null,{top:topoffset+'px',left:'0px',width:'44px',height:'44px'},'backicon');
    +	nWaiting.drawText( '标题', {top:topoffset+'px',left:'0px',width:'100%',height:'44px'}, {size:'17px',color:'#CCCCCC'});
    +	nWaiting.drawRect('#EEEEEE',{top:(topoffset+44)+'px',left:'0px',width:'100%'}) //绘制等待内容区背景色
    +	nWaiting.drawText( '加 载 中 ...', {top:(topoffset+44)+'px',left:'0px',width:'100%',height:'50%'}, {size:'12px',color:'rgb(100,100,100)'});
    +}
    +// 更新窗口导航栏 
    +function updateNavigationbar(){
    +	nTitle = contentWebview.getNavigationbar();
    +	nTitle.interceptTouchEvent(true);
    +	// 处理touchstart、touchmove、touchend事件,实现下效果 
    +//	nTitle.addEventListener('touchstart', function(e){
    +//		console.log('touchstart'+e.pageX);
    +//		touchX = e.pageX;
    +//		if(touchX>0 && touchX<44){
    +//			nTitle.drawRect('#e7e7e7', {top:topoffset+'px',left:'0px',width:'44px',height:'44px'}, 'backbg');
    +//			backPressed=true;
    +//		}
    +//	});
    +//	nTitle.addEventListener('touchmove', function(e){
    +//		console.log('touchmove'+e.pageX);
    +//		touchX = e.pageX;
    +//		if(touchX>44 && backPressed){
    +//			nTitle.drawRect('#f7f7f7', {top:topoffset+'px',left:'0px',width:'44px',height:'44px'}, 'backbg');
    +//			backPressed=false;
    +//		}
    +//	});
    +//	nTitle.addEventListener('touchend', function(e){
    +//		console.log('touchend'+e.pageX);
    +//		if(backPressed){
    +//			nTitle.drawRect('#f7f7f7', {top:topoffset+'px',left:'0px',width:'44px',height:'44px'}, 'backbg');
    +//			backPressed=false;
    +//		}
    +//	});
    +	// 处理点击事件
    +	nTitle.addEventListener('click', function(e){
    +		touchX = e.pageX;
    +		if(touchX>3 && touchX<44){
    +			back();
    +		}
    +	});
    +	//补充绘制nTitle界面
    +	nTitle.drawBitmap(bitmap, null, {top:'0px',left:'0px',width:'44px',height:'44px'}, 'backicon'); // 绘制返回箭头
    +}
    +// 使用原生View控件作为动画模板显示窗口 
    +function showWithWaiting(){
    +	var bShow=bUpdate=false;
    +	contentWebview = plus.webview.create('http://m.weibo.cn/u/3196963860', 'contendWebview', {navigationbar:{backgroundColor:'#D74B28',titletText:'标题',titleColor:'#CCCCCC'}});
    +	// 更新Webview的原生头内容
    +	updateNavigationbar();//setTimeout(updateNavigationbar, 100);
    +	contentWebview.addEventListener('close', function(){
    +		contentWebview=null;
    +	});
    +	contentWebview.addEventListener('titleUpdate', function(){
    +		bUpdate=true;
    +		bShow&&nWaiting.hide();
    +	}, false);
    +	contentWebview.addEventListener('loaded', function(){// 兼容titleUpdate事件不触发的情况
    +		bUpdate||(bUpdate=true,bShow&&nWaiting.hide());
    +	}, false);
    +	contentWebview.show('pop-in', null, function(){
    +		bShow=true;
    +		bUpdate&&nWaiting.hide();
    +	}, {capture:nWaiting});
    +}
    +// 重写返回处理
    +var _back=window.back;
    +function safeback(){
    +	contentWebview?contentWebview.close('pop-out'):(bitmap&&bitmap.clear(),nWaiting&&nWaiting.clear(),_back());
    +}
    +window.back=safeback;
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div class="nvtt">原生View过渡动画示例</div>
    +			<div class="nvbt"></div>
    +		</header>
    +		<div id="content" class="content">
    +			<p class="des">
    +	使用nview来做转场动画,以及使用原生view做标题栏。
    +			</p>
    +			<div class="button" onclick="showWithWaiting()">演示</div>
    +			<p class="des" style="font-weight:bold;text-indent:0;">
    +	逻辑简述:
    +			</p>
    +			<p class="des">
    +	启动后先创建一个原生waiting界面,但不显示。
    +	点击show按钮后,原生waiting做动画进来,同时然后创建一个带原生View控件导航栏的contentWebview加载网络页面,等titleUpdate后显示contentWebview并关闭原生waiting界面。
    +			</p>
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js"></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/nativeui.html b/fangija-zsyf/plus/nativeui.html
    new file mode 100644
    index 0000000..9ecd2a7
    --- /dev/null
    +++ b/fangija-zsyf/plus/nativeui.html
    @@ -0,0 +1,113 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript">
    +function pickDate() {
    +	outSet( "打开系统日期选择框:");
    +	var dDate=new Date();
    +	dDate.setFullYear(2014,0,1);
    +	var minDate=new Date();
    +	minDate.setFullYear(2010,0,1);
    +	var maxDate=new Date();
    +	maxDate.setFullYear(2016,11,31);
    +	outLine( "[date] "+dDate );
    +	outLine( "[minDate] "+minDate );
    +	outLine( "[maxDate] "+maxDate );
    +	plus.nativeUI.pickDate( function(e) {
    +		var d=e.date;
    +		outLine( "选择的日期:"+d.getFullYear()+"-"+(d.getMonth()+1)+"-"+d.getDate() );
    +	},function(e){
    +		outSet( "未选择日期:"+e.message );
    +	},{title:"请选择日期",date:dDate,minDate:minDate,maxDate:maxDate});
    +}
    +function pickTime() {
    +	outSet( "打开系统时间选择框:");
    +	var dTime=new Date();
    +	dTime.setHours(6,0);
    +	outLine( "[time] "+dTime );
    +	plus.nativeUI.pickTime(function(e){
    +		var d=e.date;
    +		outLine( "选择的时间:"+d.getHours()+":"+d.getMinutes() );
    +	},function (e){
    +		outSet( "取消选择时间!" );
    +	},{title:"请选择时间",is24Hour:true,time:dTime});
    +}
    +function showAlert(){
    +	outSet( "弹出系统提示对话框:" );
    +	plus.nativeUI.alert("系统提示框内容\n第二行内容",function(e){
    +		var i=e.index;
    +		if(i<0){
    +			outLine( "按\"返回\"键关闭提示框!" );
    +		}else{
    +			outLine( "提示框已关闭!" );	
    +		}
    +	},"nativeUI","好");
    +}
    +function showConfirm(){
    +	outSet( "弹出系统确认对话框:" );
    +	var bts=["是","否","取消"];
    +	plus.nativeUI.confirm("系统确认对话框内容\n第二行内容",function(e){
    +		var i=e.index;
    +		outLine( "按\""+((i>=0)?bts[e.index]:"返回")+"\"关闭!" );
    +	},"nativeUI",bts);
    +}
    +function showPrompt(){
    +	outSet( "弹出系统输入对话框:" );
    +	var bts=["确认","取消"];
    +	plus.nativeUI.prompt("请输入内容",function(e){
    +		var i=e.index;
    +		outLine( "按\""+((i>=0)?bts[e.index]:"返回")+"\"关闭:"+e.value );
    +	},"nativeUI","内容",bts);
    +}
    +function showActionSheet(){
    +	outSet( "弹出系统选择按钮框:" );
    +	var bts=[{title:"警告",style:"destructive"},{title:"按钮1"},{title:"按钮2"},{title:"按钮3"}];
    +	plus.nativeUI.actionSheet({title:"ActionSheet标题",cancel:"取消",buttons:bts},
    +		function(e){
    +			outLine( "选择了\""+((e.index>0)?bts[e.index-1].title:"取消")+"\"");
    +		}
    +	);
    +}
    +function showToast(){
    +	plus.nativeUI.toast("您好!正在使用HBuilder开发应用!",{duration:"long"});
    +}
    +function showWaiting(){
    +	var nw = clicked('nativeui_waiting.html',false,false,{popGesture:'none'});
    +	nw.addEventListener("close",function(){
    +		plus.nativeUI.closeWaiting();
    +	},false);
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div class="nvtt">nativeUI</div>
    +			<div class="nvbt idoc" onclick="openDoc('NativeUI Document','/doc/nativeUI.html')"></div>
    +		</header>
    +		<div id="dcontent" class="dcontent">
    +			<ul class="dlist">
    +				<li class="ditem" onclick="pickDate()">系统日期选择框</li>
    +				<li class="ditem" onclick="pickTime()">系统时间选择框</li>
    +				<li class="ditem" onclick="showAlert()">提示框</li>
    +				<li class="ditem" onclick="showConfirm()">确认框</li>
    +				<li class="ditem" onclick="showPrompt()">输入框</li>
    +				<li class="ditem" onclick="showActionSheet()">弹出菜单ActionSheet</li>
    +				<li class="ditem" onclick="showToast()">自动消失提示框</li>
    +			</ul>
    +			<br/>
    +			<div class="button" onclick="showWaiting()">等待框</div>
    +		</div>
    +		<div id="output">
    +nativeUI管理系统原生界面,可用于弹出系统原生提示对话框窗口、时间日期选择对话框、等待对话框等。
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/nativeui_waiting.html b/fangija-zsyf/plus/nativeui_waiting.html
    new file mode 100644
    index 0000000..8575433
    --- /dev/null
    +++ b/fangija-zsyf/plus/nativeui_waiting.html
    @@ -0,0 +1,195 @@
    +<!DOCTYPE html>
    +<html>
    +	<head>
    +		<meta charset="utf-8"/>
    +		<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    +		<meta name="misapplication-tap-highlight" content="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">
    +// H5 plus事件处理
    +function plusReady(){
    +}
    +if(window.plus){
    +	plusReady();
    +}else{
    +	document.addEventListener("plusready",plusReady,false);
    +}
    +function defaultWaiting(){
    +	var w=plus.nativeUI.showWaiting("处理中,请等待...\n5");
    +	w.onclose=function(){
    +		clearInterval(t);
    +	}
    +	var n=5;
    +	var t=setInterval(function(){
    +		n--;
    +		w.setTitle("处理中,请等待...\n"+n);
    +		if(n<=0){
    +			w.close();
    +			clearInterval(t);
    +		}
    +	},1000);
    +}
    +function nomodalWaiting(){
    +	var w=plus.nativeUI.showWaiting("处理中,请等待...\n5",{modal:false});
    +	w.onclose=function(){
    +		clearInterval(t);
    +	}
    +	var n=5;
    +	var t=setInterval(function(){
    +		n--;
    +		w.setTitle("处理中,请等待...\n"+n);
    +		if(n<=0){
    +			w.close();
    +			clearInterval(t);
    +		}
    +	},1000);
    +}
    +function padlockWaiting(){
    +	var w=plus.nativeUI.showWaiting("处理中,请等待...\n5", {padlock:true});
    +	w.onclose=function(){
    +		clearInterval(t);
    +	}
    +	var n=5;
    +	var t=setInterval(function(){
    +		n--;
    +		w.setTitle("处理中,请等待...\n"+n);
    +		if(n<=0){
    +			w.close();
    +			clearInterval(t);
    +		}
    +	},1000);
    +}
    +function customWaiting(){
    +	var w=plus.nativeUI.showWaiting("处理中,请等待...\n5", {loading:{icon:"/img/waiting.png"}});
    +	w.onclose=function(){
    +		clearInterval(t);
    +	}
    +	var n=5;
    +	var t=setInterval(function(){
    +		n--;
    +		w.setTitle("处理中,请等待...\n"+n);
    +		if(n<=0){
    +			w.close();
    +			clearInterval(t);
    +		}
    +	},1000);
    +}
    +function lineWaiting(){
    +	var w=plus.nativeUI.showWaiting("处理中,请等待...5", {loading:{display:"inline"}});
    +	w.onclose=function(){
    +		clearInterval(t);
    +	}
    +	var n=5;
    +	var t=setInterval(function(){
    +		n--;
    +		w.setTitle("处理中,请等待..."+n);
    +		if(n<=0){
    +			w.close();
    +			clearInterval(t);
    +		}
    +	},1000);	
    +}
    +function transWaiting(){
    +	var w=plus.nativeUI.showWaiting("处理中,请等待...5", {style:"black",color:"#FF0000",background:"rgba(0,0,0,0)",loading:{display:"inline"}});
    +	w.onclose=function(){
    +		clearInterval(t);
    +	}
    +	var n=5;
    +	var t=setInterval(function(){
    +		n--;
    +		w.setTitle("处理中,请等待..."+n);
    +		if(n<=0){
    +			w.close();
    +			clearInterval(t);
    +		}
    +	},1000);	
    +}
    +function noneWaiting(){
    +	var w=plus.nativeUI.showWaiting("处理中,请等待...5", {color:"#FF0000",background:"rgba(0,0,0,0)",loading:{display:"none"}});
    +	w.onclose=function(){
    +		clearInterval(t);
    +	}
    +	var n=5;
    +	var t=setInterval(function(){
    +		n--;
    +		w.setTitle("处理中,请等待..."+n);
    +		if(n<=0){
    +			w.close();
    +			clearInterval(t);
    +		}
    +	},1000);	
    +}
    +function fontWaiting(){
    +	var w=plus.nativeUI.showWaiting("处理中,请等待...\n5",{color:"#FF0000",size:"24px"});
    +	w.onclose=function(){
    +		clearInterval(t);
    +	}
    +	var n=5;
    +	var t=setInterval(function(){
    +		n--;
    +		w.setTitle("处理中,请等待...\n"+n);
    +		if(n<=0){
    +			w.close();
    +			clearInterval(t);
    +		}
    +	},1000);	
    +}
    +function blockBackWaiting(){
    +	var w=plus.nativeUI.showWaiting("处理中,请等待...\n5",{back:"none"});
    +	w.onclose=function(){
    +		clearInterval(t);
    +	}
    +	var n=5;
    +	var t=setInterval(function(){
    +		n--;
    +		w.setTitle("处理中,请等待...\n"+n);
    +		if(n<=0){
    +			w.close();
    +			clearInterval(t);
    +		}
    +	},1000);	
    +	
    +}
    +function transBackWaiting(){
    +	var w=plus.nativeUI.showWaiting("处理中,请等待...\n5",{back:"transmit"});
    +	w.onclose=function(){
    +		clearInterval(t);
    +	}
    +	var n=5;
    +	var t=setInterval(function(){
    +		n--;
    +		w.setTitle("处理中,请等待...\n"+n);
    +		if(n<=0){
    +			w.close();
    +			clearInterval(t);
    +		}
    +	},1000);
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div class="nvtt">Waiting</div>
    +		</header>
    +		<div id="scontent" class="scontent">
    +			<ul class="dlist">
    +				<li class="ditem" onclick="defaultWaiting()">默认等待框</li>
    +				<li class="ditem" onclick="nomodalWaiting()">非模态等待框</li>
    +				<li class="ditem" onclick="padlockWaiting()">点击关闭等待框</li>
    +				<li class="ditem" onclick="customWaiting()">自定义图标等待框</li>
    +				<li class="ditem" onclick="lineWaiting()">图标与文字同行</li>
    +				<li class="ditem" onclick="transWaiting()">背景透明</li>
    +				<li class="ditem" onclick="noneWaiting()">无图标等待框</li>
    +				<li class="ditem" onclick="fontWaiting()">大字体等待框</li>
    +				<li class="ditem" onclick="blockBackWaiting()">不响应返回键等待框</li>
    +				<li class="ditem" onclick="transBackWaiting()">透传返回键等待框</li>
    +			</ul>
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/navigator.html b/fangija-zsyf/plus/navigator.html
    new file mode 100644
    index 0000000..ce67539
    --- /dev/null
    +++ b/fangija-zsyf/plus/navigator.html
    @@ -0,0 +1,57 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript">
    +function fullscreen(){
    +	outSet( "应用全屏显示!" );
    +	plus.navigator.setFullscreen(true);
    +}
    +function unfullscreen(){
    +	outSet( "应用非全屏显示!" );
    +	plus.navigator.setFullscreen(false);
    +}
    +function isfullscreen(){
    +	outSet( "是否全屏:"+(plus.navigator.isFullscreen()?"是":"否") );
    +}
    +
    +function customerNavigator(){
    +	var wn=clicked('navigator_status.html');
    +	var bcolor=plus.navigator.getStatusBarBackground();
    +	var bstyle=plus.navigator.getStatusBarStyle();
    +	wn.addEventListener('close',function(){
    +		//页面关闭后状态栏重置回以前的颜色
    +		plus.navigator.setStatusBarBackground(bcolor);
    +		//页面关闭后状态栏重置回以前的样式
    +		plus.navigator.setStatusBarStyle(bstyle);
    +	},false);
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div class="nvtt">Navigator</div>
    +			<div class="nvbt idoc" onclick="openDoc('Navigator Document','/doc/navigator.html')"></div>
    +		</header>
    +		<div id="dcontent" class="dcontent">
    +			<ul class="dlist">
    +				<li class="ditem" onclick="fullscreen()">全屏显示</li>
    +				<li class="ditem" onclick="unfullscreen()">非全屏显示</li>
    +				<li class="ditem" onclick="isfullscreen()">是否全屏</li>
    +			</ul>
    +			<br/>
    +			<div class="button" onclick="customerNavigator()">状态栏样式</div>
    +		</div>
    +		<div id="output">
    +Navigator用于管理浏览器运行环境信息,可用于设置应用全屏显示等。
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/navigator_status.html b/fangija-zsyf/plus/navigator_status.html
    new file mode 100644
    index 0000000..ad4b7fc
    --- /dev/null
    +++ b/fangija-zsyf/plus/navigator_status.html
    @@ -0,0 +1,52 @@
    +<!DOCTYPE html>
    +<html>
    +	<head>
    +		<meta charset="utf-8"/>
    +		<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    +		<meta name="misapplication-tap-highlight" content="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">
    +// H5 plus事件处理
    +var ws=null;
    +function plusReady(){
    +	// 设置状态栏背景颜色
    +	ws=plus.webview.currentWebview();
    +	ws.addEventListener('show',function(){
    +		plus.navigator.setStatusBarBackground("#FF0000");
    +	},false);
    +}
    +if(window.plus){
    +	plusReady();
    +}else{
    +	document.addEventListener("plusready",plusReady,false);
    +}
    +// 设置系统状态栏为深色前景色(黑色文字)
    +function darkStyle(){
    +	plus.navigator.setStatusBarStyle('dark');
    +}
    +// 设置系统状态栏为浅色前景色(白色文字)
    +function lightStyle(){
    +	plus.navigator.setStatusBarStyle('light');
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +	</head>
    +	<body>
    +		<header id="header" style="background:#FF0000">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div class="nvtt">Statusbar</div>
    +		</header>
    +		<div class="scontent">
    +			<br/>
    +			<p class="des">
    +				Android平台需要5.0及以上版本支持设置系统状态栏背景颜色。
    +			</p>
    +			<div class="button" onclick="darkStyle()">系统状态栏黑色样式</div>
    +			<div class="button" onclick="lightStyle()">系统状态栏白色样式</div>
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    diff --git a/fangija-zsyf/plus/njs.html b/fangija-zsyf/plus/njs.html
    new file mode 100644
    index 0000000..6d21531
    --- /dev/null
    +++ b/fangija-zsyf/plus/njs.html
    @@ -0,0 +1,156 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript">
    +// 保存iOS平台导入的类对象
    +var UIAlertView=null;
    +// 保存Android导入对象和全局环境对象
    +var AlertDialog=null,mainActivity=null;
    +// H5 plus事件处理
    +function plusReady(){
    +	switch ( plus.os.name ) {
    +		case "Android":
    +		// 程序全局环境对象
    +		mainActivity = plus.android.runtimeMainActivity();
    +		// 导入AlertDialog类
    +		AlertDialog = plus.android.importClass("android.app.AlertDialog");
    +		break;
    +		case "iOS":
    +		// 导入UIAlertView类
    +		UIAlertView = plus.ios.importClass("UIAlertView");
    +		break;
    +		default:
    +		break;
    +	}
    +}
    +if(window.plus){
    +	plusReady();
    +}else{
    +	document.addEventListener("plusready",plusReady,false);
    +}
    +
    +/**
    + * 在iOS平台通过NJS显示系统提示框
    + */
    +function njsAlertForiOS(){
    +/*
    + * Objective-C 代码
    + * 
    +  // 创建UIAlertView类的实例对象
    +  UIAlertView *view = [UIAlertView alloc];
    +  // 设置提示对话上的内容
    +  [view initWithTitle:@"自定义标题"       // 提示框标题
    +      message:@"使用NJS的原生弹出框,可自定义弹出框的标题、按钮"  // 提示框上显示的内容
    +      delegate:nil                // 点击提示框后的通知代理对象,nil类似js的null,意为不设置
    +      cancelButtonTitle:@"确定(或者其他字符)"     // 提示框上取消按钮的文字
    +      otherButtonTitles:nil];        // 提示框上其它按钮的文字,设置为nil表示不显示
    +  // 调用show方法显示提示对话框,在OC中使用[]语法调用对象的方法
    +  [view show];
    + */
    +
    +	// 创建UIAlertView类的实例对象
    +	var view = new UIAlertView();
    +	// 设置提示对话上的内容
    +	view.initWithTitlemessagedelegatecancelButtonTitleotherButtonTitles("自定义标题" // 提示框标题
    +		, "使用NJS的原生弹出框,可自定义弹出框的标题、按钮" // 提示框上显示的内容
    +		, null // 操作提示框后的通知代理对象,暂不设置
    +		, "确定(或者其他字符)" // 提示框上取消按钮的文字
    +		, null ); // 提示框上其它按钮的文字,设置为null表示不显示
    +	// 调用show方法显示提示对话框
    +	view.show();
    +}
    +
    +/**
    + * 在Android平台通过NJS显示系统提示框
    + */
    +function njsAlertForAndroid(){
    +/*
    + * Android平台 java代码
    + * 
    +	// 创建提示框构造对象,Builder是AlertDialog的内部类。参数this指代Android的主Activity对象,该对象启动应用时自动生成
    +	AlertDialog.Builder dlg = new AlertDialog.Builder(this);
    +	// 设置提示框标题
    +	dlg.setTitle("自定义标题");
    +	// 设置提示框内容
    +	dlg.setMessage("使用NJS的原生弹出框,可自定义弹出框的标题、按钮");
    +	// 设置提示框按钮
    +	dlg.setPositiveButton("确定(或者其他字符)", null);
    +	// 显示提示框
    +	dlg.show();
    + */
    +
    +	// 创建提示框构造对象,构造函数需要提供程序全局环境对象,通过plus.android.runtimeMainActivity()方法获取
    +	var dlg = new AlertDialog.Builder(mainActivity);
    +	// 设置提示框标题
    +	dlg.setTitle("自定义标题");
    +	// 设置提示框内容
    +	dlg.setMessage("使用NJS的原生弹出框,可自定义弹出框的标题、按钮");
    +	// 设置提示框按钮
    +	dlg.setPositiveButton("确定(或者其他字符)",null);
    +	// 显示提示框
    +	dlg.show();
    +}
    +function showNjsView(){
    +	switch ( plus.os.name ) {
    +		case "Android":
    +		njsAlertForAndroid();
    +		break;
    +		case "iOS":
    +		njsAlertForiOS();
    +		break;
    +		default:
    +		alert( "此平台不支持!" );
    +		break;
    +	}
    +}
    +
    +function gamecenter(){
    +	if ( 'iOS' == plus.os.name ) {
    +		clicked('njs_ios_gamecenter.html',true);
    +	}else{
    +		plus.nativeUI.alert( "此平台不支持!" );
    +	}
    +}
    +
    +function shortcut(){
    +	if ( 'Android' == plus.os.name ) {
    +		clicked('njs_android_shortcut.html',true);
    +	}else{
    +		plus.nativeUI.alert( "此平台不支持!" );
    +	}
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +		<style type="text/css">
    +		</style>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back(true)"></div>
    +			<div class="nvtt">Native.JS</div>
    +			<div class="nvbt idoc" onclick="openDoc('Native.JS Document','/doc/native.js.html')"></div>
    +		</header>
    +		<div id="dcontent" class="dcontent">
    +			<br/>
    +			<!--div class="button" onclick="gamecenter()">Game Center</div>
    +			<div class="button" onclick="shortcut()">Shortcut</div>
    +			<br/-->
    +			<ul class="dlist">
    +				<li class="ditem" onclick="showNjsView()">native.js调用系统提示框</li>
    +				<li class="ditem" onclick="clicked('njs_efficient.html')">native.js高级API</li>
    +			</ul>
    +			<br/>
    +			<div class="button button-waring" onclick="plus.runtime.openURL('http://ask.dcloud.net.cn/article/114')">更多示例...</div>
    +		</div>
    +		<div id="output">
    +Native.JS一种把操作系统的原生对象转义,映射为JS对象,在JS里编写原生代码的技术。可通过plus.android.*和plus.ios.*提供的API分别调用Android和iOS平台的Native API。
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/njs_android_shortcut.html b/fangija-zsyf/plus/njs_android_shortcut.html
    new file mode 100644
    index 0000000..ee972f6
    --- /dev/null
    +++ b/fangija-zsyf/plus/njs_android_shortcut.html
    @@ -0,0 +1,146 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript">
    +/*
    + * 		首先是供参考对比的Android源代码,用Android的java代码创建手机桌面快捷方式
    + * 
    +	import android.content.Intent;
    +	import android.graphics.BitmapFactory;
    +	import android.graphics.Bitmap;
    +	import android.app.Activity;
    +
    +	// 获取主Activity
    +	Activity main = this;
    +	// 创建快捷方式意图
    +	Intent shortcut = new Intent("com.android.launcher.action.INSTALL_SHORTCUT");
    +	// 设置快捷方式的名称
    +	shortcut.putExtra(Intent.EXTRA_SHORTCUT_NAME, "HelloH5+");
    +	// 设置不可重复创建
    +	shortcut.putExtra("duplicate",false);
    +	// 设置快捷方式图标
    +	Bitmap bitmap = BitmapFactory.decodeFile("/sdcard/icon.png");
    +	shortcut.putExtra(Intent.EXTRA_SHORTCUT_ICON, bitmap);
    +	// 设置快捷方式启动执行动作
    +	Intent action = new Intent(Intent.ACTION_MAIN);
    +	action.setComponent( main.getComponentName() );
    +	shortcut.putExtra( Intent.EXTRA_SHORTCUT_INTENT, action );
    +	// 广播创建快捷方式
    +	context.sendBroadcast(shortcut);
    +*/
    +/*
    + * 如下开始是HTML5plus的js代码,演示如何通过js桥技术调用Android的原生api,从而完成手机桌面快捷方式创建。
    + */
    +var Intent=null,BitmapFactory=null;
    +var main=null;
    +// H5 plus事件处理
    +function plusReady(){
    +	if ( plus.os.name == "Android" ) {
    +		// 导入要用到的类对象
    +		Intent = plus.android.importClass("android.content.Intent");
    +		BitmapFactory = plus.android.importClass("android.graphics.BitmapFactory");
    +		// 获取主Activity
    +		main = plus.android.runtimeMainActivity();
    +	}
    +}
    +if(window.plus){
    +	plusReady();
    +}else{
    +	document.addEventListener("plusready",plusReady,false);
    +}
    +// DOMContentLoaded事件处理
    +var _domReady=false;
    +document.addEventListener("DOMContentLoaded",function(){
    +	eStart = document.getElementById( "start" );
    +},false);
    +/**
    + * 创建桌面快捷方式
    + */
    +function createShortcut(){
    +	// 创建快捷方式意图
    +	var shortcut = new Intent("com.android.launcher.action.INSTALL_SHORTCUT");
    +	// 设置快捷方式的名称
    +	shortcut.putExtra(Intent.EXTRA_SHORTCUT_NAME, "HelloH5+");
    +	// 设置不可重复创建
    +	shortcut.putExtra("duplicate",false);
    +	// 设置快捷方式图标
    +	var iconPath = plus.io.convertLocalFileSystemURL("_www/icon.png"); // 将相对路径资源转换成系统绝对路径
    +	var bitmap = BitmapFactory.decodeFile(iconPath);
    +	shortcut.putExtra(Intent.EXTRA_SHORTCUT_ICON,bitmap);
    +	// 设置快捷方式启动执行动作
    +	var action = new Intent(Intent.ACTION_MAIN);
    +	//action.setComponent(main.getComponentName());
    +	action.setClassName(main.getPackageName(), 'io.dcloud.PandoraEntry');
    +	shortcut.putExtra(Intent.EXTRA_SHORTCUT_INTENT,action);
    +	// 广播创建快捷方式
    +	main.sendBroadcast(shortcut);
    +	outSet( "桌面快捷方式已创建完成!" );
    +}
    +
    +/*
    + * 		供参考对比的Android源代码,用Android的java代码删除手机桌面快捷方式
    + * 
    + * 		// 获取主Activity
    + * 		Activity main = this;
    + * 		// 创建快捷方式意图
    + * 		Intent shortcut = new Intent("com.android.launcher.action.UNINSTALL_SHORTCUT");
    + * 		// 设置快捷方式的名称
    + * 		shortcut.putExtra(Intent.EXTRA_SHORTCUT_NAME,"HelloH5+");
    + * 		// 设置快捷方式启动执行动作
    + * 		Intent action = new Intent(Intent.ACTION_MAIN);
    + * 		action.setComponent(main.getComponentName());
    + * 		shortcut.putExtra(Intent.EXTRA_SHORTCUT_INTENT,action);
    + * 		// 广播删除快捷方式
    + * 		main.sendBroadcast(shortcut);
    + */
    +/*
    + * 删除桌面快捷方式
    + */
    +function deleteShortcut(){
    +	// 创建快捷方式意图
    +	var shortcut = new Intent("com.android.launcher.action.UNINSTALL_SHORTCUT");
    +	// 设置快捷方式的名称
    +	shortcut.putExtra(Intent.EXTRA_SHORTCUT_NAME,"HelloH5+");
    +	// 设置快捷方式启动执行动作
    +	var action = new Intent(Intent.ACTION_MAIN);
    +	//action.setComponent(main.getComponentName());
    +	action.setClassName(main.getPackageName(), 'io.dcloud.PandoraEntry');
    +	shortcut.putExtra(Intent.EXTRA_SHORTCUT_INTENT,action);
    +	// 广播创建快捷方式
    +	main.sendBroadcast(shortcut);
    +	outSet( "桌面快捷方式已删除!" );
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +		<style type="text/css">
    +		
    +		</style>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back();"></div>
    +			<div class="nvtt">Shortcut</div>
    +		</header>
    +		<div id="dcontent" class="dcontent">
    +			<br/>
    +			<div class="button" onclick="createShortcut()">创建桌面快捷方式</div>
    +			<div class="button" onclick="deleteShortcut()">删除桌面快捷方式</div>
    +			<br/>
    +			<br/>
    +			<p class="des">
    +				快捷方式操作是通过向Android系统发送广播的方式来实现,可能在一些定制的ROM上没有实现此类广播的处理,导致无法创建桌面快捷方式。
    +			</p>
    +			<br/>
    +		</div>
    +		<div id="output">
    +Native.JS for Android,可通过plus.android.*调用几乎所有的系统API。
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/njs_efficient.html b/fangija-zsyf/plus/njs_efficient.html
    new file mode 100644
    index 0000000..763b2c5
    --- /dev/null
    +++ b/fangija-zsyf/plus/njs_efficient.html
    @@ -0,0 +1,120 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript">
    +// 保存Android全局环境对象
    +var mainActivity=null;
    +// H5+事件处理
    +document.addEventListener("plusready",function(){
    +	switch ( plus.os.name ) {
    +		case "Android":
    +		// 程序全局环境对象
    +		mainActivity = plus.android.runtimeMainActivity();
    +		break;
    +		default:
    +		break;
    +	}
    +},false);
    +/**
    + * 在iOS平台通过NJS显示系统提示框
    + */
    +function njsAlertForiOS(){
    +/*
    + * Objective-C 代码
    + * 
    +  // 创建UIAlertView类的实例对象
    +  UIAlertView *view = [UIAlertView alloc];
    +  // 设置提示对话上的内容
    +  [view initWithTitle:@"自定义标题"       // 提示框标题
    +      message:@"使用NJS的原生弹出框,可自定义弹出框的标题、按钮"  // 提示框上显示的内容
    +      delegate:nil                // 点击提示框后的通知代理对象,nil类似js的null,意为不设置
    +      cancelButtonTitle:@"确定(或者其他字符)"     // 提示框上取消按钮的文字
    +      otherButtonTitles:nil];        // 提示框上其它按钮的文字,设置为nil表示不显示
    +  // 调用show方法显示提示对话框,在OC中使用[]语法调用对象的方法
    +  [view show];
    + */
    +
    +  	// 创建UIAlertView类的实例对象
    +  	var view = plus.ios.newObject("UIAlertView");
    +  	// 设置提示对话上的内容,这里的方法名称中必须包含':'字符
    +  	plus.ios.invoke(view,"initWithTitle:message:delegate:cancelButtonTitle:otherButtonTitles:"
    +  	    , "自定义标题" // 提示框标题
    +  	    , "使用NJS的原生弹出框,可自定义弹出框的标题、按钮"  // 提示框上显示的内容
    +  	    , null // 操作提示框后的通知代理对象,暂不设置
    +  	    , "确定(或者其他字符)" // 提示框上取消按钮的文字
    +  	    , null ); // 提示框上其它按钮的文字,设置为null表示不显示
    +  	// 调用show方法显示提示对话框,在JS中使用()语法调用对象的方法
    +  	plus.ios.invoke(view,"show");
    +}
    +
    +/**
    + * 在Android平台通过NJS显示系统提示框
    + */
    +function njsAlertForAndroid(){
    +/*
    + * Android平台 java代码
    + * 
    +	// 创建提示框构造对象,Builder是AlertDialog的内部类。参数this指代Android的主Activity对象,该对象启动应用时自动生成
    +	AlertDialog.Builder dlg = new AlertDialog.Builder(this);
    +	// 设置提示框标题
    +	dlg.setTitle("自定义标题");
    +	// 设置提示框内容
    +	dlg.setMessage("使用NJS的原生弹出框,可自定义弹出框的标题、按钮");
    +	// 设置提示框按钮
    +	dlg.setPositiveButton("确定(或者其他字符)", null);
    +	// 显示提示框
    +	dlg.show();
    + */
    +
    +  	// 由于Builder类是android.app.AlertDialog类的内部类,这里需要使用$符号分割
    +  	var dlg = plus.android.newObject("android.app.AlertDialog$Builder",mainActivity);
    +  	// 设置提示框标题
    +  	plus.android.invoke(dlg,"setTitle","自定义标题");
    +  	// 设置提示框内容
    +  	plus.android.invoke(dlg,"setMessage","使用NJS的原生弹出框,可自定义弹出框的标题、按钮");
    +  	// 设置提示框按钮
    +  	plus.android.invoke(dlg,"setPositiveButton","确定(或者其他字符)",null);
    +  	// 显示提示框
    +  	plus.android.invoke(dlg,"show");
    +}
    +function showNjsView(){
    +	switch ( plus.os.name ) {
    +		case "Android":
    +		njsAlertForAndroid();
    +		break;
    +		case "iOS":
    +		njsAlertForiOS();
    +		break;
    +		default:
    +		alert( "此平台不支持!" );
    +		break;
    +	}
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +		<style type="text/css">
    +		</style>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back();"></div>
    +			<div class="nvtt">Native.JS-高级API</div>
    +		</header>
    +		<div id="content" class="content">
    +			<br/>
    +			<p class="des">虽然导入类对象(plus.android.importClass和plus.ios.importClass)后,可以方便的通过“.”操作符来访问对象的常量、调用对象的方法,但导入类对象也需要消耗较多的系统资源,所以在实际开发时应该尽可能的减少导入类对象,以提高程序效率。</p>
    +			<p class="des">NJS中“高级API”提供的方法可以在不导入类对象的情况下调用Native API:</p>
    +			<br/>
    +			<ul class="dlist">
    +				<li class="ditem" onclick="showNjsView();">NJS高级API调用系统提示框</li>
    +			</ul>
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/njs_ios_gamecenter.html b/fangija-zsyf/plus/njs_ios_gamecenter.html
    new file mode 100644
    index 0000000..a83f300
    --- /dev/null
    +++ b/fangija-zsyf/plus/njs_ios_gamecenter.html
    @@ -0,0 +1,257 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript">
    +/*	
    +NSNotificationCenter *nc = nil;
    +
    +// 游戏玩家登录状态监听函数
    +- (void)authenticationChanged:(NSNotification*)notification
    +{
    +    // 获取游戏玩家共享实例对象
    +    GKLocalPlayer *player = notification.object;
    +    if ( player.isAuthenticated ) {
    +        // 玩家已登录认证,获取玩家信息
    +        [self playerInformation:player];
    +    } else {
    +        // 玩家未登录认证,提示用户登录
    +        NSLog(@"请登录!");
    +    }
    +    // 释放使用的对象
    +    [player release];
    +}
    +
    +// 获取游戏玩家状态信息
    +- (void)playerInformation:(GKPlayer *)player
    +{
    +    // 获取游戏玩家的名称
    +    NSLog(@"Name: %@",player.displayName);
    +}
    +
    +// 登录到游戏中心
    +- (void)loginGamecenter
    +{
    +    // 获取游戏玩家共享实例对象
    +    GKLocalPlayer *localplayer = [GKLocalPlayer localPlayer];
    +    // 判断游戏玩家是否已经登录认证
    +    if ( localplayer.isAuthenticated ) {
    +        // 玩家已登录认证,获取玩家信息
    +        [self playerInformation:localplayer];
    +    } else {
    +	    // 监听用户登录状态变更事件
    +	    if(!nc){
    +		    nc = [NSNotificationCenter defaultCenter];
    +		    [nc addObserver:self
    +		           selector:@selector(authenticationChanged)
    +		               name:@"GKPlayerAuthenticationDidChangeNotificationName"
    +		             object:nil];
    +		}
    +        // 玩家未登录认证,发起认证请求
    +        [localplayer authenticateWithCompletionHandler:nil];
    +        NSLog(@"登录中...");
    +    }
    +	// 释放使用的对象
    +    [localplayer release];
    +}
    +
    +// 停止监听登录游戏状态变化
    +- (void)logoutGamecenter
    +{
    +    // 取消监听用户登录状态变化
    +    if(nc){
    +	    [nc removeObserver:self
    +	                  name:@"GKPlayerAuthenticationDidChangeNotificationName"
    +	                object:nil];
    +	}
    +}
    +*/
    +
    +// H5 plus事件处理
    +var GKLocalPlayer=null,NSNotificationCenter=null;
    +var nc=null,delegate=null;
    +function plusReady(){
    +	plus.webview.currentWebview().setStyle({popGesture:"none"});
    +	if ( plus.os.name == "iOS" ) {
    +		GKLocalPlayer  = plus.ios.importClass("GKLocalPlayer");
    +		NSNotificationCenter = plus.ios.importClass("NSNotificationCenter");
    +		longinGamecenter();
    +	} else {
    +		eStart.innerText = "欢迎您";
    +		bLogin = true;
    +		setTimeout( function(){
    +			plus.nativeUI.toast( "此平台不支持Game Center功能!" );
    +		}, 500 );
    +	}
    +}
    +if(window.plus){
    +	plusReady();
    +}else{
    +	document.addEventListener("plusready",plusReady,false);
    +}
    +// DOMContentLoaded事件处理
    +var eStart=null,bLogin=false;
    +document.addEventListener("DOMContentLoaded",function(){
    +	eStart = document.getElementById( "start" );
    +},false);
    +
    +// 游戏玩家登录状态监听函数
    +function authenticationChanged( notification ){
    +	// 获取游戏玩家共享实例对象
    +	var player = notification.plusGetAttribute("object");
    +	if ( player.plusGetAttribute("isAuthenticated") ) {
    +		// 玩家已登录认证,获取玩家信息
    +		playerInformation(player);
    +		bLogin = true;
    +	} else {
    +		// 玩家未登录认证,提示用户登录
    +		setTimeout(function(){
    +			eStart.innerText = "请登录";
    +	        bLogin = false;
    +		},500);
    +	}
    +	// 释放使用的对象
    +//	plus.ios.deleteObject(player);
    +}
    +
    +// 获取游戏玩家状态信息
    +function playerInformation( player ){
    +	var name = player.plusGetAttribute("displayName");
    +	eStart.innerText = name+" 已登录!";
    +}
    +
    +// 登录到游戏中心
    +function longinGamecenter(){
    +	if ( bLogin ){
    +		return;
    +	}
    +    // 获取游戏玩家共享实例对象
    +    var localplayer = GKLocalPlayer.localPlayer();
    +    // 判断游戏玩家是否已经登录认证
    +    if ( localplayer.plusGetAttribute("isAuthenticated") ) {
    +        // 玩家已登录认证,获取玩家信息
    +        playerInformation( localplayer );
    +        bLogin = true;
    +    } else {
    +        eStart.innerText = "登录中...";
    +		// 监听用户登录状态变更事件
    +	    if(!nc){
    +	    	nc = NSNotificationCenter.defaultCenter();
    +	    	delegate||(delegate=plus.ios.implements("NSObject",{"authenticationChanged:":authenticationChanged}));
    +	    	nc.addObserverselectornameobject(delegate,
    +		    	plus.ios.newObject("@selector","authenticationChanged:"),
    +		    	"GKPlayerAuthenticationDidChangeNotificationName",
    +		    	null);
    +	    }
    +        // 玩家未登录认证,发起认证请求
    +        localplayer.authenticateWithCompletionHandler(null);
    +    }
    +    // 释放使用的对象
    +	plus.ios.deleteObject(localplayer);
    +}
    +
    +// 停止监听登录游戏状态变化
    +function stopGamecenterObserver()
    +{
    +    // 取消监听用户登录状态变化
    +    nc&&nc.removeObservernameobject(delegate,"GKPlayerAuthenticationDidChangeNotificationName",null);
    +    plus.ios.deleteObject(nc);nc = null;
    +    plus.ios.deleteObject(delegate);delegate = null;
    +}
    +		</script>
    +		<style type="text/css">
    +* {
    +	-webkit-user-select: none;
    +	-ms-touch-select: none;
    +}
    +html {
    +	width: 100%;
    +	height: 100%;
    +}
    +body {
    +	margin: 0;
    +	padding: 0;
    +	width: 100%;
    +	height: 100%;
    +	text-align: center;
    +	-webkit-touch-callout:none;
    +	-webkit-tap-highlight-color:rgba(0,0,0,0);
    +}
    +header {
    +	height: 44px;
    +	font-size: 22px;
    +	line-height: 44px;
    +	font-weight: bold;
    +	color: #000000;
    +}
    +.game {
    +	position:fixed;
    +	top:44px;
    +	width:100%;
    +	bottom: 60px;
    +	background: no-repeat center center url(../img/5.jpg);
    +}
    +.button {
    +	font-size: 18px;
    +	font-weight: normal;
    +	text-decoration: none;
    +	display: block;
    +	text-align: center;
    +	color: #fff;
    +	background-color: #FFCC33;
    +	border: 1px solid #ECB100;
    +	padding: .5em 0em;
    +	margin: .5em .7em;
    +	-webkit-border-radius: 5px;
    +	border-radius: 5px;
    +}
    +.button:active {
    +	outline: 0;
    +	-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    +	box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    +}
    +.start {
    +	width: 50%;
    +	font-size: 18px;
    +	font-weight: normal;
    +	text-decoration: none;
    +	display: block;
    +	text-align: center;
    +	color: #666;
    +	background-color: #EBEBEB;
    +	border: 1px solid #E0E0E0;
    +	padding: .5em 0em;
    +	margin: .5em auto;
    +	-webkit-border-radius: 5px;
    +	border-radius: 5px;
    +}
    +		</style>
    +		<style type="text/css" media="screen and (min-aspect-ratio: 1/1)">
    +.autobg {
    +	background-size: auto 100%;
    +}
    +		</style>
    +		<style type="text/css" media="screen and (max-aspect-ratio: 1/1)">
    +.autobg {
    +	background-size: 100% auto;
    +}
    +		</style>
    +	</head>
    +	<body style="background:#CCCCCC;">
    +		<header id=header>五子棋</header>
    +		<div class="game autobg">
    +		</div>
    +		<div style="position:fixed;bottom:0;width:100%;height:60px;text-align:center;">
    +			<div class="button" onclick="try{stopGamecenterObserver();}catch(e){}back();">退出</div>
    +		</div>
    +		<div style="position:fixed;top:30%;width:100%;text-align:center;">
    +			<div id="start" class="start" onclick="longinGamecenter();">登录中...</div>
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/oauth.html b/fangija-zsyf/plus/oauth.html
    new file mode 100644
    index 0000000..47f5fa4
    --- /dev/null
    +++ b/fangija-zsyf/plus/oauth.html
    @@ -0,0 +1,131 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript">
    +var auths={};
    +function plusReady(){
    +	// 获取登录认证通道
    +	plus.oauth.getServices(function(services){
    +		var content=document.getElementById('dcontent');
    +		var info=document.getElementById("info");
    +		var txt="登录认证通道信息:";
    +		for(var i in services){
    +			var service=services[i];
    +			console.log(service.id+": "+service.authResult+", "+service.userInfo);
    +			auths[service.id]=service;
    +			txt += "id:"+service.id+", ";
    +			txt += "description:"+service.description+", ";
    +			var de=document.createElement('div');
    +			de.setAttribute('class','button');
    +			de.setAttribute('onclick','login(this.id)');
    +			de.id=service.id;
    +			de.innerText=service.description+"登录";
    +			oauth.appendChild(de);
    +		}
    +		info.innerText=txt;
    +	},function(e){
    +		outLine("获取登录认证失败:"+e.message);
    +	});
    +}
    +document.addEventListener('plusready',plusReady,false);
    +// 登录认证
    +function login(id){
    +	outSet("----- 登录认证 -----");
    +	var auth=auths[id];
    +	if(auth){
    +		var w=null;
    +		if(plus.os.name=="Android"){
    +			w=plus.nativeUI.showWaiting();
    +		}
    +		document.addEventListener("pause",function(){
    +			setTimeout(function(){
    +				w&&w.close();w=null;
    +			},2000);
    +		}, false );
    +		auth.login(function(){
    +			w&&w.close();w=null;
    +			outLine("登录认证成功:");
    +			outLine(JSON.stringify(auth.authResult));
    +			userinfo(auth);
    +		},function(e){
    +			w&&w.close();w=null;
    +			outLine("登录认证失败:");
    +			outLine("["+e.code+"]:"+e.message);
    +			plus.nativeUI.alert("详情错误信息请参考授权登录(OAuth)规范文档:http://www.html5plus.org/#specification#/specification/OAuth.html",null,"登录失败["+e.code+"]:"+e.message);
    +		});
    +	}else{
    +		outLine("无效的登录认证通道!");
    +		plus.nativeUI.alert("无效的登录认证通道!",null,"登录");
    +	}
    +}
    +// 获取用户信息
    +function userinfo(a){
    +	outLine("----- 获取用户信息 -----");
    +	a.getUserInfo(function(){
    +		outLine("获取用户信息成功:");
    +		outLine(JSON.stringify(a.userInfo));
    +		var nickname=a.userInfo.nickname||a.userInfo.name||a.userInfo.miliaoNick;
    +		plus.nativeUI.alert("欢迎“"+nickname+"”登录!");
    +	},function(e){
    +		outLine("获取用户信息失败:");
    +		outLine("["+e.code+"]:"+e.message);
    +		plus.nativeUI.alert("获取用户信息失败!",null,"登录");
    +	});
    +}
    +// 注销登录
    +function logoutAll(){
    +	outSet("----- 注销登录认证 -----");
    +	for(var i in auths){
    +		logout(auths[i]);
    +	}
    +}
    +function logout(auth){
    +	auth.logout(function(){
    +		outLine("注销\""+auth.description+"\"成功");
    +	},function(e){
    +		outLine("注销\""+auth.description+"\"失败:"+e.message);
    +	});
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +		<style type="text/css">
    +#total{
    +	-webkit-user-select:text;
    +	text-align:right;
    +	padding:0 1em;
    +	border: 0px;
    +	border-bottom:1px solid #ECB100;
    +	border-radius: 0;
    +	font-size:16px;
    +	width:30%;
    +	outline:none;
    +}
    +		</style>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div class="nvtt">OAuth</div>
    +			<div class="nvbt idoc" onclick="openDoc('OAuth Document','/doc/oauth.html')"></div>
    +		</header>
    +		<div id="dcontent" class="dcontent">
    +			<br/>
    +			<p id="info" style="padding: 0 1em;text-align:left;">登录认证通道信息:</p>
    +			<div style="padding: 0.5em 1em;"><hr color="#EEE"/></div>
    +			<br/>
    +			<div id="oauth"></div>
    +			<br/>
    +			<div class="button button-waring" onclick="logoutAll()">注销登录</div>
    +		</div>
    +		<div id="output">
    +OAuth模块管理客户端的用户授权登录验证功能,允许应用访问第三方平台的资源。
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/orientation.html b/fangija-zsyf/plus/orientation.html
    new file mode 100644
    index 0000000..b881b8f
    --- /dev/null
    +++ b/fangija-zsyf/plus/orientation.html
    @@ -0,0 +1,70 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript">
    +function getOrient() {
    +	outSet( "获取设备当前方向信息" );
    +	plus.orientation.getCurrentOrientation( function ( o ) {
    +		outLine( "alpha:" + o.alpha + "\nbeta:" + o.beta + "\ngamma:" + o.gamma );
    +	}, function ( e ) {
    +		outLine( "获取失败:" + e.message );
    +	} );
    +}
    +var id = null;
    +function watchOrient() {
    +	if ( id ) {
    +		return;
    +	}
    +	outSet( "监听设备方向变化信息" );
    +	id = plus.orientation.watchOrientation( function ( o ) {
    +		outSet( "监听设备方向变化信息\n" + "alpha:" + o.alpha + "\nbeta:" + o.beta + "\ngamma:" + o.gamma );
    +	}, function ( e ) {
    +		plus.orientation.clearWatch( id );
    +		id = null;
    +		outLine( "监听失败:" + e.message );
    +	} );
    +}
    +function watchStop() {
    +	if ( id ) {
    +		outSet( "停止监听设备方向变化信息" );
    +		plus.orientation.clearWatch( id );
    +		id = null;
    +	} else {
    +		outSet( "没有监听设备方向变化" );
    +	}
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div class="nvtt">Orientation</div>
    +			<div class="nvbt idoc" onclick="openDoc('Orientation Document','/doc/orientation.html')"></div>
    +		</header>
    +		<div id="dcontent" class="dcontent">
    +			<div class="button" onclick="clicked('orientation_level.html',true)">
    +				水平仪
    +			</div>
    +			<div class="button" onclick="clicked('orientation_compass.html',true)">
    +				指南针
    +			</div>
    +			<br/>
    +			<ul class="dlist">
    +				<li class="ditem" onclick="getOrient()">获取设备的方向信息</li>
    +				<li class="ditem" onclick="watchOrient()">监听设备的方向变化</li>
    +				<li class="ditem" onclick="watchStop()">停止监听</li>
    +			</ul>
    +		</div>
    +		<div id="output">
    +Orientation可获取设备的方向信息,包括alpha(以垂直地心轴旋转的角度)、beta(以水平轴旋转的角度)、gamma(以垂直水平轴旋转的角度)三个方向信息。
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/orientation_compass.html b/fangija-zsyf/plus/orientation_compass.html
    new file mode 100644
    index 0000000..6cbdcbd
    --- /dev/null
    +++ b/fangija-zsyf/plus/orientation_compass.html
    @@ -0,0 +1,186 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript" >
    +// H5 plus事件处理
    +function plusReady(){
    +	// 锁定只能竖屏显示
    +	plus.screen.lockOrientation( "portrait-primary" );
    +}
    +if(window.plus){
    +	plusReady();
    +}else{
    +	document.addEventListener("plusready",plusReady,false);
    +}
    +// 解锁并关闭
    +var _back=window.back;
    +function unlockback(){
    +	plus.screen.unlockOrientation();
    +	_back();
    +}
    +window.back=unlockback;
    +
    +var t, x;
    +var ld;
    +var tran="0.1s", empty="0s";
    +var bani=false, bsp=true;
    +function update(d) {
    +	var c = ld - d;
    +	var ac = Math.abs(c);
    +	if (ac <= 1) {
    +		return;
    +	} else if (ac > 180) {
    +		if ( bani ) {
    +			t.style.webkitTransitionDuration = empty;
    +		}
    +		ld = (c > 0) ? ld - 360 : ld + 360;
    +		t.style.webkitTransform = "rotate(" + (bsp?(-ld):(ld)) + "deg)";
    +		setTimeout(adjust, 1);
    +	} else {
    +		t.style.webkitTransform = "rotate(" + (bsp?(-d):(d)) + "deg)";
    +	}
    +	ld = d;
    +	var r = Math.round(d);
    +	var txt = "";
    +	if (r >= 338 || r < 23) {
    +		txt = "北";
    +	} else if (r < 68) {
    +		txt = "东北";
    +	} else if (r < 113) {
    +		txt = "东";
    +	} else if (r < 158) {
    +		txt = "东南";
    +	} else if (r < 203) {
    +		txt = "南";
    +	} else if (r < 248) {
    +		txt = "西南";
    +	} else if (r < 293) {
    +		txt = "西";
    +	} else {
    +		txt = "西北";
    +	}
    +	x.innerHTML = txt + r + "°";
    +}
    +function adjust() {
    +	if ( bani ) {
    +		t.style.webkitTransitionDuration = tran;
    +	}
    +	t.style.webkitTransform = "rotate(" + (bsp?(-ld):(ld)) + "deg)";
    +}
    +function gohome() {
    +	plus.webview.currentWebview().close();
    +}
    +document.addEventListener("plusready", function() {
    +	t = document.getElementById("compass");
    +	x = document.getElementById("inf");
    +
    +	if ( plus.os.name == "iOS" ) {
    +		t.style.webkitTransition = "all 0.1s linear";
    +		bani = true;
    +		if ( plus.device.model.indexOf("iPhone") < 0 ) {
    +			bsp = false;
    +			document.getElementById("tip").innerText = "此设备方向数据不准确";
    +		}
    +	}
    +	plus.orientation.watchOrientation(function(r) {
    +		update(bsp?r.trueHeading:r.alpha);//update(r.alpha);
    +	}, function(e) {
    +		// error
    +	}, {
    +		frequency : 100
    +	});
    +}, false);
    +// Adjective select.
    +document.onselectstart = function() {
    +	return false;
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +		<style type="text/css">
    +#front {
    +	width: 100%;
    +	height: 40px;
    +	text-align: center;
    +	margin-top: 30px;
    +}
    +#container {
    +	width: 80%;
    +	position: relative;
    +	margin: auto;
    +	margin-top: 10px;
    +	text-align: center;
    +	line-height: 100%;
    +	overflow: hidden;
    +}
    +#bg {
    +	width: 100%;
    +	position: absolute;
    +	left: 0px;
    +	top: 0px;
    +	z-index: -1;
    +}
    +#compass {
    +	width: 100%;
    +	vertical-align: middle;
    +    /*
    +	-webkit-transition: all 0.1s linear;
    +	-moz-transform: rotate(45deg);
    +	-webkit-transform: rotate(45deg);
    +	-o-transform: rotate(45deg);
    +	-ms-transform: rotate(45deg);
    +	transform: rotate(45deg);
    +	*/
    +
    +}
    +#inf {
    +	width: 100%;
    +	height: 40px;
    +	line-height: 40px;
    +	font-size: 32px;
    +	font-weight: bold;
    +	text-align: center;
    +}
    +a.bh {
    +	width: 100%;
    +	height: 40px;
    +	position: fixed;
    +	bottom: 0px;
    +	background: rgb(128,128,128);
    +	text-align: center;
    +	line-height: 32px;
    +}
    +a.bh:active {
    +	background: rgb(64,64,64);
    +}
    +#hi {
    +	width: 32px;
    +	height: 32px;
    +	vertical-align: middle;
    +}
    +		</style>
    +	</head>
    +	<body>
    +		<header id="header" style="position:static">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div class="nvtt">指南针</div>
    +		</header>
    +		<div id="front">
    +			<img style="height:100%;" src="../img/orientationa.png"/>
    +		</div>
    +		<div id="inf">
    +			北0°
    +		</div>
    +		<div id="container">
    +			<img id="bg" src="../img/orientationbg.png"/>
    +			<img id="compass" src="../img/orientationc.png"/>
    +		</div>
    +		<div id="tip" style="width:100%;position:absolute;bottom:0;text-align:center;color:red"></div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/orientation_level.html b/fangija-zsyf/plus/orientation_level.html
    new file mode 100644
    index 0000000..acfebaf
    --- /dev/null
    +++ b/fangija-zsyf/plus/orientation_level.html
    @@ -0,0 +1,166 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript" >
    +// H5 plus事件处理
    +function plusReady(){
    +	// 锁定只能竖屏显示
    +	plus.screen.lockOrientation( "portrait-primary" );
    +}
    +if(window.plus){
    +	plusReady();
    +}else{
    +	document.addEventListener("plusready",plusReady,false);
    +}
    +// 解锁并关闭
    +var _back=window.back;
    +function unlockback(){
    +	plus.screen.unlockOrientation();
    +	_back();
    +}
    +window.back=unlockback;
    +
    +var t, xh, xv;
    +var R = 100;
    +function update(h, v) {
    +	var ch = 0, cv = 0;
    +	if (h > 90) {
    +		h = 180 - h;
    +	} else if (h < -90) {
    +		h = -180 - h;
    +	}
    +	if (v > 90) {
    +		v = 180 - v;
    +	} else if (v < -90) {
    +		v = -180 - v;
    +	}
    +	var r = Math.max(Math.abs(h), Math.abs(v)) / 90;
    +	var range = Math.round(R * r);
    +	if (h == 0) {
    +		cv = range * v / 90;
    +	} else if (v == 0) {
    +		ch = range * h / 90;
    +	} else {
    +		var a = Math.atan2(v, h);
    +		ch = range * Math.cos(a);
    +		cv = range * Math.sin(a);
    +	}
    +	ch = Math.round(ch);
    +	cv = Math.round(cv);
    +
    +	t.style.webkitTransform = "translate(" + ch + "px," + cv + "px)";
    +
    +	h = h.toFixed(1);
    +	v = v.toFixed(1);
    +	xh.innerHTML = "" + (-h);
    +	xv.innerHTML = "" + (-v);
    +}
    +document.addEventListener("plusready", function() {
    +	t = document.getElementById("bubble");
    +	R = Math.floor(t.offsetWidth * 130 / 320);
    +	xh = document.getElementById("h");
    +	xv = document.getElementById("v");
    +
    +	plus.orientation.watchOrientation(function(r) {
    +		update(-r.gamma, -r.beta);
    +	}, function(e) {
    +		// error
    +	}, {
    +		frequency : 100
    +	});
    +}, false);
    +// Adjective select.
    +document.onselectstart = function() {
    +	return false;
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +		<style type="text/css">
    +#front {
    +	width: 60%;
    +	height: 80px;
    +	margin: auto;
    +	margin-top: 20px;
    +	text-align: center;
    +}
    +.inf {
    +	width: 50%;
    +	height: 50%;
    +	line-height: 40px;
    +	font-size: 28px;
    +	text-align: center;
    +	text-align: center;
    +	vertical-align: middle;
    +	float: left;
    +}
    +#container {
    +	width: 80%;
    +	position: relative;
    +	margin: auto;
    +	text-align: center;
    +	line-height: 100%;
    +	overflow: hidden;
    +}
    +.bg {
    +	width: 100%;
    +	position: absolute;
    +	left: 0px;
    +	top: 0px;
    +	z-index: -1;
    +}
    +#bubble {
    +	width: 100%;
    +	vertical-align: middle;
    +	-webkit-transition: all 0.1s linear;
    +}
    +a.bh {
    +	width: 100%;
    +	height: 10%;
    +	position: fixed;
    +	bottom: 0px;
    +	background: rgb(128,128,128);
    +	text-align: center;
    +	vertical-align: middle;
    +}
    +a.bh:active {
    +	background: rgb(64,64,64);
    +}
    +#hi {
    +	height: 80%;
    +	margin: auto;
    +	margin-top: 5px;
    +	vertical-align: middle;
    +}
    +		</style>
    +	</head>
    +	<body>
    +		<header id="header" style="position:static">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div class="nvtt">水平仪</div>
    +		</header>
    +		<div id="front">
    +			<div class="inf" style="font-weight:bold;">
    +				横向
    +			</div>
    +			<div class="inf" style="font-weight:bold;">
    +				纵向
    +			</div>
    +			<div id="h" class="inf">
    +				0
    +			</div>
    +			<span id="v" class="inf">0</span>
    +		</div>
    +		<div id="container">
    +			<img class="bg" src="../img/orientationbg.png"/>
    +			<img class="bg" src="../img/orientationl.png"/>
    +			<img id="bubble" src="../img/orientationb.png"/>
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/payment.html b/fangija-zsyf/plus/payment.html
    new file mode 100644
    index 0000000..55c52cd
    --- /dev/null
    +++ b/fangija-zsyf/plus/payment.html
    @@ -0,0 +1,162 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript">
    +var pays={};
    +function plusReady(){
    +	// 获取支付通道
    +	plus.payment.getChannels(function(channels){
    +		var content=document.getElementById('dcontent');
    +		var info=document.getElementById('info');
    +		var txt='支付通道信息:';
    +		for(var i in channels){
    +			var channel=channels[i];
    +			if(channel.id=='qhpay'||channel.id=='qihoo'){	// 过滤掉不支持的支付通道:暂不支持360相关支付
    +				continue;
    +			}
    +			pays[channel.id]=channel;
    +			txt += 'id:'+channel.id+', ';
    +			txt += 'description:'+channel.description+', ';
    +			txt += 'serviceReady:'+channel.serviceReady+'; ';
    +			var de=document.createElement('div');
    +			de.setAttribute('class', 'button');
    +			de.setAttribute('onclick', 'pay(this.id)');
    +			de.id=channel.id;
    +			de.innerText=channel.description+'支付';
    +			content.appendChild(de);
    +			checkServices(channel);
    +		}
    +		info.innerText=txt;
    +	},function(e){
    +		outLine('获取支付通道失败:'+e.message);
    +	});
    +}
    +document.addEventListener('plusready', plusReady, false);
    +// 检测是否安装支付服务
    +function checkServices(pc){
    +	if(!pc.serviceReady){
    +		var txt=null;
    +		switch(pc.id){
    +			case 'alipay':
    +			txt='检测到系统未安装“支付宝快捷支付服务”,无法完成支付操作,是否立即安装?';
    +			break;
    +			default:
    +			txt='系统未安装“'+pc.description+'”服务,无法完成支付,是否立即安装?';
    +			break;
    +		}
    +		plus.nativeUI.confirm(txt, function(e){
    +			if(e.index==0){
    +				pc.installService();
    +			}
    +		}, pc.description);
    +	}
    +}
    +
    +var w=null;
    +var PAYSERVER='http://demo.dcloud.net.cn/payment/?payid=';
    +// 支付
    +function pay(id){
    +	if(w){return;}//检查是否请求订单中
    +	if(id==='appleiap'){
    +		outSet('应用内支付');
    +		clicked('payment_iap.html');
    +		return;
    +	}
    +	outSet('----- 请求支付 -----');
    +	var url=PAYSERVER;
    +	if(id=='alipay'||id=='wxpay'){
    +		url+=id;
    +	}else{
    +		plus.nativeUI.alert('当前环境不支持此支付通道!', null, '捐赠');
    +		return;
    +	}
    +	var appid=plus.runtime.appid;
    +	if(navigator.userAgent.indexOf('StreamApp')>=0){
    +		appid='Stream';
    +	}
    +	url+='&appid='+appid+'&total=';
    +	
    +	w=plus.nativeUI.showWaiting();
    +	// 请求支付订单
    +	var amount = document.getElementById('total').value;
    +	var xhr=new XMLHttpRequest();
    +	xhr.onreadystatechange=function(){
    +		switch(xhr.readyState){
    +			case 4:
    +			w.close();w=null;
    +			if(xhr.status==200){
    +				outLine('----- 请求订单成功 -----');
    +				outLine(xhr.responseText);
    +				var order=xhr.responseText;
    +				plus.payment.request(pays[id],order,function(result){
    +					outLine('----- 支付成功 -----');
    +					outLine(JSON.stringify(result));
    +					plus.nativeUI.alert('支付成功:感谢你的支持,我们会继续努力完善产品。',function(){
    +						back();
    +					},'捐赠');
    +				},function(e){
    +					outLine('----- 支付失败 -----');
    +					outLine('['+e.code+']:'+e.message);
    +					plus.nativeUI.alert('更多错误信息请参考支付(Payment)规范文档:http://www.html5plus.org/#specification#/specification/Payment.html', null, '支付失败:'+e.code);
    +				});
    +			}else{
    +				outLine('----- 请求订单失败 -----');
    +				outLine( xhr.status );
    +				plus.nativeUI.alert('获取订单信息失败!', null, '捐赠');
    +			}
    +			break;
    +			default:
    +			break;
    +		}
    +	}
    +	xhr.open('GET',url+amount);
    +	outLine('请求支付订单:'+url+amount);
    +	xhr.send();
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +		<style type="text/css">
    +#total{
    +	-webkit-user-select:text;
    +	text-align:right;
    +	padding:0 1em;
    +	border: 0px;
    +	border-bottom:1px solid #ECB100;
    +	border-radius: 0;
    +	font-size:16px;
    +	width:30%;
    +	outline:none;
    +}
    +		</style>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div class="nvtt">Payment</div>
    +			<div class="nvbt idoc" onclick="openDoc('Payment Document','/doc/payment.html')"></div>
    +		</header>
    +		<div id="dcontent" class="dcontent">
    +			<br/>
    +			<p id="info" style="padding: 0 1em;text-align:left;">支付通道信息:
    +			</p>
    +			<div style="padding: 0.5em 1em;"><hr color="#EEE"/></div>
    +			<p style="padding: 0 1em;text-align:left;">为DCloud提供的免费软件进行赞助吧。</p>
    +			<br/>
    +			<div style="padding: 0 1em;text-align:left">
    +				捐赠金额:<input id="total" type="number" value="1"/> 元
    +			</div>
    +			<br/>
    +			<!--<div class="button" onclick="clicked('payment_iap.html')">Apple IAP</div>-->
    +		</div>
    +		<div id="output">
    +Payment模块管理支付功能,可通过js调用第三方支付服务。通过plus.payment可获取支付管理对象。
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/payment_iap.html b/fangija-zsyf/plus/payment_iap.html
    new file mode 100644
    index 0000000..e6fd4d1
    --- /dev/null
    +++ b/fangija-zsyf/plus/payment_iap.html
    @@ -0,0 +1,100 @@
    +<!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>In-App Purchase</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript">
    +var iap=null;
    +var ids=['donation','donation6'];//应用内购项目
    +function plusReady(){
    +	// 获取支付通道
    +	plus.payment.getChannels(function(channels){
    +		for(var i in channels){
    +			var channel=channels[i];
    +			if(channel.id==='appleiap'){
    +				iap=channel;
    +			}
    +		}
    +		requestOrder();
    +	},function(e){
    +		console.log("获取支付通道失败:"+e.message);
    +	});
    +}
    +document.addEventListener('plusready',plusReady,false);
    +// 获取订单
    +function requestOrder(){
    +	plus.nativeUI.showWaiting('检测支付环境...');
    +	iap.requestOrder(ids,function(e){
    +		plus.nativeUI.closeWaiting();
    +		console.log('requestOrder success: '+JSON.stringify(e));
    +	},function(e){
    +		console.log('requestOrder failed: '+JSON.stringify(e));
    +		plus.nativeUI.closeWaiting();
    +		plus.nativeUI.confirm("错误信息:"+JSON.stringify(e),function(e){
    +			if(e.index==0){
    +				requestOrder();
    +			}else{
    +				back();
    +			}
    +		},'重新请求支付',['确定','取消']);
    +	});
    +}
    +// 支付
    +function pay(id){
    +	plus.nativeUI.showWaiting('',{style:"black",background:"rgba(0,0,0,0)"});
    +	plus.payment.request(iap, {productid:id}, function(result){
    +		plus.nativeUI.closeWaiting();
    +		alert('成功:'+JSON.stringify(result));
    +		plus.nativeUI.alert("支付成功:感谢你的支持,我们会继续努力完善产品。",function(){
    +			back();
    +		},"捐赠");
    +	},function(e){
    +		plus.nativeUI.closeWaiting();
    +		plus.nativeUI.alert("错误信息:"+e.message,null,"支付失败:"+e.code);
    +	});
    +}
    +// 获取已购买商品(非消耗性商品和订阅商品)
    +function restoreComplateRequest(){
    +	plus.nativeUI.showWaiting('',{style:"black",background:"rgba(0,0,0,0)"});
    +	iap.restoreComplateRequest({},function(results){
    +		plus.nativeUI.closeWaiting();
    +		alert(results.length);
    +		for(var i in results){
    +			alert('restoreComplateRequest['+i+']: '+JSON.stringify(results[i]));
    +		}
    +	});
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div class="nvtt">In-App Purchase</div>
    +		</header>
    +		<div id="content" class="content">
    +			<br/><br/>
    +			<p class="des" style="font-size:16px;line-height:30px;margin: 0px .5em;">
    +DCloud 是W3C会员、中国HTML5产业联盟发起单位,致力于推进HTML5发展,构建HTML5生态。
    +			</p>
    +			<br/>
    +			<strong>
    +支持HTML5开发工具HBuilder
    +			</strong>
    +			<div class="button" onclick="pay(ids[0])">
    +				捐赠1元
    +			</div>
    +			<div class="button" onclick="pay(ids[1])">
    +				捐赠6元
    +			</div>
    +			<div class="button" onclick="restoreComplateRequest()">
    +				restoreComplateRequest
    +			</div>
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    diff --git a/fangija-zsyf/plus/proximity.html b/fangija-zsyf/plus/proximity.html
    new file mode 100644
    index 0000000..f057202
    --- /dev/null
    +++ b/fangija-zsyf/plus/proximity.html
    @@ -0,0 +1,77 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript">
    +var ws=null;
    +document.addEventListener( "plusready", function(){
    +	//watchProximity();
    +	ws=plus.webview.currentWebview();
    +	// 页面隐藏时自动停止监听
    +	ws.addEventListener('hide',function(){
    +		watchStop();
    +	},false);
    +}, false );
    +function getProximity() {
    +	outSet( "获取设备当前距离传感器信息" );
    +	plus.proximity.getCurrentProximity( function ( d ) {
    +		outLine( "距离为:" + d );
    +	}, function ( e ) {
    +		outLine( "获取失败:" + e.message );
    +	} );
    +}
    +var id=null,bright=null;
    +function watchProximity() {
    +	if ( id ) {
    +		return;
    +	}
    +	outSet( "监听设备距离传感器信息" );
    +	bright = plus.screen.getBrightness();
    +	id = plus.proximity.watchProximity( function ( d ) {
    +		outLine( "距离变化:"+d );
    +		plus.screen.setBrightness( (d<1)?0.01:bright );
    +	}, function ( e ) {
    +		plus.proximity.clearWatch( id );
    +		id = null;
    +		outLine( "监听失败:" + e.message );
    +	} );
    +}
    +function watchStop() {
    +	if ( id ) {
    +		outSet( "停止监听设备距离传感器信息" );
    +		plus.proximity.clearWatch( id );
    +		id = null;
    +	} else {
    +		outSet( "没有监听设备距离传感器" );
    +	}
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="watchStop(),back()"></div>
    +			<div class="nvtt">Proximity</div>
    +			<div class="nvbt idoc" onclick="openDoc('Proximity Document','/doc/proximity.html')"></div>
    +		</header>
    +		<div id="dcontent" class="dcontent">
    +			<br/>
    +			<p class="des">距离传感器一般都在手机听筒的两侧或者是在手机听筒凹槽中,当有物体接近时(如将手机靠近耳朵接听或拨打电话),距离感应器可以检测并通知屏幕背景灯熄灭,拿开时再度点亮背景灯,这样可方便用户操作并节省电量。</p>
    +			<br/>
    +			<ul class="dlist">
    +				<li class="ditem" onclick="getProximity()">获取距离传感器信息</li>
    +				<li class="ditem" onclick="watchProximity()">监听距离传感器变化</li>
    +				<li class="ditem" onclick="watchStop()">停止监听</li>
    +			</ul>
    +		</div>
    +		<div id="output">
    +Proximity模块管理设备距离传感器,可获取当前设备的接近距离信息,通过plus.proximity可获取设备距离传感管理对象。
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/push.html b/fangija-zsyf/plus/push.html
    new file mode 100644
    index 0000000..858c877
    --- /dev/null
    +++ b/fangija-zsyf/plus/push.html
    @@ -0,0 +1,234 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript">
    +var pushServer = "http://demo.dcloud.net.cn/push/?";
    +var message = null;
    +// 监听plusready事件  
    +document.addEventListener( "plusready", function(){
    +	message = document.getElementById("message");
    +	// 监听点击消息事件
    +	plus.push.addEventListener( "click", function( msg ) {
    +		// 判断是从本地创建还是离线推送的消息
    +		switch( msg.payload ) {
    +			case "LocalMSG":
    +				outSet( "点击本地创建消息启动:" );
    +			break;
    +			default:
    +				outSet( "点击离线推送消息启动:");
    +			break;
    +		}
    +		// 提示点击的内容
    +		plus.nativeUI.alert( msg.content );
    +		// 处理其它数据
    +		logoutPushMsg( msg );
    +	}, false );
    +	// 监听在线消息事件
    +	plus.push.addEventListener( "receive", function( msg ) {
    +		if ( msg.aps ) {  // Apple APNS message
    +			outSet( "接收到在线APNS消息:" );
    +		} else {
    +			outSet( "接收到在线透传消息:" );
    +		}
    +		logoutPushMsg( msg );
    +	}, false );
    +}, false );
    +
    +/**
    + * 日志输入推送消息内容
    + */
    +function logoutPushMsg( msg ) {
    +	outLine( "title: "+msg.title );
    +	outLine( "content: "+msg.content );
    +	if ( msg.payload ) {
    +		if ( typeof(msg.payload)=="string" ) {
    +			outLine( "payload(String): "+msg.payload );
    +		} else {
    +			outLine( "payload(JSON): "+JSON.stringify(msg.payload) );
    +		}
    +	} else {
    +		outLine( "payload: undefined" );
    +	}
    +	if ( msg.aps ) {
    +		outLine( "aps: "+JSON.stringify(msg.aps) );
    +	}
    +}
    +
    +/**
    + * 获取本地推送标识信息
    + */
    +function getPushInfo(){
    +	var info = plus.push.getClientInfo();
    +	outSet( "获取客户端推送标识信息:" );
    +	outLine("id: "+info.id);
    +	outLine( "token: "+info.token );
    +	outLine( "clientid: "+info.clientid );
    +	outLine( "appid: "+info.appid );
    +	outLine( "appkey: "+info.appkey );
    +}
    +/**
    + * 本地创建一条推动消息
    + */
    +function createLocalPushMsg(){
    +	var options = {cover:false};
    +	var str = dateToStr(new Date());
    +	str += ": 欢迎使用HTML5+创建本地消息!";
    +	plus.push.createMessage( str, "LocalMSG", options );
    +	outSet( "创建本地消息成功!" );
    +	outLine( "请到系统消息中心查看!" );
    +	if(plus.os.name=="iOS"){
    +		outLine('*如果无法创建消息,请到"设置"->"通知"中配置应用在通知中心显示!');
    +	}
    +}
    +/**
    + * 读取所有推送消息
    + */
    +function listAllPush(){
    +	var msgs=null;
    +	switch ( plus.os.name ) {
    +		case "Android":
    +		msgs = plus.push.getAllMessage();
    +		break;
    +		default:
    +		break;
    +	}
    +	if ( !msgs ) {
    +		outSet( "此平台不支持枚举推送消息列表!" );
    +		return;
    +	}
    +	outSet( "枚举消息列表("+msgs.length+"):" );
    +	for ( var i in msgs ) {
    +		var msg = msgs[i];
    +		outLine( i+": "+msg.title+" - "+msg.content );
    +	}
    +}
    +/**
    + * 清空所有推动消息
    + */
    +function clearAllPush(){
    +	plus.push.clear();
    +	outSet( "清空所有推送消息成功!" );
    +}
    +/**
    + * 请求‘简单通知’推送消息
    + */
    +function requireNotiMsg(){
    +	if(navigator.userAgent.indexOf('StreamApp')>0){
    +		plus.nativeUI.toast('当前环境暂不支持发送推送消息');
    +		return;
    +	}
    +	var inf = plus.push.getClientInfo();
    +	var url = pushServer+'type=noti&appid='+encodeURIComponent(plus.runtime.appid);
    +	inf.id&&(url+='&id='+inf.id);
    +	url += ('&cid='+encodeURIComponent(inf.clientid));
    +	if(plus.os.name == 'iOS'){
    +		url += ('&token='+encodeURIComponent(inf.token));
    +	}
    +	url += ('&title='+encodeURIComponent('Hello H5+'));
    +	url += ('&content='+encodeURIComponent('欢迎回来体验HTML5 plus应用!'));
    +	url += ('&version='+encodeURIComponent(plus.runtime.version));
    +	plus.runtime.openURL( url );
    +}
    +/**
    + * 请求‘打开网页’推送消息
    + */
    +function requireLinkMsg(){
    +	if(navigator.userAgent.indexOf('StreamApp')>0){
    +		plus.nativeUI.toast('当前环境暂不支持发送推送消息');
    +		return;
    +	}
    +	var inf = plus.push.getClientInfo();
    +	var url = pushServer+"type=link&appid="+encodeURIComponent(plus.runtime.appid);
    +	inf.id&&(url+='&id='+inf.id);
    +	url += ('&cid='+encodeURIComponent(inf.clientid));
    +	if(plus.os.name == 'iOS'){
    +		url += ('&token='+encodeURIComponent(inf.token));
    +	}
    +	url += ('&title='+encodeURIComponent('HBuilder飞一样的编码'));
    +	url += ('&content='+encodeURIComponent('看HBuilder如何追求代码编写速度的极致!立即去瞧一瞧?'));
    +	url += ('&url='+encodeURIComponent('http://www.dcloud.io/'));
    +	url += ('&version='+encodeURIComponent(plus.runtime.version));
    +	plus.runtime.openURL( url );
    +}
    +/**
    + * 请求‘下载链接’推送消息
    + */
    +function requireDownMsg(){
    +	if(navigator.userAgent.indexOf('StreamApp')>0){
    +		plus.nativeUI.toast('当前环境暂不支持发送推送消息');
    +		return;
    +	}
    +	if ( plus.os.name != "Android" ) {
    +		plus.nativeUI.alert( "此平台不支持!" );
    +		return;
    +	}
    +	var inf = plus.push.getClientInfo();
    +	var url = pushServer+'type=down&appid='+encodeURIComponent(plus.runtime.appid);
    +	inf.id&&(url+='&id='+inf.id);
    +	url += ('&cid='+encodeURIComponent(inf.clientid));
    +	url += ('&title='+encodeURIComponent('Hello H5+'));
    +	url += ('&content='+encodeURIComponent('新版本发布了!立即下载体验?'));
    +	url += ('&ptitle='+encodeURIComponent('Hello H5+'));
    +	url += ('&pcontent='+encodeURIComponent('1. 优化用户体验;\n2. 修复在Android2.3.x某些设备可能异常退出的问题.'));
    +	url += ('&dtitle='+encodeURIComponent('下载Hello H5+'));
    +	url += ('&durl='+encodeURIComponent('http://www.dcloud.io/helloh5/HelloH5.apk'));
    +	url += ('&version='+encodeURIComponent(plus.runtime.version));
    +	plus.runtime.openURL( url );
    +}
    +/**
    + * 请求‘透传数据’推送消息
    + */
    +function requireTranMsg(){
    +	if(navigator.userAgent.indexOf('StreamApp')>0){
    +		plus.nativeUI.toast('当前环境暂不支持发送推送消息');
    +		return;
    +	}
    +	var inf = plus.push.getClientInfo();
    +	var url = pushServer+'type=tran&appid='+encodeURIComponent(plus.runtime.appid);
    +	inf.id&&(url+='&id='+inf.id);
    +	url += ('&cid='+encodeURIComponent(inf.clientid));
    +	if(plus.os.name == 'iOS'){
    +		url += ('&token='+encodeURIComponent(inf.token));
    +	}
    +	url += ('&title='+encodeURIComponent('Hello H5+'));
    +	url += ('&content='+encodeURIComponent('带透传数据推送通知,可通过plus.push API获取数据并进行业务逻辑处理!'));
    +	url += ('&payload='+encodeURIComponent('{"title":"Hello H5+ Test","content":"test content","payload":"1234567890"}'));
    +	url += ('&version='+encodeURIComponent(plus.runtime.version));
    +	plus.runtime.openURL( url );
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div class="nvtt">Push</div>
    +			<div class="nvbt idoc" onclick="openDoc('Push Document','/doc/push.html')"></div>
    +		</header>
    +		<div id="dcontent" class="dcontent">
    +			<div class="button" onclick="requireNotiMsg()">发送"普通通知"消息</div>
    +			<div class="button" onclick="requireLinkMsg()">发送"打开网页"消息</div>
    +			<div class="button" onclick="requireDownMsg()">发送"下载链接"消息</div>
    +			<div class="button" onclick="requireTranMsg()">发送"透传数据"消息</div>
    +			<br/>
    +			<ul id="dlist" class="dlist">
    +				<li class="ditem" onclick="getPushInfo()">获取客户端推送标识</li>
    +				<li class="ditem" onclick="createLocalPushMsg()">创建本地消息</li>
    +				<li class="ditem" onclick="listAllPush()">枚举推送消息</li>
    +				<li class="ditem" onclick="clearAllPush()">清空推送消息</li>
    +				<!--<li class="ditem" onclick="plus.push.setAutoNotification(false)">关闭自动显示消息</li>
    +				<li class="ditem" onclick="plus.push.setAutoNotification(true)">开启自动显示消息</li>-->
    +			</ul>
    +		</div>
    +		<div id="output">
    +Push模块管理推送消息功能,可以实现在线、离线的消息推送,通过plus.push可获取推送消息管理对象。
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/runtime.html b/fangija-zsyf/plus/runtime.html
    new file mode 100644
    index 0000000..3a43a82
    --- /dev/null
    +++ b/fangija-zsyf/plus/runtime.html
    @@ -0,0 +1,124 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript">
    +function getVersion(){
    +	outSet("程序版本号:"+plus.runtime.version+"\n内核版本号:"+plus.runtime.innerVersion);
    +}
    +function getArguments(){
    +	outSet("启动方式: "+plus.runtime.launcher+"\n启动参数: "+plus.runtime.arguments);
    +}
    +function restartApp() {
    +	plus.runtime.restart();
    +}
    +function getWidgetInfo() {
    +	plus.runtime.getProperty( plus.runtime.appid, function ( wgtinfo ) {
    +		//appid属性
    +		var wgtStr = "appid:"+wgtinfo.appid;
    +		//version属性
    +		wgtStr += "\nversion:"+wgtinfo.version;
    +		//name属性
    +		wgtStr += "\nname:"+wgtinfo.name;
    +		//description属性
    +		wgtStr += "\ndescription:"+wgtinfo.description;
    +		//author属性
    +		wgtStr += "\nauthor:"+wgtinfo.author;
    +		//email属性
    +		wgtStr += "\nemail:"+wgtinfo.email;
    +		//licence属性
    +		wgtStr += "\nlicense:"+wgtinfo.license;
    +		//licensehref属性
    +		wgtStr += "\nlicensehref:"+wgtinfo.licensehref;
    +		//features 属性
    +		wgtStr += "\nfeatures:"+wgtinfo.features;
    +		outSet( wgtStr );
    +	} );
    +}
    +function setBadge() {
    +	plus.runtime.setBadgeNumber( 50 );
    +	outSet( "设置程序图标右上角显示的提示数字为50\n请返回桌面查看" );
    +	if(plus.os.name=="iOS"){
    +		outLine( '*如果无法设置提示数字,请到"设置"->"通知"中配置应用在通知中心显示!' );
    +	}else{
    +		outLine( "注:仅支持小米(MIUI v5),其它设备暂不支持此功能!" );
    +	}
    +}
    +function clearBadge() {
    +	plus.runtime.setBadgeNumber( 0 );
    +	outSet( "清除程序图标右上角显示的提示数字\n请返回桌面查看" );
    +	if(plus.os.name=="iOS"){
    +		outLine( '如果无法清除提示数字,请到"设置"->"通知"中配置应用在通知中心显示!' );
    +	}else{
    +		outLine( "注:仅支持小米(MIUI v5),其它设备暂不支持此功能!" );
    +	}
    +}
    +function exitApp(){
    +	if(plus.os.name=="Android"){
    +		plus.runtime.quit();
    +	}else{
    +		outSet( "此平台不支持直接退出程序,请按Home键切换应用" );
    +	}
    +}
    +function updateApp(){
    +	var url='http://demo.dcloud.net.cn/helloh5/update/HelloH5.wgtu';
    +	plus.nativeUI.showWaiting("升级中...");
    +	var dtask = plus.downloader.createDownload( url, {method:"GET"}, function(d,status){
    +		if ( status == 200 ) { 
    +			console.log( "Download wgtu success: " + d.filename );
    +			plus.runtime.install(d.filename,{},function(){
    +				plus.nativeUI.closeWaiting();
    +				plus.nativeUI.alert("Update wgtu success, restart now!",function(){
    +					plus.runtime.restart();
    +				});
    +			},function(e){
    +				plus.nativeUI.closeWaiting();
    +				alert("Update wgtu failed: "+e.message);
    +			});
    +		} else {
    +			plus.nativeUI.closeWaiting();
    +			 alert( "Download wgtu failed: " + status ); 
    +		} 
    +	} );
    +	dtask.addEventListener('statechanged',function(d,status){
    +		console.log("statechanged: "+d.state);
    +	});
    +	dtask.start();
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div class="nvtt">Runtime</div>
    +			<div class="nvbt idoc" onclick="openDoc('Runtime Document','/doc/runtime.html')"></div>
    +		</header>
    +		<div id="dcontent" class="dcontent">
    +			<br/>
    +			<div class="button" onclick="clicked('runtime_launch.html',true);">
    +				调用第三方程序
    +			</div>
    +			<br/>
    +			<ul class="dlist">
    +				<li class="ditem" onclick="getVersion()">获取版本信息</li>
    +				<li class="ditem" onclick="getArguments()">获取启动信息</li>
    +				<li class="ditem" onclick="restartApp()">重启当前应用</li>
    +	            <li class="ditem" onclick="getWidgetInfo()">获取当前应用的基本属性</li>
    +				<li class="ditem" onclick="setBadge()">设置程序图标右上角数字</li>
    +				<li class="ditem" onclick="clearBadge()">清除程序图标右上角数字</li>
    +				<li class="ditem" onclick="exitApp()">退出当前应用</li>
    +				<!--li class="ditem" onclick="updateApp()">WGTU Update</li-->
    +			</ul>
    +		</div>
    +		<div id="output">
    +Runtime管理程序运行时环境,可用于获取程序的各种信息、与第三方程序通讯等。
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/runtime_launch.html b/fangija-zsyf/plus/runtime_launch.html
    new file mode 100644
    index 0000000..dd667f0
    --- /dev/null
    +++ b/fangija-zsyf/plus/runtime_launch.html
    @@ -0,0 +1,175 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript">
    +function androidMarket( pname ) {
    +	plus.runtime.openURL( "market://details?id="+pname );
    +}
    +function iosAppstore( url ) {
    +	plus.runtime.openURL( "itms-apps://"+url );
    +}
    +function openBrowser() {
    +	var url = "http://www.dcloud.io/";
    +	plus.runtime.openURL( url );
    +}
    +function openMap() {
    +	var url = "";
    +	switch ( plus.os.name ) {
    +		case "Android":
    +		url = "geo:39.96310,116.340698?q=%e6%95%b0%e5%ad%97%e5%a4%a9%e5%a0%82";
    +		break;
    +		case "iOS":
    +		url = "http://maps.apple.com/?q=%e6%95%b0%e5%ad%97%e5%a4%a9%e5%a0%82&ll=39.96310,116.340698&spn=0.008766,0.019441";
    +		break;
    +		default:
    +		return;
    +		break;
    +	}
    +	plus.runtime.openURL( url, function( e ) {
    +		plus.nativeUI.alert( "检查到您未安装地图程序\n" );
    +	} );
    +}
    +function openBMap() {
    +	var url=null,id=null,f=null;
    +	switch ( plus.os.name ) {
    +		case "Android":
    +		// 规范参考官方网站:http://developer.baidu.com/map/index.php?title=uri/api/android
    +		url = "baidumap://map/marker?location=39.968789,116.347247&title=DCloud&content=%e6%89%93%e9%80%a0HTML5%e6%9c%80%e5%a5%bd%e7%9a%84%e7%a7%bb%e5%8a%a8%e5%bc%80%e5%8f%91%e5%b7%a5%e5%85%b7&src=HelloH5";
    +		f = androidMarket;
    +		id = "com.baidu.BaiduMap";
    +		break;
    +		case "iOS":
    +		// 规范参考官方网站:http://developer.baidu.com/map/index.php?title=uri/api/ios
    +		url = "baidumap://map/marker?location=39.968789,116.347247&title=DCloud&content=%e6%89%93%e9%80%a0HTML5%e6%9c%80%e5%a5%bd%e7%9a%84%e7%a7%bb%e5%8a%a8%e5%bc%80%e5%8f%91%e5%b7%a5%e5%85%b7&src=HelloH5";
    +		f = iosAppstore;
    +		id = "itunes.apple.com/cn/app/bai-du-de-tu-yu-yin-dao-hang/id452186370?mt=8";
    +		break;
    +		default:
    +		return;
    +		break;
    +	}
    +	plus.runtime.openURL( url, function(e) {
    +		plus.nativeUI.confirm( "检查到您未安装\"百度地图\",是否到商城搜索下载?", function(i){
    +			if ( i.index == 0 ) {
    +				f(id);
    +			}
    +		} );
    +	} );
    +}
    +function openAMap() {
    +	var url=null,id=null,f=null;
    +	switch ( plus.os.name ) {
    +		case "Android":
    +		// 规范参考官方网站:http://lbs.amap.com/api/uri-api/android-uri-explain/
    +		url = "androidamap://viewMap?sourceApplication=HelloH5&poiname=DCloud&lat=39.9631018208&lon=116.3406135236&dev=0";
    +		f = androidMarket;
    +		id = "com.autonavi.minimap";
    +		break;
    +		case "iOS":
    +		// 规范参考官方网站:http://lbs.amap.com/api/uri-api/ios-uri-explain/
    +		url = "iosamap://viewMap?sourceApplication=HelloH5&poiname=DCloud&lat=39.9631018208&lon=116.3406135236&dev=0";
    +		f = iosAppstore;
    +		id = "itunes.apple.com/cn/app/gao-tu-zhuan-ye-dao-hang-ban/id461703208?mt=8";
    +		break;
    +		default:
    +		return;
    +		break;
    +	}
    +	plus.runtime.openURL( url, function( e ) {
    +		plus.nativeUI.confirm( "检查到您未安装\"高德地图\",是否到商城搜索下载?", function(i){
    +			if ( i.index == 0 ) {
    +				f(id);
    +			}
    +		} );
    +	}, id );
    +}
    +function openMarket() {
    +	var url="";
    +	switch ( plus.os.name ) {
    +		case "Android": {
    +			//url = "market://details?id=com.dheaven.helloh5";
    +			url = "market://details?id=io.dcloud.HelloH5";
    +			//url = "market://search?q=HelloH5";
    +			//url = "market://search?q=pub:HelloH5";
    +		}
    +		break;
    +		case "iOS": {
    +			url = "itms-apps://itunes.apple.com/cn/app/hello-h5+/id682211190?l=zh&mt=8";
    +		}
    +		break;
    +	}
    +	plus.runtime.openURL( url );
    +}
    +function openWeixin() {
    +    if ( plus.os.name == "Android" ) {
    +        plus.runtime.launchApplication( {pname:"com.tencent.mm"}
    +        	, function ( e ) {
    +				plus.nativeUI.confirm( "检查到您未安装\"微信\",是否到商城搜索下载?", function(i){
    +					if ( i.index == 0 ) {
    +						androidMarket( "com.tencent.mm" );
    +					}
    +				} );
    +        } );
    +    } else if ( plus.os.name == "iOS" ) {
    +        plus.runtime.launchApplication( {action:"weixin://RnUbAwvEilb1rU9g9yBU"}, function ( e ) {
    +			plus.nativeUI.confirm( "检查到您未安装\"微信\",是否到商城搜索下载?", function(i){
    +				if ( i.index == 0 ) {
    +					iosAppstore( "itunes.apple.com/cn/app/wechat/id414478124?mt=8" );
    +				}
    +			} );
    +        } );
    +    }
    +//	var url = "http://weixin.qq.com/r/RnUbAwvEilb1rU9g9yBU";
    +//	plus.runtime.openURL( url );
    +}
    +function openWeibo() {
    +    if ( plus.os.name == "Android" ) {
    +        plus.runtime.launchApplication( {pname:"com.sina.weibo"}
    +        	, function ( e ) {
    +				plus.nativeUI.confirm( "检查到您未安装\"微博\",是否到商城搜索下载?", function(i){
    +					if ( i.index == 0 ) {
    +						androidMarket( "com.sina.weibo" );
    +					}
    +				} );
    +        } );
    +    } else if ( plus.os.name == "iOS" ) {
    +        plus.runtime.launchApplication( {action:"sinaweibo://dhnetwork"}, function ( e ) {
    +			plus.nativeUI.confirm( "检查到您未安装\"微博\",是否到商城搜索下载?", function(i){
    +				if ( i.index == 0 ) {
    +					iosAppstore( "itunes.apple.com/cn/app/wei-bo/id350962117?mt=8" );
    +				}
    +			} );
    +        } );
    +    }
    +//	var url = "http://weibo.com/dhnetwork";
    +//	plus.runtime.openURL( url );
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back();"></div>
    +			<div class="nvtt">调用第三方应用</div>
    +		</header>
    +		<div id="dcontent" class="dcontent" style="bottom:0;">
    +			<br/>
    +			<ul class="dlist">
    +				<li class="ditem" onclick="openBrowser();">浏览器</li>
    +				<li class="ditem" onclick="openMarket();">应用市场</li>
    +				<li class="ditem" onclick="openMap();">地图</li>
    +				<li class="ditem" onclick="openBMap();">百度地图</li>
    +				<li class="ditem" onclick="openAMap();">高德地图</li>
    +				<li class="ditem" onclick="openWeixin();">微信</li>
    +				<li class="ditem" onclick="openWeibo();">微博</li>
    +			</ul>
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/share.html b/fangija-zsyf/plus/share.html
    new file mode 100644
    index 0000000..224b831
    --- /dev/null
    +++ b/fangija-zsyf/plus/share.html
    @@ -0,0 +1,299 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript">
    +var shares=null;
    +// H5 plus事件处理
    +function plusReady(){
    +	updateSerivces();
    +}
    +if(window.plus){
    +	plusReady();
    +}else{
    +	document.addEventListener('plusready', plusReady, false);
    +}
    +/**
    + * 更新分享服务
    + */
    +function updateSerivces(){
    +	plus.share.getServices(function(s){
    +		shares={};
    +		for(var i in s){
    +			var t=s[i];
    +			shares[t.id]=t;
    +		}
    +	}, function(e){
    +		outSet('获取分享服务列表失败:'+e.message);
    +	});
    +}
    +/**
    + * 调用系统分享
    +  */
    +function shareSystem(){
    +	outSet('调用系统分享');
    +	var msg={content:sharecontent.value};
    +	if(pic&&pic.realUrl){
    +		msg.pictures=[pic.realUrl];
    +	}
    +	if('iOS'==plus.os.name){//iOS平台添加链接地址
    +		msg.href='http://www.dcloud.io/';
    +	}
    +	outLine(JSON.stringify(msg));
    +	plus.share.sendWithSystem?plus.share.sendWithSystem(msg, function(){
    +		outLine('Success');
    +		console.log('Success');
    +	}, function(e){
    +		outLine('Failed: '+JSON.stringify(e));
    +		console.log('Failed: '+JSON.stringify(e));
    +	}):shareSystemNativeJS();
    +}
    +function shareSystemNativeJS() {
    +	if(plus.os.name!=='Android'){
    +		plus.nativeUI.alert('此平台暂不支持系统分享功能!');
    +		return;
    +	}
    +	var intent=new Intent(Intent.ACTION_SEND);
    +	if(pic&&pic.realUrl){
    +		var p = '';
    +		p = pic.realUrl;
    +		if(p.substr(0,7)==='file://'){
    +			p=p.substr(7);
    +		}else if(p.sub(0)!=='/'){
    +			p=plus.io.convertLocalFileSystemURL(p);
    +		}
    +	}
    +	var f = new File(p);
    +	var uri = Uri.fromFile(f);
    +	if(f.exists()&&f.isFile()){
    +		console.log('image/*');
    +		intent.setType('image/*');
    +		intent.putExtra(Intent.EXTRA_STREAM,uri);
    +	}else{
    +		console.log('text/plain');
    +		intent.setType('text/plain');
    +	}
    +	intent.putExtra(Intent.EXTRA_SUBJECT,'HelloH5');
    +	intent.putExtra(Intent.EXTRA_TEXT,sharecontent.value);
    +	intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
    +	main.startActivity(Intent.createChooser(intent,'系统分享HelloH5'));
    +}
    +/**
    +   * 分享操作
    +   * @param {JSON} sb 分享操作对象s.s为分享通道对象(plus.share.ShareService)
    +   * @param {Boolean} bh 是否分享链接
    +   */
    +function shareAction(sb,bh) {
    +	outSet('分享操作:');
    +	if(!sb||!sb.s){
    +		outLine('无效的分享服务!');
    +		return;
    +	}
    +	var msg={content:sharecontent.value,extra:{scene:sb.x}};
    +	if(bh){
    +		msg.href=sharehref.value;
    +		if(sharehrefTitle&&sharehrefTitle.value!=''){
    +			msg.title=sharehrefTitle.value;
    +		}
    +		if(sharehrefDes&&sharehrefDes.value!=''){
    +			msg.content=sharehrefDes.value;
    +		}
    +		msg.thumbs=['_www/logo.png'];
    +		msg.pictures=['_www/logo.png'];
    +	}else{
    +		if(pic&&pic.realUrl){
    +			msg.pictures=[pic.realUrl];
    +		}
    +	}
    +	// 发送分享
    +	if(sb.s.authenticated){
    +		outLine('---已授权---');
    +		shareMessage(msg, sb.s);
    +	}else{
    +		outLine('---未授权---');
    +		sb.s.authorize(function(){
    +			shareMessage(msg,sb.s);
    +		}, function(e){
    +			outLine('认证授权失败:'+e.code+' - '+e.message);
    +		});
    +	}
    +}
    +/**
    +   * 发送分享消息
    +   * @param {JSON} msg
    +   * @param {plus.share.ShareService} s
    +   */
    +function shareMessage(msg, s){
    +	outLine(JSON.stringify(msg));
    +	s.send(msg, function(){
    +		outLine('分享到"'+s.description+'"成功!');
    +	}, function(e){
    +		outLine('分享到"'+s.description+'"失败: '+JSON.stringify(e));
    +	});
    +}
    +/**
    + * 解除所有分享服务的授权
    + */
    +function cancelAuth(){try{
    +	outSet('解除授权:');
    +	for(var i in shares){
    +		var s=shares[i];
    +		if(s.authenticated){
    +			outLine('取消"'+s.description+'"');
    +		}
    +		s.forbid();
    +	}
    +	// 取消授权后需要更新服务列表
    +	updateSerivces();
    +	outLine('操作成功!');}catch(e){alert(e);}
    +}
    +// 拍照添加图片分享
    +function shareCameraPicture(){
    +	outSet('拍照添加分享图片:');
    +	var cmr=plus.camera.getCamera();
    +	cmr.captureImage(function(p){
    +		plus.io.resolveLocalFileSystemURL(p,function(entry){
    +			pic.src=entry.toLocalURL();
    +			pic.realUrl=p;
    +			outLine('拍照图片:'+pic.realUrl);
    +		},function(e){
    +			outLine('读取拍照文件错误:'+e.message);
    +		} );
    +	},function(e){
    +		outLine('拍照失败:'+e.message);
    +	});
    +}
    +// 从相册添加图片分享
    +function shareGalleryPicture(){
    +	outSet('从相册添加分享图片:');
    +	plus.gallery.pick(function(p){
    +		// 从相册返回的路径不需要转换可以直接使用
    +		pic.src=p;
    +		pic.realUrl=pic.src;
    +		outLine('选择图片:'+pic.realUrl);
    +//      plus.io.resolveLocalFileSystemURL(p,function(entry){
    +//			pic.src=entry.toLocalURL();
    +//			pic.realUrl=pic.src;
    +//			outLine('选择图片:'+pic.realUrl);
    +//		},function(e){
    +//			outLine('读取拍照文件错误:'+e.message);
    +//		} );
    +    });
    +}
    +// 使用Logo图片分享
    +function shareLogoPicture(){
    +	outSet('使用Logo分享图片:');
    +	var url='_www/logo.png';
    +	plus.io.resolveLocalFileSystemURL(url, function(entry){
    +		pic.src=entry.toLocalURL();
    +		pic.realUrl=url;
    +	}, function(e){
    +		outLine('读取Logo文件错误:'+e.message);
    +	});
    +}
    +// 打开分享
    +function shareShow(){
    +	var shareBts=[];
    +	// 更新分享列表
    +	var ss=shares['weixin'];
    +	if(navigator.userAgent.indexOf('qihoo')<0){  //在360流应用中微信不支持分享图片
    +		ss&&ss.nativeClient&&(shareBts.push({title:'微信朋友圈',s:ss,x:'WXSceneTimeline'}),
    +		shareBts.push({title:'微信好友',s:ss,x:'WXSceneSession'}));
    +	}
    +	ss=shares['sinaweibo'];
    +	ss&&shareBts.push({title:'新浪微博',s:ss});
    +	ss=shares['qq'];
    +	ss&&ss.nativeClient&&shareBts.push({title:'QQ',s:ss});
    +	// 弹出分享列表
    +	shareBts.length>0?plus.nativeUI.actionSheet({title:'分享',cancel:'取消',buttons:shareBts}, function(e){
    +		(e.index>0)&&shareAction(shareBts[e.index-1],false);
    +	}):plus.nativeUI.alert('当前环境无法支持分享操作!');
    +}
    +// 分析链接
    +function shareHref(){
    +	var shareBts=[];
    +	// 更新分享列表
    +	var ss=shares['weixin'];
    +	ss&&ss.nativeClient&&(shareBts.push({title:'微信朋友圈',s:ss,x:'WXSceneTimeline'}),
    +	shareBts.push({title:'微信好友',s:ss,x:'WXSceneSession'}));
    +	ss=shares['qq'];
    +	ss&&ss.nativeClient&&shareBts.push({title:'QQ',s:ss});
    +	// 弹出分享列表
    +	shareBts.length>0?plus.nativeUI.actionSheet({title:'分享链接',cancel:'取消',buttons:shareBts},function(e){
    +		(e.index>0)&&shareAction(shareBts[e.index-1],true);
    +	}):plus.nativeUI.alert('当前环境无法支持分享链接操作!');
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +		<style type="text/css">
    +#sharecontent{
    +	width:80%;
    +	-webkit-user-select:text;
    +	border: 1px solid #6C6C6C;
    +	-webkit-border-radius: 2px;
    +	border-radius: 2px;
    +}
    +#pic{
    +	width:100px;
    +	height:100px;
    +	/*border: 1px dashed #CCCCCC;*/
    +}
    +.sharehref{
    +	width:80%;
    +	-webkit-user-select:text;
    +	border: 1px solid #6C6C6C;
    +	-webkit-border-radius: 2px;
    +	border-radius: 2px;
    +	margin-bottom: .5em;
    +}
    +		</style>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div class="nvtt">Share</div>
    +			<div class="nvbt idoc" onclick="openDoc('Share Document','/doc/share.html')"></div>
    +		</header>
    +		<div id="dcontent" class="dcontent">
    +			<br/>
    +			<p class="heading">分享内容:</p>
    +			<textarea id="sharecontent" rows="3">我正在使用HBuilder+HTML5开发移动应用,赶紧跟我一起来体验!</textarea>
    +			<br/><br/>
    +			<p class="heading">分享图片:</p>
    +			<table style="width:100%;">
    +				<tbody>
    +					<tr>
    +						<td style="width:30%"><div class="button button-select" onclick="shareCameraPicture()">拍照</div></td>
    +						<td style="width:30%"><div class="button button-select" onclick="shareGalleryPicture()">相册选取</div></td>
    +						<td style="width:30%"><div class="button button-select" onclick="shareLogoPicture()">使用logo图</div></td>
    +					</tr>
    +				</tbody>
    +			</table>
    +			<img id="pic" src="../img/add.png"/>
    +			<br/>
    +			<div class="button" onclick="shareShow()">分 享</div>
    +			<div class="button" onclick="shareSystem()">系统分享</div>
    +			<div style="padding: 0.5em 1em;"><hr color="#EEE"/></div>
    +			<p class="heading">链接地址:</p>
    +			<input id="sharehref" class="sharehref" type="url" value="http://www.dcloud.io/" placeholder="请输入要分享的链接地址"/>
    +			<p class="heading">链接标题:</p>
    +			<input id="sharehrefTitle" class="sharehref" type="text" value="DCloud HBuilder-做最好的HTML5开发工具" placeholder="请输入要分享的链接标题"/>
    +			<p class="heading">链接描述:</p>
    +			<input id="sharehrefDes" class="sharehref" type="text" value="我正在使用HBuilder+HTML5开发移动应用,赶紧跟我一起来体验!" placeholder="请输入要分享的链接描述"/>
    +			<div class="button" onclick="shareHref()">分享链接</div>
    +			<br/><br/>
    +			<div style="padding: 0.5em 1em;"><hr color="#EEE"/></div>
    +			<p class="des">如果需要解除分享中绑定的用户信息,请点击解除授权:</p>
    +			<div class="button" onclick="cancelAuth()">解除授权</div>
    +		</div>
    +		<div id="output">
    +Share模块管理客户端的社交分享功能,提供调用终端社交软件的分享能力。通过plus.share可获取社交分享管理对象。
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/speech.html b/fangija-zsyf/plus/speech.html
    new file mode 100644
    index 0000000..52dc39c
    --- /dev/null
    +++ b/fangija-zsyf/plus/speech.html
    @@ -0,0 +1,77 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript">
    +var text=null;
    +function startRecognize() {
    +	if(plus.os.name=='Android'&&navigator.userAgent.indexOf('StreamApp')>0){
    +		plus.nativeUI.toast('当前环境暂不支持语音识别插件');
    +		return;
    +	}
    +	var options = {};
    +	options.engine = 'iFly';
    +	//options.punctuation = false;	// 是否需要标点符号 
    +	text.value = "";
    +	outSet( "开始语音识别:" );
    +	plus.speech.startRecognize( options, function ( s ) {
    +		outLine( s );
    +		text.value += s;
    +	}, function ( e ) {
    +		outSet( "语音识别失败:"+e.message );
    +	} );
    +}
    +function startRecognizeEnglish(){
    +	if(plus.os.name=='Android'&&navigator.userAgent.indexOf('StreamApp')>0){
    +		plus.nativeUI.toast('当前环境暂不支持语音识别插件');
    +		return;
    +	}
    +	var options = {};
    +	options.engine = 'iFly';
    +	options.lang = 'en-us';
    +	text.value = "";
    +	outSet( "开始语音识别:" );
    +	plus.speech.startRecognize( options, function ( s ) {
    +		outLine( s );
    +		text.value += s;
    +	}, function ( e ) {
    +		outSet( "语音识别失败:"+e.message );
    +	} );
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +		<style type="text/css">
    +.out {
    +	margin: 9px;
    +	height: 30%;
    +	width: 90%;
    +}
    +		</style>
    +	</head>
    +	<body onload="text=document.getElementById('text');">
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div class="nvtt">Speech</div>
    +			<div class="nvbt idoc" onclick="openDoc('Speech Document','/doc/speech.html')"></div>
    +		</header>
    +		<div id="dcontent" class="dcontent">
    +			<br/>
    +			<div class="button" onclick="startRecognize()">开始语音识别</div>
    +			<br/>
    +			<div class="button" onclick="startRecognizeEnglish()">开始语音识别(英语)</div>
    +			<br/>
    +			<textarea readonly="readonly" id="text" style="margin:2%;padding:2%;height:50%;width:90%;border:1px solid #6C6C6C;-webkit-border-radius: 2px;border-radius: 2px;-webkit-appearance:none;">
    +语音输入内容
    +			</textarea>
    +		</div>
    +		<div id="output">
    +Speech提供语音识别功能,可通过麦克风设备进行语音输入操作。
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/statistic.html b/fangija-zsyf/plus/statistic.html
    new file mode 100644
    index 0000000..5df6e41
    --- /dev/null
    +++ b/fangija-zsyf/plus/statistic.html
    @@ -0,0 +1,107 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript">
    +var duration=null,counter=null,loading=null;
    +document.addEventListener( "plusready", function(){
    +	counter = document.getElementById("counter");
    +	loading = document.getElementById("loading");
    +	duration = document.getElementById("duration");
    +	duration.addEventListener( "touchstart", durationStart, false );
    +	duration.addEventListener( "touchend", durationEnd, false );
    +	plus.statistic.eventTrig( "open" );
    +	plus.statistic.eventStart( "stay" );
    +}, false );
    +function statisticBack() {
    +	plus.statistic.eventEnd( "stay" );
    +	back();
    +}
    +var tc=null,tl=null,count=0;
    +var ds=null;
    +function doCounter(){
    +	loading.style.webkitTransition = "all 0.8s ease-in-out";
    +	loading.style.borderWidth = "0";
    +	loading.style.borderColor = "rgba(128,128,128,0.8)";
    +	tc = setTimeout( function(){
    +		count++;
    +		loading.style.webkitTransition = "";
    +		loading.style.borderWidth = "50px";
    +		loading.style.borderColor = "rgba(255,255,255,0)";
    +		counter.innerText = count;
    +		tl=setTimeout( doCounter, 0 );
    +	}, 1000 );
    +}
    +function durationStart(){
    +	ds = new Date();
    +	count = 0;
    +	counter.innerText = "0";
    +	counter.style.visibility = "visible";
    +	doCounter();
    +	outSet( "按下开始计时:" );
    +}
    +function durationEnd(){
    +	clearTimeout( tc );
    +	tc = null;
    +	clearTimeout( tl );
    +	tl = null;
    +	loading.style.webkitTransition = "";
    +	loading.style.borderWidth = "50px";
    +	loading.style.borderColor = "rgba(255,255,255,0)";
    +	counter.style.visibility = "hidden";
    +	var d = (new Date()).getTime()-ds.getTime();
    +	plus.statistic.eventDuration( "press", d );
    +	outLine( "您按下的时间为"+d+"ms,后台会将此数据提交到服务器!" );
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +		<style type="text/css">
    +.counter {
    +    width: 100px;
    +    height: 100px;
    +    margin: 0 auto;
    +    line-height: 100px;
    +    font-size: 48px;
    +    visibility: hidden;
    +}
    +.loading {
    +	height: 100px;
    +	width: 100px;
    +	border-style:solid;
    +	position:relative;
    +	top: -100px;
    +	display:inline-block;
    +	box-sizing:border-box;
    +	border-width:50px;
    +	border-color:rgba(255,255,255,0);
    +	border-radius: 50px;
    +}
    +		</style>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="statisticBack();"></div>
    +			<div class="nvtt">Statistic</div>
    +			<div class="nvbt idoc" onclick="openDoc('Statistic Document','/doc/statistic.html')"></div>
    +		</header>
    +		<div id="dcontent" class="dcontent">
    +			<br/>
    +			<p class="des">应用会在后台统计打开此页面的次数及在此页面停留的时间,目前应用集成的是友盟统计插件,相关统计数据需要登录到<a href="" onclick="plus.runtime.openURL('http://www.umeng.com/');">友盟官网</a>查看。</p>
    +			<div style="height:100px;">
    +				<div id="counter" class="counter">0</div>
    +				<div id="loading" class="loading"></div>
    +			</div>
    +			<div id="duration" class="button">统计按下时长</div>
    +			<br/>
    +		</div>
    +		<div id="output">
    +Statistic模块管理统计功能,用于提供应用内统计的能力,支持统计和分析用户属性和用户行为数据。
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/storage.html b/fangija-zsyf/plus/storage.html
    new file mode 100644
    index 0000000..d3be774
    --- /dev/null
    +++ b/fangija-zsyf/plus/storage.html
    @@ -0,0 +1,88 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript">
    +function setItemFun( id ) {
    +	//循环插入100调数据
    +	var dataNum = new Number(id);
    +	for ( var i=0; i<dataNum; i++ ) {
    +		plus.storage.setItem( "key"+i, "value"+i );
    +	}
    +	var length = getLengthFun();
    +	outSet( "数据存储成功,存储了"+length+"条数据;" );
    +}
    +function getLengthFun(){
    +	return plus.storage.getLength();
    +}
    +function getAllItem(){
    +	outSet( "获取数据:" );
    +	var itemLength = getLengthFun();
    +	for ( var i=0; i < itemLength; i++ ) {
    +		var key = plus.storage.key(i);
    +	  	var value = plus.storage.getItem(key);
    +	  	outLine( "key:"+key+"-->value:"+value );
    +	};
    +}
    +function delItem() {
    +	outSet( "删除数据:" );
    +	var itemLength = getLengthFun();
    +	for (var i=0; i < itemLength; i+=2) {
    +		var key = plus.storage.key(i);
    +	  	plus.storage.removeItem(key);
    +	};
    +	var itemNo = getLengthFun();
    +	outLine( "移除了"+(itemLength-itemNo)+"条数据" );
    +}
    +function clearAllItem(){
    +	plus.storage.clear();
    +	var num = getLengthFun();
    +	if ( num == 0 ) {
    +		outSet( "storage数据清除成功!" );
    +	}else{
    +		outSet( "storage数据清除失败!" );
    +	}
    +}
    +function modifyTopFive(){
    +	outSet( "修改前的数据是:" );
    +	for (var i=0; i < 5; i++) {
    +		var key = plus.storage.key(i),value = plus.storage.getItem(key);
    +	  	outLine( "key:"+key+"-->value:"+value );
    +		plus.storage.setItem( key, "新数据值>>"+i );
    +	};
    +	outLine( "修改后的数据是:" );
    +	for (var i=0; i < 5; i++) {
    +		var key = plus.storage.key(i),value = plus.storage.getItem(key);
    +		outLine( "key:"+key+"-->value:"+value );
    +	};
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div class="nvtt">Storage</div>
    +			<div class="nvbt idoc" onclick="openDoc('Storage Document','/doc/storage.html')"></div>
    +		</header>
    +		<div id="dcontent" class="dcontent">
    +			<br/>
    +			<ul class="dlist">
    +	            <li class="ditem" onclick="setItemFun('11')">插入11条数据</li>
    +	            <li class="ditem" onclick="getAllItem()">查询所有数据</li>
    +	            <li class="ditem" onclick="modifyTopFive()">修改前五条数据的内容</li>
    +	            <li class="ditem" onclick="delItem()">删除部分Item</li>
    +	            <li class="ditem" onclick="clearAllItem()">清除所有内容</li>
    +			</ul>
    +		</div>
    +		<div id="output">
    +Storage管理本地数据存储,用于保存应用的全局数据,可在程序内部跨页面(跨域)共享数据。
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/uploader.html b/fangija-zsyf/plus/uploader.html
    new file mode 100644
    index 0000000..a32217c
    --- /dev/null
    +++ b/fangija-zsyf/plus/uploader.html
    @@ -0,0 +1,110 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript">
    +var server="http://demo.dcloud.net.cn/helloh5/uploader/upload.php";
    +var files=[];
    +// 上传文件
    +function upload(){
    +	if(files.length<=0){
    +		plus.nativeUI.alert("没有添加上传文件!");
    +		return;
    +	}
    +	outSet("开始上传:")
    +	var wt=plus.nativeUI.showWaiting();
    +	var task=plus.uploader.createUpload(server,
    +		{method:"POST"},
    +		function(t,status){ //上传完成
    +			if(status==200){
    +				outLine("上传成功:"+t.responseText);
    +				plus.storage.setItem("uploader",t.responseText);
    +				var w=plus.webview.create("uploader_ret.html","uploader_ret.html",{scrollIndicator:'none',scalable:false});
    +				w.addEventListener("loaded",function(){
    +					wt.close();
    +					w.show("slide-in-right",300);
    +				},false);
    +			}else{
    +				outLine("上传失败:"+status);
    +				wt.close();
    +			}
    +		}
    +	);
    +	task.addData("client","HelloH5+");
    +	task.addData("uid",getUid());
    +	for(var i=0;i<files.length;i++){
    +		var f=files[i];
    +		task.addFile(f.path,{key:f.name});
    +	}
    +	task.start();
    +}
    +// 拍照添加文件
    +function appendByCamera(){
    +	plus.camera.getCamera().captureImage(function(p){
    +		appendFile(p);
    +	});	
    +}
    +// 从相册添加文件
    +function appendByGallery(){
    +	plus.gallery.pick(function(p){
    +        appendFile(p);
    +    });
    +}
    +// 添加文件
    +var index=1;
    +function appendFile(p){
    +	var fe=document.getElementById("files");
    +	var li=document.createElement("li");
    +	var n=p.substr(p.lastIndexOf('/')+1);
    +	li.innerText=n;
    +	fe.appendChild(li);
    +	files.push({name:"uploadkey"+index,path:p});
    +	index++;
    +	empty.style.display="none";
    +}
    +// 产生一个随机数
    +function getUid(){
    +	return Math.floor(Math.random()*100000000+10000000).toString();
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div class="nvtt">Uploader</div>
    +			<div class="nvbt idoc" onclick="openDoc('Uploader Document','/doc/uploader.html')"></div>
    +		</header>
    +		<div id="dcontent" class="dcontent">
    +			<br/>
    +			<p class="heading">上传文件列表:</p>
    +			<ul id="files" style="text-align:left;">
    +				<p id="empty" style="font-size:12px;color:#C6C6C6;">无上传文件</p>
    +			</ul>
    +			<table style="width:100%;">
    +				<tbody>
    +					<tr>
    +						<td style="width:40%"><div class="button button-select" onclick="appendByCamera()">拍照</div></td>
    +						<td style="width:40%"><div class="button button-select" onclick="appendByGallery()">相册选取</div></td>
    +					</tr>
    +				</tbody>
    +			</table>
    +			<br/>
    +			<div class="button" onclick="upload()">上 传</div>
    +			<br/>
    +			<!--<ul class="dlist">
    +				<li class="ditem" onclick="appendByCamera()">拍照添加文件</li>
    +				<li class="ditem" onclick="appendByGallery()">相册添加文件</li>
    +			</ul>-->
    +		</div>
    +		<div id="output">
    +Uploader用于管理文件的上传,用于从本地上传各种文件到网络服务器,支持跨域访问操作。
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/uploader_ret.html b/fangija-zsyf/plus/uploader_ret.html
    new file mode 100644
    index 0000000..d1d83f4
    --- /dev/null
    +++ b/fangija-zsyf/plus/uploader_ret.html
    @@ -0,0 +1,98 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript">
    +// H5 plus事件处理
    +var ret=null;
    +function plusReady(){
    +	ret=plus.storage.getItem("uploader");
    +	update();
    +}
    +if(window.plus){
    +	plusReady();
    +}else{
    +	document.addEventListener("plusready",plusReady,false);
    +}
    +// DOM事件
    +var ce=null;
    +document.addEventListener("DOMContentLoaded",function(){
    +	ce=document.getElementById("dcontent");
    +	update();
    +},false);
    +// 更新内容
    +var fs=null;
    +function update(){
    +	if(!ret||!ce)return;
    +	var j=JSON.parse(ret);
    +	var ih='<br/>Datas:<br/><div style="text-align:left;padding:10px 2%;">';
    +	var ds=j.strings;
    +	for(d in ds){
    +		ih += d+" : "+ds[d]+"<br/>";
    +	}
    +	ih+='</div><hr/>Files:<br/><div id="fl">';
    +	fs=j.files;
    +	for(f in fs){
    +		ih += '<a class="fitem" onclick="plus.runtime.openURL(\'http://demo.dcloud.net.cn/helloh5/uploader/'+fs[f].url+'\')">'+fs[f].name+'</a>';
    +	}
    +	ih+='</div>';
    +	ce.innerHTML=ih;
    +}
    +// 清除上传返回的数据
    +function resetUploader(){
    +	plus.storage.setItem("uploader","");
    +}
    +// 删除上传的文件
    +function deleteFiles(){
    +	var url="http://demo.dcloud.net.cn/helloh5/uploader/delete.php?";
    +	for(f in fs){
    +		url += f+"="+fs[f].name+"&";
    +	}
    +	var r=new plus.net.XMLHttpRequest();
    +	r.open('GET',url);
    +	r.send();
    +	document.getElementById('fl').innerHTML="";
    +}
    +		</script>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<style type="text/css">
    +.fitem {
    +	width: 96%;
    +	overflow: hidden;
    +	padding: 10px 2%;
    +	border-bottom: 1px solid #c6c6c6;
    +	color: #6c6c6c;
    +	text-align: left;
    +	text-decoration: none;
    +	display: block;
    +}
    +.fitem:active {
    +	background: #f4f4f4;
    +}
    +.fname {
    +	font-weight: bolder;
    +	height: 22px;
    +	font-size: 16px;
    +}
    +.iclear {
    +	background: no-repeat center center url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABYCAYAAAADWlKCAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABZ0RVh0Q3JlYXRpb24gVGltZQAwNy8xNy8xNGW7Pb8AAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzbovLKMAAAD3ElEQVR4nO2b0W3bSBCG/+Hy/dTBsYOQFvV8ugqsVBB3EHcQuQNdB3IH6uCUZxJYpQOmA+td3LmHIw+KjpIZh5R/w/MBBgxxOTujD9RyiKWoKgweotdOwPgRE0KGCSHDhJBhQsgwIWSYEDJMCBkmhAwTQoYJIcOEkGFCyDAhZJgQMkwIGSaEDBNChgkhw4SQYULIMCFkmBAyTAgZJoSM+LUTOEVEeo8timLunPvf1subm5uvfWOw7dwUuoR6CPHeTw6Hw98iknYdV9VdHMd/Zln29FwsuvrpEnpGyImMv1R1c3L+AsDnvlLo6qdL6IwQ731S1/UfqnovIqmqPsxms2XX2LIsV2ikiMjKOfc1y7Kqayxd/XQJHQnx3ichhE+qegcgORr2mOf53aU4ZVluANwefVSJyDqKosdjOXT10yXUCCmKYikinwFMToZ8c87Nsyx7Ol1Ljn+mvPeTuq63AD6cnP8kIqvpdPrQnDNuQT8JnZDdbndpwd4755IuGS0dUioAv50Gaselafrswn9N6ISUZbkUkS9nDm9EZAcAIYTFpbusKIo2zf8pgMWZcQ95ni8HSHswGPuQ5MLhhaoumnGXYqSNiF+Z61Wg69RVdX2tuZxzq2vN1Rc6IbPZbAvgI4D9iNPsAXzMsmw34hwvgm4NaX+KmkX7XkTuAPw+UPjvqrqO43jVNox09dMl1LE2eO/Tw+HQLuIp+gv6DmDX3FFtuq4IuvrpEur5cNF7nxwOh6TrWBzH1bnO/BS2+qGqVH8tRVEsvffJ0PV675OiKJas9dPd9h4xr+v6S/MIZNs8j3rRItw8B7sFsKjreg6g9+P5a0MrRETaDnqBf79IlGVZAaiaxu9JVasoiqrj80IIiYgkIYRJs+YkdV0nZ2LTQSukeVJ7e/JxAiARkXn78xZC6Dr34lqkqnS3uy10fcg1iKKI9gphFrIdK3AIwa4Qox/UfUhZlqMkl+f5f5Ow1W9XCBnsQr69kZiDQS1EVQe/Gxoj5pBQCxGR6i3EHBJqIapavYWYQ0ItZIwGjrkpBMiFjNHAMTeFALmQ9wh1YwgM3xweN4WANYYvYcjNDmNunBgEeiEico9hvsh9E4saeiHT6XTtnEsBPP5CmEfnXDKdTtcDpTUa9GvIMd77SQjhTlXnAObo2LPbsAewFZFtFEXrS++I0NVPl9BPvNLW7N36YctoHMe7Pm9OtdDVz5bQe4d+DXlvmBAyTAgZJoQME0KGCSHDhJBhQsgwIWSYEDJMCBkmhAwTQoYJIcOEkGFCyDAhZJgQMkwIGSaEDBNChgkhw4SQYULIMCFk/AMqfZUpSkU8pwAAAABJRU5ErkJggg==);
    +	background-size: 50px 44px;
    +}
    +		</style>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="resetUploader();back();"></div>
    +			<div class="nvtt">Uploaded Data&amp;File</div>
    +			<div class="nvbt iclear" onclick="deleteFiles()"></div>
    +		</header>
    +		<div id="dcontent" class="dcontent">
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/webview.html b/fangija-zsyf/plus/webview.html
    new file mode 100644
    index 0000000..041ed7c
    --- /dev/null
    +++ b/fangija-zsyf/plus/webview.html
    @@ -0,0 +1,107 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript">
    +// 预创建二级页面
    +var preate={};
    +function preateWebivew(id){
    +	if(!preate[id]){
    +		var w=plus.webview.create(id,id,{scrollIndicator:'none',scalable:false,popGesture:'hide'},{preate:true});
    +		preate[id]=w;
    +		w.addEventListener('close',function(){//页面关闭后可再次打开
    +			_openw=null;
    +			preate[id]&&(preate[id]=null);//兼容窗口的关闭
    +		},false);
    +	}
    +}
    +// 判断预载打开
    +var _openw=null;
    +function pclicked(id){
    +	if(_openw){return;}
    +	_openw=preate[id];
    +	if(_openw){
    +		if(_openw.showded){
    +			_openw.show('auto');
    +		}else{
    +			_openw.show(as);
    +			_openw.showded=true;
    +		}
    +		_openw=null;
    +	}else{
    +		_openw=plus.webview.create(id,id,{scrollIndicator:'none',scalable:false,popGesture:'hide'});
    +		preate[id]=_openw;
    +		_openw.addEventListener('loaded',function(){//叶面加载完成后才显示
    +//			setTimeout(function(){
    +			_openw.show(as);
    +			_openw.showded=true;
    +			_openw=null;
    +//			},10);
    +		},false);
    +		_openw.addEventListener('close',function(){//页面关闭后可再次打开
    +			_openw=null;
    +			preate[id]&&(preate[id]=null);//兼容窗口的关闭
    +		},false);
    +	}
    +}
    +// H5 plus事件处理
    +var as='pop-in';// 默认动画类型
    +function plusReady(){
    +//	preateWebivew('webview_animation.html');
    +//	preateWebivew('webview_pullhead.html');
    +}
    +if(window.plus){
    +	plusReady();
    +}else{
    +	document.addEventListener('plusready',plusReady,false);
    +}
    +// 创建悬浮窗口
    +var floatw=null;
    +function floatWebview(){
    +	if(floatw){ // 避免快速多次点击创建多个窗口
    +		return;
    +	}
    +	floatw=plus.webview.create("webview_float.html","webview_float.html",{width:'200px',height:'200px',margin:"auto",background:"rgba(0,0,0,0.8)",scrollIndicator:'none',scalable:false,popGesture:'none'});
    +	floatw.addEventListener("loaded",function(){
    +		floatw.show('fade-in',300);
    +		floatw=null;
    +	},false);
    +}
    +// 创建自定义下拉刷新窗口
    +function customeRefresh(){
    +	if(plus.os.name!="Android"){
    +		 compatibleConfirm();
    +	}else{
    +		clicked('webview_pullhead_custom.html',true,true);
    +	}
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div class="nvtt">Webview</div>
    +			<div class="nvbt idoc" onclick="openDoc('Webview Document','/doc/webview.html')"></div>
    +		</header>
    +		<div id="dcontent" class="dcontent">
    +			<br/>
    +			<div class="button" onclick="pclicked('webview_animation.html',true,true)">窗口动画</div>
    +			<div class="button" onclick="clicked('webview_embed.html',true)">窗口嵌套</div>
    +			<div class="button" onclick="floatWebview()">悬浮窗口</div>
    +			<div class="button" onclick="pclicked('webview_pulltorefresh.html',true,true)">下拉刷新</div>
    +			<div class="button" onclick="customeRefresh()">自定义下拉刷新</div>
    +			<div class="button" onclick="clicked('webview_mask.html',true)">窗口遮罩</div>
    +			<br/>
    +		</div>
    +		<div id="output">
    +Webview模块管理应用窗口界面,实现多窗口的逻辑控制管理操作。
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/webview_animation.html b/fangija-zsyf/plus/webview_animation.html
    new file mode 100644
    index 0000000..20c34f8
    --- /dev/null
    +++ b/fangija-zsyf/plus/webview_animation.html
    @@ -0,0 +1,67 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript" charset="utf-8">
    +var ws=null,wp=null,wo=null;
    +// H5 plus事件处理
    +function plusReady(){
    +	ws=plus.webview.currentWebview();
    +	wo=ws.opener();
    +	wp=plus.webview.create('webview_new.html','webview_new.html',{scrollIndicator:'none',scalable:false,popGesture:'none'},{preate:true});
    +	wp.addEventListener('close',function(){
    +		wp=null;
    +	},false);
    +}
    +if(window.plus){
    +	plusReady();
    +}else{
    +	document.addEventListener('plusready',plusReady,false);
    +}
    +// 动画窗口
    +function animateWindow(type){
    +	wp||(wp=plus.webview.create('webview_new.html','webview_new.html',{scrollIndicator:'none',scalable:false,popGesture:'none'},{preate:true}));
    +	wp.show(type);
    +}
    +// 关闭窗口
    +var _back=window.back;
    +function preateBack(){
    +	wp&&(wp.close(),wp=null);
    +	_back();
    +}
    +window.back=preateBack;
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div class="nvtt">系统原生动画</div>
    +		</header>
    +		<div id="content" class="content">
    +			<br/>
    +			<ul class="dlist">
    +				<li class="ditem" onclick="animateWindow('pop-in')">从右侧平移入栈</li>
    +				<li class="ditem" onclick="animateWindow('slide-in-right')">从右侧横向滑出</li>
    +				<li class="ditem" onclick="animateWindow('slide-in-left')">从左侧横向滑出</li>
    +				<li class="ditem" onclick="animateWindow('slide-in-top')">从上侧竖向滑出</li>
    +				<li class="ditem" onclick="animateWindow('slide-in-bottom')">从下侧竖向滑出</li>
    +				<!--<li class="ditem" onclick="animateWindow('zoom-out')">从小到大逐渐放大</li>-->
    +				<li class="ditem" onclick="animateWindow('zoom-fade-out')">从小到大并逐渐透明显示</li>
    +				<li class="ditem" onclick="animateWindow('fade-in')">从透明到不透明逐渐显示</li>
    +				<!--<li class="ditem" onclick="animateWindow('flip-x')">以x轴从上到下翻转效果</li>
    +				<li class="ditem" onclick="animateWindow('flip-rx')">以x轴从下到上翻转转效果</li>
    +				<li class="ditem" onclick="animateWindow('flip-y')">以y轴从左到右翻转效果</li>
    +				<li class="ditem" onclick="animateWindow('flip-ry')">以y轴从右到左翻转效果</li>
    +				<li class="ditem" onclick="animateWindow('page-forward')">向前翻书动画效果</li>-->
    +				<li class="ditem" onclick="animateWindow('none')">无动画</li>
    +			</ul>
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/webview_embed.html b/fangija-zsyf/plus/webview_embed.html
    new file mode 100644
    index 0000000..8ba4357
    --- /dev/null
    +++ b/fangija-zsyf/plus/webview_embed.html
    @@ -0,0 +1,85 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript" charset="utf-8">
    +var ws=null,embed=null;
    +// 扩展API加载完毕,现在可以正常调用扩展API 
    +function plusReady(){
    +	ws=plus.webview.currentWebview();
    +	ws.addEventListener('show',createEmbed,false);
    +}
    +// 判断扩展API是否准备,否则监听"plusready"事件
    +if(window.plus){
    +	plusReady();
    +}else{
    +	document.addEventListener("plusready",plusReady,false);
    +}
    +// 创建子Webview
    +function createEmbed(){
    +	var topoffset='45px';
    +	if(plus.navigator.isImmersedStatusbar()){// 兼容immersed状态栏模式
    +		topoffset=(Math.round(plus.navigator.getStatusbarHeight())+45)+'px';
    +	}
    +	plus.nativeUI.showWaiting('',{style:'black',modal:false,background:'rgba(0,0,0,0)'});
    +	embed=plus.webview.create('http://m.weibo.cn/u/3196963860','embed',{top:topoffset,bottom:'0px',position:'dock',dock:'bottom',bounce:'vertical'});
    +	ws.append(embed);
    +	embed.addEventListener('loaded',function(){
    +		plus.nativeUI.closeWaiting();
    +	},false);
    +	embed.addEventListener('loading',function(){
    +		plus.nativeUI.showWaiting('',{style:'black',modal:false,background:'rgba(0,0,0,0)'});
    +	},false);
    +}
    +// 打开网址
    +function openUrl(){
    +	var url=document.getElementById("url");
    +	embed.loadURL(url.value);
    +	url.blur();
    +}
    +// 页面加载后自动打开
    +document.addEventListener("DOMContentLoaded",function(){
    +	if(embed){
    +		openUrl();
    +	}else{
    +		auto=true;
    +	}
    +},false);
    +// 页面跳转完成事件
    +function onBrowserLoading(){
    +	document.getElementById("url").value=embed.getURL();
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +		<style type="text/css">
    +#url{
    +	width:98%;
    +	-webkit-user-select:auto;
    +	padding-left:0;
    +	padding-right:0;
    +	background: rgba(0,0,0,0);
    +	border: 0px;
    +	border-bottom:1px solid #ECB100;
    +	border-radius: 0;
    +	outline:none;
    +}
    +		</style>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back(),plus.nativeUI.closeWaiting();"></div>
    +			<div class="nvtt">
    +				<form action="?" method="get" onsubmit="openUrl();return false;">
    +				<input id="url" type="url" value="http://m.weibo.cn/u/3196963860"/>
    +				</form>
    +			</div>
    +			<div class="nvbt" onclick="openUrl();">Go</div>
    +		</header>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/webview_float.html b/fangija-zsyf/plus/webview_float.html
    new file mode 100644
    index 0000000..4b0068f
    --- /dev/null
    +++ b/fangija-zsyf/plus/webview_float.html
    @@ -0,0 +1,18 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +	</head>
    +	<body style="margin:0;padding:0;width:100%;height:100%;text-align:center;">
    +		<img src="../img/ui.png"/>
    +		<div style="width:100%;position:fixed;bottom:0;">
    +			<div class="button" onclick="back()">关 闭</div>
    +		</div>
    +	</body>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/webview_mask.html b/fangija-zsyf/plus/webview_mask.html
    new file mode 100644
    index 0000000..bda42b0
    --- /dev/null
    +++ b/fangija-zsyf/plus/webview_mask.html
    @@ -0,0 +1,62 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript">
    +var ws=null,wc=null;
    +// 扩展API加载完毕,现在可以正常调用扩展API 
    +function plusReady(){
    +	ws=plus.webview.currentWebview();
    +	// 用户点击后
    +	ws.addEventListener("maskClick",function(){
    +		wc.close("auto");
    +	},false);
    +}
    +// 判断扩展API是否准备,否则监听"plusready"事件
    +if(window.plus){
    +	plusReady();
    +}else{
    +	document.addEventListener("plusready",plusReady,false);
    +}
    +// 显示侧滑页面
    +function showSide(){
    +	// 防止快速点击可能导致多次创建
    +	if(wc){
    +		return;
    +	}
    +	// 开启遮罩
    +	ws.setStyle({mask:"rgba(0,0,0,0.5)"});
    +	// 创建侧滑页面
    +	wc=plus.webview.create("webview_mask_side.html","side",{left:"30%",width:"70%",popGesture:"none"});
    +	// 侧滑页面关闭后关闭遮罩
    +	wc.addEventListener('close',function(){
    +		ws.setStyle({mask:"none"});
    +		wc=null;
    +	},false);
    +	// 侧滑页面加载后显示(避免白屏)
    +	wc.addEventListener("loaded",function(){
    +		wc.show("slide-in-right",200);
    +	},false);
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div class="nvtt">Webview Mask</div>
    +		</header>
    +		<div id="content" class="content">
    +			<br/>
    +			<div class="button" onclick="showSide()">打开侧滑窗口</div>
    +			<div class="des">打开侧滑窗口后,当前Webview窗口会显示遮罩层。</div>
    +			<div class="des">Webview的遮罩层会覆盖Webview中所有内容(包括子Webview),并且截获Webview窗口的所有触屏事件。</div>
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/webview_mask_side.html b/fangija-zsyf/plus/webview_mask_side.html
    new file mode 100644
    index 0000000..0768a73
    --- /dev/null
    +++ b/fangija-zsyf/plus/webview_mask_side.html
    @@ -0,0 +1,18 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +	</head>
    +	<body style="text-align:center;">
    +		<br/><br/><br/>
    +		<div class="button" onclick="back()">关 闭</div>
    +		<div style="height:30%;width:100%"></div>
    +		这是侧滑页面
    +	</body>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/webview_new.html b/fangija-zsyf/plus/webview_new.html
    new file mode 100644
    index 0000000..55d15f8
    --- /dev/null
    +++ b/fangija-zsyf/plus/webview_new.html
    @@ -0,0 +1,26 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js" ></script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back();"></div>
    +			<div class="nvtt">动画页面</div>
    +		</header>
    +		<div id="dcontent" class="dcontent" >
    +			<p>欢迎进入窗口动画页面</p>
    +			<br/>
    +			<img src="../img/ui.png"/>
    +			<br/>
    +			<p>此页面已关闭侧滑返回功能</p>
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/webview_pullhead.html b/fangija-zsyf/plus/webview_pullhead.html
    new file mode 100644
    index 0000000..b44dddd
    --- /dev/null
    +++ b/fangija-zsyf/plus/webview_pullhead.html
    @@ -0,0 +1,43 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript" charset="utf-8">
    +var ws=null,wo=null,list=null;
    +// 扩展API加载完毕,现在可以正常调用扩展API 
    +function plusReady(){
    +	ws=plus.webview.currentWebview();
    +	wo=ws.opener();
    +	list=plus.webview.create("webview_pullrefresh.html","webview_pullrefresh.html",{top:"46px",bottom:"0px",bounce:"vertical"});
    +	if(!ws.preate){
    +		list.addEventListener("loaded",function(){//叶面加载完成后才显示
    +			ws.show("pop-in");
    +			wo.evalJS("closeWaiting()");
    +			if(plus.os.name!="Android"){
    +				plus.nativeUI.alert("由于Android性能不足,我们提供了原生的下拉刷新加速方案。iOS设备请使 用iscroll等标准框架来解决下拉刷新问题");
    +			}
    +		},false);
    +	}
    +	ws.append(list);
    +}
    +// 判断扩展API是否准备,否则监听"plusready"事件
    +if(window.plus){
    +	plusReady();
    +}else{
    +	document.addEventListener("plusready",plusReady,false);
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back();"></div>
    +			<div class="nvtt">下拉刷新</div>
    +		</header>
    +	</body>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/webview_pullhead_custom.html b/fangija-zsyf/plus/webview_pullhead_custom.html
    new file mode 100644
    index 0000000..43c2757
    --- /dev/null
    +++ b/fangija-zsyf/plus/webview_pullhead_custom.html
    @@ -0,0 +1,129 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript" charset="utf-8">
    +var ws=null,list=null;
    +// 扩展API加载完毕,现在可以正常调用扩展API 
    +function plusReady(){
    +	ws=plus.webview.currentWebview();
    +	wo=ws.opener();
    +	var topoffset='45px';
    +	if(plus.navigator.isImmersedStatusbar()){// 兼容immersed状态栏模式
    +		topoffset=(Math.round(plus.navigator.getStatusbarHeight())+45)+'px';
    +	}
    +	list=plus.webview.create("webview_pullrefresh_custom.html","webview_pullrefresh_custom.html",{top:topoffset,bottom:"0px",bounce:"vertical"});
    +	ws.append(list);
    +	ws.addEventListener("show",function(){
    +		refresh();
    +	},false);
    +	if(!ws.preate){
    +		list.addEventListener("loaded",function(){//叶面加载完成后才显示
    +			ws.show("pop-in");
    +			wo.evalJS("closeWaiting()");
    +		},false);
    +	}
    +	ws.append(list);
    +	// 实现列表可下拉刷新
    +	list.addEventListener("dragBounce",onPullStateChange,false);
    +	list.setBounce({position:{top:"100px"},changeoffset:{top:"50px"}});
    +}
    +if(window.plus){
    +	plusReady();
    +}else{
    +	document.addEventListener("plusready",plusReady,false);
    +}
    +// DOMContentLoaded事件处理
    +var etext=null,eicon=null;
    +document.addEventListener("DOMContentLoaded",function(){
    +	etext=document.getElementById("text");
    +	eicon=document.getElementById("icon");
    +},false);
    +
    +// 下拉状态改变
    +function onPullStateChange(e){
    +	switch(e.status){
    +		case "beforeChangeOffset"://下拉可刷新状态
    +		pull1();
    +		break;
    +		case "afterChangeOffset"://松开可刷新状态
    +		pull2();
    +		break;
    +		case "dragEndAfterChangeOffset"://正在刷新状态
    +		list.evalJS("onRefresh();");
    +		pull3();
    +		break;
    +		default:
    +		break;
    +	}
    +}
    +function pull1(){
    +	etext.textContent="下拉可刷新";
    +	eicon.style.webkitTransition="all 0.3s ease-in";
    +	eicon.style.webkitTransform="rotate(0deg)";
    +}
    +function pull2(){
    +	etext.textContent="松开可刷新";
    +	eicon.style.webkitTransition="all 0.3s ease-in";
    +	eicon.style.webkitTransform="rotate(180deg)";
    +}
    +function pull3(){
    +	etext.textContent="正在刷新...";
    +	eicon.src="../img/pull_fresh.png";
    +	eicon.style.webkitAnimation="spin 1s infinite linear";
    +}
    +function pullReset(){
    +	etext.textContent="下拉可刷新";
    +	eicon.src="../img/pull_arrow.png";
    +	eicon.style.webkitTransition="";
    +	eicon.style.webkitTransform="";
    +	eicon.style.webkitAnimation="";
    +}
    +function refresh(){
    +	pull3();
    +	list.setBounce({offset:{top:"50px"}});
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +		<style type="text/css">
    +#pull{
    +	width:24px;
    +	height:100%;
    +	display:inline-block;
    +	margin:0 1em;
    +}
    +#icon{
    +	height:24px;
    +	vertical-align:middle;
    +}
    +@-webkit-keyframes spin{
    +    0% {
    +        -webkit-transform:rotate(0deg);
    +    }
    +    100% {
    +        -webkit-transform:rotate(360deg);
    +    }
    +}
    +.irefresh {
    +	background:no-repeat center center url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABYCAYAAAADWlKCAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAAWdEVYdENyZWF0aW9uIFRpbWUAMTEvMTAvMTUgEQA0AAAEP0lEQVR4nO3aTWhcVRTA8f+NQ6ImLqsu7MLuSiOt74SOoJBYDCp0UdG1BUVdWFBR/CiCLqzaClWhLlQUiqCIHwh1EUFqRyshMudRcVRcWdBFsZCVNQzEXhcz1ZeXaTOdN9N3Jp7f7t3J3JzmD52XvBtijDg7RsoewK3kQYzxIMZ4EGM8iDEexBgPYowHMcaDGONBjPEgxngQYzyIMR7EGA9ijAcxxoMY40GM8SDGeBBjPIgxHsQYD2KMBzHGgxjjQYzxIMZUyh6gF/V6fWsIYQa4A9gCbGy/9BvwIzAXYzw2NTX1fTf7qerDIvLGQIa9SGFYDls3Go2RZrO5C9gNbAeuXeMtp4DvgMNjY2OfTU5Onu30Rar6OPC8iFzV14F7NBRBVHUHcACQXrcAnhSRo7l9HwVeBRCRUGjIPjEdpFarhYmJiX3AM33a8qXFxcW9s7OzK2KAB1mTqo4C7wN3d3h5CfgSOA6cAP5or18NbANuAW4Drujw3neBBnAwu+hBLkBVLwM+ZHWMJeC1EMLbSZL8eqE90jS9Psb4APAYcPla39NKEKt3WS+wOoaGEB5MkiTtZoN2sL2q+inwFnBjn2ccCHO/h6jqNPB0bvkYMNNtjCwRqQM30bolNs9UkIWFhQrwem45BXaKyJ8Ftn4OuKbA+y8ZU/9lVSqVncDWzNJfwG4ROdPrnqr6CvBE0dkuFVNBgPtz14dEpNHrZqp6kNaH+tAwE6Rer28OIVQzS2dCCId62UtVR4B9tGL8Ddi7lTwPM0FCCLcDGzJLR5Mk6fWD+CzwJq3Po6GJAYaCxBjvDGHFrwK1XvcSEYCTBUcqhZm7rBDC5tz1D2XNUiYzQfjvT+gAxBhPlTVImSwFcdgK8nv2IoSw1vOOdclMkBjjT7nrG8qapUxmgoQQ5nJL06UMUjIzQYA54HTmekeaphvP98XrlZkgIvIzsJBZGo8x7ilrnrKYCdL2Tu56j6pOljJJSUwFWV5e/hzIHt25EjisquNF907TdGx+ft7Uv7cTUwNWq9Vl4JHccgIcKRJFVcdjjLXR0dFPGo3GaKEhB8xUEAARqQEv55ZvBWqqmlzsfqoqtA5DVIFdzWbzC1XdVHzSwTAXpO1Z4OPcmgDHVXV/Nz9QVd2kqvuBb2idRDlnBnioX4P2m8lTJwCqWgE+AO7p8PIS8BXwdQghjTGeBgghbIgxbgdupvWD73QM6CPgvoKPhAfGbBAAVQ3Ai6w+9NCrAyLyVJ/2GgjTQc4Z1FFSi4YiCPz7WPYu4F66P2z9LfAecEREOh62tmZogmSp6jZguv2UcQtwHa1HtSeBX2j9GaYmIifKm7I3QxlkPbN62/u/5UGM8SDGeBBjPIgxHsQYD2KMBzHGgxjjQYzxIMZ4EGM8iDEexBgPYowHMcaDGONBjPEgxngQYzyIMR7EGA9ijAcxxoMY40GM8SDG/AOZAi+0sACgewAAAABJRU5ErkJggg==);
    +	background-size:50px 44px;
    +}
    +		</style>
    +	</head>
    +	<body style="background:#EAEAEA;">
    +		<header id="header" style="position:static">
    +			<div class="nvbt iback" onclick="back();"></div>
    +			<div class="nvtt">自定义下拉刷新</div>
    +			<div class="nvbt irefresh" onclick="refresh()"></div>
    +		</header>
    +		<div style="text-align:center;height:44px;line-height:44px;">
    +			<div id="pull"><img id="icon" src="../img/pull_arrow.png"/></div><font id="text">下拉可刷新</font>
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/webview_pullrefresh.html b/fangija-zsyf/plus/webview_pullrefresh.html
    new file mode 100644
    index 0000000..7010df7
    --- /dev/null
    +++ b/fangija-zsyf/plus/webview_pullrefresh.html
    @@ -0,0 +1,76 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" charset="utf-8">
    +var ws=null;
    +var list=null;
    +// 扩展API加载完毕,现在可以正常调用扩展API 
    +function plusReady(){
    +	ws=plus.webview.currentWebview();
    +	ws.setPullToRefresh({support:true,
    +		height:"50px",
    +		range:"200px",
    +		contentdown:{
    +			caption:"下拉可以刷新"
    +		},
    +		contentover:{
    +			caption:"释放立即刷新"
    +		},
    +		contentrefresh:{
    +			caption:"正在刷新..."
    +		}
    +	},onRefresh);
    +}
    +// 判断扩展API是否准备,否则监听"plusready"事件
    +if(window.plus){
    +	plusReady();
    +}else{
    +	document.addEventListener("plusready",plusReady,false);
    +}
    +// DOM构建完成获取列表元素
    +document.addEventListener("DOMContentLoaded",function(){
    +	list=document.getElementById("list");
    +})
    +// 刷新页面
    +function onRefresh(){
    +	setTimeout(function(){
    +		if(list){
    +			var item=document.createElement("li");
    +			item.innerHTML="<span>New Item "+(new Date())+"</span>";
    +			list.insertBefore(item,list.firstChild);
    +		}
    +		ws.endPullToRefresh();
    +	},1000);
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +		<style type="text/css">
    +li {
    +	padding: 1em;
    +	border-bottom: 1px solid #eaeaea;
    +}
    +li:active {
    +	background: #f4f4f4;
    +}
    +		</style>
    +	</head>
    +	<body>
    +		<ul id="list" style="list-style:none;margin:0;padding:0;">
    +			<li><span>Initializ List Item 1</span></li>
    +			<li><span>Initializ List Item 2</span></li>
    +			<li><span>Initializ List Item 3</span></li>
    +			<li><span>Initializ List Item 4</span></li>
    +			<li><span>Initializ List Item 5</span></li>
    +			<li><span>Initializ List Item 6</span></li>
    +			<li><span>Initializ List Item 7</span></li>
    +			<li><span>Initializ List Item 8</span></li>
    +			<li><span>Initializ List Item 9</span></li>
    +			<li><span>Initializ List Item 10</span></li>
    +		</ul>
    +	</body>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/webview_pullrefresh_custom.html b/fangija-zsyf/plus/webview_pullrefresh_custom.html
    new file mode 100644
    index 0000000..ee28afa
    --- /dev/null
    +++ b/fangija-zsyf/plus/webview_pullrefresh_custom.html
    @@ -0,0 +1,68 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" charset="utf-8">
    +var ws=null,wo=null;
    +// 扩展API加载完毕,现在可以正常调用扩展API 
    +function plusReady(){
    +	// 获取自身窗口
    +	ws=plus.webview.currentWebview();
    +	wo=ws.opener();
    +}
    +// 判断扩展API是否准备,否则监听"plusready"事件
    +if(window.plus){
    +	plusReady();
    +}else{
    +	document.addEventListener("plusready",plusReady,false);
    +}
    +// DOM构建完成获取列表元素
    +var list=null;
    +document.addEventListener("DOMContentLoaded",function(){
    +	list=document.getElementById("list");
    +});
    +// 刷新页面
    +function onRefresh(){
    +	setTimeout(function(){
    +		if(list){
    +			var item=document.createElement("li");
    +			item.innerHTML="<span>New Item "+(new Date())+"</span>";
    +			list.insertBefore(item,list.firstChild);
    +		}
    +		ws.resetBounce();
    +		setTimeout(function(){
    +			wo.evalJS("pullReset()");
    +		},200);
    +	},1000);
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +		<style type="text/css">
    +li {
    +	padding: 1em;
    +	border-bottom: 1px solid #eaeaea;
    +}
    +li:active {
    +	background: #f4f4f4;
    +}
    +		</style>
    +	</head>
    +	<body>
    +		<ul id="list" style="list-style:none;margin:0;padding:0;">
    +			<li><span onclick="alert('ok');">Initializ List Item 1</span></li>
    +			<li><span>Initializ List Item 2</span></li>
    +			<li><span>Initializ List Item 3</span></li>
    +			<li><span>Initializ List Item 4</span></li>
    +			<li><span>Initializ List Item 5</span></li>
    +			<li><span>Initializ List Item 6</span></li>
    +			<li><span>Initializ List Item 7</span></li>
    +			<li><span>Initializ List Item 8</span></li>
    +			<li><span>Initializ List Item 9</span></li>
    +			<li><span>Initializ List Item 10</span></li>
    +		</ul>
    +	</body>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/webview_pulltorefresh.html b/fangija-zsyf/plus/webview_pulltorefresh.html
    new file mode 100644
    index 0000000..ac13d44
    --- /dev/null
    +++ b/fangija-zsyf/plus/webview_pulltorefresh.html
    @@ -0,0 +1,87 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript" charset="utf-8">
    +var ws=null;
    +var list=null;
    +// 处理沉浸式状态栏
    +var topoffset=0;
    +var ms=(/Html5Plus\/.+\s\(.*(Immersed\/(\d+\.?\d*).*)\)/gi).exec(navigator.userAgent);
    +if(ms&&ms.length>=3){
    +	topoffset=parseFloat(ms[2]);
    +}
    +// 扩展API加载完毕,现在可以正常调用扩展API
    +function plusReady(){
    +	ws=plus.webview.currentWebview();
    +	if(plus.navigator.isImmersedStatusbar()){// 兼容沉浸式状态栏模式
    +		topoffset=Math.round(plus.navigator.getStatusbarHeight());
    +	}
    +	ws.setPullToRefresh({support:true,style:'circle',offset:topoffset+45+'px'},onRefresh);
    +	// 第一次打开页面即开始刷新列表
    +	setTimeout(function(){
    +		console.log('Initializ refresh');
    +		ws.beginPullToRefresh();
    +	},200);
    +}
    +// 判断扩展API是否准备,否则监听'plusready'事件
    +if(window.plus){
    +	plusReady();
    +}else{
    +	document.addEventListener('plusready', plusReady, false);
    +}
    +// DOM构建完成获取列表元素
    +document.addEventListener('DOMContentLoaded', function(){
    +	list=document.getElementById('list');
    +	var offset=document.getElementById('offset');
    +	offset&&(offset.style.height=topoffset+44+'px');
    +});
    +// 刷新页面
    +function onRefresh(){
    +	setTimeout(function(){
    +		if(list){
    +			var item=document.createElement('li');
    +			item.innerHTML='<span>New Item '+(new Date())+'</span>';
    +			list.insertBefore(item,list.firstChild);
    +		}
    +		ws.endPullToRefresh();
    +	},1000);
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +		<style type="text/css">
    +li {
    +	padding: 1em;
    +	border-bottom: 1px solid #eaeaea;
    +}
    +li:active {
    +	background: #f4f4f4;
    +}
    +		</style>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div class="nvtt">下拉刷新</div>
    +		</header>
    +		<div id='offset' style="height:44px;width:100%;"></div>
    +		<ul id="list" style="list-style:none;margin:0;padding:0;">
    +			<li><span>Initializ List Item 1</span></li>
    +			<li><span>Initializ List Item 2</span></li>
    +			<li><span>Initializ List Item 3</span></li>
    +			<li><span>Initializ List Item 4</span></li>
    +			<li><span>Initializ List Item 5</span></li>
    +			<li><span>Initializ List Item 6</span></li>
    +			<li><span>Initializ List Item 7</span></li>
    +			<li><span>Initializ List Item 8</span></li>
    +			<li><span>Initializ List Item 9</span></li>
    +			<li><span>Initializ List Item 10</span></li>
    +		</ul>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/xhr.html b/fangija-zsyf/plus/xhr.html
    new file mode 100644
    index 0000000..6c9cef7
    --- /dev/null
    +++ b/fangija-zsyf/plus/xhr.html
    @@ -0,0 +1,97 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +    	<script type="text/javascript">
    +var url="http://www.dcloud.io/";
    +var xhr=null;
    +
    +function xhrCreate() {
    +	if ( xhr ) {
    +		outLine( "xhr请求已创建" );
    +		return;
    +	}
    +	outSet( "创建请求:" );
    +	xhr = new plus.net.XMLHttpRequest();
    +	xhr.onreadystatechange = function () {
    +        switch ( xhr.readyState ) {
    +            case 0:
    +            	outLine( "xhr请求已初始化" );
    +            break;
    +            case 1:
    +            	outLine( "xhr请求已打开" );
    +            break;
    +            case 2:
    +            	outLine( "xhr请求已发送" );
    +            break;
    +            case 3:
    +                outLine( "xhr请求已响应");
    +                break;
    +            case 4:
    +                outLine( "xhr请求已完成");
    +                if ( xhr.status == 200 ) {
    +                	outLine( "xhr请求成功:"+xhr.responseText );
    +                } else {
    +                	outLine( "xhr请求失败:"+xhr.status );
    +                }
    +                break;
    +            default :
    +                break;
    +        }
    +	}
    +	xhr.open( "GET", url );
    +	xhr.send();
    +}
    +function xhrResponseHeader() {
    +	if ( xhr ) {
    +		if ( xhr.readyState != 4 ) {
    +			outLine( "xhr请求未完成" );
    +		} else if ( xhr.status != 200 ) {
    +			outSet( "xhr请求失败:"+xhr.readyState );
    +		} else {
    +			outSet( "xhr请求响应头数据:" );
    +			outLine( xhr.getAllResponseHeaders() );
    +		}
    +	} else {
    +		outSet( "未发送请求" );
    +	}
    +}
    +function xhrAbort() {
    +	if ( xhr ) {
    +		outSet( "取消请求" );
    +		if ( xhr.readyState != 4 ) {
    +			xhr.abort();
    +		}
    +		xhr = null;
    +	} else {
    +		outSet( "未发送请求" );
    +	}
    +}
    +    	</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div class="nvtt">XmlHttpRequest</div>
    +			<div class="nvbt idoc" onclick="openDoc('XmlHttpRequest Document','/doc/xhr.html')"></div>
    +		</header>
    +		<div id="dcontent" class="dcontent">
    +			<br/>
    +			<ul class="dlist">
    +				<li class="ditem" onclick="xhrCreate();">发送请求</li>
    +				<li class="ditem" onclick="xhrResponseHeader();">获取所有响应头</li>
    +				<li class="ditem" onclick="xhrAbort();">取消请求</li>
    +			</ul>
    +		</div>
    +	    <div id="output">
    +XMLHttpRequest管理网络请求操作,可进行跨域网络数据请求。
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/plus/zip.html b/fangija-zsyf/plus/zip.html
    new file mode 100644
    index 0000000..11053ba
    --- /dev/null
    +++ b/fangija-zsyf/plus/zip.html
    @@ -0,0 +1,132 @@
    +<!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>Hello H5+</title>
    +		<script type="text/javascript" src="../js/common.js"></script>
    +		<script type="text/javascript">
    +var zip = "_doc/zip/index.zip",
    +unzip = "_doc/zip/index/";
    +function doCompress(){
    +	plus.zip.compress( "_www/index.html", zip, function(){
    +		outLine( "操作成功!保存路径为:"+zip );
    +	}, function(e){
    +		outLine( "操作失败:"+e.message );
    +	} );
    +}
    +function compress(){
    +	outSet( "压缩文件:" );
    +	plus.io.resolveLocalFileSystemURL( zip, function(entry){
    +		outLine( "文件已存在,中止操作!" );
    +		plus.nativeUI.confirm( "压缩文件已存在,是否立即删除", function(i){
    +			if ( i.index == 0 ) {
    +				entry.remove();
    +			}
    +		} );
    +	}, function(e){
    +		doCompress();
    +	} );
    +}
    +function doDecompress(){
    +	plus.zip.decompress( zip, unzip, function(){
    +		outLine( "操作成功!保存路径为:"+unzip );
    +	}, function(e){
    +		outLine( "操作失败:"+e.message );
    +	} );
    +}
    +function decompress(){
    +	outSet( "解压文件:" );
    +	plus.io.resolveLocalFileSystemURL( unzip, function(entry){
    +		outLine( "目录已存在,中止操作!" );
    +		plus.nativeUI.confirm( "解压目录已存在,是否立即删除", function(i){
    +			if ( i.index == 0 ) {
    +				entry.removeRecursively();
    +			}
    +		} );
    +	}, function(e){
    +		plus.io.resolveLocalFileSystemURL( zip, function(entry){
    +			doDecompress();
    +		}, function(e){
    +			plus.nativeUI.alert( "压缩文件不存在,请先压缩文件!" );
    +			outLine( "压缩文件不存在,中止操作!" );
    +		} );
    +	} );
    +}
    +function clearZip(){
    +	outSet( "清空数据!" );
    +	plus.io.resolveLocalFileSystemURL( "_doc/zip/", function(entry){
    +		entry.removeRecursively();
    +	} );
    +}
    +
    +// 压缩图片
    +function compressImage(){
    +	outSet("开始压缩图片:");
    +	plus.nativeUI.showWaiting();
    +	plus.zip.compressImage({
    +		src:"_www/img/shake/1.jpg",
    +		dst:"_doc/cm.jpg",
    +		quality:20,
    +		overwrite:true,
    +		width:'50%',
    +		clip:{
    +			top:"25%",
    +			left:"25%",
    +			width:"50%",
    +			height:"50%"
    +		}
    +	},
    +	function(i){
    +		plus.nativeUI.closeWaiting();
    +		display.style.display="block";
    +		clipimg.src=i.target;
    +		outLine("压缩图片成功:"+JSON.stringify(i));
    +	},function(e){
    +		plus.nativeUI.closeWaiting();
    +		outLine("压缩图片失败: "+JSON.stringify(e));
    +	});
    +}
    +		</script>
    +		<link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8"/>
    +		<style type="text/css">
    +.display {
    +	width: 100%;
    +	height: 100%;
    +	display: none;
    +	text-align: center;
    +	padding-top: 30%;
    +	position: fixed;
    +	top: 0;
    +	background: rgba(0,0,0,0.8);
    +	z-index: 9999;
    +	overflow: hidden;
    +}
    +		</style>
    +	</head>
    +	<body>
    +		<header id="header">
    +			<div class="nvbt iback" onclick="back()"></div>
    +			<div class="nvtt">ZIP</div>
    +			<div class="nvbt idoc" onclick="openDoc('ZIP Document','/doc/zip.html')"></div>
    +		</header>
    +        <div id="dcontent" class="dcontent">
    +			<br/>
    +			<div class="button" onclick="compressImage()">压缩图片</div>
    +			<ul class="dlist">
    +				<li class="ditem" onclick="compress();">压缩文件</li>
    +				<li class="ditem" onclick="decompress();">解压文件</li>
    +				<li class="ditem" onclick="clearZip();">清理数据</li>
    +			</ul>
    +		</div>
    +		<div id="output">
    +Zip管理压缩文件,用于Zip文件的压缩与解压缩。
    +		</div>
    +		<div id='display' class="display" onclick="this.style.display='none';">
    +			<img id="clipimg" style="margin:auto;"/>
    +		</div>
    +	</body>
    +	<script type="text/javascript" src="../js/immersed.js" ></script>
    +</html>
    \ No newline at end of file
    diff --git a/fangija-zsyf/sa.png b/fangija-zsyf/sa.png
    new file mode 100644
    index 0000000..da1e0ac
    Binary files /dev/null and b/fangija-zsyf/sa.png differ
    diff --git a/fangija-zsyf/sa@2x.png b/fangija-zsyf/sa@2x.png
    new file mode 100644
    index 0000000..49ca20a
    Binary files /dev/null and b/fangija-zsyf/sa@2x.png differ
    diff --git a/fangija-zsyf/sa@3x.png b/fangija-zsyf/sa@3x.png
    new file mode 100644
    index 0000000..dfc9ad0
    Binary files /dev/null and b/fangija-zsyf/sa@3x.png differ
    diff --git a/fangija-zsyf/yfindex.html b/fangija-zsyf/yfindex.html
    new file mode 100644
    index 0000000..af76b49
    --- /dev/null
    +++ b/fangija-zsyf/yfindex.html
    @@ -0,0 +1,54 @@
    +<!DOCTYPE html>
    +<html>
    +	<head>
    +		<meta charset="UTF-8">
    +		<title></title>
    +	</head>
    +	<body>
    +		
    +		<div id="app">
    +		  {{ message }}
    +		  
    +		  <ul id="example-1">
    +			  <li v-for="item in nearDists">
    +			    {{ item.name }}
    +			  </li>
    +		  </ul>
    +		  
    +		  <button onclick="clicked('error.html')">click</button>
    +		</div>
    +		
    +		<script type="text/javascript" src="js/common.js"></script>
    +		<script src="js/vue.js"></script>
    +		<script src="js/mui.min.js"></script>
    +		<script>
    +			mui.init();
    +			var app = new Vue({
    +			  el: '#app',
    +			  data: {
    +			    message: 'Hello Vue!',
    +			    nearDists:[]
    +			  },mounted:function() {
    +			  	var that = this;
    +			  	mui.ajax('http://192.168.10.170:8084/house/loadNearDistricts',{
    +					data:{
    +						lng:121.497039,lat:31.282122
    +					},
    +					dataType:'json',
    +					type:'get',
    +					success:function(data){
    +						//获得服务器响应
    +						that.nearDists = data.nearDists;
    +						console.log(data)
    +					}
    +				});
    +			  }
    +			})
    +			
    +			
    +			
    +		</script>
    +		
    +	</body>
    +	
    +</html>