mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-09-24 13:03:30 +08:00
完善帮助文档
This commit is contained in:
@@ -1,52 +1,65 @@
|
||||
<template>
|
||||
<q-card>
|
||||
<q-card-section class="q-gutter-md flex items-center">
|
||||
<q-avatar square size="48px">
|
||||
<img src="logo/quickcommand.png" />
|
||||
</q-avatar>
|
||||
<span class="text-h5"
|
||||
>{{ pluginInfo.pluginName }} v{{ pluginInfo.version }}</span
|
||||
>
|
||||
</q-card-section>
|
||||
<q-card-section> {{ pluginInfo.description }} </q-card-section>
|
||||
<q-card-section>
|
||||
<div v-for="group in Object.keys(links)" :key="group" class="q-gutter-sm">
|
||||
<q-btn
|
||||
flat
|
||||
color="primary"
|
||||
v-for="item in links[group]"
|
||||
:key="item"
|
||||
@click="visit(item.url)"
|
||||
:label="item.name"
|
||||
><q-tooltip>{{ item.desc }} </q-tooltip></q-btn
|
||||
<div>
|
||||
<q-card>
|
||||
<q-card-section class="q-gutter-md flex items-center">
|
||||
<q-avatar square size="48px">
|
||||
<img src="logo/quickcommand.png" />
|
||||
</q-avatar>
|
||||
<span class="text-h5"
|
||||
>{{ pluginInfo.pluginName }} v{{ pluginInfo.version }}</span
|
||||
>
|
||||
<br />
|
||||
</div>
|
||||
</q-card-section>
|
||||
<q-card-actions align="right">
|
||||
<q-btn flat label="确定" color="primary" v-close-popup />
|
||||
</q-card-actions>
|
||||
</q-card>
|
||||
</q-card-section>
|
||||
<q-card-section> {{ pluginInfo.description }} </q-card-section>
|
||||
<q-card-section>
|
||||
<div
|
||||
v-for="group in Object.keys(links)"
|
||||
:key="group"
|
||||
class="q-gutter-sm"
|
||||
>
|
||||
<q-btn
|
||||
flat
|
||||
color="primary"
|
||||
v-for="item in links[group]"
|
||||
:key="item"
|
||||
@click="item.url ? visit(item.url) : (showMore = true)"
|
||||
:label="item.name"
|
||||
><q-tooltip>{{ item.desc }} </q-tooltip></q-btn
|
||||
>
|
||||
<br />
|
||||
</div>
|
||||
</q-card-section>
|
||||
<q-card-actions align="right">
|
||||
<q-btn flat label="确定" color="primary" v-close-popup />
|
||||
</q-card-actions>
|
||||
</q-card>
|
||||
<q-dialog v-model="showMore"> <MorePlugins /></q-dialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import MorePlugins from "./MorePlugins";
|
||||
|
||||
const links = {
|
||||
plugin: [
|
||||
{
|
||||
name: "帮助",
|
||||
url: "",
|
||||
url: "https://www.yuque.com/fofolee/mwsoos/bg31vl",
|
||||
desc: "查看插件使用帮助",
|
||||
},
|
||||
{
|
||||
name: "源码",
|
||||
url: "https://github.com/fofolee/uTools-quickcommand",
|
||||
desc: "本插件完全开源,记得 Star 哟",
|
||||
desc: "本插件完全开源,记得 ⭐️ 哟",
|
||||
},
|
||||
{
|
||||
name: "论坛",
|
||||
url: "https://yuanliao.info/d/424-242-242",
|
||||
desc: "到猿料论坛参与讨论吧",
|
||||
},
|
||||
{
|
||||
name: "更多插件",
|
||||
desc: "看一看作者的其他插件吧",
|
||||
},
|
||||
],
|
||||
tech: [
|
||||
{
|
||||
@@ -73,10 +86,12 @@ const links = {
|
||||
};
|
||||
|
||||
export default {
|
||||
components: { MorePlugins },
|
||||
data() {
|
||||
return {
|
||||
pluginInfo: window.pluginInfo(),
|
||||
links: links,
|
||||
showMore: false,
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
|
@@ -126,7 +126,7 @@ export default {
|
||||
}, 1000);
|
||||
},
|
||||
showHelp() {
|
||||
window.showHelpPage("#Q0e7s");
|
||||
window.showUb.help("#Q0e7s");
|
||||
},
|
||||
initValue() {
|
||||
this.cronDetail = _.cloneDeep(this.default);
|
||||
|
@@ -154,7 +154,9 @@ export default {
|
||||
quickcommand.showMessageBox("Token 校验失败", "error");
|
||||
}
|
||||
},
|
||||
showHelp() {},
|
||||
showHelp() {
|
||||
window.showUb.help('#rWU2i')
|
||||
},
|
||||
joinRepo() {
|
||||
quickcommand
|
||||
.showConfirmBox(
|
||||
|
@@ -84,7 +84,7 @@
|
||||
折优惠
|
||||
</div>
|
||||
<div>
|
||||
会员功能将在保障用户完整的插件功能体验的前提下,提供以下个性化功能:
|
||||
会员功能将在保障用户完整的插件功能体验的前提下,提供主题样式类个性化功能
|
||||
</div>
|
||||
<div class="row items-center">
|
||||
<q-icon size="sm" name="color_lens" class="q-mr-sm"></q-icon>
|
||||
@@ -109,6 +109,12 @@
|
||||
v-close-popup
|
||||
@click="thinkOver"
|
||||
/>
|
||||
<q-btn
|
||||
label="功能介绍"
|
||||
icon="info"
|
||||
color="deep-orange"
|
||||
@click="showHelp"
|
||||
></q-btn>
|
||||
<q-btn
|
||||
v-if="!isPluginVIP"
|
||||
label="赏了!"
|
||||
@@ -200,6 +206,9 @@ export default {
|
||||
this.showPayPage = false;
|
||||
});
|
||||
},
|
||||
showHelp() {
|
||||
window.showUb.help("#yiSRi");
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user