text: webpackJsonp([42],{A1Bl:function(t,s){},hidk:function(t,s,i){"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a=i("Xxa5"),e=i.n(a),n=i("exGp"),o=i.n(n),c=(i("k3b4"),i("+2ln")),r=i("D6FL"),l={components:{vanIcon:c.a},props:{},data:function(){return{isact:0,isshow:!0,second:[],list:[],id:0}},created:function(){this.second=JSON.parse(this.$route.query.second),this.id=this.$route.query.id,this.getdata(this.$route.query.id)},methods:{getcoll:function(){this.isshow=!this.isshow},getdata:function(t){var s=this;return o()(e.a.mark(function i(){var a;return e.a.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,Object(r.r)({id:t});case 2:a=i.sent,s.list=a.data.goods_list,console.log(a.data);case 5:case"end":return i.stop()}},i,s)}))()}},computed:{},mounted:function(){}},d={render:function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{attrs:{id:"box"}},[a("div",{staticClass:"top"},[a("div",{staticClass:"left80"},t._l(t.second,function(s,i){return a("a",{key:i,class:t.isact==i?"act":"",attrs:{name:"list"+i},on:{click:function(a){t.isact=i,t.isshow=!0,t.getdata(s.id)}}},[t._v(t._s(s.name))])})),t._v(" "),a("div",{staticClass:"coll"},[a("van-icon",{attrs:{name:t.isshow?"arrow-down":"arrow-up",size:"25px"},on:{click:function(s){t.getcoll()}}}),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:!t.isshow,expression:"!isshow"}],staticClass:"coll-show"},[a("div",{staticStyle:{padding:"5pt","font-size":"13pt"}},[t._v("全部分类")]),t._v(" "),t._l(t.second,function(s,i){return a("a",{key:i,staticClass:"ellipsis",attrs:{href:"#list"+i},on:{click:function(a){t.isact=i,t.isshow=!t.isshow,t.getdata(s.id)}}},[t._v(t._s(s.name))])})],2)],1)]),t._v(" "),a("div",{staticClass:"list_data pd3"},t._l(t.list.list,function(s,i){return a("div",{key:i,staticClass:"goods",on:{click:function(i){t.$router.push({path:"/goodsDetail",query:{id:s.goods_id}})}}},[a("img",{staticClass:"img",attrs:{src:s.original_img,alt:""}}),t._v(" "),a("div",{staticClass:"title ell1"},[t._v(t._s(s.goods_name))]),t._v(" "),a("div",{staticClass:"bottom"},[a("div",{staticClass:"left"},[a("span",{staticClass:"price"},[t._v("¥"+t._s(s.shop_price))]),t._v(" "),a("span",{staticClass:"market"},[t._v("¥"+t._s(s.market_price))]),t._v(" "),a("p",{staticClass:"count"},[t._v(t._s(s.sales_sum)+"件已售")])])])])})),t._v(" "),a("img",{staticClass:"cart",attrs:{src:i("uHHO"),alt:""},on:{click:function(s){t.$router.push({path:"/cart"})}}})])},staticRenderFns:[]};var u=i("VU/8")(l,d,!1,function(t){i("A1Bl")},"data-v-0102dc1e",null);s.default=u.exports}});
  //# sourceMappingURL=42.a5386e114025dbe7a446.js.map