You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xuan-pay-cweb/pages/tabBar/user/user.vue

45 lines
1.0 KiB

3 years ago
<template>
<view>
<view class="width100 backcorfff height100p mart10">
<view class="width94 fcor333 font16 paddtop10">谷润科技</view>
<view class="width94 fcor999 font14 paddtop10">1551243232</view>
<view class="width94 fcor999 font14 paddtop10">名称超级管理员</view>
</view>
<wButton class="mart60" text="退 出 登 录" bgColor="#089bf5" :rotate="isRotate" @click="exitLogin"></wButton>
</view>
</template>
<script>
import wButton from '../../../components/watch-login/watch-button.vue' //button
let app = getApp();
export default {
components: {
wButton
},
data() {
return {
isRotate: false, //是否加载旋转
}
},
onLoad() {
},
methods: {
//退出登录
exitLogin() {
this.isRotate = true
setTimeout(function() {
uni.reLaunch({
url: '../../login/login'
})
this.isRotate = false;
}, 3000)
}
}
}
</script>
<style lang="scss">
page {
background-color: #f9f9f9;
}
</style>