productBottom.wxss 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  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: -webkit-box;
  17. display: -webkit-flex;
  18. display: flex;
  19. -webkit-box-pack: center;
  20. -webkit-justify-content: center;
  21. justify-content: center;
  22. -webkit-box-align: center;
  23. -webkit-align-items: center;
  24. align-items: center;
  25. width: 750rpx;
  26. height: 120rpx;
  27. background-color: #ffffff;
  28. /* box-shadow: 0 0 20rpx 0 rgba(0, 0, 0, 0.5);
  29. border-radius: 16rpx; */
  30. }
  31. .page-bottom .p-b-btn {
  32. display: -webkit-box;
  33. display: -webkit-flex;
  34. display: flex;
  35. -webkit-box-orient: vertical;
  36. -webkit-box-direction: normal;
  37. -webkit-flex-direction: column;
  38. flex-direction: column;
  39. -webkit-box-align: center;
  40. -webkit-align-items: center;
  41. align-items: center;
  42. -webkit-box-pack: center;
  43. -webkit-justify-content: center;
  44. justify-content: center;
  45. font-size: 24rpx;
  46. color: #606266;
  47. width: 96rpx;
  48. height: 80rpx;
  49. }
  50. .page-bottom .p-b-btn .iconfont {
  51. font-size: 40rpx;
  52. line-height: 48rpx;
  53. color: #909399;
  54. }
  55. .page-bottom .p-b-btn.active,
  56. .page-bottom .p-b-btn.active .iconfont {
  57. color: #5dbc7c;
  58. }
  59. .page-bottom .p-b-btn .iconlikefill {
  60. font-size: 46rpx;
  61. }
  62. .page-bottom .p-b-btn image {
  63. width: 56rpx;
  64. height: 58rpx;
  65. }
  66. .page-bottom .action-btn-group {
  67. display: -webkit-box;
  68. display: -webkit-flex;
  69. display: flex;
  70. height: 76rpx;
  71. -webkit-border-radius: 100px;
  72. border-radius: 100px;
  73. overflow: hidden;
  74. margin-left: 20rpx;
  75. position: relative;
  76. }
  77. .page-bottom .action-btn-group:after {
  78. content: '';
  79. position: absolute;
  80. top: 50%;
  81. right: 50%;
  82. -webkit-transform: translateY(-50%);
  83. transform: translateY(-50%);
  84. height: 28rpx;
  85. width: 0;
  86. border-right: 1px solid rgba(255, 255, 255, 0.5);
  87. }
  88. .page-bottom .action-btn-group .action-btn {
  89. display: -webkit-box;
  90. display: -webkit-flex;
  91. display: flex;
  92. -webkit-box-align: center;
  93. -webkit-align-items: center;
  94. align-items: center;
  95. -webkit-box-pack: center;
  96. -webkit-justify-content: center;
  97. justify-content: center;
  98. width: 270rpx;
  99. height: 100%;
  100. font-size: 28rpx;
  101. padding: 0;
  102. -webkit-border-radius: 0;
  103. border-radius: 0;
  104. background: transparent;
  105. }
  106. .page-bottom .action-btn-group .action-btn.buy-now-btn {
  107. background-color: #303e49;
  108. }
  109. .page-bottom .action-btn-group .action-btn.add-cart-btn {
  110. background-color: #5dbc7c;
  111. }
  112. .p-b-btn {
  113. display: -webkit-box;
  114. display: -webkit-flex;
  115. display: flex;
  116. -webkit-box-orient: vertical;
  117. -webkit-box-direction: normal;
  118. -webkit-flex-direction: column;
  119. flex-direction: column;
  120. -webkit-box-align: center;
  121. -webkit-align-items: center;
  122. align-items: center;
  123. -webkit-box-pack: center;
  124. -webkit-justify-content: center;
  125. justify-content: center;
  126. font-size: 24rpx;
  127. color: #606266;
  128. width: 96rpx;
  129. height: 80rpx;
  130. }
  131. .p-b-btn .iconfont {
  132. font-size: 40rpx;
  133. line-height: 48rpx;
  134. color: #909399;
  135. }
  136. .p-b-btn.active,
  137. .p-b-btn.active .iconfont {
  138. color: #5dbc7c;
  139. }
  140. .p-b-btn .icon-fenxiang2 {
  141. font-size: 42rpx;
  142. -webkit-transform: translateY(-2rpx);
  143. transform: translateY(-2rpx);
  144. }
  145. .p-b-btn .iconlikefill {
  146. font-size: 46rpx;
  147. }