界面优化
1.日志的中文字体改为微软雅黑 2.帮助文档按钮外边距调整到和日志窗左边距一致 3.扩大默认窗口大小,使得PyPI可以初始展示到一行 4.表单label改为垂直居中 5.设置tab页的“新”标签设置垂直居中,并且不能影响菜单栏的高度
This commit is contained in:
parent
0661b6bbc3
commit
9295d9f2cf
8 changed files with 99 additions and 36 deletions
|
@ -1,5 +1,6 @@
|
|||
<script setup>
|
||||
import { useConfigStore } from '@/stores/config.js'
|
||||
import { form_item_label_style } from '@/styles/styles.js'
|
||||
|
||||
const conf = useConfigStore().config
|
||||
const branch = ref(null)
|
||||
|
@ -27,7 +28,7 @@ provide('current_state', current_state)
|
|||
<template>
|
||||
<n-flex vertical style="gap: 16px; height: 100%; padding: 16px; box-sizing: border-box">
|
||||
<n-form label-placement="left" :show-feedback="false" label-width="auto" label-align="left">
|
||||
<n-form-item label="mower-ng 代码分支">
|
||||
<n-form-item label="mower-ng 代码分支" :label-style="form_item_label_style">
|
||||
<n-radio-group v-model:value="conf.branch">
|
||||
<n-flex>
|
||||
<n-radio value="fast">测试版</n-radio>
|
||||
|
@ -35,7 +36,7 @@ provide('current_state', current_state)
|
|||
</n-flex>
|
||||
</n-radio-group>
|
||||
</n-form-item>
|
||||
<n-form-item label="PyPI 仓库镜像">
|
||||
<n-form-item label="PyPI 仓库镜像" :label-style="form_item_label_style">
|
||||
<n-radio-group v-model:value="conf.mirror">
|
||||
<n-flex>
|
||||
<n-radio value="pypi">PyPI</n-radio>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue