增加技师端---用户端 聊天界面

This commit is contained in:
贾祥聪
2025-08-21 16:38:20 +08:00
parent 9f85cf458a
commit 2935d32d68
454 changed files with 248 additions and 237 deletions

View File

@@ -0,0 +1 @@
import{d as e,c as t,bD as s,o as a,e as l,w as r,f as o,R as i,n as f,T as n,g as u,t as c,h as p,j as d,k as _}from"./index-d0750414.js";import{_ as y}from"./_plugin-vue_export-helper.1b428a4d.js";const x=y(e({__name:"price",props:{content:{default:""},prec:{default:2},autoPrec:{type:Boolean,default:!0},color:{default:"#FA8919"},mainSize:{default:"36rpx"},minorSize:{default:"28rpx"},lineThrough:{type:Boolean,default:!1},fontWeight:{default:"normal"},prefix:{default:"¥"},suffix:{default:""}},setup(e){const y=e,x=t(()=>s({price:y.content,take:"int"})),m=t(()=>{let e=s({price:y.content,take:"dec",prec:y.prec});return e=e%10==0?e.substr(0,e.length-1):e,y.autoPrec?1*e?"."+e:"":y.prec?"."+e:""});return(t,s)=>{const y=d,h=_;return a(),l(y,{class:"price-container"},{default:r(()=>[o(y,{class:i(["price-wrap",{"price-wrap--disabled":e.lineThrough}]),style:f({color:e.color})},{default:r(()=>[o(y,{class:"fix-pre",style:f({fontSize:e.minorSize})},{default:r(()=>[n(t.$slots,"prefix",{},()=>[u(c(e.prefix),1)],!0)]),_:3},8,["style"]),o(y,{style:f({"font-weight":e.fontWeight})},{default:r(()=>[o(h,{style:f({fontSize:e.mainSize})},{default:r(()=>[u(c(p(x)),1)]),_:1},8,["style"]),o(h,{style:f({fontSize:e.minorSize})},{default:r(()=>[u(c(p(m)),1)]),_:1},8,["style"])]),_:1},8,["style"]),o(y,{class:"fix-suf",style:f({fontSize:e.minorSize})},{default:r(()=>[n(t.$slots,"suffix",{},()=>[u(c(e.suffix),1)],!0)]),_:3},8,["style"])]),_:3},8,["class","style"])]),_:3})}}}),[["__scopeId","data-v-9b3996f5"]]);export{x as _};