quanwei
2 days ago 04102f7237efefa744090ed7c25f7b5d0807b679
mobile/pages/shop/shop_list.vue
@@ -164,12 +164,23 @@
      mounted() {
         this.init();
         this._freshing = false;
         this.restoreData();
         // 获取分类 by lyzflash
         this.getCategory();
         /*获取订单列表*/
         this.getData();
      },
      onLoad(option) {
         let self = this;
         if( option.category_id){
            self.category.forEach(function(index,item){
               if(item.category_id==option.category_id){
                  self.tabChange(index)
               }
            })
         }
      },
      methods: {
         /*初始化*/
         init() {