index.wxss 555 B

123456789101112131415161718192021222324252627282930
  1. .floating-button {
  2. position: fixed;
  3. right: 20rpx;
  4. bottom: 108rpx;
  5. }
  6. .floating-button .floating-inner-container {
  7. display: flex;
  8. align-items: center;
  9. justify-content: center;
  10. height: 96rpx;
  11. width: 96rpx;
  12. background-color: rgba(0, 0, 0, 0.8);
  13. opacity: 0.7;
  14. border-radius: 48rpx;
  15. }
  16. .floating-button .floating-right-top {
  17. position: absolute;
  18. right: 0rpx;
  19. top: 0rpx;
  20. height: 28rpx;
  21. background: #fa4126;
  22. border-radius: 64rpx;
  23. font-weight: bold;
  24. font-size: 22rpx;
  25. line-height: 28rpx;
  26. color: #fff;
  27. padding: 0 8rpx;
  28. }