feat: banner

This commit is contained in:
eleanor.mao
2025-04-24 00:43:55 +08:00
parent 7988725223
commit 7aafc3a789
16 changed files with 367 additions and 52 deletions

7
src/utils/partner.ts Normal file
View File

@ -0,0 +1,7 @@
import Taro from '@tarojs/taro';
import { CacheKey } from '@/constants/cache-key';
export const getPartnerBannerClose = (): boolean => Taro.getStorageSync(CacheKey.CLOSE_PARTNER_BANNER);
export const setPartnerBannerClose = () => Taro.setStorageSync(CacheKey.CLOSE_PARTNER_BANNER, true);