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.
61 lines
1.1 KiB
61 lines
1.1 KiB
<template>
|
|
<view class="question-wrap" :style="{ height: screenHeight }">
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
screenHeight: 0,
|
|
}
|
|
},
|
|
onLoad() {
|
|
this.screenHeight = uni.getSystemInfoSync().windowHeight;
|
|
let walletInfo= uni.getStorageSync('walletInfo');
|
|
//console.log(uni.getStorageSync('walletInfo'),22222,(walletInfo||walletInfo==''))
|
|
if (!walletInfo||walletInfo=='') {
|
|
|
|
uni.reLaunch({
|
|
url: '/pages/register/index'
|
|
})
|
|
} else {
|
|
console.log(uni.getStorageSync('walletInfo'),11111)
|
|
|
|
// #ifdef APP-PLUS
|
|
// 指纹
|
|
if (uni.getStorageSync('fingerPass')) {
|
|
uni.reLaunch({
|
|
url: '/pages/fingerPage/index'
|
|
})
|
|
return;
|
|
}else{
|
|
uni.reLaunch({
|
|
url: '/pages/fingerPage/password/index'
|
|
})
|
|
return;
|
|
}
|
|
// #endif
|
|
uni.reLaunch({
|
|
url: '/pages/fingerPage/password/index'
|
|
})
|
|
}
|
|
}
|
|
|
|
}
|
|
</script>
|
|
<style lang="scss">
|
|
page {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
.question-wrap {
|
|
background: url("../static/tongyonh/Load_v3.png")
|
|
no-repeat;
|
|
background-size: 100%;
|
|
width: 100%;
|
|
min-height: 100%;
|
|
.content-wrap {
|
|
}
|
|
}
|
|
</style>
|