index.wxss 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. .tab-layout {
  2. position: fixed;
  3. height: calc(70px + env(safe-area-inset-bottom));
  4. bottom: 0;
  5. left: 0;
  6. width: 100%;
  7. }
  8. .keynote {
  9. position: absolute;
  10. top: 0;
  11. z-index: 100;
  12. display: flex;
  13. align-items: center;
  14. justify-content: center;
  15. z-index: 2;
  16. }
  17. .keynote cover-image {
  18. width: 56px;
  19. height: 56px;
  20. position: relative;
  21. }
  22. .tab-bar {
  23. margin-top: 20px;
  24. height: 50px;
  25. background: white;
  26. display: flex;
  27. z-index: 1;
  28. box-sizing: content-box;
  29. padding-bottom: env(safe-area-inset-bottom);
  30. }
  31. .tab-bar-border {
  32. background-color: rgba(0, 0, 0, 0.33);
  33. position: absolute;
  34. left: 0;
  35. top: 0;
  36. width: 100%;
  37. height: 1px;
  38. transform: scaleY(0.5);
  39. }
  40. .tab-bar-item {
  41. flex: 1;
  42. padding: 10rpx 0;
  43. text-align: center;
  44. display: flex;
  45. justify-content: center;
  46. align-items: center;
  47. flex-direction: column;
  48. position: relative;
  49. }
  50. .tab-bar-item cover-image {
  51. width: 48rpx;
  52. height: 48rpx;
  53. margin-bottom: 6rpx;
  54. position: relative;
  55. z-index: 99999999;
  56. }
  57. .tab-bar-item cover-view {
  58. font-size: 20rpx;
  59. position: relative;
  60. z-index: 99999999;
  61. }
  62. .tab-bar-item .icon {
  63. position: absolute;
  64. right: 40rpx;
  65. top: 5px;
  66. width: 12px;
  67. height: 12px;
  68. border-radius: 50%;
  69. background-color: #0075DC;
  70. color: #fff;
  71. font-size: 10px;
  72. text-align: center;
  73. line-height: 12px;
  74. }