微信小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 3 години
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. .footer-container {
  2. position: fixed;
  3. left: 0;
  4. bottom: 0;
  5. width: 100%;
  6. background: #fff;
  7. display: flex;
  8. align-items: stretch;
  9. z-index: 9999;
  10. box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  11. }
  12. .footer-container .footer-item-container {
  13. flex: 1;
  14. height: 112rpx;
  15. padding: 80rpx 0 0;
  16. border-top: 1rpx solid #ededed;
  17. display: flex;
  18. justify-content: center;
  19. align-items: center;
  20. background: url("https://shgm.jjyyx.com/m/images/group/icon_home.png") no-repeat center 14rpx;
  21. background-size: 48rpx;
  22. position: relative;
  23. }
  24. .footer-container .footer-item-container.f-home.active {
  25. background: url("https://shgm.jjyyx.com/m/images/group/icon_home_active.png") no-repeat center 14rpx;
  26. background-size: 48rpx;
  27. }
  28. .footer-container .footer-item-container .nav-msg {
  29. font-size: 20rpx;
  30. color: var(--blueLight);
  31. line-height: 1;
  32. }
  33. .footer-container .footer-item-container.f-cate {
  34. background: url("https://shgm.jjyyx.com/m/images/group/icon_cate.png") no-repeat center 14rpx;
  35. background-size: 48rpx;
  36. }
  37. .footer-container .footer-item-container.f-cate.active {
  38. background: url("https://shgm.jjyyx.com/m/images/group/icon_cate_active.png") no-repeat center 14rpx;
  39. background-size: 48rpx;
  40. }
  41. .footer-container .footer-item-container.f-cart {
  42. background: url("https://shgm.jjyyx.com/m/images/group/icon_cart.png") no-repeat center 14rpx;
  43. background-size: 48rpx;
  44. }
  45. .footer-container .footer-item-container.f-cart.active {
  46. background: url("https://shgm.jjyyx.com/m/images/group/icon_cart_active.png") no-repeat center 14rpx;
  47. background-size: 48rpx;
  48. }
  49. .footer-container .footer-item-container.f-user.active {
  50. background: url("https://shgm.jjyyx.com/m/images/group/icon_user_active.png") no-repeat center 14rpx;
  51. background-size: 48rpx;
  52. }
  53. .footer-container .footer-item-container.f-user {
  54. background: url("https://shgm.jjyyx.com/m/images/group/icon_user.png") no-repeat center 14rpx;
  55. background-size: 48rpx;
  56. }
  57. .footer-container .footer-item-container .scan-jump{
  58. position: absolute;
  59. top: -12rpx;
  60. left: 50%;
  61. transform: translateX(-50%);
  62. width: 112rpx;
  63. height: 112rpx;
  64. border-radius: 50%;
  65. background: var(--blue) url("https://shgm.jjyyx.com/m/images/group/icon_scan.png") no-repeat center center;
  66. background-size: 64rpx 64rpx;
  67. border: 6rpx solid var(--white);
  68. box-sizing: border-box;
  69. }
  70. .nav-cart-num{
  71. position: absolute;
  72. top: 8rpx;
  73. left: 50%;
  74. margin-left: 24rpx;
  75. transform: translate3d(-50%, 0, 0) scale(.5);
  76. transform-origin: center top;
  77. min-width: 48rpx;
  78. padding: 24rpx 16rpx;
  79. font-size: 36rpx;
  80. text-align: center;
  81. line-height: 0rpx;
  82. border: 2rpx solid #fff;
  83. border-radius: 48rpx;
  84. background: #FF4752;
  85. color: #fff;
  86. }
  87. .footer-container.iphone-x-patcher-container {
  88. flex-wrap: wrap;
  89. height: auto;
  90. }