Skip to content

Commit

Permalink
Revert "chore: 样式"
Browse files Browse the repository at this point in the history
This reverts commit 28efca7.
  • Loading branch information
xream committed Jan 20, 2024
1 parent 28efca7 commit 8e0c949
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 13 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.89",
"version": "2.14.88",
"private": true,
"scripts": {
"dev": "vite --host",
Expand Down
2 changes: 1 addition & 1 deletion src/components/ArtifactPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@
okText: 'OK',
noCancelBtn: true,
closeOnPopstate: true,
lockScroll: true,
lockScroll: false,
});
};
Expand Down
4 changes: 2 additions & 2 deletions src/components/ArtifactsListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ const previewSource = () => {
popClass: 'auto-dialog',
okText: t('editorPage.subConfig.basic.previewSwitch'),
closeOnPopstate: true,
lockScroll: true,
lockScroll: false,
});
};
Expand Down Expand Up @@ -382,7 +382,7 @@ const onClickDelete = () => {
cancelText: t('syncPage.deleteArt.btn.cancel'),
okText: t('syncPage.deleteArt.btn.confirm'),
closeOnPopstate: true,
lockScroll: true,
lockScroll: false,
});
};
Expand Down
2 changes: 1 addition & 1 deletion src/components/FileListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@
cancelText: t('subPage.deleteSub.btn.cancel'),
okText: t('subPage.deleteSub.btn.confirm'),
closeOnPopstate: true,
lockScroll: true,
lockScroll: false,
});
};
Expand Down
3 changes: 2 additions & 1 deletion src/components/NavBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
</nut-navbar>
</nav>
</div>
<nut-popup lock-scroll pop-class="nav-bar-lang-switch-popup" position="top" v-model:visible="showLangSwitchPopup"
<!-- lock-scroll -->
<nut-popup pop-class="nav-bar-lang-switch-popup" position="top" v-model:visible="showLangSwitchPopup"
z-index="1000">
<nut-cell-group>
<div style="
Expand Down
2 changes: 1 addition & 1 deletion src/components/NodeInfoPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
</nut-tabs>
<img v-if="qrcode && currentTab < 1" :src="qrcode" alt="QR Code" class="qrcode" />
</div>
<!-- lock-scroll -->
<nut-overlay
lock-scroll
v-model:visible="overlayVisible"
:z-index="1001"
@click="closePanel"
Expand Down
2 changes: 1 addition & 1 deletion src/components/PreviewPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
// cancelText: tipsCancelText,
// // noCancelBtn: true,
// closeOnPopstate: true,
// lockScroll: true,
// lockScroll: false,
// });
};
Expand Down
4 changes: 2 additions & 2 deletions src/components/SubListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@
noOkBtn: true,
noCancelBtn: true,
closeOnPopstate: true,
lockScroll: true,
lockScroll: false,
});
};
Expand Down Expand Up @@ -468,7 +468,7 @@
cancelText: t('subPage.deleteSub.btn.cancel'),
okText: t('subPage.deleteSub.btn.confirm'),
closeOnPopstate: true,
lockScroll: true,
lockScroll: false,
});
};
Expand Down
4 changes: 2 additions & 2 deletions src/views/My.vue
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ const toggleSyncPlatform = () => {
Toast.text(`已切换到 ${syncPlatformInput.value === 'gitlab' ? 'GitLab Snippet' : 'Gist'}`);
},
closeOnPopstate: true,
lockScroll: true,
lockScroll: false,
});
}
Expand Down Expand Up @@ -460,7 +460,7 @@ const timeoutTips = () => {
okText: 'OK',
noCancelBtn: true,
closeOnPopstate: true,
lockScroll: true,
lockScroll: false,
});
};
// store 刷新数据完成后 复制内容给 input 绑定
Expand Down
2 changes: 1 addition & 1 deletion src/views/Sub.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
@touchend="onTouchEnd"
>
<!-- 添加订阅弹窗 -->
<!-- lock-scroll -->
<div>
<nut-popup
lock-scroll
v-model:visible="addSubBtnIsVisible"
pop-class="add-sub-popup"
position="bottom"
Expand Down

0 comments on commit 8e0c949

Please sign in to comment.