text: // { "framework": "Vue"} 
  if(typeof app=="undefined"){app=weex}
  !function(t){function e(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var r={};e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=125)}({0:function(t,e,r){"use strict";function n(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}function i(t,e){var r={};for(var n in t)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n]);return r}function o(t){return Array.isArray(t)?t:Array.from(t)}var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s={isNullOrUndefined:function(t){return void 0===t||null===t},isFunction:function(t){return!s.isNullOrUndefined(t)&&"function"==typeof t},isObject:function(t){return!s.isNullOrUndefined(t)&&"object"===(void 0===t?"undefined":u(t))},likeArray:function(t){return!s.isNullOrUndefined(t)&&"number"==typeof t.length},isJson:function(t){return s.isObject(t)&&!s.likeArray(t)},getObject:function(t,e){var r=t;if(0===s.count(t)||0===s.count(e))return"";var n=e.replace(/,/g,"|").replace(/\./g,"|").split("|");return s.each(n,function(t,e){r=void 0===r[e]?"":r[e]}),r},each:function(t,e){var r=void 0,n=void 0;if(s.likeArray(t)){if("number"==typeof t.length)for(r=0;r<t.length;r++)if(!1===e.call(t[r],r,t[r]))return t}else for(n in t)if(t.hasOwnProperty(n)&&!1===e.call(t[n],n,t[n]))return t;return t},last:function(t){var e=!1;return"object"===(void 0===t?"undefined":u(t))&&t.length>0&&(e=t[t.length-1]),e},delLast:function(t){var e=[];return"object"===(void 0===t?"undefined":u(t))&&t.length>0&&s.each(t,function(r,n){r<t.length-1&&e.push(n)}),e},strExists:function(t,e){return t+="",e+="",-1!==t.indexOf(e)},leftExists:function(t,e){return t+="",e+="",t.substring(0,e.length)===e},rightExists:function(t,e){return t+="",e+="",t.substring(t.length-e.length)===e},getMiddle:function(t,e,r){return t+="",s.ishave(e)&&s.strExists(t,e)&&(t=t.substring(t.indexOf(e)+e.length)),s.ishave(r)&&s.strExists(t,r)&&(t=t.substring(0,t.indexOf(r))),t},subString:function(t,e,r){return t+="",s.ishave(r)||(r=t.length),t.substring(e,r)},randomString:function(t){t=t||32;for(var e="ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678oOLl9gqVvUuI1",r=e.length,n="",i=0;i<t;i++)n+=e.charAt(Math.floor(Math.random()*r));return n},ishave:function(t){return!(null===t||"null"===t||void 0===t||"undefined"===t||!t)},zeroFill:function(t,e,r){if(t+="",t.length>=e)return t;for(var n="",i=0;i<e;i++)n+="0";return r||void 0===r?(n+""+t).substr(-1*e):(t+""+n).substr(0,e)},formatDate:function(t,e){if(""===t&&(t="Y-m-d H:i:s"),void 0===e)e=(new Date).getTime();else if(/^(-)?\d{1,10}$/.test(e))e*=1e3;else if(/^(-)?\d{1,13}$/.test(e))e*=1e3;else if(/^(-)?\d{1,14}$/.test(e))e*=100;else if(/^(-)?\d{1,15}$/.test(e))e*=10;else{if(!/^(-)?\d{1,16}$/.test(e))return e;e*=1}var r=new Date(e);return parseInt(r.getFullYear())+""=="NaN"?e:(t=t.replace(/Y/g,r.getFullYear()),t=t.replace(/m/g,s.zeroFill(r.getMonth()+1,2)),t=t.replace(/d/g,s.zeroFill(r.getDate(),2)),t=t.replace(/H/g,s.zeroFill(r.getHours(),2)),t=t.replace(/i/g,s.zeroFill(r.getMinutes(),2)),t=t.replace(/s/g,s.zeroFill(r.getSeconds(),2)))},isDate:function(t){var e=/^(\d{4})-(\d{2})-(\d{2})$/,r=t+"";return""!==r&&!(!e.test(r)&&RegExp.$2<=12&&RegExp.$3<=31)},isMobile:function(t){return/^1(3|4|5|7|8)\d{9}$/.test(t)},formatMobile:function(t){return 0===s.count(t)?"":t.substring(0,3)+"****"+t.substring(t.length-4)},clone:function(t){if("object"!==(void 0===t?"undefined":u(t)))return t;if(null===t)return t;if(s.likeArray(t)){return o(t).slice(0)}return i(t,[])},count:function(t){try{if(void 0===t)return 0;if("number"==typeof t&&(t+=""),"number"==typeof t.length)return t.length;var e=0,r=void 0;for(r in t)e++;return e}catch(t){return 0}},runNum:function(t,e){var r=Number(t);if(r+""=="NaN"&&(r=0),/^[0-9]*[1-9][0-9]*$/.test(e)){r=r.toFixed(e);if(r.indexOf(".")<0){r+=".";for(var n=0;n<e;n++)r+="0"}}return r},formatSeconds:function(t){var e=parseInt(t),r=0,n=0;e>60&&(r=parseInt(e/60),e=parseInt(e%60),r>60&&(n=parseInt(r/60),r=parseInt(r%60)));var i=parseInt(e)+"秒";return r>0&&(i=parseInt(r)+"分"+i),n>0&&(i=parseInt(n)+"小时"+i),i},jsonParse:function(t,e){try{return JSON.parse(t)}catch(t){return e||{}}},jsonStringify:function(t,e){try{return JSON.stringify(t)}catch(t){return e||""}},removerNumberNaN:function(){for(var t=[],e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];return r.forEach(function(e){isNaN(Number(e))||t.push(e)}),t},runMax:function(){return Math.max.apply(Math,n(s.removerNumberNaN.apply(s,arguments)))},runMin:function(){return Math.min.apply(Math,n(s.removerNumberNaN.apply(s,arguments)))},stringConnect:function(){for(var t=null,e="",r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];return n.forEach(function(r){null===t?t=r:r&&(r&&e&&(e+=t),e+=r)}),e},bytesToSize:function(t){if(0===t)return"0 B";var e=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],r=Math.floor(Math.log(t)/Math.log(1024));return void 0===e[r]?"0 B":s.runNum(t/Math.pow(1024,r),2)+" "+e[r]}};t.exports=s},1:function(t,e,r){"use strict";var n=r(0),i=app.requireModule("eeui"),o={jshome:"https://eeui.app/dist/1.0.0-2/pages/",openViewCode:function(t){o.openViewUrl("https://eeui.app/"+t+".html")},openViewUrl:function(t){i.openPage({url:o.jshome+"index_browser.js",pageType:"app",statusBarColor:"#3EB4FF",params:{title:"EEUI",url:t}})},checkVersion:function(t){return"function"==typeof i.getVersion&&(0,n.runNum)(i.getVersion())>=(0,n.runNum)(t)}};t.exports=o},125:function(t,e,r){var n,i,o=[];o.push(r(126)),n=r(127);var u=r(128);i=n=n||{},"object"!=typeof n.default&&"function"!=typeof n.default||(Object.keys(n).some(function(t){return"default"!==t&&"__esModule"!==t})&&console.error("named exports are not supported in *.vue files."),i=n=n.default),"function"==typeof i&&(i=i.options),i.__file="/Users/GAOYI/wwwroot/eeui/eeui-template/src/pages/plugin_picture.vue",i.render=u.render,i.staticRenderFns=u.staticRenderFns,i._scopeId="data-v-65b66a76",i.style=i.style||{},o.forEach(function(t){for(var e in t)i.style[e]=t[e]}),"function"==typeof __register_static_styles__&&__register_static_styles__(i._scopeId,o),t.exports=n,t.exports.el="true",new Vue(t.exports)},126:function(t,e){t.exports={app:{width:"750",flex:1},navbar:{width:"750",height:"100"},title:{fontSize:"28",color:"#ffffff"},iconr:{width:"100",height:"100",color:"#ffffff"},content:{flex:1,justifyContent:"center",alignItems:"center"},list:{width:"750",flexDirection:"row",justifyContent:"center"},imgbox:{width:"150",height:"150"},image:{width:"130",height:"130",marginTop:"10",marginBottom:"10",marginRight:"10",marginLeft:"10"},button:{fontSize:"24",textAlign:"center",marginTop:"20",paddingTop:"20",paddingBottom:"20",width:"220",color:"#ffffff",backgroundColor:"#00B4FF"},button2:{marginTop:"24",color:"#00B4FF",fontSize:"24",borderBottomWidth:"1",borderBottomStyle:"solid",borderBottomColor:"#00B4FF"}}},127:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(1),i=r(0),o=app.requireModule("eeui"),u=app.requireModule("picture");e.default={data:function(){return{lists:[]}},methods:{viewCode:function(t){(0,n.openViewCode)(t)},sliceLists:function(t,e){for(var r=[],n=0,o=0,u=t.length;o<u;o+=e)!function(o,u){var s=[];(0,i.each)(t.slice(o,o+e),function(t,e){e.position=n,s.push(e),n++}),r.push(s)}(o);return r},openPicture:function(){var t=this;if(void 0===u)return void o.alert({title:"温馨提示",message:"检测到未安装picture插件，安装详细请登录https://eeui.app/"});u.create({gallery:1,selected:this.lists},function(e){"success"===e.status&&(t.lists=e.lists)})},pictureView:function(t){if(void 0===u)return void o.alert({title:"温馨提示",message:"检测到未安装picture插件，安装详细请登录https://eeui.app/"});u.picturePreview(t,this.lists)}}}},128:function(t,e){t.exports={render:function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:["app"]},[r("navbar",{staticClass:["navbar"]},[r("navbar-item",{attrs:{type:"back"}}),r("navbar-item",{attrs:{type:"title"}},[r("text",{staticClass:["title"]},[t._v("图片选择器")])]),r("navbar-item",{attrs:{type:"right"},on:{click:function(e){t.viewCode("plugin/picture")}}},[r("icon",{staticClass:["iconr"],attrs:{content:"md-code-working"}})],1)],1),r("div",{staticClass:["content"]},[t.lists.length>0?r("scroll-view",{style:{width:"750px",height:150*Math.ceil(t.lists.length/5)+"px"},attrs:{eeui:{pullTips:!1}}},t._l(t.sliceLists(t.lists,5),function(e){return r("div",{staticClass:["list"]},t._l(e,function(e){return r("div",{staticClass:["imgbox"],on:{click:function(r){t.pictureView(e.position)}}},[r("image",{staticClass:["image"],attrs:{src:"file://"+e.path,resize:"cover"}})])}))})):t._e(),r("text",{staticClass:["button"],on:{click:t.openPicture}},[t._v("选择照片")]),t.lists.length>0?r("text",{staticClass:["button2"],on:{click:function(e){t.lists=[]}}},[t._v("清空选择")]):t._e()],1)],1)},staticRenderFns:[]},t.exports.render._withStripped=!0}});