index.wxss 784 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /* components/My_fixedButton/index.wxss */
  2. /* 右侧吸附按钮 */
  3. .fixedButton {
  4. position: fixed;
  5. width: 132rpx;
  6. height: 68rpx;
  7. font-size: 32rpx;
  8. color: #FFFFFF;
  9. box-shadow: 0px 6rpx 6rpx 0px rgba(0, 0, 0, 0.1);
  10. border-radius: 34rpx 0 0 34rpx;
  11. top: 65%;
  12. right: 0;
  13. z-index: 999;
  14. overflow: hidden;
  15. }
  16. .custom-fixedButton {
  17. position: absolute !important;
  18. width: 100% !important;
  19. height: 100% !important;
  20. top: 0;
  21. }
  22. .fixedButtonText {
  23. position: absolute;
  24. display: flex;
  25. align-items: center;
  26. width: 100%;
  27. height: 100%;
  28. z-index: 9;
  29. pointer-events: none;
  30. }
  31. .fixedButtonText image {
  32. width: 26rpx;
  33. height: 26rpx;
  34. margin-left: 18rpx;
  35. }
  36. .fixedButtonText view {
  37. margin: -3.5rpx 10rpx 0;
  38. }