diff --git a/App.vue b/App.vue index 3182453..1aa60ee 100644 --- a/App.vue +++ b/App.vue @@ -65,8 +65,8 @@ export default { onShow() { // #ifndef H5 - this.getClipboard(); - // #endif + this.getClipboard(); + // #endif // #ifdef APP-PLUS if (storage.getShow()) { @@ -148,10 +148,13 @@ export default { */ async getClipboard() { let res = await getClipboardData(); + /** * 解析粘贴板数据 */ - if (res.indexOf(config.shareLink) != -1) { + + if (res.indexOf(config.shareLink) != -1 && (res!= this.$store.state.shareLink)) { + this.$store.state.shareLink = res uni.showModal({ title: "提示", content: "检测到一个分享链接是否跳转?", diff --git a/pages/passport/login.vue b/pages/passport/login.vue index 08aa056..227da4e 100644 --- a/pages/passport/login.vue +++ b/pages/passport/login.vue @@ -846,7 +846,7 @@ page { display: flex; width: 590rpx; position: absolute; - bottom: 20px; + top: 1200rpx; align-items: center; justify-content: center; } diff --git a/pages/product/shopPage.vue b/pages/product/shopPage.vue index 6a0041d..dc57cf3 100644 --- a/pages/product/shopPage.vue +++ b/pages/product/shopPage.vue @@ -1,7 +1,7 @@