index.scss 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. .tab-bar {
  2. position: fixed;
  3. bottom: 0;
  4. left: 0;
  5. width: 100vw;
  6. padding-top: 10rpx;
  7. padding-bottom: calc(10rpx + constant(safe-area-inset-bottom));
  8. padding-bottom: calc(10rpx + env(safe-area-inset-bottom));
  9. background-color: #fff;
  10. // background-color: red;
  11. box-shadow: 0rpx -2rpx 20rpx 0rpx rgba(0,0,0,0.05);
  12. border-radius: 40rpx 40rpx 0 0;
  13. z-index:9;
  14. .content {
  15. display: flex;
  16. // .one-tab_a{
  17. // background: red;
  18. // }
  19. .one-tab {
  20. display: flex;
  21. flex-direction: column;
  22. align-items: center;
  23. width: 50%;
  24. .tabItem{
  25. // background: red;
  26. width: 100rpx;
  27. display: flex;
  28. justify-content: center;
  29. flex-direction:column;
  30. align-items: center;
  31. position: relative;
  32. // background: red;
  33. .tabItem_c{
  34. background: #fff;
  35. width: 100rpx;
  36. height: 100rpx;
  37. position: absolute;
  38. border-radius: 50%;
  39. transform: translateY(-30%);
  40. z-index: 1;
  41. // display: flex;
  42. // justify-content: center;
  43. // align-items: center;
  44. // box-shadow: 0rpx -2rpx 20rpx 0rpx rgba(0,0,0,0.05);
  45. }
  46. }
  47. .tab-img {
  48. width: 50rpx;
  49. height: 50rpx;
  50. // background: red;
  51. .img {
  52. width: 100%;
  53. height: 100%;
  54. position: relative;
  55. z-index: 9;
  56. }
  57. // .aw{
  58. // width: 95%!important;
  59. // }
  60. }
  61. .tit {
  62. font-size: 30rpx;
  63. transform: scale(0.7);
  64. position: relative;
  65. z-index: 9;
  66. }
  67. .selectTexts {
  68. color:#007AFF;
  69. }
  70. .texts {
  71. color: block;
  72. }
  73. }
  74. }
  75. }