123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- /* pages/user/user.wxss */
- .container {
- position: relative;
- height: 100%;
- background-color: #f7f8fa;
- border-top: 2rpx solid #f7f8fa;
- }
- .user-top {
- display: flex;
- flex-direction: column;
- height: 364rpx;
- padding-top: 80rpx;
- align-items: center;
- background-color: #fff;
- }
- .user-top .avatar {
- width: 136rpx;
- height: 136rpx;
- border-radius: 50%;
- }
- .user-top .name {
- max-width: 80%;
- color: #555;
- font-size: 36rpx;
- font-weight: bold;
- margin-top: 20rpx;
- }
- .login {
- width: 252rpx;
- height: 68rpx;
- line-height: 68rpx;
- color: #646466;
- font-size: 30rpx;
- text-align: center;
- border-radius: 34rpx;
- border: 2rpx solid #d4d5d6;
- margin-top: 36rpx;
- }
- .user-nav {
- margin-top: 16rpx;
- padding: 10rpx 0;
- background-color: #fff;
- }
- .nav-item {
- display: flex;
- padding: 38rpx 0;
- margin: 0 44rpx;
- align-items: center;
- justify-content: space-between;
- border-bottom: 2rpx solid #f7f8fa;
- }
- .nav-item:last-child {
- border: 0;
- }
- .nav-item .item-left {
- display: flex;
- align-items: center;
- }
- .nav-item .icon {
- width: 44rpx;
- height: 44rpx;
- }
- .nav-item .label {
- color: #444;
- font-size: 30rpx;
- margin-left: 26rpx;
- }
- .nav-item .arrow {
- width: 16rpx;
- height: 26rpx;
- }
- /* 发布icon偏左,调整样式让icon看上去对齐 */
- .publish .icon {
- margin-left: 6rpx;
- }
- .publish .label {
- margin-left: 20rpx;
- }
- .logout {
- position: absolute;
- display: flex;
- bottom: 60rpx;
- width: 100%;
- justify-content: center;
- }
- .logout .button {
- width: 670rpx;
- color: #cacbcc;
- font-size: 32rpx;
- border-radius: 12rpx;
- background-color: transparent;
- border: 2rpx solid #cacbcc;
- }
|