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
2.8 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/life/index"],{3388:function(t,e,n){"use strict";var o=n("b4f5"),a=n.n(o);a.a},6650:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n("2df4"),a=n("b6d1"),i=n("2f62"),u=function(){n.e("tabbarComponent/tabbar").then(function(){return resolve(n("594c"))}.bind(null,n)).catch(n.oe)},r={components:{tabbar:u},name:"GoodsClass",computed:(0,i.mapGetters)(["userInfo"]),props:{},data:function(){return{category:[],navActive:0,search:"",lock:!1,currentTabIndex:3,flowList:[],isFixed:!1}},watch:{"$yroute.query.id":function(t){t&&this.activeCateId(t)}},onLoad:function(t){this.getProducts()},mounted:function(){},methods:{tabBarClick:function(t){this.currentTabIndex=t},goShoppingCart:function(){this.$yrouter.push("/pages/shop/ShoppingCart/index")},goGoodSearch:function(){this.$yrouter.push("/pages/shop/GoodSearch/index")},goGoodsList:function(t){this.$yrouter.push({path:"/pages/shop/GoodsList/index",query:{id:t.id,title:t.cateName}})},toGoodsDetail:function(t){this.$yrouter.push({path:"/pages/shop/GoodsCon/index",query:{id:t}})},activeCateId:function(t){var e=0;t=parseInt(t),t&&(this.category.forEach((function(n,o){n.id===t&&(e=o)})),e!==this.navActive&&this.asideTap(e))},loadCategoryData:function(){var t=this;(0,o.getCategory)().then((function(e){t.category=e.data,t.$nextTick((function(){t.$yroute.query.id&&t.activeCateId(t.$yroute.query.id)}))}))},getProducts:function(){var t=this;(0,o.getProducts)().then((function(e){t.flowList=e.data,console.log(t.flowList)}))},submitForm:function(){var t=this,e=(0,a.trim)(this.search);e&&(this.$yrouter.push({path:"/pages/shop/GoodsList/index",query:{s:e}}),setTimeout((function(){return t.search=""}),500))},asideTap:function(t){this.navActive=t}},beforeDestroy:function(){}};e.default=r},b1ca:function(t,e,n){"use strict";n.r(e);var o=n("f80a"),a=n("e4b0");for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);n("3388");var u,r=n("f0c5"),c=Object(r["a"])(a["default"],o["b"],o["c"],!1,null,"32f19c04",null,!1,o["a"],u);e["default"]=c.exports},b4f5:function(t,e,n){},e4b0:function(t,e,n){"use strict";n.r(e);var o=n("6650"),a=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=a.a},f4ae:function(t,e,n){"use strict";(function(t){n("ef82");o(n("66fd"));var e=o(n("b1ca"));function o(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},f80a:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return o}));var o={uWaterfall:function(){return n.e("node-modules/uview-ui/components/u-waterfall/u-waterfall").then(n.bind(null,"4e25"))}},a=function(){var t=this,e=t.$createElement;t._self._c},i=[]}},[["f4ae","common/runtime","common/vendor"]]]);