| | |
| | | <template> |
| | | <view class="container"> |
| | | <view class="user-section"> |
| | | <image class="bg" src="/static/user-bg.jpg"></image> |
| | | <!-- <image class="bg" src="/static/index/beijing.png"></image> --> |
| | | <view class="user-info-box"> |
| | | <view class="portrait-box"> |
| | | <image class="portrait" src="/static/rrlogo.png"></image> |
| | |
| | | // 跳转到登录页面或其他页面 |
| | | setTimeout(() => { |
| | | uni.reLaunch({ |
| | | url: '/pages/public/login' |
| | | url: '/pages/public/quick' |
| | | }); |
| | | }, 500); |
| | | } else { |
| | |
| | | height: 320upx; |
| | | padding: 100upx 30upx 0; |
| | | position: relative; |
| | | background: url('/static/index/beijing.png') center no-repeat; |
| | | background-size: cover; |
| | | /* 背景图片覆盖整个区域 */ |
| | | |
| | | .bg { |
| | | /* .bg { |
| | | position: absolute; |
| | | left: 0; |
| | | top: 0; |
| | |
| | | height: 100%; |
| | | filter: blur(1px); |
| | | opacity: .7; |
| | | } |
| | | } */ |
| | | } |
| | | |
| | | .user-info-box { |
| | |
| | | display: flex; |
| | | flex-direction: column; |
| | | color: #36343c; |
| | | background: #f7d680; |
| | | background: #b6ceff; |
| | | border-radius: 16upx; |
| | | overflow: hidden; |
| | | position: relative; |
| | |
| | | |
| | | .logout-button { |
| | | width: 100%; |
| | | background-color: #fa436a; |
| | | background-color: #3D9AFF; |
| | | color: white; |
| | | font-size: $font-base + 2upx; |
| | | border: none; |