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.

11 lines
1.9 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/Recommend"],{"0996":function(n,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e=o("2df4"),a=function(){o.e("components/Loading").then(function(){return resolve(o("624a"))}.bind(null,o)).catch(o.oe)},u={name:"Recommend",props:{recommendLoading:Boolean},components:{Loading:a},watch:{recommendLoading:function(n){n&&this.hostProducts()}},data:function(){return{hostProduct:[],page:1,limit:20,loadTitle:"",loading:!1,loadend:!1}},mounted:function(){this.hostProducts()},methods:{routerGo:function(n){this.$yrouter.push({path:"/pages/shop/GoodsCon/index",query:{id:n.id}})},hostProducts:function(){var n=this,t=this;t.loading||t.loadend||(t.loading=!0,(0,e.getHostProducts)(t.page,t.limit).then((function(o){t.loading=!1,t.hostProduct.push.apply(t.hostProduct,o.data),t.loadend=o.data.length<t.limit,t.page=t.page+1,n.$emit("changeRecommendLoading",!1)})))}}};t.default=u},a773:function(n,t,o){"use strict";o.r(t);var e=o("0996"),a=o.n(e);for(var u in e)"default"!==u&&function(n){o.d(t,n,(function(){return e[n]}))}(u);t["default"]=a.a},cb56:function(n,t,o){"use strict";var e;o.d(t,"b",(function(){return a})),o.d(t,"c",(function(){return u})),o.d(t,"a",(function(){return e}));var a=function(){var n=this,t=n.$createElement;n._self._c},u=[]},fc41:function(n,t,o){"use strict";o.r(t);var e=o("cb56"),a=o("a773");for(var u in a)"default"!==u&&function(n){o.d(t,n,(function(){return a[n]}))}(u);var c,i=o("f0c5"),d=Object(i["a"])(a["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],c);t["default"]=d.exports}}]);
3 years ago
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/Recommend-create-component',
{
'components/Recommend-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("fc41"))
3 years ago
})
},
[['components/Recommend-create-component']]
]);