index.wxss 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. @import '/app.wxss';
  2. /* .home{position: fixed ;bottom:100rpx;color: white;text-align: center;z-index:99;right:10rpx;}
  3. .home .homeCon{width:86rpx;border-radius:50rpx;padding:34rpx 0;box-sizing:border-box;transition:all 0.3s ease-in-out 0s;opacity:0;transform: scale(0);height:0rpx;color:#e93323;}
  4. .home .homeCon.on{opacity:1;transform: scale(1);height:300rpx;color:#fff;}
  5. .home .homeCon .iconfont{font-size:48rpx;}
  6. .home .pictrue{width:86rpx;height:86rpx;border-radius:50%;margin-top:20rpx;}
  7. .home .pictrue image{width:100%;height:100%;border-radius:50%;} */
  8. .home {
  9. position: fixed;
  10. bottom: 100rpx;
  11. color: white;
  12. text-align: center;
  13. z-index: 99;
  14. right: 10rpx;
  15. height: 86rpx;
  16. width: 96rpx;
  17. overflow: hidden;
  18. }
  19. .home.on {
  20. width: 396rpx;
  21. }
  22. .home .homeCon {
  23. border-radius: 50rpx;
  24. box-sizing: border-box;
  25. transform: translate3d(500rpx, 0, 0);
  26. transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
  27. height: 86rpx;
  28. background-color: #f44939;
  29. color: #f44939;
  30. }
  31. .home .homeCon.on {
  32. transform: translate3d(0, 0, 0);
  33. color: #fff;
  34. }
  35. .home .homeCon .iconfont {
  36. font-size: 48rpx;
  37. width: 100rpx;
  38. }
  39. .home .pictrue {
  40. width: 86rpx;
  41. height: 86rpx;
  42. border-radius: 50%;
  43. margin-left: 10rpx;
  44. margin-top: -86rpx;
  45. }
  46. .home .pictrue image {
  47. width: 100%;
  48. height: 100%;
  49. border-radius: 50%;
  50. transform: rotate(90deg);
  51. }
  52. .home .pictrue.on {
  53. margin-top: 0;
  54. }