(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/tabBar/user/user"],{"00f8":function(t,n,e){"use strict";(function(t){e("185d");o(e("66fd"));var n=o(e("bdbe"));function o(t){return t&&t.__esModule?t:{default:t}}t(n.default)}).call(this,e("543d")["createPage"])},"3be4":function(t,n,e){},"7a53":function(t,n,e){"use strict";e.r(n);var o=e("fcf8"),i=e.n(o);for(var u in o)"default"!==u&&function(t){e.d(n,t,(function(){return o[t]}))}(u);n["default"]=i.a},b0c4:function(t,n,e){"use strict";var o;e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){return o}));var i=function(){var t=this,n=t.$createElement;t._self._c},u=[]},bcf8:function(t,n,e){"use strict";var o=e("3be4"),i=e.n(o);i.a},bdbe:function(t,n,e){"use strict";e.r(n);var o=e("b0c4"),i=e("7a53");for(var u in i)"default"!==u&&function(t){e.d(n,t,(function(){return i[t]}))}(u);e("bcf8");var r,a=e("f0c5"),s=Object(a["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],r);n["default"]=s.exports},fcf8:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("524d"),i=getApp(),u=function(){e.e("components/Authorize").then(function(){return resolve(e("0a4b"))}.bind(null,e)).catch(e.oe)},r={components:{authorize:u},data:function(){return{isfirst:!0,headerPosition:"fixed",headerTop:null,statusTop:null,showHeader:!0,user:"",orderList:[{text:"待支付",icon:"fukuan"},{text:"已支付",icon:"fahuo"},{text:"已完成",icon:"shouhuo"},{text:"已取消",icon:"pingjia"}],mytoolbarList:[{url:"/pages/goods/recording/recording?id=1",text:"充值记录",img:"/static/img/user/mingxi.png"},{url:"/pages/goods/recording/recording?id=2",text:"消费记录",img:"/static/img/user/quan.png"},{url:"/pages/user/mineCoupons/mineCoupons",text:"我的卡券",img:"/static/img/user/choujiang.png"},{url:"../../login/login",text:"商户入口",img:"/static/img/user/point.png"}]}},onPullDownRefresh:function(){setTimeout((function(){t.stopPullDownRefresh()}),1e3)},onPageScroll:function(t){this.headerPosition=t.scrollTop>=0?"fixed":"absolute",this.headerTop=t.scrollTop>=0?null:0,this.statusTop=t.scrollTop>=0?null:-this.statusHeight+"px"},onLoad:function(){this.statusHeight=0},onReady:function(){t.setStorage({key:"UserInfo",data:!1,success:function(){},fail:function(t){}})},onShow:function(){this.user=i.globalData.userInfo},methods:{getPhoneNumber:function(n){var e=this,u={openId:i.globalData.openId,iv:n.detail.iv,encryptedData:n.detail.encryptedData};(0,o.GetPhoneNumber)(u).then((function(n){"000000"==n.return_code&&(i.globalData.userInfo=n.return_data.object.highUser,t.setStorage({key:"user",data:n.return_data.object.highUser}),e.toDeposit())}))},toMsg:function(){t.showToast({title:"暂未开通",icon:"none"})},toOrderList:function(n){t.setStorageSync("tbIndex",n),t.navigateTo({url:"../../user/order_list/order_list?tbIndex="+n})},toMyQR:function(){t.navigateTo({url:"../../user/myQR/myQR"})},toLogin:function(){t.showToast({title:"请登录",icon:"none"}),t.navigateTo({url:"../../login/login"}),this.isfirst=!1},isLogin:function(){var n=t.getStorageSync("UserInfo");return!!n},toDeposit:function(){t.navigateTo({url:"../../user/deposit/deposit"})},toPage:function(n){n?t.navigateTo({url:n}):t.showToast({title:"模板未包含此页面",icon:"none"})}}};n.default=r}).call(this,e("543d")["default"])}},[["00f8","common/runtime","common/vendor"]]]);