From 7ae4e27a487e282b60dc65d7836d1bcd86e7a464 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期一, 27 十月 2025 16:51:43 +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