Skip to content

Commit

Permalink
feat: 悬浮添加按钮开关默认关,修复样式问题
Browse files Browse the repository at this point in the history
  • Loading branch information
hsingyin committed Nov 13, 2024
1 parent ff95c2f commit e47b126
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sub-store-front-end",
"version": "2.14.293",
"version": "2.14.294",
"private": true,
"scripts": {
"dev": "vite --host",
Expand Down
1 change: 1 addition & 0 deletions src/components/NavBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ watchEffect(() => {
}
.fa-plus {
padding-top: v-bind(navBartop);
color: var(--icon-nav-bar-right);
position: absolute;
left: 45px;
Expand Down
4 changes: 2 additions & 2 deletions src/store/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const useSettingsStore = defineStore("settingsStore", {
isEditorCommon: true,
isSimpleReicon: false,
showFloatingRefreshButton: false,
showFloatingAddButton: true,
showFloatingAddButton: false,
istabBar: false,
istabBar2: false,
subProgressStyle: "hidden",
Expand Down Expand Up @@ -80,7 +80,7 @@ export const useSettingsStore = defineStore("settingsStore", {
this.appearanceSetting.isEditorCommon = res.data.data.appearanceSetting?.isEditorCommon ?? true;
this.appearanceSetting.isSimpleReicon = res.data.data.appearanceSetting?.isSimpleReicon ?? "";
this.appearanceSetting.showFloatingRefreshButton = res.data.data.appearanceSetting?.showFloatingRefreshButton ?? "";
this.appearanceSetting.showFloatingAddButton = res.data.data.appearanceSetting?.showFloatingAddButton ?? true;
this.appearanceSetting.showFloatingAddButton = res.data.data.appearanceSetting?.showFloatingAddButton ?? false;
this.appearanceSetting.istabBar = res.data.data.appearanceSetting?.istabBar ?? "";
this.appearanceSetting.istabBar2 = res.data.data.appearanceSetting?.istabBar2 ?? "";
this.appearanceSetting.subProgressStyle = res.data.data.appearanceSetting?.subProgressStyle ?? "hidden";
Expand Down

0 comments on commit e47b126

Please sign in to comment.