1 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["plugins/community/me/me"],{3076:function(t,n,e){"use strict";var o;e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return r})),e.d(n,"a",(function(){return o}));var i=function(){var t=this,n=t.$createElement;t._self._c},r=[]},"726c":function(t,n,e){"use strict";e.r(n);var o=e("ffe3"),i=e.n(o);for(var r in o)"default"!==r&&function(t){e.d(n,t,(function(){return o[t]}))}(r);n["default"]=i.a},"789b":function(t,n,e){},"9fa5":function(t,n,e){"use strict";(function(t){e("2d0a");o(e("66fd"));var n=o(e("ebba"));function o(t){return t&&t.__esModule?t:{default:t}}t(n.default)}).call(this,e("543d")["createPage"])},ebba:function(t,n,e){"use strict";e.r(n);var o=e("3076"),i=e("726c");for(var r in i)"default"!==r&&function(t){e.d(n,t,(function(){return i[t]}))}(r);e("ffb1");var u,a=e("f0c5"),c=Object(a["a"])(i["default"],o["b"],o["c"],!1,null,"08b9c2f0",null,!1,o["a"],u);n["default"]=c.exports},ffb1:function(t,n,e){"use strict";var o=e("789b"),i=e.n(o);i.a},ffe3:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("2f62");function i(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,o)}return e}function r(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?i(Object(e),!0).forEach((function(n){u(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):i(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function u(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var a=function(){e.e("plugins/community/components/app-menu").then(function(){return resolve(e("d829"))}.bind(null,e)).catch(e.oe)},c=function(){e.e("plugins/community/components/app-head").then(function(){return resolve(e("fc85"))}.bind(null,e)).catch(e.oe)},f={data:function(){return{middleman:{},setting:{},apply_at:""}},components:{"app-menu":a,"app-head":c},computed:r(r({},(0,o.mapGetters)("mallConfig",{getTheme:"getTheme"})),(0,o.mapState)({stock:function(t){return t.mallConfig.__wxapp_img.stock},bonusImg:function(t){return t.mallConfig.__wxapp_img.bonus},userInfo:function(t){return t.user.info}})),onShow:function(t){this.getStatus()},methods:{toProfit:function(){t.navigateTo({url:"/plugins/community/profit/profit"})},toCash:function(){t.navigateTo({url:"/plugins/community/profit-cash/profit-cash"})},toClerk:function(){t.navigateTo({url:"/plugins/community/clerk/clerk"})},toAddress:function(){t.navigateTo({url:"/plugins/community/apply/apply?id="+this.middleman.id})},getStatus:function(){var n=this,e=this;e.$request({url:e.$api.community.index}).then((function(e){0==e.code?(n.setting=e.data.setting,e.data.middleman.id>0?(n.middleman=e.data.middleman,n.apply_at=n.middleman.apply_at.substring(0,10)):(t.showToast({title:"您还不是团长,现在前往申请页面",icon:"none",duration:1e3}),setTimeout((function(){t.redirectTo({url:"/plugins/community/apply/apply"})}),1e3))):t.showToast({title:e.msg,icon:"none",duration:1e3})})).catch((function(t){e.$hideLoading()}))}}};n.default=f}).call(this,e("543d")["default"])}},[["9fa5","common/runtime","common/vendor"]]]);
|