productBottom.wxss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. @charset "UTF-8";
  2. /* 页面左右间距 */
  3. /* 文字尺寸 */
  4. /*文字颜色*/
  5. /* 边框颜色 */
  6. /*颜色*/
  7. /* 图片加载中颜色 */
  8. /* 行为相关颜色 */
  9. /* 功能栏字体大小 */
  10. /*功能栏左侧小图标*/
  11. /* 底部操作菜单 */
  12. .page-bottom {
  13. position: fixed;
  14. bottom: 0rpx;
  15. z-index: 95;
  16. display: flex;
  17. justify-content: center;
  18. align-items: center;
  19. width: 750rpx;
  20. height: 120rpx;
  21. background-color: #ffffff;
  22. /* box-shadow: 0 0 20rpx 0 rgba(0, 0, 0, 0.5);
  23. border-radius: 16rpx; */
  24. }
  25. .page-bottom .p-b-btn {
  26. display: flex;
  27. flex-direction: column;
  28. align-items: center;
  29. justify-content: center;
  30. font-size: 24rpx;
  31. color: #606266;
  32. width: 96rpx;
  33. height: 80rpx;
  34. }
  35. .page-bottom .p-b-btn .iconfont {
  36. font-size: 40rpx;
  37. line-height: 48rpx;
  38. color: #909399;
  39. }
  40. .page-bottom .p-b-btn.active,
  41. .page-bottom .p-b-btn.active .iconfont {
  42. color: #5dbc7c;
  43. }
  44. .page-bottom .p-b-btn .iconlikefill {
  45. font-size: 46rpx;
  46. }
  47. .page-bottom .p-b-btn image {
  48. width: 56rpx;
  49. height: 58rpx;
  50. }
  51. .page-bottom .action-btn-group {
  52. display: flex;
  53. height: 76rpx;
  54. border-radius: 100px;
  55. flex-grow: 1;
  56. overflow: hidden;
  57. margin-left: 20rpx;
  58. position: relative;
  59. }
  60. .page-bottom .action-btn-group:after {
  61. content: '';
  62. position: absolute;
  63. top: 50%;
  64. right: 50%;
  65. -webkit-transform: translateY(-50%);
  66. transform: translateY(-50%);
  67. height: 28rpx;
  68. width: 0;
  69. border-right: 1px solid rgba(255, 255, 255, 0.5);
  70. }
  71. .page-bottom .action-btn-group .action-btn {
  72. flex-grow: 1;
  73. display: flex;
  74. align-items: center;
  75. justify-content: center;
  76. width: 270rpx;
  77. height: 100%;
  78. font-size: 28rpx;
  79. padding: 0;
  80. border-radius: 0;
  81. background: transparent;
  82. }
  83. .page-bottom .action-btn-group .action-btn.buy-now-btn {
  84. background-color: #303e49;
  85. }
  86. .page-bottom .action-btn-group .action-btn.add-cart-btn {
  87. background-color: #5dbc7c;
  88. }
  89. .p-b-btn {
  90. display: flex;
  91. flex-direction: column;
  92. align-items: center;
  93. justify-content: center;
  94. font-size: 24rpx;
  95. color: #606266;
  96. width: 96rpx;
  97. height: 80rpx;
  98. }
  99. .p-b-btn .iconfont {
  100. font-size: 40rpx;
  101. line-height: 48rpx;
  102. color: #909399;
  103. }
  104. .p-b-btn.active,
  105. .p-b-btn.active .iconfont {
  106. color: #5dbc7c;
  107. }
  108. .p-b-btn .icon-fenxiang2 {
  109. font-size: 42rpx;
  110. -webkit-transform: translateY(-2rpx);
  111. transform: translateY(-2rpx);
  112. }
  113. .p-b-btn .iconlikefill {
  114. font-size: 46rpx;
  115. }