fuyuan-housekeeping-admin/public/admin/assets/content.10d9610f.js

2 lines
2.3 KiB
JavaScript

import{c as d}from"./element-plus.02c000b8.js";import{g as l}from"./index.2f214697.js";import{d as _,r as u,o,c as r,Y as m,a8 as c,a as e,W as s,X as x,V as g}from"./@vue.ad3a2c51.js";import{e as f}from"./index.7e71cca7.js";import"./@vueuse.c2fd8b33.js";import"./@element-plus.4b8482d8.js";import"./lodash-es.61686ec6.js";import"./dayjs.c8b8967e.js";import"./axios.136fb7b6.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./memoize-one.4ee5c96d.js";import"./lodash.8effadcb.js";import"./vue-router.93f65f3b.js";import"./pinia.f0255b9b.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.3cb93b94.js";import"./color.0adfd97a.js";import"./clone.4b381e37.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./nprogress.09754c1e.js";import"./vue-clipboard3.c5f2d3ed.js";import"./clipboard.42524a75.js";import"./echarts.234b3572.js";import"./zrender.8ee1a698.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.0d5173e3.js";import"./vue3-eventbus.c7305b83.js";import"./mitt.d8e3ba72.js";const h={class:"flex items-center news-title mx-[10px] mb-[15px] text-3xl font-medium"},v={class:"hot"},y={class:"flex"},b={class:"text-lg font-bold truncate my-1.5"},D={class:"text-sm truncate text-error"},k={class:"text-2xl font-medium"},w=_({__name:"content",props:{content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})}},setup(N){const i=u({hot_service:[],recommend_goods_category:[],recommend_staff:[]});return(async()=>{const{pageData:p}=await l({id:1});console.log("\u6570\u636E\uFF1A",JSON.parse(p))})(),(p,B)=>{const n=d;return o(),r("div",null,[(o(!0),r(m,null,c(i.value.recommend_goods_category,a=>(o(),r("div",{class:"hot_title pb-[10px] pt-[10px]",key:a.id},[e("div",h,s(a.name),1),e("div",v,[e("div",y,[(o(!0),r(m,null,c(a.goods,t=>(o(),r("div",{class:"flex-col mx-[10px] w-[100px] h-[160px]",key:t.id},[e("div",null,[x(n,{class:"rounded-t",style:{width:"100px",height:"100px"},src:t==null?void 0:t.image},null,8,["src"])]),e("div",b,s(t.name),1),e("div",D,[e("span",k,s(t.price),1),g(" "+s(t.unit_desc),1)])]))),128))])])]))),128))])}}});const it=f(w,[["__scopeId","data-v-00e70c94"]]);export{it as default};