require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/user_grade/index"],{"14e7":function(e,t,n){},"1e06":function(e,t,n){"use strict";var o=n("14e7"),i=n.n(o);i.a},3439:function(e,t,n){"use strict";n.r(t);var o=n("b888"),i=n("bcab");for(var r in i)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(r);n("1e06");var c=n("828b"),u=Object(c["a"])(i["default"],o["b"],o["c"],!1,null,"ed7efcec",null,!1,o["a"],void 0);t["default"]=u.exports},"5a17":function(e,t,n){"use strict";(function(e,t){var o=n("47a9");n("1d3c");o(n("3240"));var i=o(n("3439"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(i.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},b888:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){}));var o=function(){var e=this,t=e.$createElement,n=(e._self._c,e.gradeList.length);e._isMounted||(e.e0=function(t){e.showProtocol=!1}),e.$mp.data=Object.assign({},{$root:{g0:n}})},i=[]},bcab:function(e,t,n){"use strict";n.r(t);var o=n("da0e"),i=n.n(o);for(var r in o)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(r);t["default"]=i.a},da0e:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n("cef1"),i=n("51a2"),r=n("8f59"),c=(n("9592"),{computed:(0,r.mapGetters)(["userInfo","isLogin"]),components:{recommend:function(){Promise.all([n.e("common/vendor"),n.e("components/base/recommend")]).then(function(){return resolve(n("0d8d"))}.bind(null,n)).catch(n.oe)},"jyf-parser":function(){Promise.all([n.e("pages/goods/common/vendor"),n.e("pages/goods/components/jyf-parser/jyf-parser")]).then(function(){return resolve(n("43df"))}.bind(null,n)).catch(n.oe)}},data:function(){return{urlDomain:this.$Cache.get("imgHost"),isShowTitle:!0,userlevel:{},loading:!1,loadend:!1,loadTitle:"加载更多",isAuto:!1,isShowAuth:!1,protocol:"",showProtocol:!1,tagStyle:{img:"width:100%;display:block;",video:"width:100%;"},gradeList:[],hostProduct:[],hotScroll:!1,hotPage:1,hotLimit:10,isShowbox:!1,curLevel:{},next_level:{},growthValue:"",brokerage_bg:"",experience:"",curPercent:0,valueList:{},upgradeInfo:{}}},onShow:function(){this.isLogin?this.getMemberInfo():(0,o.toLogin)()},onPageScroll:function(t){e.$emit("scroll")},onReachBottom:function(){this.$refs.recommendIndex.get_host_product()},methods:{goMultiple:function(t){e.navigateTo({url:"/pages/goods/level_rule/index"})},getRecommendLength:function(e){this.isNoCommodity=0==e},shareIntegral:function(){e.setStorageSync("isIntegral",!0),this.$util.navigateTo("/pages/index/index")},upgradeRemind:function(){var e=this;(0,i.brokerageNotice)({type:1}).then((function(t){e.isShowbox=!0,e.upgradeInfo=t.data.level})).catch((function(t){e.isShowbox=!1}))},getMemberInfo:function(){var t=this;(0,i.myExpApi)().then((function(e){t.userlevel=e.data;var n=t.userlevel.upExperience>0,o=t.userlevel.experience>=0,i=Number(t.userlevel.upExperience)>Number(t.userlevel.experience);t.curPercent=n&&o&&i?(t.userlevel.experience/t.userlevel.upExperience*100).toFixed(2):100})).catch((function(n){t.$util.Tips({title:n}),setTimeout((function(){e.switchTab({url:"/pages/user/index"})}),500)}))},close:function(){this.isShowbox=!1}}});t.default=c}).call(this,n("df3c")["default"])}},[["5a17","common/runtime","common/vendor"]]]);