From c61f03cfe1fcf023c7128f77f3d692aef309f77f Mon Sep 17 00:00:00 2001
From: peng <peng.com>
Date: 星期四, 30 十月 2025 14:59:59 +0800
Subject: [PATCH] 页面优化
---
utils/storage.js | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/utils/storage.js b/utils/storage.js
index c921329..6a6dfa1 100644
--- a/utils/storage.js
+++ b/utils/storage.js
@@ -26,6 +26,15 @@
getHotWords() {
return uni.getStorageSync(`hotWords`);
},
+ getPopupShow(){
+ if (uni.getStorageSync(`popupShow`) === "" || uni.getStorageSync(`popupShow`) === undefined) {
+ return true;
+ }
+ return uni.getStorageSync(`popupShow`);
+ },
+ setPopupShow(val){
+ uni.setStorageSync("popupShow",val);
+ },
//鍐欏叆 灞曠ず杩樻槸涓嶅睍绀�
setShow(val) {
uni.setStorageSync("show", val);
--
Gitblit v1.8.0