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.
49 lines
779 B
49 lines
779 B
<template>
|
|
<view class="box">
|
|
<image class="img" src="/static/contact/contact.jpg" 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>
|
|
|