修改样式

This commit is contained in:
xuli3099
2025-08-20 11:39:24 +08:00
parent 27d64dbd72
commit 876b9b1c06

View File

@@ -87,7 +87,7 @@
</view>
<!-- 退出登录 -->
<button type="primary" plain="true" size="small" class="logout-btn" @click="showModel">退出登录</button>
<button type="primary" plain="true" size="small" class="logout-btn" @click="handleLoginOut">退出登录</button>
<!-- 底部加高度来避免tabbar遮挡 -->
<!-- <view class="bottom-height"></view> -->
@@ -95,14 +95,14 @@
</view>
<!-- 弹窗模板 -->
<customShowModal
<!-- <customShowModal
:title="title"
:content="content"
:visible="visible"
@close="handleClose"
@confirm="handleLoginOut"
ref="showModel"
></customShowModal>
></customShowModal> -->
</view>
</template>
@@ -222,12 +222,12 @@ const handleClose=()=>{
// 3.退出登录
const handleLoginOut = async ()=>{
// showAlert('是否确认退出?','提示',true,()=>{
showAlert('是否确认退出?','提示',true,()=>{
userStore.logout();
uni.reLaunch({
url: '/pages/login/login',
});
// })
})
}