Files
BlockChainH5/unpackage/dist/build/h5/static/js/pages-user-code.bb9c8994.js
2021-09-28 10:52:45 +08:00

1 line
10 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-user-code"],{"0cc7":function(e,t,a){"use strict";a.r(t);var o=a("7e33"),i=a.n(o);for(var n in o)"default"!==n&&function(e){a.d(t,e,(function(){return o[e]}))}(n);t["default"]=i.a},"3be4":function(e,t,a){"use strict";var o=a("b201"),i=a.n(o);i.a},"530e":function(e,t,a){var o=a("24fb");t=o(!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 * Web唐明明\n * 匆匆数载恍如梦,岁月迢迢华发增。\n * 碌碌无为枉半生,一朝惊醒万事空。\n */.ios-bottom[data-v-0d4d4c54]{padding-bottom:env(safe-area-inset-bottom);padding-bottom:constant(safe-area-inset-bottom)}.ios-left[data-v-0d4d4c54]{padding-left:env(safe-area-inset-left);padding-left:constant(safe-area-inset-left)}.ios-right[data-v-0d4d4c54]{padding-right:env(safe-area-inset-right);padding-right:constant(safe-area-inset-right)}.ios-top[data-v-0d4d4c54]{padding-top:0}.vertical[data-v-0d4d4c54]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-pack:center}.nowrap[data-v-0d4d4c54]{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ellipsis[data-v-0d4d4c54]{max-width:100%;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}.ellipsis-3[data-v-0d4d4c54]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3}.ellipsis-4[data-v-0d4d4c54]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:4}.ellipsis-5[data-v-0d4d4c54]{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.codeImg[data-v-0d4d4c54]{width:100%;height:100%}.codeContent[data-v-0d4d4c54]{position:absolute;left:0;top:0;width:100%;padding:%?120?% %?80?% %?40?%;box-sizing:border-box;text-align:center}.codeContent .titleImg[data-v-0d4d4c54]{max-width:100%}.codeContent .codeBack[data-v-0d4d4c54]{background-color:#fff;border-radius:6px;position:relative;margin:%?60?% 0 %?75?%;overflow:hidden}.codeContent .codeBack[data-v-0d4d4c54]::after, .codeContent .codeBack[data-v-0d4d4c54]::before{position:absolute;background-color:#8c62fe;content:"";top:278px;width:%?40?%;height:%?40?%;border-radius:50%}.codeContent .codeBack[data-v-0d4d4c54]::after{left:%?-20?%}.codeContent .codeBack[data-v-0d4d4c54]::before{right:%?-20?%}.codeContent .codeBack .codeBack-img[data-v-0d4d4c54]{position:absolute;width:100%;height:100%;left:0;top:0}.codeContent .codeBack .codeBack-top[data-v-0d4d4c54]{width:100%;padding:%?30?%;height:150px;box-sizing:border-box;position:relative}.codeContent .codeBack .codeBack-top .codeBack-title[data-v-0d4d4c54]{color:#7c52fc}.codeContent .codeBack .codeBack-top .codeBack-number[data-v-0d4d4c54]{font-size:%?40?%;color:#7c52fc;text-transform:uppercase;font-weight:700;margin:%?20?% 0 %?30?%}.codeContent .codeBack .codeBack-top .codeBack-copy[data-v-0d4d4c54]{font-size:%?30?%;display:inline-block;background:-webkit-linear-gradient(left,#f9c869,#eca824);background:linear-gradient(90deg,#f9c869,#eca824);color:#fff;padding:%?15?% %?60?%;border-radius:6px;margin-bottom:%?60?%}.codeContent .codeBack .codeBack-top .codeBack-tips .codeBack-tips-text[data-v-0d4d4c54]{color:#7c52fc;font-weight:700}.codeContent .codeBack .codeBack-top .codeBack-tips .codeBack-tips-label[data-v-0d4d4c54]{margin-top:%?30?%;border-radius:6px;display:inline-block;background-color:#fbeec9;font-size:%?26?%;padding:0 %?42?%;height:%?56?%;line-height:%?56?%;color:#9f7d42}.codeContent .codeBack .codeBack-avatar[data-v-0d4d4c54]{margin-top:%?60?%;font-size:%?32?%;font-weight:600}.codeContent .codeBack .codeBack-avatar uni-image[data-v-0d4d4c54]{width:%?140?%;height:%?140?%;border-radius:50%;margin-bottom:%?30?%}.codeContent .codeBack .codeBack-yard[data-v-0d4d4c54]{padding:%?30?% %?60?% %?60?%;text-align:center;position:relative;font-size:%?30?%}.codeContent .codeBack .codeBack-yard[data-v-0d4d4c54]::after{position:absolute;content:"";left:%?50?%;top:0;width:calc(100% - %?100?%);border-top:#cccbd0 %?2?% dashed}.codeContent .codeBack .codeBack-yard .codeBack-yard-img[data-v-0d4d4c54]{max-width:75%;border:%?4?% solid #f3f3f3;margin:%?20?% 0 %?40?%}.codeContent .codeBack .codeBack-yard .codeBack-yard-name[data-v-0d4d4c54]{color:#a0a1a3;margin-bottom:%?20?%}.codeContent .codeBack .codeBack-yard .codeBack-yard-tips[data-v-0d4d4c54]{color:#7c52fc}.codeContent .codeRule[data-v-0d4d4c54]{background-color:#fff;border-radius:%?20?%;padding:%?40?%}.codeContent .codeRule .codeRule-title[data-v-0d4d4c54]{font-size:20;color:#7c52fc;font-weight:700;margin-bottom:%?40?%}.codeContent .codeRule .codeRule-list[data-v-0d4d4c54]{text-align:left;font-size:%?28?%;line-height:%?38?%}.codeContent .codeRule .codeRule-list uni-text[data-v-0d4d4c54]{display:block;margin-bottom:%?25?%;color:#7c52fc}.codeShare[data-v-0d4d4c54]{position:fixed;left:0;bottom:0;z-index:9;background-color:#fff;box-sizing:border-box;height:%?200?%;width:100%;display:-webkit-box;display:-webkit-flex;display:flex;justify-items:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.codeShare .codeShare-label[data-v-0d4d4c54]{width:50%;text-align:center;font-size:12px;color:#555}.codeShare .codeShare-label uni-image[data-v-0d4d4c54]{width:30px;height:30px;display:-webkit-box;display:-webkit-flex;display:flex;margin:0 auto %?20?%}',""]),e.exports=t},"6ba4":function(e,t,a){var o=a("24fb");t=o(!1),t.push([e.i,"uni-page-body[data-v-0d4d4c54]{background-image:-webkit-linear-gradient(bottom,#7c52fc,#976dff);background-image:linear-gradient(0deg,#7c52fc,#976dff)}body.?%PAGE?%[data-v-0d4d4c54]{background-image:-webkit-linear-gradient(bottom,#7c52fc,#976dff);background-image:linear-gradient(0deg,#7c52fc,#976dff)}",""]),e.exports=t},"791f":function(e,t,a){"use strict";var o;a.d(t,"b",(function(){return i})),a.d(t,"c",(function(){return n})),a.d(t,"a",(function(){return o}));var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",[a("v-uni-view",{staticClass:"codeContent"},[a("v-uni-view",{staticClass:"codeBack"},[a("v-uni-image",{staticClass:"codeBack-img",attrs:{src:"/static/user/user-codeIcon.png",mode:"widthFix"}}),e.inviteData.user_info?a("v-uni-view",{staticClass:"codeBack-avatar"},[a("v-uni-image",{attrs:{src:e.inviteData.user_info.avatar?e.inviteData.user_info.avatar:"/static/user/user-portrait.png",mode:"aspectFill"}}),a("v-uni-view",{},[e._v(e._s(e.inviteData.user_info.nickname))])],1):e._e(),a("v-uni-view",{staticClass:"codeBack-top"},[a("v-uni-view",{staticClass:"codeBack-title"},[e._v("您的邀请码")]),a("v-uni-view",{staticClass:"codeBack-number"},[e._v(e._s(e.inviteData.invite))]),a("v-uni-view",{staticClass:"codeBack-copy",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.copyCenter(e.inviteData.invite)}}},[e._v("复制")])],1),a("v-uni-view",{staticClass:"codeBack-yard"},[a("v-uni-image",{staticClass:"codeBack-yard-img",attrs:{src:e.inviteData.code,mode:"widthFix"}}),a("v-uni-view",{staticClass:"codeBack-yard-name"},[e._v("扫码识别链商星球")]),a("v-uni-view",{staticClass:"codeBack-yard-tips"},[e._v("加入链商星球享受能量球权益")])],1)],1)],1)],1)},n=[]},"7e33":function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a("fbc5"),i={data:function(){return{inviteData:{}}},onLoad:function(){this.inviteInfo()},methods:{inviteInfo:function(){var e=this;(0,o.userInvite)().then((function(t){e.inviteData=t})).catch((function(e){uni.showToast({icon:"none",title:e.message})}))},copyCenter:function(e){console.log("ddd");var t=e;uni.vibrateShort({success:function(){uni.setClipboardData({data:t,success:function(e){uni.showToast({title:"复制成功",icon:"none",duration:3e3})}})}})},friend:function(e){uni.share({provider:"weixin",title:"我正在使用ocChain",scene:e,href:"https://live.funnyzhibo.com/blockdownload",imageUrl:"https://live.funnyzhibo.com/oc-chain.png",summary:"邀请您一起加入,邀请码"+this.inviteData.invite,complete:function(e){console.log(e)}})}}};t.default=i},b201:function(e,t,a){var o=a("530e");"string"===typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);var i=a("4f06").default;i("6eea7894",o,!0,{sourceMap:!1,shadowMode:!1})},b8ed:function(e,t,a){"use strict";var o=a("c14e"),i=a.n(o);i.a},c14e:function(e,t,a){var o=a("6ba4");"string"===typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);var i=a("4f06").default;i("c0381bd6",o,!0,{sourceMap:!1,shadowMode:!1})},f21c:function(e,t,a){"use strict";a.r(t);var o=a("791f"),i=a("0cc7");for(var n in i)"default"!==n&&function(e){a.d(t,e,(function(){return i[e]}))}(n);a("b8ed"),a("3be4");var c,d=a("f0c5"),r=Object(d["a"])(i["default"],o["b"],o["c"],!1,null,"0d4d4c54",null,!1,o["a"],c);t["default"]=r.exports},fbc5:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.userPartne=t.userInvite=t.userClause=t.userHelp=t.userCustomer=t.userNotice=t.userIndex=void 0;var o=a("89d9"),i=function(){return(0,o.request)({url:"user/web"})};t.userIndex=i;var n=function(){return(0,o.request)({url:"articles/notice"})};t.userNotice=n;var c=function(){return(0,o.request)({url:"user/services"})};t.userCustomer=c;var d=function(){return(0,o.request)({url:"articles/helps"})};t.userHelp=d;var r=function(){return(0,o.request)({url:"articles/service"})};t.userClause=r;var s=function(){return(0,o.request)({url:"user/invite"})};t.userInvite=s;var l=function(e){return(0,o.request)({url:"user/relations",data:e})};t.userPartne=l}}]);