update distribution

This commit is contained in:
AceDataCloud committed 2024-01-01 15:42:27 +08:00
1 parent 51dc05a655
commit 0525d87711
32 files changed
+1362 -252

No files matched your search

+12 -7
View File
@@ -1,11 +1,16 @@
<template>
<div>
<el-tooltip effect="dark" :content="`${$t('common.message.helpWechat')}「sunbitty」`" placement="top-start">
<el-button type="primary" circle size="large">
<font-awesome-icon icon="fa-solid fa-question" />
</el-button>
</el-tooltip>
</div>
<el-tooltip
effect="dark"
:content="`<p>${$t('common.message.helpWechat')}: yuxingzou</p><p>${$t(
'common.message.helpWechat2'
)}: sunbitty</p>`"
placement="top-start"
raw-content
>
<el-button type="primary" circle size="large">
<font-awesome-icon icon="fa-solid fa-question" />
</el-button>
</el-tooltip>
</template>
<script lang="ts">
+45
View File
@@ -0,0 +1,45 @@
<template>
<el-tooltip
effect="dark"
:content="`<p>${$t('common.message.helpWechat')}: yuxingzou</p><p>${$t(
'common.message.helpWechat2'
)}: sunbitty</p>`"
placement="top-start"
raw-content
>
<el-button class="button">
<font-awesome-icon icon="fa-solid fa-question" />
</el-button>
</el-tooltip>
</template>
<script lang="ts">
import { defineComponent } from 'vue';
import { ElTooltip, ElButton } from 'element-plus';
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
export default defineComponent({
name: 'HelpEntry',
components: {
ElTooltip,
ElButton,
FontAwesomeIcon
}
});
</script>
<style lang="scss" scoped>
.button {
width: 40px;
height: 40px;
border-radius: 10px;
border: none;
background-color: var(--el-bg-color-page);
&.active,
&:hover,
&:focus {
background-color: var(--el-button-hover-bg-color);
color: var(--el-button-active-text-color);
}
}
</style>
+5
View File
@@ -24,6 +24,9 @@
</el-button>
</el-tooltip>
</div>
<div class="link">
<help-entry />
</div>
<div class="link">
<el-tooltip effect="dark" :content="$t('common.nav.logOut')" placement="right">
<el-button class="button" @click="onLogout">
@@ -48,11 +51,13 @@ import {
ROUTE_MIDJOURNEY_HISTORY,
ROUTE_MIDJOURNEY_INDEX
} from '@/router/constants';
import HelpEntry from './HelpEntry2.vue';
export default defineComponent({
name: 'Navigator',
components: {
ElButton,
HelpEntry,
ElTooltip,
FontAwesomeIcon
},
+13 -3
View File
@@ -29,8 +29,12 @@
<script lang="ts">
import { defineComponent } from 'vue';
import { ROUTE_CONSOLE_APPLICATION_LIST, ROUTE_CONSOLE_ORDER_LIST, ROUTE_INDEX } from '@/router';
import { ElRow, ElCol } from 'element-plus';
import {
ROUTE_CONSOLE_APPLICATION_LIST,
ROUTE_CONSOLE_ORDER_LIST,
ROUTE_INDEX,
ROUTE_CONSOLE_DISTRIBUTION_INDEX
} from '@/router';
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
interface ILink {
@@ -67,6 +71,12 @@ export default defineComponent({
text: this.$t('console.menu.orderList'),
name: ROUTE_CONSOLE_ORDER_LIST,
icon: 'fa-solid fa-store'
},
{
key: 'distribution-index',
text: this.$t('console.menu.distributionIndex'),
name: ROUTE_CONSOLE_DISTRIBUTION_INDEX,
icon: 'fa-solid fa-coins'
}
];
return links;
@@ -99,7 +109,7 @@ $padding-left: 10px;
padding-left: $padding-left;
width: $width;
padding-top: 50px;
border-right: 1px solid var(--el-border-color);
// border-right: 1px solid var(--el-border-color);
height: 100%;
}