2 lines
3.7 KiB
JavaScript
Raw Normal View History

2025-03-21 16:50:18 +08:00
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/packageC/info/certificate"],{385:function(e,n,t){"use strict";(function(e,n){var o=t(4);t(26);o(t(25));var r=o(t(386));e.__webpack_require_UNI_MP_PLUGIN__=t,n(r.default)}).call(this,t(1)["default"],t(2)["createPage"])},386:function(e,n,t){"use strict";t.r(n);var o=t(387),r=t(389);for(var i in r)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(i);var a,c=t(42),u=Object(c["default"])(r["default"],o["render"],o["staticRenderFns"],!1,null,null,null,!1,o["components"],a);u.options.__file="pages/packageC/info/certificate.vue",n["default"]=u.exports},387:function(e,n,t){"use strict";t.r(n);var o=t(388);t.d(n,"render",(function(){return o["render"]})),t.d(n,"staticRenderFns",(function(){return o["staticRenderFns"]})),t.d(n,"recyclableRender",(function(){return o["recyclableRender"]})),t.d(n,"components",(function(){return o["components"]}))},388:function(e,n,t){"use strict";var o;t.r(n),t.d(n,"render",(function(){return r})),t.d(n,"staticRenderFns",(function(){return a})),t.d(n,"recyclableRender",(function(){return i})),t.d(n,"components",(function(){return o}));try{o={tnNavBar:function(){return Promise.all([t.e("common/vendor"),t.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(t.bind(null,406))},lPainter:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/lime-painter/components/l-painter/l-painter")]).then(t.bind(null,588))},lPainterView:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/lime-painter/components/l-painter-view/l-painter-view")]).then(t.bind(null,624))},lPainterText:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/lime-painter/components/l-painter-text/l-painter-text")]).then(t.bind(null,629))},lPainterImage:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/lime-painter/components/l-painter-image/l-painter-image")]).then(t.bind(null,634))}}}catch(c){if(-1===c.message.indexOf("Cannot find module")||-1===c.message.indexOf(".vue"))throw c;console.error(c.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范文档https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var r=function(){var e=this,n=e.$createElement;e._self._c},i=!1,a=[];r._withStripped=!0},389:function(e,n,t){"use strict";t.r(n);var o=t(390),r=t.n(o);for(var i in o)["default"].indexOf(i)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(i);n["default"]=r.a},390:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=t(33),r={data:function(){return{topCurrent:0,info:{}}},onLoad:function(){this.getHandleMembercode()},methods:{getHandleMembercode:function(){var n=this;(0,o.handleMembercode)().then((function(e){var t=e.data;t.position_name=n.spacedString(t.position_name),n.info=t,console.log(e)})).catch((function(n){e.showToast({title:n,icon:"none",duration:2e3})}))},spacedString:function(e){for(var n=e.split(""),t="",o=0;o<n.length;o++)o>0&&(t+=" "),t+=n[o];return t},dImg:function(){this.$refs.painter.canvasToTempFilePathSync({fileType:"png",pathType:"url",quality:1,success:function(n){console.log(n.tempFilePath),e.saveImageToPhotosAlbum({filePath:n.tempFilePath,success:function(){e.showToast({title:"保存成功!",icon:"none",duration:2e3})},fail:function(e){console.log(e)}})}})},goBack:function(){getCurrentPages().length>1?e.navigateBack():e.redirectTo({url:"/pages/index/index"})}}};n.default=r}).call(this,t(2)["default"])}},[[385,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/packageC/info/certificate.js.map