├── .gitignore ├── .idea ├── .name ├── compiler.xml ├── copyright │ └── profiles_settings.xml ├── encodings.xml ├── gradle.xml ├── inspectionProfiles │ ├── Project_Default.xml │ └── profiles_settings.xml ├── misc.xml ├── modules.xml ├── runConfigurations.xml └── vcs.xml ├── README.md ├── app ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── me │ │ └── baron │ │ └── webviewsample │ │ └── ApplicationTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── assets │ │ ├── Zepto.js │ │ ├── swipe.js │ │ ├── up.css │ │ ├── up.html │ │ └── up.js │ ├── java │ │ └── me │ │ │ └── baron │ │ │ └── webviewsample │ │ │ └── MainActivity.java │ └── res │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-hdpi │ │ └── ic_launcher.png │ │ ├── mipmap-mdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xhdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xxhdpi │ │ └── ic_launcher.png │ │ ├── mipmap-xxxhdpi │ │ └── ic_launcher.png │ │ ├── values-w820dp │ │ └── dimens.xml │ │ └── values │ │ ├── colors.xml │ │ ├── dimens.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── me │ └── baron │ └── webviewsample │ └── ExampleUnitTest.java ├── build.gradle ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | -------------------------------------------------------------------------------- /.idea/.name: -------------------------------------------------------------------------------- 1 | WebViewSample -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 22 | -------------------------------------------------------------------------------- /.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 22 | 23 | -------------------------------------------------------------------------------- /.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 12 | -------------------------------------------------------------------------------- /.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 19 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 46 | 47 | 48 | 49 | 50 | 1.8 51 | 52 | 57 | 58 | 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Android WebView 填坑 2 | -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 23 5 | buildToolsVersion "23.0.3" 6 | 7 | defaultConfig { 8 | applicationId "me.baron.webviewsample" 9 | minSdkVersion 14 10 | targetSdkVersion 23 11 | versionCode 1 12 | versionName "1.0" 13 | } 14 | buildTypes { 15 | release { 16 | minifyEnabled false 17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 18 | } 19 | } 20 | } 21 | 22 | dependencies { 23 | compile fileTree(dir: 'libs', include: ['*.jar']) 24 | testCompile 'junit:junit:4.12' 25 | compile 'com.android.support:appcompat-v7:23.4.0' 26 | } 27 | -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /Users/baron/develop/android/sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /app/src/androidTest/java/me/baron/webviewsample/ApplicationTest.java: -------------------------------------------------------------------------------- 1 | package me.baron.webviewsample; 2 | 3 | import android.app.Application; 4 | import android.test.ApplicationTestCase; 5 | 6 | /** 7 | * Testing Fundamentals 8 | */ 9 | public class ApplicationTest extends ApplicationTestCase { 10 | public ApplicationTest() { 11 | super(Application.class); 12 | } 13 | } -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /app/src/main/assets/Zepto.js: -------------------------------------------------------------------------------- 1 | /* Zepto v1.1.3 - zepto event ajax form ie - zeptojs.com/license */ 2 | var Zepto=function(){function L(t){return null==t?String(t):j[T.call(t)]||"object"}function Z(t){return"function"==L(t)}function $(t){return null!=t&&t==t.window}function _(t){return null!=t&&t.nodeType==t.DOCUMENT_NODE}function D(t){return"object"==L(t)}function R(t){return D(t)&&!$(t)&&Object.getPrototypeOf(t)==Object.prototype}function M(t){return"number"==typeof t.length}function k(t){return s.call(t,function(t){return null!=t})}function z(t){return t.length>0?n.fn.concat.apply([],t):t}function F(t){return t.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}function q(t){return t in f?f[t]:f[t]=new RegExp("(^|\\s)"+t+"(\\s|$)")}function H(t,e){return"number"!=typeof e||c[F(t)]?e:e+"px"}function I(t){var e,n;return u[t]||(e=a.createElement(t),a.body.appendChild(e),n=getComputedStyle(e,"").getPropertyValue("display"),e.parentNode.removeChild(e),"none"==n&&(n="block"),u[t]=n),u[t]}function V(t){return"children"in t?o.call(t.children):n.map(t.childNodes,function(t){return 1==t.nodeType?t:void 0})}function U(n,i,r){for(e in i)r&&(R(i[e])||A(i[e]))?(R(i[e])&&!R(n[e])&&(n[e]={}),A(i[e])&&!A(n[e])&&(n[e]=[]),U(n[e],i[e],r)):i[e]!==t&&(n[e]=i[e])}function B(t,e){return null==e?n(t):n(t).filter(e)}function J(t,e,n,i){return Z(e)?e.call(t,n,i):e}function X(t,e,n){null==n?t.removeAttribute(e):t.setAttribute(e,n)}function W(e,n){var i=e.className,r=i&&i.baseVal!==t;return n===t?r?i.baseVal:i:void(r?i.baseVal=n:e.className=n)}function Y(t){var e;try{return t?"true"==t||("false"==t?!1:"null"==t?null:/^0/.test(t)||isNaN(e=Number(t))?/^[\[\{]/.test(t)?n.parseJSON(t):t:e):t}catch(i){return t}}function G(t,e){e(t);for(var n in t.childNodes)G(t.childNodes[n],e)}var t,e,n,i,C,N,r=[],o=r.slice,s=r.filter,a=window.document,u={},f={},c={"column-count":1,columns:1,"font-weight":1,"line-height":1,opacity:1,"z-index":1,zoom:1},l=/^\s*<(\w+|!)[^>]*>/,h=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,p=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,d=/^(?:body|html)$/i,m=/([A-Z])/g,g=["val","css","html","text","data","width","height","offset"],v=["after","prepend","before","append"],y=a.createElement("table"),x=a.createElement("tr"),b={tr:a.createElement("tbody"),tbody:y,thead:y,tfoot:y,td:x,th:x,"*":a.createElement("div")},w=/complete|loaded|interactive/,E=/^[\w-]*$/,j={},T=j.toString,S={},O=a.createElement("div"),P={tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},A=Array.isArray||function(t){return t instanceof Array};return S.matches=function(t,e){if(!e||!t||1!==t.nodeType)return!1;var n=t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.matchesSelector;if(n)return n.call(t,e);var i,r=t.parentNode,o=!r;return o&&(r=O).appendChild(t),i=~S.qsa(r,e).indexOf(t),o&&O.removeChild(t),i},C=function(t){return t.replace(/-+(.)?/g,function(t,e){return e?e.toUpperCase():""})},N=function(t){return s.call(t,function(e,n){return t.indexOf(e)==n})},S.fragment=function(e,i,r){var s,u,f;return h.test(e)&&(s=n(a.createElement(RegExp.$1))),s||(e.replace&&(e=e.replace(p,"<$1>")),i===t&&(i=l.test(e)&&RegExp.$1),i in b||(i="*"),f=b[i],f.innerHTML=""+e,s=n.each(o.call(f.childNodes),function(){f.removeChild(this)})),R(r)&&(u=n(s),n.each(r,function(t,e){g.indexOf(t)>-1?u[t](e):u.attr(t,e)})),s},S.Z=function(t,e){return t=t||[],t.__proto__=n.fn,t.selector=e||"",t},S.isZ=function(t){return t instanceof S.Z},S.init=function(e,i){var r;if(!e)return S.Z();if("string"==typeof e)if(e=e.trim(),"<"==e[0]&&l.test(e))r=S.fragment(e,RegExp.$1,i),e=null;else{if(i!==t)return n(i).find(e);r=S.qsa(a,e)}else{if(Z(e))return n(a).ready(e);if(S.isZ(e))return e;if(A(e))r=k(e);else if(D(e))r=[e],e=null;else if(l.test(e))r=S.fragment(e.trim(),RegExp.$1,i),e=null;else{if(i!==t)return n(i).find(e);r=S.qsa(a,e)}}return S.Z(r,e)},n=function(t,e){return S.init(t,e)},n.extend=function(t){var e,n=o.call(arguments,1);return"boolean"==typeof t&&(e=t,t=n.shift()),n.forEach(function(n){U(t,n,e)}),t},S.qsa=function(t,e){var n,i="#"==e[0],r=!i&&"."==e[0],s=i||r?e.slice(1):e,a=E.test(s);return _(t)&&a&&i?(n=t.getElementById(s))?[n]:[]:1!==t.nodeType&&9!==t.nodeType?[]:o.call(a&&!i?r?t.getElementsByClassName(s):t.getElementsByTagName(e):t.querySelectorAll(e))},n.contains=function(t,e){return t!==e&&t.contains(e)},n.type=L,n.isFunction=Z,n.isWindow=$,n.isArray=A,n.isPlainObject=R,n.isEmptyObject=function(t){var e;for(e in t)return!1;return!0},n.inArray=function(t,e,n){return r.indexOf.call(e,t,n)},n.camelCase=C,n.trim=function(t){return null==t?"":String.prototype.trim.call(t)},n.uuid=0,n.support={},n.expr={},n.map=function(t,e){var n,r,o,i=[];if(M(t))for(r=0;r=0?e:e+this.length]},toArray:function(){return this.get()},size:function(){return this.length},remove:function(){return this.each(function(){null!=this.parentNode&&this.parentNode.removeChild(this)})},each:function(t){return r.every.call(this,function(e,n){return t.call(e,n,e)!==!1}),this},filter:function(t){return Z(t)?this.not(this.not(t)):n(s.call(this,function(e){return S.matches(e,t)}))},add:function(t,e){return n(N(this.concat(n(t,e))))},is:function(t){return this.length>0&&S.matches(this[0],t)},not:function(e){var i=[];if(Z(e)&&e.call!==t)this.each(function(t){e.call(this,t)||i.push(this)});else{var r="string"==typeof e?this.filter(e):M(e)&&Z(e.item)?o.call(e):n(e);this.forEach(function(t){r.indexOf(t)<0&&i.push(t)})}return n(i)},has:function(t){return this.filter(function(){return D(t)?n.contains(this,t):n(this).find(t).size()})},eq:function(t){return-1===t?this.slice(t):this.slice(t,+t+1)},first:function(){var t=this[0];return t&&!D(t)?t:n(t)},last:function(){var t=this[this.length-1];return t&&!D(t)?t:n(t)},find:function(t){var e,i=this;return e="object"==typeof t?n(t).filter(function(){var t=this;return r.some.call(i,function(e){return n.contains(e,t)})}):1==this.length?n(S.qsa(this[0],t)):this.map(function(){return S.qsa(this,t)})},closest:function(t,e){var i=this[0],r=!1;for("object"==typeof t&&(r=n(t));i&&!(r?r.indexOf(i)>=0:S.matches(i,t));)i=i!==e&&!_(i)&&i.parentNode;return n(i)},parents:function(t){for(var e=[],i=this;i.length>0;)i=n.map(i,function(t){return(t=t.parentNode)&&!_(t)&&e.indexOf(t)<0?(e.push(t),t):void 0});return B(e,t)},parent:function(t){return B(N(this.pluck("parentNode")),t)},children:function(t){return B(this.map(function(){return V(this)}),t)},contents:function(){return this.map(function(){return o.call(this.childNodes)})},siblings:function(t){return B(this.map(function(t,e){return s.call(V(e.parentNode),function(t){return t!==e})}),t)},empty:function(){return this.each(function(){this.innerHTML=""})},pluck:function(t){return n.map(this,function(e){return e[t]})},show:function(){return this.each(function(){"none"==this.style.display&&(this.style.display=""),"none"==getComputedStyle(this,"").getPropertyValue("display")&&(this.style.display=I(this.nodeName))})},replaceWith:function(t){return this.before(t).remove()},wrap:function(t){var e=Z(t);if(this[0]&&!e)var i=n(t).get(0),r=i.parentNode||this.length>1;return this.each(function(o){n(this).wrapAll(e?t.call(this,o):r?i.cloneNode(!0):i)})},wrapAll:function(t){if(this[0]){n(this[0]).before(t=n(t));for(var e;(e=t.children()).length;)t=e.first();n(t).append(this)}return this},wrapInner:function(t){var e=Z(t);return this.each(function(i){var r=n(this),o=r.contents(),s=e?t.call(this,i):t;o.length?o.wrapAll(s):r.append(s)})},unwrap:function(){return this.parent().each(function(){n(this).replaceWith(n(this).children())}),this},clone:function(){return this.map(function(){return this.cloneNode(!0)})},hide:function(){return this.css("display","none")},toggle:function(e){return this.each(function(){var i=n(this);(e===t?"none"==i.css("display"):e)?i.show():i.hide()})},prev:function(t){return n(this.pluck("previousElementSibling")).filter(t||"*")},next:function(t){return n(this.pluck("nextElementSibling")).filter(t||"*")},html:function(t){return 0===arguments.length?this.length>0?this[0].innerHTML:null:this.each(function(e){var i=this.innerHTML;n(this).empty().append(J(this,t,e,i))})},text:function(e){return 0===arguments.length?this.length>0?this[0].textContent:null:this.each(function(){this.textContent=e===t?"":""+e})},attr:function(n,i){var r;return"string"==typeof n&&i===t?0==this.length||1!==this[0].nodeType?t:"value"==n&&"INPUT"==this[0].nodeName?this.val():!(r=this[0].getAttribute(n))&&n in this[0]?this[0][n]:r:this.each(function(t){if(1===this.nodeType)if(D(n))for(e in n)X(this,e,n[e]);else X(this,n,J(this,i,t,this.getAttribute(n)))})},removeAttr:function(t){return this.each(function(){1===this.nodeType&&X(this,t)})},prop:function(e,n){return e=P[e]||e,n===t?this[0]&&this[0][e]:this.each(function(t){this[e]=J(this,n,t,this[e])})},data:function(e,n){var i=this.attr("data-"+e.replace(m,"-$1").toLowerCase(),n);return null!==i?Y(i):t},val:function(t){return 0===arguments.length?this[0]&&(this[0].multiple?n(this[0]).find("option").filter(function(){return this.selected}).pluck("value"):this[0].value):this.each(function(e){this.value=J(this,t,e,this.value)})},offset:function(t){if(t)return this.each(function(e){var i=n(this),r=J(this,t,e,i.offset()),o=i.offsetParent().offset(),s={top:r.top-o.top,left:r.left-o.left};"static"==i.css("position")&&(s.position="relative"),i.css(s)});if(0==this.length)return null;var e=this[0].getBoundingClientRect();return{left:e.left+window.pageXOffset,top:e.top+window.pageYOffset,width:Math.round(e.width),height:Math.round(e.height)}},css:function(t,i){if(arguments.length<2){var r=this[0],o=getComputedStyle(r,"");if(!r)return;if("string"==typeof t)return r.style[C(t)]||o.getPropertyValue(t);if(A(t)){var s={};return n.each(A(t)?t:[t],function(t,e){s[e]=r.style[C(e)]||o.getPropertyValue(e)}),s}}var a="";if("string"==L(t))i||0===i?a=F(t)+":"+H(t,i):this.each(function(){this.style.removeProperty(F(t))});else for(e in t)t[e]||0===t[e]?a+=F(e)+":"+H(e,t[e])+";":this.each(function(){this.style.removeProperty(F(e))});return this.each(function(){this.style.cssText+=";"+a})},index:function(t){return t?this.indexOf(n(t)[0]):this.parent().children().indexOf(this[0])},hasClass:function(t){return t?r.some.call(this,function(t){return this.test(W(t))},q(t)):!1},addClass:function(t){return t?this.each(function(e){i=[];var r=W(this),o=J(this,t,e,r);o.split(/\s+/g).forEach(function(t){n(this).hasClass(t)||i.push(t)},this),i.length&&W(this,r+(r?" ":"")+i.join(" "))}):this},removeClass:function(e){return this.each(function(n){return e===t?W(this,""):(i=W(this),J(this,e,n,i).split(/\s+/g).forEach(function(t){i=i.replace(q(t)," ")}),void W(this,i.trim()))})},toggleClass:function(e,i){return e?this.each(function(r){var o=n(this),s=J(this,e,r,W(this));s.split(/\s+/g).forEach(function(e){(i===t?!o.hasClass(e):i)?o.addClass(e):o.removeClass(e)})}):this},scrollTop:function(e){if(this.length){var n="scrollTop"in this[0];return e===t?n?this[0].scrollTop:this[0].pageYOffset:this.each(n?function(){this.scrollTop=e}:function(){this.scrollTo(this.scrollX,e)})}},scrollLeft:function(e){if(this.length){var n="scrollLeft"in this[0];return e===t?n?this[0].scrollLeft:this[0].pageXOffset:this.each(n?function(){this.scrollLeft=e}:function(){this.scrollTo(e,this.scrollY)})}},position:function(){if(this.length){var t=this[0],e=this.offsetParent(),i=this.offset(),r=d.test(e[0].nodeName)?{top:0,left:0}:e.offset();return i.top-=parseFloat(n(t).css("margin-top"))||0,i.left-=parseFloat(n(t).css("margin-left"))||0,r.top+=parseFloat(n(e[0]).css("border-top-width"))||0,r.left+=parseFloat(n(e[0]).css("border-left-width"))||0,{top:i.top-r.top,left:i.left-r.left}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||a.body;t&&!d.test(t.nodeName)&&"static"==n(t).css("position");)t=t.offsetParent;return t})}},n.fn.detach=n.fn.remove,["width","height"].forEach(function(e){var i=e.replace(/./,function(t){return t[0].toUpperCase()});n.fn[e]=function(r){var o,s=this[0];return r===t?$(s)?s["inner"+i]:_(s)?s.documentElement["scroll"+i]:(o=this.offset())&&o[e]:this.each(function(t){s=n(this),s.css(e,J(this,r,t,s[e]()))})}}),v.forEach(function(t,e){var i=e%2;n.fn[t]=function(){var t,o,r=n.map(arguments,function(e){return t=L(e),"object"==t||"array"==t||null==e?e:S.fragment(e)}),s=this.length>1;return r.length<1?this:this.each(function(t,a){o=i?a:a.parentNode,a=0==e?a.nextSibling:1==e?a.firstChild:2==e?a:null,r.forEach(function(t){if(s)t=t.cloneNode(!0);else if(!o)return n(t).remove();G(o.insertBefore(t,a),function(t){null==t.nodeName||"SCRIPT"!==t.nodeName.toUpperCase()||t.type&&"text/javascript"!==t.type||t.src||window.eval.call(window,t.innerHTML)})})})},n.fn[i?t+"To":"insert"+(e?"Before":"After")]=function(e){return n(e)[t](this),this}}),S.Z.prototype=n.fn,S.uniq=N,S.deserializeValue=Y,n.zepto=S,n}();window.Zepto=Zepto,void 0===window.$&&(window.$=Zepto),function(t){function l(t){return t._zid||(t._zid=e++)}function h(t,e,n,i){if(e=p(e),e.ns)var r=d(e.ns);return(s[l(t)]||[]).filter(function(t){return!(!t||e.e&&t.e!=e.e||e.ns&&!r.test(t.ns)||n&&l(t.fn)!==l(n)||i&&t.sel!=i)})}function p(t){var e=(""+t).split(".");return{e:e[0],ns:e.slice(1).sort().join(" ")}}function d(t){return new RegExp("(?:^| )"+t.replace(" "," .* ?")+"(?: |$)")}function m(t,e){return t.del&&!u&&t.e in f||!!e}function g(t){return c[t]||u&&f[t]||t}function v(e,i,r,o,a,u,f){var h=l(e),d=s[h]||(s[h]=[]);i.split(/\s/).forEach(function(i){if("ready"==i)return t(document).ready(r);var s=p(i);s.fn=r,s.sel=a,s.e in c&&(r=function(e){var n=e.relatedTarget;return!n||n!==this&&!t.contains(this,n)?s.fn.apply(this,arguments):void 0}),s.del=u;var l=u||r;s.proxy=function(t){if(t=j(t),!t.isImmediatePropagationStopped()){t.data=o;var i=l.apply(e,t._args==n?[t]:[t].concat(t._args));return i===!1&&(t.preventDefault(),t.stopPropagation()),i}},s.i=d.length,d.push(s),"addEventListener"in e&&e.addEventListener(g(s.e),s.proxy,m(s,f))})}function y(t,e,n,i,r){var o=l(t);(e||"").split(/\s/).forEach(function(e){h(t,e,n,i).forEach(function(e){delete s[o][e.i],"removeEventListener"in t&&t.removeEventListener(g(e.e),e.proxy,m(e,r))})})}function j(e,i){return(i||!e.isDefaultPrevented)&&(i||(i=e),t.each(E,function(t,n){var r=i[t];e[t]=function(){return this[n]=x,r&&r.apply(i,arguments)},e[n]=b}),(i.defaultPrevented!==n?i.defaultPrevented:"returnValue"in i?i.returnValue===!1:i.getPreventDefault&&i.getPreventDefault())&&(e.isDefaultPrevented=x)),e}function T(t){var e,i={originalEvent:t};for(e in t)w.test(e)||t[e]===n||(i[e]=t[e]);return j(i,t)}var n,e=1,i=Array.prototype.slice,r=t.isFunction,o=function(t){return"string"==typeof t},s={},a={},u="onfocusin"in window,f={focus:"focusin",blur:"focusout"},c={mouseenter:"mouseover",mouseleave:"mouseout"};a.click=a.mousedown=a.mouseup=a.mousemove="MouseEvents",t.event={add:v,remove:y},t.proxy=function(e,n){if(r(e)){var i=function(){return e.apply(n,arguments)};return i._zid=l(e),i}if(o(n))return t.proxy(e[n],e);throw new TypeError("expected function")},t.fn.bind=function(t,e,n){return this.on(t,e,n)},t.fn.unbind=function(t,e){return this.off(t,e)},t.fn.one=function(t,e,n,i){return this.on(t,e,n,i,1)};var x=function(){return!0},b=function(){return!1},w=/^([A-Z]|returnValue$|layer[XY]$)/,E={preventDefault:"isDefaultPrevented",stopImmediatePropagation:"isImmediatePropagationStopped",stopPropagation:"isPropagationStopped"};t.fn.delegate=function(t,e,n){return this.on(e,t,n)},t.fn.undelegate=function(t,e,n){return this.off(e,t,n)},t.fn.live=function(e,n){return t(document.body).delegate(this.selector,e,n),this},t.fn.die=function(e,n){return t(document.body).undelegate(this.selector,e,n),this},t.fn.on=function(e,s,a,u,f){var c,l,h=this;return e&&!o(e)?(t.each(e,function(t,e){h.on(t,s,a,e,f)}),h):(o(s)||r(u)||u===!1||(u=a,a=s,s=n),(r(a)||a===!1)&&(u=a,a=n),u===!1&&(u=b),h.each(function(n,r){f&&(c=function(t){return y(r,t.type,u),u.apply(this,arguments)}),s&&(l=function(e){var n,o=t(e.target).closest(s,r).get(0);return o&&o!==r?(n=t.extend(T(e),{currentTarget:o,liveFired:r}),(c||u).apply(o,[n].concat(i.call(arguments,1)))):void 0}),v(r,e,u,a,s,l||c)}))},t.fn.off=function(e,i,s){var a=this;return e&&!o(e)?(t.each(e,function(t,e){a.off(t,i,e)}),a):(o(i)||r(s)||s===!1||(s=i,i=n),s===!1&&(s=b),a.each(function(){y(this,e,s,i)}))},t.fn.trigger=function(e,n){return e=o(e)||t.isPlainObject(e)?t.Event(e):j(e),e._args=n,this.each(function(){"dispatchEvent"in this?this.dispatchEvent(e):t(this).triggerHandler(e,n)})},t.fn.triggerHandler=function(e,n){var i,r;return this.each(function(s,a){i=T(o(e)?t.Event(e):e),i._args=n,i.target=a,t.each(h(a,e.type||e),function(t,e){return r=e.proxy(i),i.isImmediatePropagationStopped()?!1:void 0})}),r},"focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select keydown keypress keyup error".split(" ").forEach(function(e){t.fn[e]=function(t){return t?this.bind(e,t):this.trigger(e)}}),["focus","blur"].forEach(function(e){t.fn[e]=function(t){return t?this.bind(e,t):this.each(function(){try{this[e]()}catch(t){}}),this}}),t.Event=function(t,e){o(t)||(e=t,t=e.type);var n=document.createEvent(a[t]||"Events"),i=!0;if(e)for(var r in e)"bubbles"==r?i=!!e[r]:n[r]=e[r];return n.initEvent(t,i,!0),j(n)}}(Zepto),function(t){function l(e,n,i){var r=t.Event(n);return t(e).trigger(r,i),!r.isDefaultPrevented()}function h(t,e,i,r){return t.global?l(e||n,i,r):void 0}function p(e){e.global&&0===t.active++&&h(e,null,"ajaxStart")}function d(e){e.global&&!--t.active&&h(e,null,"ajaxStop")}function m(t,e){var n=e.context;return e.beforeSend.call(n,t,e)===!1||h(e,n,"ajaxBeforeSend",[t,e])===!1?!1:void h(e,n,"ajaxSend",[t,e])}function g(t,e,n,i){var r=n.context,o="success";n.success.call(r,t,o,e),i&&i.resolveWith(r,[t,o,e]),h(n,r,"ajaxSuccess",[e,n,t]),y(o,e,n)}function v(t,e,n,i,r){var o=i.context;i.error.call(o,n,e,t),r&&r.rejectWith(o,[n,e,t]),h(i,o,"ajaxError",[n,i,t||e]),y(e,n,i)}function y(t,e,n){var i=n.context;n.complete.call(i,e,t),h(n,i,"ajaxComplete",[e,n]),d(n)}function x(){}function b(t){return t&&(t=t.split(";",2)[0]),t&&(t==f?"html":t==u?"json":s.test(t)?"script":a.test(t)&&"xml")||"text"}function w(t,e){return""==e?t:(t+"&"+e).replace(/[&?]{1,2}/,"?")}function E(e){e.processData&&e.data&&"string"!=t.type(e.data)&&(e.data=t.param(e.data,e.traditional)),!e.data||e.type&&"GET"!=e.type.toUpperCase()||(e.url=w(e.url,e.data),e.data=void 0)}function j(e,n,i,r){return t.isFunction(n)&&(r=i,i=n,n=void 0),t.isFunction(i)||(r=i,i=void 0),{url:e,data:n,success:i,dataType:r}}function S(e,n,i,r){var o,s=t.isArray(n),a=t.isPlainObject(n);t.each(n,function(n,u){o=t.type(u),r&&(n=i?r:r+"["+(a||"object"==o||"array"==o?n:"")+"]"),!r&&s?e.add(u.name,u.value):"array"==o||!i&&"object"==o?S(e,u,i,n):e.add(n,u)})}var i,r,e=0,n=window.document,o=/)<[^<]*)*<\/script>/gi,s=/^(?:text|application)\/javascript/i,a=/^(?:text|application)\/xml/i,u="application/json",f="text/html",c=/^\s*$/;t.active=0,t.ajaxJSONP=function(i,r){if(!("type"in i))return t.ajax(i);var f,h,o=i.jsonpCallback,s=(t.isFunction(o)?o():o)||"jsonp"+ ++e,a=n.createElement("script"),u=window[s],c=function(e){t(a).triggerHandler("error",e||"abort")},l={abort:c};return r&&r.promise(l),t(a).on("load error",function(e,n){clearTimeout(h),t(a).off().remove(),"error"!=e.type&&f?g(f[0],l,i,r):v(null,n||"error",l,i,r),window[s]=u,f&&t.isFunction(u)&&u(f[0]),u=f=void 0}),m(l,i)===!1?(c("abort"),l):(window[s]=function(){f=arguments},a.src=i.url.replace(/\?(.+)=\?/,"?$1="+s),n.head.appendChild(a),i.timeout>0&&(h=setTimeout(function(){c("timeout")},i.timeout)),l)},t.ajaxSettings={type:"GET",beforeSend:x,success:x,error:x,complete:x,context:null,global:!0,xhr:function(){return new window.XMLHttpRequest},accepts:{script:"text/javascript, application/javascript, application/x-javascript",json:u,xml:"application/xml, text/xml",html:f,text:"text/plain"},crossDomain:!1,timeout:0,processData:!0,cache:!0},t.ajax=function(e){var n=t.extend({},e||{}),o=t.Deferred&&t.Deferred();for(i in t.ajaxSettings)void 0===n[i]&&(n[i]=t.ajaxSettings[i]);p(n),n.crossDomain||(n.crossDomain=/^([\w-]+:)?\/\/([^\/]+)/.test(n.url)&&RegExp.$2!=window.location.host),n.url||(n.url=window.location.toString()),E(n),n.cache===!1&&(n.url=w(n.url,"_="+Date.now()));var s=n.dataType,a=/\?.+=\?/.test(n.url);if("jsonp"==s||a)return a||(n.url=w(n.url,n.jsonp?n.jsonp+"=?":n.jsonp===!1?"":"callback=?")),t.ajaxJSONP(n,o);var j,u=n.accepts[s],f={},l=function(t,e){f[t.toLowerCase()]=[t,e]},h=/^([\w-]+:)\/\//.test(n.url)?RegExp.$1:window.location.protocol,d=n.xhr(),y=d.setRequestHeader;if(o&&o.promise(d),n.crossDomain||l("X-Requested-With","XMLHttpRequest"),l("Accept",u||"*/*"),(u=n.mimeType||u)&&(u.indexOf(",")>-1&&(u=u.split(",",2)[0]),d.overrideMimeType&&d.overrideMimeType(u)),(n.contentType||n.contentType!==!1&&n.data&&"GET"!=n.type.toUpperCase())&&l("Content-Type",n.contentType||"application/x-www-form-urlencoded"),n.headers)for(r in n.headers)l(r,n.headers[r]);if(d.setRequestHeader=l,d.onreadystatechange=function(){if(4==d.readyState){d.onreadystatechange=x,clearTimeout(j);var e,i=!1;if(d.status>=200&&d.status<300||304==d.status||0==d.status&&"file:"==h){s=s||b(n.mimeType||d.getResponseHeader("content-type")),e=d.responseText;try{"script"==s?(1,eval)(e):"xml"==s?e=d.responseXML:"json"==s&&(e=c.test(e)?null:t.parseJSON(e))}catch(r){i=r}i?v(i,"parsererror",d,n,o):g(e,d,n,o)}else v(d.statusText||null,d.status?"error":"abort",d,n,o)}},m(d,n)===!1)return d.abort(),v(null,"abort",d,n,o),d;if(n.xhrFields)for(r in n.xhrFields)d[r]=n.xhrFields[r];var T="async"in n?n.async:!0;d.open(n.type,n.url,T,n.username,n.password);for(r in f)y.apply(d,f[r]);return n.timeout>0&&(j=setTimeout(function(){d.onreadystatechange=x,d.abort(),v(null,"timeout",d,n,o)},n.timeout)),d.send(n.data?n.data:null),d},t.get=function(){return t.ajax(j.apply(null,arguments))},t.post=function(){var e=j.apply(null,arguments);return e.type="POST",t.ajax(e)},t.getJSON=function(){var e=j.apply(null,arguments);return e.dataType="json",t.ajax(e)},t.fn.load=function(e,n,i){if(!this.length)return this;var a,r=this,s=e.split(/\s/),u=j(e,n,i),f=u.success;return s.length>1&&(u.url=s[0],a=s[1]),u.success=function(e){r.html(a?t("
").html(e.replace(o,"")).find(a):e),f&&f.apply(r,arguments)},t.ajax(u),this};var T=encodeURIComponent;t.param=function(t,e){var n=[];return n.add=function(t,e){this.push(T(t)+"="+T(e))},S(n,t,e),n.join("&").replace(/%20/g,"+")}}(Zepto),function(t){t.fn.serializeArray=function(){var n,e=[];return t([].slice.call(this.get(0).elements)).each(function(){n=t(this);var i=n.attr("type");"fieldset"!=this.nodeName.toLowerCase()&&!this.disabled&&"submit"!=i&&"reset"!=i&&"button"!=i&&("radio"!=i&&"checkbox"!=i||this.checked)&&e.push({name:n.attr("name"),value:n.val()})}),e},t.fn.serialize=function(){var t=[];return this.serializeArray().forEach(function(e){t.push(encodeURIComponent(e.name)+"="+encodeURIComponent(e.value))}),t.join("&")},t.fn.submit=function(e){if(e)this.bind("submit",e);else if(this.length){var n=t.Event("submit");this.eq(0).trigger(n),n.isDefaultPrevented()||this.get(0).submit()}return this}}(Zepto),function(t){"__proto__"in{}||t.extend(t.zepto,{Z:function(e,n){return e=e||[],t.extend(e,t.fn),e.selector=n||"",e.__Z=!0,e},isZ:function(e){return"array"===t.type(e)&&"__Z"in e}});try{getComputedStyle(void 0)}catch(e){var n=getComputedStyle;window.getComputedStyle=function(t){try{return n(t)}catch(e){return null}}}}(Zepto); 3 | -------------------------------------------------------------------------------- /app/src/main/assets/swipe.js: -------------------------------------------------------------------------------- 1 | function Swipe(container,options){var noop=function(){};var offloadFn=function(fn){setTimeout(fn||noop,0)};var browser={addEventListener:!!window.addEventListener,touch:("ontouchstart" in window)||window.DocumentTouch&&document instanceof DocumentTouch,transitions:(function(temp){var props=["transitionProperty","WebkitTransition","MozTransition","OTransition","msTransition"];for(var i in props){if(temp.style[props[i]]!==undefined){return true}}return false})(document.createElement("swipe"))};if(!container){return}var element=container.children[0];var slides,slidePos,width,length;options=options||{};var index=parseInt(options.startSlide,10)||0;var speed=options.speed||300;options.continuous=options.continuous!==undefined?options.continuous:true;function setup(){slides=element.children;length=slides.length;if(slides.length<2){options.continuous=false}if(browser.transitions&&options.continuous&&slides.length<3){element.appendChild(slides[0].cloneNode(true));element.appendChild(element.children[1].cloneNode(true));slides=element.children}slidePos=new Array(slides.length);width=container.getBoundingClientRect().width||container.offsetWidth;element.style.width=(slides.length*width)+"px";var pos=slides.length;while(pos--){var slide=slides[pos];slide.style.width=width+"px";slide.setAttribute("data-index",pos);if(browser.transitions){slide.style.left=(pos*-width)+"px";move(pos,index>pos?-width:(indexindex?to:index)-diff-1),width*direction,0)}to=circle(to);move(index,width*direction,slideSpeed||speed);move(to,0,slideSpeed||speed);if(options.continuous){move(circle(to-direction),-(width*direction),0)}}else{to=circle(to);animate(index*-width,to*-width,slideSpeed||speed)}index=to;offloadFn(options.callback&&options.callback(index,slides[index]))}function move(index,dist,speed){translate(index,dist,speed);slidePos[index]=dist}function translate(index,dist,speed){var slide=slides[index];var style=slide&&slide.style;if(!style){return}style.webkitTransitionDuration=style.MozTransitionDuration=style.msTransitionDuration=style.OTransitionDuration=style.transitionDuration=speed+"ms";style.webkitTransform="translate("+dist+"px,0)"+"translateZ(0)";style.msTransform=style.MozTransform=style.OTransform="translateX("+dist+"px)"}function animate(from,to,speed){if(!speed){element.style.left=to+"px";return}var start=+new Date;var timer=setInterval(function(){var timeElap=+new Date-start;if(timeElap>speed){element.style.left=to+"px";if(delay){begin()}options.transitionEnd&&options.transitionEnd.call(event,index,slides[index]);clearInterval(timer);return}element.style.left=(((to-from)*(Math.floor((timeElap/speed)*100)/100))+from)+"px"},4)}var delay=options.auto||0;var interval;function begin(){interval=setTimeout(next,delay)}function stop(){delay=0;clearTimeout(interval)}var start={};var delta={};var isScrolling;var events={handleEvent:function(event){switch(event.type){case"touchstart":this.start(event);break;case"touchmove":this.move(event);break;case"touchend":offloadFn(this.end(event));break;case"webkitTransitionEnd":case"msTransitionEnd":case"oTransitionEnd":case"otransitionend":case"transitionend":offloadFn(this.transitionEnd(event));break;case"resize":offloadFn(setup.call()); 3 | break}if(options.stopPropagation){event.stopPropagation()}},start:function(event){var touches=event.touches[0];start={x:touches.pageX,y:touches.pageY,time:+new Date};isScrolling=undefined;delta={};element.addEventListener("touchmove",this,false);element.addEventListener("touchend",this,false)},move:function(event){if(event.touches.length>1||event.scale&&event.scale!==1){return}if(options.disableScroll){event.preventDefault()}var touches=event.touches[0];delta={x:touches.pageX-start.x,y:touches.pageY-start.y};if(typeof isScrolling=="undefined"){isScrolling=!!(isScrolling||Math.abs(delta.x)0||index==slides.length-1&&delta.x<0)?(Math.abs(delta.x)/width+1):1);translate(index-1,delta.x+slidePos[index-1],0);translate(index,delta.x+slidePos[index],0);translate(index+1,delta.x+slidePos[index+1],0)}}},end:function(event){var duration=+new Date-start.time;var isValidSlide=Number(duration)<250&&Math.abs(delta.x)>20||Math.abs(delta.x)>width/2;var isPastBounds=!index&&delta.x>0||index==slides.length-1&&delta.x<0;if(options.continuous){isPastBounds=false}var direction=delta.x<0;if(!isScrolling){if(isValidSlide&&!isPastBounds){if(direction){if(options.continuous){move(circle(index-1),-width,0);move(circle(index+2),width,0)}else{move(index-1,-width,0)}move(index,slidePos[index]-width,speed);move(circle(index+1),slidePos[circle(index+1)]-width,speed);index=circle(index+1)}else{if(options.continuous){move(circle(index+1),width,0);move(circle(index-2),-width,0)}else{move(index+1,width,0)}move(index,slidePos[index]+width,speed);move(circle(index-1),slidePos[circle(index-1)]+width,speed);index=circle(index-1)}options.callback&&options.callback(index,slides[index])}else{if(options.continuous){move(circle(index-1),-width,speed); 4 | move(index,0,speed);move(circle(index+1),width,speed)}else{move(index-1,-width,speed);move(index,0,speed);move(index+1,width,speed)}}}element.removeEventListener("touchmove",events,false);element.removeEventListener("touchend",events,false)},transitionEnd:function(event){if(parseInt(event.target.getAttribute("data-index"),10)==index){if(delay){begin()}options.transitionEnd&&options.transitionEnd.call(event,index,slides[index])}}};setup();if(delay){begin()}if(browser.addEventListener){if(browser.touch){element.addEventListener("touchstart",events,false)}if(browser.transitions){element.addEventListener("webkitTransitionEnd",events,false);element.addEventListener("msTransitionEnd",events,false);element.addEventListener("oTransitionEnd",events,false);element.addEventListener("otransitionend",events,false);element.addEventListener("transitionend",events,false)}window.addEventListener("resize",events,false)}else{window.onresize=function(){setup()}}return{setup:function(){setup()},slide:function(to,speed){stop();slide(to,speed)},prev:function(){stop();prev()},next:function(){stop();next()},getPos:function(){return index},getNumSlides:function(){return length},kill:function(){stop();element.style.width="auto";element.style.left=0;var pos=slides.length;while(pos--){var slide=slides[pos];slide.style.width="100%";slide.style.left=0;if(browser.transitions){translate(pos,0,0)}}if(browser.addEventListener){element.removeEventListener("touchstart",events,false);element.removeEventListener("webkitTransitionEnd",events,false);element.removeEventListener("msTransitionEnd",events,false);element.removeEventListener("oTransitionEnd",events,false);element.removeEventListener("otransitionend",events,false);element.removeEventListener("transitionend",events,false);window.removeEventListener("resize",events,false)}else{window.onresize=null}}}}if(window.jQuery||window.Zepto){(function($){$.fn.Swipe=function(params){return this.each(function(){$(this).data("Swipe",new Swipe($(this)[0],params)) 5 | })}})(window.jQuery||window.Zepto)}; 6 | -------------------------------------------------------------------------------- /app/src/main/assets/up.css: -------------------------------------------------------------------------------- 1 | html { 2 | font-size: 62.5%; 3 | background-color: #f4f4f4; 4 | } 5 | body { 6 | font-family: 'arial'; 7 | -webkit-user-select : none; 8 | -webkit-text-size-adjust:none; 9 | -webkit-overflow-scrolling: touch; 10 | color: #333; 11 | font-size: 12px; 12 | min-width: 320px; 13 | } 14 | ul,ol { 15 | list-style: none; 16 | } 17 | i,em,var,tt{ 18 | font-style: normal; 19 | } 20 | article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary { 21 | display: block; 22 | } 23 | body,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,p,form,input,textarea,article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary,button{ 24 | margin: 0; 25 | padding: 0; 26 | } 27 | img{ 28 | display: block; 29 | border: 0; 30 | } 31 | h1,h2,h3,h4,h5,h6 { 32 | font-weight: normal; 33 | } 34 | input, img { 35 | vertical-align:middle; 36 | } 37 | a:link,a:visited{ 38 | text-decoration: none; 39 | } 40 | /*元素被点击的时候产生的背景颜色(各个浏览器有默认颜色)*/ 41 | a, li, input, button, section, span, div { 42 | -webkit-tap-highlight-color: rgba(0,0,0,0); 43 | tap-highlight-color: rgba(0,0,0,0); 44 | } 45 | /* 去除webkit浏览器对input默认样式*/ 46 | input,textarea { 47 | -webkit-appearance:none; 48 | outline: 0; 49 | } 50 | button{ 51 | border:0; 52 | outline: none; 53 | } 54 | /*按压效果*/ 55 | .g-press:active{ 56 | background-color: #f4f4f4; 57 | } 58 | .g-overflow{ 59 | overflow: hidden; 60 | white-space: nowrap; 61 | text-overflow: ellipsis; 62 | } 63 | .g-next{ 64 | position: relative; 65 | } 66 | .g-base-arrow:after, 67 | .g-next:after{ 68 | display: block; 69 | content: ''; 70 | height: 7px; 71 | width: 7px; 72 | border: 2px solid #d3d3d3; 73 | border-width:0 2px 2px 0; 74 | } 75 | /*箭头:>*/ 76 | .g-next:after{ 77 | position: absolute; 78 | top: 0; 79 | bottom: 0; 80 | margin: auto; 81 | right: 2px; 82 | -webkit-transform: rotate(-45deg); 83 | transform: rotate(-45deg); 84 | } 85 | .clearfix:after{ 86 | display: block; 87 | height: 0; 88 | line-height: 0; 89 | content: ''; 90 | clear: both; 91 | visibility: hidden; 92 | }.H { 93 | z-index: 5; 94 | font-size: 1.6rem; 95 | line-height: 46px; 96 | height: 46px; 97 | color: #fff; 98 | text-align: center; 99 | background: #62ab00; 100 | } 101 | .H .back { 102 | top: 0; 103 | left: 7px; 104 | height: 45px; 105 | line-height: 45px; 106 | z-index: 1; 107 | position: absolute; 108 | display: block; 109 | color: #fff; 110 | font-size: 1.4rem; 111 | } 112 | .g-icon{ 113 | display: inline-block; 114 | width: 22px; 115 | height: 22px; 116 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAADwCAYAAAB7eIZVAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MEIzRTRDQzY5OEIwMTFFNTlDRDBBNkE5MzQyQUIzOEMiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MEIzRTRDQzc5OEIwMTFFNTlDRDBBNkE5MzQyQUIzOEMiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDowQjNFNENDNDk4QjAxMUU1OUNEMEE2QTkzNDJBQjM4QyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDowQjNFNENDNTk4QjAxMUU1OUNEMEE2QTkzNDJBQjM4QyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pg4Ye3AAAAmzSURBVHja7J0JbBRVGMenBwiVQ1SMaKyIChrUKh4oIoeiRQ1FQUAQqAoqoiIeEQ+igKgQb414EIkSb8VEMd4HSLyiaDTGIxa1gCiKSFtoa9vt+n3u/8XPZXdnZufNvKm+l/wz2+3sm9++fTPzve9975uCZDLpRFCOIg0g3RW0ouIIYI8mvUrqSupAWhCkssKQYQcIWC4dA9fIXSIkHUuqSf5TrtdRb1iwA0m1Ana2rrrDgD2OVCdgr9VZv27YQaStAvZq3Q2is7LBpG0C9qowupuuioakwV4Z1smso5Lj02AvD/HKExh4mIBtJc0MEzYo8ElpsDPChg0CXE6qF7AXRwGbL/BwUoOAnR4VbD7AJ5MaBey0KGH9Ap9K+lPAnh81rB/gEWmwU03AegUeKWATpHNNwXoBPl3AtpDOMQnrBjw6DbbSNCwr14hjNKk9Xm8kve3EoeT4NsWkZ4SNsIZUGucuwSoiPSWgvyftHWdgBf2EgP6B1DPOwAr6MQH9I2mfOAMr6KUCuprUK87ACvoRAb2WtG+cgRX0EgG9jrR/nIFZhaSHBfR6Uu84A7MKSIsF9E+kPnEGVtAPCugNpAPiDKyg7xfQP5MOjDOwgr5PQP9C6htnYAV9r4D+lXRwnIEV9N1p0GVxBlbQdwro30iHxhlY6XYBvYl0WNyBWbcK6N9J/eIOzFoooF8NWl8Us0izSK2kIaRxQSsriGieTs0gNbQlYC2l0GljxQJbYAtsgf9jwPncmjuRhpMGkQ4m7U/qgve3kDaRviN9DI/ne6REFN7LdPWDu6o++e/STNqMof7m5PaFR9O3kHaPyrxkx9/zAqAW4JMxrG+Xtn8nfLkZsM5a8DmeKptP2jFM4ClitrMac3IdfR5kd7RwnfAzH6EbmN1RD4iffG4eoOnag/Qs6uSpiAm6gItExewYGaDZoJ8C4Lzm+jK9uQiwVSE6rtXEOvfviiDAZ4sze7+Qh04VAK7z4/2Uf5QiXqcFIVxRjPdmoYE+gkfUF7CaMZofoYOaRzyrcNypfoDLcBLwpask4mmAQzAlXI2pNk8Ti5fx+I50G6k+YvPgC9LzpFLSWC+35hLcvWoNtK4MzuPyspcWHkbqTFpuoHVVYQNpPVg6uZmXg/H6NYNWIzta3iC1Q0RsTuBD8fpDw6auOn6ZGzDbsy2kHwwDf4vtfm7AO5H+IDUbBt6EbTc34M46fF4aSh22JW7AtYhNN106Y9vgBszdYeeIAvhzlV2x/c0NeA1gexkG7oPtGjfgT8XyBZNFHf8zN+B38brcsH/kRPTfD9xsiQ4xsiVe8GJLNJKW4SydYqiFZ2D7qFdHSl+D9vBBsIervNjD8o/HDY04VuC4k/0OkfZEP24OYWjvNqZbAXjfo+azRBxPVKPmrX7cCZnevC9Cv4SKR740CDAPtx8Vnp9jNMOeK6JmkwL6kiC+tUIR98B9eo4G31oP0tPCk9mcD7TbQc4Sy8yqEaSfj/fyZuG9/IZ0OGmMcMVK6IuC+of3Ij2JypJY1MddZhJi1dL9wyWIjbgYo2DVknXwgnYQ+47NAn2hjvCDgxBcV5PFA1+dxQO/Fl2qe5Z6z8wCfUGm/fOZHOdZ+aEIJziE1JO0mxj9biBVkT4hvYm5DreDTCAtJRXJmzDpAtLifOc4wtbEDC292EREih9NFtAPZ7r7mR4WpZel8PENRHdI2gAPC2yBLbAFtsD/L+BiuFpvII0y7MFswfTXXDh3Mpa/g+1pOx1+rUaDwB1gui4iXZQLeCtgewkvuInCcUPfA7yTm0Obdz7QcPc8AP69zW6+tfGwP7eQ+huyg/vj+EnwuA5CL8c4akuEoQfp2WpaveSmkH9cgg/VwV8blV+4zk8GhfQ3puHD7EYaGjLsUBzHV1KCTG9Ohb92G3xgYfrWEghaChwGVonBYAPySeiEVfkp8lqN7uamaoHjboQmWJVFoUVn3JqT5kpqxkFODwirEhM0o97QYi9VUoEmOPDyOdAYfJ7rGRXF0p4K8VOO93mQ8aJrVQTtVn52PgX5UVq8TqDAw6lO3lNMrPYqF75iL/tXY/9yXVeZfDw//IG1pL097FvtpMK7CuwQyQJbYAtsgS2wBbbAojzXloBvJ11pCjjseTprrVngtgLc10nlyu7eVoBnOqno2JWkHqESaxocFiMuiMu3WDlWhCw09TpdXbomYXhCZSLpT1KlkwqfWY8usjyOLSyDP69Fq7JnciViOh2Tw3x7WbPAFtgCW2ALbIHbDDCvieOokhrSbOefDNGxNH66ItQ8IVKTzPSaJCDqjHa8SGUZQJuQbi8Jq20evkxsgDkZwPsioP880m4iByZ/gYdI3eIAzPEOq0VESyVGGmqd3p2Yp0sg2XKpKeBCTBRWiRU1IzL01/ZYCqFyA70YNFdxvuO3CUjAyeVzPPkkV0YbPvk2Yv9V6EaRAPMikytEi33gIz/rRGRb4vIZ6YSwgTkD0jXiIQzL80jby5EBX4oERcP8Xva87thZLFtLYH1Flzx/1iORxEVdq8f5gfaaAelBsUrrfpxMQS+FCnoj4ox20AHMKdNfQcWNWBKp62bTU9xs1GO1OgYB5p/uHZHddlYI0VXdcalLIBxsAWmnfID5oWJfiaxKo0OMX+Mrzz2ipTnH/C5+gIfjqRBqXejICCIES7A8Wa29exLnjivwJHGB/xoPGYsyDnOeuMa/numxA/JuNEk8oIn77lGGIl2nw+uZ8cakXlwl+tBbWFZpcpnaGTjRVbfsL4FvEkb3UyYeWZFFp6FbKp/zXAWsyh0algLrVhmMK1X+dmhzVH8TaaGjMz+lnvK5k1ovOpm0LdPEIuf84VwPPzvpi0ejK7wgdpqTWgj7hNsgtLdINm+qG/QTdrbrg5xUNqV1BrtBE7Yb/hOOlKCzSKeSRvrYf062losKeAjpPB/7LzINXIPtYy7zcTeSejsaMo7pmlhcRXomx/+nAzg2zsAuLv/X5hS0/mEL7AKsDIuCGLAlvABzGEGdYVB16fvdCzAvteQUIRwSs8yLAz9t63X/bIVDxt5xUnEXX3sB5hvBEie1NnMU5iuKc0jlNCly2U91sXY59uFVC6udVAjOS9B2JVO8BC8iHUO6Dhf7LTn6Na+S3cFJrdZtdLlOF6K7JbK0PP+/K37Z+TDePWfwYOjTnFR63T6oqDBDBa1QocsVJ4HPFmX54mxS8rNIP3JSaUdWZ6vIRqRYYAtsgS2wBbbAsXOkbIg54x5tuoWt8WOBLbAFtsAW2NoS1pawtoQFtsAW2AJbYAtsbQlrS9iTzgJbYAtsgS2wBbbAFnj78pcAAwCyC4oSNvNZjgAAAABJRU5ErkJggg==)no-repeat; 117 | background-size: 100%; 118 | -web-background-size: 100%; 119 | } 120 | .H .back i{ 121 | display: inline-block; 122 | background-position: 0 0; 123 | vertical-align: middle; 124 | margin-top: 0; 125 | } 126 | .H .title { 127 | display: inline-block; 128 | overflow: hidden; 129 | text-overflow: ellipsis; 130 | white-space: nowrap; 131 | width: 62%; 132 | } 133 | .opsBtn{ 134 | z-index: 2; 135 | display: -webkit-flex; 136 | position: absolute; 137 | top: 0; 138 | right: 0; 139 | } 140 | .gohome{ 141 | background-position: 0 -75px; 142 | } 143 | .filterInput{ 144 | position: absolute; 145 | top: 12px; 146 | right: 5px; 147 | background-position: 0 -47px; 148 | } 149 | .H .back i { 150 | display: inline-block; 151 | background-position: 0 0; 152 | vertical-align: middle; 153 | margin-top: 0; 154 | } 155 | .showlist,.searchInput{ 156 | position: relative; 157 | width: 40px; 158 | height: 46px; 159 | background-image: none; 160 | } 161 | .searchInput{ 162 | background-image: none; 163 | } 164 | .showlist::before{ 165 | position: absolute; 166 | left: 10px; 167 | top: 16px; 168 | content: ''; 169 | width: 20px; 170 | height: 14px; 171 | border-top: solid #fff 1px; 172 | border-bottom: solid #fff 1px; 173 | } 174 | .showlist::after{ 175 | position: absolute; 176 | top: 23px; 177 | left: 10px; 178 | content: ''; 179 | width: 20px; 180 | height: 0px; 181 | border-top: solid #fff 1px; 182 | } 183 | 184 | .searchInput:before{ 185 | position: absolute; 186 | top: 15px; 187 | right: 11px; 188 | content: ''; 189 | display: inline-block; 190 | height: 16px; 191 | width: 16px; 192 | border-radius: 16px; 193 | border: 1px solid #fff; 194 | vertical-align: middle; 195 | } 196 | 197 | .searchInput:after{ 198 | position: absolute; 199 | top: 30px; 200 | left: 26px; 201 | content: ''; 202 | width: 5px; 203 | height: 2px; 204 | background: #fff; 205 | -webkit-transform: rotate(45deg); 206 | transform: rotate(45deg); 207 | } 208 | .opa{ 209 | opacity: 0.5; 210 | } 211 | 212 | .H .pullDown{ 213 | display: inline-block; 214 | width: 7px; 215 | height: 7px; 216 | border: solid #fff; 217 | border-width: 1px 1px 0 0; 218 | transform: translate(5px,-3px) rotate(-225deg); 219 | -webkit-transform: translate(5px,-3px) rotate(-225deg); 220 | } 221 | 222 | .H i.arrow_up { 223 | transform: translate(5px,0px) rotate(-45deg); 224 | -webkit-transform: translate(5px,0px) rotate(-45deg) 225 | } 226 | 227 | .listitems { 228 | z-index: 103; 229 | display: none; 230 | position: absolute; 231 | top: 51px; 232 | left: 50%; 233 | margin-left: -60px; 234 | width: 120px; 235 | border-radius: 4px; 236 | color: #fff; 237 | text-align: center; 238 | background-color: rgba(0,0,0,.8); 239 | } 240 | .listitems:before { 241 | content: ''; 242 | position: absolute; 243 | left: 50%; 244 | top: -10px; 245 | margin-left: -10px; 246 | width: 0; 247 | height: 0; 248 | border-left: 10px solid transparent; 249 | border-right: 10px solid transparent; 250 | border-bottom: 10px solid rgba(0,0,0,.75); 251 | } 252 | .listitems li:first-of-type { 253 | border-radius: 3px 3px 0 0; 254 | border-top:none; 255 | } 256 | .listitems li { 257 | height: 42px; 258 | line-height: 42px; 259 | text-align: center; 260 | font-size: 1.4rem; 261 | border-top: #000 solid 1px; 262 | -webkit-box-pack: center; 263 | -webkit-box-align: center; 264 | } 265 | .listitems li a { 266 | color: #fff; 267 | display: block; 268 | } 269 | 270 | .listitems li.cur_list a { 271 | color: rgba(255,255,255,.5) 272 | } 273 | 274 | /*问答icon*/ 275 | .g-Qa { 276 | color: #fff; 277 | width: 18px; 278 | height: 18px; 279 | font-size: 10px; 280 | line-height: 18px; 281 | display: inline-block; 282 | border: 1px solid #fff; 283 | border-radius: 100%; 284 | margin: 11px 14px 0 0; 285 | } 286 | .g-d-dialog{ 287 | display: none; 288 | z-index: 100009; 289 | position: fixed; 290 | top: 0; 291 | left: 0; 292 | width: 100%; 293 | height: 100%; 294 | -webkit-box-align: center; 295 | -webkit-box-pack: center; 296 | background: rgba(0,0,0,0.7); 297 | }.CommonAutocompleteComponent { 298 | position: absolute; 299 | top: 0; 300 | left: 0; 301 | width: 100%; 302 | min-height: 100%; 303 | background: #fff; 304 | overflow-x: hidden; 305 | overflow-y: auto; 306 | z-index: 999; 307 | } 308 | .CommonAutocompleteComponent .ipt-wrap { 309 | position: relative; 310 | padding: 8px 0 8px 10px; 311 | background: #ececec; 312 | display: -webkit-box; 313 | } 314 | .CommonAutocompleteComponent .ipt { 315 | padding-left: 10px; 316 | width: 75%; 317 | height: 33px; 318 | font-size: 14px; 319 | border: none; 320 | border-radius: 4px; 321 | display: block; 322 | -webkit-box-flex: 1; 323 | } 324 | .CommonAutocompleteComponent .search-icon { 325 | display: inline-block; 326 | position: relative; 327 | margin: 7px 0 0 -28px; 328 | width: 15px; 329 | height: 15px; 330 | border: 1px solid #d9d9d9; 331 | border-radius: 100%; 332 | -webkit-box-flex: 1; 333 | } 334 | .CommonAutocompleteComponent .search-icon::after { 335 | content: ""; 336 | display: inline-block; 337 | height: 5px; 338 | border-left: 2px solid #d9d9d9; 339 | position: absolute; 340 | right: 0; 341 | bottom: -3px; 342 | -webkit-transform: rotateZ(-45deg); 343 | transform: rotateZ(-45deg); 344 | } 345 | .CommonAutocompleteComponent .cancle-btn { 346 | font-size: 14px; 347 | color: #62ab00; 348 | background: transparent; 349 | -webkit-box-flex: 1; 350 | display: block; 351 | } 352 | .CommonAutocompleteComponent .ipted-wrap { 353 | list-style: none; 354 | margin-left: 18px; 355 | height: 40px; 356 | border-bottom: 1px solid #d9d9d9; 357 | } 358 | .CommonAutocompleteComponent .ipted { 359 | -webkit-box-flex: 1; 360 | margin-top: 0; 361 | font-size: 15px; 362 | line-height: 40px; 363 | color: #f60; 364 | } 365 | .CommonAutocompleteComponent .list { 366 | padding-left: 15px; 367 | } 368 | .CommonAutocompleteComponent .list li { 369 | padding-left: 5px; 370 | border-bottom: 1px solid #d9d9d9; 371 | overflow: hidden; 372 | color: #333; 373 | display: -webkit-box; 374 | -webkit-box-orient: vertical; 375 | } 376 | .CommonAutocompleteComponent .list li:active { 377 | background: #d9d9d9; 378 | } 379 | .CommonAutocompleteComponent .list .common-name { 380 | margin-top: 12px; 381 | font-size: 15px; 382 | color: #333; 383 | -webkit-box-flex: 1; 384 | } 385 | .CommonAutocompleteComponent .list .common-name em { 386 | color: #f60; 387 | } 388 | .CommonAutocompleteComponent .list .common-addr { 389 | margin: 4px 0 12px; 390 | font-size: 12px; 391 | font-style: normal; 392 | -webkit-box-flex: 1; 393 | }/** 394 | */ 395 | .i_global{ 396 | background:url("data:image/png;base64,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") no-repeat; 397 | -webkit-background-size: 40px 100px; 398 | background-size: 40px 100px; 399 | } 400 | .img-upload-mod { 401 | padding: 15px 15px 5px 5px; 402 | } 403 | .writebox{ 404 | border: none; 405 | padding:10px 2%; 406 | width: 96%; 407 | height: 80px; 408 | resize: none; 409 | font-size: 1.4rem; 410 | outline: none; 411 | } 412 | #pinglun{ 413 | display: block; 414 | padding:0 10px; 415 | text-align: right; 416 | color: #999; 417 | } 418 | .B-60AD00{ 419 | background: #60ad00; 420 | } 421 | .hide{ 422 | display: none; 423 | } 424 | .msg,.imgmsg{ 425 | height: 30px; 426 | line-height: 30px; 427 | font-size: 1.4rem; 428 | padding:0 10px; 429 | color: #e54c00; 430 | } 431 | .msg-hide { 432 | visibility: hidden; 433 | display: none; 434 | height: 15px!important; 435 | } 436 | .up-img-box:after{ 437 | content: ""; 438 | display: block; 439 | height: 0; 440 | line-height: 0; 441 | clear: both; 442 | visibility: hidden; 443 | } 444 | .up-img-box div{ 445 | float: left; 446 | } 447 | .up-img-box .up-img { 448 | position: relative; 449 | padding: 0 0 10px 10px; 450 | width: 33.33%; 451 | height: 90px; 452 | box-sizing: border-box; 453 | z-index:1; 454 | overflow: hidden; 455 | } 456 | .up-img-box .up-img img { 457 | width:100%; 458 | height:100%; 459 | } 460 | .up-img .i-shade { 461 | z-index:3; 462 | position: absolute; 463 | left: 10px; 464 | bottom: 10px; 465 | background-color: rgba(0,0,0, 0.7); 466 | width: 100%; 467 | height: 100%; 468 | } 469 | .up-img .i-progress { 470 | z-index: 4; 471 | position: absolute; 472 | top: 48%; 473 | left: 10px; 474 | right: 0; 475 | height: 6px; 476 | border-radius : 3px; 477 | overflow: hidden; 478 | } 479 | .up-img .i-line { 480 | width: 0%; 481 | height: 100%; 482 | -webkit-transition: 0.6s linear; 483 | transition: 0.6s linear; 484 | -webkit-transition-property: width, background-color; 485 | transition-property: width, background-color; 486 | border-radius: 3px; 487 | } 488 | .file-button { 489 | position: relative; 490 | display: inline-block; 491 | /*margin-left: 10px;*/ 492 | padding: 0 0 10px 10px; 493 | width: 33%; 494 | height: 90px; 495 | background: #fff; 496 | z-index: 1; 497 | box-sizing: border-box; 498 | } 499 | .cross { 500 | position: absolute; 501 | width: -webkit-calc(100% - 10px); 502 | width: calc(100% - 10px); 503 | height: -webkit-calc(100% - 10px); 504 | height: calc(100% - 10px); 505 | top: 0; 506 | right: 0; 507 | border: 1px dashed #eaeaea; 508 | } 509 | .cross::before, 510 | .cross::after { 511 | content: ""; 512 | position: absolute; 513 | top: 50%; 514 | left: 50%; 515 | transform: translate(-50%, -50%); 516 | width: 20px; 517 | height: 2px; 518 | background: #ccc; 519 | } 520 | .cross::after { 521 | width: 2px; 522 | height: 20px; 523 | } 524 | .file-button input { 525 | width: -webkit-calc(100% - 10px); 526 | width: calc(100% - 10px); 527 | height: -webkit-calc(100% - 10px); 528 | height: calc(100% - 10px); 529 | outline: 0; 530 | background: #fff; 531 | } 532 | .file-button input:active { 533 | background: #e3e3e3; 534 | } 535 | .opacity0{ 536 | position: absolute; 537 | top: 0; 538 | right: 0; 539 | opacity: 0; 540 | } 541 | /*图片弹框浏览*/ 542 | .picpopu{ 543 | display: none; 544 | z-index: 10005; 545 | position: fixed; 546 | top: 0; 547 | left: 0; 548 | width: 100%; 549 | height: 100%; 550 | background: #333; 551 | color: #fff; 552 | -webkit-box-align: center; 553 | -webkit-box-pack: center; 554 | } 555 | .pichead{ 556 | position: absolute; 557 | height: 44px; 558 | line-height: 44px; 559 | width: 100%; 560 | font-size: 1.4rem; 561 | top: 33px; 562 | left: 0; 563 | display: -webkit-box; 564 | -webkit-box-align: center; 565 | -webkit-box-pack: center; 566 | } 567 | .i_close{ 568 | display: block; 569 | position: absolute; 570 | top: 7px; 571 | right: 15px; 572 | width: 30px; 573 | height: 30px; 574 | background-position: -18px -58px; 575 | } 576 | .picpopu .i-detele{ 577 | display: block; 578 | position: absolute; 579 | top: 12px; 580 | left: 15px; 581 | width: 30px; 582 | height: 20px; 583 | background-position: 10px -58px; 584 | } 585 | .swipe-img{ 586 | overflow: hidden; 587 | visibility: hidden; 588 | position: relative; 589 | width: 100%; 590 | height: 100%; 591 | } 592 | .swipe-wrap-img{ 593 | overflow: hidden; 594 | position: relative; 595 | height: 100%; 596 | } 597 | .swipe-wrap-img div{ 598 | float: left; 599 | display: -webkit-box; 600 | padding: 0; 601 | margin: 0; 602 | width: 100%; 603 | height: 100%; 604 | position: relative; 605 | -webkit-box-align: center; 606 | -webkit-box-pack: center; 607 | } 608 | .swipe-wrap-img img{ 609 | width: 100%; 610 | max-height: 100%; 611 | } 612 | .swipe-img2 .swipe-wrap-img div, 613 | .swipe-img2 .swipe-wrap-img img{ 614 | height: 200px; 615 | } 616 | 617 | /* 上传失败 */ 618 | .fail-doc { 619 | position: absolute; 620 | top: 50%; 621 | left: 10px; 622 | right: 0; 623 | transform: translateY(-50%); 624 | font-size: 12px; 625 | line-height: 1.5; 626 | color: #fff; 627 | text-align: center; 628 | z-index: 5; 629 | } 630 | .fail-icon { 631 | position: absolute; 632 | padding: 5px; 633 | top: 0; 634 | right: 0; 635 | display: inline-block; 636 | width: 22px; 637 | height: 22px; 638 | background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAMAAAApWqozAAAATlBMVEUAAAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD/AAD//v7/Vlb/d3f/WFgAQ9XLAAAAFXRSTlMA+IZIAfLt19G7qVILslgjJLCYlFrXC4ihAAABCklEQVQ4y5XV626DMAwF4NxICk0K3XpC9/4vOtRVk3Mz9fn9SRhsbFUlWnMPXmsf7sZGxcTZRYNEL9aN7PWCJpdrl64zupnX1t4mDDLd6moNmBhX2G+w+aLa4CSG1IvT/Ne9Tud4Wt94xgeZ373AR3l1x9G+PXeQ7E/aS3dgS23OO7E5U20PvBT20MQWelEqkjn7yS9NLH2QjqQKoqmldRh0dNfCqISe7lkkFdDTPYugPGo9svBKo84+sNAy7BvLlBFqy71gqiz76Uxp+abY0vLtjppafpAkIyoaftFvJflhJatAsmQ2yfqSLEbRyhUuc5rH+Ew8VJNtdIA2+WmTH832HKe/c5zac/wLi5R7dvPHKQQAAAAASUVORK5CYII=") center center no-repeat; 639 | background-size: 22px 22px; 640 | z-index: 5; 641 | }/** 642 | */ 643 | /* 覆盖装饰器样式 */ 644 | .f0 { 645 | font-size: 0; 646 | } 647 | .re { 648 | position: relative; 649 | } 650 | html, 651 | body { 652 | background: #f1f1f1; 653 | min-height: 100%; 654 | } 655 | .block { 656 | display: block; 657 | } 658 | /*app管理房源头部*/ 659 | .app-manage{ 660 | display: block; 661 | width: 100%; 662 | height: 40px; 663 | line-height: 40px; 664 | color: #555; 665 | font-size: 15px; 666 | background: #f5ebd7; 667 | text-indent: 15px; 668 | position: relative; 669 | } 670 | .app-manage em{ 671 | color: #43ae00; 672 | } 673 | .app-manage::after{ 674 | position: absolute; 675 | right: 15px; 676 | top: 14px; 677 | content: ""; 678 | display: inline-block; 679 | margin-left: 3px; 680 | width: 8px; 681 | height: 8px; 682 | border-top: 1px solid #ccc; 683 | border-right: 1px solid #ccc; 684 | transform: rotateZ(45deg); 685 | -webkit-transform: rotateZ(45deg); 686 | } 687 | 688 | /* EntrustNoauth */ 689 | .finish_btn { 690 | padding-right: 10px; 691 | } 692 | .title_wrap { 693 | position: relative; 694 | width: 100%; 695 | } 696 | .title_wrap .tit-img{ 697 | width: 100%; 698 | /*max-height: 440px;*/ 699 | } 700 | .title_wrap .tit-txt { 701 | position: absolute; 702 | height: 30px; 703 | line-height: 30px; 704 | bottom: 0; 705 | font-size: 12px; 706 | color: #fff; 707 | text-align: center; 708 | width: 100%; 709 | background-color: rgba(30,17,9,.7); 710 | } 711 | .title_wrap .tit-txt em{ 712 | padding: 0 4px; 713 | font-size: 20px; 714 | vertical-align: -2px; 715 | } 716 | .border_b { 717 | border-bottom: 1px solid #d9d9d9; 718 | } 719 | .tab-wrap { 720 | white-space: nowrap; 721 | background: #fff; 722 | border-bottom: 1px solid #eaeaea; 723 | } 724 | .tab-wrap a{ 725 | line-height: 45px; 726 | text-align: center; 727 | position: relative; 728 | display: inline-block; 729 | width: 50%; 730 | color: #333; 731 | font-size: 16px; 732 | } 733 | .tab-wrap a.active { 734 | color: #62ab00; 735 | } 736 | .active::after { 737 | content: ""; 738 | display: block; 739 | width: 100%; 740 | position: absolute; 741 | bottom: 0; 742 | left: 0; 743 | border-bottom: 2px solid #62ab00; 744 | } 745 | .form-warp{ 746 | padding-left: 15px; 747 | background: #fff; 748 | margin-bottom: 20px; 749 | } 750 | input::-webkit-input-placeholder { 751 | color: #999; 752 | } 753 | 754 | .form-warp .init-item{ 755 | padding-right: 15px; 756 | display: -webkit-box; 757 | -webkit-box-align: center; 758 | height: 45px; 759 | overflow: hidden; 760 | border-bottom: 1px solid #eaeaea; 761 | } 762 | .form-warp .none{ 763 | display: none; 764 | } 765 | .form-warp li.init-item:last-child{ 766 | border-bottom: none; 767 | } 768 | .form-warp li.init-item label{ 769 | display: inline-block; 770 | width: 80px; 771 | font-size: 15px; 772 | color: #333; 773 | text-align:left; 774 | } 775 | .form-warp li.init-item .unit-name{ 776 | display: inline-block; 777 | font-size: 15px; 778 | color: #333; 779 | margin-left: 10px; 780 | } 781 | .form-warp li.init-item .int-text{ 782 | display: block; 783 | -webkit-box-flex: 1; 784 | color: #333; 785 | border: none; 786 | font-size: 15px; 787 | background: #fff; 788 | overflow: hidden; 789 | text-align: right; 790 | } 791 | .form-warp li.multi-item{ 792 | padding-right: 0; 793 | } 794 | .form-warp li.multi-item .unit-name{ 795 | width: 30px; 796 | text-align: left; 797 | } 798 | .form-warp li.multi-item label{ 799 | width: 130px; 800 | } 801 | .form-warp li.init-item .int-num{ 802 | color: #62ab00; 803 | } 804 | .form-warp li.sel-item::after{ 805 | content: ""; 806 | display: inline-block; 807 | margin-left: 3px; 808 | width: 8px; 809 | height: 8px; 810 | border-top: 1px solid #ccc; 811 | border-right: 1px solid #ccc; 812 | transform: rotateZ(45deg); 813 | -webkit-transform: rotateZ(45deg); 814 | } 815 | .form-warp li.sel-item{ 816 | position: relative; 817 | } 818 | .form-warp li.sel-item .int-text{ 819 | margin-top: -2px; 820 | } 821 | .form-warp li.init-item .disabled{ 822 | color:#999; 823 | } 824 | .form-warp li.sel-item select{ 825 | opacity: 0; 826 | position: absolute; 827 | width: 80%; 828 | right: 0; 829 | top: 37%; 830 | } 831 | .btn{ 832 | margin: 0 15px 20px; 833 | display: block; 834 | height: 40px; 835 | line-height: 40px; 836 | font-size: 17px; 837 | color: #fff; 838 | text-align: center; 839 | background: #62ab00; 840 | border-radius: 2px; 841 | } 842 | 843 | .btn:active { 844 | background: #4a8200; 845 | } 846 | .dis-btn,.dis-btn:active{ 847 | background: #ccc; 848 | } 849 | .vimg { 850 | margin-left: 10px; 851 | } 852 | .getcode { 853 | display: inline-block; 854 | width: 85px; 855 | height: 30px; 856 | line-height: 30px; 857 | border-radius: 3px; 858 | font-size: 14px; 859 | color: #62ab00; 860 | text-align: center; 861 | background: #fff; 862 | border: 1px solid #a1cd66; 863 | margin-left: 10px; 864 | } 865 | .getcode:active { 866 | 867 | } 868 | .getcode-dis{ 869 | border-color: #d6d6d6; 870 | color: #999; 871 | } 872 | 873 | 874 | .error-box { 875 | width: 100%; 876 | text-align: center; 877 | position: absolute; 878 | top: 48%; 879 | display: none; 880 | } 881 | .error-box .error-msg { 882 | display: inline-block; 883 | font-size: 15px; 884 | color: #fff; 885 | height: 40px; 886 | line-height: 40px; 887 | padding: 0 10px; 888 | border-radius: 5px; 889 | background-color: rgba(0,0,0,.8); 890 | } 891 | 892 | 893 | /* 发房成功 */ 894 | .success_wrap { 895 | width: 100%; 896 | height:100vh; 897 | background: url("http://pages_ajkcdn.gg.front.anjuke.test/touch/img/personal/success-bg.jpg") top center no-repeat; 898 | background-size: 100% 100%; 899 | overflow: hidden; 900 | } 901 | .moblie-img{ 902 | margin: 14px auto 0; 903 | width: 279px; 904 | height: 244px; 905 | background: url("http://pages_ajkcdn.gg.front.anjuke.test/touch/img/personal/phone.png") top center no-repeat; 906 | background-size: 279px 244px; 907 | } 908 | .success-tip{ 909 | font-size: 20px; 910 | color: #62ab00; 911 | text-align: center; 912 | margin: 20px 0 13px; 913 | } 914 | .success-tip i{ 915 | display: inline-block; 916 | width: 18px; 917 | height: 18px; 918 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABd0RVh0Q3JlYXRpb24gVGltZQAyMDE2LjYuMTSMNgVCAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAA1pJREFUWIXN119oU3cUwPHvufemq9EIYxaG1gpCy6Rz04cyGAwUGeylyLS5KjiX/rHMqdvo5hBnNfoyRl/0QcbCTKpS3W5a2CzbRNC9DLYHBa0Iw71s6YtY6HQp2tY0Zw9NS63Jzb21aTxv9/c755cP93fyyy+iqjxPIeUGALT3E8yM8oUqA2UHtSbZpNANVBuw0SoXJOxgLjU4psohcjs1odwrC+hDhyWjQlKVd2aOKwwv+JZFHF42hJ+B9bPnrGEqFhTU7FAlcBXh1TzTI/EwIeM5wQBMACwIqL2foAj9LpjpKDkoGsXIPKIHeKNIqgULcDC2JDkOdHrJrVlGoKSg1l4aVbnoNV+UWrNUmLY+qlW5DCzyDBJ+KwkoGsX4t4ofBNb4LB0vSVMP1tMhsMFn2QOF1Lz3UKSXWkO5iY+tUjiDciBhMzTvv2WixHxghkTZFbe5NDVQFNR8gZVGgK6sciER5ke33NYk29X7Vl3XDO/GdzA4c7DgloUdKkLQgdAJBIGBmtusj0bJ5st/7yyLA4v4E6j2gLloVbIj1sjD2RN5m7rN4e2QMIDwZQ4D8NpgPXahTwgEOewFo8L5tLIlHwZmvaFdDiss4QTQlHc14U7NS9RHN5KZOdzuUJMR/gIqXDHwTWIrezAoeJG3AKK/YqWG+AjhGLDEZcW61BA7mbxyTsdj4bgUwwjnR7LsdcMASMRhnSkkFNa5Jc6If9JKXdJmHKDtO9ZkTW4BbofsT2llc9KevGK4hSHCVoXVHjEAq0IGLVMPanG0COaaVYntBQO5HtrTw4tjFRwB9gIBD3V308rqYJblpskdCnw5FFIZk4ZzW7jnBTMNmopIL6+YSkzhrWKFKnSIUgd8UCDlUVZ5s9vmhlfMUyAAskhLH/uALuAFl9phJo+EygIrb4s34fjB5AflIuKw1hD6gFq/i6pwMtHEJ37rwOUK221zy1IagF98YZQ/RrJ8PhcMeLjChh3MkPA1sNvDevct5fWYTapkIGCqr7qAT93SVNmesPl+rhjw+q/DQONhPgO+csk6+6wY76BcxMMcBE49NSH8PTbG/mfF+AYBpJWPgd4nPEpbz07+KwsoaTNhVfI+cA1A4NvTYa7MB2ZOIIBYIw/JsBn4fXTMvdH9xv8ZKvgVsuKK5AAAAABJRU5ErkJggg==) center center no-repeat; 919 | background-size: 18px 18px; 920 | vertical-align: -2px; 921 | margin-right: 10px; 922 | } 923 | .app-box .msg-tit{ 924 | text-align: left; 925 | width: 335px; 926 | display: block; 927 | color: #fff; 928 | font-size: 36px; 929 | line-height: 52px; 930 | opacity: 0.9; 931 | margin: 0 auto; 932 | } 933 | .app-box .app-msg{ 934 | color: #fff; 935 | font-size: 15px; 936 | line-height: 26px; 937 | text-align: center; 938 | opacity: 0.6; 939 | margin-bottom: 15px; 940 | } 941 | .app-box .down-btn,.app-box .down-btn:active{ 942 | display: block; 943 | border-radius: 5px; 944 | text-align: center; 945 | margin:0 auto; 946 | width: 345px; 947 | height: 40px; 948 | line-height: 40px; 949 | background: rgba(98,170,0,.9); 950 | color: #fff; 951 | font-size: 17px; 952 | margin-top: 14px; 953 | } 954 | .app-box .down-btn i{ 955 | display: inline-block; 956 | width: 13px; 957 | height: 16px; 958 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAgCAYAAAAMq2gFAAABWUlEQVRIie2XvUoDQRSFP8UnMCmDtQhWadP4AJYRtLfyQXwEfxDEJkTBTrERLNTOTsFgpYIWIhFMICjBY7EuTIbZn+yM0SIHBnbuHubMPXNndgeFx7ok7DbJiDBlPL8CZwXHKQMLeYVawFJBoRpwnkYYmXV/skY+uAAm0ghj61yoAXNWrAs0zMDYOhdmgKoVa9ukf53RPLBG+r6ZBraM/mWRjK6B4yH490CjqHVHwE0OXgfYBPpFhQTsAC8pnC9gG3gDv2LoEc32M+H9IXAXd3yr7gnYc8SvgFMzEKK87UGfXeKh9lFsUw/YwGFnqO9RvPAVEgok5MnQAW6TXobKyPwLahFt6gGEymgWOPhpKy6CmVEZqHsIpcIUimf1K8hjnYBFoASc+Ah1MzjvRKd1m+gwzYJ7PEn7OW4Iu5JWJT1k8PqSqq7bBJJKkpqSPoa/oQzgUdKyS0QS31vJV/zq9KWXAAAAAElFTkSuQmCC) center center no-repeat; 959 | background-size: 13px 16px; 960 | vertical-align: -3px; 961 | margin-right: 3px; 962 | } 963 | .none { 964 | display: none; 965 | } 966 | /*app发放成功*/ 967 | .success_app_wrap{ 968 | position: fixed; 969 | left: 0; 970 | top: 0; 971 | width: 100%; 972 | height: 100%; 973 | background: #fff; 974 | overflow: hidden; 975 | } 976 | .success_app_wrap .app-box{ 977 | overflow: hidden; 978 | } 979 | .success_app_wrap .suc-img{ 980 | width: 135px; 981 | height: 135px; 982 | margin:30px auto 0; 983 | background: url("http://pages_ajkcdn.gg.front.anjuke.test/touch/img/personal/app-suc-bg.png") top center no-repeat; 984 | background-size: 135px 135px; 985 | } 986 | .success_app_wrap .success-tip{ 987 | color: #333; 988 | font-size: 20px; 989 | margin: 20px 0 8px; 990 | } 991 | .success_app_wrap .app-msg{ 992 | color: #555; 993 | font-size: 14px; 994 | } 995 | .success_app_wrap .down-btn{ 996 | width: 290px; 997 | } 998 | /*confirm提示框*/ 999 | .confirm-box{ 1000 | width: 255px; 1001 | height: 140px; 1002 | background: #fff; 1003 | color: #333; 1004 | font-size: 15px; 1005 | overflow: hidden; 1006 | text-align: center; 1007 | border-radius: 4px; 1008 | position: relative; 1009 | } 1010 | .confirm-box .conf-tit{ 1011 | font-size: 17px; 1012 | color: #000; 1013 | margin:20px 0 15px; 1014 | } 1015 | .confirm-box .conf-btn{ 1016 | display: -webkit-box; 1017 | width: 100%; 1018 | border-top: 1px solid #dcdcdc; 1019 | position: absolute; 1020 | bottom: 0; 1021 | } 1022 | .confirm-box .close-btn{ 1023 | position: absolute; 1024 | top: 15px; 1025 | right: 15px; 1026 | width: 14px; 1027 | height: 14px; 1028 | background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAA+klEQVRIibXW3w3CIBDH8a/EHXQEO0bdoo5g96kjuIV1gL7rCN1CH9omhPDnjgJvBJJPctz9wmGapgswADdgps46AU+gN8ADaIEXcK6EjasxGKADvkBTAd2wZjU6w1LGtgLqYi0wm/VwQz+FUC8GYKxLM3AtgAYxFyyBRjEfuAdNYiEwBxVhMVCDirEUKEFVmASMoWoM4CgAbfRloWgxDehD0WIgK6m9fol9UdB9s6xwkIK+BslKJAkY6sasREqBqdZXozFQOmcqNARqh1qM+sCsBJGiLpiLiVEb3IuJ0A0shSVRUwGLooblR1waC6FPA/TAuwLmoiNw/wMlWpayIriWKAAAAABJRU5ErkJggg==) no-repeat; 1029 | background-size: 14px 14px; 1030 | } 1031 | .confirm-box .conf-btn span{ 1032 | display: block; 1033 | -webkit-box-flex: 1; 1034 | height: 45px; 1035 | line-height: 45px; 1036 | font-size: 16px; 1037 | color: #62ab00; 1038 | border-left: 1px solid #dcdcdc; 1039 | } 1040 | .confirm-box .conf-btn .ok-btn{ 1041 | border-left: 0; 1042 | } 1043 | 1044 | /*业主说&房源图*/ 1045 | .other_wrap{ 1046 | width: 100%; 1047 | height: 100%; 1048 | background: #f6f6f6; 1049 | white-space: nowrap; 1050 | } 1051 | .other_wrap .other-tit{ 1052 | background: #fff; 1053 | height: 50px; 1054 | line-height: 50px; 1055 | color: #e54b00; 1056 | font-size: 14px; 1057 | text-align: center; 1058 | } 1059 | .other_wrap .other-item{ 1060 | margin-top: 10px; 1061 | background: #fff; 1062 | padding-left: 10px; 1063 | } 1064 | .other_wrap .other-item .item-tit{ 1065 | font-size: 14px; 1066 | color: #999; 1067 | height: 45px; 1068 | line-height: 45px; 1069 | } 1070 | .other_wrap .other-item .item-tit label{ 1071 | font-size: 15px; 1072 | color: #262626; 1073 | margin-right: 8px; 1074 | } 1075 | .other_wrap .other-item textarea{ 1076 | width: calc(100% - 32px); 1077 | width: -webkit-calc(100% - 32px); 1078 | height: 125px; 1079 | border:1px solid #eaeaea; 1080 | padding: 10px; 1081 | resize: none; 1082 | font-size: 14px; 1083 | } 1084 | .other_wrap .other-item .l-tip{ 1085 | text-align: right; 1086 | font-size: 14px; 1087 | color: #999; 1088 | margin-right: 15px; 1089 | height: 30px; 1090 | line-height: 30px; 1091 | padding-bottom: 8px; 1092 | } 1093 | .other_wrap .other-item .red-text{ 1094 | color: #f60; 1095 | } 1096 | .other_wrap .btn-box{ 1097 | margin: 20px 10px; 1098 | display: -webkit-box; 1099 | -webkit-box-align: center; 1100 | } 1101 | .other_wrap .btn-box .btn{ 1102 | display: block; 1103 | -webkit-box-flex: 1; 1104 | margin: 0 5px 20px; 1105 | } 1106 | .other_wrap .btn-box .break-btn{ 1107 | border: 1px solid #62ab00; 1108 | color: #62ab00; 1109 | background: #f6f6f6; 1110 | } 1111 | .img-upload-mod { 1112 | border-top: 1px solid #f4f4f4; 1113 | padding: 15px 0 5px 0; 1114 | } 1115 | -------------------------------------------------------------------------------- /app/src/main/assets/up.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 北京卖房网,北京卖房信息发布,发布卖房信息的网站-58安居客 12 | 13 | 14 | 21 | 22 | 23 | 24 |
25 |
26 |
27 | 返回 闪电卖房 28 | 31 |
32 | 33 | 34 |
35 |
36 |
37 | 38 | 39 |
40 | 51 | 52 |
53 | 54 |
55 | 56 | 点击这里去看看我的房子 57 |
58 | 59 |

截止到今日,已服务2,147,483,647位房东

60 |
61 |
62 | 出售 63 | 出租 64 |
65 |
    66 |
  • 67 | 68 | 69 | 70 | 71 |
  • 72 | 76 |
  • 77 | 78 | 79 | 80 |
  • 81 |
  • 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 |
  • 90 |
  • 91 | 92 | 93 | 94 |
  • 95 |
96 | 下一步 97 |
98 | 99 | 311 |
312 | 313 |
314 | 315 |
316 | 317 |
318 |
补充下面信息,让买家更好了解您的房源
319 |
320 |

让买家更好的了解你的房子(选填)

321 | 322 |

0/300

323 | 324 | 325 |
326 |
327 |

更好展示您的房源

328 |
329 |
330 |
331 |
332 |
333 | 334 | 335 |
336 |
337 |
错误提示
338 |
注:图片较大,正在压缩上传,需耗时5-10秒
339 |
340 |
341 | 342 | 343 |
344 |
345 |
346 |
347 |
348 |
1/
349 |
350 | 351 |
352 |
353 |
354 | 跳过 355 | 完成 356 |
357 |
358 | 359 | 360 |
361 |
362 |

恭喜您,委托成功!

363 |

请保持手机畅通,
工作人员会及时联系您,安排上门拍照。

364 |

下载安居客APP,
全面掌握房源信息!

365 | 下载APP查看买家出价 366 |
367 |
368 |
369 | 370 | 371 |
372 |
373 |
374 |

恭喜您,委托成功!

375 |

请保持手机畅通,工作人员会及时联系您!

376 | 管理房源 377 |
378 |
379 | 380 | 381 | 382 | 383 | 384 | 385 | 386 | 387 | 388 | 404 | 405 |
458 | 459 | 467 | 468 | 469 | 470 | 471 | 472 | 473 | -------------------------------------------------------------------------------- /app/src/main/java/me/baron/webviewsample/MainActivity.java: -------------------------------------------------------------------------------- 1 | package me.baron.webviewsample; 2 | 3 | import android.annotation.TargetApi; 4 | import android.app.Activity; 5 | import android.content.ClipData; 6 | import android.content.Intent; 7 | import android.net.Uri; 8 | import android.os.Build; 9 | import android.support.v7.app.AppCompatActivity; 10 | import android.os.Bundle; 11 | import android.webkit.ValueCallback; 12 | import android.webkit.WebChromeClient; 13 | import android.webkit.WebSettings; 14 | import android.webkit.WebView; 15 | 16 | public class MainActivity extends AppCompatActivity { 17 | 18 | private ValueCallback uploadMessage; 19 | private ValueCallback uploadMessageAboveL; 20 | private final static int FILE_CHOOSER_RESULT_CODE = 10000; 21 | 22 | @Override 23 | protected void onCreate(Bundle savedInstanceState) { 24 | super.onCreate(savedInstanceState); 25 | setContentView(R.layout.activity_main); 26 | 27 | WebView webview = (WebView) findViewById(R.id.web_view); 28 | assert webview != null; 29 | WebSettings settings = webview.getSettings(); 30 | settings.setUseWideViewPort(true); 31 | settings.setLoadWithOverviewMode(true); 32 | settings.setJavaScriptEnabled(true); 33 | webview.setWebChromeClient(new WebChromeClient() { 34 | 35 | // For Android < 3.0 36 | public void openFileChooser(ValueCallback valueCallback) { 37 | uploadMessage = valueCallback; 38 | openImageChooserActivity(); 39 | } 40 | 41 | // For Android >= 3.0 42 | public void openFileChooser(ValueCallback valueCallback, String acceptType) { 43 | uploadMessage = valueCallback; 44 | openImageChooserActivity(); 45 | } 46 | 47 | //For Android >= 4.1 48 | public void openFileChooser(ValueCallback valueCallback, String acceptType, String capture) { 49 | uploadMessage = valueCallback; 50 | openImageChooserActivity(); 51 | } 52 | 53 | // For Android >= 5.0 54 | @Override 55 | public boolean onShowFileChooser(WebView webView, ValueCallback filePathCallback, WebChromeClient.FileChooserParams fileChooserParams) { 56 | uploadMessageAboveL = filePathCallback; 57 | openImageChooserActivity(); 58 | return true; 59 | } 60 | }); 61 | String targetUrl = "file:///android_asset/up.html"; 62 | webview.loadUrl(targetUrl); 63 | } 64 | 65 | private void openImageChooserActivity() { 66 | Intent i = new Intent(Intent.ACTION_GET_CONTENT); 67 | i.addCategory(Intent.CATEGORY_OPENABLE); 68 | i.setType("image/*"); 69 | startActivityForResult(Intent.createChooser(i, "Image Chooser"), FILE_CHOOSER_RESULT_CODE); 70 | } 71 | 72 | @Override 73 | protected void onActivityResult(int requestCode, int resultCode, Intent data) { 74 | super.onActivityResult(requestCode, resultCode, data); 75 | if (requestCode == FILE_CHOOSER_RESULT_CODE) { 76 | if (null == uploadMessage && null == uploadMessageAboveL) return; 77 | Uri result = data == null || resultCode != RESULT_OK ? null : data.getData(); 78 | if (uploadMessageAboveL != null) { 79 | onActivityResultAboveL(requestCode, resultCode, data); 80 | } else if (uploadMessage != null) { 81 | uploadMessage.onReceiveValue(result); 82 | uploadMessage = null; 83 | } 84 | } 85 | } 86 | 87 | @TargetApi(Build.VERSION_CODES.LOLLIPOP) 88 | private void onActivityResultAboveL(int requestCode, int resultCode, Intent intent) { 89 | if (requestCode != FILE_CHOOSER_RESULT_CODE || uploadMessageAboveL == null) 90 | return; 91 | Uri[] results = null; 92 | if (resultCode == Activity.RESULT_OK) { 93 | if (intent != null) { 94 | String dataString = intent.getDataString(); 95 | ClipData clipData = intent.getClipData(); 96 | if (clipData != null) { 97 | results = new Uri[clipData.getItemCount()]; 98 | for (int i = 0; i < clipData.getItemCount(); i++) { 99 | ClipData.Item item = clipData.getItemAt(i); 100 | results[i] = item.getUri(); 101 | } 102 | } 103 | if (dataString != null) 104 | results = new Uri[]{Uri.parse(dataString)}; 105 | } 106 | } 107 | uploadMessageAboveL.onReceiveValue(results); 108 | uploadMessageAboveL = null; 109 | } 110 | } 111 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BaronZ88/WebViewSample/4e8c91f0615702e43db20d4322248d63170da908/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BaronZ88/WebViewSample/4e8c91f0615702e43db20d4322248d63170da908/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BaronZ88/WebViewSample/4e8c91f0615702e43db20d4322248d63170da908/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BaronZ88/WebViewSample/4e8c91f0615702e43db20d4322248d63170da908/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BaronZ88/WebViewSample/4e8c91f0615702e43db20d4322248d63170da908/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 64dp 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | WebView 3 | 4 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/test/java/me/baron/webviewsample/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package me.baron.webviewsample; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * To work on unit tests, switch the Test Artifact in the Build Variants view. 9 | */ 10 | public class ExampleUnitTest { 11 | @Test 12 | public void addition_isCorrect() throws Exception { 13 | assertEquals(4, 2 + 2); 14 | } 15 | } -------------------------------------------------------------------------------- /build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | repositories { 5 | jcenter() 6 | } 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:2.1.2' 9 | 10 | // NOTE: Do not place your application dependencies here; they belong 11 | // in the individual module build.gradle files 12 | } 13 | } 14 | 15 | allprojects { 16 | repositories { 17 | jcenter() 18 | } 19 | } 20 | 21 | task clean(type: Delete) { 22 | delete rootProject.buildDir 23 | } 24 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BaronZ88/WebViewSample/4e8c91f0615702e43db20d4322248d63170da908/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Dec 28 10:00:20 PST 2015 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip 7 | -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ############################################################################## 4 | ## 5 | ## Gradle start up script for UN*X 6 | ## 7 | ############################################################################## 8 | 9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 10 | DEFAULT_JVM_OPTS="" 11 | 12 | APP_NAME="Gradle" 13 | APP_BASE_NAME=`basename "$0"` 14 | 15 | # Use the maximum available, or set MAX_FD != -1 to use that value. 16 | MAX_FD="maximum" 17 | 18 | warn ( ) { 19 | echo "$*" 20 | } 21 | 22 | die ( ) { 23 | echo 24 | echo "$*" 25 | echo 26 | exit 1 27 | } 28 | 29 | # OS specific support (must be 'true' or 'false'). 30 | cygwin=false 31 | msys=false 32 | darwin=false 33 | case "`uname`" in 34 | CYGWIN* ) 35 | cygwin=true 36 | ;; 37 | Darwin* ) 38 | darwin=true 39 | ;; 40 | MINGW* ) 41 | msys=true 42 | ;; 43 | esac 44 | 45 | # Attempt to set APP_HOME 46 | # Resolve links: $0 may be a link 47 | PRG="$0" 48 | # Need this for relative symlinks. 49 | while [ -h "$PRG" ] ; do 50 | ls=`ls -ld "$PRG"` 51 | link=`expr "$ls" : '.*-> \(.*\)$'` 52 | if expr "$link" : '/.*' > /dev/null; then 53 | PRG="$link" 54 | else 55 | PRG=`dirname "$PRG"`"/$link" 56 | fi 57 | done 58 | SAVED="`pwd`" 59 | cd "`dirname \"$PRG\"`/" >/dev/null 60 | APP_HOME="`pwd -P`" 61 | cd "$SAVED" >/dev/null 62 | 63 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 64 | 65 | # Determine the Java command to use to start the JVM. 66 | if [ -n "$JAVA_HOME" ] ; then 67 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 68 | # IBM's JDK on AIX uses strange locations for the executables 69 | JAVACMD="$JAVA_HOME/jre/sh/java" 70 | else 71 | JAVACMD="$JAVA_HOME/bin/java" 72 | fi 73 | if [ ! -x "$JAVACMD" ] ; then 74 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 75 | 76 | Please set the JAVA_HOME variable in your environment to match the 77 | location of your Java installation." 78 | fi 79 | else 80 | JAVACMD="java" 81 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 82 | 83 | Please set the JAVA_HOME variable in your environment to match the 84 | location of your Java installation." 85 | fi 86 | 87 | # Increase the maximum file descriptors if we can. 88 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then 89 | MAX_FD_LIMIT=`ulimit -H -n` 90 | if [ $? -eq 0 ] ; then 91 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 92 | MAX_FD="$MAX_FD_LIMIT" 93 | fi 94 | ulimit -n $MAX_FD 95 | if [ $? -ne 0 ] ; then 96 | warn "Could not set maximum file descriptor limit: $MAX_FD" 97 | fi 98 | else 99 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 100 | fi 101 | fi 102 | 103 | # For Darwin, add options to specify how the application appears in the dock 104 | if $darwin; then 105 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 106 | fi 107 | 108 | # For Cygwin, switch paths to Windows format before running java 109 | if $cygwin ; then 110 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 111 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 112 | JAVACMD=`cygpath --unix "$JAVACMD"` 113 | 114 | # We build the pattern for arguments to be converted via cygpath 115 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 116 | SEP="" 117 | for dir in $ROOTDIRSRAW ; do 118 | ROOTDIRS="$ROOTDIRS$SEP$dir" 119 | SEP="|" 120 | done 121 | OURCYGPATTERN="(^($ROOTDIRS))" 122 | # Add a user-defined pattern to the cygpath arguments 123 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 124 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 125 | fi 126 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 127 | i=0 128 | for arg in "$@" ; do 129 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 130 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 131 | 132 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 133 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 134 | else 135 | eval `echo args$i`="\"$arg\"" 136 | fi 137 | i=$((i+1)) 138 | done 139 | case $i in 140 | (0) set -- ;; 141 | (1) set -- "$args0" ;; 142 | (2) set -- "$args0" "$args1" ;; 143 | (3) set -- "$args0" "$args1" "$args2" ;; 144 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;; 145 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 146 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 147 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 148 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 149 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 150 | esac 151 | fi 152 | 153 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules 154 | function splitJvmOpts() { 155 | JVM_OPTS=("$@") 156 | } 157 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS 158 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" 159 | 160 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" 161 | -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- 1 | @if "%DEBUG%" == "" @echo off 2 | @rem ########################################################################## 3 | @rem 4 | @rem Gradle startup script for Windows 5 | @rem 6 | @rem ########################################################################## 7 | 8 | @rem Set local scope for the variables with windows NT shell 9 | if "%OS%"=="Windows_NT" setlocal 10 | 11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 12 | set DEFAULT_JVM_OPTS= 13 | 14 | set DIRNAME=%~dp0 15 | if "%DIRNAME%" == "" set DIRNAME=. 16 | set APP_BASE_NAME=%~n0 17 | set APP_HOME=%DIRNAME% 18 | 19 | @rem Find java.exe 20 | if defined JAVA_HOME goto findJavaFromJavaHome 21 | 22 | set JAVA_EXE=java.exe 23 | %JAVA_EXE% -version >NUL 2>&1 24 | if "%ERRORLEVEL%" == "0" goto init 25 | 26 | echo. 27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 28 | echo. 29 | echo Please set the JAVA_HOME variable in your environment to match the 30 | echo location of your Java installation. 31 | 32 | goto fail 33 | 34 | :findJavaFromJavaHome 35 | set JAVA_HOME=%JAVA_HOME:"=% 36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 | 38 | if exist "%JAVA_EXE%" goto init 39 | 40 | echo. 41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 42 | echo. 43 | echo Please set the JAVA_HOME variable in your environment to match the 44 | echo location of your Java installation. 45 | 46 | goto fail 47 | 48 | :init 49 | @rem Get command-line arguments, handling Windowz variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | if "%@eval[2+2]" == "4" goto 4NT_args 53 | 54 | :win9xME_args 55 | @rem Slurp the command line arguments. 56 | set CMD_LINE_ARGS= 57 | set _SKIP=2 58 | 59 | :win9xME_args_slurp 60 | if "x%~1" == "x" goto execute 61 | 62 | set CMD_LINE_ARGS=%* 63 | goto execute 64 | 65 | :4NT_args 66 | @rem Get arguments from the 4NT Shell from JP Software 67 | set CMD_LINE_ARGS=%$ 68 | 69 | :execute 70 | @rem Setup the command line 71 | 72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 73 | 74 | @rem Execute Gradle 75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 76 | 77 | :end 78 | @rem End local scope for the variables with windows NT shell 79 | if "%ERRORLEVEL%"=="0" goto mainEnd 80 | 81 | :fail 82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 83 | rem the _cmd.exe /c_ return code! 84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 85 | exit /b 1 86 | 87 | :mainEnd 88 | if "%OS%"=="Windows_NT" endlocal 89 | 90 | :omega 91 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | --------------------------------------------------------------------------------