uniapp彈窗24小時之後彈
onShow() {
// 剛進入頁面 1607484711876 1607484752268
let timestamp = uni.getStorageSync(“timestamp”);
let timestampNew = new Date().getTime();
if(timestamp && timestamp > timestampNew){
this.layerNewFree = false;
}else{
this.layerNewFree = true;
}
},
method:{
layShow(){
this.islayShow = state.val;
this.layerNewFree = false;
let timestamp = new Date().getTime()+86400*1000;
uni.setStorageSync(“timestamp”,timestamp);
}
}
相關文章
- uniapp 自定義彈窗元件APP元件
- iView之Modal(一級彈窗和二級彈窗)View
- 廣告彈窗/小視窗程式碼
- 視訊直播原始碼,提醒類彈窗,到時間後自動彈出原始碼
- 微信小程式之animation底部彈窗動畫(兩種方法)微信小程式動畫
- avalonia實現自定義小彈窗
- iOS開發之彈窗管理iOS
- Jquery彈窗元件jQuery元件
- 彈出視窗
- WPF 自定義MessageBox 彈窗提示 彈窗載入
- Android之Window和彈窗問題Android
- Android 開發之鎖屏彈窗Android
- 短視訊平臺搭建,收到通知後彈出相關提示的彈窗
- Flutter 全域性彈窗Flutter
- avalonia自定義彈窗
- js頁面彈窗JS
- 自定義 alert 彈窗
- winrar去廣告彈窗
- 小程式自定義modal彈窗封裝實現封裝
- JavaScript視窗功能指南之建立彈出視窗 (轉)JavaScript
- react-native 仿原生自定義彈窗|iOS/Android 彈窗效果ReactiOSAndroid
- 一行js彈窗程式碼就能設計漂亮的彈窗廣告JS
- 自定義版本更新彈窗
- WKViewManager iOS 彈窗架構ViewiOS架構
- 自定義view————廣告彈窗View
- 彈出視窗程式碼
- 線上直播系統原始碼,彈出警告/提示類彈窗原始碼
- 完美實現賬戶踢出時的全域性彈窗
- layer開啟彈窗時傳遞引數(content:)
- app直播原始碼,收到訊息時出現彈窗APP原始碼
- 圖片彈窗和下載彈窗wordpress外掛下載-Facebox download
- flash廣告彈窗怎麼刪除win10 flash廣告彈窗怎麼禁止Win10
- 微信小程式的全域性彈窗以及全域性例項微信小程式
- jQuery 加入購物車 彈窗jQuery
- 去掉RedisDesktopManager更新提示彈窗Redis
- vue3仿windows彈窗VueWindows
- 頁面彈窗處理方案
- 除錯彈出式視窗除錯