update
This commit is contained in:
parent
26157c3033
commit
7263d3cb28
@ -8,7 +8,7 @@
|
||||
<!-- 刚开始的悬浮广告 -->
|
||||
<view class="advertisement" v-if="showAdvertisement">
|
||||
<view :class="isShowCloseAnimal
|
||||
? 'advertisementNormalContent advertisementContent'
|
||||
? 'advertisementNormalContent advertisementContent'
|
||||
: 'advertisementNormalContent'
|
||||
">
|
||||
<!-- <span class="text">2024年五一假期预测</span>-->
|
||||
@ -5445,7 +5445,9 @@ export default {
|
||||
},
|
||||
// 改变时间触发的方法 ,改变页面的内容数据
|
||||
initAiGuide() {
|
||||
if (!this.showAi || this.guideInfo.visible || uni.getStorageSync('has_ai_guide_shown_v1')) return;
|
||||
const today = new Date().toISOString().split('T')[0];
|
||||
const lastShown = uni.getStorageSync('has_ai_guide_shown_v1');
|
||||
if (!this.showAi || this.guideInfo.visible || lastShown === today) return;
|
||||
if (!this.isSuccess) return;
|
||||
|
||||
console.log('触发数智助手引导定位...');
|
||||
@ -5499,7 +5501,8 @@ export default {
|
||||
handleCloseGuide() {
|
||||
this.guideInfo.visible = false;
|
||||
this.isScrollLock = false;
|
||||
uni.setStorageSync('has_ai_guide_shown_v1', true);
|
||||
const today = new Date().toISOString().split('T')[0];
|
||||
uni.setStorageSync('has_ai_guide_shown_v1', today);
|
||||
},
|
||||
async onRefresh(type) {
|
||||
// 有权限就让他刷新 不没权限的时候下拉刷新不会调用
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user