mirror of
https://gitee.com/niucloud-team/niucloud-admin.git
synced 2025-12-12 10:52:48 +00:00
2 lines
2.6 KiB
JavaScript
2 lines
2.6 KiB
JavaScript
import{d as S,r as u,R as k,w as I,Q as q,e as R,f as B,g as a,B as n,u as t,y as s,x as r,aP as D,aQ as N}from"./base-06478700.js";/* empty css */import{a as V,E as F}from"./el-form-item-314d006d.js";/* empty css *//* empty css */import{t as e}from"./index-81ed253c.js";import{V as P}from"./index-981b0207.js";import{a3 as Q}from"./event-10eba222.js";import{u as j,a as L}from"./vue-router-d09a2c28.js";import{a as d}from"./index-b52d0f2a.js";import{E as M}from"./index-b68e8463.js";import{E as U}from"./index-e10fccde.js";import{v as $}from"./directive-cb2d3366.js";import{_ as z}from"./_plugin-vue_export-helper-c27b6911.js";import"./index-2fcd1254.js";import"./common-92a35870.js";import"./index-adb89d14.js";import"./el-main-9a0960e7.js";import"./index-6b67c4ac.js";import"./el-overlay-42a687c6.js";import"./index-9fe5de95.js";import"./focus-trap-3e826cdc.js";import"./index-f27d6ce0.js";import"./index-818c0ce2.js";/* empty css */import"./el-tooltip-58212670.js";import"./index-c2f001d3.js";import"./index-2a269c7c.js";import"./index-e4abfaa5.js";import"./index-9ee9102c.js";const A="/admin/assets/preview-52aad803.png",G=i=>(D("data-v-3bfcd0e2"),i=i(),N(),i),H={class:"main-container"},J={class:"flex ml-[18px] justify-between items-center mt-[20px]"},K={class:"text-[20px]"},O=G(()=>a("img",{class:"w-[500px]",src:A,alt:""},null,-1)),T=S({__name:"config",setup(i){const f=j().meta.title,m=u(!0),o=k({is_open:!1,request_url:""}),v=u();L(),P().then(p=>{o.request_url=p.data.web_url+"/",m.value=!1});const{copy:g,isSupported:w,copied:c}=Q(),b=p=>{if(!w.value){d({message:e("notSupportCopy"),type:"warning"});return}g(p)};I(c,()=>{c.value&&d({message:e("copySuccess"),type:"success"})});const x=()=>{window.open(o.request_url)};return(p,l)=>{const _=V,y=M,h=U,E=F,C=$;return q((R(),B("div",H,[a("div",J,[a("span",K,n(t(f)),1)]),s(E,{model:o,"label-width":"150px",ref_key:"formRef",ref:v,class:"page-form"},{default:r(()=>[s(h,{class:"box-card !border-none",shadow:"never"},{default:r(()=>[s(_,{label:t(e)("preview"),prop:"weapp_name"},{default:r(()=>[O]),_:1},8,["label"]),s(_,{label:t(e)("PCDomainName")},{default:r(()=>[s(y,{"model-value":o.request_url,class:"input-width",readonly:!0},{append:r(()=>[a("div",{class:"cursor-pointer",onClick:l[0]||(l[0]=X=>b(o.request_url))},n(t(e)("copy")),1)]),_:1},8,["model-value"]),a("span",{class:"ml-2 cursor-pointer visit-btn",onClick:x},n(t(e)("clickVisit")),1)]),_:1},8,["label"])]),_:1})]),_:1},8,["model"])])),[[C,m.value]])}}});const qe=z(T,[["__scopeId","data-v-3bfcd0e2"]]);export{qe as default};
|