index.scss 937 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. page{
  2. background-color: $page-bg;
  3. color: $uni-text-color;
  4. }
  5. /* 基本信息样式 */
  6. .nav{
  7. .nav-content{
  8. padding: 30rpx 0;
  9. background-color: $uni-bg-color;
  10. display: flex;
  11. flex-direction: row;
  12. flex-wrap: wrap;
  13. .nav-item{
  14. position: relative;
  15. display: flex;
  16. flex-direction: column;
  17. align-items: center;
  18. width: 20%;
  19. height: 120rpx;
  20. margin: 20rpx 0;
  21. span{
  22. //display: block;
  23. font-size: 60rpx;
  24. color:$j-primary-border-green ;
  25. padding-bottom: 15rpx;
  26. }
  27. label{
  28. //color:$uni-text-color-grey ;
  29. font-size: $uni-font-size-sm;
  30. width: 100%;
  31. text-align: center;
  32. overflow: hidden;
  33. text-overflow: ellipsis;
  34. white-space: nowrap;
  35. }
  36. .badge {
  37. position: absolute;
  38. top: -8rpx;
  39. left: 100rpx;
  40. font-size: 24rpx;
  41. padding: 0rpx 10rpx;
  42. border-radius: 38rpx;
  43. background-color: #ff4949;
  44. color: #fff;
  45. font-style: normal;
  46. }
  47. }
  48. }
  49. }