index.wxss 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. .m-tab-bar {
  2. position: fixed;
  3. bottom: 0;
  4. left: 0;
  5. right: 0;
  6. height: 62px;
  7. display: flex;
  8. flex-direction: column;
  9. align-items: center;
  10. justify-content: flex-end;
  11. }
  12. .m-tab-list {
  13. display: flex;
  14. width: 100%;
  15. flex-direction: row;
  16. }
  17. .bg-tab-bar {
  18. position: fixed;
  19. bottom: 0;
  20. left: 0;
  21. right: 0;
  22. flex-direction: column;
  23. z-index: -1;
  24. display: flex;
  25. }
  26. .bg-bottom {
  27. background: white;
  28. padding-bottom: env(safe-area-inset-bottom);
  29. }
  30. .m-tab-box {
  31. display: flex;
  32. padding-top: 26px;
  33. padding-bottom: env(safe-area-inset-bottom);
  34. flex: 1;
  35. }
  36. .m-tab-box-l {
  37. padding-right: 40px;
  38. }
  39. .m-tab-box-r {
  40. padding-left: 40px;
  41. }
  42. /* .tab-bar-border {
  43. background-color: rgba(0, 0, 0, 0.33);
  44. position: absolute;
  45. left: 0;
  46. top: 0;
  47. width: 100%;
  48. height: 1px;
  49. transform: scaleY(0.5);
  50. } */
  51. .m-tab-bar-item {
  52. flex: 1;
  53. text-align: center;
  54. display: flex;
  55. padding: 13px 0 10px 0;
  56. justify-content: center;
  57. align-items: center;
  58. flex-direction: column;
  59. }
  60. .m-tab-bar-item image {
  61. width: 22px;
  62. height: 22px;
  63. display: block;
  64. }
  65. .m-tab-bar-item view {
  66. font-size: 10px;
  67. }
  68. .scan-code-btn-view {
  69. display: flex;
  70. flex-direction: column;
  71. position: fixed;
  72. left: calc(50vw - 38px);
  73. bottom: 100px;
  74. padding-bottom: env(safe-area-inset-bottom);
  75. }
  76. .scan-code-btn {
  77. width: 80px;
  78. height: 80px;
  79. position: fixed;
  80. }