index.wxss 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. .container {
  2. position: relative;
  3. height: 100vh;
  4. padding: 38rpx 24rpx;
  5. background: url(https://reader-wx.ai160.com/images/reader/sell/bg1.jpg) no-repeat;
  6. background-size: contain;
  7. }
  8. .container .userBox {
  9. display: flex;
  10. align-items: center;
  11. justify-content: space-between;
  12. }
  13. .container .userBox .left {
  14. display: flex;
  15. }
  16. .container .userBox .left .avatar {
  17. width: 106rpx;
  18. height: 106rpx;
  19. border-radius: 50%;
  20. border: 1rpx solid white;
  21. }
  22. .container .userBox .left .identity {
  23. margin-left: 24rpx;
  24. }
  25. .container .userBox .left .identity .nickName {
  26. margin: 6rpx 0 20rpx;
  27. font-size: 30rpx;
  28. }
  29. .container .userBox .left .identity .tag {
  30. padding: 5rpx 20rpx;
  31. border-radius: 20rpx;
  32. font-size: 22rpx;
  33. font-weight: bold;
  34. color: #FC6E1C;
  35. background: #FFFFFF;
  36. }
  37. .container .bottom {
  38. position: absolute;
  39. width: 100%;
  40. padding: 26rpx 0;
  41. bottom: 0;
  42. left: 0;
  43. background-color: white;
  44. }
  45. .container .bottom .btn {
  46. margin: 0 auto;
  47. width: 466rpx;
  48. padding: 14rpx 0;
  49. background: linear-gradient(180deg, #6EC8FF 0%, #31BDFE 100%);
  50. border-radius: 39rpx;
  51. color: white;
  52. }