glhcp/server/public/mobile/static/js/bundle-pages-invite_fans-in...

1 line
7.4 KiB
JavaScript
Raw Normal View History

2023-08-10 06:59:52 +00:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["bundle-pages-invite_fans-invite_fans"],{"03c6":function(t,e,n){"use strict";var i=n("4ea4");n("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i(n("b44a")),r=i(n("6fed")),s=i(n("b747")),o=i(n("ea88")),c=i(n("f64e")),u={name:"share-poster",components:{lPainter:a.default,lPainterImage:r.default,lPainterText:s.default,lPainterView:o.default,lPainterQrcode:c.default},props:{config:{type:Object,default:function(){return{}}},goodsId:{type:[Number,String],default:""},qrcode:{type:[String],default:""}},data:function(){return{}},methods:{handleSuccess:function(t){this.$emit("success",t)}}};e.default=u},"118a":function(t,e,n){"use strict";n.r(e);var i=n("b360"),a=n("add1");for(var r in a)"default"!==r&&function(t){n.d(e,t,(function(){return a[t]}))}(r);var s,o=n("f0c5"),c=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,"3ecf84cc",null,!1,i["a"],s);e["default"]=c.exports},"31d5":function(t,e,n){"use strict";n.r(e);var i=n("9e67"),a=n("e2ab");for(var r in a)"default"!==r&&function(t){n.d(e,t,(function(){return a[t]}))}(r);n("e706");var s,o=n("f0c5"),c=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,"1e4d460c",null,!1,i["a"],s);e["default"]=c.exports},3539:function(t,e,n){"use strict";var i=n("4ea4");n("99af"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i(n("5530"));n("96cf");var r=i(n("1da1")),s=n("6ab0"),o=n("2075"),c=n("26cb"),u=n("e9dc"),d={data:function(){return{path:"",qrCode:"",loading:!0,showPoster:!1,poster:""}},onLoad:function(){var t=this;return(0,r.default)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.getPoster();case 2:t.showPoster=!0;case 3:case"end":return e.stop()}}),e)})))()},methods:{getPoster:function(){var t=this;return(0,r.default)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,u.apiDistributionPoster)();case 2:n=e.sent,t.poster=n.data.poster;case 4:case"end":return e.stop()}}),e)})))()},getMnpQrCode:function(){var t=this;(0,s.apiMnpQrCode)({type:0,url:"pages/index/index"}).then((function(e){console.log(e),t.qrCode=e.data.qr_code,t.showPoster=!0}))},saveImageToAlbum:function(){this.$toast({title:"请长按图片保存"})},handleSuccess:function(t){this.path=t,this.loading=!1}},computed:(0,a.default)((0,a.default)({},(0,c.mapGetters)(["inviteCode","userInfo"])),{},{link:function(){return"".concat(o.baseURL).concat(o.basePath,"?invite_code=").concat(this.inviteCode)}})};e.default=d},"686e":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */uni-page-body[data-v-1e4d460c]{padding:0}.invite-fans[data-v-1e4d460c]{min-height:100vh;overflow:hidden}.invite-fans .poster[data-v-1e4d460c]{width:%?600?%;margin:%?40?% 0}.invite-fans .footer[data-v-1e4d460c]{padding:%?30?%;width:100%}.invite-fans .copy-btn[data-v-1e4d460c]{color:#ff2c3c}.invite-fans .save-btn[data-v-1e4d460c]{color:#fff;background-color:#ff2c3c}',""]),t.exports=e},"9e67":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return i}));var i={invitePoster:n("118a").default,loadingView:n("8478").default},a=function(){var t=thi