创作者微信小程序端
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.

50 lines
845 B

<template>
<view class="box">
<image class="img" src="http://117.50.61.7:6001/tiktok/xYGg1i8gwEXub9a0bf1299cd2763f882087891cb3fec_1679669460669.png" mode=""></image>
</view>
</template>
<script>
export default {
data() {
return {
userInfo:{}
}
},
created() {
const userInfo = uni.getStorageSync('userInfo')
if (!userInfo) {
console.log('havent userInfo')
uni.showModal({
content: '艺术家账户过期,请重新登录!',
showCancel: false,
success() {
//没有缓存则跳转登录页面
uni.reLaunch({
url: '/pages/login/login'
});
}
});
} else {
this.userInfo = userInfo;
console.log('have userInfo')
}
},
methods: {
},
}
</script>
<style>
.box{
display: flex;
flex: 1;
}
.img{
width: 750rpx;
height: 1200rpx;
}
</style>