1 line
26 KiB
JavaScript
1 line
26 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["member-fans-endorsement"],{"109b":function(e,t,i){"use strict";i.r(t);var a=i("d6d24"),n=i("6a93");for(var o in n)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(o);i("3f01");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"de37538c",null,!1,a["a"],void 0);t["default"]=r.exports},"1fab":function(e,t,i){var a=i("f674");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=i("967d").default;n("53f00d24",a,!0,{sourceMap:!1,shadowMode:!1})},"209a":function(e,t,i){"use strict";i.r(t);var a=i("4299"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(o);t["default"]=n.a},"23e9":function(e,t,i){"use strict";i("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("aa9c"),i("4100"),i("fd3c"),i("5c47"),i("a1c1");var a={name:"share-box-app",props:{shareDataDefault:{type:Object,default:function(){return{shareTitle:"",shareText:"",href:"",image:""}}}},data:function(){return{showBoxView:!1,shareType:0}},created:function(){var e=this;uni.getProvider({service:"share",success:function(t){for(var i=[],a=0;a<t.provider.length;a++)switch(t.provider[a]){case"weixin":i.push({name:"分享到微信好友",id:"weixin",sort:0}),i.push({name:"分享到微信朋友圈",id:"weixin",type:"WXSenceTimeline",sort:1});break;case"sinaweibo":i.push({name:"分享到新浪微博",id:"sinaweibo",sort:2});break;case"qq":i.push({name:"分享到QQ",id:"qq",sort:3});break;default:break}e.providerList=i.sort((function(e,t){return e.sort-t.sort}))},fail:function(e){uni.showModal({content:"获取登录通道失败",showCancel:!1})}})},methods:{share:function(){var e=this,t=this;if(t.cf.LANG_ENABLE)this.shareDataDefault.shareTitle,this.shareDataDefault.href;else if(0!==this.providerList.length){var i=this.providerList.map((function(e){return e.name}));t=this;uni.showActionSheet({itemList:i,success:function(t){var i="qq"==e.providerList[t.tapIndex].id?2:e.shareType;uni.share({provider:e.providerList[t.tapIndex].id,scene:e.providerList[t.tapIndex].type&&"WXSenceTimeline"===e.providerList[t.tapIndex].type?"WXSenceTimeline":"WXSceneSession",type:i,summary:e.shareDataDefault.shareText,imageUrl:e.shareDataDefault.image,title:e.shareDataDefault.shareTitle,href:e.shareDataDefault.href,success:function(t){e.$emit("onShared")},fail:function(e){uni.showModal({content:"用户取消",showCancel:!1})}})}})}else uni.showModal({title:"当前环境无分享渠道!",showCancel:!1})},save:function(){uni.showActionSheet({itemList:["保存图片到相册"],success:function(){plus.gallery.save("https://img.cdn.aliyun.dcloud.net.cn/guide/uniapp/app_download.png",(function(){uni.showToast({title:"保存成功",icon:"none"})}),(function(){uni.showToast({title:"保存失败,请重试!",icon:"none"})}))}})},cancel:function(){this.showBoxView=!1,this.$emit("onCancel")},show:function(){this.share()}}};t.default=a},"282b":function(e,t,i){"use strict";i.r(t);var a=i("e77b"),n=i("ba7b");for(var o in n)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(o);i("3470");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"5518aee5",null,!1,a["a"],void 0);t["default"]=r.exports},3470:function(e,t,i){"use strict";var a=i("9dfc"),n=i.n(a);n.a},"3f01":function(e,t,i){"use strict";var a=i("6ce4"),n=i.n(a);n.a},4299:function(e,t,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(i("9b1b"));i("5c47"),i("a1c1");var o=a(i("109b")),s=a(i("c282")),r=i("8f59"),c={data:function(){return{options:{},invite_qrcode:"",UserInfo:{},UserBase:{},isShowBtn:!1,ProductInfo:null,isShowMag:!1,Level1Discount:0,Level2Discount:0,Level3Discount:0,imgUrl:"",ProductUrl:"",StoreName:"",StoreLogo:"",buyname:"",PromotionRule:"",htmlString:"",RuleEnabled:!0,flag:!0,CashData:{},shareData:{},PageQRCodeInfo:{Path:"",IsShare:!1,IsShareBox:!1,IsJT:!1}}},components:{shareBoxMp:o.default,shareBoxApp:s.default},computed:(0,r.mapState)(["Config","StateCode","notice","plantformInfo","shopInfo","userInfo","hasLogin"]),onLoad:function(e){uni.setNavigationBarTitle({title:this.__("我要代言")});var t=this;this.getPlantformInfo((function(e){t.setData({StoreName:e.name,StoreLogo:e.logo,Level1Discount:t.plantformInfo.plantform_fx_cps_rate_1,Level2Discount:t.plantformInfo.plantform_fx_cps_rate_2,imgUrl:t.plantformInfo.logo})})),this.setData({options:e}),t.$.isNull(e.type)?this.setData({ProductUrl:"/pages/product/detail",buyname:t.__("去购买")}):this.setData({ProductUrl:"/pages/product/detail",buyname:t.__("去预约")});t=this;t.$.isNull(this.userInfo)?this.forceUserInfo((function(i){i&&(t.setData({isShowBtn:!t.$.isNull(e.uid)}),t.showButton(),t.getPageInfo(t.$.isNull(e.uid)?t.userInfo.user_id:e.uid))})):(this.setData({isShowBtn:!t.$.isNull(e.uid)}),this.showButton(),this.getPageInfo(t.$.isNull(e.uid)?this.userInfo.user_id:e.uid),t.$.isNull(e.pid)?t.$.setNavigationBarTitle({title:t.__("我要代言")}):(t.$.setNavigationBarTitle({title:t.__("我要推广")}),this.setData({ProductInfo:e}),this.getPlantformInfo((function(e){t.setData({flag:!0,RuleEnabled:e.promotion}),t.htmlString=e.promotion.replace(/\\/g,"").replace(/<img/g,'<img style="display:none;"')}))))},onBackPress:function(){if(this.$refs.shareBoxApp.showBoxView)return this.$refs.shareBoxApp.cancel(),!0},onUnload:function(){this.$refs.shareBoxApp.showBoxView&&this.$refs.shareBoxApp.cancel()},onNavigationBarButtonTap:function(e){0===e.index?this.onShareBox():uni.showToast({title:"你点了收藏按钮",icon:"none"})},onShareAppMessage:function(){var e,t;return this.setData({isShowMag:!1}),this.$.isNull(this.ProductInfo)?(e="/member/fans/endorsement?uid="+this.userInfo.user_id,t=this.UserInfo.user_nickname+this.__("偷偷的告诉你,粉丝也能赚钱哦~")):(e="/member/fans/endorsement?pid="+this.ProductInfo.pid+"&pname="+this.ProductInfo.pname+"&pprice="+this.ProductInfo.pprice+"&ppic="+this.ProductInfo.ppic+"&uid="+this.userInfo.user_id+"&type="+this.ProductInfo.type,t=this.__("我发现这个商品很好,非常适合你哦!")),{title:t,desc:t,path:e}},methods:(0,n.default)((0,n.default)({},(0,r.mapMutations)(["login","logout","getPlantformInfo","forceUserInfo","getUserInfo"])),{},{showButton:function(){this.userInfo.user_id;this.setData({CashData:{isShowDistributionButton:!0}})},share:function(){this.getPageInfo(this.userInfo.user_id),this.setData({isShowBtn:!1})},getPageInfo:function(e){var t=this,i={user_id:e,path:"pages/index/index?uid="+e,width:430},a=t.$.sprintf("%s/h5/pages/index/index?uid=%d",t.Config.SiteUrl,e);i["poster_type"]=1,i["path"]=a,t.$.request({url:this.Config.URL.fx.poster,data:i,method:"POST",success:function(e,i,a,n){200==i?t.setData({invite_qrcode:e.qrcode,Level1Discount:e.plantform_fx_cps_rate_1,Level2Discount:e.plantform_fx_cps_rate_2,Level3Discount:e.plantform_fx_cps_rate_3}):t.setData({flag:!1,ispage:!1})}}),t.$.request({url:this.Config.URL.user.overview,data:i,success:function(e,i,a,n){200==i&&t.setData({UserInfo:e.member_info,UserBase:e.base})}})},closeMsk:function(){this.setData({isShowMag:!1})},onShareBox:function(e){var t,i,a=this.$.sprintf("%s/h5/pages/index/index?uid=%d",this.Config.SiteUrl,this.userInfo.user_id);this.$.isNull(this.ProductInfo)?("/member/fans/endorsement?uid="+this.userInfo.user_id,t=this.userInfo.user_nickname+this.__("偷偷的告诉你,粉丝也能赚钱哦~"),i=this.StoreLogo):("/member/fans/endorsement?pid="+this.ProductInfo.pid+"&pname="+this.ProductInfo.pname+"&pprice="+this.ProductInfo.pprice+"&ppic="+this.ProductInfo.ppic+"&uid="+this.userInfo.user_id+"&type="+this.ProductInfo.type,t=this.__("我发现这个商品很好,非常适合你哦!"),i=this.ProductInfo.ppic),this.setData({shareData:{shareTitle:t,shareText:t,href:a,image:i,price:0}}),this.$refs.shareBoxMp.show()},cancelShare:function(e){},showCodeImg:function(e){},shareQRCode:function(e){},saveImg:function(e){},previewImg:function(){this.$.previewImage({current:this.invite_qrcode,urls:[this.invite_qrcode]})}})};t.default=c},"5145e":function(e,t,i){"use strict";var a=i("1fab"),n=i.n(a);n.a},5850:function(e,t,i){"use strict";i.d(t,"b",(function(){return a})),i.d(t,"c",(function(){return n})),i.d(t,"a",(function(){}));var a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",[e.CashData.isShowDistributionButton||e.isShowBtn?i("v-uni-view",[i("v-uni-view",{staticClass:"m-endorsementBox"},[i("v-uni-view",{staticClass:"m-endorsementBox-bg"}),i("v-uni-view",{staticClass:"m-userinfo"},[i("v-uni-view",{staticClass:"m-photo"},[i("v-uni-image",{attrs:{"lazy-load":!0,src:e.UserInfo.user_avatar}})],1),i("v-uni-view",{staticClass:"m-text"},[i("v-uni-label",[e._v(e._s(e.sprintf(e.__("我是%s"),e.UserInfo.user_nickname)))]),i("v-uni-text",[e._v(e._s(e.sprintf(e.__("我为%s代言"),e.StoreName)))])],1)],1)],1),null!=e.ProductInfo?i("v-uni-view",{staticClass:"u-toptip"},[i("v-uni-view",{staticClass:"u-loadmore u-loadmore-line"},[i("v-uni-text",{staticClass:"u-loadmore-tips"},[e._v(e._s(e.__("为您推荐")))])],1)],1):e._e(),null!=e.ProductInfo?i("v-uni-view",{staticClass:"m-product-list"},[i("v-uni-navigator",{staticClass:"m-product-item",attrs:{"open-type":"redirect",url:e.ProductUrl+"?pid="+e.ProductInfo.pid+"&uid="+e.UserBase.user_id}},[i("v-uni-view",{staticClass:"m-product-img"},[i("v-uni-image",{attrs:{"lazy-load":!0,src:e.ProductInfo.ppic,mode:"aspectFill"}})],1),i("v-uni-view",{staticClass:"m-product-info"},[i("v-uni-view",{staticClass:"m-product-name"},[i("v-uni-label",[e._v(e._s(e.ProductInfo.pname))])],1),i("v-uni-view",{staticClass:"m-product-price"},[i("v-uni-label",[e._v(e._s(e.__("¥")))]),e._v(e._s(e.ProductInfo.pprice)),i("v-uni-button",{staticClass:"u-btn u-btn-default"},[e._v(e._s(e.buyname))])],1)],1)],1)],1):e._e(),i("v-uni-view",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.previewImg.apply(void 0,arguments)}}},[null==e.ProductInfo?i("v-uni-image",{staticClass:"QRCodeBOx",attrs:{"lazy-load":!0,src:e.invite_qrcode,mode:"widthFix"}}):e._e()],1),e.RuleEnabled&&0==e.flag?i("v-uni-view",{staticClass:"m-text-box"},[i("v-uni-view",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.showTip.apply(void 0,arguments)}}},[i("v-uni-label",{staticClass:"iconfont icon-14052218"}),e._v(e._s(e.__("推广规则")))],1),i("v-uni-view",[i("v-uni-view",[e._v(e._s(e.sprintf(e.__("当你的粉丝在店铺内支付订单后,订单中的所有商品,都有相应的收益比例:一级粉丝 %s%% ,二级粉丝 %s%% 。将支付订单金额和收益比例相乘后,累计计算出你此单的总收益。* 注: - 不计算收益的内容:运费、优惠券、关税,以及收益比例为0的商品;"),e.Level1Discount,e.Level2Discount))+"\n\t\t\t\t\t"+e._s(e.__(" - 如果发生了退货退款,需要按照实际退货数量对收益进行相应的扣除;- 按照国家法律规定,当你的月累计收入达到相关税金起征点后,商家会为你代缴税款,你的收益将是税后收入;")))])],1)],1):i("v-uni-view",{staticClass:"m-text-box"},[i("v-uni-view",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.showTip.apply(void 0,arguments)}}},[i("v-uni-label",{staticClass:"iconfont icon-14052218"}),e._v(e._s(e.__("推广规则")))],1),i("v-uni-view",[i("v-uni-view",[e._v(e._s(e.__("成功邀请一位好友,可获积分奖励:"))),i("v-uni-label",{staticStyle:{color:"red","padding-left":"10rpx"}},[e._v(e._s(e.plantformInfo.plantform_fx_gift_point))]),e._v(e._s(e.__("枚"))+", "+e._s(e.__("当好友产生消费时,再获得相应佣金奖励")))],1)],1)],1),e.RuleEnabled&&e.flag?i("v-uni-view",{staticClass:"m-text-box1"},[i("v-uni-rich-text",{attrs:{nodes:e.htmlString}})],1):e._e(),null==e.ProductInfo&&0==e.isShowBtn&&e.CashData.isShowDistributionButton?i("v-uni-button",{staticClass:"u-btn u-btn-default",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onShareBox.apply(void 0,arguments)}}},[e._v(e._s(e.__("分享赚钱")))]):e._e(),i("v-uni-view",{staticClass:"u-tap-btn"},[i("v-uni-navigator",{staticClass:"u-go-home",attrs:{url:"/pages/index/index","open-type":"switchTab"}},[i("v-uni-view",{staticClass:"iconfont icon-shouyeshouye"})],1)],1),e.isShowMag?i("v-uni-view",{staticClass:"m-msk",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.closeMsk.apply(void 0,arguments)}}},[i("v-uni-image",{attrs:{"lazy-load":!0,mode:"widthFix",src:e.imgUrl+"share_tips.png"}})],1):e._e()],1):e._e(),0==e.CashData.isShowDistributionButton&&0==e.isShowBtn?i("v-uni-navigator",{staticClass:"m-nullpage",attrs:{url:"/pages/index/index","open-type":"switchTab"}},[i("v-uni-view",{staticClass:"m-nullpage-middle"},[i("v-uni-view",{staticClass:"m-null-tip"},[i("v-uni-text",[e._v(e._s(e.__("对不起,您现在还没有分销权限")))]),i("v-uni-text",[e._v(e._s(e.__("多多购物有助于获取权限哦。")))])],1)],1)],1):e._e(),i("share-box-app",{ref:"shareBoxApp",attrs:{shareDataDefault:e.shareData}}),i("share-box-mp",{ref:"shareBoxMp",attrs:{shareDataDefault:e.shareData},on:{cancelShare:function(t){arguments[0]=t=e.$handleEvent(t),e.cancelShare.apply(void 0,arguments)},showCodeImg:function(t){arguments[0]=t=e.$handleEvent(t),e.showCodeImg.apply(void 0,arguments)},shareQRCode:function(t){arguments[0]=t=e.$handleEvent(t),e.shareQRCode.apply(void 0,arguments)},saveImg:function(t){arguments[0]=t=e.$handleEvent(t),e.saveImg.apply(void 0,arguments)}}})],1)},n=[]},"6a93":function(e,t,i){"use strict";i.r(t);var a=i("c8a5"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(o);t["default"]=n.a},"6ce4":function(e,t,i){var a=i("8cbf");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=i("967d").default;n("60b5a936",a,!0,{sourceMap:!1,shadowMode:!1})},"76f3":function(e,t,i){"use strict";i.d(t,"b",(function(){return a})),i.d(t,"c",(function(){return n})),i.d(t,"a",(function(){}));var a=function(){var e=this.$createElement;this._self._c},n=[]},"8cbf":function(e,t,i){var a=i("c86c");t=a(!1),t.push([e.i,".mp-clean-icon[data-v-de37538c]{position:absolute;right:%?8?%;top:%?8?%;color:#999}",""]),e.exports=t},9834:function(e,t,i){"use strict";i("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={pulldown:"",refreshempty:"",back:"",forward:"",more:"","more-filled":"",scan:"",qq:"",weibo:"",weixin:"",pengyouquan:"",loop:"",refresh:"","refresh-filled":"",arrowthindown:"",arrowthinleft:"",arrowthinright:"",arrowthinup:"","undo-filled":"",undo:"",redo:"","redo-filled":"",bars:"",chatboxes:"",camera:"","chatboxes-filled":"","camera-filled":"","cart-filled":"",cart:"","checkbox-filled":"",checkbox:"",arrowleft:"",arrowdown:"",arrowright:"","smallcircle-filled":"",arrowup:"",circle:"","eye-filled":"","eye-slash-filled":"","eye-slash":"",eye:"","flag-filled":"",flag:"","gear-filled":"",reload:"",gear:"","hand-thumbsdown-filled":"","hand-thumbsdown":"","hand-thumbsup-filled":"","heart-filled":"","hand-thumbsup":"",heart:"",home:"",info:"","home-filled":"","info-filled":"","circle-filled":"","chat-filled":"",chat:"","mail-open-filled":"","email-filled":"","mail-open":"",email:"",checkmarkempty:"",list:"","locked-filled":"",locked:"","map-filled":"","map-pin":"","map-pin-ellipse":"",map:"","minus-filled":"","mic-filled":"",minus:"",micoff:"",mic:"",clear:"",smallcircle:"",close:"",closeempty:"",paperclip:"",paperplane:"","paperplane-filled":"","person-filled":"","contact-filled":"",person:"",contact:"","images-filled":"",phone:"",images:"",image:"","image-filled":"","location-filled":"",location:"","plus-filled":"",plus:"",plusempty:"","help-filled":"",help:"","navigate-filled":"",navigate:"","mic-slash-filled":"",search:"",settings:"",sound:"","sound-filled":"","spinner-cycle":"","download-filled":"","personadd-filled":"","videocam-filled":"",personadd:"",upload:"","upload-filled":"",starhalf:"","star-filled":"",star:"",trash:"","phone-filled":"",compose:"",videocam:"","trash-filled":"",download:"","chatbubble-filled":"",chatbubble:"","cloud-download":"","cloud-upload-filled":"","cloud-upload":"","cloud-download-filled":"",headphones:"",shop:""}},"9dfc":function(e,t,i){var a=i("b4de");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=i("967d").default;n("097bee14",a,!0,{sourceMap:!1,shadowMode:!1})},b274:function(e,t,i){"use strict";i.r(t);var a=i("23e9"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(o);t["default"]=n.a},b4de:function(e,t,i){var a=i("c86c"),n=i("2ec5"),o=i("ea76");t=a(!1);var s=n(o);t.push([e.i,"\n@font-face{font-family:uniicons;src:url("+s+') format("truetype")}\n.uni-icons[data-v-5518aee5]{font-family:uniicons;text-decoration:none;text-align:center}',""]),e.exports=t},ba7b:function(e,t,i){"use strict";i.r(t);var a=i("cd7a"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(o);t["default"]=n.a},c282:function(e,t,i){"use strict";i.r(t);var a=i("76f3"),n=i("b274");for(var o in n)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(o);var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"6c20e3f0",null,!1,a["a"],void 0);t["default"]=r.exports},c8a5:function(e,t,i){"use strict";i("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={name:"share-box-mp",props:{shareDataDefault:{type:Object,default:function(){return{shareTitle:"",shareText:"",href:"",image:"",price:0}}}},data:function(){return{IsJT:!1,Path:"",isShare:!1,isShareBox:!1}},methods:{cancel:function(){this.isShareBox=!1,this.isShare=!1,this.$emit("onCancel")},show:function(){this.isShareBox=!0,this.isShare=!0},cancelShare:function(){this.isShareBox=!1,this.isShare=!1,this.IsJT=!1,this.$emit("cancelShare")},shareQRCode:function(e){var t=this,i={MainPrice:this.shareDataDefault.price,summary:this.shareDataDefault.shareText,MainImg:this.shareDataDefault.image,MainTitle:this.shareDataDefault.shareTitle,Path:this.shareDataDefault.href,source_from:"wxminiapp",poster_name:this.shareDataDefault.shareText,path:this.shareDataDefault.href},a=t.cf.URL.wx.getMiniAppQRCodeUnlimitPoster;this.shareDataDefault.price,a=t.cf.URL.fx.poster,i["poster_type"]=1,t.$.request({url:a,data:i,method:"POST",success:function(e,i,a,n){t.setData({Path:e.url||e.poster_url,isShare:!0,isShareBox:!1,IsJT:!0})}}),this.$emit("shareQRCode")},saveImg:function(e){this.saveImgFun()},saveImgFun:function(e){var t=this;t.$.showLoading(),t.$.downloadFile({url:t.Path,success:function(e){t.$.hideLoading(),t.$.saveImageToPhotosAlbum({filePath:e.tempFilePath,success:function(){t.setData({Path:"",isShare:!1,isShareBox:!1,IsJT:!1}),t.$.alert("保存图片成功!")},fail:function(e){t.$.hideLoading()}})},fail:function(e){t.$.hideLoading()}}),t.$.hideLoading(),this.$emit("saveImg")},showCodeImg:function(){this.$.previewImage({current:this.Path,urls:[this.Path]}),this.$emit("showCodeImg")}}};t.default=a},cc3c:function(e,t,i){"use strict";i.r(t);var a=i("5850"),n=i("209a");for(var o in n)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return n[e]}))}(o);i("5145e");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"4ffc211c",null,!1,a["a"],void 0);t["default"]=r.exports},cd7a:function(e,t,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("64aa");var n=a(i("9834")),o={name:"UniIcons",emits:["click"],props:{type:{type:String,default:""},color:{type:String,default:"#333333"},size:{type:[Number,String],default:16},customIcons:{type:String,default:""}},data:function(){return{icons:n.default}},methods:{_onClick:function(){this.$emit("click")}}};t.default=o},d6d24:function(e,t,i){"use strict";i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return o})),i.d(t,"a",(function(){return a}));var a={uniIcons:i("282b").default},n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",{class:["shareMsk",e.isShare?"":"hide"]},[i("v-uni-view",{class:["sharebox",e.isShareBox?"bounceInUp animated":"bounceOutDown animated"]},[i("v-uni-view",{staticClass:"shareList g-flex"},[i("v-uni-view",{staticClass:"shareItem g-flex-item"},[i("v-uni-view",{staticClass:"shareBtn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.shareQRCode.apply(void 0,arguments)}}},[i("v-uni-image",{staticStyle:{width:"100rpx",height:"100rpx"},attrs:{src:"https://media-mall-prod-1259811287.cos.ap-guangzhou.myqcloud.com/static/xcxfile/appicon/images/allfriend.png"}}),i("v-uni-label",[e._v(e._s(e.__("生成海报")))])],1)],1)],1),i("v-uni-view",{staticClass:"cancelShare",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.cancelShare.apply(void 0,arguments)}}},[e._v(e._s(e.__("取消")))])],1),i("v-uni-view",{class:["shareCodeImg",e.IsJT?"":"hide"]},[e._e(),i("v-uni-view",{staticClass:"uni-icon uni-icon-clear mp-clean-icon",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.cancelShare.apply(void 0,arguments)}}}),i("v-uni-view",{on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.showCodeImg.apply(void 0,arguments)}}},[i("v-uni-image",{attrs:{mode:"widthFix",src:e.Path}})],1),i("v-uni-label",[e._v(e._s(e.__("保存至相册 生成海报")))]),i("v-uni-button",{attrs:{type:"primary",size:"mini"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.saveImg.apply(void 0,arguments)}}},[e._v(e._s(e.__("保存图片")))])],1)],1)},o=[]},e77b:function(e,t,i){"use strict";i.d(t,"b",(function(){return a})),i.d(t,"c",(function(){return n})),i.d(t,"a",(function(){}));var a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-text",{staticClass:"uni-icons",class:[e.customIcons,e.customIcons?e.type:""],style:{color:e.color,"font-size":e.size+"px"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e._onClick.apply(void 0,arguments)}}},[e._v(e._s(e.icons[e.type]))])},n=[]},f674:function(e,t,i){var a=i("c86c");t=a(!1),t.push([e.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/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */[data-v-4ffc211c]:export{theme_bg:#f30213}uni-page-body[data-v-4ffc211c]{background-color:#fff}body.?%PAGE?%[data-v-4ffc211c]{background-color:#fff}.u-loadmore[data-v-4ffc211c]{margin:%?60?% auto 0 auto}.u-loadmore-tips[data-v-4ffc211c]{background-color:#fff!important}.m-endorsementBox[data-v-4ffc211c]{width:100%;overflow:hidden;height:%?240?%;position:relative;text-align:center}.m-endorsementBox-bg[data-v-4ffc211c]{height:%?940?%;width:%?940?%;background-color:#1e1c1d;-webkit-border-radius:%?940?%/%?320?%;border-radius:%?940?%/%?320?%;margin:0 auto;margin-top:%?-700?%;margin-left:%?-100?%;position:relative}.m-userinfo-bg[data-v-4ffc211c]{bottom:%?20?%;width:%?400?%}.m-userinfo[data-v-4ffc211c]{z-index:2;position:relative;display:inline-block;position:relative;top:%?-180?%}.m-userinfo .m-photo[data-v-4ffc211c]{width:%?124?%;height:%?124?%;float:left}.m-photo uni-image[data-v-4ffc211c]{width:100%;height:100%;border-radius:100%}.m-text[data-v-4ffc211c]{float:left;text-align:left;line-height:%?40?%;margin-top:%?22?%;margin-left:%?20?%;width:%?360?%}.m-text[data-v-4ffc211c]{font-size:%?24?%;color:#eebe8c}.m-text uni-label[data-v-4ffc211c]{font-size:%?32?%;font-weight:700}.m-text uni-text[data-v-4ffc211c]{display:block}.m-product-info[data-v-4ffc211c]::before{content:"";border:none}.u-btn[data-v-4ffc211c]{margin-top:%?80?%}.u-tip-text[data-v-4ffc211c]{display:block;font-size:%?28?%;text-align:center;color:#f30213}.m-product-price .u-btn[data-v-4ffc211c]{margin:0;float:right;width:%?160?%;height:%?60?%;font-size:%?24?%;margin-right:%?20?%;margin-top:%?-30?%}.QRCodeBOx[data-v-4ffc211c]{width:%?400?%;height:%?400?%;display:block;margin:%?40?% auto}.u-tap-btn[data-v-4ffc211c]{position:fixed;right:%?20?%;bottom:%?150?%}.u-go-home[data-v-4ffc211c]{border-radius:100%;width:%?80?%;height:%?80?%;border:1px solid #eee;font-size:%?20?%;text-align:center;background-color:#fff;box-shadow:0 %?4?% %?8?% rgba(0,0,0,.35);z-index:2;opacity:.8;line-height:%?80?%;margin-bottom:%?20?%}.u-go-home .iconfont[data-v-4ffc211c]{font-size:%?40?%}.m-text-box[data-v-4ffc211c]{font-size:%?24?%;box-sizing:border-box;padding:%?20?%;color:#888;line-height:%?40?%}.m-text-box uni-label[data-v-4ffc211c]{padding-right:%?10?%}.m-text-box1[data-v-4ffc211c]{box-sizing:border-box;padding:%?20?% %?36?%;color:#888;line-height:%?40?%}.m-text-box1 uni-label[data-v-4ffc211c]{padding-right:%?10?%;font-size:%?24?%}.m-msk[data-v-4ffc211c]{position:fixed;width:100%;height:100%;background-color:rgba(0,0,0,.5);top:0;left:0;z-index:10}.m-msk uni-image[data-v-4ffc211c]{position:fixed;right:%?30?%;top:0;width:%?300?%}',""]),e.exports=t}}]); |