11 lines
3.2 KiB
JavaScript
11 lines
3.2 KiB
JavaScript
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/goods-shop/goods-shop"],{"2e49":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return r}));var r={uImage:function(){return n.e("components/uview-ui/components/u-image/u-image").then(n.bind(null,"28a8"))},uIcon:function(){return n.e("components/uview-ui/components/u-icon/u-icon").then(n.bind(null,"8f08"))},goodsList:function(){return n.e("components/goods-list/goods-list").then(n.bind(null,"877a"))},cuProgress:function(){return n.e("components/cu-progress/cu-progress").then(n.bind(null,"77be"))}},o=function(){var t=this.$createElement,e=(this._self._c,{path:"/pages/store_index/store_index",query:{id:this.shop.id}}),n=this.list.length,r=n?{path:"/bundle/pages/shop_search/shop_search",query:{id:this.shop.id,is_recommend:1}}:null,o=n?this.list.length:null;this.$mp.data=Object.assign({},{$root:{a0:e,g0:n,a1:r,g1:o}})},i=[]},"2fe9":function(t,e,n){"use strict";var r=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n("7ca3")),i=n("8f59"),s=n("0aec");function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var u={data:function(){return{progressPer:0,list:[]}},props:{shop:{type:Object,default:function(){return{}}}},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?c(Object(n),!0).forEach((function(e){(0,o.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},(0,i.mapGetters)(["appConfig"])),watch:{shop:{handler:function(t){var e=this;this.list=t.goods_list||[],this.$nextTick((function(){(0,s.getRect)(".goods-shop",!1,e).then((function(t){e.rectWidth=t.width}))}))},immediate:!0,deep:!0}},methods:{scrollBarChange:function(t){var e=this.progressPer,n=t.detail,r=n.scrollLeft,o=n.scrollWidth;e=r/(o-this.rectWidth)*100,e=Number(e.toFixed(0)),this.progressPer=e}}};e.default=u},9064:function(t,e,n){"use strict";n.r(e);var r=n("2fe9"),o=n.n(r);for(var i in r)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e["default"]=o.a},"9ad0":function(t,e,n){},b11f:function(t,e,n){"use strict";n.r(e);var r=n("2e49"),o=n("9064");for(var i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i);n("b68b8");var s=n("828b"),c=Object(s["a"])(o["default"],r["b"],r["c"],!1,null,"635cccb6",null,!1,r["a"],void 0);e["default"]=c.exports},b68b8:function(t,e,n){"use strict";var r=n("9ad0"),o=n.n(r);o.a}}]);
|
|
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
|
'components/goods-shop/goods-shop-create-component',
|
|
{
|
|
'components/goods-shop/goods-shop-create-component':(function(module, exports, __webpack_require__){
|
|
__webpack_require__('df3c')['createComponent'](__webpack_require__("b11f"))
|
|
})
|
|
},
|
|
[['components/goods-shop/goods-shop-create-component']]
|
|
]);
|