(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/tabbar/me"],{81:function(n,e,t){"use strict";(function(n,e){var o=t(4);t(26);o(t(25));var i=o(t(82));n.__webpack_require_UNI_MP_PLUGIN__=t,e(i.default)}).call(this,t(1)["default"],t(2)["createPage"])},82:function(n,e,t){"use strict";t.r(e);var o=t(83),i=t(85);for(var r in i)["default"].indexOf(r)<0&&function(n){t.d(e,n,(function(){return i[n]}))}(r);t(87);var a,s=t(32),c=Object(s["default"])(i["default"],o["render"],o["staticRenderFns"],!1,null,null,null,!1,o["components"],a);c.options.__file="pages/tabbar/me.vue",e["default"]=c.exports},83:function(n,e,t){"use strict";t.r(e);var o=t(84);t.d(e,"render",(function(){return o["render"]})),t.d(e,"staticRenderFns",(function(){return o["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return o["recyclableRender"]})),t.d(e,"components",(function(){return o["components"]}))},84:function(n,e,t){"use strict";var o;t.r(e),t.d(e,"render",(function(){return i})),t.d(e,"staticRenderFns",(function(){return a})),t.d(e,"recyclableRender",(function(){return r})),t.d(e,"components",(function(){return o}));try{o={uniNavBar:function(){return t.e("uni_modules/uni-nav-bar/components/uni-nav-bar/uni-nav-bar").then(t.bind(null,433))}}}catch(s){if(-1===s.message.indexOf("Cannot find module")||-1===s.message.indexOf(".vue"))throw s;console.error(s.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范，文档：https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范，需手动引入，并在 components 中注册该组件")}var i=function(){var n=this,e=n.$createElement,t=(n._self._c,n.infor&&n.infor.id?n.$tools.oss(n.infor.avatar):null);n._isMounted||(n.e0=function(e){return n.$tools.goNext("/pageOne/mes/setUp")},n.e1=function(e){return n.$tools.goNext("/pageOne/mes/information")},n.e2=function(e){return n.$tools.goNext("/pageOne/mes/invitation")},n.e3=function(e){return n.$tools.goNext("/pageOne/mes/orderList?id=66")},n.e4=function(e,t){var o=arguments[arguments.length-1].currentTarget.dataset,i=o.eventParams||o["event-params"];t=i.item;return n.$tools.goNext(t.url)}),n.$mp.data=Object.assign({},{$root:{g0:t}})},r=!1,a=[];i._withStripped=!0},85:function(n,e,t){"use strict";t.r(e);var o=t(86),i=t.n(o);for(var r in o)["default"].indexOf(r)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(r);e["default"]=i.a},86:function(n,e,t){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={data:function(){return{order:[{id:0,name:"待付款",icon:"/static/images/qqa.png",url:"/pageOne/mes/orderList?id=0"},{id:1,name:"待发货",icon:"/static/images/wdsd.png",url:"/pageOne/mes/orderList?id=1"},{id:2,name:"待收货",icon:"/static/images/bth.png",url:"/pageOne/mes/orderList?id=2"},{id:4,name:"已完成",icon:"/static/images/yuh.png",url:"/pageOne/mes/orderList?id=4"}],baseMenu:[{id:1,name:"收货地址",icon:"/static/images/04_erfg.png",url:"/pageOne/mes/address"},{id:2,name:"我的收藏",icon:"/static/images/04_we.png",url:"/pageOne/mes/collection"},{id:4,name:"开通会员",icon:"/static/images/04_we.png",url:"/pageOne/mes/member"},{id:3,name:"联系客服",icon:"/static/images/04_ghi.png",url:""}],menu:[],infor:{},tel:"",promotionUnlocked:!1}},onLoad:function(){this.richText(),this.syncPromotionStatus(),n.$on("promotionUnlocked",this.syncPromotionStatus)},onShow:function(){this.syncPromotionStatus(),this.syncCustomTabBar(),this.index()},onUnload:function(){n.$off("promotionUnlocked",this.syncPromotionStatus)},methods:{syncCustomTabBar:function(){if(this.$tools.setTabbarSelectedPath("/pages/tabbar/me"),"function"===typeof this.getTabBar){var n=this.getTabBar();n&&"function"===typeof n.syncPromotionStatus&&setTimeout((function(){n.syncPromotionStatus("/pages/tabbar/me")}),0)}},syncPromotionStatus:function(){this.promotionUnlocked=this.$tools.getPromotionUnlocked();var n=this.baseMenu.slice();this.promotionUnlocked&&n.push({id:4,name:"我的推广",icon:"/static/images/04_ghidf.png",url:"/pageOne/mes/promotion"}),this.menu=n},login:function(){var e=this;n.showModal({title:"温馨提示",content:"尚未登录或登录已过期，是否前往登录？",success:function(t){t.confirm&&(e.$tools.clearLoginStorage(),n.navigateTo({url:"/pages/login/login"}))}})},index:function(){var n=this;this.$tools.axiosFrom("POST","user/index").then((function(e){n.infor=e.data}))},richText:function(){var n=this;this.$tools.axios("POST","index/richText").then((function(e){n.tel=e.data.call}))},jumpPage:function(e){var t=this;3==e.id?n.showModal({title:"提示",content:"确定要联系客服吗？",success:function(e){e.confirm&&n.makePhoneCall({phoneNumber:t.tel})}}):this.$tools.goNext(e.url)}}};e.default=t}).call(this,t(2)["default"])},87:function(n,e,t){"use strict";t.r(e);var o=t(88),i=t.n(o);for(var r in o)["default"].indexOf(r)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(r);e["default"]=i.a},88:function(n,e,t){}},[[81,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/tabbar/me.js.map