|
|
|
@ -36,9 +36,9 @@ |
|
|
|
</template> |
|
|
|
|
|
|
|
<script> |
|
|
|
import memberApi from '@/api/member.js'; |
|
|
|
import memberApi from '@/api/member.js'; |
|
|
|
|
|
|
|
export default { |
|
|
|
export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
password: true, |
|
|
|
@ -73,8 +73,8 @@ |
|
|
|
uni.setStorageSync('token', res.data.token); |
|
|
|
let userType = res.data.userType |
|
|
|
|
|
|
|
// userType = 2//测试完注释本行 |
|
|
|
console.log('用户类型',userType) |
|
|
|
// userType = 3//测试完注释本行 |
|
|
|
console.log('用户类型', userType) |
|
|
|
|
|
|
|
uni.setStorageSync('userType', userType); |
|
|
|
uni.setStorageSync('tabBerIndex', 0); |
|
|
|
@ -134,42 +134,42 @@ |
|
|
|
}); |
|
|
|
}, |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|
|
|
|
|
<style lang="less" scoped> |
|
|
|
page { |
|
|
|
page { |
|
|
|
font-weight: normal; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.fui-section__title { |
|
|
|
.fui-section__title { |
|
|
|
margin-left: 32rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.fui-left__icon { |
|
|
|
.fui-left__icon { |
|
|
|
padding-right: 24rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.image-container { |
|
|
|
.image-container { |
|
|
|
margin: auto; |
|
|
|
position: relative; |
|
|
|
width: 150rpx; |
|
|
|
/* 设置与第一张图片相同的宽度 */ |
|
|
|
height: 150rpx; |
|
|
|
/* 设置与第一张图片相同的高度 */ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.base-image { |
|
|
|
.base-image { |
|
|
|
width: 100%; |
|
|
|
height: 100%; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.overlay-image { |
|
|
|
.overlay-image { |
|
|
|
position: absolute; |
|
|
|
top: 50%; |
|
|
|
left: 50%; |
|
|
|
transform: translate(-50%, -50%); |
|
|
|
width: 100rpx; |
|
|
|
height: 100rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
</style> |