fix: update

This commit is contained in:
Fine 2023-07-11 16:23:28 +08:00
parent 882e9a341f
commit 07636c60c4
3 changed files with 8 additions and 5 deletions

View File

@ -408,6 +408,6 @@ const msg = {
marketplace: "Marketplace", marketplace: "Marketplace",
menus: "Menus", menus: "Menus",
saveReload: "Save and reload the page", saveReload: "Save and reload the page",
document: "Document", document: "Documentation",
}; };
export default msg; export default msg;

View File

@ -407,6 +407,6 @@ const msg = {
marketplace: "Marketplace", marketplace: "Marketplace",
menus: "Menus", menus: "Menus",
saveReload: "Save and reload the page", saveReload: "Save and reload the page",
document: "Document", document: "Documentation",
}; };
export default msg; export default msg;

View File

@ -25,7 +25,7 @@ limitations under the License. -->
> >
<div class="title"> {{ menu.title }}</div> <div class="title"> {{ menu.title }}</div>
<div class="mt-10"> {{ menu.description }} </div> <div class="mt-10"> {{ menu.description }} </div>
<el-link :href="menu.documentLink" target="_blank" class="link"> <el-link :href="menu.documentLink" target="_blank" class="link" v-if="menu.documentLink">
<el-button class="mt-10" size="small" type="primary"> {{ t("document") }} </el-button> <el-button class="mt-10" size="small" type="primary"> {{ t("document") }} </el-button>
</el-link> </el-link>
</el-card> </el-card>
@ -34,7 +34,7 @@ limitations under the License. -->
<el-card shadow="hover" v-for="(item, index) in currentItems.subItems || []" :key="index" class="card"> <el-card shadow="hover" v-for="(item, index) in currentItems.subItems || []" :key="index" class="card">
<div class="title"> {{ item.title }}</div> <div class="title"> {{ item.title }}</div>
<div class="mt-10"> {{ item.description }} </div> <div class="mt-10"> {{ item.description }} </div>
<el-link :href="item.documentLink" target="_blank" class="link"> <el-link :href="item.documentLink" target="_blank" class="link" v-if="item.documentLink">
<el-button class="mt-10" size="small" type="primary"> {{ t("document") }} </el-button> <el-button class="mt-10" size="small" type="primary"> {{ t("document") }} </el-button>
</el-link> </el-link>
</el-card> </el-card>
@ -70,7 +70,6 @@ limitations under the License. -->
padding-left: 20px 30px; padding-left: 20px 30px;
width: 100%; width: 100%;
height: 100%; height: 100%;
overflow: auto;
justify-content: space-between; justify-content: space-between;
} }
@ -87,6 +86,8 @@ limitations under the License. -->
.cards { .cards {
min-width: 400px; min-width: 400px;
height: 100%;
overflow: auto;
} }
.item { .item {
@ -100,6 +101,8 @@ limitations under the License. -->
flex-wrap: wrap; flex-wrap: wrap;
border-right: 1px solid #ddd; border-right: 1px solid #ddd;
align-content: flex-start; align-content: flex-start;
height: 100%;
overflow: auto;
} }
.link { .link {