Files
amb_wechatapp/public/assets/pc/recommend-goods.4cf0047e.js

2 lines
799 B
JavaScript

import{_ as m}from"./index.09b7dc2d.js";/* empty css */import{g as c}from"./goods-small.de3a3a0e.js";import{aY as p,x as s,a_ as e,a$ as i,bT as l,bk as d}from"./arco.718bb75f.js";const _={components:{goodsSmall:c},data(){return{list:[]}},props:{},computed:{},methods:{getData(){this.$request.post("api/app/recommend/goods/getRecommendGoods",{}).then(t=>{this.list=t.data}).catch(t=>{})}},watch:{},mounted(){this.getData()}};function g(t,h,f,u,o,x){const a=p("goods-small"),n=l,r=d;return s(),e(r,{bordered:!1,title:"\u63A8\u8350\u8BFE\u7A0B",style:{"margin-bottom":"15px"}},{default:i(()=>[o.list&&o.list.length>0?(s(),e(a,{key:0,list:o.list},null,8,["list"])):(s(),e(n,{key:1,description:"\u6682\u65E0\u76F8\u5173\u63A8\u8350"}))]),_:1})}const $=m(_,[["render",g]]);export{$ as g};