import{_ as s,u as a,r as e,bx as t,bQ as l,d as i,e as d,h as o,g as n,w as r,j as c,k as m,n as p,f as u,am as f,q as v,t as _,v as h}from"./index.286e9b79.js";import{E as b}from"./row.90d810f1.js";import{E as x}from"./col.5ff06cbd.js";import{f as g}from"./days.686d9566.js";import{p as y}from"./http.f588794f.js";const j=s=>(_("data-v-0a175b33"),s=s(),h(),s),w={class:"wrap"},k={class:"shop-main"},E=j((()=>o("div",{class:"shop-title"},"装修页面",-1))),q={class:"shop-content"},C={class:"shop-mobile"},I=["src"],O={class:"shop-setting"},Q={class:"info"},z=j((()=>o("div",{class:"col-title"},"页面名称:",-1))),A={class:"col-value"},B=j((()=>o("div",{class:"col-title"},"最近更新:",-1))),D={class:"col-value"},F=s({__name:"index",setup(s){const _=a();let h=e(),j=t.base_url.split("/");h.value=t.base_url.slice(0,t.base_url.indexOf(j[j.length-1]))+"mobile/";let F=e({name:"",time:""});return y("diy.index/page",{type:"home"}).then((s=>{s.code&&(F.value=s.data)})),(s,a)=>{const e=v,t=x,y=b,j=l("auth");return i(),d("div",w,[o("div",k,[E,o("div",q,[o("div",C,[o("iframe",{scrolling:"no",src:n(h),class:"iframe-box"},null,8,I)]),o("div",O,[o("div",null,[r((i(),c(e,{type:"primary",onClick:a[0]||(a[0]=s=>n(_).push("/diy/index?id=home"))},{default:m((()=>[p("装修页面")])),_:1})),[[j,["diy.index/index"]]])]),o("div",Q,[u(y,{gutter:24,class:"row-item"},{default:m((()=>[u(t,{span:8},{default:m((()=>[z])),_:1}),u(t,{span:16},{default:m((()=>[o("div",A,f(n(F).name||"-"),1)])),_:1})])),_:1}),u(y,{gutter:24,class:"row-item"},{default:m((()=>[u(t,{span:8},{default:m((()=>[B])),_:1}),u(t,{span:16},{default:m((()=>[o("div",D,f(n(g)(n(F).time)||"-"),1)])),_:1})])),_:1})])])])])])}}},[["__scopeId","data-v-0a175b33"]]);export{F as default};
