classList.js
612 字节
"use strict";const s=require("../../common/vendor.js"),a=require("../../api/index.js");require("../../utils/request.js");Math||(c+n)();const c=()=>"../../componets/searchBox.js",n=()=>"../../componets/shops.js",r={__name:"classList",setup(l){const e=s.ref([]);return s.onLoad(async({pid:t})=>{const o=await a.getCategoryGoods({pid:t});e.value=o,console.log(o,"分类商品列表")}),(t,o)=>s.e({a:s.p({list:e.value,shopWidth:344,shopHeight:344,isClass:!0}),b:!e.value.length},e.value.length?{}:{})}},i=s._export_sfc(r,[["__file","D:/vue/大健康商城/healthMall/pages/class/classList.vue"]]);wx.createPage(i);