后台增加技师端自定义菜单聊天类目

This commit is contained in:
贾祥聪
2025-08-21 16:20:27 +08:00
parent 1b9651c3e5
commit 56f0b25679
639 changed files with 1476 additions and 1687 deletions

View File

@@ -0,0 +1 @@
import{d as b,c as f,o,a as n,b as e,F as u,e as w,f as k,D as d,m as h,w as j,ar as a,t as i,G as l,p as r,L as _,x as C}from"./index-Bp03Znup.js";import{_ as F}from"./goods_image-Pc1dvvDz.js";const N={class:"goods-group p-2"},S={class:"goods-item"},V={class:"goods-image flex-none"},A={class:"text-[#59b870] font-medium"},B={class:"flex price-btn items-center justify-between"},z={class:"flex-1 flex items-baseline"},D={key:0,class:"text-tx-secondary text-xs"},E={class:"text-[#59b870] font-medium"},I={class:"flex justify-between items-center mt-3"},L={class:"line-clamp-2"},O={key:0,class:"flex justify-between items-center mt-2"},P={key:0,class:"text-tx-secondary text-xs"},$=b({__name:"content",props:{content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})}},setup(t){const x=t,g=f(()=>{const{data:y,style:s,category:m}=x.content;return s==2?[...Array(m.num).keys()].map(()=>({})):y.length?y:[{},{},{},{}]});return(y,s)=>{const m=_;return o(),n("div",N,[e("div",{class:d(["goods-lists",{larger:t.content.goods_type==4,perline:t.content.goods_type==2,swiper:t.content.goods_type==3,lists:t.content.goods_type==1}])},[(o(!0),n(u,null,w(k(g),(c,v)=>(o(),n("div",{class:"goods-wrap mb-2",key:v},[e("div",S,[e("div",V,[h(m,{src:c==null?void 0:c.image,fit:"cover"},{error:j(()=>s[0]||(s[0]=[e("img",{class:"image-error",src:F,alt:""},null,-1)])),_:2},1032,["src"])]),e("div",{class:d(["goods-info w-full",{"p-3":t.content.goods_type===1,"mt-2":t.content.goods_type===2}])},[t.content.goods_type!==4?(o(),n(u,{key:0},[t.content.show_title?(o(),n("div",{key:0,class:"mb-1 name",style:a({color:t.styles.title_color})},[e("div",{class:d(t.content.style==3?"line-clamp-2":"line-clamp-1")},i(c.name||"这里是商品标题中式推拿,泰式按摩"),3)],4)):l("",!0),t.content.show_server?(o(),n("div",{key:1,class:d(["text-xs mb-1",{"mt-4":t.content.goods_type===1}]),style:a({color:t.styles.server_color})},[s[1]||(s[1]=r(" 服务时间:")),e("span",A,i(c.server_time||"60"),1),s[2]||(s[2]=r("分钟 "))],6)):l("",!0)],64)):l("",!0),e("div",B,[e("div",z,[t.content.show_price?(o(),n("div",{key:0,class:"price font-medium mr-1",style:a({color:t.styles.price_color})},[s[3]||(s[3]=e("span",{class:"xs"},"¥",-1)),r(i(parseFloat(c.sell_price)||"0"),1)],4)):l("",!0),t.content.show_scribing_price?(o(),n("div",{key:1,class:"line-through text-xs",style:a({color:t.styles.scribing_price_color})}," ¥"+i(parseFloat(c.lineation_price)||"0"),5)):l("",!0)]),t.content.show_sales?(o(),n("div",D,"已售200")):l("",!0)]),t.content.goods_type===4?(o(),n(u,{key:1},[t.content.show_server?(o(),n("div",{key:0,class:"text-xs mt-3",style:a({color:t.styles.server_color})},[s[4]||(s[4]=r(" 服务时间:")),e("span",E,i(c.server_time||"60"),1),s[5]||(s[5]=r("分钟 "))],4)):l("",!0),e("div",I,[t.content.show_title?(o(),n("div",{key:0,class:"mb-1 name",style:a([{width:"250px"},{color:t.styles.title_color}])},[e("div",L,i(c.name||"这里是商品标题中式推拿泰式按摩SPA, SPA"),1)],4)):l("",!0),e("div",{class:"buy-btn text-xs",style:a({"border-radius":`${t.styles.btn_radius/2}px`})},i(t.content.btn_text),5)])],64)):l("",!0)],2)]),t.content.goods_type==1?(o(),n("div",O,[t.content.show_sales?(o(),n("div",P," 超20人选择 ")):l("",!0),e("div",{class:"buy-btn text-xs",style:a({"border-radius":`${t.styles.btn_radius/2}px`})},i(t.content.btn_text),5)])):l("",!0)]))),128))],2)])}}}),q=C($,[["__scopeId","data-v-b4ee0b42"]]);export{q as default};