user_vip.js 2.4 KB

1
  1. require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["bundle/pages/user_vip/user_vip"],{"0d3e":function(e,n,t){"use strict";(function(e,n){var i=t("47a9");t("b46f");i(t("3240"));var o=i(t("6349"));e.__webpack_require_UNI_MP_PLUGIN__=t,n(o.default)}).call(this,t("3223")["default"],t("df3c")["createPage"])},"0f70":function(e,n,t){"use strict";t.r(n);var i=t("9175"),o=t.n(i);for(var r in i)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return i[e]}))}(r);n["default"]=o.a},"1b6e":function(e,n,t){"use strict";t.d(n,"b",(function(){return o})),t.d(n,"c",(function(){return r})),t.d(n,"a",(function(){return i}));var i={uImage:function(){return t.e("components/uview-ui/components/u-image/u-image").then(t.bind(null,"566d"))},loadingView:function(){return t.e("components/loading-view/loading-view").then(t.bind(null,"5782"))}},o=function(){var e=this,n=e.$createElement,t=(e._self._c,e.levelList.length),i=e.condition.length,o=i?e.__map(e.condition,(function(n,t){var i=e.__get_orig(n),o=e.condition.length;return{$orig:i,g2:o}})):null;e.$mp.data=Object.assign({},{$root:{g0:t,g1:i,l0:o}})},r=[]},6349:function(e,n,t){"use strict";t.r(n);var i=t("1b6e"),o=t("0f70");for(var r in o)["default"].indexOf(r)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(r);t("bc11");var u=t("828b"),c=Object(u["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);n["default"]=c.exports},"88ed":function(e,n,t){e.exports={red_theme:"#FF2C3C",orange_theme:"#f7971e",pink_theme:"#fa444d",gold_theme:"#e0a356",blue_theme:"#2f80ed",green_theme:"#2ec840"}},9175:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=t("e585"),o={data:function(){return{user:{},currentIndex:0,levelList:[],condition:[],condition_tips:""}},methods:{bindchange:function(e){var n=e.detail.current,t=this.levelList[n];this.currentIndex=n,this.condition=t.condition,this.condition_tips=t.condition_tips},getUserlevel:function(){var e=this;(0,i.apiUserlevel)().then((function(n){console.log("res",n),e.user=n.user,e.levelList=n.level_list,e.levelList.forEach((function(n,t){n.id==e.user.level&&(e.currentIndex=t,e.condition=n.condition,e.condition_tips=n.condition_tips)}))})).catch((function(e){console.log("error",e)}))}},created:function(){this.getUserlevel()}};n.default=o},bc11:function(e,n,t){"use strict";var i=t("88ed"),o=t.n(i);o.a}},[["0d3e","common/runtime","common/vendor"]]]);