| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["admin-shop-downloadCode"],{"0d29c":function(t,e,n){"use strict";n.r(e);var o=n("7e4d"),d=n.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(a);e["default"]=d.a},"11e3":function(t,e,n){"use strict";n.r(e);var o=n("7d26"),d=n("0d29c");for(var a in d)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return d[t]}))}(a);n("70cf");var u,r=n("8aaf"),i=Object(r["a"])(d["default"],o["b"],o["c"],!1,null,"fbd9fad8",null,!1,o["a"],u);e["default"]=i.exports},"6cb4":function(t,e,n){var o=n("a8a6");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var d=n("47af").default;d("4a6dbd02",o,!0,{sourceMap:!1,shadowMode:!1})},"70cf":function(t,e,n){"use strict";var o=n("6cb4"),d=n.n(o);d.a},"7d26":function(t,e,n){"use strict";var o;n.d(e,"b",(function(){return d})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return o}));var d=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"app-content"},[n("v-uni-view",{staticClass:"codeImg"},[n("v-uni-image",{attrs:{mode:"widthFix",src:t.codeImg}})],1),n("v-uni-view",{staticClass:"flex-center downloadCode-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.downloadCodeFun.apply(void 0,arguments)}}},[t._v("下载图片")])],1)},a=[]},"7e4d":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n("8dd4");e.default={name:"shop-list",components:{},data:function(){return{codeImg:""}},onLoad:function(t){this.getGatheringCodeUrlFun(t.id)},methods:{getGatheringCodeUrlFun:function(t){var e=this;(0,o.getGatheringCodeUrl)({id:t}).then((function(t){e.codeImg=t.data.url}))},downloadCodeFun:function(){uni.showLoading({title:"下载中..."}),uni.downloadFile({url:this.codeImg,success:function(t){200===t.statusCode&&(console.log(t),uni.saveImageToPhotosAlbum({filePath:t.tempFilePath,success:function(t){console.log(t),uni.hideLoading(),uni.showToast({title:"下载成功!"})}}))}})}}}},"8dd4":function(t,e,n){"use strict";var o=n("d669");Object.defineProperty(e,"__esModule",{value:!0}),e.updateShop=e.getRegion=e.getPrint=e.getMyShop=e.getList=e.getLb=e.getGatheringCodeUrl=e.getDetail=e.getCgPayWay=e.downQrCode=e.downMemberCode=e.delShop=e.currentShop=e.checkShop=e.changeOnlyCg=e.addShop=e.addMtCloudPrint=e.addMakeCloudPrint=e.addCloudPrint=e.addCloudLb=void 0;var d=o(n("14bf"));e.getMyShop=function(t){return d.default.get("/shop/my-shop",t)},e.changeOnlyCg=function(t){return d.default.get("/shop/change-only-cg",t)},e.getDetail=function(t){return d.default.get("/shop/detail",t)},e.checkShop=function(t){return d.default.get("/shop/check-shop",t)},e.addMtCloudPrint=function(t){return d.default.get("/shop-ext/add-mt-print",t)},e.getRegion=function(t){return d.default.get("/shop/region",t)},e.addCloudLb=function(t){return d.default.get("/shop-ext/add-lb",t)},e.getLb=function(t){return d.default.get("/shop-ext/get-lb",t)},e.getList=function(t){return d.default.get("/shop/list",t)},e.getGatheringCodeUrl=function(t){return d.default.get("/shop/get-gathering-code-url",t)},e.updateShop=function(t){return d.default.post("/shop/update",t)},e.addShop=function(t){return d.default.post("/shop/add",t)},e.delShop=function(t){return d.default.get("/shop/delete",t)},e.downQrCode=function(t){return d.default.get("/shop/download-gathering-code",t,{},{hideError:!0})},e.downMemberCode=function(t){return d.default.get("/shop/download-apply-member-code",t,{},{hideError:!0})},e.currentShop=function(t){return d.default.get("/shop/current-shop",t)},e.addCloudPrint=function(t){return d.default.get("/shop-ext/add-print",t)},e.addMakeCloudPrint=function(t){return d.default.get("/shop-ext/add-make-print",t)},e.getPrint=function(t){return d.default.get("/shop-ext/get-print",t)},e.getCgPayWay=function(t){return d.default.get("/shop/get-cg-pay-way",t)}},a8a6:function(t,e,n){var o=n("5acd");e=o(!1),e.push([t.i,'@charset "UTF-8";\n/***\n全局scss 变量和方法 存放处\n */\n/* 引入minxin */\n/* 颜色变量 */\n/*图片地址*/\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.app-content[data-v-fbd9fad8]{text-align:center;padding-top:%?40?%}.app-content .codeImg[data-v-fbd9fad8]{width:%?560?%;height:%?795?%;margin:0 auto}.app-content .codeImg uni-image[data-v-fbd9fad8]{width:100%;height:100%}.app-content .downloadCode-btn[data-v-fbd9fad8]{width:60%;height:%?60?%;color:#fff;background:#09f;border-radius:%?10?%;margin:%?50?% auto;font-size:%?28?%}',""]),t.exports=e}}]);
|