You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1 lines
19 KiB

{"version":3,"sources":["uni-app:///main.js","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/user/pages/distribution/bind-technician.vue?1fda","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/user/pages/distribution/bind-technician.vue?d905","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/user/pages/distribution/bind-technician.vue?14bd","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/user/pages/distribution/bind-technician.vue?86c6","uni-app:///user/pages/distribution/bind-technician.vue","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/user/pages/distribution/bind-technician.vue?49cd","webpack:///C:/Users/Administrator/Desktop/上门按摩/uniapp/user/pages/distribution/bind-technician.vue?e941"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","components","props","data","options","confirmText","src","admin_id","check_admin","id","agent_name","computed","primaryColor","configInfo","userInfo","mineInfo","onLoad","bg","title","uni","that","setTimeout","methods","initRefresh","renderToCanvas","refresh","type","methodModel","param","qr_code","bind_technician_img","cover","nickName","avatarUrl","qr_radius","poster","css","width","height","views","objectFit","top","left","position","background","bottom","borderRadius","text","fontSize","fontWeight","color","fileType","quality","success","previewImage","current","urls","saveImage","filePath","err","icon","toPreviewSave"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,uBAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAA4H;AAC5H;AACmE;AACL;AACa;;;AAG3E;AAC6M;AAC7M,gBAAgB,iNAAU;AAC1B,EAAE,qFAAM;AACR,EAAE,0FAAM;AACR,EAAE,mGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,8FAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,gUAEN;AACP,KAAK;AACL;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACxCA;AAAA;AAAA;AAAA;AAA8zB,CAAgB,6yBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;ACkBl1B;AAGA;AAAA;AAAA,eACA;EACAC;EACAC,QAEA;EACAC;IACA;MACAC;MAKAC;MAEAC;MACAC;MACAC;QACAC;QACAC;MACA;IACA;EACA;EACAC;IACAC;MAAA;IAAA;IACAC;MAAA;IAAA;IACAC;MAAA;IAAA;IACAC;MAAA;IAAA;EACA;EACAC;IAAA;IAAA;MAAA;MAAA;QAAA;UAAA;YAAA;cACA;cASA;cAAA;cAAA,OACA;YAAA;cACA;gBACAC;cACA;cACAC;cACAC;gBACAD;cACA;cACAE;cACAC;gBACAD;cACA;YAAA;YAAA;cAAA;UAAA;QAAA;MAAA;IAAA;EACA;EACAE,yCACA;IACAC;MACA;MACA;MACA;IACA;IACAC;MAAA;QAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAAC;gBACAL;gBAAA,qBAGAA,aADAM;gBAEAC;gBAAA,iBAIAP,KAFAb,yFAEAa,KADAZ;gBAAA,kBAIAA,YADAC;gBAEA;kBACAF;gBACA;gBACAqB;kBACArB;gBACA;gBAAA;gBAAA,OACA;cAAA;gBAAAsB;gBAAA,wBAIA,kBADAC;gBAGAC;gBAAA,kBAKA,iBAFAC,qCACAC;gBAEAC;gBAEAA;gBAGAC;kBACAC;oBACAC;oBACAC;kBACA;kBACAC;oBACAb;oBACApB;oBACA8B;sBACAC;sBACAC;sBACAE;sBACAC;sBACAC;sBACAC;oBACA;kBACA,GACA;oBACAjB;oBACAU;sBACAQ;sBACAP;sBACAC;sBACAO;sBACAH;sBACAC;oBACA;oBACAJ;sBACAb;sBACApB;sBACA8B;wBACAO;wBACAN;wBACAC;wBACAE;wBACAM;wBACAD;wBACAH;sBACA;oBACA,GACA;sBACAhB;sBACAqB;sBACAX;wBACAO;wBACAE;wBACAH;wBACAL;wBACAW;wBACAC;wBACAC;sBACA;oBACA,GACA;sBACAxB;sBACAqB;sBACAX;wBACAO;wBACAE;wBACAH;wBACAL;wBACAW;wBACAE;sBACA;oBACA;kBAEA,GACA;oBACAxB;oBACApB;oBACA8B;sBACAO;sBACAN;sBACAC;sBACAO;sBACAH;sBACAE;sBACAE;oBACA;kBACA;gBAGA,GACA;gBACA;gBACA;gBACA;kBACAK;kBACAC;kBACAC;oBACAjC;oBACA;kBACA;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IAEA;IACAkC;MACA;MACAnC;QACAoC;QACAC;MACA;IACA;IACAC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBAAA;gBAAA,OACA;kBACA/B;gBACA;cAAA;gBACAgC;gBAAA;gBAAA,OACAvC;kBACAuC;gBACA;cAAA;gBAAA;gBAAA;gBAFAC;gBAAAN;gBAAA,KAGAM;kBAAA;kBAAA;gBAAA;gBAAA;cAAA;gBACAxC;kBACAyC;kBACA1C;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACA2C;MAKA;IAEA;EAAA;AAEA;AAAA,2B;;;;;;;;;;;;;ACnPA;AAAA;AAAA;AAAA;AAAqqC,CAAgB,0mCAAG,EAAC,C;;;;;;;;;;;ACAzrC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"user/pages/distribution/bind-technician.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './user/pages/distribution/bind-technician.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./bind-technician.vue?vue&type=template&id=50fcdf7a&\"\nvar renderjs\nimport script from \"./bind-technician.vue?vue&type=script&lang=js&\"\nexport * from \"./bind-technician.vue?vue&type=script&lang=js&\"\nimport style0 from \"./bind-technician.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"user/pages/distribution/bind-technician.vue\"\nexport default component.exports","export * from \"-!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./bind-technician.vue?vue&type=template&id=50fcdf7a&\"","var components\ntry {\n components = {\n lPainter: function () {\n return import(\n /* webpackChunkName: \"uni_modules/lime-painter/components/l-painter/l-painter\" */ \"@/uni_modules/lime-painter/components/l-painter/l-painter.vue\"\n )\n },\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n if (!_vm._isMounted) {\n _vm.e0 = function ($event) {\n return _vm.$util.goUrl({\n url: \"/user/pages/distribution/share-set\",\n })\n }\n }\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./bind-technician.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./bind-technician.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"pt-md\" style=\"background-color: #F4F6F7;\">\r\n\t\t<view class=\"hideCanvasView\">\r\n\t\t\t<l-painter class=\"hideCanvas\" ref=\"painter\" useCORS />\r\n\t\t</view>\r\n\t\t<block v-if=\"src\">\r\n\t\t\t<image :src=\"src\" class=\"code-img ml-md\" @tap=\"previewImage\"></image>\r\n\t\t\t<view class=\"space-max-footer\"></view>\r\n\t\t\t<fix-bottom-button @cancel=\"$util.goUrl({url:`/user/pages/distribution/share-set`})\"\r\n\t\t\t\t@confirm=\"toPreviewSave\"\r\n\t\t\t\t:text=\"options.type*1>0?[{text: '分享设置',type:'cancel'},{text: confirmText,type:'confirm'}]:[{text: confirmText,type:'confirm'}]\"\r\n\t\t\t\tbgColor=\"#fff\" :classType=\"2\">\r\n\t\t\t</fix-bottom-button>\r\n\t\t</block>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\tmapState,\r\n\t\tmapActions\r\n\t} from 'vuex';\r\n\texport default {\r\n\t\tcomponents: {},\r\n\t\tprops: {\r\n\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\toptions: {},\r\n\t\t\t\t// #ifdef H5\r\n\t\t\t\tconfirmText: '长按上图保存图片',\r\n\t\t\t\t// #endif\r\n\t\t\t\t// #ifndef H5\r\n\t\t\t\tconfirmText: '保存图片至相册',\r\n\t\t\t\t// #endif\r\n\t\t\t\tsrc: '',\r\n\t\t\t\tadmin_id: 0,\r\n\t\t\t\tcheck_admin: {\r\n\t\t\t\t\tid: 0,\r\n\t\t\t\t\tagent_name: '平台'\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed: mapState({\r\n\t\t\tprimaryColor: state => state.config.configInfo.primaryColor,\r\n\t\t\tconfigInfo: state => state.config.configInfo,\r\n\t\t\tuserInfo: state => state.user.userInfo,\r\n\t\t\tmineInfo: state => state.user.mineInfo,\r\n\t\t}),\r\n\t\tasync onLoad(options) {\r\n\t\t\tthis.options = options\r\n\t\t\t// #ifdef H5\r\n\t\t\tif (this.$jweixin.isWechat()) {\r\n\t\t\t\tawait this.$jweixin.initJssdk();\r\n\t\t\t\tthis.$jweixin.wxReady(() => {\r\n\t\t\t\t\tthis.$jweixin.hideOptionMenu()\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t\t// #endif\r\n\t\t\tthis.$util.showLoading()\r\n\t\t\tawait this.getConfigInfo()\r\n\t\t\tthis.$util.setNavigationBarColor({\r\n\t\t\t\tbg: this.primaryColor\r\n\t\t\t})\r\n\t\t\tlet title = '邀请绑定' + this.$t('action.attendantName')\r\n\t\t\tuni.setNavigationBarTitle({\r\n\t\t\t\ttitle\r\n\t\t\t})\r\n\t\t\tlet that = this\r\n\t\t\tsetTimeout(() => {\r\n\t\t\t\tthat.renderToCanvas()\r\n\t\t\t}, 1000)\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t...mapActions(['getConfigInfo']),\r\n\t\t\tinitRefresh() {\r\n\t\t\t\tthis.src = ''\r\n\t\t\t\tthis.$util.showLoading()\r\n\t\t\t\tthis.renderToCanvas(true)\r\n\t\t\t},\r\n\t\t\tasync renderToCanvas(refresh = false) {\r\n\t\t\t\tlet that = this;\r\n\t\t\t\tlet {\r\n\t\t\t\t\ttype = 0\r\n\t\t\t\t} = that.options\r\n\t\t\t\tlet methodModel = type == 1 ? 'resellerInvCoachQr' : 'adminCoachQr'\r\n\t\t\t\tlet {\r\n\t\t\t\t\tadmin_id = 0,\r\n\t\t\t\t\t\tcheck_admin = {}\r\n\t\t\t\t} = that\r\n\t\t\t\tlet {\r\n\t\t\t\t\tid = 0\r\n\t\t\t\t} = check_admin\r\n\t\t\t\tif (refresh && type == 1 && id) {\r\n\t\t\t\t\tadmin_id = id\r\n\t\t\t\t}\r\n\t\t\t\tlet param = type == 1 ? {\r\n\t\t\t\t\tadmin_id\r\n\t\t\t\t} : {}\r\n\t\t\t\tlet qr_code = await this.$api.mine[methodModel](param)\r\n\r\n\t\t\t\tlet {\r\n\t\t\t\t\tbind_technician_img = ''\r\n\t\t\t\t} = this.configInfo\r\n\r\n\t\t\t\tlet cover = bind_technician_img || 'https://lbqnyv2.migugu.com/bianzu18.png'\r\n\r\n\t\t\t\tlet {\r\n\t\t\t\t\tnickName,\r\n\t\t\t\t\tavatarUrl\r\n\t\t\t\t} = this.userInfo\r\n\t\t\t\tlet qr_radius = '0rpx'\r\n\t\t\t\t// #ifdef MP-WEIXIN\r\n\t\t\t\tqr_radius = '145rpx'\r\n\t\t\t\t// #endif\r\n\r\n\t\t\t\tlet poster = {\r\n\t\t\t\t\tcss: {\r\n\t\t\t\t\t\twidth: '710rpx',\r\n\t\t\t\t\t\theight: '1278rpx',\r\n\t\t\t\t\t},\r\n\t\t\t\t\tviews: [{\r\n\t\t\t\t\t\t\ttype: 'image',\r\n\t\t\t\t\t\t\tsrc: cover,\r\n\t\t\t\t\t\t\tcss: {\r\n\t\t\t\t\t\t\t\twidth: '710rpx',\r\n\t\t\t\t\t\t\t\theight: '1138rpx',\r\n\t\t\t\t\t\t\t\tobjectFit: \"cover\",\r\n\t\t\t\t\t\t\t\ttop: '0rpx',\r\n\t\t\t\t\t\t\t\tleft: '0rpx',\r\n\t\t\t\t\t\t\t\tposition: 'absolute'\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\ttype: 'view',\r\n\t\t\t\t\t\t\tcss: {\r\n\t\t\t\t\t\t\t\tbackground: '#fff',\r\n\t\t\t\t\t\t\t\twidth: '710rpx',\r\n\t\t\t\t\t\t\t\theight: '140rpx',\r\n\t\t\t\t\t\t\t\tbottom: '0rpx',\r\n\t\t\t\t\t\t\t\tleft: '0rpx',\r\n\t\t\t\t\t\t\t\tposition: 'absolute'\r\n\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\tviews: [{\r\n\t\t\t\t\t\t\t\t\ttype: 'image',\r\n\t\t\t\t\t\t\t\t\tsrc: avatarUrl,\r\n\t\t\t\t\t\t\t\t\tcss: {\r\n\t\t\t\t\t\t\t\t\t\tposition: 'absolute',\r\n\t\t\t\t\t\t\t\t\t\twidth: '94rpx',\r\n\t\t\t\t\t\t\t\t\t\theight: '94rpx',\r\n\t\t\t\t\t\t\t\t\t\tobjectFit: \"cover\",\r\n\t\t\t\t\t\t\t\t\t\tborderRadius: '50rpx',\r\n\t\t\t\t\t\t\t\t\t\tbottom: '23rpx',\r\n\t\t\t\t\t\t\t\t\t\tleft: '20rpx'\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\ttype: 'text',\r\n\t\t\t\t\t\t\t\t\ttext: nickName,\r\n\t\t\t\t\t\t\t\t\tcss: {\r\n\t\t\t\t\t\t\t\t\t\tposition: 'absolute',\r\n\t\t\t\t\t\t\t\t\t\tbottom: '70rpx',\r\n\t\t\t\t\t\t\t\t\t\tleft: '130rpx',\r\n\t\t\t\t\t\t\t\t\t\twidth: '350rpx',\r\n\t\t\t\t\t\t\t\t\t\tfontSize: '32rpx',\r\n\t\t\t\t\t\t\t\t\t\tfontWeight: '300',\r\n\t\t\t\t\t\t\t\t\t\tcolor: '#0C0C0C'\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\ttype: 'text',\r\n\t\t\t\t\t\t\t\t\ttext: '邀请您成为' + this.$t('action.attendantName') + ' 快快扫码加盟我们吧!',\r\n\t\t\t\t\t\t\t\t\tcss: {\r\n\t\t\t\t\t\t\t\t\t\tposition: 'absolute',\r\n\t\t\t\t\t\t\t\t\t\tbottom: '25rpx',\r\n\t\t\t\t\t\t\t\t\t\tleft: '130rpx',\r\n\t\t\t\t\t\t\t\t\t\twidth: '750rpx',\r\n\t\t\t\t\t\t\t\t\t\tfontSize: '26rpx',\r\n\t\t\t\t\t\t\t\t\t\tcolor: '#999999',\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t],\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\ttype: 'image',\r\n\t\t\t\t\t\t\tsrc: qr_code,\r\n\t\t\t\t\t\t\tcss: {\r\n\t\t\t\t\t\t\t\tposition: 'absolute',\r\n\t\t\t\t\t\t\t\twidth: '290rpx',\r\n\t\t\t\t\t\t\t\theight: '290rpx',\r\n\t\t\t\t\t\t\t\tbottom: '366rpx',\r\n\t\t\t\t\t\t\t\tleft: '210rpx',\r\n\t\t\t\t\t\t\t\tbackground: '#ffffff',\r\n\t\t\t\t\t\t\t\tborderRadius: qr_radius\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t},\r\n\r\n\t\t\t\t\t]\r\n\t\t\t\t}\r\n\t\t\t\t// 渲染\r\n\t\t\t\tthis.$refs.painter.render(poster);\r\n\t\t\t\t// 生成图片\r\n\t\t\t\tthis.$refs.painter.canvasToTempFilePathSync({\r\n\t\t\t\t\tfileType: \"jpg\",\r\n\t\t\t\t\tquality: 1,\r\n\t\t\t\t\tsuccess: (res) => {\r\n\t\t\t\t\t\tthat.$util.hideAll()\r\n\t\t\t\t\t\tthis.src = res.tempFilePath\r\n\t\t\t\t\t},\r\n\t\t\t\t});\r\n\r\n\t\t\t},\r\n\t\t\tpreviewImage() {\r\n\t\t\t\tlet finalPath = this.src;\r\n\t\t\t\tuni.previewImage({\r\n\t\t\t\t\tcurrent: finalPath,\r\n\t\t\t\t\turls: [finalPath]\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tasync saveImage() {\r\n\t\t\t\tawait this.$util.checkAuth({\r\n\t\t\t\t\ttype: \"writePhotosAlbum\"\r\n\t\t\t\t});\r\n\t\t\t\tlet filePath = this.src;\r\n\t\t\t\tlet [err, success] = await uni.saveImageToPhotosAlbum({\r\n\t\t\t\t\tfilePath\r\n\t\t\t\t})\r\n\t\t\t\tif (err) return;\r\n\t\t\t\tuni.showToast({\r\n\t\t\t\t\ticon: 'none',\r\n\t\t\t\t\ttitle: '保存成功'\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\ttoPreviewSave() {\r\n\t\t\t\t// #ifdef H5\r\n\t\t\t\tthis.previewImage()\r\n\t\t\t\t// #endif\r\n\t\t\t\t// #ifndef H5\r\n\t\t\t\tthis.saveImage()\r\n\t\t\t\t// #endif\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style>\r\n\t.code-img {\r\n\t\twidth: 710rpx;\r\n\t\theight: 1278rpx;\r\n\t}\r\n</style>","import mod from \"-!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./bind-technician.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./bind-technician.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1725606871907\n var cssReload = require(\"C:/Users/Administrator/Downloads/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"/\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""}