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 line
3.0 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/life/index"],{1018:function(t,e,n){"use strict";var o=n("bbb3"),i=n.n(o);i.a},"28d4":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n("fc49"),i=n("8c38"),u=n("2f62"),a=function(){n.e("tabbarComponent/tabbar").then(function(){return resolve(n("6b2e"))}.bind(null,n)).catch(n.oe)},r={components:{tabbar:a},name:"GoodsClass",computed:(0,u.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)}},onShow:function(t){this.getProducts()},mounted:function(){},onPullDownRefresh:function(){this.getProducts()},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 e=this;(0,o.getProducts)().then((function(n){e.flowList=n.data,t.stopPullDownRefresh()}))},submitForm:function(){var t=this,e=(0,i.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},alertMessage:function(e){t.showToast({title:e,icon:"none"})}},beforeDestroy:function(){}};e.default=r}).call(this,n("543d")["default"])},"54d8":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return u})),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,"50f4"))}},i=function(){var t=this,e=t.$createElement;t._self._c},u=[]},"76a0":function(t,e,n){"use strict";n.r(e);var o=n("54d8"),i=n("91b7");for(var u in i)"default"!==u&&function(t){n.d(e,t,(function(){return i[t]}))}(u);n("1018");var a,r=n("f0c5"),c=Object(r["a"])(i["default"],o["b"],o["c"],!1,null,"40ee9346",null,!1,o["a"],a);e["default"]=c.exports},"91b7":function(t,e,n){"use strict";n.r(e);var o=n("28d4"),i=n.n(o);for(var u in o)"default"!==u&&function(t){n.d(e,t,(function(){return o[t]}))}(u);e["default"]=i.a},a95c:function(t,e,n){"use strict";(function(t){n("0371");o(n("66fd"));var e=o(n("76a0"));function o(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},bbb3:function(t,e,n){}},[["a95c","common/runtime","common/vendor"]]]);