(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/my-camera/my-camera"],{1281:function(t,n,e){"use strict";e.r(n);var o=e("d094"),c=e("de3e");for(var a in c)"default"!==a&&function(t){e.d(n,t,(function(){return c[t]}))}(a);e("3cf3");var i,u=e("f0c5"),r=Object(u["a"])(c["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],i);n["default"]=r.exports},"18e6":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={data:function(){return{type:0,flash:"off",position:"front",src:null}},onLoad:function(t){this.type=t.type||0},methods:{confirm:function(){console.log(this.src);var n=this,e=getCurrentPages(),o=e[e.length-2];o.setData({image:n.src}),t.navigateBack()},tapLight:function(){null==this.src&&(this.flash="on"==this.flash?"off":"on")},change:function(){null==this.src&&(this.position="back"==this.position?"front":"back")},rephoto:function(){var n=this;t.showModal({title:"提示",content:"确定重新拍摄?",success:function(t){t.confirm&&(n.src=null)}})},cancel:function(){t.showModal({title:"提示",content:"确定取消拍摄?",success:function(n){n.confirm&&t.navigateBack()}})},takePhoto:function(){var n=this,e=t.createCameraContext();e.takePhoto({quality:"high",success:function(t){n.src=t.tempImagePath},fail:function(t){console.log(t)}})},error:function(t){console.log(t.detail)}}};n.default=e}).call(this,e("543d")["default"])},"3cf3":function(t,n,e){"use strict";var o=e("c6ae"),c=e.n(o);c.a},9580:function(t,n,e){"use strict";(function(t){e("4518");o(e("66fd"));var n=o(e("1281"));function o(t){return t&&t.__esModule?t:{default:t}}t(n.default)}).call(this,e("543d")["createPage"])},c6ae:function(t,n,e){},d094:function(t,n,e){"use strict";var o;e.d(n,"b",(function(){return c})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){return o}));var c=function(){var t=this,n=t.$createElement;t._self._c},a=[]},de3e:function(t,n,e){"use strict";e.r(n);var o=e("18e6"),c=e.n(o);for(var a in o)"default"!==a&&function(t){e.d(n,t,(function(){return o[t]}))}(a);n["default"]=c.a}},[["9580","common/runtime","common/vendor"]]]);