Compare commits

...

1 Commits

Author SHA1 Message Date
1b4874b8b1 修改为了自定义ui 2023-12-15 15:56:20 +08:00
17 changed files with 23 additions and 60 deletions

BIN
public/favicon.ico Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 372 KiB

View File

@ -55,7 +55,7 @@
document.getElementById("before-app-mount").setAttribute("style", "display: none;");
}
</script>
<title>MCSManager Panel</title>
<title>鹿云MCSM控制面板</title>
</head>
<body class="auto">

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.9 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 131 KiB

After

Width:  |  Height:  |  Size: 194 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -2,7 +2,7 @@
<div>
<Panel v-menus:right="menus">
<template #title>
<span id="fileManagerTop">{{ $t("fileManager.title") }}</span>
<span id="fileManagerTop">{{ $t("fileManager.title") }} - 单文件最大限制 1G 如超出请分批次上传</span>
</template>
<template #default>
<div>

View File

@ -347,9 +347,9 @@ export default {
TYPE_MINECRAFT_BEDROCK,
form: {
nickname: "",
startCommand: "",
startCommand: "sh ./start.sh",
stopCommand: "^c",
cwd: "",
cwd: "/servers/",
ie: "GBK",
oe: "GBK",
createDatetime: new Date().toDateString(),

View File

@ -170,39 +170,6 @@
{{ $t("settings.aboutTitle2") }}
</p>
</div>
<div class="contributors" v-if="sponsorList" v-iszh>
<div class="sub-title">
<p class="sub-title-title">{{ $t("settings.sponsorList") }}</p>
<p class="sub-title-info">
{{ $t("settings.sponsorListInfo") }}
<a href="https://mcsmanager.com/" target="_blank" rel="noopener noreferrer">
MCSManager.com </a
>.
</p>
<p class="sub-title-info"></p>
</div>
<el-row :gutter="10">
<el-col :span="24">
<div
v-for="(item, index) in sponsorList"
:key="index"
style="margin: 0px 8px 4px 0px; display: inline-block"
>
<a
:href="item.link || 'https://mcsmanager.com'"
target="_blank"
rel="noopener noreferrer"
style="text-decoration: underline"
>
<span style="margin: 0px; font-size: 13px">
{{ item.name }}
</span>
</a>
</div>
</el-col>
</el-row>
</div>
</template>
</Panel>
</div>
@ -220,7 +187,6 @@ export default {
data: function () {
return {
settings: {},
sponsorList: null
};
},
methods: {
@ -258,32 +224,10 @@ export default {
});
}
},
loadSponsorList() {
if (window.sponsorList) {
const arr = window.sponsorList();
for (const i in arr) {
for (const j in arr) {
if (arr[i].price > arr[j].price) {
const tmp = arr[i];
arr[i] = arr[j];
arr[j] = tmp;
}
}
}
this.sponsorList = arr.slice(0, 40);
} else {
this.sponsorList = null;
}
} //async changeForwardType(v) {
//}
},
async mounted() {
await this.render();
setTimeout(this.loadSponsorList, 3000);
}
};
</script>

View File

@ -265,6 +265,25 @@
</el-row>
</template>
</Panel>
<Panel>
<template #title>{{ $t("instances.helpInfo") }}</template>
<template #default>
<div v-if="!available">
<el-skeleton :rows="5" animated></el-skeleton>
</div>
<div v-else>
<LineInfo> 使用步骤</LineInfo>
<LineInfo>1. 上传并解压你的服务端</LineInfo>
<LineInfo>2. 在跟目录手动创建 start.sh 脚本</LineInfo>
<LineInfo>3. start.sh 中写入启动命令</LineInfo>
<LineInfo>4. 运行即可</LineInfo>
<LineInfo> 注意事项</LineInfo>
<LineInfo>1. 脚本内需要指明java版本如java8java11</LineInfo>
<LineInfo>2. 目前支持java8java11java17java18java21</LineInfo>
</div>
</template>
</Panel>
<Panel>
<template #title>{{ $t("instances.detailsInfo") }}</template>
<template #default>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 25 KiB