|
|
|
require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["subPageC/translate/index"],{1137:function(e,t,n){"use strict";(function(e,t){var o=n(4);n(26);o(n(25));var i=o(n(1138));e.__webpack_require_UNI_MP_PLUGIN__=n,t(i.default)}).call(this,n(1)["default"],n(2)["createPage"])},1138:function(e,t,n){"use strict";n.r(t);var o=n(1139),i=n(1141);for(var a in i)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(a);n(1143);var r,u=n(231),l=Object(u["default"])(i["default"],o["render"],o["staticRenderFns"],!1,null,null,null,!1,o["components"],r);l.options.__file="subPageC/translate/index.vue",t["default"]=l.exports},1139:function(e,t,n){"use strict";n.r(t);var o=n(1140);n.d(t,"render",(function(){return o["render"]})),n.d(t,"staticRenderFns",(function(){return o["staticRenderFns"]})),n.d(t,"recyclableRender",(function(){return o["recyclableRender"]})),n.d(t,"components",(function(){return o["components"]}))},1140:function(e,t,n){"use strict";var o;n.r(t),n.d(t,"render",(function(){return i})),n.d(t,"staticRenderFns",(function(){return r})),n.d(t,"recyclableRender",(function(){return a})),n.d(t,"components",(function(){return o}));try{o={uniEasyinput:function(){return n.e("uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput").then(n.bind(null,1375))},uPicker:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uview-ui/components/u-picker/u-picker")]).then(n.bind(null,1589))}}}catch(u){if(-1===u.message.indexOf("Cannot find module")||-1===u.message.indexOf(".vue"))throw u;console.error(u.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var i=function(){var e=this,t=e.$createElement;e._self._c;e._isMounted||(e.e0=function(t){e.fromShow=!0},e.e1=function(t){e.exchange=!e.exchange},e.e2=function(t){e.toShow=!0},e.e3=function(t){e.fromShow=!1},e.e4=function(t){e.fromShow=!1},e.e5=function(t){e.toShow=!1},e.e6=function(t){e.toShow=!1})},a=!1,r=[];i._withStripped=!0},1141:function(e,t,n){"use strict";n.r(t);var o=n(1142),i=n.n(o);for(var a in o)["default"].indexOf(a)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(a);t["default"]=i.a},1142:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(){Promise.all([n.e("common/vendor"),n.e("uni_modules/uview-ui/components/u-picker/u-picker")]).then(function(){return resolve(n(1589))}.bind(null,n)).catch(n.oe)},i=function(){n.e("subPageC/components/zero-markdown-view/components/zero-markdown-view/zero-markdown-view").then(function(){return resolve(n(1548))}.bind(null,n)).catch(n.oe)},a={components:{UPicker:o,ZeroMarkdownView:i},data:function(){return{rootPath:this.$config.ROOTPATH,imageSrc:"",imageTitle:"",search_result:[],ActiveText:"",resultText:"",exchange:!1,fromShow:!1,toShow:!1,ActiveFrom:{id:0,value:"auto",label:"自动识别"},fromRange:[[{id:0,value:"auto",label:"自动识别"},{id:1,value:"zh",label:"中文"},{id:2,value:"en",label:"英语"},{id:3,value:"jp",label:"日语"},{id:4,value:"kor",label:"韩语"},{id:5,value:"fra",label:"法语"},{id:6,value:"spa",label:"西班牙语"},{id:7,value:"ara",label:"阿拉伯语"},{id:8,value:"de",label:"德语"}]],ActiveTo:{id:1,value:"zh",label:"中文"},toRange:[[{id:1,value:"zh",label:"中文"},{id:2,value:"en",label:"英语"},{id:3,value:"jp",label:"日语"},{id:4,value:"kor",label:"韩语"},{id:5,value:"fra",label:"法语"},{id:6,value:"spa",label:"西班牙语"},{id:7,value:"ara",label:"阿拉伯语"},{id:8,value:"de",label:"德语"}]]}},onLoad:function(){},methods:{chooseImage:function(){var t=this,n=this;this.ActiveText="",this.resultText="",e.chooseMedia({count:1,sizeType:["compressed"],mediaType:["image"],sourceType:["camera","album"],success:function(o){n.imageSrc=o.tempFiles[0].tempFilePath,e.showLoading({title:"识别中..."}
|