Browse Source

fix: 整体字体修改

master
guoapeng 3 weeks ago
parent
commit
0fcfda1b78
  1. 2
      src/assets/styles/common.scss
  2. 2
      src/assets/styles/element.scss
  3. 2
      src/components/common/BTButton/index.vue
  4. 3
      src/components/formula/FormulaTable.vue
  5. 2
      src/stores/systemStore.ts
  6. 1
      src/views/setting/index.vue

2
src/assets/styles/common.scss

@ -1,6 +1,6 @@
/* CSS Document */
html {
font-family: serif !important;
font-family: 'PingFangSC-Regular', 'PingFang SC', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
height: 100vh;
font-size: 14px;
}

2
src/assets/styles/element.scss

@ -1,8 +1,6 @@
:root {
--el-font-size-base: 18px;
// --el-button-size: 80px;
--el-font-family-base: serif;
--el-color-primary: #1989fa;
//--el-button-active-bg-color: linear-gradient(90deg, #0657C0 24%, #096AE0 101%);
--text-color-primary: #17213c;

2
src/components/common/BTButton/index.vue

@ -113,6 +113,6 @@ const handleClick = (event: MouseEvent) => {
padding-left: 5px;
}
.button{
font-family: serif;
}
</style>

3
src/components/formula/FormulaTable.vue

@ -122,7 +122,7 @@ const deleteRecipe = (item: Formula.FormulaItem) => {
<style scoped>
.recipe-management {
font-family: serif;
border: 1px solid #ccc;
padding: 10px;
border-radius: 5px;
@ -174,7 +174,6 @@ const deleteRecipe = (item: Formula.FormulaItem) => {
cursor: pointer;
margin-right: 5px;
transition: all 0.3s;
font-family: serif;
}
.view-button {

2
src/stores/systemStore.ts

@ -18,7 +18,7 @@ export const useSystemStore = defineStore('system', () => {
name: '中文',
value: 'zh-cn',
}, {
name: '英文',
name: 'English',
value: 'en',
}]

1
src/views/setting/index.vue

@ -87,7 +87,6 @@ const selectItem = (menuCode: string) => {
display: flex;
align-items: center;
border-radius: 10px;
font-family: serif;
height: 5rem;
}
li.active {

Loading…
Cancel
Save