index.less 782 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /* custom-tab-bar/index.wxss */
  2. .bottom-section {
  3. position: fixed;
  4. bottom: 0;
  5. left: 0;
  6. width: 100%;
  7. background-color: #FFFFFF;
  8. box-shadow: inset 0rpx 2rpx 0rpx 0rpx #F0F0F0;
  9. padding: 24rpx 32rpx 24rpx 32rpx;
  10. padding-bottom: calc(env(safe-area-inset-bottom) + 24rpx);
  11. /* 新版 iOS */
  12. display: flex;
  13. align-items: center;
  14. box-sizing: border-box;
  15. justify-content: space-around;
  16. .orders {
  17. display: flex;
  18. align-items: center;
  19. margin-right: 40rpx;
  20. &.active {
  21. text {
  22. color: #131415;
  23. }
  24. }
  25. image {
  26. width: 44rpx;
  27. height: 44rpx;
  28. }
  29. text {
  30. padding-left: 16rpx;
  31. font-weight: 500;
  32. font-size: 28rpx;
  33. color: #AAAAAA;
  34. line-height: 44rpx;
  35. text-align: center;
  36. }
  37. }
  38. }