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
3.9 KiB
1 lines
3.9 KiB
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/life/index"],{"08c5":function(t,e,i){"use strict";i.d(e,"b",(function(){return c})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={uWaterfall:function(){return i.e("node-modules/uview-ui/components/u-waterfall/u-waterfall").then(i.bind(null,"4e25"))}},c=function(){var t=this,e=t.$createElement;t._self._c},o=[]},3337:function(t,e,i){"use strict";var n=i("c433"),c=i.n(n);c.a},6650:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("2df4"),c=i("b6d1"),o=i("2f62"),a=function(){i.e("tabbarComponent/tabbar").then(function(){return resolve(i("594c"))}.bind(null,i)).catch(i.oe)},r={components:{tabbar:a},name:"GoodsClass",computed:(0,o.mapGetters)(["userInfo"]),props:{},data:function(){return{category:[],navActive:0,search:"",lock:!1,currentTabIndex:3,flowList:[{price:35,title:"Porsche Panamera 4S E-Hybrid 行政加长版",shop:"李白杜甫白居易旗舰店",image:"http://pic.sc.chinaz.com/Files/pic/pic9/202002/zzpic23327_s.jpg"},{price:75,title:"神仙阁 龙虾海鲜自助",shop:"李白杜甫白居易旗舰店",image:"http://pic.sc.chinaz.com/Files/pic/pic9/202002/zzpic23325_s.jpg"},{price:35,title:"北国风光,千里冰封,万里雪飘",shop:"李白杜甫白居易旗舰店",image:"http://pic.sc.chinaz.com/Files/pic/pic9/202002/zzpic23327_s.jpg"},{price:75,title:"望长城内外,惟余莽莽",shop:"李白杜甫白居易旗舰店",image:"http://pic.sc.chinaz.com/Files/pic/pic9/202002/zzpic23325_s.jpg"},{price:75,title:"望长城内外,惟余莽莽",shop:"李白杜甫白居易旗舰店",image:"http://pic.sc.chinaz.com/Files/pic/pic9/202002/zzpic23325_s.jpg"},{price:35,title:"北国风光,千里冰封,万里雪飘",shop:"李白杜甫白居易旗舰店",image:"http://pic.sc.chinaz.com/Files/pic/pic9/202002/zzpic23327_s.jpg"}]}},watch:{"$yroute.query.id":function(t){t&&this.activeCateId(t)}},onLoad:function(t){var e=getCurrentPages();this.pagePath="/"+e[e.length-1].route},mounted:function(){this.loadCategoryData()},methods:{tabBarClick:function(t){this.currentTabIndex=t},getTime:function(){var t=(new Date).getHours();return 0<t&&t<12?"早上好":12<=t&&t<13?"中午好":13<=t&&t<18?"下午好":"晚上好"},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(i,n){i.id===t&&(e=n)})),e!==this.navActive&&this.asideTap(e))},loadCategoryData:function(){var t=this;(0,n.getCategory)().then((function(e){t.category=e.data,t.$nextTick((function(){t.$yroute.query.id&&t.activeCateId(t.$yroute.query.id)}))}))},submitForm:function(){var t=this,e=(0,c.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,i){"use strict";i.r(e);var n=i("08c5"),c=i("e4b0");for(var o in c)"default"!==o&&function(t){i.d(e,t,(function(){return c[t]}))}(o);i("3337");var a,r=i("f0c5"),s=Object(r["a"])(c["default"],n["b"],n["c"],!1,null,"1ea5f0e2",null,!1,n["a"],a);e["default"]=s.exports},c433:function(t,e,i){},e4b0:function(t,e,i){"use strict";i.r(e);var n=i("6650"),c=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=c.a},f4ae:function(t,e,i){"use strict";(function(t){i("ef82");n(i("66fd"));var e=n(i("b1ca"));function n(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,i("543d")["createPage"])}},[["f4ae","common/runtime","common/vendor"]]]); |