徐总多门店
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1 lines
3.9 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/annex/vip_grade/index"],{"21d6":function(e,n,o){"use strict";o.d(n,"b",(function(){return i})),o.d(n,"c",(function(){return l})),o.d(n,"a",(function(){return t}));var t={wBarcode:function(){return Promise.all([o.e("common/vendor"),o.e("uni_modules/wmf-code/components/w-barcode/index")]).then(o.bind(null,"37e7"))},wQrcode:function(){return Promise.all([o.e("common/vendor"),o.e("uni_modules/wmf-code/components/w-qrcode/index")]).then(o.bind(null,"78ae"))}},i=function(){var e=this,n=e.$createElement,o=(e._self._c,e.level_info.exp>e.level_info.next_exp?null:e.$util.$h.Div(parseInt(e.level_info.exp),e.level_info.next_exp)),t=!(e.level_info.exp>e.level_info.next_exp)&&o>=5?e.$util.$h.Div(parseInt(e.level_info.exp),e.level_info.next_exp):null,i=e.level_info.exp?e.level_info.exp.split("."):null,l=e.user_info.now_money?e.user_info.now_money.split(".")[0]||0:null,c=e.user_info.now_money?e.user_info.now_money.split("."):null,a=e.user_info.now_money&&c[1]>0?e.user_info.now_money.split("."):null;e.$mp.data=Object.assign({},{$root:{g0:o,g1:t,g2:i,g3:l,g4:c,g5:a}})},l=[]},"2ef3":function(e,n,o){"use strict";o.r(n);var t=o("5aaf"),i=o.n(t);for(var l in t)["default"].indexOf(l)<0&&function(e){o.d(n,e,(function(){return t[e]}))}(l);n["default"]=i.a},"5aaf":function(e,n,o){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t=o("bad7"),i=o("77d7"),l=o("8f59"),c=o("7ba4"),a={computed:(0,l.mapGetters)(["isLogin"]),data:function(){return{config:{bar:{code:"",color:["#000"],bgColor:"#FFFFFF",width:480,height:110},qrc:{code:"",size:380,level:3,bgColor:"#FFFFFF",border:{color:["#eee","#eee"],lineWidth:3},color:["#333","#333"]}},codeList:[{name:"会员码"},{name:"付款码"}],codeIndex:0,isCode:!1,imgHost:t.HTTP_REQUEST_URL,level_info:{},user_info:{},task_info:{},list:[],isShowAuth:!1}},onLoad:function(){this.levelInfo(),this.getUserBillList()},onReady:function(){},onShow:function(){},methods:{onLoadFun:function(){this.isShowAuth=!1},authColse:function(e){this.isShowAuth=e},more:function(){e.navigateTo({url:"/pages/users/user_vip/index"})},record:function(){e.navigateTo({url:"/pages/annex/record_list/index"})},hello:function(e){},getCode:function(){var e=this;(0,i.getRandCode)().then((function(n){var o=n.data.code;e.config.bar.code=o,e.config.qrc.code=o})).catch((function(n){return e.$util.Tips(n)}))},tapQrCode:function(){this.isLogin?(this.isCode=!0,this.codeIndex=0,this.$nextTick((function(){var e=this.user_info.bar_code;this.config.bar.code=e,this.config.qrc.code=e}))):(0,c.toLogin)()},closeCode:function(){this.isCode=!1},tapCode:function(e){if(this.codeIndex=e,1==e)this.getCode();else{var n=this.user_info.bar_code;this.config.bar.code=n,this.config.qrc.code=n}},levelInfo:function(){var e=this;(0,i.getlevelInfo)().then((function(n){e.user_info=n.data.user,e.task_info=n.data.task,e.level_info=n.data.level_info,n.data.level_list.forEach((function(o){o.name===n.data.level_info.name&&(e.level_info.next_exp=o.next_exp_num)}))})).catch((function(n){e.$util.Tips({title:n})}))},getUserBillList:function(){var e=this;(0,i.moneyList)({page:1,limit:5},9).then((function(n){e.list=n.data.list})).catch((function(n){e.$util.Tips({title:n})}))},moveHandle:function(){}}};n.default=a}).call(this,o("df3c")["default"])},"61da":function(e,n,o){"use strict";o.r(n);var t=o("21d6"),i=o("2ef3");for(var l in i)["default"].indexOf(l)<0&&function(e){o.d(n,e,(function(){return i[e]}))}(l);o("9b18");var c=o("828b"),a=Object(c["a"])(i["default"],t["b"],t["c"],!1,null,null,null,!1,t["a"],void 0);n["default"]=a.exports},"9b18":function(e,n,o){"use strict";var t=o("f96f"),i=o.n(t);i.a},"9bdf":function(e,n,o){"use strict";(function(e,n){var t=o("47a9");o("7561");t(o("3240"));var i=t(o("61da"));e.__webpack_require_UNI_MP_PLUGIN__=o,n(i.default)}).call(this,o("3223")["default"],o("df3c")["createPage"])},f96f:function(e,n,o){}},[["9bdf","common/runtime","common/vendor"]]]);