(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/tabbar/me"],{81:function(n,t,e){"use strict";(function(n,t){var o=e(4);e(26);o(e(25));var i=o(e(82));n.__webpack_require_UNI_MP_PLUGIN__=e,t(i.default)}).call(this,e(1)["default"],e(2)["createPage"])},82:function(n,t,e){"use strict";e.r(t);var o=e(83),i=e(85);for(var r in i)["default"].indexOf(r)<0&&function(n){e.d(t,n,(function(){return i[n]}))}(r);e(87);var a,s=e(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",t["default"]=c.exports},83:function(n,t,e){"use strict";e.r(t);var o=e(84);e.d(t,"render",(function(){return o["render"]})),e.d(t,"staticRenderFns",(function(){return o["staticRenderFns"]})),e.d(t,"recyclableRender",(function(){return o["recyclableRender"]})),e.d(t,"components",(function(){return o["components"]}))},84:function(n,t,e){"use strict";var o;e.r(t),e.d(t,"render",(function(){return i})),e.d(t,"staticRenderFns",(function(){return a})),e.d(t,"recyclableRender",(function(){return r})),e.d(t,"components",(function(){return o}));try{o={uniNavBar:function(){return e.e("uni_modules/uni-nav-bar/components/uni-nav-bar/uni-nav-bar").then(e.bind(null,357))}}}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,t=n.$createElement,e=(n._self._c,n.infor&&n.infor.id?n.$tools.oss(n.infor.avatar):null);n._isMounted||(n.e0=function(t){return n.$tools.goNext("/pageOne/mes/setUp")},n.e1=function(t){return n.$tools.goNext("/pageOne/mes/information")},n.e2=function(t){return n.$tools.goNext("/pageOne/mes/invitation")},n.e3=function(t){return n.$tools.goNext("/pageOne/mes/orderList?id=66")},n.e4=function(t,e){var o=arguments[arguments.length-1].currentTarget.dataset,i=o.eventParams||o["event-params"];e=i.item;return n.$tools.goNext(e.url)}),n.$mp.data=Object.assign({},{$root:{g0:e}})},r=!1,a=[];i._withStripped=!0},85:function(n,t,e){"use strict";e.r(t);var o=e(86),i=e.n(o);for(var r in o)["default"].indexOf(r)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(r);t["default"]=i.a},86:function(n,t,e){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e={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: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 t=this;n.showModal({title:"温馨提示",content:"尚未登录或登录已过期，是否前往登录？",success:function(e){e.confirm&&(t.$tools.clearLoginStorage(),n.navigateTo({url:"/pages/login/login"}))}})},index:function(){var n=this;this.$tools.axiosFrom("POST","user/index").then((function(t){n.infor=t.data}))},richText:function(){var n=this;this.$tools.axios("POST","index/richText").then((function(t){n.tel=t.data.call}))},jumpPage:function(t){var e=this;3==t.id?n.showModal({title:"提示",content:"确定要联系客服吗？",success:function(t){t.confirm&&n.makePhoneCall({phoneNumber:e.tel})}}):this.$tools.goNext(t.url)}}};t.default=e}).call(this,e(2)["default"])},87:function(n,t,e){"use strict";e.r(t);var o=e(88),i=e.n(o);for(var r in o)["default"].indexOf(r)<0&&function(n){e.d(t,n,(function(){return o[n]}))}(r);t["default"]=i.a},88:function(n,t,e){}},[[81,"common/runtime","common/vendor"]]]);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/tabbar/me.js.map