no message
This commit is contained in:
parent
422e1e976f
commit
fb14650ec9
2
dist/index.html
vendored
2
dist/index.html
vendored
@ -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.49558cc4.js"></script><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/js/elicons.4bccae06.js"></script><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/js/modules.af2834df.js"></script><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/js/app.8e1f9a56.js"></script><link href="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/css/modules.34563575.css" rel="stylesheet"><link href="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/css/app.717335f6.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://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.49558cc4.js"></script><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/js/elicons.4bccae06.js"></script><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/js/modules.af2834df.js"></script><script defer="defer" src="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/js/app.c0c00448.js"></script><link href="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/css/modules.34563575.css" rel="stylesheet"><link href="https://ansnid.oss-cn-shenzhen.aliyuncs.com/x-Admin/static/css/app.717335f6.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,
|
||||
body,
|
||||
#app {
|
||||
transition-property: filter;
|
||||
|
4
dist/report.html
vendored
4
dist/report.html
vendored
File diff suppressed because one or more lines are too long
1
dist/static/css/576.34ca934a.css
vendored
1
dist/static/css/576.34ca934a.css
vendored
@ -1 +0,0 @@
|
||||
.x-user-select[data-v-2212f4bf]{display:flex}.x-user-select__left[data-v-2212f4bf]{width:400px}.x-user-select__right[data-v-2212f4bf]{flex:1}.x-user-select__search[data-v-2212f4bf]{padding-bottom:10px}.x-user-select__select[data-v-2212f4bf]{display:flex;border:1px solid var(--el-border-color-light);background:var(--el-color-white)}.x-user-select__tree[data-v-2212f4bf]{width:200px;height:300px;border-right:1px solid var(--el-border-color-light)}.x-user-select__user[data-v-2212f4bf]{width:200px;height:300px;display:flex;flex-direction:column}.x-user-select__user__list[data-v-2212f4bf]{flex:1;overflow:auto}.x-user-select__user footer[data-v-2212f4bf]{height:36px;padding-top:5px;border-top:1px solid var(--el-border-color-light)}.x-user-select__toicon[data-v-2212f4bf]{display:flex;justify-content:center;align-items:center;margin:0 10px}.x-user-select__toicon i[data-v-2212f4bf]{display:flex;justify-content:center;align-items:center;background:#ccc;width:20px;height:20px;text-align:center;line-height:20px;border-radius:50%;color:#fff}.x-user-select__selected[data-v-2212f4bf]{height:345px;width:200px;border:1px solid var(--el-border-color-light);background:var(--el-color-white)}.x-user-select__selected header[data-v-2212f4bf]{height:43px;line-height:43px;border-bottom:1px solid var(--el-border-color-light);padding:0 15px;font-size:12px}.x-user-select__selected ul[data-v-2212f4bf]{height:300px;overflow:auto}.x-user-select__selected li[data-v-2212f4bf]{display:flex;align-items:center;justify-content:space-between;padding:5px 5px 5px 15px;height:38px}.x-user-select__selected li .name[data-v-2212f4bf]{display:flex;align-items:center}.x-user-select__selected li .name .el-avatar[data-v-2212f4bf]{background:#409eff;margin-right:6px}.x-user-select__selected li .delete[data-v-2212f4bf]{display:none}.x-user-select__selected li[data-v-2212f4bf]:hover{background:var(--el-color-primary-light-9)}.x-user-select__selected li:hover .delete[data-v-2212f4bf]{display:inline-block}.x-user-select-role .x-user-select__left[data-v-2212f4bf]{width:200px}.x-user-select-role .x-user-select__tree[data-v-2212f4bf]{border:none;height:345px}[data-theme=dark] .x-user-select__selected li[data-v-2212f4bf]:hover{background:rgba(0,0,0,.2)}[data-theme=dark] .x-user-select__toicon i[data-v-2212f4bf]{background:#383838}
|
1
dist/static/css/934.4458c174.css
vendored
Normal file
1
dist/static/css/934.4458c174.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
[data-v-45af8829] .el-tree-node__content>.el-tree-node__expand-icon{padding:2px}.x-user-select[data-v-45af8829]{display:flex;height:200px;width:100%}.x-user-select__left[data-v-45af8829]{width:calc(70% - 10px)}.x-user-select__right[data-v-45af8829]{flex:1}.x-user-select__search[data-v-45af8829]{padding-bottom:10px}.x-user-select__select[data-v-45af8829]{height:calc(100% - 40px);display:flex;border:1px solid var(--el-border-color-light);background:var(--el-color-white)}.x-user-select__tree[data-v-45af8829]{width:50%;height:100%;border-right:1px solid var(--el-border-color-light)}.x-user-select__user[data-v-45af8829]{width:50%;height:100%;display:flex;flex-direction:column}.x-user-select__user__list[data-v-45af8829]{flex:1;overflow:auto}.x-user-select__user footer[data-v-45af8829]{height:32px;padding:4px 14px;border-top:1px solid var(--el-border-color-light)}.x-user-select__toicon[data-v-45af8829]{display:flex;justify-content:center;align-items:center;margin:0 6px}.x-user-select__toicon i[data-v-45af8829]{display:flex;justify-content:center;align-items:center;background:#ccc;width:20px;height:20px;text-align:center;line-height:20px;border-radius:50%;color:#fff}.x-user-select__selected[data-v-45af8829]{width:calc(30% - 20px);border:1px solid var(--el-border-color-light);background:var(--el-color-white)}.x-user-select__selected header[data-v-45af8829]{height:40px;line-height:40px;border-bottom:1px solid var(--el-border-color-light);padding:0 15px;font-size:12px}.x-user-select__selected ul[data-v-45af8829]{height:calc(100% - 40px);overflow:auto}.x-user-select__selected li[data-v-45af8829]{display:flex;align-items:center;justify-content:space-between;padding:0 8px;height:38px}.x-user-select__selected li[data-v-45af8829]:not(:last-child){border-bottom:1px dashed #cccccc4d}.x-user-select__selected li .name[data-v-45af8829]{width:100%;display:flex;align-items:center}.x-user-select__selected li .name .el-avatar[data-v-45af8829]{background:#409eff;margin-right:6px}.x-user-select__selected li .delete[data-v-45af8829]{display:none}.x-user-select__selected li[data-v-45af8829]:hover{background:var(--el-color-primary-light-9)}.x-user-select__selected li:hover .delete[data-v-45af8829]{display:inline-block}.x-user-select-role[data-v-45af8829]{width:100%}.x-user-select-role .x-user-select__left[data-v-45af8829]{width:calc(50% - 10px)}.x-user-select-role .x-user-select__tree[data-v-45af8829]{width:100%;border:none}.x-user-select-role .x-user-select__selected[data-v-45af8829]{width:calc(50% - 10px)}.x-user-select-role .x-user-select__select[data-v-45af8829]{height:100%}[data-theme=dark] .x-user-select__selected li[data-v-45af8829]:hover{background:rgba(0,0,0,.2)}[data-theme=dark] .x-user-select__toicon i[data-v-45af8829]{background:#383838}
|
1
dist/static/js/576.a28f8752.js
vendored
1
dist/static/js/576.a28f8752.js
vendored
File diff suppressed because one or more lines are too long
1
dist/static/js/934.6193160f.js
vendored
Normal file
1
dist/static/js/934.6193160f.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -4,7 +4,7 @@
|
||||
|
||||
<template>
|
||||
<template v-if="type == 1">
|
||||
<div class="x-user-select">
|
||||
<div class="x-user-select" :style="{ 'height': _height, 'width': _width }">
|
||||
<div class="x-user-select__left">
|
||||
<div class="x-user-select__search">
|
||||
<el-input v-model="keyword" prefix-icon="el-icon-search" placeholder="搜索成员">
|
||||
@ -52,7 +52,7 @@
|
||||
</template>
|
||||
|
||||
<template v-if="type == 2">
|
||||
<div class="x-user-select x-user-select-role">
|
||||
<div class="x-user-select x-user-select-role" :style="{ 'height': _height, 'width': _width }">
|
||||
<div class="x-user-select__left">
|
||||
<div class="x-user-select__select">
|
||||
<div class="x-user-select__tree" v-loading="showGrouploading">
|
||||
@ -107,6 +107,8 @@ export default {
|
||||
props: {
|
||||
modelValue: { type: Array, default: () => [] },
|
||||
type: { type: [String, Number], default: 1 },
|
||||
height: { type: [String, Number], default: 280 },
|
||||
width: { type: [String, Number], default: 600 },
|
||||
},
|
||||
watch: {
|
||||
// 当内部 selected 数据变化时,发出一个更新事件给父组件
|
||||
@ -117,6 +119,12 @@ export default {
|
||||
computed: {
|
||||
selectedIds() {
|
||||
return this.selected.map(t => t.id)
|
||||
},
|
||||
_height() {
|
||||
return Number(this.height) ? Number(this.height) + 'px' : this.height
|
||||
},
|
||||
_width() {
|
||||
return Number(this.width) ? Number(this.width) + 'px' : this.width
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
@ -226,12 +234,18 @@ export default {
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
:deep .el-tree-node__content>.el-tree-node__expand-icon {
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.x-user-select {
|
||||
display: flex;
|
||||
height: 200px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.x-user-select__left {
|
||||
width: 400px;
|
||||
width: calc((100%*0.7 - 10px));
|
||||
}
|
||||
|
||||
.x-user-select__right {
|
||||
@ -243,20 +257,21 @@ export default {
|
||||
}
|
||||
|
||||
.x-user-select__select {
|
||||
height: calc(100% - 40px);
|
||||
display: flex;
|
||||
border: 1px solid var(--el-border-color-light);
|
||||
background: var(--el-color-white);
|
||||
}
|
||||
|
||||
.x-user-select__tree {
|
||||
width: 200px;
|
||||
height: 300px;
|
||||
width: 50%;
|
||||
height: 100%;
|
||||
border-right: 1px solid var(--el-border-color-light);
|
||||
}
|
||||
|
||||
.x-user-select__user {
|
||||
width: 200px;
|
||||
height: 300px;
|
||||
width: 50%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
@ -267,8 +282,8 @@ export default {
|
||||
}
|
||||
|
||||
.x-user-select__user footer {
|
||||
height: 36px;
|
||||
padding-top: 5px;
|
||||
height: 32px;
|
||||
padding: 4px 14px;
|
||||
border-top: 1px solid var(--el-border-color-light);
|
||||
}
|
||||
|
||||
@ -276,7 +291,7 @@ export default {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin: 0 10px;
|
||||
margin: 0 6px;
|
||||
}
|
||||
|
||||
.x-user-select__toicon i {
|
||||
@ -293,22 +308,21 @@ export default {
|
||||
}
|
||||
|
||||
.x-user-select__selected {
|
||||
height: 345px;
|
||||
width: 200px;
|
||||
width: calc((100%*0.3 - 20px));
|
||||
border: 1px solid var(--el-border-color-light);
|
||||
background: var(--el-color-white);
|
||||
}
|
||||
|
||||
.x-user-select__selected header {
|
||||
height: 43px;
|
||||
line-height: 43px;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
border-bottom: 1px solid var(--el-border-color-light);
|
||||
padding: 0 15px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.x-user-select__selected ul {
|
||||
height: 300px;
|
||||
height: calc(100% - 40px);
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
@ -316,11 +330,16 @@ export default {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 5px 5px 5px 15px;
|
||||
padding: 0 8px;
|
||||
height: 38px;
|
||||
}
|
||||
|
||||
.x-user-select__selected li:not(:last-child) {
|
||||
border-bottom: 1px dashed #cccccc4d;
|
||||
}
|
||||
|
||||
.x-user-select__selected li .name {
|
||||
width: calc(100%);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
@ -344,16 +363,26 @@ export default {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.x-user-select-role {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.x-user-select-role .x-user-select__left {
|
||||
width: 200px;
|
||||
width: calc((100% - 20px)/2);
|
||||
}
|
||||
|
||||
.x-user-select-role .x-user-select__tree {
|
||||
width: 100%;
|
||||
border: none;
|
||||
height: 345px;
|
||||
}
|
||||
|
||||
.x-user-select-role .x-user-select__selected {}
|
||||
.x-user-select-role .x-user-select__selected {
|
||||
width: calc((100% - 20px)/2);
|
||||
}
|
||||
|
||||
.x-user-select-role .x-user-select__select {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
[data-theme='dark'] .x-user-select__selected li:hover {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
|
Loading…
Reference in New Issue
Block a user