import{h as x,C as v,B as D,D as V,H as b}from"./element-plus-z3MwpXC9.js";import{b as g}from"./decoration-BKETkxh7.js";import{d as n,r as w,ah as B,an as C,o as s,c as E,V as o,M as e,a as k,u as a,S as p,T as N,O as P,L as h}from"./@vue-TMcuEboY.js";import"./lodash-es-R-kYiKr_.js";import"./async-validator-DKvM95Vc.js";import"./@element-plus-DRBc1Xzw.js";import"./dayjs-CMfar2R3.js";import"./balanced-match-mNcR6oh4.js";import"./@ctrl-r5W6hzzQ.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@popperjs-D9SI2xQl.js";import"./index-DXEGVToZ.js";import"./nprogress-Cgf5DU8x.js";import"./vue-router-D4MxfuQi.js";import"./pinia-ebUeA1L2.js";import"./axios-C-n2IhIP.js";import"./lodash-BtPWuHkK.js";import"./@vueuse-BQYVjZ5N.js";import"./css-color-function-rJvg8h-6.js";import"./color-B0v57BL7.js";import"./clone-CuIhj1wH.js";import"./color-convert-BGgJB5UM.js";import"./color-name-BQ5IbGbl.js";import"./color-string-BhgG7-8u.js";import"./ms-CzQ2E3wO.js";import"./vue-clipboard3-8CNoFg4V.js";import"./clipboard-Dch_ozqB.js";import"./echarts-BR_QmBtV.js";import"./tslib-BDyQ-Jie.js";import"./zrender-B-CeXLwU.js";import"./highlight.js-D5uP1KGk.js";import"./@highlightjs-KJi31KWJ.js";const F={class:"decoration-pc min-w-[1100px]"},I=n({name:"decorationPc"}),dt=n({...I,setup(S){const r=w({update_time:"",pc_url:""});return(async()=>{try{r.value=await g()}catch(i){console.log(i)}})(),(i,t)=>{const m=x,c=B("router-link"),l=v,_=D,d=V,u=b,f=C("copy");return s(),E("div",F,[o(u,{shadow:"never",class:"!border-none flex-1 flex"},{default:e(()=>[t[3]||(t[3]=k("div",{class:"text-xl font-medium"},"首页装修",-1)),o(c,{to:{path:"/decoration/pc_details",query:{url:a(r).pc_url}}},{default:e(()=>[o(m,{class:"m-5",type:"primary",size:"large"},{default:e(()=>t[1]||(t[1]=[p("去装修")])),_:1})]),_:1},8,["to"]),o(d,null,{default:e(()=>[o(l,{label:"最近更新"},{default:e(()=>[p(N(a(r).update_time),1)]),_:1}),o(l,{label:"PC端链接"},{default:e(()=>[o(_,{style:{width:"350px"},modelValue:a(r).pc_url,"onUpdate:modelValue":t[0]||(t[0]=y=>a(r).pc_url=y),disabled:""},null,8,["modelValue"]),P((s(),h(m,{type:"primary"},{default:e(()=>t[2]||(t[2]=[p("复制")])),_:1})),[[f,a(r).pc_url]])]),_:1})]),_:1})]),_:1})])}}});export{dt as default};
