From 796977e24baa7c1d3a333e2c1c8e06ca73fd9a56 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期三, 19 十一月 2025 18:08:35 +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