Files
qhmes/deploy-qhmes/frontend/js/TestPage-CvnxwnB0.js
2026-05-15 11:34:12 +08:00

2 lines
1.6 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import{_ as i}from"./index-BI6CMai0.js";import{d as n,ar as r,as as o,aT as c,au as t,ag as d,f as p,aB as u,av as f}from"./vue-vendor-C7Zq48Yl.js";import"./antd-vue-vendor-BPnV8VqP.js";import"./vxe-table-vendor-B88kchpX.js";const m={style:{padding:"20px","text-align":"center"}},g={style:{color:"white",margin:"0"}},b=n({__name:"TestPage",setup(h){const e=p(null),l=()=>{try{i(()=>import("./three.module-C62V74CF.js"),[]).then(s=>{e.value={success:!0,message:"✅ Three.js 加载成功!版本: "+s.VERSION}}).catch(s=>{e.value={success:!1,message:"❌ Three.js 加载失败: "+s.message}})}catch(s){e.value={success:!1,message:"❌ 测试失败: "+s.message}}};return(s,a)=>(o(),r("div",m,[a[0]||(a[0]=c('<h1 style="color:#00d4ff;">车间可视化测试页面</h1><p style="color:#ffffff;margin:20px 0;">如果你能看到这个页面说明路由配置是正确的</p><div style="background:rgba(0, 20, 40, 0.9);padding:20px;border-radius:8px;margin:20px auto;max-width:400px;"><h2 style="color:#7ec8e3;">测试检查清单</h2><ul style="color:#ffffff;text-align:left;line-height:2;"><li> Vue 组件正常加载</li><li> 样式正常显示</li><li> 路由正确配置</li></ul></div>',3)),t("div",{style:{"margin-top":"20px"}},[t("button",{onClick:l,style:{padding:"10px 20px",background:"#00d4ff",color:"white",border:"none","border-radius":"4px",cursor:"pointer"}}," 测试 Three.js ")]),e.value?(o(),r("div",{key:0,style:u({marginTop:"20px",padding:"10px",borderRadius:"4px",backgroundColor:e.value.success?"#52c41a":"#f5222d"})},[t("p",g,f(e.value.message),1)],4)):d("",!0)]))}});export{b as default};