引导页bug修复

This commit is contained in:
zmj 2024-04-28 23:02:23 +08:00
parent 3f9d9af62f
commit 44c83b30ed
2 changed files with 11 additions and 1 deletions

View File

@ -1,5 +1,8 @@
<template> <template>
<view class="" style="width: 750rpx;height: 100%;"> <view class="" style="width: 750rpx;height: 100%;">
<view class="jump" @click="jump">
<text class="font">跳过</text>
</view>
<view class="tabbar" :style="{top:(top-12)+'px',left:(left-12)+'px'}"> <view class="tabbar" :style="{top:(top-12)+'px',left:(left-12)+'px'}">
<image src="/static/images/fabu.png" class="tab-icon"></image> <image src="/static/images/fabu.png" class="tab-icon"></image>
</view> </view>
@ -41,6 +44,10 @@
uni.setStorageSync('is_new_user', false) uni.setStorageSync('is_new_user', false)
}, 500) }, 500)
},
jump() {
uni.setStorageSync('is_new_user', false)
uni.$emit('diverGatherSubEmit');
} }
}, },
onLoad() { onLoad() {
@ -63,6 +70,9 @@
position: absolute; position: absolute;
right: 30rpx; right: 30rpx;
top: 80rpx; top: 80rpx;
border: 1px solid white;
padding: 10rpx 20rpx;
border-radius: 30rpx;
} }
.tips { .tips {

View File

@ -194,7 +194,7 @@
right: 30rpx; right: 30rpx;
top: 80rpx; top: 80rpx;
border: 1px solid white; border: 1px solid white;
padding: 20rpx; padding: 10rpx 20rpx;
border-radius: 30rpx; border-radius: 30rpx;
} }
</style> </style>