This commit is contained in:
蒋小陌 2024-10-09 20:54:34 +08:00
parent f03ff392e6
commit b1b0f88725
9 changed files with 7 additions and 7 deletions

View File

@ -5,4 +5,4 @@ NODE_ENV = production
VUE_APP_TITLE = X-PHP
# 静态地址
PUBLIC_PATH = https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/
PUBLIC_PATH = https://framework.x-php.com/x-Admin/

2
dist/index.html vendored
View File

@ -1,4 +1,4 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"/><meta content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=0" name="viewport"/><link rel="icon" href="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/favicon.ico"><title>X-PHP</title><script>document.write("<script src='config.js'><\/script>");</script><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/js/echarts.f9e24724.js"></script><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/js/elicons.0621e928.js"></script><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/js/modules.aff522da.js"></script><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/js/app.e650cab0.js"></script><link href="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/css/modules.f5bf25ba.css" rel="stylesheet"><link href="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/css/app.597ac04d.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but X-PHP doesn't work properly without JavaScript enabled.</strong></noscript><div id="app" class="adminui"><div class="app-loading"><div class="app-loading__logo"><img src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/logo.png"/></div><div class="app-loading-text"><span class="app-loading-preloader">X</span> <span class="app-loading-preloader">-</span> <span class="app-loading-preloader">A</span> <span class="app-loading-preloader">d</span> <span class="app-loading-preloader">m</span> <span class="app-loading-preloader">i</span> <span class="app-loading-preloader">n</span><div class="app-loading-viewtext-container"><span class="app-loading-viewtext">X</span> <span class="app-loading-viewtext">-</span> <span class="app-loading-viewtext">A</span> <span class="app-loading-viewtext">d</span> <span class="app-loading-viewtext">m</span> <span class="app-loading-viewtext">i</span> <span class="app-loading-viewtext">n</span></div></div></div></div></body><div id="versionCheck" class="versionCheck"><h2>当前浏览器内核版本过低</h2><p>当前版本:<span id="versionCheck-type">--</span> <span id="versionCheck-version">--</span></p><p>最低版本要求Chrome 71+、Firefox 65+、Safari 12+、Edge 97+。</p><p>请升级浏览器版本,或更换现代浏览器,如果你使用的是双核浏览器,请切换到极速/高速模式。</p></div><style>html,
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"/><meta content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=0" name="viewport"/><link rel="icon" href="https://framework.x-php.com/x-Admin/favicon.ico"><title>X-PHP</title><script>document.write("<script src='config.js'><\/script>");</script><script defer="defer" src="https://framework.x-php.com/x-Admin/static/js/echarts.f9e24724.js"></script><script defer="defer" src="https://framework.x-php.com/x-Admin/static/js/elicons.0621e928.js"></script><script defer="defer" src="https://framework.x-php.com/x-Admin/static/js/modules.e66f90a9.js"></script><script defer="defer" src="https://framework.x-php.com/x-Admin/static/js/app.a486f69c.js"></script><link href="https://framework.x-php.com/x-Admin/static/css/modules.f5bf25ba.css" rel="stylesheet"><link href="https://framework.x-php.com/x-Admin/static/css/app.597ac04d.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but X-PHP doesn't work properly without JavaScript enabled.</strong></noscript><div id="app" class="adminui"><div class="app-loading"><div class="app-loading__logo"><img src="https://framework.x-php.com/x-Admin/logo.png"/></div><div class="app-loading-text"><span class="app-loading-preloader">X</span> <span class="app-loading-preloader">-</span> <span class="app-loading-preloader">A</span> <span class="app-loading-preloader">d</span> <span class="app-loading-preloader">m</span> <span class="app-loading-preloader">i</span> <span class="app-loading-preloader">n</span><div class="app-loading-viewtext-container"><span class="app-loading-viewtext">X</span> <span class="app-loading-viewtext">-</span> <span class="app-loading-viewtext">A</span> <span class="app-loading-viewtext">d</span> <span class="app-loading-viewtext">m</span> <span class="app-loading-viewtext">i</span> <span class="app-loading-viewtext">n</span></div></div></div></div></body><div id="versionCheck" class="versionCheck"><h2>当前浏览器内核版本过低</h2><p>当前版本:<span id="versionCheck-type">--</span> <span id="versionCheck-version">--</span></p><p>最低版本要求Chrome 71+、Firefox 65+、Safari 12+、Edge 97+。</p><p>请升级浏览器版本,或更换现代浏览器,如果你使用的是双核浏览器,请切换到极速/高速模式。</p></div><style>html,
body,
#app {
transition-property: filter;

4
dist/report.html vendored

File diff suppressed because one or more lines are too long

1
dist/static/css/748.22f2da71.css vendored Normal file
View File

@ -0,0 +1 @@
.login_main[data-v-0274cfdc] .el-dialog__header{display:none}.login_main[data-v-0274cfdc] .el-dialog{opacity:.9;border-radius:12px;max-width:680px}.login_main[data-v-0274cfdc] .el-divider__text{background:none}.login_main[data-v-0274cfdc] input:-webkit-autofill,.login_main[data-v-0274cfdc] input:-webkit-autofill:active,.login_main[data-v-0274cfdc] input:-webkit-autofill:focus,.login_main[data-v-0274cfdc] input:-webkit-autofill:hover{-webkit-box-shadow:0 0 0 30px var(--el-bg-color) inset!important}.login_main[data-v-0274cfdc] input:-moz-autofill,.login_main[data-v-0274cfdc] input:-moz-autofill:active,.login_main[data-v-0274cfdc] input:-moz-autofill:focus,.login_main[data-v-0274cfdc] input:-moz-autofill:hover{background:var(--el-bg-color)!important}.login_main[data-v-0274cfdc] input:-ms-autofill{background:var(--el-bg-color)!important}.login_bg[data-v-0274cfdc]{width:100%;height:100%;background:#fff;display:flex}.login_adv[data-v-0274cfdc]{width:100%;position:relative;background:url(https://framework.x-php.com/x-Admin/static/img/background.95e41dd2.svg) no-repeat 0 0/cover,url(https://x-mo.cn:8888/background) no-repeat 50%/cover #9e9e9e73}.login_adv__title[data-v-0274cfdc]{color:#fff;padding:40px;position:absolute;top:0;left:0;right:0;z-index:2}.login_adv__title h2[data-v-0274cfdc]{font-size:40px}.login_adv__title h4[data-v-0274cfdc]{font-size:18px;margin-top:10px;font-weight:400}.login_adv__title p[data-v-0274cfdc]{font-size:14px;margin-top:10px;line-height:1.8;color:hsla(0,0%,100%,.6)}.login_adv__title div[data-v-0274cfdc]{margin-top:10px;display:flex;align-items:center}.login_adv__title div span[data-v-0274cfdc]{margin-right:15px}.login_adv__title div i[data-v-0274cfdc]{font-size:40px}.login_adv__title div i.add[data-v-0274cfdc]{font-size:20px;color:hsla(0,0%,100%,.6)}.login_adv__bottom a[data-v-0274cfdc]{position:absolute;left:0;right:0;bottom:0;color:#fff;padding:40px;background-image:linear-gradient(transparent,#000);z-index:3}.login_adv__mask[data-v-0274cfdc]{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);z-index:1}.login_main[data-v-0274cfdc]{flex:1;overflow:auto;display:flex}.login-form[data-v-0274cfdc]{margin:auto}.login-header[data-v-0274cfdc]{margin-bottom:20px}.login-header .logo[data-v-0274cfdc]{display:flex;align-items:center}.login-header .logo img[data-v-0274cfdc]{width:40px;height:40px;vertical-align:bottom;margin-right:10px}.login-header .logo label[data-v-0274cfdc]{font-size:26px;font-weight:700}.login-oauth[data-v-0274cfdc]{display:flex;justify-content:space-around}.login-form .el-divider[data-v-0274cfdc]{margin-top:40px}.login-form[data-v-0274cfdc] .el-tabs .el-tabs__header{margin-bottom:25px}.login-form[data-v-0274cfdc] .el-tabs .el-tabs__header .el-tabs__item{font-size:14px}.login-form[data-v-0274cfdc] .login-forgot{text-align:right}.login-form[data-v-0274cfdc] .login-forgot a{color:var(--el-color-primary)}.login-form[data-v-0274cfdc] .login-forgot a:hover{color:var(--el-color-primary-light-3)}.login-form[data-v-0274cfdc] .login-reg{font-size:14px;color:var(--el-text-color-primary)}.login-form[data-v-0274cfdc] .login-reg a{color:var(--el-color-primary)}.login-form[data-v-0274cfdc] .login-reg a:hover{color:var(--el-color-primary-light-3)}.login_config[data-v-0274cfdc]{position:absolute;top:20px;right:20px}.login-form[data-v-0274cfdc] .login-msg-yzm{display:flex;width:100%}.login-form[data-v-0274cfdc] .login-msg-yzm .el-button{margin-left:10px;--el-button-size:42px}.qrCodeLogin[data-v-0274cfdc]{text-align:center;position:relative;padding:20px 0}.qrCodeLogin img.qrCode[data-v-0274cfdc]{background:#fff;padding:20px;border-radius:10px}.qrCodeLogin p.msg[data-v-0274cfdc]{margin-top:15px}.qrCodeLogin .qrCodeLogin-result[data-v-0274cfdc]{position:absolute;top:0;left:0;right:0;bottom:0;text-align:center;background:var(--el-mask-color)}@media (max-width:680px){.login_main[data-v-0274cfdc] .el-dialog{width:100%!important;box-shadow:none;height:100%;padding-top:10vh;opacity:.88;border-radius:0;margin:0}.login-form[data-v-0274cfdc]{width:100%}}

View File

@ -1 +0,0 @@
.login_main[data-v-0274cfdc] .el-dialog__header{display:none}.login_main[data-v-0274cfdc] .el-dialog{opacity:.9;border-radius:12px;max-width:680px}.login_main[data-v-0274cfdc] .el-divider__text{background:none}.login_main[data-v-0274cfdc] input:-webkit-autofill,.login_main[data-v-0274cfdc] input:-webkit-autofill:active,.login_main[data-v-0274cfdc] input:-webkit-autofill:focus,.login_main[data-v-0274cfdc] input:-webkit-autofill:hover{-webkit-box-shadow:0 0 0 30px var(--el-bg-color) inset!important}.login_main[data-v-0274cfdc] input:-moz-autofill,.login_main[data-v-0274cfdc] input:-moz-autofill:active,.login_main[data-v-0274cfdc] input:-moz-autofill:focus,.login_main[data-v-0274cfdc] input:-moz-autofill:hover{background:var(--el-bg-color)!important}.login_main[data-v-0274cfdc] input:-ms-autofill{background:var(--el-bg-color)!important}.login_bg[data-v-0274cfdc]{width:100%;height:100%;background:#fff;display:flex}.login_adv[data-v-0274cfdc]{width:100%;position:relative;background:url(https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/img/background.95e41dd2.svg) no-repeat 0 0/cover,url(https://x-mo.cn:8888/background) no-repeat 50%/cover #9e9e9e73}.login_adv__title[data-v-0274cfdc]{color:#fff;padding:40px;position:absolute;top:0;left:0;right:0;z-index:2}.login_adv__title h2[data-v-0274cfdc]{font-size:40px}.login_adv__title h4[data-v-0274cfdc]{font-size:18px;margin-top:10px;font-weight:400}.login_adv__title p[data-v-0274cfdc]{font-size:14px;margin-top:10px;line-height:1.8;color:hsla(0,0%,100%,.6)}.login_adv__title div[data-v-0274cfdc]{margin-top:10px;display:flex;align-items:center}.login_adv__title div span[data-v-0274cfdc]{margin-right:15px}.login_adv__title div i[data-v-0274cfdc]{font-size:40px}.login_adv__title div i.add[data-v-0274cfdc]{font-size:20px;color:hsla(0,0%,100%,.6)}.login_adv__bottom a[data-v-0274cfdc]{position:absolute;left:0;right:0;bottom:0;color:#fff;padding:40px;background-image:linear-gradient(transparent,#000);z-index:3}.login_adv__mask[data-v-0274cfdc]{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);z-index:1}.login_main[data-v-0274cfdc]{flex:1;overflow:auto;display:flex}.login-form[data-v-0274cfdc]{margin:auto}.login-header[data-v-0274cfdc]{margin-bottom:20px}.login-header .logo[data-v-0274cfdc]{display:flex;align-items:center}.login-header .logo img[data-v-0274cfdc]{width:40px;height:40px;vertical-align:bottom;margin-right:10px}.login-header .logo label[data-v-0274cfdc]{font-size:26px;font-weight:700}.login-oauth[data-v-0274cfdc]{display:flex;justify-content:space-around}.login-form .el-divider[data-v-0274cfdc]{margin-top:40px}.login-form[data-v-0274cfdc] .el-tabs .el-tabs__header{margin-bottom:25px}.login-form[data-v-0274cfdc] .el-tabs .el-tabs__header .el-tabs__item{font-size:14px}.login-form[data-v-0274cfdc] .login-forgot{text-align:right}.login-form[data-v-0274cfdc] .login-forgot a{color:var(--el-color-primary)}.login-form[data-v-0274cfdc] .login-forgot a:hover{color:var(--el-color-primary-light-3)}.login-form[data-v-0274cfdc] .login-reg{font-size:14px;color:var(--el-text-color-primary)}.login-form[data-v-0274cfdc] .login-reg a{color:var(--el-color-primary)}.login-form[data-v-0274cfdc] .login-reg a:hover{color:var(--el-color-primary-light-3)}.login_config[data-v-0274cfdc]{position:absolute;top:20px;right:20px}.login-form[data-v-0274cfdc] .login-msg-yzm{display:flex;width:100%}.login-form[data-v-0274cfdc] .login-msg-yzm .el-button{margin-left:10px;--el-button-size:42px}.qrCodeLogin[data-v-0274cfdc]{text-align:center;position:relative;padding:20px 0}.qrCodeLogin img.qrCode[data-v-0274cfdc]{background:#fff;padding:20px;border-radius:10px}.qrCodeLogin p.msg[data-v-0274cfdc]{margin-top:15px}.qrCodeLogin .qrCodeLogin-result[data-v-0274cfdc]{position:absolute;top:0;left:0;right:0;bottom:0;text-align:center;background:var(--el-mask-color)}@media (max-width:680px){.login_main[data-v-0274cfdc] .el-dialog{width:100%!important;box-shadow:none;height:100%;padding-top:10vh;opacity:.88;border-radius:0;margin:0}.login-form[data-v-0274cfdc]{width:100%}}

View File

@ -1 +0,0 @@
"use strict";(self["webpackChunkx_php_admin"]=self["webpackChunkx_php_admin"]||[]).push([[614],{7590:function(e,t,n){n.r(t),n.d(t,{default:function(){return m}});var i=n(6808);const a={class:"x-editor"};function l(e,t,n,l,o,s){const r=(0,i.up)("Editor");return(0,i.wg)(),(0,i.iD)("div",a,[(0,i.Wm)(r,{modelValue:o.contentValue,"onUpdate:modelValue":t[0]||(t[0]=e=>o.contentValue=e),init:o.init,disabled:n.disabled,placeholder:n.placeholder,onOnClick:s.onClick},null,8,["modelValue","init","disabled","placeholder","onOnClick"])])}var o=n(7536),s=n(5401),r=n(642),c=n.n(r),d=(n(4499),n(3910),n(5062),n(8529),n(9840),n(6024),n(2574),n(5877),n(3415),n(2684),n(187),n(9889),n(453),n(6611),{components:{Editor:s.Z},props:{modelValue:{type:String,default:""},placeholder:{type:String,default:""},height:{type:Number,default:300},disabled:{type:Boolean,default:!1},plugins:{type:[String,Array],default:"code image media link preview table quickbars template pagebreak lists advlist"},toolbar:{type:[String,Array],default:"undo redo | forecolor backcolor bold italic underline strikethrough link | blocks fontfamily fontsize | \t\t\t\t\talignleft aligncenter alignright alignjustify | outdent indent | numlist bullist | pagebreak | \t\t\t\t\timage media table template preview | code selectall"},templates:{type:Array,default:()=>[]},options:{type:Object,default:()=>{}}},data(){return{init:{language_url:"https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/tinymce/langs/zh_CN.js",language:"zh_CN",skin_url:"https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/tinymce/skins/ui/oxide",content_css:"https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/tinymce/skins/content/default/content.css",menubar:!1,statusbar:!0,plugins:this.plugins,toolbar:this.toolbar,toolbar_mode:"sliding",font_size_formats:"12px 14px 16px 18px 22px 24px 36px 72px",height:this.height,placeholder:this.placeholder,branding:!1,resize:!0,elementpath:!0,content_style:"",templates:this.templates,quickbars_selection_toolbar:"forecolor backcolor bold italic underline strikethrough link",quickbars_image_toolbar:"alignleft aligncenter alignright",quickbars_insert_toolbar:!1,image_caption:!0,image_advtab:!0,convert_urls:!1,images_upload_handler:function(e){return new Promise(((t,n)=>{const i=new FormData;i.append("files",e.blob(),e.filename()),o.Z.common.upload.post(i).then((e=>{t(e.data.url)})).catch((()=>{n("Image upload failed")}))}))},setup:function(e){e.on("init",(function(){this.getBody().style.fontSize="14px"})),e.on("OpenWindow",(function(e){var t=document.querySelector(".el-drawer.open"),n=e.target.editorContainer;if(t&&t.contains(n)){var i=document.activeElement;setTimeout((()=>{document.activeElement.blur(),i.focus()}),0)}}))},...this.options},contentValue:this.modelValue}},watch:{modelValue(e){this.contentValue=e},contentValue(e){this.$emit("update:modelValue",e)}},mounted(){console.log({NODE_ENV:"production",VUE_APP_TITLE:"X-PHP",BASE_URL:"https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/"}),c().init({})},methods:{onClick(e){this.$emit("onClick",e,c())}}}),u=n(8700);const p=(0,u.Z)(d,[["render",l]]);var m=p}}]);

1
dist/static/js/614.837140d4.js vendored Normal file
View File

@ -0,0 +1 @@
"use strict";(self["webpackChunkx_php_admin"]=self["webpackChunkx_php_admin"]||[]).push([[614],{7590:function(e,t,n){n.r(t),n.d(t,{default:function(){return m}});var i=n(6808);const o={class:"x-editor"};function a(e,t,n,a,l,r){const s=(0,i.up)("Editor");return(0,i.wg)(),(0,i.iD)("div",o,[(0,i.Wm)(s,{modelValue:l.contentValue,"onUpdate:modelValue":t[0]||(t[0]=e=>l.contentValue=e),init:l.init,disabled:n.disabled,placeholder:n.placeholder,onOnClick:r.onClick},null,8,["modelValue","init","disabled","placeholder","onOnClick"])])}var l=n(7536),r=n(5401),s=n(642),c=n.n(s),d=(n(4499),n(3910),n(5062),n(8529),n(9840),n(6024),n(2574),n(5877),n(3415),n(2684),n(187),n(9889),n(453),n(6611),{components:{Editor:r.Z},props:{modelValue:{type:String,default:""},placeholder:{type:String,default:""},height:{type:Number,default:300},disabled:{type:Boolean,default:!1},plugins:{type:[String,Array],default:"code image media link preview table quickbars template pagebreak lists advlist"},toolbar:{type:[String,Array],default:"undo redo | forecolor backcolor bold italic underline strikethrough link | blocks fontfamily fontsize | \t\t\t\t\talignleft aligncenter alignright alignjustify | outdent indent | numlist bullist | pagebreak | \t\t\t\t\timage media table template preview | code selectall"},templates:{type:Array,default:()=>[]},options:{type:Object,default:()=>{}}},data(){return{init:{language_url:"https://framework.x-php.com/x-Admin/tinymce/langs/zh_CN.js",language:"zh_CN",skin_url:"https://framework.x-php.com/x-Admin/tinymce/skins/ui/oxide",content_css:"https://framework.x-php.com/x-Admin/tinymce/skins/content/default/content.css",menubar:!1,statusbar:!0,plugins:this.plugins,toolbar:this.toolbar,toolbar_mode:"sliding",font_size_formats:"12px 14px 16px 18px 22px 24px 36px 72px",height:this.height,placeholder:this.placeholder,branding:!1,resize:!0,elementpath:!0,content_style:"",templates:this.templates,quickbars_selection_toolbar:"forecolor backcolor bold italic underline strikethrough link",quickbars_image_toolbar:"alignleft aligncenter alignright",quickbars_insert_toolbar:!1,image_caption:!0,image_advtab:!0,convert_urls:!1,images_upload_handler:function(e){return new Promise(((t,n)=>{const i=new FormData;i.append("files",e.blob(),e.filename()),l.Z.common.upload.post(i).then((e=>{t(e.data.url)})).catch((()=>{n("Image upload failed")}))}))},setup:function(e){e.on("init",(function(){this.getBody().style.fontSize="14px"})),e.on("OpenWindow",(function(e){var t=document.querySelector(".el-drawer.open"),n=e.target.editorContainer;if(t&&t.contains(n)){var i=document.activeElement;setTimeout((()=>{document.activeElement.blur(),i.focus()}),0)}}))},...this.options},contentValue:this.modelValue}},watch:{modelValue(e){this.contentValue=e},contentValue(e){this.$emit("update:modelValue",e)}},mounted(){console.log({NODE_ENV:"production",VUE_APP_TITLE:"X-PHP",BASE_URL:"https://framework.x-php.com/x-Admin/"}),c().init({})},methods:{onClick(e){this.$emit("onClick",e,c())}}}),u=n(8700);const p=(0,u.Z)(d,[["render",a]]);var m=p}}]);

File diff suppressed because one or more lines are too long