Skip to content

Commit

Permalink
chore: 样式
Browse files Browse the repository at this point in the history
  • Loading branch information
xream committed Jan 18, 2024
1 parent c24c0f8 commit b528190
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 14 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.75",
"version": "2.14.76",
"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 @@ -250,7 +250,7 @@ const previewSource = () => {
popClass: 'auto-dialog',
okText: t('editorPage.subConfig.basic.previewSwitch'),
closeOnPopstate: true,
lockScroll: true,
lockScroll: false,
});
};
Expand Down Expand Up @@ -376,7 +376,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 @@ -344,7 +344,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/components/NavBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +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
4 changes: 2 additions & 2 deletions src/components/NodeInfoPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@
</div>
</nut-tabpane>
</nut-tabs>
<img v-if="currentTab < 1" :src="qrcode" alt="QR Code" class="qrcode" />
<img v-if="qrcode && currentTab < 1" :src="qrcode" alt="QR Code" class="qrcode" />
</div>
<!-- lock-scroll -->
<nut-overlay
v-model:visible="overlayVisible"
:z-index="1001"
lock-scroll
@click="closePanel"
></nut-overlay>
</template>
Expand Down
3 changes: 2 additions & 1 deletion src/components/PreviewPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
okText: 'OK',
noCancelBtn: true,
closeOnPopstate: true,
lockScroll: true,
lockScroll: false,
});
};
Expand All @@ -162,6 +162,7 @@
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
}
.preview-list {
flex: 1;
Expand Down
4 changes: 2 additions & 2 deletions src/components/SubListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@
noOkBtn: true,
noCancelBtn: true,
closeOnPopstate: true,
lockScroll: true,
lockScroll: false,
});
};
Expand Down Expand Up @@ -453,7 +453,7 @@
cancelText: t('subPage.deleteSub.btn.cancel'),
okText: t('subPage.deleteSub.btn.confirm'),
closeOnPopstate: true,
lockScroll: true,
lockScroll: false,
});
};
Expand Down
2 changes: 1 addition & 1 deletion src/views/My.vue
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,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,11 +6,11 @@
@touchend="onTouchEnd"
>
<!-- 添加订阅弹窗 -->
<!-- lock-scroll -->
<div>
<nut-popup
v-model:visible="addSubBtnIsVisible"
pop-class="add-sub-popup"
lock-scroll
position="bottom"
:style="{
height: `${bottomSafeArea + 200}px`,
Expand Down

0 comments on commit b528190

Please sign in to comment.